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
834
INSTALL_STRIP_PROGRAM
871
unsermake_enable_pch_TRUE
872
unsermake_enable_pch_FALSE
878
ENABLE_PERMISSIVE_FLAG
884
KDE_USE_CLOSURE_FALSE
887
KDE_USE_NMCHECK_FALSE
1018
ac_precious_vars='build_alias
1036
# Initialize some variables set by options.
1038
ac_init_version=false
1039
# The variables have the same names as the options, with
1040
# dashes changed to underlines.
1041
cache_file=/dev/null
1048
program_transform_name=s,x,x,
1056
# Installation directory options.
1057
# These are left unexpanded so users can "make install exec_prefix=/foo"
1058
# and all the variables that are supposed to be based on exec_prefix
1059
# by default will actually change.
1060
# Use braces instead of parens because sh, perl, etc. also accept them.
1061
# (The list follows the same order as the GNU Coding Standards.)
1062
bindir='${exec_prefix}/bin'
1063
sbindir='${exec_prefix}/sbin'
1064
libexecdir='${exec_prefix}/libexec'
1065
datarootdir='${prefix}/share'
1066
datadir='${datarootdir}'
1067
sysconfdir='${prefix}/etc'
1068
sharedstatedir='${prefix}/com'
1069
localstatedir='${prefix}/var'
1070
includedir='${prefix}/include'
1071
oldincludedir='/usr/include'
1072
docdir='${datarootdir}/doc/${PACKAGE}'
1073
infodir='${datarootdir}/info'
1078
libdir='${exec_prefix}/lib'
1079
localedir='${datarootdir}/locale'
1080
mandir='${datarootdir}/man'
1086
# If the previous option needs an argument, assign it.
1087
if test -n "$ac_prev"; then
1088
eval $ac_prev=\$ac_option
1094
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1098
# Accept the important Cygnus configure options, so we can diagnose typos.
1100
case $ac_dashdash$ac_option in
1104
-bindir | --bindir | --bindi | --bind | --bin | --bi)
1106
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1107
bindir=$ac_optarg ;;
1109
-build | --build | --buil | --bui | --bu)
1110
ac_prev=build_alias ;;
1111
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
1112
build_alias=$ac_optarg ;;
1114
-cache-file | --cache-file | --cache-fil | --cache-fi \
1115
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1116
ac_prev=cache_file ;;
1117
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1118
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1119
cache_file=$ac_optarg ;;
1121
--config-cache | -C)
1122
cache_file=config.cache ;;
1124
-datadir | --datadir | --datadi | --datad)
1126
-datadir=* | --datadir=* | --datadi=* | --datad=*)
1127
datadir=$ac_optarg ;;
1129
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1130
| --dataroo | --dataro | --datar)
1131
ac_prev=datarootdir ;;
1132
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1133
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1134
datarootdir=$ac_optarg ;;
1136
-disable-* | --disable-*)
1137
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1138
# Reject names that are not valid shell variable names.
1139
expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1140
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
1141
{ (exit 1); exit 1; }; }
1142
ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1143
eval enable_$ac_feature=no ;;
1145
-docdir | --docdir | --docdi | --doc | --do)
1147
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1148
docdir=$ac_optarg ;;
1150
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1152
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1153
dvidir=$ac_optarg ;;
1155
-enable-* | --enable-*)
1156
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1157
# Reject names that are not valid shell variable names.
1158
expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1159
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
1160
{ (exit 1); exit 1; }; }
1161
ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1162
eval enable_$ac_feature=\$ac_optarg ;;
1164
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1165
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1166
| --exec | --exe | --ex)
1167
ac_prev=exec_prefix ;;
1168
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1169
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1170
| --exec=* | --exe=* | --ex=*)
1171
exec_prefix=$ac_optarg ;;
1173
-gas | --gas | --ga | --g)
1174
# Obsolete; use --with-gas.
1177
-help | --help | --hel | --he | -h)
1178
ac_init_help=long ;;
1179
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1180
ac_init_help=recursive ;;
1181
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1182
ac_init_help=short ;;
1184
-host | --host | --hos | --ho)
1185
ac_prev=host_alias ;;
1186
-host=* | --host=* | --hos=* | --ho=*)
1187
host_alias=$ac_optarg ;;
1189
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1191
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1193
htmldir=$ac_optarg ;;
1195
-includedir | --includedir | --includedi | --included | --include \
1196
| --includ | --inclu | --incl | --inc)
1197
ac_prev=includedir ;;
1198
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1199
| --includ=* | --inclu=* | --incl=* | --inc=*)
1200
includedir=$ac_optarg ;;
1202
-infodir | --infodir | --infodi | --infod | --info | --inf)
1204
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1205
infodir=$ac_optarg ;;
1207
-libdir | --libdir | --libdi | --libd)
1209
-libdir=* | --libdir=* | --libdi=* | --libd=*)
1210
libdir=$ac_optarg ;;
1212
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1213
| --libexe | --libex | --libe)
1214
ac_prev=libexecdir ;;
1215
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1216
| --libexe=* | --libex=* | --libe=*)
1217
libexecdir=$ac_optarg ;;
1219
-localedir | --localedir | --localedi | --localed | --locale)
1220
ac_prev=localedir ;;
1221
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1222
localedir=$ac_optarg ;;
1224
-localstatedir | --localstatedir | --localstatedi | --localstated \
1225
| --localstate | --localstat | --localsta | --localst | --locals)
1226
ac_prev=localstatedir ;;
1227
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1228
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1229
localstatedir=$ac_optarg ;;
1231
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1233
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1234
mandir=$ac_optarg ;;
1236
-nfp | --nfp | --nf)
1237
# Obsolete; use --without-fp.
1240
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
1241
| --no-cr | --no-c | -n)
1244
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
1245
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1248
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1249
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1250
| --oldin | --oldi | --old | --ol | --o)
1251
ac_prev=oldincludedir ;;
1252
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1253
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1254
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1255
oldincludedir=$ac_optarg ;;
1257
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1259
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1260
prefix=$ac_optarg ;;
1262
-program-prefix | --program-prefix | --program-prefi | --program-pref \
1263
| --program-pre | --program-pr | --program-p)
1264
ac_prev=program_prefix ;;
1265
-program-prefix=* | --program-prefix=* | --program-prefi=* \
1266
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1267
program_prefix=$ac_optarg ;;
1269
-program-suffix | --program-suffix | --program-suffi | --program-suff \
1270
| --program-suf | --program-su | --program-s)
1271
ac_prev=program_suffix ;;
1272
-program-suffix=* | --program-suffix=* | --program-suffi=* \
1273
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1274
program_suffix=$ac_optarg ;;
1276
-program-transform-name | --program-transform-name \
1277
| --program-transform-nam | --program-transform-na \
1278
| --program-transform-n | --program-transform- \
1279
| --program-transform | --program-transfor \
1280
| --program-transfo | --program-transf \
1281
| --program-trans | --program-tran \
1282
| --progr-tra | --program-tr | --program-t)
1283
ac_prev=program_transform_name ;;
1284
-program-transform-name=* | --program-transform-name=* \
1285
| --program-transform-nam=* | --program-transform-na=* \
1286
| --program-transform-n=* | --program-transform-=* \
1287
| --program-transform=* | --program-transfor=* \
1288
| --program-transfo=* | --program-transf=* \
1289
| --program-trans=* | --program-tran=* \
1290
| --progr-tra=* | --program-tr=* | --program-t=*)
1291
program_transform_name=$ac_optarg ;;
1293
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1295
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1296
pdfdir=$ac_optarg ;;
1298
-psdir | --psdir | --psdi | --psd | --ps)
1300
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1303
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1304
| -silent | --silent | --silen | --sile | --sil)
1307
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1309
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1311
sbindir=$ac_optarg ;;
1313
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1314
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1315
| --sharedst | --shareds | --shared | --share | --shar \
1317
ac_prev=sharedstatedir ;;
1318
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1319
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1320
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1322
sharedstatedir=$ac_optarg ;;
1324
-site | --site | --sit)
1326
-site=* | --site=* | --sit=*)
1329
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1331
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1332
srcdir=$ac_optarg ;;
1334
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1335
| --syscon | --sysco | --sysc | --sys | --sy)
1336
ac_prev=sysconfdir ;;
1337
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1338
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1339
sysconfdir=$ac_optarg ;;
1341
-target | --target | --targe | --targ | --tar | --ta | --t)
1342
ac_prev=target_alias ;;
1343
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1344
target_alias=$ac_optarg ;;
1346
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1349
-version | --version | --versio | --versi | --vers | -V)
1350
ac_init_version=: ;;
1353
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1354
# Reject names that are not valid shell variable names.
1355
expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1356
{ echo "$as_me: error: invalid package name: $ac_package" >&2
1357
{ (exit 1); exit 1; }; }
1358
ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1359
eval with_$ac_package=\$ac_optarg ;;
1361
-without-* | --without-*)
1362
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1363
# Reject names that are not valid shell variable names.
1364
expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1365
{ echo "$as_me: error: invalid package name: $ac_package" >&2
1366
{ (exit 1); exit 1; }; }
1367
ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1368
eval with_$ac_package=no ;;
1371
# Obsolete; use --with-x.
1374
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1375
| --x-incl | --x-inc | --x-in | --x-i)
1376
ac_prev=x_includes ;;
1377
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1378
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1379
x_includes=$ac_optarg ;;
1381
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1382
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1383
ac_prev=x_libraries ;;
1384
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1385
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1386
x_libraries=$ac_optarg ;;
1388
-*) { echo "$as_me: error: unrecognized option: $ac_option
1389
Try \`$0 --help' for more information." >&2
1390
{ (exit 1); exit 1; }; }
1394
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1395
# Reject names that are not valid shell variable names.
1396
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1397
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1398
{ (exit 1); exit 1; }; }
1399
eval $ac_envvar=\$ac_optarg
1400
export $ac_envvar ;;
1403
# FIXME: should be removed in autoconf 3.0.
1404
echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1405
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1406
echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1407
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1413
if test -n "$ac_prev"; then
1414
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1415
{ echo "$as_me: error: missing argument to $ac_option" >&2
1416
{ (exit 1); exit 1; }; }
1419
# Be sure to have absolute directory names.
1420
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1421
datadir sysconfdir sharedstatedir localstatedir includedir \
1422
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1423
libdir localedir mandir
1425
eval ac_val=\$$ac_var
1427
[\\/$]* | ?:[\\/]* ) continue;;
1428
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1430
{ echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1431
{ (exit 1); exit 1; }; }
1434
# There might be people who depend on the old broken behavior: `$host'
1435
# used to hold the argument of --host etc.
1436
# FIXME: To remove some day.
1439
target=$target_alias
1441
# FIXME: To remove some day.
1442
if test "x$host_alias" != x; then
1443
if test "x$build_alias" = x; then
1444
cross_compiling=maybe
1445
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1446
If a cross compiler is detected then cross compile mode will be used." >&2
1447
elif test "x$build_alias" != "x$host_alias"; then
1453
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1455
test "$silent" = yes && exec 6>/dev/null
1458
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1459
ac_ls_di=`ls -di .` &&
1460
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1461
{ echo "$as_me: error: Working directory cannot be determined" >&2
1462
{ (exit 1); exit 1; }; }
1463
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1464
{ echo "$as_me: error: pwd does not report name of working directory" >&2
1465
{ (exit 1); exit 1; }; }
1468
# Find the source files, if location was not specified.
1469
if test -z "$srcdir"; then
1470
ac_srcdir_defaulted=yes
1471
# Try the directory containing this script, then the parent directory.
1472
ac_confdir=`$as_dirname -- "$0" ||
1473
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1474
X"$0" : 'X\(//\)[^/]' \| \
1475
X"$0" : 'X\(//\)$' \| \
1476
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1478
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1496
if test ! -r "$srcdir/$ac_unique_file"; then
1500
ac_srcdir_defaulted=no
1502
if test ! -r "$srcdir/$ac_unique_file"; then
1503
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1504
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1505
{ (exit 1); exit 1; }; }
1507
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1509
cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1510
{ (exit 1); exit 1; }; }
1512
# When building in place, set srcdir=.
1513
if test "$ac_abs_confdir" = "$ac_pwd"; then
1516
# Remove unnecessary trailing slashes from srcdir.
1517
# Double slashes in file names in object file debugging info
1518
# mess up M-x gdb in Emacs.
1520
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1522
for ac_var in $ac_precious_vars; do
1523
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1524
eval ac_env_${ac_var}_value=\$${ac_var}
1525
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1526
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1530
# Report the --help message.
1532
if test "$ac_init_help" = "long"; then
1533
# Omit some internal or obsolete options to make the list less imposing.
1534
# This message is too long to be a string in the A/UX 3.1 sh.
1536
\`configure' configures this package to adapt to many kinds of systems.
1538
Usage: $0 [OPTION]... [VAR=VALUE]...
1540
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1541
VAR=VALUE. See below for descriptions of some of the useful variables.
1543
Defaults for the options are specified in brackets.
1546
-h, --help display this help and exit
1547
--help=short display options specific to this package
1548
--help=recursive display the short help of all the included packages
1549
-V, --version display version information and exit
1550
-q, --quiet, --silent do not print \`checking...' messages
1551
--cache-file=FILE cache test results in FILE [disabled]
1552
-C, --config-cache alias for \`--cache-file=config.cache'
1553
-n, --no-create do not create output files
1554
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1556
Installation directories:
1557
--prefix=PREFIX install architecture-independent files in PREFIX
1558
[$ac_default_prefix]
1559
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1562
By default, \`make install' will install all the files in
1563
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1564
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1565
for instance \`--prefix=\$HOME'.
1567
For better control, use the options below.
1569
Fine tuning of the installation directories:
1570
--bindir=DIR user executables [EPREFIX/bin]
1571
--sbindir=DIR system admin executables [EPREFIX/sbin]
1572
--libexecdir=DIR program executables [EPREFIX/libexec]
1573
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1574
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1575
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1576
--libdir=DIR object code libraries [EPREFIX/lib]
1577
--includedir=DIR C header files [PREFIX/include]
1578
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1579
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1580
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1581
--infodir=DIR info documentation [DATAROOTDIR/info]
1582
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1583
--mandir=DIR man documentation [DATAROOTDIR/man]
1584
--docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1585
--htmldir=DIR html documentation [DOCDIR]
1586
--dvidir=DIR dvi documentation [DOCDIR]
1587
--pdfdir=DIR pdf documentation [DOCDIR]
1588
--psdir=DIR ps documentation [DOCDIR]
1594
--program-prefix=PREFIX prepend PREFIX to installed program names
1595
--program-suffix=SUFFIX append SUFFIX to installed program names
1596
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1599
--build=BUILD configure for building on BUILD [guessed]
1600
--host=HOST cross-compile to build programs to run on HOST [BUILD]
1601
--target=TARGET configure for building compilers for TARGET [HOST]
1605
if test -n "$ac_init_help"; then
1610
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1611
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1612
--disable-fast-perl disable fast Makefile generation (needs perl)
1613
--enable-debug=ARG enables debug symbols (yes|no|full) default=no
1614
--disable-debug disables debug output and debug symbols default=no
1615
--enable-strict compiles with strict compiler options (may not
1617
--disable-warnings disables compilation with -Wall and similar
1618
--enable-profile creates profiling infos default=no
1619
--disable-dependency-tracking speeds up one-time build
1620
--enable-dependency-tracking do not reject slow dependency extractors
1621
--enable-pch enables precompiled header support (currently only
1622
KCC or gcc >=3.4+unsermake) default=no
1623
--enable-coverage use gcc coverage testing
1624
--enable-new-ldflags enable the new linker flags
1625
--enable-final build size optimized apps (experimental - needs lots
1627
--enable-closure delay template instantiation
1628
--enable-nmcheck enable automatic namespace cleanness check
1629
--enable-shared[=PKGS] build shared libraries [default=yes]
1630
--enable-static[=PKGS] build static libraries [default=no]
1631
--enable-libsuffix /lib directory suffix (64,32,none,auto=default)
1632
--enable-fast-install[=PKGS]
1633
optimize for fast installation [default=yes]
1634
--disable-libtool-lock avoid locking (might break parallel builds)
1635
--enable-pie platform supports PIE linking default=detect
1636
--enable-embedded link to Qt-embedded, don't use X
1637
--enable-qtopia link to Qt-embedded, link to the Qtopia Environment
1638
--enable-mac link to Qt/Mac (don't use X)
1639
--disable-mt link to non-threaded Qt (deprecated)
1640
--disable-threading disables threading even if libpthread found
1641
--disable-rpath do not use the rpath feature of ld
1642
--disable-path-check don't try to find out, where to install
1645
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1646
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1647
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
1648
--with-pic try to use only PIC/non-PIC objects [default=use
1650
--with-tags[=TAGS] include additional configurations [automatic]
1651
--with-extra-includes=DIR
1652
adds non standard include paths
1653
--with-extra-libs=DIR adds non standard library paths
1654
--with-qt-dir=DIR where the root of Qt is installed
1655
--with-qt-includes=DIR where the Qt includes are.
1656
--with-qt-libraries=DIR where the Qt library is installed.
1657
--without-arts build without aRts default=no
1659
Some influential environment variables:
1660
CC C compiler command
1661
CFLAGS C compiler flags
1662
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1663
nonstandard directory <lib dir>
1664
LIBS libraries to pass to the linker, e.g. -l<library>
1665
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1666
you have headers in a nonstandard directory <include dir>
1668
CXX C++ compiler command
1669
CXXFLAGS C++ compiler flags
1670
CXXCPP C++ preprocessor
1671
F77 Fortran 77 compiler command
1672
FFLAGS Fortran 77 compiler flags
1673
XMKMF Path to xmkmf, Makefile generator for X Window System
1675
Use these variables to override the choices made by `configure' or to help
1676
it to find libraries and programs with nonstandard names/locations.
1682
if test "$ac_init_help" = "recursive"; then
1683
# If there are subdirs, report their specific --help.
1684
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1685
test -d "$ac_dir" || continue
1689
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1691
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1692
# A ".." for each directory in $ac_dir_suffix.
1693
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1694
case $ac_top_builddir_sub in
1695
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1696
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1699
ac_abs_top_builddir=$ac_pwd
1700
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1701
# for backward compatibility:
1702
ac_top_builddir=$ac_top_build_prefix
1705
.) # We are building in place.
1707
ac_top_srcdir=$ac_top_builddir_sub
1708
ac_abs_top_srcdir=$ac_pwd ;;
1709
[\\/]* | ?:[\\/]* ) # Absolute name.
1710
ac_srcdir=$srcdir$ac_dir_suffix;
1711
ac_top_srcdir=$srcdir
1712
ac_abs_top_srcdir=$srcdir ;;
1714
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1715
ac_top_srcdir=$ac_top_build_prefix$srcdir
1716
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1718
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1720
cd "$ac_dir" || { ac_status=$?; continue; }
1721
# Check for guested configure.
1722
if test -f "$ac_srcdir/configure.gnu"; then
1724
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1725
elif test -f "$ac_srcdir/configure"; then
1727
$SHELL "$ac_srcdir/configure" --help=recursive
1729
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1731
cd "$ac_pwd" || { ac_status=$?; break; }
1735
test -n "$ac_init_help" && exit $ac_status
1736
if $ac_init_version; then
1739
generated by GNU Autoconf 2.61
1741
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1742
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1743
This configure script is free software; the Free Software Foundation
1744
gives unlimited permission to copy, distribute and modify it.
1748
cat >config.log <<_ACEOF
1749
This file contains any messages produced by compilers while
1750
running configure, to aid debugging if configure makes a mistake.
1752
It was created by $as_me, which was
1753
generated by GNU Autoconf 2.61. Invocation command line was
1765
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1766
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1767
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1768
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1769
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1771
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1772
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1774
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1775
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1776
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1777
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1778
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1779
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1780
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1784
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1788
test -z "$as_dir" && as_dir=.
1789
echo "PATH: $as_dir"
1805
# Keep a trace of the command line.
1806
# Strip out --no-create and --no-recursion so they do not pile up.
1807
# Strip out --silent because we don't want to record it for future runs.
1808
# Also quote any args containing shell meta-characters.
1809
# Make two passes to allow for proper duplicate-argument suppression.
1813
ac_must_keep_next=false
1819
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1820
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1821
| -silent | --silent | --silen | --sile | --sil)
1824
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1827
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1829
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1830
if test $ac_must_keep_next = true; then
1831
ac_must_keep_next=false # Got value, back to normal.
1834
*=* | --config-cache | -C | -disable-* | --disable-* \
1835
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1836
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1837
| -with-* | --with-* | -without-* | --without-* | --x)
1838
case "$ac_configure_args0 " in
1839
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1842
-* ) ac_must_keep_next=true ;;
1845
ac_configure_args="$ac_configure_args '$ac_arg'"
1850
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1851
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1853
# When interrupted or exit'd, cleanup temporary files, and complete
1854
# config.log. We remove comments because anyway the quotes in there
1855
# would cause problems or look ugly.
1856
# WARNING: Use '\'' to represent an apostrophe within the trap.
1857
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1858
trap 'exit_status=$?
1859
# Save into config.log some information that might help in debugging.
1864
## ---------------- ##
1865
## Cache variables. ##
1866
## ---------------- ##
1869
# The following way of writing the cache mishandles newlines in values,
1871
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1872
eval ac_val=\$$ac_var
1876
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1877
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1880
_ | IFS | as_nl) ;; #(
1881
*) $as_unset $ac_var ;;
1886
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1887
*${as_nl}ac_space=\ *)
1889
"s/'\''/'\''\\\\'\'''\''/g;
1890
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1893
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1901
## ----------------- ##
1902
## Output variables. ##
1903
## ----------------- ##
1906
for ac_var in $ac_subst_vars
1908
eval ac_val=\$$ac_var
1910
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1912
echo "$ac_var='\''$ac_val'\''"
1916
if test -n "$ac_subst_files"; then
1918
## ------------------- ##
1919
## File substitutions. ##
1920
## ------------------- ##
1923
for ac_var in $ac_subst_files
1925
eval ac_val=\$$ac_var
1927
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1929
echo "$ac_var='\''$ac_val'\''"
1934
if test -s confdefs.h; then
1944
test "$ac_signal" != 0 &&
1945
echo "$as_me: caught signal $ac_signal"
1946
echo "$as_me: exit $exit_status"
1948
rm -f core *.core core.conftest.* &&
1949
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1952
for ac_signal in 1 2 13 15; do
1953
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1957
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1958
rm -f -r conftest* confdefs.h
1960
# Predefined preprocessor variables.
1962
cat >>confdefs.h <<_ACEOF
1963
#define PACKAGE_NAME "$PACKAGE_NAME"
1967
cat >>confdefs.h <<_ACEOF
1968
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1972
cat >>confdefs.h <<_ACEOF
1973
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1977
cat >>confdefs.h <<_ACEOF
1978
#define PACKAGE_STRING "$PACKAGE_STRING"
1982
cat >>confdefs.h <<_ACEOF
1983
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1987
# Let the site file select an alternate cache file if it wants to.
1988
# Prefer explicitly selected file to automatically selected ones.
1989
if test -n "$CONFIG_SITE"; then
1990
set x "$CONFIG_SITE"
1991
elif test "x$prefix" != xNONE; then
1992
set x "$prefix/share/config.site" "$prefix/etc/config.site"
1994
set x "$ac_default_prefix/share/config.site" \
1995
"$ac_default_prefix/etc/config.site"
2000
if test -r "$ac_site_file"; then
2001
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2002
echo "$as_me: loading site script $ac_site_file" >&6;}
2003
sed 's/^/| /' "$ac_site_file" >&5
2008
if test -r "$cache_file"; then
2009
# Some versions of bash will fail to source /dev/null (special
2010
# files actually), so we avoid doing that.
2011
if test -f "$cache_file"; then
2012
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
2013
echo "$as_me: loading cache $cache_file" >&6;}
2015
[\\/]* | ?:[\\/]* ) . "$cache_file";;
2016
*) . "./$cache_file";;
2020
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
2021
echo "$as_me: creating cache $cache_file" >&6;}
2025
# Check that the precious variables saved in the cache have kept the same
2027
ac_cache_corrupted=false
2028
for ac_var in $ac_precious_vars; do
2029
eval ac_old_set=\$ac_cv_env_${ac_var}_set
2030
eval ac_new_set=\$ac_env_${ac_var}_set
2031
eval ac_old_val=\$ac_cv_env_${ac_var}_value
2032
eval ac_new_val=\$ac_env_${ac_var}_value
2033
case $ac_old_set,$ac_new_set in
2035
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2036
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2037
ac_cache_corrupted=: ;;
2039
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2040
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2041
ac_cache_corrupted=: ;;
2044
if test "x$ac_old_val" != "x$ac_new_val"; then
2045
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2046
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2047
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2048
echo "$as_me: former value: $ac_old_val" >&2;}
2049
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2050
echo "$as_me: current value: $ac_new_val" >&2;}
2051
ac_cache_corrupted=:
2054
# Pass precious variables to config.status.
2055
if test "$ac_new_set" = set; then
2057
*\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2058
*) ac_arg=$ac_var=$ac_new_val ;;
2060
case " $ac_configure_args " in
2061
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2062
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2066
if $ac_cache_corrupted; then
2067
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2068
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2069
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2070
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2071
{ (exit 1); exit 1; }; }
2091
ac_cpp='$CPP $CPPFLAGS'
2092
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2093
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2094
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2098
for ac_dir in admin "$srcdir"/admin; do
2099
if test -f "$ac_dir/install-sh"; then
2101
ac_install_sh="$ac_aux_dir/install-sh -c"
2103
elif test -f "$ac_dir/install.sh"; then
2105
ac_install_sh="$ac_aux_dir/install.sh -c"
2107
elif test -f "$ac_dir/shtool"; then
2109
ac_install_sh="$ac_aux_dir/shtool install -c"
2113
if test -z "$ac_aux_dir"; then
2114
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in admin \"$srcdir\"/admin" >&5
2115
echo "$as_me: error: cannot find install-sh or install.sh in admin \"$srcdir\"/admin" >&2;}
2116
{ (exit 1); exit 1; }; }
2119
# These three variables are undocumented and unsupported,
2120
# and are intended to be withdrawn in a future Autoconf release.
2121
# They can cause serious problems if a builder's source tree is in a directory
2122
# whose full name contains unusual characters.
2123
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2124
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2125
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2131
# Make sure we can run config.sub.
2132
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2133
{ { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2134
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2135
{ (exit 1); exit 1; }; }
2137
{ echo "$as_me:$LINENO: checking build system type" >&5
2138
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2139
if test "${ac_cv_build+set}" = set; then
2140
echo $ECHO_N "(cached) $ECHO_C" >&6
2142
ac_build_alias=$build_alias
2143
test "x$ac_build_alias" = x &&
2144
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2145
test "x$ac_build_alias" = x &&
2146
{ { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2147
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2148
{ (exit 1); exit 1; }; }
2149
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2150
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2151
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2152
{ (exit 1); exit 1; }; }
2155
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2156
echo "${ECHO_T}$ac_cv_build" >&6; }
2157
case $ac_cv_build in
2159
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2160
echo "$as_me: error: invalid value of canonical build" >&2;}
2161
{ (exit 1); exit 1; }; };;
2164
ac_save_IFS=$IFS; IFS='-'
2170
# Remember, the first character of IFS is used to create $*,
2171
# except with old shells:
2174
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2177
{ echo "$as_me:$LINENO: checking host system type" >&5
2178
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2179
if test "${ac_cv_host+set}" = set; then
2180
echo $ECHO_N "(cached) $ECHO_C" >&6
2182
if test "x$host_alias" = x; then
2183
ac_cv_host=$ac_cv_build
2185
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2186
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2187
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2188
{ (exit 1); exit 1; }; }
2192
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2193
echo "${ECHO_T}$ac_cv_host" >&6; }
2196
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2197
echo "$as_me: error: invalid value of canonical host" >&2;}
2198
{ (exit 1); exit 1; }; };;
2201
ac_save_IFS=$IFS; IFS='-'
2207
# Remember, the first character of IFS is used to create $*,
2208
# except with old shells:
2211
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2214
{ echo "$as_me:$LINENO: checking target system type" >&5
2215
echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2216
if test "${ac_cv_target+set}" = set; then
2217
echo $ECHO_N "(cached) $ECHO_C" >&6
2219
if test "x$target_alias" = x; then
2220
ac_cv_target=$ac_cv_host
2222
ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2223
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2224
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2225
{ (exit 1); exit 1; }; }
2229
{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2230
echo "${ECHO_T}$ac_cv_target" >&6; }
2231
case $ac_cv_target in
2233
*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2234
echo "$as_me: error: invalid value of canonical target" >&2;}
2235
{ (exit 1); exit 1; }; };;
2237
target=$ac_cv_target
2238
ac_save_IFS=$IFS; IFS='-'
2244
# Remember, the first character of IFS is used to create $*,
2245
# except with old shells:
2248
case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2251
# The aliases save the names the user supplied, while $host etc.
2252
# will get canonicalized.
2253
test -n "$target_alias" &&
2254
test "$program_prefix$program_suffix$program_transform_name" = \
2256
program_prefix=${target_alias}-
2257
test "$program_prefix" != NONE &&
2258
program_transform_name="s&^&$program_prefix&;$program_transform_name"
2259
# Use a double $ so make ignores it.
2260
test "$program_suffix" != NONE &&
2261
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2262
# Double any \ or $. echo might interpret backslashes.
2263
# By default was `s,x,x', remove it if useless.
2264
cat <<\_ACEOF >conftest.sed
2265
s/[\\$]/&&/g;s/;s,x,x,$//
2267
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2271
am__api_version='1.10'
2275
test -n "$INSTALL" && kde_save_INSTALL_given=$INSTALL
2276
test -n "$INSTALL_PROGRAM" && kde_save_INSTALL_PROGRAM_given=$INSTALL_PROGRAM
2277
test -n "$INSTALL_SCRIPT" && kde_save_INSTALL_SCRIPT_given=$INSTALL_SCRIPT
2278
# Find a good install program. We prefer a C program (faster),
2279
# so one script is as good as another. But avoid the broken or
2280
# incompatible versions:
2281
# SysV /etc/install, /usr/sbin/install
2282
# SunOS /usr/etc/install
2283
# IRIX /sbin/install
2285
# AmigaOS /C/install, which installs bootblocks on floppy discs
2286
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2287
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2288
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2289
# OS/2's system install, which has a completely different semantic
2290
# ./install, which can be erroneously created by make from ./install.sh.
2291
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2292
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2293
if test -z "$INSTALL"; then
2294
if test "${ac_cv_path_install+set}" = set; then
2295
echo $ECHO_N "(cached) $ECHO_C" >&6
2297
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2301
test -z "$as_dir" && as_dir=.
2302
# Account for people who put trailing slashes in PATH elements.
2304
./ | .// | /cC/* | \
2305
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2306
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2309
# OSF1 and SCO ODT 3.0 have their own names for install.
2310
# Don't use installbsd from OSF since it installs stuff as root
2312
for ac_prog in ginstall scoinst install; do
2313
for ac_exec_ext in '' $ac_executable_extensions; do
2314
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2315
if test $ac_prog = install &&
2316
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2317
# AIX install. It has an incompatible calling convention.
2319
elif test $ac_prog = install &&
2320
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2321
# program-specific install script used by HP pwplus--don't use.
2324
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2337
if test "${ac_cv_path_install+set}" = set; then
2338
INSTALL=$ac_cv_path_install
2340
# As a last resort, use the slow shell script. Don't cache a
2341
# value for INSTALL within a source directory, because that will
2342
# break other packages using the cache if that directory is
2343
# removed, or if the value is a relative name.
2344
INSTALL=$ac_install_sh
2347
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
2348
echo "${ECHO_T}$INSTALL" >&6; }
2350
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2351
# It thinks the first close brace ends the variable substitution.
2352
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2354
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2356
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2359
if test -z "$kde_save_INSTALL_given" ; then
2360
# OK, user hasn't given any INSTALL, autoconf found one for us
2361
# now we test, if it supports the -p flag
2362
{ echo "$as_me:$LINENO: checking for -p flag to install" >&5
2363
echo $ECHO_N "checking for -p flag to install... $ECHO_C" >&6; }
2364
rm -f confinst.$$.* > /dev/null 2>&1
2365
echo "Testtest" > confinst.$$.orig
2367
if ${INSTALL} -p confinst.$$.orig confinst.$$.new > /dev/null 2>&1 ; then
2368
if test -f confinst.$$.new ; then
2369
# OK, -p seems to do no harm to install
2370
INSTALL="${INSTALL} -p"
2375
{ echo "$as_me:$LINENO: result: $ac_res" >&5
2376
echo "${ECHO_T}$ac_res" >&6; }
2379
if test -z "$kde_save_INSTALL_PROGRAM_given" ; then
2380
INSTALL_PROGRAM='${INSTALL} $(INSTALL_STRIP_FLAG)'
2382
if test -z "$kde_save_INSTALL_SCRIPT_given" ; then
2383
INSTALL_SCRIPT='${INSTALL}'
2386
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2387
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2390
echo timestamp > conftest.file
2391
# Do `set' in a subshell so we don't clobber the current shell's
2392
# arguments. Must try -L first in case configure is actually a
2393
# symlink; some systems play weird games with the mod time of symlinks
2394
# (eg FreeBSD returns the mod time of the symlink's containing
2397
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2398
if test "$*" = "X"; then
2400
set X `ls -t $srcdir/configure conftest.file`
2403
if test "$*" != "X $srcdir/configure conftest.file" \
2404
&& test "$*" != "X conftest.file $srcdir/configure"; then
2406
# If neither matched, then we have a broken ls. This can happen
2407
# if, for instance, CONFIG_SHELL is bash and it inherits a
2408
# broken ls alias from the environment. This has actually
2409
# happened. Such a system could not be considered "sane".
2410
{ { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2411
alias in your environment" >&5
2412
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2413
alias in your environment" >&2;}
2414
{ (exit 1); exit 1; }; }
2417
test "$2" = conftest.file
2423
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2424
Check your system clock" >&5
2425
echo "$as_me: error: newly created file is older than distributed files!
2426
Check your system clock" >&2;}
2427
{ (exit 1); exit 1; }; }
2429
{ echo "$as_me:$LINENO: result: yes" >&5
2430
echo "${ECHO_T}yes" >&6; }
2431
# expand $ac_aux_dir to an absolute path
2432
am_aux_dir=`cd $ac_aux_dir && pwd`
2434
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2435
# Use eval to expand $SHELL
2436
if eval "$MISSING --run true"; then
2437
am_missing_run="$MISSING --run "
2440
{ echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2441
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2444
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2445
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2446
if test -z "$MKDIR_P"; then
2447
if test "${ac_cv_path_mkdir+set}" = set; then
2448
echo $ECHO_N "(cached) $ECHO_C" >&6
2450
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2451
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2454
test -z "$as_dir" && as_dir=.
2455
for ac_prog in mkdir gmkdir; do
2456
for ac_exec_ext in '' $ac_executable_extensions; do
2457
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2458
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2459
'mkdir (GNU coreutils) '* | \
2460
'mkdir (coreutils) '* | \
2461
'mkdir (fileutils) '4.1*)
2462
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2472
if test "${ac_cv_path_mkdir+set}" = set; then
2473
MKDIR_P="$ac_cv_path_mkdir -p"
2475
# As a last resort, use the slow shell script. Don't cache a
2476
# value for MKDIR_P within a source directory, because that will
2477
# break other packages using the cache if that directory is
2478
# removed, or if the value is a relative name.
2479
test -d ./--version && rmdir ./--version
2480
MKDIR_P="$ac_install_sh -d"
2483
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2484
echo "${ECHO_T}$MKDIR_P" >&6; }
2488
[\\/$]* | ?:[\\/]*) ;;
2489
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2492
for ac_prog in gawk mawk nawk awk
2494
# Extract the first word of "$ac_prog", so it can be a program name with args.
2495
set dummy $ac_prog; ac_word=$2
2496
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2497
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2498
if test "${ac_cv_prog_AWK+set}" = set; then
2499
echo $ECHO_N "(cached) $ECHO_C" >&6
2501
if test -n "$AWK"; then
2502
ac_cv_prog_AWK="$AWK" # Let the user override the test.
2504
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2508
test -z "$as_dir" && as_dir=.
2509
for ac_exec_ext in '' $ac_executable_extensions; do
2510
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2511
ac_cv_prog_AWK="$ac_prog"
2512
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2522
if test -n "$AWK"; then
2523
{ echo "$as_me:$LINENO: result: $AWK" >&5
2524
echo "${ECHO_T}$AWK" >&6; }
2526
{ echo "$as_me:$LINENO: result: no" >&5
2527
echo "${ECHO_T}no" >&6; }
2531
test -n "$AWK" && break
2534
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2535
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2536
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2537
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2538
echo $ECHO_N "(cached) $ECHO_C" >&6
2540
cat >conftest.make <<\_ACEOF
2543
@echo '@@@%%%=$(MAKE)=@@@%%%'
2545
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2546
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2548
eval ac_cv_prog_make_${ac_make}_set=yes;;
2550
eval ac_cv_prog_make_${ac_make}_set=no;;
2554
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2555
{ echo "$as_me:$LINENO: result: yes" >&5
2556
echo "${ECHO_T}yes" >&6; }
2559
{ echo "$as_me:$LINENO: result: no" >&5
2560
echo "${ECHO_T}no" >&6; }
2561
SET_MAKE="MAKE=${MAKE-make}"
2564
rm -rf .tst 2>/dev/null
2565
mkdir .tst 2>/dev/null
2566
if test -d .tst; then
2571
rmdir .tst 2>/dev/null
2573
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2574
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2575
# is not polluted with repeated "-I."
2576
am__isrc=' -I$(srcdir)'
2577
# test to see if srcdir already configured
2578
if test -f $srcdir/config.status; then
2579
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2580
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2581
{ (exit 1); exit 1; }; }
2585
# test whether we have cygpath
2586
if test -z "$CYGPATH_W"; then
2587
if (cygpath --version) >/dev/null 2>/dev/null; then
2588
CYGPATH_W='cygpath -w'
2595
# Define the identity of the package.
2600
cat >>confdefs.h <<_ACEOF
2601
#define PACKAGE "$PACKAGE"
2605
cat >>confdefs.h <<_ACEOF
2606
#define VERSION "$VERSION"
2609
# Some tools Automake needs.
2611
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2614
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2617
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2620
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2623
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2625
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2627
# Installed binaries are usually stripped using `strip' when the user
2628
# run `make install-strip'. However `strip' might not be the right
2629
# tool to use in cross-compilation environments, therefore Automake
2630
# will honor the `STRIP' environment variable to overrule this program.
2631
if test "$cross_compiling" != no; then
2632
if test -n "$ac_tool_prefix"; then
2633
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2634
set dummy ${ac_tool_prefix}strip; ac_word=$2
2635
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2636
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2637
if test "${ac_cv_prog_STRIP+set}" = set; then
2638
echo $ECHO_N "(cached) $ECHO_C" >&6
2640
if test -n "$STRIP"; then
2641
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2643
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2647
test -z "$as_dir" && as_dir=.
2648
for ac_exec_ext in '' $ac_executable_extensions; do
2649
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2650
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2651
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2660
STRIP=$ac_cv_prog_STRIP
2661
if test -n "$STRIP"; then
2662
{ echo "$as_me:$LINENO: result: $STRIP" >&5
2663
echo "${ECHO_T}$STRIP" >&6; }
2665
{ echo "$as_me:$LINENO: result: no" >&5
2666
echo "${ECHO_T}no" >&6; }
2671
if test -z "$ac_cv_prog_STRIP"; then
2673
# Extract the first word of "strip", so it can be a program name with args.
2674
set dummy strip; ac_word=$2
2675
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2676
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2677
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2678
echo $ECHO_N "(cached) $ECHO_C" >&6
2680
if test -n "$ac_ct_STRIP"; then
2681
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2683
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2687
test -z "$as_dir" && as_dir=.
2688
for ac_exec_ext in '' $ac_executable_extensions; do
2689
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2690
ac_cv_prog_ac_ct_STRIP="strip"
2691
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2700
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2701
if test -n "$ac_ct_STRIP"; then
2702
{ echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2703
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2705
{ echo "$as_me:$LINENO: result: no" >&5
2706
echo "${ECHO_T}no" >&6; }
2709
if test "x$ac_ct_STRIP" = x; then
2712
case $cross_compiling:$ac_tool_warned in
2714
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2715
whose name does not start with the host triplet. If you think this
2716
configuration is useful to you, please write to autoconf@gnu.org." >&5
2717
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2718
whose name does not start with the host triplet. If you think this
2719
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2720
ac_tool_warned=yes ;;
2725
STRIP="$ac_cv_prog_STRIP"
2729
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2731
# We need awk for the "check" target. The system "awk" is bad on
2733
# Always define AMTAR for backward compatibility.
2735
AMTAR=${AMTAR-"${am_missing_run}tar"}
2737
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2748
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"
2749
test -n "$KDEDIR" && kde_default_bindirs="$KDEDIR/bin $kde_default_bindirs"
2750
if test -n "$KDEDIRS"; then
2753
for dir in $KDEDIRS; do
2754
kde_default_bindirs="$dir/bin $kde_default_bindirs "
2759
if test "x$prefix" = "xNONE"; then
2761
{ echo "$as_me:$LINENO: checking for kde-config" >&5
2762
echo $ECHO_N "checking for kde-config... $ECHO_C" >&6; }
2763
if test -n "$KDECONFIG"; then
2764
kde_cv_path="$KDECONFIG";
2766
kde_cache=`echo kde-config | sed 'y%./+-%__p_%'`
2768
if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
2769
echo $ECHO_N "(cached) $ECHO_C" >&6
2776
for dir in $PATH; do
2779
if test -z "prepend"; then dirs="$kde_default_bindirs $dirs"
2780
else dirs="$dirs $kde_default_bindirs"
2784
for dir in $dirs; do
2785
if test -x "$dir/kde-config"; then
2788
evalstr="$dir/kde-config 2>&1 "
2789
if eval $evalstr; then
2790
kde_cv_path="$dir/kde-config"
2794
kde_cv_path="$dir/kde-config"
2800
eval "kde_cv_path_$kde_cache=$kde_cv_path"
2806
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
2810
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
2811
{ echo "$as_me:$LINENO: result: not found" >&5
2812
echo "${ECHO_T}not found" >&6; }
2814
{ { echo "$as_me:$LINENO: error: The important program kde-config was not found!
2815
Please check whether you installed KDE correctly.
2817
echo "$as_me: error: The important program kde-config was not found!
2818
Please check whether you installed KDE correctly.
2820
{ (exit 1); exit 1; }; }
2823
{ echo "$as_me:$LINENO: result: $kde_cv_path" >&5
2824
echo "${ECHO_T}$kde_cv_path" >&6; }
2825
KDECONFIG=$kde_cv_path
2830
kde_save_PATH="$PATH"
2831
PATH="$exec_prefix/bin:$prefix/bin:$PATH"
2833
{ echo "$as_me:$LINENO: checking for kde-config" >&5
2834
echo $ECHO_N "checking for kde-config... $ECHO_C" >&6; }
2835
if test -n "$KDECONFIG"; then
2836
kde_cv_path="$KDECONFIG";
2838
kde_cache=`echo kde-config | sed 'y%./+-%__p_%'`
2840
if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
2841
echo $ECHO_N "(cached) $ECHO_C" >&6
2848
for dir in $PATH; do
2851
if test -z "prepend"; then dirs="$kde_default_bindirs $dirs"
2852
else dirs="$dirs $kde_default_bindirs"
2856
for dir in $dirs; do
2857
if test -x "$dir/kde-config"; then
2860
evalstr="$dir/kde-config 2>&1 "
2861
if eval $evalstr; then
2862
kde_cv_path="$dir/kde-config"
2866
kde_cv_path="$dir/kde-config"
2872
eval "kde_cv_path_$kde_cache=$kde_cv_path"
2878
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
2882
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
2883
{ echo "$as_me:$LINENO: result: not found" >&5
2884
echo "${ECHO_T}not found" >&6; }
2886
{ { echo "$as_me:$LINENO: error: The important program kde-config was not found!
2887
Please check whether you installed KDE correctly.
2889
echo "$as_me: error: The important program kde-config was not found!
2890
Please check whether you installed KDE correctly.
2892
{ (exit 1); exit 1; }; }
2895
{ echo "$as_me:$LINENO: result: $kde_cv_path" >&5
2896
echo "${ECHO_T}$kde_cv_path" >&6; }
2897
KDECONFIG=$kde_cv_path
2901
PATH="$kde_save_PATH"
2904
kde_libs_prefix=`$KDECONFIG --prefix`
2905
if test -z "$kde_libs_prefix" || test ! -x "$kde_libs_prefix"; then
2906
{ { echo "$as_me:$LINENO: error: $KDECONFIG --prefix outputed the non existant prefix '$kde_libs_prefix' for kdelibs.
2907
This means it has been moved since you installed it.
2908
This won't work. Please recompile kdelibs for the new prefix.
2910
echo "$as_me: error: $KDECONFIG --prefix outputed the non existant prefix '$kde_libs_prefix' for kdelibs.
2911
This means it has been moved since you installed it.
2912
This won't work. Please recompile kdelibs for the new prefix.
2914
{ (exit 1); exit 1; }; }
2916
kde_libs_htmldir=`$KDECONFIG --install html --expandvars`
2918
{ echo "$as_me:$LINENO: checking where to install" >&5
2919
echo $ECHO_N "checking where to install... $ECHO_C" >&6; }
2920
if test "x$prefix" = "xNONE"; then
2921
prefix=$kde_libs_prefix
2922
{ echo "$as_me:$LINENO: result: $prefix (as returned by kde-config)" >&5
2923
echo "${ECHO_T}$prefix (as returned by kde-config)" >&6; }
2925
given_prefix=$prefix
2926
{ echo "$as_me:$LINENO: result: $prefix (as requested)" >&5
2927
echo "${ECHO_T}$prefix (as requested)" >&6; }
2930
# And delete superfluous '/' to make compares easier
2931
prefix=`echo "$prefix" | sed 's,//*,/,g' | sed -e 's,/$,,'`
2932
exec_prefix=`echo "$exec_prefix" | sed 's,//*,/,g' | sed -e 's,/$,,'`
2933
given_prefix=`echo "$given_prefix" | sed 's,//*,/,g' | sed -e 's,/$,,'`
2940
# Check whether --enable-fast-perl was given.
2941
if test "${enable_fast_perl+set}" = set; then
2942
enableval=$enable_fast_perl; with_fast_perl=$enableval
2950
if test -f $srcdir/configure.files ; then
2951
val=`sed -e 's%^%\$(top_srcdir)/%' $srcdir/configure.files`
2954
if test -n "$val" ; then
2956
CONF_FILES="$CONF_FILES $i"
2963
ac_config_headers="$ac_config_headers config.h"
2965
DEPDIR="${am__leading_dot}deps"
2967
ac_config_commands="$ac_config_commands depfiles"
2970
am_make=${MAKE-make}
2971
cat > confinc << 'END'
2976
# If we don't find an include directive, just comment out the code.
2977
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2978
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2982
# First try GNU make style include.
2983
echo "include confinc" > confmf
2984
# We grep out `Entering directory' and `Leaving directory'
2985
# messages which can occur if `w' ends up in MAKEFLAGS.
2986
# In particular we don't look at `^make:' because GNU make might
2987
# be invoked under some other name (usually "gmake"), in which
2988
# case it prints its new name instead of `make'.
2989
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2994
# Now try BSD make style include.
2995
if test "$am__include" = "#"; then
2996
echo '.include "confinc"' > confmf
2997
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2998
am__include=.include
3005
{ echo "$as_me:$LINENO: result: $_am_result" >&5
3006
echo "${ECHO_T}$_am_result" >&6; }
3007
rm -f confinc confmf
3009
# Check whether --enable-dependency-tracking was given.
3010
if test "${enable_dependency_tracking+set}" = set; then
3011
enableval=$enable_dependency_tracking;
3014
if test "x$enable_dependency_tracking" != xno; then
3015
am_depcomp="$ac_aux_dir/depcomp"
3018
if test "x$enable_dependency_tracking" != xno; then
3030
# Check whether --enable-debug was given.
3031
if test "${enable_debug+set}" = set; then
3032
enableval=$enable_debug;
3035
kde_use_debug_code="yes"
3036
kde_use_debug_define=no
3039
kde_use_debug_code="full"
3040
kde_use_debug_define=no
3043
kde_use_debug_code="no"
3044
kde_use_debug_define=yes
3049
kde_use_debug_code="no"
3050
kde_use_debug_define=no
3055
# Check whether --enable-dummyoption was given.
3056
if test "${enable_dummyoption+set}" = set; then
3057
enableval=$enable_dummyoption;
3061
# Check whether --enable-strict was given.
3062
if test "${enable_strict+set}" = set; then
3063
enableval=$enable_strict;
3064
if test $enableval = "no"; then
3065
kde_use_strict_options="no"
3067
kde_use_strict_options="yes"
3071
kde_use_strict_options="no"
3075
# Check whether --enable-warnings was given.
3076
if test "${enable_warnings+set}" = set; then
3077
enableval=$enable_warnings;
3078
if test $enableval = "no"; then
3079
kde_use_warnings="no"
3081
kde_use_warnings="yes"
3085
kde_use_warnings="yes"
3089
if test "$kde_use_debug_code" != "no"; then
3090
kde_use_warnings=yes
3093
# Check whether --enable-profile was given.
3094
if test "${enable_profile+set}" = set; then
3095
enableval=$enable_profile; kde_use_profiling=$enableval
3097
kde_use_profiling="no"
3105
ac_cpp='$CPP $CPPFLAGS'
3106
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3107
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3108
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3109
if test -n "$ac_tool_prefix"; then
3110
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3111
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3112
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3113
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3114
if test "${ac_cv_prog_CC+set}" = set; then
3115
echo $ECHO_N "(cached) $ECHO_C" >&6
3117
if test -n "$CC"; then
3118
ac_cv_prog_CC="$CC" # Let the user override the test.
3120
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3124
test -z "$as_dir" && as_dir=.
3125
for ac_exec_ext in '' $ac_executable_extensions; do
3126
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3127
ac_cv_prog_CC="${ac_tool_prefix}gcc"
3128
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3138
if test -n "$CC"; then
3139
{ echo "$as_me:$LINENO: result: $CC" >&5
3140
echo "${ECHO_T}$CC" >&6; }
3142
{ echo "$as_me:$LINENO: result: no" >&5
3143
echo "${ECHO_T}no" >&6; }
3148
if test -z "$ac_cv_prog_CC"; then
3150
# Extract the first word of "gcc", so it can be a program name with args.
3151
set dummy gcc; ac_word=$2
3152
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3153
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3154
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3155
echo $ECHO_N "(cached) $ECHO_C" >&6
3157
if test -n "$ac_ct_CC"; then
3158
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3160
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3164
test -z "$as_dir" && as_dir=.
3165
for ac_exec_ext in '' $ac_executable_extensions; do
3166
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3167
ac_cv_prog_ac_ct_CC="gcc"
3168
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3177
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3178
if test -n "$ac_ct_CC"; then
3179
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3180
echo "${ECHO_T}$ac_ct_CC" >&6; }
3182
{ echo "$as_me:$LINENO: result: no" >&5
3183
echo "${ECHO_T}no" >&6; }
3186
if test "x$ac_ct_CC" = x; then
3189
case $cross_compiling:$ac_tool_warned in
3191
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3192
whose name does not start with the host triplet. If you think this
3193
configuration is useful to you, please write to autoconf@gnu.org." >&5
3194
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3195
whose name does not start with the host triplet. If you think this
3196
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3197
ac_tool_warned=yes ;;
3205
if test -z "$CC"; then
3206
if test -n "$ac_tool_prefix"; then
3207
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3208
set dummy ${ac_tool_prefix}cc; ac_word=$2
3209
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3210
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3211
if test "${ac_cv_prog_CC+set}" = set; then
3212
echo $ECHO_N "(cached) $ECHO_C" >&6
3214
if test -n "$CC"; then
3215
ac_cv_prog_CC="$CC" # Let the user override the test.
3217
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3221
test -z "$as_dir" && as_dir=.
3222
for ac_exec_ext in '' $ac_executable_extensions; do
3223
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3224
ac_cv_prog_CC="${ac_tool_prefix}cc"
3225
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3235
if test -n "$CC"; then
3236
{ echo "$as_me:$LINENO: result: $CC" >&5
3237
echo "${ECHO_T}$CC" >&6; }
3239
{ echo "$as_me:$LINENO: result: no" >&5
3240
echo "${ECHO_T}no" >&6; }
3246
if test -z "$CC"; then
3247
# Extract the first word of "cc", so it can be a program name with args.
3248
set dummy cc; ac_word=$2
3249
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3250
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3251
if test "${ac_cv_prog_CC+set}" = set; then
3252
echo $ECHO_N "(cached) $ECHO_C" >&6
3254
if test -n "$CC"; then
3255
ac_cv_prog_CC="$CC" # Let the user override the test.
3258
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3262
test -z "$as_dir" && as_dir=.
3263
for ac_exec_ext in '' $ac_executable_extensions; do
3264
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3265
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3266
ac_prog_rejected=yes
3270
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3277
if test $ac_prog_rejected = yes; then
3278
# We found a bogon in the path, so make sure we never use it.
3279
set dummy $ac_cv_prog_CC
3281
if test $# != 0; then
3282
# We chose a different compiler from the bogus one.
3283
# However, it has the same basename, so the bogon will be chosen
3284
# first if we set CC to just the basename; use the full file name.
3286
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3292
if test -n "$CC"; then
3293
{ echo "$as_me:$LINENO: result: $CC" >&5
3294
echo "${ECHO_T}$CC" >&6; }
3296
{ echo "$as_me:$LINENO: result: no" >&5
3297
echo "${ECHO_T}no" >&6; }
3302
if test -z "$CC"; then
3303
if test -n "$ac_tool_prefix"; then
3304
for ac_prog in cl.exe
3306
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3307
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3308
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3309
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3310
if test "${ac_cv_prog_CC+set}" = set; then
3311
echo $ECHO_N "(cached) $ECHO_C" >&6
3313
if test -n "$CC"; then
3314
ac_cv_prog_CC="$CC" # Let the user override the test.
3316
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3320
test -z "$as_dir" && as_dir=.
3321
for ac_exec_ext in '' $ac_executable_extensions; do
3322
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3323
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3324
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3334
if test -n "$CC"; then
3335
{ echo "$as_me:$LINENO: result: $CC" >&5
3336
echo "${ECHO_T}$CC" >&6; }
3338
{ echo "$as_me:$LINENO: result: no" >&5
3339
echo "${ECHO_T}no" >&6; }
3343
test -n "$CC" && break
3346
if test -z "$CC"; then
3348
for ac_prog in cl.exe
3350
# Extract the first word of "$ac_prog", so it can be a program name with args.
3351
set dummy $ac_prog; ac_word=$2
3352
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3353
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3354
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3355
echo $ECHO_N "(cached) $ECHO_C" >&6
3357
if test -n "$ac_ct_CC"; then
3358
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3360
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3364
test -z "$as_dir" && as_dir=.
3365
for ac_exec_ext in '' $ac_executable_extensions; do
3366
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3367
ac_cv_prog_ac_ct_CC="$ac_prog"
3368
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3377
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3378
if test -n "$ac_ct_CC"; then
3379
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3380
echo "${ECHO_T}$ac_ct_CC" >&6; }
3382
{ echo "$as_me:$LINENO: result: no" >&5
3383
echo "${ECHO_T}no" >&6; }
3387
test -n "$ac_ct_CC" && break
3390
if test "x$ac_ct_CC" = x; then
3393
case $cross_compiling:$ac_tool_warned in
3395
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3396
whose name does not start with the host triplet. If you think this
3397
configuration is useful to you, please write to autoconf@gnu.org." >&5
3398
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3399
whose name does not start with the host triplet. If you think this
3400
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3401
ac_tool_warned=yes ;;
3410
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3411
See \`config.log' for more details." >&5
3412
echo "$as_me: error: no acceptable C compiler found in \$PATH
3413
See \`config.log' for more details." >&2;}
3414
{ (exit 1); exit 1; }; }
3416
# Provide some information about the compiler.
3417
echo "$as_me:$LINENO: checking for C compiler version" >&5
3418
ac_compiler=`set X $ac_compile; echo $2`
3419
{ (ac_try="$ac_compiler --version >&5"
3421
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3422
*) ac_try_echo=$ac_try;;
3424
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3425
(eval "$ac_compiler --version >&5") 2>&5
3427
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3428
(exit $ac_status); }
3429
{ (ac_try="$ac_compiler -v >&5"
3431
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3432
*) ac_try_echo=$ac_try;;
3434
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3435
(eval "$ac_compiler -v >&5") 2>&5
3437
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3438
(exit $ac_status); }
3439
{ (ac_try="$ac_compiler -V >&5"
3441
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3442
*) ac_try_echo=$ac_try;;
3444
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3445
(eval "$ac_compiler -V >&5") 2>&5
3447
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3448
(exit $ac_status); }
3450
cat >conftest.$ac_ext <<_ACEOF
3453
cat confdefs.h >>conftest.$ac_ext
3454
cat >>conftest.$ac_ext <<_ACEOF
3455
/* end confdefs.h. */
3465
ac_clean_files_save=$ac_clean_files
3466
ac_clean_files="$ac_clean_files a.out a.exe b.out"
3467
# Try to create an executable without -o first, disregard a.out.
3468
# It will help us diagnose broken compilers, and finding out an intuition
3470
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3471
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
3472
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3474
# List of possible output files, starting from the most likely.
3475
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
3476
# only as a last resort. b.out is created by i960 compilers.
3477
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
3479
# The IRIX 6 linker writes into existing files which may not be
3480
# executable, retaining their permissions. Remove them first so a
3481
# subsequent execution test works.
3483
for ac_file in $ac_files
3486
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3487
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
3492
if { (ac_try="$ac_link_default"
3494
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3495
*) ac_try_echo=$ac_try;;
3497
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3498
(eval "$ac_link_default") 2>&5
3500
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3501
(exit $ac_status); }; then
3502
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3503
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3504
# in a Makefile. We should not override ac_cv_exeext if it was cached,
3505
# so that the user can short-circuit this test for compilers unknown to
3507
for ac_file in $ac_files ''
3509
test -f "$ac_file" || continue
3511
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
3514
# We found the default executable, but exeext='' is most
3518
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3520
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3522
# We set ac_cv_exeext here because the later test for it is not
3523
# safe: cross compilers may not add the suffix if given an `-o'
3524
# argument, so we may need to know it at that point already.
3525
# Even if this section looks crufty: it has the advantage of
3532
test "$ac_cv_exeext" = no && ac_cv_exeext=
3538
{ echo "$as_me:$LINENO: result: $ac_file" >&5
3539
echo "${ECHO_T}$ac_file" >&6; }
3540
if test -z "$ac_file"; then
3541
echo "$as_me: failed program was:" >&5
3542
sed 's/^/| /' conftest.$ac_ext >&5
3544
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
3545
See \`config.log' for more details." >&5
3546
echo "$as_me: error: C compiler cannot create executables
3547
See \`config.log' for more details." >&2;}
3548
{ (exit 77); exit 77; }; }
3551
ac_exeext=$ac_cv_exeext
3553
# Check that the compiler produces executables we can run. If not, either
3554
# the compiler is broken, or we cross compile.
3555
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3556
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3557
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3558
# If not cross compiling, check that we can run a simple program.
3559
if test "$cross_compiling" != yes; then
3560
if { ac_try='./$ac_file'
3561
{ (case "(($ac_try" in
3562
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3563
*) ac_try_echo=$ac_try;;
3565
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3566
(eval "$ac_try") 2>&5
3568
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3569
(exit $ac_status); }; }; then
3572
if test "$cross_compiling" = maybe; then
3575
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3576
If you meant to cross compile, use \`--host'.
3577
See \`config.log' for more details." >&5
3578
echo "$as_me: error: cannot run C compiled programs.
3579
If you meant to cross compile, use \`--host'.
3580
See \`config.log' for more details." >&2;}
3581
{ (exit 1); exit 1; }; }
3585
{ echo "$as_me:$LINENO: result: yes" >&5
3586
echo "${ECHO_T}yes" >&6; }
3588
rm -f a.out a.exe conftest$ac_cv_exeext b.out
3589
ac_clean_files=$ac_clean_files_save
3590
# Check that the compiler produces executables we can run. If not, either
3591
# the compiler is broken, or we cross compile.
3592
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3593
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3594
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
3595
echo "${ECHO_T}$cross_compiling" >&6; }
3597
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
3598
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3599
if { (ac_try="$ac_link"
3601
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3602
*) ac_try_echo=$ac_try;;
3604
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3605
(eval "$ac_link") 2>&5
3607
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3608
(exit $ac_status); }; then
3609
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3610
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3611
# work properly (i.e., refer to `conftest.exe'), while it won't with
3613
for ac_file in conftest.exe conftest conftest.*; do
3614
test -f "$ac_file" || continue
3616
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3617
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3623
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3624
See \`config.log' for more details." >&5
3625
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3626
See \`config.log' for more details." >&2;}
3627
{ (exit 1); exit 1; }; }
3630
rm -f conftest$ac_cv_exeext
3631
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3632
echo "${ECHO_T}$ac_cv_exeext" >&6; }
3634
rm -f conftest.$ac_ext
3635
EXEEXT=$ac_cv_exeext
3637
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
3638
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3639
if test "${ac_cv_objext+set}" = set; then
3640
echo $ECHO_N "(cached) $ECHO_C" >&6
3642
cat >conftest.$ac_ext <<_ACEOF
3645
cat confdefs.h >>conftest.$ac_ext
3646
cat >>conftest.$ac_ext <<_ACEOF
3647
/* end confdefs.h. */
3657
rm -f conftest.o conftest.obj
3658
if { (ac_try="$ac_compile"
3660
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3661
*) ac_try_echo=$ac_try;;
3663
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3664
(eval "$ac_compile") 2>&5
3666
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3667
(exit $ac_status); }; then
3668
for ac_file in conftest.o conftest.obj conftest.*; do
3669
test -f "$ac_file" || continue;
3671
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3672
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3677
echo "$as_me: failed program was:" >&5
3678
sed 's/^/| /' conftest.$ac_ext >&5
3680
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3681
See \`config.log' for more details." >&5
3682
echo "$as_me: error: cannot compute suffix of object files: cannot compile
3683
See \`config.log' for more details." >&2;}
3684
{ (exit 1); exit 1; }; }
3687
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3689
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3690
echo "${ECHO_T}$ac_cv_objext" >&6; }
3691
OBJEXT=$ac_cv_objext
3693
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3694
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3695
if test "${ac_cv_c_compiler_gnu+set}" = set; then
3696
echo $ECHO_N "(cached) $ECHO_C" >&6
3698
cat >conftest.$ac_ext <<_ACEOF
3701
cat confdefs.h >>conftest.$ac_ext
3702
cat >>conftest.$ac_ext <<_ACEOF
3703
/* end confdefs.h. */
3716
rm -f conftest.$ac_objext
3717
if { (ac_try="$ac_compile"
3719
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3720
*) ac_try_echo=$ac_try;;
3722
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3723
(eval "$ac_compile") 2>conftest.er1
3725
grep -v '^ *+' conftest.er1 >conftest.err
3727
cat conftest.err >&5
3728
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3729
(exit $ac_status); } && {
3730
test -z "$ac_c_werror_flag" ||
3731
test ! -s conftest.err
3732
} && test -s conftest.$ac_objext; then
3735
echo "$as_me: failed program was:" >&5
3736
sed 's/^/| /' conftest.$ac_ext >&5
3741
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3742
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3745
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3746
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3747
GCC=`test $ac_compiler_gnu = yes && echo yes`
3748
ac_test_CFLAGS=${CFLAGS+set}
3749
ac_save_CFLAGS=$CFLAGS
3750
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3751
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3752
if test "${ac_cv_prog_cc_g+set}" = set; then
3753
echo $ECHO_N "(cached) $ECHO_C" >&6
3755
ac_save_c_werror_flag=$ac_c_werror_flag
3756
ac_c_werror_flag=yes
3759
cat >conftest.$ac_ext <<_ACEOF
3762
cat confdefs.h >>conftest.$ac_ext
3763
cat >>conftest.$ac_ext <<_ACEOF
3764
/* end confdefs.h. */
3774
rm -f conftest.$ac_objext
3775
if { (ac_try="$ac_compile"
3777
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3778
*) ac_try_echo=$ac_try;;
3780
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3781
(eval "$ac_compile") 2>conftest.er1
3783
grep -v '^ *+' conftest.er1 >conftest.err
3785
cat conftest.err >&5
3786
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3787
(exit $ac_status); } && {
3788
test -z "$ac_c_werror_flag" ||
3789
test ! -s conftest.err
3790
} && test -s conftest.$ac_objext; then
3793
echo "$as_me: failed program was:" >&5
3794
sed 's/^/| /' conftest.$ac_ext >&5
3797
cat >conftest.$ac_ext <<_ACEOF
3800
cat confdefs.h >>conftest.$ac_ext
3801
cat >>conftest.$ac_ext <<_ACEOF
3802
/* end confdefs.h. */
3812
rm -f conftest.$ac_objext
3813
if { (ac_try="$ac_compile"
3815
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3816
*) ac_try_echo=$ac_try;;
3818
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3819
(eval "$ac_compile") 2>conftest.er1
3821
grep -v '^ *+' conftest.er1 >conftest.err
3823
cat conftest.err >&5
3824
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3825
(exit $ac_status); } && {
3826
test -z "$ac_c_werror_flag" ||
3827
test ! -s conftest.err
3828
} && test -s conftest.$ac_objext; then
3831
echo "$as_me: failed program was:" >&5
3832
sed 's/^/| /' conftest.$ac_ext >&5
3834
ac_c_werror_flag=$ac_save_c_werror_flag
3836
cat >conftest.$ac_ext <<_ACEOF
3839
cat confdefs.h >>conftest.$ac_ext
3840
cat >>conftest.$ac_ext <<_ACEOF
3841
/* end confdefs.h. */
3851
rm -f conftest.$ac_objext
3852
if { (ac_try="$ac_compile"
3854
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3855
*) ac_try_echo=$ac_try;;
3857
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3858
(eval "$ac_compile") 2>conftest.er1
3860
grep -v '^ *+' conftest.er1 >conftest.err
3862
cat conftest.err >&5
3863
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3864
(exit $ac_status); } && {
3865
test -z "$ac_c_werror_flag" ||
3866
test ! -s conftest.err
3867
} && test -s conftest.$ac_objext; then
3870
echo "$as_me: failed program was:" >&5
3871
sed 's/^/| /' conftest.$ac_ext >&5
3876
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3879
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3882
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3883
ac_c_werror_flag=$ac_save_c_werror_flag
3885
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3886
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3887
if test "$ac_test_CFLAGS" = set; then
3888
CFLAGS=$ac_save_CFLAGS
3889
elif test $ac_cv_prog_cc_g = yes; then
3890
if test "$GCC" = yes; then
3896
if test "$GCC" = yes; then
3902
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3903
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3904
if test "${ac_cv_prog_cc_c89+set}" = set; then
3905
echo $ECHO_N "(cached) $ECHO_C" >&6
3907
ac_cv_prog_cc_c89=no
3909
cat >conftest.$ac_ext <<_ACEOF
3912
cat confdefs.h >>conftest.$ac_ext
3913
cat >>conftest.$ac_ext <<_ACEOF
3914
/* end confdefs.h. */
3917
#include <sys/types.h>
3918
#include <sys/stat.h>
3919
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3920
struct buf { int x; };
3921
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3922
static char *e (p, i)
3928
static char *f (char * (*g) (char **, int), char **p, ...)
3933
s = g (p, va_arg (v,int));
3938
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3939
function prototypes and stuff, but not '\xHH' hex character constants.
3940
These don't provoke an error unfortunately, instead are silently treated
3941
as 'x'. The following induces an error, until -std is added to get
3942
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3943
array size at least. It's necessary to write '\x00'==0 to get something
3944
that's true only with -std. */
3945
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3947
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3948
inside strings and character constants. */
3950
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3952
int test (int i, double x);
3953
struct s1 {int (*f) (int a);};
3954
struct s2 {int (*f) (double a);};
3955
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3961
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3966
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3967
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3969
CC="$ac_save_CC $ac_arg"
3970
rm -f conftest.$ac_objext
3971
if { (ac_try="$ac_compile"
3973
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3974
*) ac_try_echo=$ac_try;;
3976
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3977
(eval "$ac_compile") 2>conftest.er1
3979
grep -v '^ *+' conftest.er1 >conftest.err
3981
cat conftest.err >&5
3982
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3983
(exit $ac_status); } && {
3984
test -z "$ac_c_werror_flag" ||
3985
test ! -s conftest.err
3986
} && test -s conftest.$ac_objext; then
3987
ac_cv_prog_cc_c89=$ac_arg
3989
echo "$as_me: failed program was:" >&5
3990
sed 's/^/| /' conftest.$ac_ext >&5
3995
rm -f core conftest.err conftest.$ac_objext
3996
test "x$ac_cv_prog_cc_c89" != "xno" && break
3998
rm -f conftest.$ac_ext
4003
case "x$ac_cv_prog_cc_c89" in
4005
{ echo "$as_me:$LINENO: result: none needed" >&5
4006
echo "${ECHO_T}none needed" >&6; } ;;
4008
{ echo "$as_me:$LINENO: result: unsupported" >&5
4009
echo "${ECHO_T}unsupported" >&6; } ;;
4011
CC="$CC $ac_cv_prog_cc_c89"
4012
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4013
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
4018
ac_cpp='$CPP $CPPFLAGS'
4019
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4020
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4021
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4023
depcc="$CC" am_compiler_list=
4025
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4026
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4027
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4028
echo $ECHO_N "(cached) $ECHO_C" >&6
4030
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4031
# We make a subdir and do the tests there. Otherwise we can end up
4032
# making bogus files that we don't know about and never remove. For
4033
# instance it was reported that on HP-UX the gcc test will end up
4034
# making a dummy file named `D' -- because `-MD' means `put the output
4037
# Copy depcomp to subdir because otherwise we won't find it if we're
4038
# using a relative directory.
4039
cp "$am_depcomp" conftest.dir
4041
# We will build objects and dependencies in a subdirectory because
4042
# it helps to detect inapplicable dependency modes. For instance
4043
# both Tru64's cc and ICC support -MD to output dependencies as a
4044
# side effect of compilation, but ICC will put the dependencies in
4045
# the current directory while Tru64 will put them in the object
4049
am_cv_CC_dependencies_compiler_type=none
4050
if test "$am_compiler_list" = ""; then
4051
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4053
for depmode in $am_compiler_list; do
4054
# Setup a source with many dependencies, because some compilers
4055
# like to wrap large dependency lists on column 80 (with \), and
4056
# we should not choose a depcomp mode which is confused by this.
4058
# We need to recreate these files for each test, as the compiler may
4059
# overwrite some of them when testing with obscure command lines.
4060
# This happens at least with the AIX C compiler.
4062
for i in 1 2 3 4 5 6; do
4063
echo '#include "conftst'$i'.h"' >> sub/conftest.c
4064
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4065
# Solaris 8's {/usr,}/bin/sh.
4066
touch sub/conftst$i.h
4068
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4072
# after this tag, mechanisms are not by side-effect, so they'll
4073
# only be used when explicitly requested
4074
if test "x$enable_dependency_tracking" = xyes; then
4082
# We check with `-c' and `-o' for the sake of the "dashmstdout"
4083
# mode. It turns out that the SunPro C++ compiler does not properly
4084
# handle `-M -o', and we need to detect this.
4085
if depmode=$depmode \
4086
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4087
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4088
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4089
>/dev/null 2>conftest.err &&
4090
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4091
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4092
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4093
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4094
# icc doesn't choke on unknown options, it will just issue warnings
4095
# or remarks (even with -Werror). So we grep stderr for any message
4096
# that says an option was ignored or not supported.
4097
# When given -MP, icc 7.0 and 7.1 complain thusly:
4098
# icc: Command line warning: ignoring option '-M'; no argument required
4099
# The diagnosis changed in icc 8.0:
4100
# icc: Command line remark: option '-MP' not supported
4101
if (grep 'ignoring option' conftest.err ||
4102
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4103
am_cv_CC_dependencies_compiler_type=$depmode
4112
am_cv_CC_dependencies_compiler_type=none
4116
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4117
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
4118
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4121
test "x$enable_dependency_tracking" != xno \
4122
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4124
am__fastdepCC_FALSE='#'
4126
am__fastdepCC_TRUE='#'
4127
am__fastdepCC_FALSE=
4133
ac_cpp='$CPP $CPPFLAGS'
4134
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4135
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4136
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4137
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4138
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4139
# On Suns, sometimes $CPP names a directory.
4140
if test -n "$CPP" && test -d "$CPP"; then
4143
if test -z "$CPP"; then
4144
if test "${ac_cv_prog_CPP+set}" = set; then
4145
echo $ECHO_N "(cached) $ECHO_C" >&6
4147
# Double quotes because CPP needs to be expanded
4148
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4151
for ac_c_preproc_warn_flag in '' yes
4153
# Use a header file that comes with gcc, so configuring glibc
4154
# with a fresh cross-compiler works.
4155
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4156
# <limits.h> exists even on freestanding compilers.
4157
# On the NeXT, cc -E runs the code through the compiler's parser,
4158
# not just through cpp. "Syntax error" is here to catch this case.
4159
cat >conftest.$ac_ext <<_ACEOF
4162
cat confdefs.h >>conftest.$ac_ext
4163
cat >>conftest.$ac_ext <<_ACEOF
4164
/* end confdefs.h. */
4166
# include <limits.h>
4168
# include <assert.h>
4172
if { (ac_try="$ac_cpp conftest.$ac_ext"
4174
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4175
*) ac_try_echo=$ac_try;;
4177
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4178
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4180
grep -v '^ *+' conftest.er1 >conftest.err
4182
cat conftest.err >&5
4183
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4184
(exit $ac_status); } >/dev/null && {
4185
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4186
test ! -s conftest.err
4190
echo "$as_me: failed program was:" >&5
4191
sed 's/^/| /' conftest.$ac_ext >&5
4193
# Broken: fails on valid input.
4197
rm -f conftest.err conftest.$ac_ext
4199
# OK, works on sane cases. Now check whether nonexistent headers
4200
# can be detected and how.
4201
cat >conftest.$ac_ext <<_ACEOF
4204
cat confdefs.h >>conftest.$ac_ext
4205
cat >>conftest.$ac_ext <<_ACEOF
4206
/* end confdefs.h. */
4207
#include <ac_nonexistent.h>
4209
if { (ac_try="$ac_cpp conftest.$ac_ext"
4211
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4212
*) ac_try_echo=$ac_try;;
4214
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4215
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4217
grep -v '^ *+' conftest.er1 >conftest.err
4219
cat conftest.err >&5
4220
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4221
(exit $ac_status); } >/dev/null && {
4222
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4223
test ! -s conftest.err
4225
# Broken: success on invalid input.
4228
echo "$as_me: failed program was:" >&5
4229
sed 's/^/| /' conftest.$ac_ext >&5
4231
# Passes both tests.
4236
rm -f conftest.err conftest.$ac_ext
4239
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4240
rm -f conftest.err conftest.$ac_ext
4241
if $ac_preproc_ok; then
4253
{ echo "$as_me:$LINENO: result: $CPP" >&5
4254
echo "${ECHO_T}$CPP" >&6; }
4256
for ac_c_preproc_warn_flag in '' yes
4258
# Use a header file that comes with gcc, so configuring glibc
4259
# with a fresh cross-compiler works.
4260
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4261
# <limits.h> exists even on freestanding compilers.
4262
# On the NeXT, cc -E runs the code through the compiler's parser,
4263
# not just through cpp. "Syntax error" is here to catch this case.
4264
cat >conftest.$ac_ext <<_ACEOF
4267
cat confdefs.h >>conftest.$ac_ext
4268
cat >>conftest.$ac_ext <<_ACEOF
4269
/* end confdefs.h. */
4271
# include <limits.h>
4273
# include <assert.h>
4277
if { (ac_try="$ac_cpp conftest.$ac_ext"
4279
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4280
*) ac_try_echo=$ac_try;;
4282
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4283
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4285
grep -v '^ *+' conftest.er1 >conftest.err
4287
cat conftest.err >&5
4288
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4289
(exit $ac_status); } >/dev/null && {
4290
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4291
test ! -s conftest.err
4295
echo "$as_me: failed program was:" >&5
4296
sed 's/^/| /' conftest.$ac_ext >&5
4298
# Broken: fails on valid input.
4302
rm -f conftest.err conftest.$ac_ext
4304
# OK, works on sane cases. Now check whether nonexistent headers
4305
# can be detected and how.
4306
cat >conftest.$ac_ext <<_ACEOF
4309
cat confdefs.h >>conftest.$ac_ext
4310
cat >>conftest.$ac_ext <<_ACEOF
4311
/* end confdefs.h. */
4312
#include <ac_nonexistent.h>
4314
if { (ac_try="$ac_cpp conftest.$ac_ext"
4316
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4317
*) ac_try_echo=$ac_try;;
4319
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4320
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4322
grep -v '^ *+' conftest.er1 >conftest.err
4324
cat conftest.err >&5
4325
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4326
(exit $ac_status); } >/dev/null && {
4327
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4328
test ! -s conftest.err
4330
# Broken: success on invalid input.
4333
echo "$as_me: failed program was:" >&5
4334
sed 's/^/| /' conftest.$ac_ext >&5
4336
# Passes both tests.
4341
rm -f conftest.err conftest.$ac_ext
4344
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4345
rm -f conftest.err conftest.$ac_ext
4346
if $ac_preproc_ok; then
4349
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4350
See \`config.log' for more details." >&5
4351
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4352
See \`config.log' for more details." >&2;}
4353
{ (exit 1); exit 1; }; }
4357
ac_cpp='$CPP $CPPFLAGS'
4358
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4359
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4360
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4363
if test "$GCC" = "yes"; then
4364
if test "$kde_use_debug_code" != "no"; then
4365
if test $kde_use_debug_code = "full"; then
4366
CFLAGS="-g3 -fno-inline $CFLAGS"
4368
CFLAGS="-g -O2 -fno-schedule-insns -fno-inline $CFLAGS"
4371
CFLAGS="-O2 $CFLAGS"
4375
if test "$kde_use_debug_define" = "yes"; then
4376
CFLAGS="-DNDEBUG $CFLAGS"
4381
*-*-sysv4.2uw*) CFLAGS="-D_UNIXWARE $CFLAGS";;
4382
*-*-sysv5uw7*) CFLAGS="-D_UNIXWARE7 $CFLAGS";;
4385
if test -z "$LDFLAGS" && test "$kde_use_debug_code" = "no" && test "$GCC" = "yes"; then
4389
CXXFLAGS=" $CXXFLAGS"
4392
ac_cpp='$CXXCPP $CPPFLAGS'
4393
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4394
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4395
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4396
if test -z "$CXX"; then
4397
if test -n "$CCC"; then
4400
if test -n "$ac_tool_prefix"; then
4401
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4403
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4404
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4405
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4406
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4407
if test "${ac_cv_prog_CXX+set}" = set; then
4408
echo $ECHO_N "(cached) $ECHO_C" >&6
4410
if test -n "$CXX"; then
4411
ac_cv_prog_CXX="$CXX" # Let the user override the test.
4413
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4417
test -z "$as_dir" && as_dir=.
4418
for ac_exec_ext in '' $ac_executable_extensions; do
4419
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4420
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4421
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4431
if test -n "$CXX"; then
4432
{ echo "$as_me:$LINENO: result: $CXX" >&5
4433
echo "${ECHO_T}$CXX" >&6; }
4435
{ echo "$as_me:$LINENO: result: no" >&5
4436
echo "${ECHO_T}no" >&6; }
4440
test -n "$CXX" && break
4443
if test -z "$CXX"; then
4445
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4447
# Extract the first word of "$ac_prog", so it can be a program name with args.
4448
set dummy $ac_prog; ac_word=$2
4449
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4450
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4451
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4452
echo $ECHO_N "(cached) $ECHO_C" >&6
4454
if test -n "$ac_ct_CXX"; then
4455
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4457
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4461
test -z "$as_dir" && as_dir=.
4462
for ac_exec_ext in '' $ac_executable_extensions; do
4463
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4464
ac_cv_prog_ac_ct_CXX="$ac_prog"
4465
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4474
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4475
if test -n "$ac_ct_CXX"; then
4476
{ echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4477
echo "${ECHO_T}$ac_ct_CXX" >&6; }
4479
{ echo "$as_me:$LINENO: result: no" >&5
4480
echo "${ECHO_T}no" >&6; }
4484
test -n "$ac_ct_CXX" && break
4487
if test "x$ac_ct_CXX" = x; then
4490
case $cross_compiling:$ac_tool_warned in
4492
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4493
whose name does not start with the host triplet. If you think this
4494
configuration is useful to you, please write to autoconf@gnu.org." >&5
4495
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4496
whose name does not start with the host triplet. If you think this
4497
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4498
ac_tool_warned=yes ;;
4506
# Provide some information about the compiler.
4507
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
4508
ac_compiler=`set X $ac_compile; echo $2`
4509
{ (ac_try="$ac_compiler --version >&5"
4511
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4512
*) ac_try_echo=$ac_try;;
4514
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4515
(eval "$ac_compiler --version >&5") 2>&5
4517
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4518
(exit $ac_status); }
4519
{ (ac_try="$ac_compiler -v >&5"
4521
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4522
*) ac_try_echo=$ac_try;;
4524
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4525
(eval "$ac_compiler -v >&5") 2>&5
4527
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4528
(exit $ac_status); }
4529
{ (ac_try="$ac_compiler -V >&5"
4531
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4532
*) ac_try_echo=$ac_try;;
4534
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4535
(eval "$ac_compiler -V >&5") 2>&5
4537
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4538
(exit $ac_status); }
4540
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4541
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
4542
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4543
echo $ECHO_N "(cached) $ECHO_C" >&6
4545
cat >conftest.$ac_ext <<_ACEOF
4548
cat confdefs.h >>conftest.$ac_ext
4549
cat >>conftest.$ac_ext <<_ACEOF
4550
/* end confdefs.h. */
4563
rm -f conftest.$ac_objext
4564
if { (ac_try="$ac_compile"
4566
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4567
*) ac_try_echo=$ac_try;;
4569
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4570
(eval "$ac_compile") 2>conftest.er1
4572
grep -v '^ *+' conftest.er1 >conftest.err
4574
cat conftest.err >&5
4575
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4576
(exit $ac_status); } && {
4577
test -z "$ac_cxx_werror_flag" ||
4578
test ! -s conftest.err
4579
} && test -s conftest.$ac_objext; then
4582
echo "$as_me: failed program was:" >&5
4583
sed 's/^/| /' conftest.$ac_ext >&5
4588
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4589
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4592
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4593
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
4594
GXX=`test $ac_compiler_gnu = yes && echo yes`
4595
ac_test_CXXFLAGS=${CXXFLAGS+set}
4596
ac_save_CXXFLAGS=$CXXFLAGS
4597
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4598
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
4599
if test "${ac_cv_prog_cxx_g+set}" = set; then
4600
echo $ECHO_N "(cached) $ECHO_C" >&6
4602
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4603
ac_cxx_werror_flag=yes
4606
cat >conftest.$ac_ext <<_ACEOF
4609
cat confdefs.h >>conftest.$ac_ext
4610
cat >>conftest.$ac_ext <<_ACEOF
4611
/* end confdefs.h. */
4621
rm -f conftest.$ac_objext
4622
if { (ac_try="$ac_compile"
4624
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4625
*) ac_try_echo=$ac_try;;
4627
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4628
(eval "$ac_compile") 2>conftest.er1
4630
grep -v '^ *+' conftest.er1 >conftest.err
4632
cat conftest.err >&5
4633
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4634
(exit $ac_status); } && {
4635
test -z "$ac_cxx_werror_flag" ||
4636
test ! -s conftest.err
4637
} && test -s conftest.$ac_objext; then
4638
ac_cv_prog_cxx_g=yes
4640
echo "$as_me: failed program was:" >&5
4641
sed 's/^/| /' conftest.$ac_ext >&5
4644
cat >conftest.$ac_ext <<_ACEOF
4647
cat confdefs.h >>conftest.$ac_ext
4648
cat >>conftest.$ac_ext <<_ACEOF
4649
/* end confdefs.h. */
4659
rm -f conftest.$ac_objext
4660
if { (ac_try="$ac_compile"
4662
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4663
*) ac_try_echo=$ac_try;;
4665
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4666
(eval "$ac_compile") 2>conftest.er1
4668
grep -v '^ *+' conftest.er1 >conftest.err
4670
cat conftest.err >&5
4671
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4672
(exit $ac_status); } && {
4673
test -z "$ac_cxx_werror_flag" ||
4674
test ! -s conftest.err
4675
} && test -s conftest.$ac_objext; then
4678
echo "$as_me: failed program was:" >&5
4679
sed 's/^/| /' conftest.$ac_ext >&5
4681
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4683
cat >conftest.$ac_ext <<_ACEOF
4686
cat confdefs.h >>conftest.$ac_ext
4687
cat >>conftest.$ac_ext <<_ACEOF
4688
/* end confdefs.h. */
4698
rm -f conftest.$ac_objext
4699
if { (ac_try="$ac_compile"
4701
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4702
*) ac_try_echo=$ac_try;;
4704
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4705
(eval "$ac_compile") 2>conftest.er1
4707
grep -v '^ *+' conftest.er1 >conftest.err
4709
cat conftest.err >&5
4710
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4711
(exit $ac_status); } && {
4712
test -z "$ac_cxx_werror_flag" ||
4713
test ! -s conftest.err
4714
} && test -s conftest.$ac_objext; then
4715
ac_cv_prog_cxx_g=yes
4717
echo "$as_me: failed program was:" >&5
4718
sed 's/^/| /' conftest.$ac_ext >&5
4723
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4726
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4729
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4730
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4732
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4733
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
4734
if test "$ac_test_CXXFLAGS" = set; then
4735
CXXFLAGS=$ac_save_CXXFLAGS
4736
elif test $ac_cv_prog_cxx_g = yes; then
4737
if test "$GXX" = yes; then
4743
if test "$GXX" = yes; then
4750
ac_cpp='$CPP $CPPFLAGS'
4751
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4752
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4753
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4755
depcc="$CXX" am_compiler_list=
4757
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4758
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4759
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
4760
echo $ECHO_N "(cached) $ECHO_C" >&6
4762
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4763
# We make a subdir and do the tests there. Otherwise we can end up
4764
# making bogus files that we don't know about and never remove. For
4765
# instance it was reported that on HP-UX the gcc test will end up
4766
# making a dummy file named `D' -- because `-MD' means `put the output
4769
# Copy depcomp to subdir because otherwise we won't find it if we're
4770
# using a relative directory.
4771
cp "$am_depcomp" conftest.dir
4773
# We will build objects and dependencies in a subdirectory because
4774
# it helps to detect inapplicable dependency modes. For instance
4775
# both Tru64's cc and ICC support -MD to output dependencies as a
4776
# side effect of compilation, but ICC will put the dependencies in
4777
# the current directory while Tru64 will put them in the object
4781
am_cv_CXX_dependencies_compiler_type=none
4782
if test "$am_compiler_list" = ""; then
4783
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4785
for depmode in $am_compiler_list; do
4786
# Setup a source with many dependencies, because some compilers
4787
# like to wrap large dependency lists on column 80 (with \), and
4788
# we should not choose a depcomp mode which is confused by this.
4790
# We need to recreate these files for each test, as the compiler may
4791
# overwrite some of them when testing with obscure command lines.
4792
# This happens at least with the AIX C compiler.
4794
for i in 1 2 3 4 5 6; do
4795
echo '#include "conftst'$i'.h"' >> sub/conftest.c
4796
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4797
# Solaris 8's {/usr,}/bin/sh.
4798
touch sub/conftst$i.h
4800
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4804
# after this tag, mechanisms are not by side-effect, so they'll
4805
# only be used when explicitly requested
4806
if test "x$enable_dependency_tracking" = xyes; then
4814
# We check with `-c' and `-o' for the sake of the "dashmstdout"
4815
# mode. It turns out that the SunPro C++ compiler does not properly
4816
# handle `-M -o', and we need to detect this.
4817
if depmode=$depmode \
4818
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4819
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4820
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4821
>/dev/null 2>conftest.err &&
4822
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4823
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4824
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4825
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4826
# icc doesn't choke on unknown options, it will just issue warnings
4827
# or remarks (even with -Werror). So we grep stderr for any message
4828
# that says an option was ignored or not supported.
4829
# When given -MP, icc 7.0 and 7.1 complain thusly:
4830
# icc: Command line warning: ignoring option '-M'; no argument required
4831
# The diagnosis changed in icc 8.0:
4832
# icc: Command line remark: option '-MP' not supported
4833
if (grep 'ignoring option' conftest.err ||
4834
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4835
am_cv_CXX_dependencies_compiler_type=$depmode
4844
am_cv_CXX_dependencies_compiler_type=none
4848
{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
4849
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
4850
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4853
test "x$enable_dependency_tracking" != xno \
4854
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4855
am__fastdepCXX_TRUE=
4856
am__fastdepCXX_FALSE='#'
4858
am__fastdepCXX_TRUE='#'
4859
am__fastdepCXX_FALSE=
4865
{ echo "$as_me:$LINENO: checking whether $CC is blacklisted" >&5
4866
echo $ECHO_N "checking whether $CC is blacklisted... $ECHO_C" >&6; }
4869
cat >conftest.$ac_ext <<_ACEOF
4872
cat confdefs.h >>conftest.$ac_ext
4873
cat >>conftest.$ac_ext <<_ACEOF
4874
/* end confdefs.h. */
4877
#if __GNUC__ == 4 && __GNUC_MINOR__ == 0 && __GNUC_PATCHLEVEL__ == 0
4890
rm -f conftest.$ac_objext
4891
if { (ac_try="$ac_compile"
4893
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4894
*) ac_try_echo=$ac_try;;
4896
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4897
(eval "$ac_compile") 2>conftest.er1
4899
grep -v '^ *+' conftest.er1 >conftest.err
4901
cat conftest.err >&5
4902
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4903
(exit $ac_status); } && {
4904
test -z "$ac_c_werror_flag" ||
4905
test ! -s conftest.err
4906
} && test -s conftest.$ac_objext; then
4909
echo "$as_me: failed program was:" >&5
4910
sed 's/^/| /' conftest.$ac_ext >&5
4912
kde_bad_compiler=yes
4916
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4918
{ echo "$as_me:$LINENO: result: $kde_bad_compiler" >&5
4919
echo "${ECHO_T}$kde_bad_compiler" >&6; }
4921
if test "$kde_bad_compiler" = "yes"; then
4922
{ { echo "$as_me:$LINENO: error:
4924
This particular compiler version is blacklisted because it
4925
is known to miscompile KDE. Please use a newer version, or
4926
if that is not yet available, choose an older version.
4928
Please do not report a bug or bother us reporting this
4929
configure error. We know about it, and we introduced
4930
it by intention to avoid untraceable bugs or crashes in KDE.
4933
echo "$as_me: error:
4935
This particular compiler version is blacklisted because it
4936
is known to miscompile KDE. Please use a newer version, or
4937
if that is not yet available, choose an older version.
4939
Please do not report a bug or bother us reporting this
4940
configure error. We know about it, and we introduced
4941
it by intention to avoid untraceable bugs or crashes in KDE.
4944
{ (exit 1); exit 1; }; }
4949
if test "$GXX" = "yes" || test "$CXX" = "KCC"; then
4950
if test "$kde_use_debug_code" != "no"; then
4951
if test "$CXX" = "KCC"; then
4952
CXXFLAGS="+K0 -Wall -pedantic -W -Wpointer-arith -Wwrite-strings $CXXFLAGS"
4954
if test "$kde_use_debug_code" = "full"; then
4955
CXXFLAGS="-g3 -fno-inline $CXXFLAGS"
4957
CXXFLAGS="-g -O2 -fno-schedule-insns -fno-inline $CXXFLAGS"
4961
{ echo "$as_me:$LINENO: checking whether $CXX supports -fno-builtin" >&5
4962
echo $ECHO_N "checking whether $CXX supports -fno-builtin... $ECHO_C" >&6; }
4963
kde_cache=`echo fno-builtin | sed 'y% .=/+-,%____p__%'`
4964
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
4965
echo $ECHO_N "(cached) $ECHO_C" >&6
4971
ac_cpp='$CXXCPP $CPPFLAGS'
4972
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4973
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4974
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4976
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4980
save_CXXFLAGS="$CXXFLAGS"
4981
CXXFLAGS="$CXXFLAGS -fno-builtin"
4982
cat >conftest.$ac_ext <<_ACEOF
4985
cat confdefs.h >>conftest.$ac_ext
4986
cat >>conftest.$ac_ext <<_ACEOF
4987
/* end confdefs.h. */
4997
rm -f conftest.$ac_objext conftest$ac_exeext
4998
if { (ac_try="$ac_link"
5000
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5001
*) ac_try_echo=$ac_try;;
5003
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5004
(eval "$ac_link") 2>conftest.er1
5006
grep -v '^ *+' conftest.er1 >conftest.err
5008
cat conftest.err >&5
5009
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5010
(exit $ac_status); } && {
5011
test -z "$ac_cxx_werror_flag" ||
5012
test ! -s conftest.err
5013
} && test -s conftest$ac_exeext &&
5014
$as_test_x conftest$ac_exeext; then
5015
eval "kde_cv_prog_cxx_$kde_cache=yes"
5017
echo "$as_me: failed program was:" >&5
5018
sed 's/^/| /' conftest.$ac_ext >&5
5023
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5024
conftest$ac_exeext conftest.$ac_ext
5025
CXXFLAGS="$save_CXXFLAGS"
5027
ac_cpp='$CPP $CPPFLAGS'
5028
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5029
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5030
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5035
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5036
{ echo "$as_me:$LINENO: result: yes" >&5
5037
echo "${ECHO_T}yes" >&6; }
5039
CXXFLAGS="-fno-builtin $CXXFLAGS"
5041
{ echo "$as_me:$LINENO: result: no" >&5
5042
echo "${ECHO_T}no" >&6; }
5049
{ echo "$as_me:$LINENO: checking whether $CXX supports -Woverloaded-virtual" >&5
5050
echo $ECHO_N "checking whether $CXX supports -Woverloaded-virtual... $ECHO_C" >&6; }
5051
kde_cache=`echo Woverloaded-virtual | sed 'y% .=/+-,%____p__%'`
5052
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5053
echo $ECHO_N "(cached) $ECHO_C" >&6
5058
ac_cpp='$CXXCPP $CPPFLAGS'
5059
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5060
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5061
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5063
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5066
save_CXXFLAGS="$CXXFLAGS"
5067
CXXFLAGS="$CXXFLAGS -Woverloaded-virtual"
5068
cat >conftest.$ac_ext <<_ACEOF
5071
cat confdefs.h >>conftest.$ac_ext
5072
cat >>conftest.$ac_ext <<_ACEOF
5073
/* end confdefs.h. */
5083
rm -f conftest.$ac_objext conftest$ac_exeext
5084
if { (ac_try="$ac_link"
5086
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5087
*) ac_try_echo=$ac_try;;
5089
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5090
(eval "$ac_link") 2>conftest.er1
5092
grep -v '^ *+' conftest.er1 >conftest.err
5094
cat conftest.err >&5
5095
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5096
(exit $ac_status); } && {
5097
test -z "$ac_cxx_werror_flag" ||
5098
test ! -s conftest.err
5099
} && test -s conftest$ac_exeext &&
5100
$as_test_x conftest$ac_exeext; then
5101
eval "kde_cv_prog_cxx_$kde_cache=yes"
5103
echo "$as_me: failed program was:" >&5
5104
sed 's/^/| /' conftest.$ac_ext >&5
5109
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5110
conftest$ac_exeext conftest.$ac_ext
5111
CXXFLAGS="$save_CXXFLAGS"
5113
ac_cpp='$CPP $CPPFLAGS'
5114
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5115
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5116
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5121
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5122
{ echo "$as_me:$LINENO: result: yes" >&5
5123
echo "${ECHO_T}yes" >&6; }
5125
WOVERLOADED_VIRTUAL="-Woverloaded-virtual"
5127
{ echo "$as_me:$LINENO: result: no" >&5
5128
echo "${ECHO_T}no" >&6; }
5130
WOVERLOADED_VRITUAL=""
5135
if test "$CXX" = "KCC"; then
5136
CXXFLAGS="+K3 $CXXFLAGS"
5138
CXXFLAGS="-O2 $CXXFLAGS"
5143
if test "$kde_use_debug_define" = "yes"; then
5144
CXXFLAGS="-DNDEBUG -DNO_DEBUG $CXXFLAGS"
5147
if test "$kde_use_profiling" = "yes"; then
5149
{ echo "$as_me:$LINENO: checking whether $CXX supports -pg" >&5
5150
echo $ECHO_N "checking whether $CXX supports -pg... $ECHO_C" >&6; }
5151
kde_cache=`echo pg | sed 'y% .=/+-,%____p__%'`
5152
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5153
echo $ECHO_N "(cached) $ECHO_C" >&6
5158
ac_cpp='$CXXCPP $CPPFLAGS'
5159
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5160
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5161
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5163
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5166
save_CXXFLAGS="$CXXFLAGS"
5167
CXXFLAGS="$CXXFLAGS -pg"
5168
cat >conftest.$ac_ext <<_ACEOF
5171
cat confdefs.h >>conftest.$ac_ext
5172
cat >>conftest.$ac_ext <<_ACEOF
5173
/* end confdefs.h. */
5183
rm -f conftest.$ac_objext conftest$ac_exeext
5184
if { (ac_try="$ac_link"
5186
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5187
*) ac_try_echo=$ac_try;;
5189
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5190
(eval "$ac_link") 2>conftest.er1
5192
grep -v '^ *+' conftest.er1 >conftest.err
5194
cat conftest.err >&5
5195
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5196
(exit $ac_status); } && {
5197
test -z "$ac_cxx_werror_flag" ||
5198
test ! -s conftest.err
5199
} && test -s conftest$ac_exeext &&
5200
$as_test_x conftest$ac_exeext; then
5201
eval "kde_cv_prog_cxx_$kde_cache=yes"
5203
echo "$as_me: failed program was:" >&5
5204
sed 's/^/| /' conftest.$ac_ext >&5
5209
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5210
conftest$ac_exeext conftest.$ac_ext
5211
CXXFLAGS="$save_CXXFLAGS"
5213
ac_cpp='$CPP $CPPFLAGS'
5214
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5215
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5216
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5221
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5222
{ echo "$as_me:$LINENO: result: yes" >&5
5223
echo "${ECHO_T}yes" >&6; }
5226
CFLAGS="-pg $CFLAGS"
5227
CXXFLAGS="-pg $CXXFLAGS"
5230
{ echo "$as_me:$LINENO: result: no" >&5
5231
echo "${ECHO_T}no" >&6; }
5238
if test "$kde_use_warnings" = "yes"; then
5239
if test "$GCC" = "yes"; then
5240
CXXFLAGS="-Wall -W -Wpointer-arith $CXXFLAGS"
5243
CFLAGS="-std=iso9899:1990 -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE $CFLAGS"
5244
CXXFLAGS="-fasynchronous-unwind-tables -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts $CXXFLAGS"
5246
{ echo "$as_me:$LINENO: checking whether $CXX supports -Wmissing-format-attribute" >&5
5247
echo $ECHO_N "checking whether $CXX supports -Wmissing-format-attribute... $ECHO_C" >&6; }
5248
kde_cache=`echo Wmissing-format-attribute | sed 'y% .=/+-,%____p__%'`
5249
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5250
echo $ECHO_N "(cached) $ECHO_C" >&6
5255
ac_cpp='$CXXCPP $CPPFLAGS'
5256
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5257
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5258
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5260
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5263
save_CXXFLAGS="$CXXFLAGS"
5264
CXXFLAGS="$CXXFLAGS -Wmissing-format-attribute"
5265
cat >conftest.$ac_ext <<_ACEOF
5268
cat confdefs.h >>conftest.$ac_ext
5269
cat >>conftest.$ac_ext <<_ACEOF
5270
/* end confdefs.h. */
5280
rm -f conftest.$ac_objext conftest$ac_exeext
5281
if { (ac_try="$ac_link"
5283
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5284
*) ac_try_echo=$ac_try;;
5286
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5287
(eval "$ac_link") 2>conftest.er1
5289
grep -v '^ *+' conftest.er1 >conftest.err
5291
cat conftest.err >&5
5292
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5293
(exit $ac_status); } && {
5294
test -z "$ac_cxx_werror_flag" ||
5295
test ! -s conftest.err
5296
} && test -s conftest$ac_exeext &&
5297
$as_test_x conftest$ac_exeext; then
5298
eval "kde_cv_prog_cxx_$kde_cache=yes"
5300
echo "$as_me: failed program was:" >&5
5301
sed 's/^/| /' conftest.$ac_ext >&5
5306
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5307
conftest$ac_exeext conftest.$ac_ext
5308
CXXFLAGS="$save_CXXFLAGS"
5310
ac_cpp='$CPP $CPPFLAGS'
5311
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5312
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5313
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5318
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5319
{ echo "$as_me:$LINENO: result: yes" >&5
5320
echo "${ECHO_T}yes" >&6; }
5322
CXXFLAGS="$CXXFLAGS -Wformat-security -Wmissing-format-attribute"
5324
{ echo "$as_me:$LINENO: result: no" >&5
5325
echo "${ECHO_T}no" >&6; }
5331
{ echo "$as_me:$LINENO: checking whether $CC supports -Wmissing-format-attribute" >&5
5332
echo $ECHO_N "checking whether $CC supports -Wmissing-format-attribute... $ECHO_C" >&6; }
5333
kde_cache=`echo Wmissing-format-attribute | sed 'y% .=/+-,%____p__%'`
5334
if { as_var=kde_cv_prog_cc_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5335
echo $ECHO_N "(cached) $ECHO_C" >&6
5340
ac_cpp='$CPP $CPPFLAGS'
5341
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5342
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5343
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5345
save_CFLAGS="$CFLAGS"
5346
CFLAGS="$CFLAGS -Wmissing-format-attribute"
5347
cat >conftest.$ac_ext <<_ACEOF
5350
cat confdefs.h >>conftest.$ac_ext
5351
cat >>conftest.$ac_ext <<_ACEOF
5352
/* end confdefs.h. */
5362
rm -f conftest.$ac_objext conftest$ac_exeext
5363
if { (ac_try="$ac_link"
5365
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5366
*) ac_try_echo=$ac_try;;
5368
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5369
(eval "$ac_link") 2>conftest.er1
5371
grep -v '^ *+' conftest.er1 >conftest.err
5373
cat conftest.err >&5
5374
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5375
(exit $ac_status); } && {
5376
test -z "$ac_c_werror_flag" ||
5377
test ! -s conftest.err
5378
} && test -s conftest$ac_exeext &&
5379
$as_test_x conftest$ac_exeext; then
5380
eval "kde_cv_prog_cc_$kde_cache=yes"
5382
echo "$as_me: failed program was:" >&5
5383
sed 's/^/| /' conftest.$ac_ext >&5
5388
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5389
conftest$ac_exeext conftest.$ac_ext
5390
CFLAGS="$save_CFLAGS"
5392
ac_cpp='$CPP $CPPFLAGS'
5393
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5394
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5395
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5400
if eval "test \"`echo '$kde_cv_prog_cc_'$kde_cache`\" = yes"; then
5401
{ echo "$as_me:$LINENO: result: yes" >&5
5402
echo "${ECHO_T}yes" >&6; }
5404
CFLAGS="$CFLAGS -Wformat-security -Wmissing-format-attribute"
5406
{ echo "$as_me:$LINENO: result: no" >&5
5407
echo "${ECHO_T}no" >&6; }
5415
{ echo "$as_me:$LINENO: checking whether $CXX supports -Wundef" >&5
5416
echo $ECHO_N "checking whether $CXX supports -Wundef... $ECHO_C" >&6; }
5417
kde_cache=`echo Wundef | sed 'y% .=/+-,%____p__%'`
5418
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5419
echo $ECHO_N "(cached) $ECHO_C" >&6
5424
ac_cpp='$CXXCPP $CPPFLAGS'
5425
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5426
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5427
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5429
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5432
save_CXXFLAGS="$CXXFLAGS"
5433
CXXFLAGS="$CXXFLAGS -Wundef"
5434
cat >conftest.$ac_ext <<_ACEOF
5437
cat confdefs.h >>conftest.$ac_ext
5438
cat >>conftest.$ac_ext <<_ACEOF
5439
/* end confdefs.h. */
5449
rm -f conftest.$ac_objext conftest$ac_exeext
5450
if { (ac_try="$ac_link"
5452
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5453
*) ac_try_echo=$ac_try;;
5455
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5456
(eval "$ac_link") 2>conftest.er1
5458
grep -v '^ *+' conftest.er1 >conftest.err
5460
cat conftest.err >&5
5461
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5462
(exit $ac_status); } && {
5463
test -z "$ac_cxx_werror_flag" ||
5464
test ! -s conftest.err
5465
} && test -s conftest$ac_exeext &&
5466
$as_test_x conftest$ac_exeext; then
5467
eval "kde_cv_prog_cxx_$kde_cache=yes"
5469
echo "$as_me: failed program was:" >&5
5470
sed 's/^/| /' conftest.$ac_ext >&5
5475
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5476
conftest$ac_exeext conftest.$ac_ext
5477
CXXFLAGS="$save_CXXFLAGS"
5479
ac_cpp='$CPP $CPPFLAGS'
5480
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5481
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5482
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5487
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5488
{ echo "$as_me:$LINENO: result: yes" >&5
5489
echo "${ECHO_T}yes" >&6; }
5491
CXXFLAGS="-Wundef $CXXFLAGS"
5493
{ echo "$as_me:$LINENO: result: no" >&5
5494
echo "${ECHO_T}no" >&6; }
5500
{ echo "$as_me:$LINENO: checking whether $CXX supports -Wno-long-long" >&5
5501
echo $ECHO_N "checking whether $CXX supports -Wno-long-long... $ECHO_C" >&6; }
5502
kde_cache=`echo Wno-long-long | sed 'y% .=/+-,%____p__%'`
5503
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5504
echo $ECHO_N "(cached) $ECHO_C" >&6
5509
ac_cpp='$CXXCPP $CPPFLAGS'
5510
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5511
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5512
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5514
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5517
save_CXXFLAGS="$CXXFLAGS"
5518
CXXFLAGS="$CXXFLAGS -Wno-long-long"
5519
cat >conftest.$ac_ext <<_ACEOF
5522
cat confdefs.h >>conftest.$ac_ext
5523
cat >>conftest.$ac_ext <<_ACEOF
5524
/* end confdefs.h. */
5534
rm -f conftest.$ac_objext conftest$ac_exeext
5535
if { (ac_try="$ac_link"
5537
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5538
*) ac_try_echo=$ac_try;;
5540
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5541
(eval "$ac_link") 2>conftest.er1
5543
grep -v '^ *+' conftest.er1 >conftest.err
5545
cat conftest.err >&5
5546
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5547
(exit $ac_status); } && {
5548
test -z "$ac_cxx_werror_flag" ||
5549
test ! -s conftest.err
5550
} && test -s conftest$ac_exeext &&
5551
$as_test_x conftest$ac_exeext; then
5552
eval "kde_cv_prog_cxx_$kde_cache=yes"
5554
echo "$as_me: failed program was:" >&5
5555
sed 's/^/| /' conftest.$ac_ext >&5
5560
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5561
conftest$ac_exeext conftest.$ac_ext
5562
CXXFLAGS="$save_CXXFLAGS"
5564
ac_cpp='$CPP $CPPFLAGS'
5565
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5566
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5567
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5572
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5573
{ echo "$as_me:$LINENO: result: yes" >&5
5574
echo "${ECHO_T}yes" >&6; }
5576
CXXFLAGS="-Wno-long-long $CXXFLAGS"
5578
{ echo "$as_me:$LINENO: result: no" >&5
5579
echo "${ECHO_T}no" >&6; }
5585
{ echo "$as_me:$LINENO: checking whether $CXX supports -Wno-non-virtual-dtor" >&5
5586
echo $ECHO_N "checking whether $CXX supports -Wno-non-virtual-dtor... $ECHO_C" >&6; }
5587
kde_cache=`echo Wno-non-virtual-dtor | sed 'y% .=/+-,%____p__%'`
5588
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5589
echo $ECHO_N "(cached) $ECHO_C" >&6
5594
ac_cpp='$CXXCPP $CPPFLAGS'
5595
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5596
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5597
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5599
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5602
save_CXXFLAGS="$CXXFLAGS"
5603
CXXFLAGS="$CXXFLAGS -Wno-non-virtual-dtor"
5604
cat >conftest.$ac_ext <<_ACEOF
5607
cat confdefs.h >>conftest.$ac_ext
5608
cat >>conftest.$ac_ext <<_ACEOF
5609
/* end confdefs.h. */
5619
rm -f conftest.$ac_objext conftest$ac_exeext
5620
if { (ac_try="$ac_link"
5622
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5623
*) ac_try_echo=$ac_try;;
5625
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5626
(eval "$ac_link") 2>conftest.er1
5628
grep -v '^ *+' conftest.er1 >conftest.err
5630
cat conftest.err >&5
5631
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5632
(exit $ac_status); } && {
5633
test -z "$ac_cxx_werror_flag" ||
5634
test ! -s conftest.err
5635
} && test -s conftest$ac_exeext &&
5636
$as_test_x conftest$ac_exeext; then
5637
eval "kde_cv_prog_cxx_$kde_cache=yes"
5639
echo "$as_me: failed program was:" >&5
5640
sed 's/^/| /' conftest.$ac_ext >&5
5645
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5646
conftest$ac_exeext conftest.$ac_ext
5647
CXXFLAGS="$save_CXXFLAGS"
5649
ac_cpp='$CPP $CPPFLAGS'
5650
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5651
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5652
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5657
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5658
{ echo "$as_me:$LINENO: result: yes" >&5
5659
echo "${ECHO_T}yes" >&6; }
5661
CXXFLAGS="$CXXFLAGS -Wno-non-virtual-dtor"
5663
{ echo "$as_me:$LINENO: result: no" >&5
5664
echo "${ECHO_T}no" >&6; }
5672
if test "$GXX" = "yes" && test "$kde_use_strict_options" = "yes"; then
5673
CXXFLAGS="-Wcast-qual -Wshadow -Wcast-align $CXXFLAGS"
5676
# Check whether --enable-pch was given.
5677
if test "${enable_pch+set}" = set; then
5678
enableval=$enable_pch; kde_use_pch=$enableval
5684
HAVE_GCC_VISIBILITY=0
5687
if test "$GXX" = "yes"; then
5688
gcc_no_reorder_blocks=NO
5690
{ echo "$as_me:$LINENO: checking whether $CXX supports -fno-reorder-blocks" >&5
5691
echo $ECHO_N "checking whether $CXX supports -fno-reorder-blocks... $ECHO_C" >&6; }
5692
kde_cache=`echo fno-reorder-blocks | sed 'y% .=/+-,%____p__%'`
5693
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5694
echo $ECHO_N "(cached) $ECHO_C" >&6
5699
ac_cpp='$CXXCPP $CPPFLAGS'
5700
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5701
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5702
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5704
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5707
save_CXXFLAGS="$CXXFLAGS"
5708
CXXFLAGS="$CXXFLAGS -fno-reorder-blocks"
5709
cat >conftest.$ac_ext <<_ACEOF
5712
cat confdefs.h >>conftest.$ac_ext
5713
cat >>conftest.$ac_ext <<_ACEOF
5714
/* end confdefs.h. */
5724
rm -f conftest.$ac_objext conftest$ac_exeext
5725
if { (ac_try="$ac_link"
5727
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5728
*) ac_try_echo=$ac_try;;
5730
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5731
(eval "$ac_link") 2>conftest.er1
5733
grep -v '^ *+' conftest.er1 >conftest.err
5735
cat conftest.err >&5
5736
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5737
(exit $ac_status); } && {
5738
test -z "$ac_cxx_werror_flag" ||
5739
test ! -s conftest.err
5740
} && test -s conftest$ac_exeext &&
5741
$as_test_x conftest$ac_exeext; then
5742
eval "kde_cv_prog_cxx_$kde_cache=yes"
5744
echo "$as_me: failed program was:" >&5
5745
sed 's/^/| /' conftest.$ac_ext >&5
5750
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5751
conftest$ac_exeext conftest.$ac_ext
5752
CXXFLAGS="$save_CXXFLAGS"
5754
ac_cpp='$CPP $CPPFLAGS'
5755
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5756
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5757
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5762
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5763
{ echo "$as_me:$LINENO: result: yes" >&5
5764
echo "${ECHO_T}yes" >&6; }
5766
gcc_no_reorder_blocks=YES
5768
{ echo "$as_me:$LINENO: result: no" >&5
5769
echo "${ECHO_T}no" >&6; }
5774
if test $kde_use_debug_code != "no" && \
5775
test $kde_use_debug_code != "full" && \
5776
test "YES" = "$gcc_no_reorder_blocks" ; then
5777
CXXFLAGS="$CXXFLAGS -fno-reorder-blocks"
5778
CFLAGS="$CFLAGS -fno-reorder-blocks"
5781
{ echo "$as_me:$LINENO: checking whether $CXX supports -fno-exceptions" >&5
5782
echo $ECHO_N "checking whether $CXX supports -fno-exceptions... $ECHO_C" >&6; }
5783
kde_cache=`echo fno-exceptions | sed 'y% .=/+-,%____p__%'`
5784
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5785
echo $ECHO_N "(cached) $ECHO_C" >&6
5790
ac_cpp='$CXXCPP $CPPFLAGS'
5791
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5792
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5793
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5795
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5798
save_CXXFLAGS="$CXXFLAGS"
5799
CXXFLAGS="$CXXFLAGS -fno-exceptions"
5800
cat >conftest.$ac_ext <<_ACEOF
5803
cat confdefs.h >>conftest.$ac_ext
5804
cat >>conftest.$ac_ext <<_ACEOF
5805
/* end confdefs.h. */
5815
rm -f conftest.$ac_objext conftest$ac_exeext
5816
if { (ac_try="$ac_link"
5818
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5819
*) ac_try_echo=$ac_try;;
5821
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5822
(eval "$ac_link") 2>conftest.er1
5824
grep -v '^ *+' conftest.er1 >conftest.err
5826
cat conftest.err >&5
5827
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5828
(exit $ac_status); } && {
5829
test -z "$ac_cxx_werror_flag" ||
5830
test ! -s conftest.err
5831
} && test -s conftest$ac_exeext &&
5832
$as_test_x conftest$ac_exeext; then
5833
eval "kde_cv_prog_cxx_$kde_cache=yes"
5835
echo "$as_me: failed program was:" >&5
5836
sed 's/^/| /' conftest.$ac_ext >&5
5841
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5842
conftest$ac_exeext conftest.$ac_ext
5843
CXXFLAGS="$save_CXXFLAGS"
5845
ac_cpp='$CPP $CPPFLAGS'
5846
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5847
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5848
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5853
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5854
{ echo "$as_me:$LINENO: result: yes" >&5
5855
echo "${ECHO_T}yes" >&6; }
5857
CXXFLAGS="$CXXFLAGS -fno-exceptions"
5859
{ echo "$as_me:$LINENO: result: no" >&5
5860
echo "${ECHO_T}no" >&6; }
5866
{ echo "$as_me:$LINENO: checking whether $CXX supports -fno-check-new" >&5
5867
echo $ECHO_N "checking whether $CXX supports -fno-check-new... $ECHO_C" >&6; }
5868
kde_cache=`echo fno-check-new | sed 'y% .=/+-,%____p__%'`
5869
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5870
echo $ECHO_N "(cached) $ECHO_C" >&6
5875
ac_cpp='$CXXCPP $CPPFLAGS'
5876
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5877
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5878
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5880
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5883
save_CXXFLAGS="$CXXFLAGS"
5884
CXXFLAGS="$CXXFLAGS -fno-check-new"
5885
cat >conftest.$ac_ext <<_ACEOF
5888
cat confdefs.h >>conftest.$ac_ext
5889
cat >>conftest.$ac_ext <<_ACEOF
5890
/* end confdefs.h. */
5900
rm -f conftest.$ac_objext conftest$ac_exeext
5901
if { (ac_try="$ac_link"
5903
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5904
*) ac_try_echo=$ac_try;;
5906
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5907
(eval "$ac_link") 2>conftest.er1
5909
grep -v '^ *+' conftest.er1 >conftest.err
5911
cat conftest.err >&5
5912
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5913
(exit $ac_status); } && {
5914
test -z "$ac_cxx_werror_flag" ||
5915
test ! -s conftest.err
5916
} && test -s conftest$ac_exeext &&
5917
$as_test_x conftest$ac_exeext; then
5918
eval "kde_cv_prog_cxx_$kde_cache=yes"
5920
echo "$as_me: failed program was:" >&5
5921
sed 's/^/| /' conftest.$ac_ext >&5
5926
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5927
conftest$ac_exeext conftest.$ac_ext
5928
CXXFLAGS="$save_CXXFLAGS"
5930
ac_cpp='$CPP $CPPFLAGS'
5931
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5932
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5933
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5938
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5939
{ echo "$as_me:$LINENO: result: yes" >&5
5940
echo "${ECHO_T}yes" >&6; }
5942
CXXFLAGS="$CXXFLAGS -fno-check-new"
5944
{ echo "$as_me:$LINENO: result: no" >&5
5945
echo "${ECHO_T}no" >&6; }
5951
{ echo "$as_me:$LINENO: checking whether $CXX supports -fno-common" >&5
5952
echo $ECHO_N "checking whether $CXX supports -fno-common... $ECHO_C" >&6; }
5953
kde_cache=`echo fno-common | sed 'y% .=/+-,%____p__%'`
5954
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5955
echo $ECHO_N "(cached) $ECHO_C" >&6
5960
ac_cpp='$CXXCPP $CPPFLAGS'
5961
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5962
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5963
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5965
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5968
save_CXXFLAGS="$CXXFLAGS"
5969
CXXFLAGS="$CXXFLAGS -fno-common"
5970
cat >conftest.$ac_ext <<_ACEOF
5973
cat confdefs.h >>conftest.$ac_ext
5974
cat >>conftest.$ac_ext <<_ACEOF
5975
/* end confdefs.h. */
5985
rm -f conftest.$ac_objext conftest$ac_exeext
5986
if { (ac_try="$ac_link"
5988
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5989
*) ac_try_echo=$ac_try;;
5991
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5992
(eval "$ac_link") 2>conftest.er1
5994
grep -v '^ *+' conftest.er1 >conftest.err
5996
cat conftest.err >&5
5997
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5998
(exit $ac_status); } && {
5999
test -z "$ac_cxx_werror_flag" ||
6000
test ! -s conftest.err
6001
} && test -s conftest$ac_exeext &&
6002
$as_test_x conftest$ac_exeext; then
6003
eval "kde_cv_prog_cxx_$kde_cache=yes"
6005
echo "$as_me: failed program was:" >&5
6006
sed 's/^/| /' conftest.$ac_ext >&5
6011
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6012
conftest$ac_exeext conftest.$ac_ext
6013
CXXFLAGS="$save_CXXFLAGS"
6015
ac_cpp='$CPP $CPPFLAGS'
6016
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6017
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6018
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6023
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6024
{ echo "$as_me:$LINENO: result: yes" >&5
6025
echo "${ECHO_T}yes" >&6; }
6027
CXXFLAGS="$CXXFLAGS -fno-common"
6029
{ echo "$as_me:$LINENO: result: no" >&5
6030
echo "${ECHO_T}no" >&6; }
6036
{ echo "$as_me:$LINENO: checking whether $CXX supports -fexceptions" >&5
6037
echo $ECHO_N "checking whether $CXX supports -fexceptions... $ECHO_C" >&6; }
6038
kde_cache=`echo fexceptions | sed 'y% .=/+-,%____p__%'`
6039
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
6040
echo $ECHO_N "(cached) $ECHO_C" >&6
6045
ac_cpp='$CXXCPP $CPPFLAGS'
6046
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6047
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6048
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6050
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6053
save_CXXFLAGS="$CXXFLAGS"
6054
CXXFLAGS="$CXXFLAGS -fexceptions"
6055
cat >conftest.$ac_ext <<_ACEOF
6058
cat confdefs.h >>conftest.$ac_ext
6059
cat >>conftest.$ac_ext <<_ACEOF
6060
/* end confdefs.h. */
6070
rm -f conftest.$ac_objext conftest$ac_exeext
6071
if { (ac_try="$ac_link"
6073
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6074
*) ac_try_echo=$ac_try;;
6076
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6077
(eval "$ac_link") 2>conftest.er1
6079
grep -v '^ *+' conftest.er1 >conftest.err
6081
cat conftest.err >&5
6082
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6083
(exit $ac_status); } && {
6084
test -z "$ac_cxx_werror_flag" ||
6085
test ! -s conftest.err
6086
} && test -s conftest$ac_exeext &&
6087
$as_test_x conftest$ac_exeext; then
6088
eval "kde_cv_prog_cxx_$kde_cache=yes"
6090
echo "$as_me: failed program was:" >&5
6091
sed 's/^/| /' conftest.$ac_ext >&5
6096
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6097
conftest$ac_exeext conftest.$ac_ext
6098
CXXFLAGS="$save_CXXFLAGS"
6100
ac_cpp='$CPP $CPPFLAGS'
6101
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6102
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6103
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6108
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6109
{ echo "$as_me:$LINENO: result: yes" >&5
6110
echo "${ECHO_T}yes" >&6; }
6112
USE_EXCEPTIONS="-fexceptions"
6114
{ echo "$as_me:$LINENO: result: no" >&5
6115
echo "${ECHO_T}no" >&6; }
6120
ENABLE_PERMISSIVE_FLAG="-fpermissive"
6122
if test "$kde_use_pch" = "yes"; then
6123
{ echo "$as_me:$LINENO: checking whether gcc supports precompiling c header files" >&5
6124
echo $ECHO_N "checking whether gcc supports precompiling c header files... $ECHO_C" >&6; }
6126
if $CC -x c-header conftest.h >/dev/null 2>/dev/null; then
6127
kde_gcc_supports_pch=yes
6128
{ echo "$as_me:$LINENO: result: yes" >&5
6129
echo "${ECHO_T}yes" >&6; }
6131
kde_gcc_supports_pch=no
6132
{ echo "$as_me:$LINENO: result: no" >&5
6133
echo "${ECHO_T}no" >&6; }
6135
if test "$kde_gcc_supports_pch" = "yes"; then
6136
{ echo "$as_me:$LINENO: checking whether gcc supports precompiling c++ header files" >&5
6137
echo $ECHO_N "checking whether gcc supports precompiling c++ header files... $ECHO_C" >&6; }
6138
if $CXX -x c++-header conftest.h >/dev/null 2>/dev/null; then
6139
kde_gcc_supports_pch=yes
6140
{ echo "$as_me:$LINENO: result: yes" >&5
6141
echo "${ECHO_T}yes" >&6; }
6143
kde_gcc_supports_pch=no
6144
{ echo "$as_me:$LINENO: result: no" >&5
6145
echo "${ECHO_T}no" >&6; }
6148
rm -f conftest.h conftest.h.gch
6152
{ echo "$as_me:$LINENO: checking whether system headers can cope with -O2 -fno-inline" >&5
6153
echo $ECHO_N "checking whether system headers can cope with -O2 -fno-inline... $ECHO_C" >&6; }
6154
if test "${kde_cv_opt_noinline_match+set}" = set; then
6155
echo $ECHO_N "(cached) $ECHO_C" >&6
6158
kde_cv_opt_noinline_match=irrelevant
6159
if echo "$CFLAGS" | grep -e -O2 >/dev/null 2>/dev/null \
6160
&& echo "$CFLAGS" | grep -e -fno-inline >/dev/null 2>/dev/null ; then
6162
ac_cflags_save="$CFLAGS"
6163
CFLAGS="$CFLAGS -D_USE_GNU"
6165
cat >conftest.$ac_ext <<_ACEOF
6168
cat confdefs.h >>conftest.$ac_ext
6169
cat >>conftest.$ac_ext <<_ACEOF
6170
/* end confdefs.h. */
6177
const char *pt, *et;
6178
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 , ";," )); }) ;
6184
rm -f conftest.$ac_objext conftest$ac_exeext
6185
if { (ac_try="$ac_link"
6187
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6188
*) ac_try_echo=$ac_try;;
6190
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6191
(eval "$ac_link") 2>conftest.er1
6193
grep -v '^ *+' conftest.er1 >conftest.err
6195
cat conftest.err >&5
6196
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6197
(exit $ac_status); } && {
6198
test -z "$ac_c_werror_flag" ||
6199
test ! -s conftest.err
6200
} && test -s conftest$ac_exeext &&
6201
$as_test_x conftest$ac_exeext; then
6202
kde_cv_opt_noinline_match=yes
6204
echo "$as_me: failed program was:" >&5
6205
sed 's/^/| /' conftest.$ac_ext >&5
6207
kde_cv_opt_noinline_match=no
6211
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6212
conftest$ac_exeext conftest.$ac_ext
6214
CFLAGS="$ac_cflags_save"
6218
{ echo "$as_me:$LINENO: result: $kde_cv_opt_noinline_match" >&5
6219
echo "${ECHO_T}$kde_cv_opt_noinline_match" >&6; }
6221
if test "x$kde_cv_opt_noinline_match" = "xno" ; then
6222
CFLAGS="`echo "$CFLAGS" | sed "s/ -fno-inline//"`"
6225
if test "$kde_use_pch" = "yes" && test "$kde_gcc_supports_pch" = "yes"; then
6226
unsermake_enable_pch_TRUE=
6227
unsermake_enable_pch_FALSE='#'
6229
unsermake_enable_pch_TRUE='#'
6230
unsermake_enable_pch_FALSE=
6233
if test "$CXX" = "KCC"; then
6235
if test "$kde_use_pch" = "yes"; then
6237
{ echo "$as_me:$LINENO: checking whether $CXX supports --pch" >&5
6238
echo $ECHO_N "checking whether $CXX supports --pch... $ECHO_C" >&6; }
6239
kde_cache=`echo -pch | sed 'y% .=/+-,%____p__%'`
6240
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
6241
echo $ECHO_N "(cached) $ECHO_C" >&6
6246
ac_cpp='$CXXCPP $CPPFLAGS'
6247
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6248
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6249
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6251
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6254
save_CXXFLAGS="$CXXFLAGS"
6255
CXXFLAGS="$CXXFLAGS --pch"
6256
cat >conftest.$ac_ext <<_ACEOF
6259
cat confdefs.h >>conftest.$ac_ext
6260
cat >>conftest.$ac_ext <<_ACEOF
6261
/* end confdefs.h. */
6271
rm -f conftest.$ac_objext conftest$ac_exeext
6272
if { (ac_try="$ac_link"
6274
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6275
*) ac_try_echo=$ac_try;;
6277
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6278
(eval "$ac_link") 2>conftest.er1
6280
grep -v '^ *+' conftest.er1 >conftest.err
6282
cat conftest.err >&5
6283
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6284
(exit $ac_status); } && {
6285
test -z "$ac_cxx_werror_flag" ||
6286
test ! -s conftest.err
6287
} && test -s conftest$ac_exeext &&
6288
$as_test_x conftest$ac_exeext; then
6289
eval "kde_cv_prog_cxx_$kde_cache=yes"
6291
echo "$as_me: failed program was:" >&5
6292
sed 's/^/| /' conftest.$ac_ext >&5
6297
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6298
conftest$ac_exeext conftest.$ac_ext
6299
CXXFLAGS="$save_CXXFLAGS"
6301
ac_cpp='$CPP $CPPFLAGS'
6302
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6303
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6304
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6309
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6310
{ echo "$as_me:$LINENO: result: yes" >&5
6311
echo "${ECHO_T}yes" >&6; }
6313
CXXFLAGS="$CXXFLAGS --pch"
6315
{ echo "$as_me:$LINENO: result: no" >&5
6316
echo "${ECHO_T}no" >&6; }
6323
{ echo "$as_me:$LINENO: checking whether $CXX supports --inline_keyword_space_time=6" >&5
6324
echo $ECHO_N "checking whether $CXX supports --inline_keyword_space_time=6... $ECHO_C" >&6; }
6325
kde_cache=`echo -inline_keyword_space_time=6 | sed 'y% .=/+-,%____p__%'`
6326
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
6327
echo $ECHO_N "(cached) $ECHO_C" >&6
6332
ac_cpp='$CXXCPP $CPPFLAGS'
6333
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6334
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6335
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6337
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6340
save_CXXFLAGS="$CXXFLAGS"
6341
CXXFLAGS="$CXXFLAGS --inline_keyword_space_time=6"
6342
cat >conftest.$ac_ext <<_ACEOF
6345
cat confdefs.h >>conftest.$ac_ext
6346
cat >>conftest.$ac_ext <<_ACEOF
6347
/* end confdefs.h. */
6357
rm -f conftest.$ac_objext conftest$ac_exeext
6358
if { (ac_try="$ac_link"
6360
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6361
*) ac_try_echo=$ac_try;;
6363
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6364
(eval "$ac_link") 2>conftest.er1
6366
grep -v '^ *+' conftest.er1 >conftest.err
6368
cat conftest.err >&5
6369
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6370
(exit $ac_status); } && {
6371
test -z "$ac_cxx_werror_flag" ||
6372
test ! -s conftest.err
6373
} && test -s conftest$ac_exeext &&
6374
$as_test_x conftest$ac_exeext; then
6375
eval "kde_cv_prog_cxx_$kde_cache=yes"
6377
echo "$as_me: failed program was:" >&5
6378
sed 's/^/| /' conftest.$ac_ext >&5
6383
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6384
conftest$ac_exeext conftest.$ac_ext
6385
CXXFLAGS="$save_CXXFLAGS"
6387
ac_cpp='$CPP $CPPFLAGS'
6388
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6389
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6390
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6395
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6396
{ echo "$as_me:$LINENO: result: yes" >&5
6397
echo "${ECHO_T}yes" >&6; }
6399
CXXFLAGS="$CXXFLAGS --inline_keyword_space_time=6"
6401
{ echo "$as_me:$LINENO: result: no" >&5
6402
echo "${ECHO_T}no" >&6; }
6408
{ echo "$as_me:$LINENO: checking whether $CXX supports --inline_auto_space_time=2" >&5
6409
echo $ECHO_N "checking whether $CXX supports --inline_auto_space_time=2... $ECHO_C" >&6; }
6410
kde_cache=`echo -inline_auto_space_time=2 | sed 'y% .=/+-,%____p__%'`
6411
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
6412
echo $ECHO_N "(cached) $ECHO_C" >&6
6417
ac_cpp='$CXXCPP $CPPFLAGS'
6418
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6419
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6420
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6422
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6425
save_CXXFLAGS="$CXXFLAGS"
6426
CXXFLAGS="$CXXFLAGS --inline_auto_space_time=2"
6427
cat >conftest.$ac_ext <<_ACEOF
6430
cat confdefs.h >>conftest.$ac_ext
6431
cat >>conftest.$ac_ext <<_ACEOF
6432
/* end confdefs.h. */
6442
rm -f conftest.$ac_objext conftest$ac_exeext
6443
if { (ac_try="$ac_link"
6445
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6446
*) ac_try_echo=$ac_try;;
6448
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6449
(eval "$ac_link") 2>conftest.er1
6451
grep -v '^ *+' conftest.er1 >conftest.err
6453
cat conftest.err >&5
6454
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6455
(exit $ac_status); } && {
6456
test -z "$ac_cxx_werror_flag" ||
6457
test ! -s conftest.err
6458
} && test -s conftest$ac_exeext &&
6459
$as_test_x conftest$ac_exeext; then
6460
eval "kde_cv_prog_cxx_$kde_cache=yes"
6462
echo "$as_me: failed program was:" >&5
6463
sed 's/^/| /' conftest.$ac_ext >&5
6468
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6469
conftest$ac_exeext conftest.$ac_ext
6470
CXXFLAGS="$save_CXXFLAGS"
6472
ac_cpp='$CPP $CPPFLAGS'
6473
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6474
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6475
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6480
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6481
{ echo "$as_me:$LINENO: result: yes" >&5
6482
echo "${ECHO_T}yes" >&6; }
6484
CXXFLAGS="$CXXFLAGS --inline_auto_space_time=2"
6486
{ echo "$as_me:$LINENO: result: no" >&5
6487
echo "${ECHO_T}no" >&6; }
6493
{ echo "$as_me:$LINENO: checking whether $CXX supports --inline_implicit_space_time=2.0" >&5
6494
echo $ECHO_N "checking whether $CXX supports --inline_implicit_space_time=2.0... $ECHO_C" >&6; }
6495
kde_cache=`echo -inline_implicit_space_time=2.0 | sed 'y% .=/+-,%____p__%'`
6496
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
6497
echo $ECHO_N "(cached) $ECHO_C" >&6
6502
ac_cpp='$CXXCPP $CPPFLAGS'
6503
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6504
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6505
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6507
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6510
save_CXXFLAGS="$CXXFLAGS"
6511
CXXFLAGS="$CXXFLAGS --inline_implicit_space_time=2.0"
6512
cat >conftest.$ac_ext <<_ACEOF
6515
cat confdefs.h >>conftest.$ac_ext
6516
cat >>conftest.$ac_ext <<_ACEOF
6517
/* end confdefs.h. */
6527
rm -f conftest.$ac_objext conftest$ac_exeext
6528
if { (ac_try="$ac_link"
6530
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6531
*) ac_try_echo=$ac_try;;
6533
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6534
(eval "$ac_link") 2>conftest.er1
6536
grep -v '^ *+' conftest.er1 >conftest.err
6538
cat conftest.err >&5
6539
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6540
(exit $ac_status); } && {
6541
test -z "$ac_cxx_werror_flag" ||
6542
test ! -s conftest.err
6543
} && test -s conftest$ac_exeext &&
6544
$as_test_x conftest$ac_exeext; then
6545
eval "kde_cv_prog_cxx_$kde_cache=yes"
6547
echo "$as_me: failed program was:" >&5
6548
sed 's/^/| /' conftest.$ac_ext >&5
6553
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6554
conftest$ac_exeext conftest.$ac_ext
6555
CXXFLAGS="$save_CXXFLAGS"
6557
ac_cpp='$CPP $CPPFLAGS'
6558
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6559
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6560
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6565
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6566
{ echo "$as_me:$LINENO: result: yes" >&5
6567
echo "${ECHO_T}yes" >&6; }
6569
CXXFLAGS="$CXXFLAGS --inline_implicit_space_time=2.0"
6571
{ echo "$as_me:$LINENO: result: no" >&5
6572
echo "${ECHO_T}no" >&6; }
6578
{ echo "$as_me:$LINENO: checking whether $CXX supports --inline_generated_space_time=2.0" >&5
6579
echo $ECHO_N "checking whether $CXX supports --inline_generated_space_time=2.0... $ECHO_C" >&6; }
6580
kde_cache=`echo -inline_generated_space_time=2.0 | sed 'y% .=/+-,%____p__%'`
6581
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
6582
echo $ECHO_N "(cached) $ECHO_C" >&6
6587
ac_cpp='$CXXCPP $CPPFLAGS'
6588
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6589
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6590
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6592
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6595
save_CXXFLAGS="$CXXFLAGS"
6596
CXXFLAGS="$CXXFLAGS --inline_generated_space_time=2.0"
6597
cat >conftest.$ac_ext <<_ACEOF
6600
cat confdefs.h >>conftest.$ac_ext
6601
cat >>conftest.$ac_ext <<_ACEOF
6602
/* end confdefs.h. */
6612
rm -f conftest.$ac_objext conftest$ac_exeext
6613
if { (ac_try="$ac_link"
6615
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6616
*) ac_try_echo=$ac_try;;
6618
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6619
(eval "$ac_link") 2>conftest.er1
6621
grep -v '^ *+' conftest.er1 >conftest.err
6623
cat conftest.err >&5
6624
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6625
(exit $ac_status); } && {
6626
test -z "$ac_cxx_werror_flag" ||
6627
test ! -s conftest.err
6628
} && test -s conftest$ac_exeext &&
6629
$as_test_x conftest$ac_exeext; then
6630
eval "kde_cv_prog_cxx_$kde_cache=yes"
6632
echo "$as_me: failed program was:" >&5
6633
sed 's/^/| /' conftest.$ac_ext >&5
6638
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6639
conftest$ac_exeext conftest.$ac_ext
6640
CXXFLAGS="$save_CXXFLAGS"
6642
ac_cpp='$CPP $CPPFLAGS'
6643
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6644
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6645
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6650
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6651
{ echo "$as_me:$LINENO: result: yes" >&5
6652
echo "${ECHO_T}yes" >&6; }
6654
CXXFLAGS="$CXXFLAGS --inline_generated_space_time=2.0"
6656
{ echo "$as_me:$LINENO: result: no" >&5
6657
echo "${ECHO_T}no" >&6; }
6663
{ echo "$as_me:$LINENO: checking whether $CXX supports --one_per" >&5
6664
echo $ECHO_N "checking whether $CXX supports --one_per... $ECHO_C" >&6; }
6665
kde_cache=`echo -one_per | sed 'y% .=/+-,%____p__%'`
6666
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
6667
echo $ECHO_N "(cached) $ECHO_C" >&6
6672
ac_cpp='$CXXCPP $CPPFLAGS'
6673
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6674
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6675
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6677
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6680
save_CXXFLAGS="$CXXFLAGS"
6681
CXXFLAGS="$CXXFLAGS --one_per"
6682
cat >conftest.$ac_ext <<_ACEOF
6685
cat confdefs.h >>conftest.$ac_ext
6686
cat >>conftest.$ac_ext <<_ACEOF
6687
/* end confdefs.h. */
6697
rm -f conftest.$ac_objext conftest$ac_exeext
6698
if { (ac_try="$ac_link"
6700
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6701
*) ac_try_echo=$ac_try;;
6703
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6704
(eval "$ac_link") 2>conftest.er1
6706
grep -v '^ *+' conftest.er1 >conftest.err
6708
cat conftest.err >&5
6709
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6710
(exit $ac_status); } && {
6711
test -z "$ac_cxx_werror_flag" ||
6712
test ! -s conftest.err
6713
} && test -s conftest$ac_exeext &&
6714
$as_test_x conftest$ac_exeext; then
6715
eval "kde_cv_prog_cxx_$kde_cache=yes"
6717
echo "$as_me: failed program was:" >&5
6718
sed 's/^/| /' conftest.$ac_ext >&5
6723
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6724
conftest$ac_exeext conftest.$ac_ext
6725
CXXFLAGS="$save_CXXFLAGS"
6727
ac_cpp='$CPP $CPPFLAGS'
6728
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6729
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6730
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6735
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6736
{ echo "$as_me:$LINENO: result: yes" >&5
6737
echo "${ECHO_T}yes" >&6; }
6739
CXXFLAGS="$CXXFLAGS --one_per"
6741
{ echo "$as_me:$LINENO: result: no" >&5
6742
echo "${ECHO_T}no" >&6; }
6753
*-*-irix*) test "$GXX" = yes && CXXFLAGS="-D_LANGUAGE_C_PLUS_PLUS -D__LANGUAGE_C_PLUS_PLUS $CXXFLAGS" ;;
6754
*-*-sysv4.2uw*) CXXFLAGS="-D_UNIXWARE $CXXFLAGS";;
6755
*-*-sysv5uw7*) CXXFLAGS="-D_UNIXWARE7 $CXXFLAGS";;
6757
if test "$GXX" = yes; then
6758
libstdcpp=`$CXX -print-file-name=libstdc++.so`
6759
if test ! -f $libstdcpp; then
6760
{ { 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
6761
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;}
6762
{ (exit 1); exit 1; }; }
6768
if test "x$kde_use_qt_emb" != "xyes"; then
6770
__forbid=" -fno-rtti -rpath "
6771
if test -n "$__val"; then
6777
*" $i "*) { echo "$as_me:$LINENO: WARNING: found forbidden $i in CXX, removing it" >&5
6778
echo "$as_me: WARNING: found forbidden $i in CXX, removing it" >&2;} ;;
6779
*) # Careful to not add spaces, where there were none, because otherwise
6780
# libtool gets confused, if we change e.g. CXX
6781
if test -z "$__new" ; then __new=$i ; else __new="$__new $i" ; fi ;;
6789
__forbid=" -fno-rtti -rpath "
6790
if test -n "$__val"; then
6796
*" $i "*) { echo "$as_me:$LINENO: WARNING: found forbidden $i in CXXFLAGS, removing it" >&5
6797
echo "$as_me: WARNING: found forbidden $i in CXXFLAGS, removing it" >&2;} ;;
6798
*) # Careful to not add spaces, where there were none, because otherwise
6799
# libtool gets confused, if we change e.g. CXX
6800
if test -z "$__new" ; then __new=$i ; else __new="$__new $i" ; fi ;;
6810
if test -n "$__val"; then
6816
*" $i "*) { echo "$as_me:$LINENO: WARNING: found forbidden $i in CXX, removing it" >&5
6817
echo "$as_me: WARNING: found forbidden $i in CXX, removing it" >&2;} ;;
6818
*) # Careful to not add spaces, where there were none, because otherwise
6819
# libtool gets confused, if we change e.g. CXX
6820
if test -z "$__new" ; then __new=$i ; else __new="$__new $i" ; fi ;;
6829
if test -n "$__val"; then
6835
*" $i "*) { echo "$as_me:$LINENO: WARNING: found forbidden $i in CXXFLAGS, removing it" >&5
6836
echo "$as_me: WARNING: found forbidden $i in CXXFLAGS, removing it" >&2;} ;;
6837
*) # Careful to not add spaces, where there were none, because otherwise
6838
# libtool gets confused, if we change e.g. CXX
6839
if test -z "$__new" ; then __new=$i ; else __new="$__new $i" ; fi ;;
6850
ac_cpp='$CXXCPP $CPPFLAGS'
6851
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6852
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6853
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6854
{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6855
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
6856
if test -z "$CXXCPP"; then
6857
if test "${ac_cv_prog_CXXCPP+set}" = set; then
6858
echo $ECHO_N "(cached) $ECHO_C" >&6
6860
# Double quotes because CXXCPP needs to be expanded
6861
for CXXCPP in "$CXX -E" "/lib/cpp"
6864
for ac_cxx_preproc_warn_flag in '' yes
6866
# Use a header file that comes with gcc, so configuring glibc
6867
# with a fresh cross-compiler works.
6868
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6869
# <limits.h> exists even on freestanding compilers.
6870
# On the NeXT, cc -E runs the code through the compiler's parser,
6871
# not just through cpp. "Syntax error" is here to catch this case.
6872
cat >conftest.$ac_ext <<_ACEOF
6875
cat confdefs.h >>conftest.$ac_ext
6876
cat >>conftest.$ac_ext <<_ACEOF
6877
/* end confdefs.h. */
6879
# include <limits.h>
6881
# include <assert.h>
6885
if { (ac_try="$ac_cpp conftest.$ac_ext"
6887
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6888
*) ac_try_echo=$ac_try;;
6890
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6891
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6893
grep -v '^ *+' conftest.er1 >conftest.err
6895
cat conftest.err >&5
6896
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6897
(exit $ac_status); } >/dev/null && {
6898
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6899
test ! -s conftest.err
6903
echo "$as_me: failed program was:" >&5
6904
sed 's/^/| /' conftest.$ac_ext >&5
6906
# Broken: fails on valid input.
6910
rm -f conftest.err conftest.$ac_ext
6912
# OK, works on sane cases. Now check whether nonexistent headers
6913
# can be detected and how.
6914
cat >conftest.$ac_ext <<_ACEOF
6917
cat confdefs.h >>conftest.$ac_ext
6918
cat >>conftest.$ac_ext <<_ACEOF
6919
/* end confdefs.h. */
6920
#include <ac_nonexistent.h>
6922
if { (ac_try="$ac_cpp conftest.$ac_ext"
6924
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6925
*) ac_try_echo=$ac_try;;
6927
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6928
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6930
grep -v '^ *+' conftest.er1 >conftest.err
6932
cat conftest.err >&5
6933
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6934
(exit $ac_status); } >/dev/null && {
6935
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6936
test ! -s conftest.err
6938
# Broken: success on invalid input.
6941
echo "$as_me: failed program was:" >&5
6942
sed 's/^/| /' conftest.$ac_ext >&5
6944
# Passes both tests.
6949
rm -f conftest.err conftest.$ac_ext
6952
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6953
rm -f conftest.err conftest.$ac_ext
6954
if $ac_preproc_ok; then
6959
ac_cv_prog_CXXCPP=$CXXCPP
6962
CXXCPP=$ac_cv_prog_CXXCPP
6964
ac_cv_prog_CXXCPP=$CXXCPP
6966
{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
6967
echo "${ECHO_T}$CXXCPP" >&6; }
6969
for ac_cxx_preproc_warn_flag in '' yes
6971
# Use a header file that comes with gcc, so configuring glibc
6972
# with a fresh cross-compiler works.
6973
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6974
# <limits.h> exists even on freestanding compilers.
6975
# On the NeXT, cc -E runs the code through the compiler's parser,
6976
# not just through cpp. "Syntax error" is here to catch this case.
6977
cat >conftest.$ac_ext <<_ACEOF
6980
cat confdefs.h >>conftest.$ac_ext
6981
cat >>conftest.$ac_ext <<_ACEOF
6982
/* end confdefs.h. */
6984
# include <limits.h>
6986
# include <assert.h>
6990
if { (ac_try="$ac_cpp conftest.$ac_ext"
6992
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6993
*) ac_try_echo=$ac_try;;
6995
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6996
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6998
grep -v '^ *+' conftest.er1 >conftest.err
7000
cat conftest.err >&5
7001
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7002
(exit $ac_status); } >/dev/null && {
7003
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7004
test ! -s conftest.err
7008
echo "$as_me: failed program was:" >&5
7009
sed 's/^/| /' conftest.$ac_ext >&5
7011
# Broken: fails on valid input.
7015
rm -f conftest.err conftest.$ac_ext
7017
# OK, works on sane cases. Now check whether nonexistent headers
7018
# can be detected and how.
7019
cat >conftest.$ac_ext <<_ACEOF
7022
cat confdefs.h >>conftest.$ac_ext
7023
cat >>conftest.$ac_ext <<_ACEOF
7024
/* end confdefs.h. */
7025
#include <ac_nonexistent.h>
7027
if { (ac_try="$ac_cpp conftest.$ac_ext"
7029
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7030
*) ac_try_echo=$ac_try;;
7032
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7033
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7035
grep -v '^ *+' conftest.er1 >conftest.err
7037
cat conftest.err >&5
7038
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7039
(exit $ac_status); } >/dev/null && {
7040
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7041
test ! -s conftest.err
7043
# Broken: success on invalid input.
7046
echo "$as_me: failed program was:" >&5
7047
sed 's/^/| /' conftest.$ac_ext >&5
7049
# Passes both tests.
7054
rm -f conftest.err conftest.$ac_ext
7057
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7058
rm -f conftest.err conftest.$ac_ext
7059
if $ac_preproc_ok; then
7062
{ { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7063
See \`config.log' for more details." >&5
7064
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7065
See \`config.log' for more details." >&2;}
7066
{ (exit 1); exit 1; }; }
7070
ac_cpp='$CPP $CPPFLAGS'
7071
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7072
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7073
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7076
if test "$GCC" = yes; then
7080
{ echo "$as_me:$LINENO: checking whether $CXX supports -O0" >&5
7081
echo $ECHO_N "checking whether $CXX supports -O0... $ECHO_C" >&6; }
7082
kde_cache=`echo O0 | sed 'y% .=/+-,%____p__%'`
7083
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
7084
echo $ECHO_N "(cached) $ECHO_C" >&6
7089
ac_cpp='$CXXCPP $CPPFLAGS'
7090
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7091
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7092
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7094
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7097
save_CXXFLAGS="$CXXFLAGS"
7098
CXXFLAGS="$CXXFLAGS -O0"
7099
cat >conftest.$ac_ext <<_ACEOF
7102
cat confdefs.h >>conftest.$ac_ext
7103
cat >>conftest.$ac_ext <<_ACEOF
7104
/* end confdefs.h. */
7114
rm -f conftest.$ac_objext conftest$ac_exeext
7115
if { (ac_try="$ac_link"
7117
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7118
*) ac_try_echo=$ac_try;;
7120
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7121
(eval "$ac_link") 2>conftest.er1
7123
grep -v '^ *+' conftest.er1 >conftest.err
7125
cat conftest.err >&5
7126
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7127
(exit $ac_status); } && {
7128
test -z "$ac_cxx_werror_flag" ||
7129
test ! -s conftest.err
7130
} && test -s conftest$ac_exeext &&
7131
$as_test_x conftest$ac_exeext; then
7132
eval "kde_cv_prog_cxx_$kde_cache=yes"
7134
echo "$as_me: failed program was:" >&5
7135
sed 's/^/| /' conftest.$ac_ext >&5
7140
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7141
conftest$ac_exeext conftest.$ac_ext
7142
CXXFLAGS="$save_CXXFLAGS"
7144
ac_cpp='$CPP $CPPFLAGS'
7145
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7146
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7147
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7152
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
7153
{ echo "$as_me:$LINENO: result: yes" >&5
7154
echo "${ECHO_T}yes" >&6; }
7158
{ echo "$as_me:$LINENO: result: no" >&5
7159
echo "${ECHO_T}no" >&6; }
7165
# Check whether --enable-coverage was given.
7166
if test "${enable_coverage+set}" = set; then
7167
enableval=$enable_coverage;
7168
if test "$am_cv_CC_dependencies_compiler_type" = "gcc3"; then
7169
ac_coverage_compiler="-fprofile-arcs -ftest-coverage"
7170
ac_coverage_linker="-lgcc"
7171
elif test "$am_cv_CC_dependencies_compiler_type" = "gcc"; then
7172
ac_coverage_compiler="-fprofile-arcs -ftest-coverage"
7173
ac_coverage_linker=""
7175
{ { echo "$as_me:$LINENO: error: coverage with your compiler is not supported" >&5
7176
echo "$as_me: error: coverage with your compiler is not supported" >&2;}
7177
{ (exit 1); exit 1; }; }
7179
CFLAGS="$CFLAGS $ac_coverage_compiler"
7180
CXXFLAGS="$CXXFLAGS $ac_coverage_compiler"
7181
LDFLAGS="$LDFLAGS $ac_coverage_linker"
7191
# Check whether --enable-new_ldflags was given.
7192
if test "${enable_new_ldflags+set}" = set; then
7193
enableval=$enable_new_ldflags; kde_use_new_ldflags=$enableval
7195
kde_use_new_ldflags=no
7199
LDFLAGS_AS_NEEDED=""
7200
LDFLAGS_NEW_DTAGS=""
7201
if test "x$kde_use_new_ldflags" = "xyes"; then
7202
LDFLAGS_NEW_DTAGS=""
7204
{ echo "$as_me:$LINENO: checking whether $CXX supports -Wl,--enable-new-dtags" >&5
7205
echo $ECHO_N "checking whether $CXX supports -Wl,--enable-new-dtags... $ECHO_C" >&6; }
7206
kde_cache=`echo Wl,--enable-new-dtags | sed 'y% .=/+-,%____p__%'`
7207
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
7208
echo $ECHO_N "(cached) $ECHO_C" >&6
7213
ac_cpp='$CXXCPP $CPPFLAGS'
7214
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7215
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7216
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7218
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7221
save_CXXFLAGS="$CXXFLAGS"
7222
CXXFLAGS="$CXXFLAGS -Wl,--enable-new-dtags"
7223
cat >conftest.$ac_ext <<_ACEOF
7226
cat confdefs.h >>conftest.$ac_ext
7227
cat >>conftest.$ac_ext <<_ACEOF
7228
/* end confdefs.h. */
7238
rm -f conftest.$ac_objext conftest$ac_exeext
7239
if { (ac_try="$ac_link"
7241
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7242
*) ac_try_echo=$ac_try;;
7244
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7245
(eval "$ac_link") 2>conftest.er1
7247
grep -v '^ *+' conftest.er1 >conftest.err
7249
cat conftest.err >&5
7250
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7251
(exit $ac_status); } && {
7252
test -z "$ac_cxx_werror_flag" ||
7253
test ! -s conftest.err
7254
} && test -s conftest$ac_exeext &&
7255
$as_test_x conftest$ac_exeext; then
7256
eval "kde_cv_prog_cxx_$kde_cache=yes"
7258
echo "$as_me: failed program was:" >&5
7259
sed 's/^/| /' conftest.$ac_ext >&5
7264
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7265
conftest$ac_exeext conftest.$ac_ext
7266
CXXFLAGS="$save_CXXFLAGS"
7268
ac_cpp='$CPP $CPPFLAGS'
7269
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7270
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7271
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7276
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
7277
{ echo "$as_me:$LINENO: result: yes" >&5
7278
echo "${ECHO_T}yes" >&6; }
7280
LDFLAGS_NEW_DTAGS="-Wl,--enable-new-dtags"
7282
{ echo "$as_me:$LINENO: result: no" >&5
7283
echo "${ECHO_T}no" >&6; }
7290
{ echo "$as_me:$LINENO: checking whether $CXX supports -Wl,--as-needed" >&5
7291
echo $ECHO_N "checking whether $CXX supports -Wl,--as-needed... $ECHO_C" >&6; }
7292
kde_cache=`echo Wl,--as-needed | sed 'y% .=/+-,%____p__%'`
7293
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
7294
echo $ECHO_N "(cached) $ECHO_C" >&6
7299
ac_cpp='$CXXCPP $CPPFLAGS'
7300
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7301
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7302
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7304
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7307
save_CXXFLAGS="$CXXFLAGS"
7308
CXXFLAGS="$CXXFLAGS -Wl,--as-needed"
7309
cat >conftest.$ac_ext <<_ACEOF
7312
cat confdefs.h >>conftest.$ac_ext
7313
cat >>conftest.$ac_ext <<_ACEOF
7314
/* end confdefs.h. */
7324
rm -f conftest.$ac_objext conftest$ac_exeext
7325
if { (ac_try="$ac_link"
7327
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7328
*) ac_try_echo=$ac_try;;
7330
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7331
(eval "$ac_link") 2>conftest.er1
7333
grep -v '^ *+' conftest.er1 >conftest.err
7335
cat conftest.err >&5
7336
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7337
(exit $ac_status); } && {
7338
test -z "$ac_cxx_werror_flag" ||
7339
test ! -s conftest.err
7340
} && test -s conftest$ac_exeext &&
7341
$as_test_x conftest$ac_exeext; then
7342
eval "kde_cv_prog_cxx_$kde_cache=yes"
7344
echo "$as_me: failed program was:" >&5
7345
sed 's/^/| /' conftest.$ac_ext >&5
7350
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7351
conftest$ac_exeext conftest.$ac_ext
7352
CXXFLAGS="$save_CXXFLAGS"
7354
ac_cpp='$CPP $CPPFLAGS'
7355
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7356
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7357
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7362
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
7363
{ echo "$as_me:$LINENO: result: yes" >&5
7364
echo "${ECHO_T}yes" >&6; }
7366
LDFLAGS_AS_NEEDED="-Wl,--as-needed"
7368
{ echo "$as_me:$LINENO: result: no" >&5
7369
echo "${ECHO_T}no" >&6; }
7379
# Check whether --enable-final was given.
7380
if test "${enable_final+set}" = set; then
7381
enableval=$enable_final; kde_use_final=$enableval
7387
if test "x$kde_use_final" = "xyes"; then
7388
KDE_USE_FINAL_TRUE=""
7389
KDE_USE_FINAL_FALSE="#"
7391
KDE_USE_FINAL_TRUE="#"
7392
KDE_USE_FINAL_FALSE=""
7398
# Check whether --enable-closure was given.
7399
if test "${enable_closure+set}" = set; then
7400
enableval=$enable_closure; kde_use_closure=$enableval
7407
if test "x$kde_use_closure" = "xyes"; then
7408
KDE_USE_CLOSURE_TRUE=""
7409
KDE_USE_CLOSURE_FALSE="#"
7410
# CXXFLAGS="$CXXFLAGS $REPO"
7412
KDE_USE_CLOSURE_TRUE="#"
7413
KDE_USE_CLOSURE_FALSE=""
7418
{ echo "$as_me:$LINENO: checking whether $CXX supports -Wl,--no-undefined" >&5
7419
echo $ECHO_N "checking whether $CXX supports -Wl,--no-undefined... $ECHO_C" >&6; }
7420
kde_cache=`echo Wl,--no-undefined | sed 'y% .=/+-,%____p__%'`
7421
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
7422
echo $ECHO_N "(cached) $ECHO_C" >&6
7427
ac_cpp='$CXXCPP $CPPFLAGS'
7428
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7429
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7430
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7432
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7435
save_CXXFLAGS="$CXXFLAGS"
7436
CXXFLAGS="$CXXFLAGS -Wl,--no-undefined"
7437
cat >conftest.$ac_ext <<_ACEOF
7440
cat confdefs.h >>conftest.$ac_ext
7441
cat >>conftest.$ac_ext <<_ACEOF
7442
/* end confdefs.h. */
7452
rm -f conftest.$ac_objext conftest$ac_exeext
7453
if { (ac_try="$ac_link"
7455
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7456
*) ac_try_echo=$ac_try;;
7458
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7459
(eval "$ac_link") 2>conftest.er1
7461
grep -v '^ *+' conftest.er1 >conftest.err
7463
cat conftest.err >&5
7464
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7465
(exit $ac_status); } && {
7466
test -z "$ac_cxx_werror_flag" ||
7467
test ! -s conftest.err
7468
} && test -s conftest$ac_exeext &&
7469
$as_test_x conftest$ac_exeext; then
7470
eval "kde_cv_prog_cxx_$kde_cache=yes"
7472
echo "$as_me: failed program was:" >&5
7473
sed 's/^/| /' conftest.$ac_ext >&5
7478
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7479
conftest$ac_exeext conftest.$ac_ext
7480
CXXFLAGS="$save_CXXFLAGS"
7482
ac_cpp='$CPP $CPPFLAGS'
7483
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7484
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7485
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7490
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
7491
{ echo "$as_me:$LINENO: result: yes" >&5
7492
echo "${ECHO_T}yes" >&6; }
7495
{ echo "$as_me:$LINENO: checking whether $CXX supports -Wl,--allow-shlib-undefined" >&5
7496
echo $ECHO_N "checking whether $CXX supports -Wl,--allow-shlib-undefined... $ECHO_C" >&6; }
7497
kde_cache=`echo Wl,--allow-shlib-undefined | sed 'y% .=/+-,%____p__%'`
7498
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
7499
echo $ECHO_N "(cached) $ECHO_C" >&6
7504
ac_cpp='$CXXCPP $CPPFLAGS'
7505
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7506
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7507
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7509
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7512
save_CXXFLAGS="$CXXFLAGS"
7513
CXXFLAGS="$CXXFLAGS -Wl,--allow-shlib-undefined"
7514
cat >conftest.$ac_ext <<_ACEOF
7517
cat confdefs.h >>conftest.$ac_ext
7518
cat >>conftest.$ac_ext <<_ACEOF
7519
/* end confdefs.h. */
7529
rm -f conftest.$ac_objext conftest$ac_exeext
7530
if { (ac_try="$ac_link"
7532
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7533
*) ac_try_echo=$ac_try;;
7535
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7536
(eval "$ac_link") 2>conftest.er1
7538
grep -v '^ *+' conftest.er1 >conftest.err
7540
cat conftest.err >&5
7541
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7542
(exit $ac_status); } && {
7543
test -z "$ac_cxx_werror_flag" ||
7544
test ! -s conftest.err
7545
} && test -s conftest$ac_exeext &&
7546
$as_test_x conftest$ac_exeext; then
7547
eval "kde_cv_prog_cxx_$kde_cache=yes"
7549
echo "$as_me: failed program was:" >&5
7550
sed 's/^/| /' conftest.$ac_ext >&5
7555
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7556
conftest$ac_exeext conftest.$ac_ext
7557
CXXFLAGS="$save_CXXFLAGS"
7559
ac_cpp='$CPP $CPPFLAGS'
7560
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7561
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7562
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7567
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
7568
{ echo "$as_me:$LINENO: result: yes" >&5
7569
echo "${ECHO_T}yes" >&6; }
7571
KDE_NO_UNDEFINED="-Wl,--no-undefined -Wl,--allow-shlib-undefined"
7573
{ echo "$as_me:$LINENO: result: no" >&5
7574
echo "${ECHO_T}no" >&6; }
7580
{ echo "$as_me:$LINENO: result: no" >&5
7581
echo "${ECHO_T}no" >&6; }
7594
# Check whether --enable-nmcheck was given.
7595
if test "${enable_nmcheck+set}" = set; then
7596
enableval=$enable_nmcheck; kde_use_nmcheck=$enableval
7602
if test "$kde_use_nmcheck" = "yes"; then
7603
KDE_USE_NMCHECK_TRUE=""
7604
KDE_USE_NMCHECK_FALSE="#"
7606
KDE_USE_NMCHECK_TRUE="#"
7607
KDE_USE_NMCHECK_FALSE=""
7615
# Check whether --enable-shared was given.
7616
if test "${enable_shared+set}" = set; then
7617
enableval=$enable_shared; p=${PACKAGE-default}
7619
yes) enable_shared=yes ;;
7620
no) enable_shared=no ;;
7623
# Look at the argument we got. We use all the common list separators.
7624
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7625
for pkg in $enableval; do
7627
if test "X$pkg" = "X$p"; then
7639
# Check whether --enable-static was given.
7640
if test "${enable_static+set}" = set; then
7641
enableval=$enable_static; p=${PACKAGE-default}
7643
yes) enable_static=yes ;;
7644
no) enable_static=no ;;
7647
# Look at the argument we got. We use all the common list separators.
7648
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7649
for pkg in $enableval; do
7651
if test "X$pkg" = "X$p"; then
7666
# Check whether --enable-libsuffix was given.
7667
if test "${enable_libsuffix+set}" = set; then
7668
enableval=$enable_libsuffix; kdelibsuff=$enableval
7674
if test "$kdelibsuff" = "auto"; then
7676
cat > conftest.c << EOF
7682
kdelibsuff=`$CC conftest.c -o conftest.out; ldd conftest.out |sed -ne '/libc.so/{
7683
s,.*/lib\([^\/]*\)/.*,\1,
7689
if test "$kdelibsuff" = "no" || test "$kdelibsuff" = "none"; then
7692
if test -z "$kdelibsuff"; then
7693
{ echo "$as_me:$LINENO: result: not using lib directory suffix" >&5
7694
echo "${ECHO_T}not using lib directory suffix" >&6; }
7696
cat >>confdefs.h <<\_ACEOF
7697
#define KDELIBSUFF ""
7701
if test "$libdir" = '${exec_prefix}/lib'; then
7702
libdir="$libdir${kdelibsuff}"
7706
cat >>confdefs.h <<_ACEOF
7707
#define KDELIBSUFF "${kdelibsuff}"
7710
{ echo "$as_me:$LINENO: result: using lib directory suffix $kdelibsuff" >&5
7711
echo "${ECHO_T}using lib directory suffix $kdelibsuff" >&6; }
7714
# Check whether --enable-fast-install was given.
7715
if test "${enable_fast_install+set}" = set; then
7716
enableval=$enable_fast_install; p=${PACKAGE-default}
7718
yes) enable_fast_install=yes ;;
7719
no) enable_fast_install=no ;;
7721
enable_fast_install=no
7722
# Look at the argument we got. We use all the common list separators.
7723
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7724
for pkg in $enableval; do
7726
if test "X$pkg" = "X$p"; then
7727
enable_fast_install=yes
7734
enable_fast_install=yes
7738
{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
7739
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
7740
if test "${lt_cv_path_SED+set}" = set; then
7741
echo $ECHO_N "(cached) $ECHO_C" >&6
7743
# Loop through the user's path and test for sed and gsed.
7744
# Then use that list of sed's as ones to test for truncation.
7745
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7749
test -z "$as_dir" && as_dir=.
7750
for lt_ac_prog in sed gsed; do
7751
for ac_exec_ext in '' $ac_executable_extensions; do
7752
if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
7753
lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
7760
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
7761
# along with /bin/sed that truncates output.
7762
for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
7763
test ! -f $lt_ac_sed && break
7764
cat /dev/null > conftest.in
7766
echo $ECHO_N "0123456789$ECHO_C" >conftest.in
7767
# Check for GNU sed and select it if it is found.
7768
if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
7769
lt_cv_path_SED=$lt_ac_sed
7773
cat conftest.in conftest.in >conftest.tmp
7774
mv conftest.tmp conftest.in
7775
cp conftest.in conftest.nl
7777
$lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
7778
cmp -s conftest.out conftest.nl || break
7779
# 10000 chars as input seems more than enough
7780
test $lt_ac_count -gt 10 && break
7781
lt_ac_count=`expr $lt_ac_count + 1`
7782
if test $lt_ac_count -gt $lt_ac_max; then
7783
lt_ac_max=$lt_ac_count
7784
lt_cv_path_SED=$lt_ac_sed
7792
{ echo "$as_me:$LINENO: result: $SED" >&5
7793
echo "${ECHO_T}$SED" >&6; }
7795
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
7796
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
7797
if test "${ac_cv_path_GREP+set}" = set; then
7798
echo $ECHO_N "(cached) $ECHO_C" >&6
7800
# Extract the first word of "grep ggrep" to use in msg output
7801
if test -z "$GREP"; then
7802
set dummy grep ggrep; ac_prog_name=$2
7803
if test "${ac_cv_path_GREP+set}" = set; then
7804
echo $ECHO_N "(cached) $ECHO_C" >&6
7806
ac_path_GREP_found=false
7807
# Loop through the user's path and test for each of PROGNAME-LIST
7808
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7809
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7812
test -z "$as_dir" && as_dir=.
7813
for ac_prog in grep ggrep; do
7814
for ac_exec_ext in '' $ac_executable_extensions; do
7815
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
7816
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
7817
# Check for GNU ac_path_GREP and select it if it is found.
7818
# Check for GNU $ac_path_GREP
7819
case `"$ac_path_GREP" --version 2>&1` in
7821
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
7824
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
7827
cat "conftest.in" "conftest.in" >"conftest.tmp"
7828
mv "conftest.tmp" "conftest.in"
7829
cp "conftest.in" "conftest.nl"
7830
echo 'GREP' >> "conftest.nl"
7831
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7832
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7833
ac_count=`expr $ac_count + 1`
7834
if test $ac_count -gt ${ac_path_GREP_max-0}; then
7835
# Best one so far, save it but keep looking for a better one
7836
ac_cv_path_GREP="$ac_path_GREP"
7837
ac_path_GREP_max=$ac_count
7839
# 10*(2^10) chars as input seems more than enough
7840
test $ac_count -gt 10 && break
7842
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7846
$ac_path_GREP_found && break 3
7856
GREP="$ac_cv_path_GREP"
7857
if test -z "$GREP"; then
7858
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
7859
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
7860
{ (exit 1); exit 1; }; }
7864
ac_cv_path_GREP=$GREP
7869
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
7870
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
7871
GREP="$ac_cv_path_GREP"
7874
{ echo "$as_me:$LINENO: checking for egrep" >&5
7875
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
7876
if test "${ac_cv_path_EGREP+set}" = set; then
7877
echo $ECHO_N "(cached) $ECHO_C" >&6
7879
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7880
then ac_cv_path_EGREP="$GREP -E"
7882
# Extract the first word of "egrep" to use in msg output
7883
if test -z "$EGREP"; then
7884
set dummy egrep; ac_prog_name=$2
7885
if test "${ac_cv_path_EGREP+set}" = set; then
7886
echo $ECHO_N "(cached) $ECHO_C" >&6
7888
ac_path_EGREP_found=false
7889
# Loop through the user's path and test for each of PROGNAME-LIST
7890
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7891
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7894
test -z "$as_dir" && as_dir=.
7895
for ac_prog in egrep; do
7896
for ac_exec_ext in '' $ac_executable_extensions; do
7897
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
7898
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
7899
# Check for GNU ac_path_EGREP and select it if it is found.
7900
# Check for GNU $ac_path_EGREP
7901
case `"$ac_path_EGREP" --version 2>&1` in
7903
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7906
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
7909
cat "conftest.in" "conftest.in" >"conftest.tmp"
7910
mv "conftest.tmp" "conftest.in"
7911
cp "conftest.in" "conftest.nl"
7912
echo 'EGREP' >> "conftest.nl"
7913
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7914
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7915
ac_count=`expr $ac_count + 1`
7916
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7917
# Best one so far, save it but keep looking for a better one
7918
ac_cv_path_EGREP="$ac_path_EGREP"
7919
ac_path_EGREP_max=$ac_count
7921
# 10*(2^10) chars as input seems more than enough
7922
test $ac_count -gt 10 && break
7924
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7928
$ac_path_EGREP_found && break 3
7938
EGREP="$ac_cv_path_EGREP"
7939
if test -z "$EGREP"; then
7940
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
7941
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
7942
{ (exit 1); exit 1; }; }
7946
ac_cv_path_EGREP=$EGREP
7952
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
7953
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
7954
EGREP="$ac_cv_path_EGREP"
7958
# Check whether --with-gnu-ld was given.
7959
if test "${with_gnu_ld+set}" = set; then
7960
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
7966
if test "$GCC" = yes; then
7967
# Check if gcc -print-prog-name=ld gives a path.
7968
{ echo "$as_me:$LINENO: checking for ld used by $CC" >&5
7969
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
7972
# gcc leaves a trailing carriage return which upsets mingw
7973
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7975
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
7978
# Accept absolute paths.
7980
re_direlt='/[^/][^/]*/\.\./'
7981
# Canonicalize the pathname of ld
7982
ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
7983
while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
7984
ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
7986
test -z "$LD" && LD="$ac_prog"
7989
# If it fails, then pretend we aren't using GCC.
7993
# If it is relative, then search for the first ld in PATH.
7997
elif test "$with_gnu_ld" = yes; then
7998
{ echo "$as_me:$LINENO: checking for GNU ld" >&5
7999
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
8001
{ echo "$as_me:$LINENO: checking for non-GNU ld" >&5
8002
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
8004
if test "${lt_cv_path_LD+set}" = set; then
8005
echo $ECHO_N "(cached) $ECHO_C" >&6
8007
if test -z "$LD"; then
8008
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8009
for ac_dir in $PATH; do
8011
test -z "$ac_dir" && ac_dir=.
8012
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
8013
lt_cv_path_LD="$ac_dir/$ac_prog"
8014
# Check to see if the program is GNU ld. I'd rather use --version,
8015
# but apparently some GNU ld's only accept -v.
8016
# Break only if it was the GNU/non-GNU ld that we prefer.
8017
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
8018
*GNU* | *'with BFD'*)
8019
test "$with_gnu_ld" != no && break
8022
test "$with_gnu_ld" != yes && break
8029
lt_cv_path_LD="$LD" # Let the user override the test with a path.
8034
if test -n "$LD"; then
8035
{ echo "$as_me:$LINENO: result: $LD" >&5
8036
echo "${ECHO_T}$LD" >&6; }
8038
{ echo "$as_me:$LINENO: result: no" >&5
8039
echo "${ECHO_T}no" >&6; }
8041
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
8042
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
8043
{ (exit 1); exit 1; }; }
8044
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
8045
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
8046
if test "${lt_cv_prog_gnu_ld+set}" = set; then
8047
echo $ECHO_N "(cached) $ECHO_C" >&6
8049
# I'd rather use --version here, but apparently some GNU ld's only accept -v.
8050
case `$LD -v 2>&1 </dev/null` in
8051
*GNU* | *'with BFD'*)
8052
lt_cv_prog_gnu_ld=yes
8055
lt_cv_prog_gnu_ld=no
8059
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
8060
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
8061
with_gnu_ld=$lt_cv_prog_gnu_ld
8064
{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
8065
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
8066
if test "${lt_cv_ld_reload_flag+set}" = set; then
8067
echo $ECHO_N "(cached) $ECHO_C" >&6
8069
lt_cv_ld_reload_flag='-r'
8071
{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
8072
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
8073
reload_flag=$lt_cv_ld_reload_flag
8074
case $reload_flag in
8076
*) reload_flag=" $reload_flag" ;;
8078
reload_cmds='$LD$reload_flag -o $output$reload_objs'
8080
{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
8081
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
8082
if test "${lt_cv_path_NM+set}" = set; then
8083
echo $ECHO_N "(cached) $ECHO_C" >&6
8085
if test -n "$NM"; then
8086
# Let the user override the test.
8089
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8090
for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
8092
test -z "$ac_dir" && ac_dir=.
8093
tmp_nm="$ac_dir/${ac_tool_prefix}nm"
8094
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
8095
# Check to see if the nm accepts a BSD-compat flag.
8096
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
8097
# nm: unknown option "B" ignored
8098
# Tru64's nm complains that /dev/null is an invalid object file
8099
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
8100
*/dev/null* | *'Invalid file or object type'*)
8101
lt_cv_path_NM="$tmp_nm -B"
8105
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
8107
lt_cv_path_NM="$tmp_nm -p"
8111
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
8112
continue # so that we can try to find one that supports BSD flags
8119
test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
8122
{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
8123
echo "${ECHO_T}$lt_cv_path_NM" >&6; }
8126
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
8127
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
8129
if test "$LN_S" = "ln -s"; then
8130
{ echo "$as_me:$LINENO: result: yes" >&5
8131
echo "${ECHO_T}yes" >&6; }
8133
{ echo "$as_me:$LINENO: result: no, using $LN_S" >&5
8134
echo "${ECHO_T}no, using $LN_S" >&6; }
8137
{ echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
8138
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
8139
if test "${lt_cv_deplibs_check_method+set}" = set; then
8140
echo $ECHO_N "(cached) $ECHO_C" >&6
8142
lt_cv_file_magic_cmd='$MAGIC_CMD'
8143
lt_cv_file_magic_test_file=
8144
lt_cv_deplibs_check_method='unknown'
8145
# Need to set the preceding variable on all platforms that support
8146
# interlibrary dependencies.
8147
# 'none' -- dependencies not supported.
8148
# `unknown' -- same as none, but documents that we really don't know.
8149
# 'pass_all' -- all dependencies passed with no checks.
8150
# 'test_compile' -- check by making test program.
8151
# 'file_magic [[regex]]' -- check by looking for files in library path
8152
# which responds to the $file_magic_cmd with a given extended regex.
8153
# If you have `file' or equivalent on your system and you're not sure
8154
# whether `pass_all' will *always* work, you probably want this one.
8158
lt_cv_deplibs_check_method=pass_all
8162
lt_cv_deplibs_check_method=pass_all
8166
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
8167
lt_cv_file_magic_cmd='/usr/bin/file -L'
8168
lt_cv_file_magic_test_file=/shlib/libc.so
8172
lt_cv_deplibs_check_method=pass_all
8176
# win32_libid is a shell function defined in ltmain.sh
8177
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
8178
lt_cv_file_magic_cmd='win32_libid'
8181
darwin* | rhapsody*)
8182
# this will be overwritten by pass_all, but leave it in just in case
8183
lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
8184
lt_cv_file_magic_cmd='/usr/bin/file -L'
8186
rhapsody* | darwin1.[012])
8187
lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System`
8190
lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
8193
lt_cv_deplibs_check_method=pass_all
8196
freebsd* | kfreebsd*-gnu)
8197
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
8200
# Not sure whether the presence of OpenBSD here was a mistake.
8201
# Let's accept both of them until this is cleared up.
8202
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
8203
lt_cv_file_magic_cmd=/usr/bin/file
8204
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
8208
lt_cv_deplibs_check_method=pass_all
8213
lt_cv_deplibs_check_method=pass_all
8216
hpux10.20* | hpux11*)
8217
lt_cv_file_magic_cmd=/usr/bin/file
8220
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
8221
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
8224
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]'
8225
lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
8228
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
8229
lt_cv_file_magic_test_file=/usr/lib/libc.sl
8234
irix5* | irix6* | nonstopux*)
8236
irix5* | nonstopux*)
8237
# this will be overridden with pass_all, but let us keep it just in case
8238
lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
8242
*-32|*"-32 ") libmagic=32-bit;;
8243
*-n32|*"-n32 ") libmagic=N32;;
8244
*-64|*"-64 ") libmagic=64-bit;;
8245
*) libmagic=never-match;;
8247
# this will be overridden with pass_all, but let us keep it just in case
8248
lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
8251
lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
8252
lt_cv_deplibs_check_method=pass_all
8255
# This must be Linux ELF.
8258
alpha* | hppa* | i*86 | ia64* | m68* | mips* | powerpc* | sparc* | s390* | sh* | x86_64* )
8259
lt_cv_deplibs_check_method=pass_all ;;
8260
# the debian people say, arm and glibc 2.3.1 works for them with pass_all
8262
lt_cv_deplibs_check_method=pass_all ;;
8264
# glibc up to 2.1.1 does not perform some relocations on ARM
8265
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
8267
lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
8271
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
8272
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8274
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
8279
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
8280
lt_cv_file_magic_cmd=/usr/bin/file
8281
lt_cv_file_magic_test_file=/usr/lib/libnls.so
8285
lt_cv_deplibs_check_method=unknown
8289
lt_cv_file_magic_cmd=/usr/bin/file
8290
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
8291
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8292
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
8294
lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
8298
osf3* | osf4* | osf5*)
8299
# this will be overridden with pass_all, but let us keep it just in case
8300
lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
8301
lt_cv_file_magic_test_file=/shlib/libc.so
8302
lt_cv_deplibs_check_method=pass_all
8306
lt_cv_deplibs_check_method=pass_all
8310
lt_cv_deplibs_check_method=pass_all
8311
lt_cv_file_magic_test_file=/lib/libc.so
8314
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8315
case $host_vendor in
8317
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]'
8318
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
8321
lt_cv_deplibs_check_method=pass_all
8324
lt_cv_file_magic_cmd='/bin/file'
8325
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
8328
lt_cv_file_magic_cmd='/bin/file'
8329
lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
8330
lt_cv_file_magic_test_file=/lib/libc.so
8333
lt_cv_deplibs_check_method=pass_all
8338
sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
8339
lt_cv_deplibs_check_method=pass_all
8344
{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
8345
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
8346
file_magic_cmd=$lt_cv_file_magic_cmd
8347
deplibs_check_method=$lt_cv_deplibs_check_method
8348
test -z "$deplibs_check_method" && deplibs_check_method=unknown
8351
# If no C compiler was specified, use CC.
8354
# Allow CC to be a program name with arguments.
8357
# Check whether --enable-libtool-lock was given.
8358
if test "${enable_libtool_lock+set}" = set; then
8359
enableval=$enable_libtool_lock;
8362
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8364
# Some flags need to be propagated to the compiler or linker for good
8368
# Find out which ABI we are using.
8369
echo 'int i;' > conftest.$ac_ext
8370
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8371
(eval $ac_compile) 2>&5
8373
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8374
(exit $ac_status); }; then
8375
case `/usr/bin/file conftest.$ac_objext` in
8387
# Find out which ABI we are using.
8388
echo '#line 8388 "configure"' > conftest.$ac_ext
8389
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8390
(eval $ac_compile) 2>&5
8392
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8393
(exit $ac_status); }; then
8394
if test "$lt_cv_prog_gnu_ld" = yes; then
8395
case `/usr/bin/file conftest.$ac_objext` in
8397
LD="${LD-ld} -melf32bsmip"
8400
LD="${LD-ld} -melf32bmipn32"
8403
LD="${LD-ld} -melf64bmip"
8407
case `/usr/bin/file conftest.$ac_objext` in
8423
x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
8424
# Find out which ABI we are using.
8425
echo 'int i;' > conftest.$ac_ext
8426
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8427
(eval $ac_compile) 2>&5
8429
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8430
(exit $ac_status); }; then
8431
case "`/usr/bin/file conftest.o`" in
8436
LD="${LD-ld} -m elf_i386"
8439
LD="${LD-ld} -m elf32ppclinux"
8442
LD="${LD-ld} -m elf_s390"
8445
LD="${LD-ld} -m elf32_sparc"
8453
LD="${LD-ld} -m elf_x86_64"
8455
ppc*-*linux*|powerpc*-*linux*)
8456
LD="${LD-ld} -m elf64ppc"
8459
LD="${LD-ld} -m elf64_s390"
8462
LD="${LD-ld} -m elf64_sparc"
8472
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
8473
SAVE_CFLAGS="$CFLAGS"
8474
CFLAGS="$CFLAGS -belf"
8475
{ echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
8476
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
8477
if test "${lt_cv_cc_needs_belf+set}" = set; then
8478
echo $ECHO_N "(cached) $ECHO_C" >&6
8481
ac_cpp='$CPP $CPPFLAGS'
8482
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8483
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8484
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8486
cat >conftest.$ac_ext <<_ACEOF
8489
cat confdefs.h >>conftest.$ac_ext
8490
cat >>conftest.$ac_ext <<_ACEOF
8491
/* end confdefs.h. */
8501
rm -f conftest.$ac_objext conftest$ac_exeext
8502
if { (ac_try="$ac_link"
8504
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8505
*) ac_try_echo=$ac_try;;
8507
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8508
(eval "$ac_link") 2>conftest.er1
8510
grep -v '^ *+' conftest.er1 >conftest.err
8512
cat conftest.err >&5
8513
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8514
(exit $ac_status); } && {
8515
test -z "$ac_c_werror_flag" ||
8516
test ! -s conftest.err
8517
} && test -s conftest$ac_exeext &&
8518
$as_test_x conftest$ac_exeext; then
8519
lt_cv_cc_needs_belf=yes
8521
echo "$as_me: failed program was:" >&5
8522
sed 's/^/| /' conftest.$ac_ext >&5
8524
lt_cv_cc_needs_belf=no
8527
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8528
conftest$ac_exeext conftest.$ac_ext
8530
ac_cpp='$CPP $CPPFLAGS'
8531
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8532
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8533
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8536
{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
8537
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
8538
if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8539
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8540
CFLAGS="$SAVE_CFLAGS"
8546
need_locks="$enable_libtool_lock"
8550
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
8551
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
8552
if test "${ac_cv_header_stdc+set}" = set; then
8553
echo $ECHO_N "(cached) $ECHO_C" >&6
8555
cat >conftest.$ac_ext <<_ACEOF
8558
cat confdefs.h >>conftest.$ac_ext
8559
cat >>conftest.$ac_ext <<_ACEOF
8560
/* end confdefs.h. */
8574
rm -f conftest.$ac_objext
8575
if { (ac_try="$ac_compile"
8577
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8578
*) ac_try_echo=$ac_try;;
8580
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8581
(eval "$ac_compile") 2>conftest.er1
8583
grep -v '^ *+' conftest.er1 >conftest.err
8585
cat conftest.err >&5
8586
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8587
(exit $ac_status); } && {
8588
test -z "$ac_c_werror_flag" ||
8589
test ! -s conftest.err
8590
} && test -s conftest.$ac_objext; then
8591
ac_cv_header_stdc=yes
8593
echo "$as_me: failed program was:" >&5
8594
sed 's/^/| /' conftest.$ac_ext >&5
8596
ac_cv_header_stdc=no
8599
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8601
if test $ac_cv_header_stdc = yes; then
8602
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8603
cat >conftest.$ac_ext <<_ACEOF
8606
cat confdefs.h >>conftest.$ac_ext
8607
cat >>conftest.$ac_ext <<_ACEOF
8608
/* end confdefs.h. */
8612
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8613
$EGREP "memchr" >/dev/null 2>&1; then
8616
ac_cv_header_stdc=no
8622
if test $ac_cv_header_stdc = yes; then
8623
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8624
cat >conftest.$ac_ext <<_ACEOF
8627
cat confdefs.h >>conftest.$ac_ext
8628
cat >>conftest.$ac_ext <<_ACEOF
8629
/* end confdefs.h. */
8633
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8634
$EGREP "free" >/dev/null 2>&1; then
8637
ac_cv_header_stdc=no
8643
if test $ac_cv_header_stdc = yes; then
8644
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8645
if test "$cross_compiling" = yes; then
8648
cat >conftest.$ac_ext <<_ACEOF
8651
cat confdefs.h >>conftest.$ac_ext
8652
cat >>conftest.$ac_ext <<_ACEOF
8653
/* end confdefs.h. */
8656
#if ((' ' & 0x0FF) == 0x020)
8657
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8658
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8660
# define ISLOWER(c) \
8661
(('a' <= (c) && (c) <= 'i') \
8662
|| ('j' <= (c) && (c) <= 'r') \
8663
|| ('s' <= (c) && (c) <= 'z'))
8664
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8667
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8672
for (i = 0; i < 256; i++)
8673
if (XOR (islower (i), ISLOWER (i))
8674
|| toupper (i) != TOUPPER (i))
8679
rm -f conftest$ac_exeext
8680
if { (ac_try="$ac_link"
8682
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8683
*) ac_try_echo=$ac_try;;
8685
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8686
(eval "$ac_link") 2>&5
8688
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8689
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8690
{ (case "(($ac_try" in
8691
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8692
*) ac_try_echo=$ac_try;;
8694
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8695
(eval "$ac_try") 2>&5
8697
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8698
(exit $ac_status); }; }; then
8701
echo "$as_me: program exited with status $ac_status" >&5
8702
echo "$as_me: failed program was:" >&5
8703
sed 's/^/| /' conftest.$ac_ext >&5
8706
ac_cv_header_stdc=no
8708
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8714
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
8715
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
8716
if test $ac_cv_header_stdc = yes; then
8718
cat >>confdefs.h <<\_ACEOF
8719
#define STDC_HEADERS 1
8724
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
8734
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8735
inttypes.h stdint.h unistd.h
8737
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8738
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
8739
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8740
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8741
echo $ECHO_N "(cached) $ECHO_C" >&6
8743
cat >conftest.$ac_ext <<_ACEOF
8746
cat confdefs.h >>conftest.$ac_ext
8747
cat >>conftest.$ac_ext <<_ACEOF
8748
/* end confdefs.h. */
8749
$ac_includes_default
8751
#include <$ac_header>
8753
rm -f conftest.$ac_objext
8754
if { (ac_try="$ac_compile"
8756
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8757
*) ac_try_echo=$ac_try;;
8759
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8760
(eval "$ac_compile") 2>conftest.er1
8762
grep -v '^ *+' conftest.er1 >conftest.err
8764
cat conftest.err >&5
8765
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8766
(exit $ac_status); } && {
8767
test -z "$ac_c_werror_flag" ||
8768
test ! -s conftest.err
8769
} && test -s conftest.$ac_objext; then
8770
eval "$as_ac_Header=yes"
8772
echo "$as_me: failed program was:" >&5
8773
sed 's/^/| /' conftest.$ac_ext >&5
8775
eval "$as_ac_Header=no"
8778
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8780
ac_res=`eval echo '${'$as_ac_Header'}'`
8781
{ echo "$as_me:$LINENO: result: $ac_res" >&5
8782
echo "${ECHO_T}$ac_res" >&6; }
8783
if test `eval echo '${'$as_ac_Header'}'` = yes; then
8784
cat >>confdefs.h <<_ACEOF
8785
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8794
for ac_header in dlfcn.h
8796
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8797
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8798
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
8799
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8800
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8801
echo $ECHO_N "(cached) $ECHO_C" >&6
8803
ac_res=`eval echo '${'$as_ac_Header'}'`
8804
{ echo "$as_me:$LINENO: result: $ac_res" >&5
8805
echo "${ECHO_T}$ac_res" >&6; }
8807
# Is the header compilable?
8808
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
8809
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8810
cat >conftest.$ac_ext <<_ACEOF
8813
cat confdefs.h >>conftest.$ac_ext
8814
cat >>conftest.$ac_ext <<_ACEOF
8815
/* end confdefs.h. */
8816
$ac_includes_default
8817
#include <$ac_header>
8819
rm -f conftest.$ac_objext
8820
if { (ac_try="$ac_compile"
8822
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8823
*) ac_try_echo=$ac_try;;
8825
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8826
(eval "$ac_compile") 2>conftest.er1
8828
grep -v '^ *+' conftest.er1 >conftest.err
8830
cat conftest.err >&5
8831
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8832
(exit $ac_status); } && {
8833
test -z "$ac_c_werror_flag" ||
8834
test ! -s conftest.err
8835
} && test -s conftest.$ac_objext; then
8836
ac_header_compiler=yes
8838
echo "$as_me: failed program was:" >&5
8839
sed 's/^/| /' conftest.$ac_ext >&5
8841
ac_header_compiler=no
8844
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8845
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8846
echo "${ECHO_T}$ac_header_compiler" >&6; }
8848
# Is the header present?
8849
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
8850
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8851
cat >conftest.$ac_ext <<_ACEOF
8854
cat confdefs.h >>conftest.$ac_ext
8855
cat >>conftest.$ac_ext <<_ACEOF
8856
/* end confdefs.h. */
8857
#include <$ac_header>
8859
if { (ac_try="$ac_cpp conftest.$ac_ext"
8861
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8862
*) ac_try_echo=$ac_try;;
8864
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8865
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8867
grep -v '^ *+' conftest.er1 >conftest.err
8869
cat conftest.err >&5
8870
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8871
(exit $ac_status); } >/dev/null && {
8872
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8873
test ! -s conftest.err
8875
ac_header_preproc=yes
8877
echo "$as_me: failed program was:" >&5
8878
sed 's/^/| /' conftest.$ac_ext >&5
8880
ac_header_preproc=no
8883
rm -f conftest.err conftest.$ac_ext
8884
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8885
echo "${ECHO_T}$ac_header_preproc" >&6; }
8887
# So? What about this header?
8888
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8890
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8891
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8892
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8893
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8894
ac_header_preproc=yes
8897
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8898
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8899
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8900
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8901
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8902
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8903
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8904
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8905
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8906
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8907
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8908
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8912
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
8913
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8914
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8915
echo $ECHO_N "(cached) $ECHO_C" >&6
8917
eval "$as_ac_Header=\$ac_header_preproc"
8919
ac_res=`eval echo '${'$as_ac_Header'}'`
8920
{ echo "$as_me:$LINENO: result: $ac_res" >&5
8921
echo "${ECHO_T}$ac_res" >&6; }
8924
if test `eval echo '${'$as_ac_Header'}'` = yes; then
8925
cat >>confdefs.h <<_ACEOF
8926
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8934
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
8935
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8936
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
8937
if test -n "$ac_tool_prefix"; then
8938
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
8940
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8941
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8942
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8943
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8944
if test "${ac_cv_prog_F77+set}" = set; then
8945
echo $ECHO_N "(cached) $ECHO_C" >&6
8947
if test -n "$F77"; then
8948
ac_cv_prog_F77="$F77" # Let the user override the test.
8950
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8954
test -z "$as_dir" && as_dir=.
8955
for ac_exec_ext in '' $ac_executable_extensions; do
8956
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8957
ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
8958
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8968
if test -n "$F77"; then
8969
{ echo "$as_me:$LINENO: result: $F77" >&5
8970
echo "${ECHO_T}$F77" >&6; }
8972
{ echo "$as_me:$LINENO: result: no" >&5
8973
echo "${ECHO_T}no" >&6; }
8977
test -n "$F77" && break
8980
if test -z "$F77"; then
8982
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
8984
# Extract the first word of "$ac_prog", so it can be a program name with args.
8985
set dummy $ac_prog; ac_word=$2
8986
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8987
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8988
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
8989
echo $ECHO_N "(cached) $ECHO_C" >&6
8991
if test -n "$ac_ct_F77"; then
8992
ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
8994
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8998
test -z "$as_dir" && as_dir=.
8999
for ac_exec_ext in '' $ac_executable_extensions; do
9000
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9001
ac_cv_prog_ac_ct_F77="$ac_prog"
9002
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9011
ac_ct_F77=$ac_cv_prog_ac_ct_F77
9012
if test -n "$ac_ct_F77"; then
9013
{ echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
9014
echo "${ECHO_T}$ac_ct_F77" >&6; }
9016
{ echo "$as_me:$LINENO: result: no" >&5
9017
echo "${ECHO_T}no" >&6; }
9021
test -n "$ac_ct_F77" && break
9024
if test "x$ac_ct_F77" = x; then
9027
case $cross_compiling:$ac_tool_warned in
9029
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
9030
whose name does not start with the host triplet. If you think this
9031
configuration is useful to you, please write to autoconf@gnu.org." >&5
9032
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
9033
whose name does not start with the host triplet. If you think this
9034
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
9035
ac_tool_warned=yes ;;
9042
# Provide some information about the compiler.
9043
echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
9044
ac_compiler=`set X $ac_compile; echo $2`
9045
{ (ac_try="$ac_compiler --version >&5"
9047
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9048
*) ac_try_echo=$ac_try;;
9050
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9051
(eval "$ac_compiler --version >&5") 2>&5
9053
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9054
(exit $ac_status); }
9055
{ (ac_try="$ac_compiler -v >&5"
9057
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9058
*) ac_try_echo=$ac_try;;
9060
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9061
(eval "$ac_compiler -v >&5") 2>&5
9063
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9064
(exit $ac_status); }
9065
{ (ac_try="$ac_compiler -V >&5"
9067
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9068
*) ac_try_echo=$ac_try;;
9070
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9071
(eval "$ac_compiler -V >&5") 2>&5
9073
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9074
(exit $ac_status); }
9077
# If we don't use `.F' as extension, the preprocessor is not run on the
9078
# input file. (Note that this only needs to work for GNU compilers.)
9081
{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
9082
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
9083
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
9084
echo $ECHO_N "(cached) $ECHO_C" >&6
9086
cat >conftest.$ac_ext <<_ACEOF
9094
rm -f conftest.$ac_objext
9095
if { (ac_try="$ac_compile"
9097
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9098
*) ac_try_echo=$ac_try;;
9100
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9101
(eval "$ac_compile") 2>conftest.er1
9103
grep -v '^ *+' conftest.er1 >conftest.err
9105
cat conftest.err >&5
9106
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9107
(exit $ac_status); } && {
9108
test -z "$ac_f77_werror_flag" ||
9109
test ! -s conftest.err
9110
} && test -s conftest.$ac_objext; then
9113
echo "$as_me: failed program was:" >&5
9114
sed 's/^/| /' conftest.$ac_ext >&5
9119
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9120
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
9123
{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
9124
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
9126
ac_test_FFLAGS=${FFLAGS+set}
9127
ac_save_FFLAGS=$FFLAGS
9129
{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
9130
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
9131
if test "${ac_cv_prog_f77_g+set}" = set; then
9132
echo $ECHO_N "(cached) $ECHO_C" >&6
9135
cat >conftest.$ac_ext <<_ACEOF
9140
rm -f conftest.$ac_objext
9141
if { (ac_try="$ac_compile"
9143
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9144
*) ac_try_echo=$ac_try;;
9146
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9147
(eval "$ac_compile") 2>conftest.er1
9149
grep -v '^ *+' conftest.er1 >conftest.err
9151
cat conftest.err >&5
9152
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9153
(exit $ac_status); } && {
9154
test -z "$ac_f77_werror_flag" ||
9155
test ! -s conftest.err
9156
} && test -s conftest.$ac_objext; then
9157
ac_cv_prog_f77_g=yes
9159
echo "$as_me: failed program was:" >&5
9160
sed 's/^/| /' conftest.$ac_ext >&5
9165
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9168
{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
9169
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
9170
if test "$ac_test_FFLAGS" = set; then
9171
FFLAGS=$ac_save_FFLAGS
9172
elif test $ac_cv_prog_f77_g = yes; then
9173
if test "x$ac_cv_f77_compiler_gnu" = xyes; then
9179
if test "x$ac_cv_f77_compiler_gnu" = xyes; then
9186
G77=`test $ac_compiler_gnu = yes && echo yes`
9188
ac_cpp='$CPP $CPPFLAGS'
9189
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9190
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9191
ac_compiler_gnu=$ac_cv_c_compiler_gnu
9195
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
9197
# find the maximum length of command line arguments
9198
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
9199
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
9200
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
9201
echo $ECHO_N "(cached) $ECHO_C" >&6
9208
# On DJGPP, this test can blow up pretty badly due to problems in libc
9209
# (any single argument exceeding 2000 bytes causes a buffer overrun
9210
# during glob expansion). Even if it were fixed, the result of this
9211
# check would be larger than it should be.
9212
lt_cv_sys_max_cmd_len=12288; # 12K is about right
9216
# Under GNU Hurd, this test is not required because there is
9217
# no limit to the length of command line arguments.
9218
# Libtool will interpret -1 as no limit whatsoever
9219
lt_cv_sys_max_cmd_len=-1;
9223
# On Win9x/ME, this test blows up -- it succeeds, but takes
9224
# about 5 minutes as the teststring grows exponentially.
9225
# Worse, since 9x/ME are not pre-emptively multitasking,
9226
# you end up with a "frozen" computer, even though with patience
9227
# the test eventually succeeds (with a max line length of 256k).
9228
# Instead, let's just punt: use the minimum linelength reported by
9229
# all of the supported platforms: 8192 (on NT/2K/XP).
9230
lt_cv_sys_max_cmd_len=8192;
9234
# If test is not a shell built-in, we'll probably end up computing a
9235
# maximum length that is only half of the actual maximum length, but
9237
while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \
9238
= "XX$testring") >/dev/null 2>&1 &&
9239
new_result=`expr "X$testring" : ".*" 2>&1` &&
9240
lt_cv_sys_max_cmd_len=$new_result &&
9241
test $i != 17 # 1/2 MB should be enough
9244
testring=$testring$testring
9247
# Add a significant safety factor because C++ compilers can tack on massive
9248
# amounts of additional arguments before passing them to the linker.
9249
# It appears as though 1/2 is a usable value.
9250
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
9256
if test -n $lt_cv_sys_max_cmd_len ; then
9257
{ echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
9258
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
9260
{ echo "$as_me:$LINENO: result: none" >&5
9261
echo "${ECHO_T}none" >&6; }
9267
# Check for command to grab the raw symbol name followed by C symbol from nm.
9268
{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
9269
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
9270
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
9271
echo $ECHO_N "(cached) $ECHO_C" >&6
9274
# These are sane defaults that work on at least a few old systems.
9275
# [They come from Ultrix. What could be older than Ultrix?!! ;)]
9277
# Character class describing NM global symbol codes.
9278
symcode='[BCDEGRST]'
9280
# Regexp to match symbols that can be accessed directly from C.
9281
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
9283
# Transform the above into a raw symbol and a C symbol.
9284
symxfrm='\1 \2\3 \3'
9286
# Transform an extracted symbol line into a proper C declaration
9287
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
9289
# Transform an extracted symbol line into symbol name and symbol address
9290
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'"
9292
# Define system-specific variables.
9297
cygwin* | mingw* | pw32*)
9298
symcode='[ABCDGISTW]'
9300
hpux*) # Its linker distinguishes data from code symbols
9301
if test "$host_cpu" = ia64; then
9302
symcode='[ABCDEGRST]'
9304
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
9305
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'"
9308
symcode='[BCDEGRST]'
9311
symcode='[BCDEGQRST]'
9321
# Handle CRLF in mingw tool chain
9325
opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
9329
# If we're using GNU nm, then use its standard symbol codes.
9330
case `$NM -V 2>&1` in
9331
*GNU* | *'with BFD'*)
9332
symcode='[ABCDGISTW]' ;;
9335
# Try without a prefix undercore, then with it.
9336
for ac_symprfx in "" "_"; do
9338
# Write the raw and C identifiers.
9339
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
9341
# Check to see that the pipe works correctly.
9345
cat > conftest.$ac_ext <<EOF
9350
void nm_test_func(){}
9354
int main(){nm_test_var='a';nm_test_func();return(0);}
9357
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9358
(eval $ac_compile) 2>&5
9360
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9361
(exit $ac_status); }; then
9362
# Now try to grab the symbols.
9364
if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
9365
(eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
9367
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9368
(exit $ac_status); } && test -s "$nlist"; then
9369
# Try sorting and uniquifying the output.
9370
if sort "$nlist" | uniq > "$nlist"T; then
9371
mv -f "$nlist"T "$nlist"
9376
# Make sure that we snagged all the symbols we need.
9377
if grep ' nm_test_var$' "$nlist" >/dev/null; then
9378
if grep ' nm_test_func$' "$nlist" >/dev/null; then
9379
cat <<EOF > conftest.$ac_ext
9385
# Now generate the symbol file.
9386
eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
9388
cat <<EOF >> conftest.$ac_ext
9389
#if defined (__STDC__) && __STDC__
9390
# define lt_ptr_t void *
9392
# define lt_ptr_t char *
9396
/* The mapping between symbol names and symbols. */
9401
lt_preloaded_symbols[] =
9404
$SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
9405
cat <<\EOF >> conftest.$ac_ext
9413
# Now try linking the two files.
9414
mv conftest.$ac_objext conftstm.$ac_objext
9415
lt_save_LIBS="$LIBS"
9416
lt_save_CFLAGS="$CFLAGS"
9417
LIBS="conftstm.$ac_objext"
9418
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
9419
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9420
(eval $ac_link) 2>&5
9422
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9423
(exit $ac_status); } && test -s conftest${ac_exeext}; then
9426
LIBS="$lt_save_LIBS"
9427
CFLAGS="$lt_save_CFLAGS"
9429
echo "cannot find nm_test_func in $nlist" >&5
9432
echo "cannot find nm_test_var in $nlist" >&5
9435
echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
9438
echo "$progname: failed program was:" >&5
9439
cat conftest.$ac_ext >&5
9441
rm -f conftest* conftst*
9443
# Do not use the global_symbol_pipe unless it works.
9444
if test "$pipe_works" = yes; then
9447
lt_cv_sys_global_symbol_pipe=
9453
if test -z "$lt_cv_sys_global_symbol_pipe"; then
9454
lt_cv_sys_global_symbol_to_cdecl=
9456
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
9457
{ echo "$as_me:$LINENO: result: failed" >&5
9458
echo "${ECHO_T}failed" >&6; }
9460
{ echo "$as_me:$LINENO: result: ok" >&5
9461
echo "${ECHO_T}ok" >&6; }
9464
{ echo "$as_me:$LINENO: checking for objdir" >&5
9465
echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
9466
if test "${lt_cv_objdir+set}" = set; then
9467
echo $ECHO_N "(cached) $ECHO_C" >&6
9469
rm -f .libs 2>/dev/null
9470
mkdir .libs 2>/dev/null
9471
if test -d .libs; then
9474
# MS-DOS does not allow filenames that begin with a dot.
9477
rmdir .libs 2>/dev/null
9479
{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
9480
echo "${ECHO_T}$lt_cv_objdir" >&6; }
9481
objdir=$lt_cv_objdir
9489
# AIX sometimes has problems with the GCC collect2 program. For some
9490
# reason, if we set the COLLECT_NAMES environment variable, the problems
9491
# vanish in a puff of smoke.
9492
if test "X${COLLECT_NAMES+set}" != Xset; then
9494
export COLLECT_NAMES
9499
# Sed substitution that helps us do robust quoting. It backslashifies
9500
# metacharacters that are still active within double-quoted strings.
9501
Xsed='sed -e s/^X//'
9502
sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
9504
# Same as above, but do not quote variable references.
9505
double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
9507
# Sed substitution to delay expansion of an escaped shell variable in a
9508
# double_quote_subst'ed string.
9509
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
9511
# Sed substitution to avoid accidental globbing in evaled expressions
9512
no_glob_subst='s/\*/\\\*/g'
9518
default_ofile=libtool
9519
can_build_shared=yes
9521
# All known linkers require a `.a' archive for static linking (except M$VC,
9522
# which needs '.lib').
9524
ltmain="$ac_aux_dir/ltmain.sh"
9525
ofile="$default_ofile"
9526
with_gnu_ld="$lt_cv_prog_gnu_ld"
9528
if test -n "$ac_tool_prefix"; then
9529
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
9530
set dummy ${ac_tool_prefix}ar; ac_word=$2
9531
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9532
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9533
if test "${ac_cv_prog_AR+set}" = set; then
9534
echo $ECHO_N "(cached) $ECHO_C" >&6
9536
if test -n "$AR"; then
9537
ac_cv_prog_AR="$AR" # Let the user override the test.
9539
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9543
test -z "$as_dir" && as_dir=.
9544
for ac_exec_ext in '' $ac_executable_extensions; do
9545
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9546
ac_cv_prog_AR="${ac_tool_prefix}ar"
9547
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9557
if test -n "$AR"; then
9558
{ echo "$as_me:$LINENO: result: $AR" >&5
9559
echo "${ECHO_T}$AR" >&6; }
9561
{ echo "$as_me:$LINENO: result: no" >&5
9562
echo "${ECHO_T}no" >&6; }
9567
if test -z "$ac_cv_prog_AR"; then
9569
# Extract the first word of "ar", so it can be a program name with args.
9570
set dummy ar; ac_word=$2
9571
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9572
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9573
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
9574
echo $ECHO_N "(cached) $ECHO_C" >&6
9576
if test -n "$ac_ct_AR"; then
9577
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
9579
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9583
test -z "$as_dir" && as_dir=.
9584
for ac_exec_ext in '' $ac_executable_extensions; do
9585
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9586
ac_cv_prog_ac_ct_AR="ar"
9587
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9596
ac_ct_AR=$ac_cv_prog_ac_ct_AR
9597
if test -n "$ac_ct_AR"; then
9598
{ echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
9599
echo "${ECHO_T}$ac_ct_AR" >&6; }
9601
{ echo "$as_me:$LINENO: result: no" >&5
9602
echo "${ECHO_T}no" >&6; }
9605
if test "x$ac_ct_AR" = x; then
9608
case $cross_compiling:$ac_tool_warned in
9610
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
9611
whose name does not start with the host triplet. If you think this
9612
configuration is useful to you, please write to autoconf@gnu.org." >&5
9613
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
9614
whose name does not start with the host triplet. If you think this
9615
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
9616
ac_tool_warned=yes ;;
9624
if test -n "$ac_tool_prefix"; then
9625
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
9626
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
9627
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9628
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9629
if test "${ac_cv_prog_RANLIB+set}" = set; then
9630
echo $ECHO_N "(cached) $ECHO_C" >&6
9632
if test -n "$RANLIB"; then
9633
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9635
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9639
test -z "$as_dir" && as_dir=.
9640
for ac_exec_ext in '' $ac_executable_extensions; do
9641
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9642
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
9643
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9652
RANLIB=$ac_cv_prog_RANLIB
9653
if test -n "$RANLIB"; then
9654
{ echo "$as_me:$LINENO: result: $RANLIB" >&5
9655
echo "${ECHO_T}$RANLIB" >&6; }
9657
{ echo "$as_me:$LINENO: result: no" >&5
9658
echo "${ECHO_T}no" >&6; }
9663
if test -z "$ac_cv_prog_RANLIB"; then
9664
ac_ct_RANLIB=$RANLIB
9665
# Extract the first word of "ranlib", so it can be a program name with args.
9666
set dummy ranlib; ac_word=$2
9667
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9668
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9669
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
9670
echo $ECHO_N "(cached) $ECHO_C" >&6
9672
if test -n "$ac_ct_RANLIB"; then
9673
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
9675
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9679
test -z "$as_dir" && as_dir=.
9680
for ac_exec_ext in '' $ac_executable_extensions; do
9681
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9682
ac_cv_prog_ac_ct_RANLIB="ranlib"
9683
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9692
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
9693
if test -n "$ac_ct_RANLIB"; then
9694
{ echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
9695
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
9697
{ echo "$as_me:$LINENO: result: no" >&5
9698
echo "${ECHO_T}no" >&6; }
9701
if test "x$ac_ct_RANLIB" = x; then
9704
case $cross_compiling:$ac_tool_warned in
9706
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
9707
whose name does not start with the host triplet. If you think this
9708
configuration is useful to you, please write to autoconf@gnu.org." >&5
9709
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
9710
whose name does not start with the host triplet. If you think this
9711
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
9712
ac_tool_warned=yes ;;
9714
RANLIB=$ac_ct_RANLIB
9717
RANLIB="$ac_cv_prog_RANLIB"
9720
if test -n "$ac_tool_prefix"; then
9721
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
9722
set dummy ${ac_tool_prefix}strip; ac_word=$2
9723
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9724
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9725
if test "${ac_cv_prog_STRIP+set}" = set; then
9726
echo $ECHO_N "(cached) $ECHO_C" >&6
9728
if test -n "$STRIP"; then
9729
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9731
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9735
test -z "$as_dir" && as_dir=.
9736
for ac_exec_ext in '' $ac_executable_extensions; do
9737
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9738
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
9739
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9748
STRIP=$ac_cv_prog_STRIP
9749
if test -n "$STRIP"; then
9750
{ echo "$as_me:$LINENO: result: $STRIP" >&5
9751
echo "${ECHO_T}$STRIP" >&6; }
9753
{ echo "$as_me:$LINENO: result: no" >&5
9754
echo "${ECHO_T}no" >&6; }
9759
if test -z "$ac_cv_prog_STRIP"; then
9761
# Extract the first word of "strip", so it can be a program name with args.
9762
set dummy strip; ac_word=$2
9763
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9764
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9765
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
9766
echo $ECHO_N "(cached) $ECHO_C" >&6
9768
if test -n "$ac_ct_STRIP"; then
9769
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
9771
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9775
test -z "$as_dir" && as_dir=.
9776
for ac_exec_ext in '' $ac_executable_extensions; do
9777
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9778
ac_cv_prog_ac_ct_STRIP="strip"
9779
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9788
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
9789
if test -n "$ac_ct_STRIP"; then
9790
{ echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
9791
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
9793
{ echo "$as_me:$LINENO: result: no" >&5
9794
echo "${ECHO_T}no" >&6; }
9797
if test "x$ac_ct_STRIP" = x; then
9800
case $cross_compiling:$ac_tool_warned in
9802
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
9803
whose name does not start with the host triplet. If you think this
9804
configuration is useful to you, please write to autoconf@gnu.org." >&5
9805
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
9806
whose name does not start with the host triplet. If you think this
9807
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
9808
ac_tool_warned=yes ;;
9813
STRIP="$ac_cv_prog_STRIP"
9818
old_CFLAGS="$CFLAGS"
9820
# Set sane defaults for various variables
9821
test -z "$AR" && AR=ar
9822
test -z "$AR_FLAGS" && AR_FLAGS=cru
9823
test -z "$AS" && AS=as
9824
test -z "$CC" && CC=cc
9825
test -z "$LTCC" && LTCC=$CC
9826
test -z "$DLLTOOL" && DLLTOOL=dlltool
9827
test -z "$LD" && LD=ld
9828
test -z "$LN_S" && LN_S="ln -s"
9829
test -z "$MAGIC_CMD" && MAGIC_CMD=file
9830
test -z "$NM" && NM=nm
9831
test -z "$SED" && SED=sed
9832
test -z "$OBJDUMP" && OBJDUMP=objdump
9833
test -z "$RANLIB" && RANLIB=:
9834
test -z "$STRIP" && STRIP=:
9835
test -z "$ac_objext" && ac_objext=o
9837
# Determine commands to create old-style static archives.
9838
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
9839
old_postinstall_cmds='chmod 644 $oldlib'
9840
old_postuninstall_cmds=
9842
if test -n "$RANLIB"; then
9845
old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
9848
old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
9851
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
9854
# Only perform the check for file, if the check method requires it
9855
case $deplibs_check_method in
9857
if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9858
{ echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
9859
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
9860
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
9861
echo $ECHO_N "(cached) $ECHO_C" >&6
9865
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9868
lt_save_MAGIC_CMD="$MAGIC_CMD"
9869
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9870
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9871
for ac_dir in $ac_dummy; do
9873
test -z "$ac_dir" && ac_dir=.
9874
if test -f $ac_dir/${ac_tool_prefix}file; then
9875
lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9876
if test -n "$file_magic_test_file"; then
9877
case $deplibs_check_method in
9879
file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
9880
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9881
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9882
$EGREP "$file_magic_regex" > /dev/null; then
9887
*** Warning: the command libtool uses to detect shared libraries,
9888
*** $file_magic_cmd, produces output that libtool cannot recognize.
9889
*** The result is that libtool may fail to recognize shared libraries
9890
*** as such. This will affect the creation of libtool libraries that
9891
*** depend on shared libraries, but programs linked with such libtool
9892
*** libraries will work regardless of this problem. Nevertheless, you
9893
*** may want to report the problem to your system manager and/or to
9894
*** bug-libtool@gnu.org
9904
MAGIC_CMD="$lt_save_MAGIC_CMD"
9909
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9910
if test -n "$MAGIC_CMD"; then
9911
{ echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
9912
echo "${ECHO_T}$MAGIC_CMD" >&6; }
9914
{ echo "$as_me:$LINENO: result: no" >&5
9915
echo "${ECHO_T}no" >&6; }
9918
if test -z "$lt_cv_path_MAGIC_CMD"; then
9919
if test -n "$ac_tool_prefix"; then
9920
{ echo "$as_me:$LINENO: checking for file" >&5
9921
echo $ECHO_N "checking for file... $ECHO_C" >&6; }
9922
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
9923
echo $ECHO_N "(cached) $ECHO_C" >&6
9927
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9930
lt_save_MAGIC_CMD="$MAGIC_CMD"
9931
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9932
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9933
for ac_dir in $ac_dummy; do
9935
test -z "$ac_dir" && ac_dir=.
9936
if test -f $ac_dir/file; then
9937
lt_cv_path_MAGIC_CMD="$ac_dir/file"
9938
if test -n "$file_magic_test_file"; then
9939
case $deplibs_check_method in
9941
file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
9942
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9943
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9944
$EGREP "$file_magic_regex" > /dev/null; then
9949
*** Warning: the command libtool uses to detect shared libraries,
9950
*** $file_magic_cmd, produces output that libtool cannot recognize.
9951
*** The result is that libtool may fail to recognize shared libraries
9952
*** as such. This will affect the creation of libtool libraries that
9953
*** depend on shared libraries, but programs linked with such libtool
9954
*** libraries will work regardless of this problem. Nevertheless, you
9955
*** may want to report the problem to your system manager and/or to
9956
*** bug-libtool@gnu.org
9966
MAGIC_CMD="$lt_save_MAGIC_CMD"
9971
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9972
if test -n "$MAGIC_CMD"; then
9973
{ echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
9974
echo "${ECHO_T}$MAGIC_CMD" >&6; }
9976
{ echo "$as_me:$LINENO: result: no" >&5
9977
echo "${ECHO_T}no" >&6; }
9992
# Check whether --enable-libtool-lock was given.
9993
if test "${enable_libtool_lock+set}" = set; then
9994
enableval=$enable_libtool_lock;
9997
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
10000
# Check whether --with-pic was given.
10001
if test "${with_pic+set}" = set; then
10002
withval=$with_pic; pic_mode="$withval"
10007
test -z "$pic_mode" && pic_mode=default
10009
# Use C for the default configuration in the libtool script
10013
ac_cpp='$CPP $CPPFLAGS'
10014
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10015
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10016
ac_compiler_gnu=$ac_cv_c_compiler_gnu
10019
# Source file extension for C test sources.
10022
# Object file extension for compiled C test sources.
10026
# Code to be used in simple compile tests
10027
lt_simple_compile_test_code="int some_variable = 0;\n"
10029
# Code to be used in simple link tests
10030
lt_simple_link_test_code='int main(){return(0);}\n'
10033
# If no C compiler was specified, use CC.
10036
# Allow CC to be a program name with arguments.
10041
# Check for any special shared library compilation flags.
10044
if test "$GCC" = no; then
10047
lt_prog_cc_shlib='-belf'
10051
if test -n "$lt_prog_cc_shlib"; then
10052
{ echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
10053
echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
10054
if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then :
10056
{ echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
10057
echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
10058
lt_cv_prog_cc_can_build_shared=no
10064
# Check to make sure the static flag actually works.
10066
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
10067
echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6; }
10068
if test "${lt_prog_compiler_static_works+set}" = set; then
10069
echo $ECHO_N "(cached) $ECHO_C" >&6
10071
lt_prog_compiler_static_works=no
10072
save_LDFLAGS="$LDFLAGS"
10073
LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
10074
printf "$lt_simple_link_test_code" > conftest.$ac_ext
10075
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10076
# The compiler can only warn and ignore the option if not recognized
10077
# So say no if there are warnings
10078
if test -s conftest.err; then
10079
# Append any errors to the config.log.
10080
cat conftest.err 1>&5
10082
lt_prog_compiler_static_works=yes
10086
LDFLAGS="$save_LDFLAGS"
10089
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
10090
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
10092
if test x"$lt_prog_compiler_static_works" = xyes; then
10095
lt_prog_compiler_static=
10101
## There is no encapsulation within the following macros, do not change
10102
## the running order or otherwise move them around unless you know exactly
10103
## what you are doing...
10105
lt_prog_compiler_no_builtin_flag=
10107
if test "$GCC" = yes; then
10108
lt_prog_compiler_no_builtin_flag=' -fno-builtin'
10111
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
10112
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
10113
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
10114
echo $ECHO_N "(cached) $ECHO_C" >&6
10116
lt_cv_prog_compiler_rtti_exceptions=no
10117
ac_outfile=conftest.$ac_objext
10118
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10119
lt_compiler_flag="-fno-rtti -fno-exceptions"
10120
# Insert the option either (1) after the last *FLAGS variable, or
10121
# (2) before a word containing "conftest.", or (3) at the end.
10122
# Note that $ac_compile itself does not contain backslashes and begins
10123
# with a dollar sign (not a hyphen), so the echo should work correctly.
10124
# The option is referenced via a variable to avoid confusing sed.
10125
lt_compile=`echo "$ac_compile" | $SED \
10126
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10127
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10128
-e 's:$: $lt_compiler_flag:'`
10129
(eval echo "\"\$as_me:10129: $lt_compile\"" >&5)
10130
(eval "$lt_compile" 2>conftest.err)
10132
cat conftest.err >&5
10133
echo "$as_me:10133: \$? = $ac_status" >&5
10134
if (exit $ac_status) && test -s "$ac_outfile"; then
10135
# The compiler can only warn and ignore the option if not recognized
10136
# So say no if there are warnings
10137
if test ! -s conftest.err; then
10138
lt_cv_prog_compiler_rtti_exceptions=yes
10144
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
10145
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
10147
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
10148
lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
10155
lt_prog_compiler_wl=
10156
lt_prog_compiler_pic=
10157
lt_prog_compiler_static=
10159
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
10160
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
10162
if test "$GCC" = yes; then
10163
lt_prog_compiler_wl='-Wl,'
10164
lt_prog_compiler_static='-static'
10168
# All AIX code is PIC.
10169
if test "$host_cpu" = ia64; then
10170
# AIX 5 now supports IA64 processor
10171
lt_prog_compiler_static='-Bstatic'
10176
# FIXME: we need at least 68020 code to build shared libraries, but
10177
# adding the `-m68020' flag to GCC prevents building anything better,
10179
lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
10182
beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10183
# PIC is the default for these OSes.
10186
mingw* | pw32* | os2*)
10187
# This hack is so that the source file can tell whether it is being
10188
# built for inclusion in a dll (and should export symbols for example).
10189
lt_prog_compiler_pic='-DDLL_EXPORT'
10192
darwin* | rhapsody*)
10193
# PIC is the default on this platform
10194
# Common symbols not allowed in MH_DYLIB files
10195
lt_prog_compiler_pic='-fno-common'
10199
# Just because we use GCC doesn't mean we suddenly get shared libraries
10200
# on systems that don't support them.
10201
lt_prog_compiler_can_build_shared=no
10206
if test -d /usr/nec; then
10207
lt_prog_compiler_pic=-Kconform_pic
10212
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10213
# not for PA HP-UX.
10214
case "$host_cpu" in
10219
lt_prog_compiler_pic='-fPIC'
10225
lt_prog_compiler_pic='-fPIC'
10229
# PORTME Check for flag to pass linker flags through the system compiler.
10232
lt_prog_compiler_wl='-Wl,'
10233
if test "$host_cpu" = ia64; then
10234
# AIX 5 now supports IA64 processor
10235
lt_prog_compiler_static='-Bstatic'
10237
lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
10241
mingw* | pw32* | os2*)
10242
# This hack is so that the source file can tell whether it is being
10243
# built for inclusion in a dll (and should export symbols for example).
10244
lt_prog_compiler_pic='-DDLL_EXPORT'
10247
hpux9* | hpux10* | hpux11*)
10248
lt_prog_compiler_wl='-Wl,'
10249
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10250
# not for PA HP-UX.
10251
case "$host_cpu" in
10256
lt_prog_compiler_pic='+Z'
10259
# Is there a better lt_prog_compiler_static that works with the bundled CC?
10260
lt_prog_compiler_static='${wl}-a ${wl}archive'
10263
irix5* | irix6* | nonstopux*)
10264
lt_prog_compiler_wl='-Wl,'
10265
# PIC (with -KPIC) is the default.
10266
lt_prog_compiler_static='-non_shared'
10270
lt_prog_compiler_pic='-KPIC'
10271
lt_prog_compiler_static='-Bstatic'
10277
lt_prog_compiler_wl='-Wl,'
10278
lt_prog_compiler_pic='-KPIC'
10279
lt_prog_compiler_static='-static'
10282
lt_prog_compiler_wl='-Wl,'
10283
# All Alpha code is PIC.
10284
lt_prog_compiler_static='-non_shared'
10289
osf3* | osf4* | osf5*)
10290
lt_prog_compiler_wl='-Wl,'
10291
# All OSF/1 code is PIC.
10292
lt_prog_compiler_static='-non_shared'
10296
lt_prog_compiler_pic='-Kpic'
10297
lt_prog_compiler_static='-dn'
10301
lt_prog_compiler_wl='-Wl,'
10302
lt_prog_compiler_pic='-KPIC'
10303
lt_prog_compiler_static='-Bstatic'
10307
lt_prog_compiler_wl='-Qoption ld '
10308
lt_prog_compiler_pic='-PIC'
10309
lt_prog_compiler_static='-Bstatic'
10312
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10313
lt_prog_compiler_wl='-Wl,'
10314
lt_prog_compiler_pic='-KPIC'
10315
lt_prog_compiler_static='-Bstatic'
10319
if test -d /usr/nec ;then
10320
lt_prog_compiler_pic='-Kconform_pic'
10321
lt_prog_compiler_static='-Bstatic'
10326
lt_prog_compiler_pic='-pic'
10327
lt_prog_compiler_static='-Bstatic'
10331
lt_prog_compiler_can_build_shared=no
10336
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
10337
echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
10340
# Check to make sure the PIC flag actually works.
10342
if test -n "$lt_prog_compiler_pic"; then
10344
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10345
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
10346
if test "${lt_prog_compiler_pic_works+set}" = set; then
10347
echo $ECHO_N "(cached) $ECHO_C" >&6
10349
lt_prog_compiler_pic_works=no
10350
ac_outfile=conftest.$ac_objext
10351
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10352
lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
10353
# Insert the option either (1) after the last *FLAGS variable, or
10354
# (2) before a word containing "conftest.", or (3) at the end.
10355
# Note that $ac_compile itself does not contain backslashes and begins
10356
# with a dollar sign (not a hyphen), so the echo should work correctly.
10357
# The option is referenced via a variable to avoid confusing sed.
10358
lt_compile=`echo "$ac_compile" | $SED \
10359
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10360
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10361
-e 's:$: $lt_compiler_flag:'`
10362
(eval echo "\"\$as_me:10362: $lt_compile\"" >&5)
10363
(eval "$lt_compile" 2>conftest.err)
10365
cat conftest.err >&5
10366
echo "$as_me:10366: \$? = $ac_status" >&5
10367
if (exit $ac_status) && test -s "$ac_outfile"; then
10368
# The compiler can only warn and ignore the option if not recognized
10369
# So say no if there are warnings
10370
if test ! -s conftest.err; then
10371
lt_prog_compiler_pic_works=yes
10377
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
10378
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
10380
if test x"$lt_prog_compiler_pic_works" = xyes; then
10381
case $lt_prog_compiler_pic in
10383
*) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10386
lt_prog_compiler_pic=
10387
lt_prog_compiler_can_build_shared=no
10392
# For platforms which do not support PIC, -DPIC is meaningless:
10394
lt_prog_compiler_pic=
10397
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10401
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
10402
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
10403
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
10404
echo $ECHO_N "(cached) $ECHO_C" >&6
10406
lt_cv_prog_compiler_c_o=no
10407
$rm -r conftest 2>/dev/null
10411
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10413
# According to Tom Tromey, Ian Lance Taylor reported there are C compilers
10414
# that will create temporary files in the current directory regardless of
10415
# the output directory. Thus, making CWD read-only will cause this test
10416
# to fail, enabling locking or at least warning the user not to do parallel
10420
lt_compiler_flag="-o out/conftest2.$ac_objext"
10421
# Insert the option either (1) after the last *FLAGS variable, or
10422
# (2) before a word containing "conftest.", or (3) at the end.
10423
# Note that $ac_compile itself does not contain backslashes and begins
10424
# with a dollar sign (not a hyphen), so the echo should work correctly.
10425
lt_compile=`echo "$ac_compile" | $SED \
10426
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10427
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10428
-e 's:$: $lt_compiler_flag:'`
10429
(eval echo "\"\$as_me:10429: $lt_compile\"" >&5)
10430
(eval "$lt_compile" 2>out/conftest.err)
10432
cat out/conftest.err >&5
10433
echo "$as_me:10433: \$? = $ac_status" >&5
10434
if (exit $ac_status) && test -s out/conftest2.$ac_objext
10436
# The compiler can only warn and ignore the option if not recognized
10437
# So say no if there are warnings
10438
if test ! -s out/conftest.err; then
10439
lt_cv_prog_compiler_c_o=yes
10443
$rm conftest* out/*
10450
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
10451
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
10454
hard_links="nottested"
10455
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
10456
# do not overwrite the value of need_locks provided by the user
10457
{ echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
10458
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
10461
ln conftest.a conftest.b 2>/dev/null && hard_links=no
10463
ln conftest.a conftest.b 2>&5 || hard_links=no
10464
ln conftest.a conftest.b 2>/dev/null && hard_links=no
10465
{ echo "$as_me:$LINENO: result: $hard_links" >&5
10466
echo "${ECHO_T}$hard_links" >&6; }
10467
if test "$hard_links" = no; then
10468
{ echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10469
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10476
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10477
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
10480
allow_undefined_flag=
10481
enable_shared_with_static_runtimes=no
10483
archive_expsym_cmds=
10484
old_archive_From_new_cmds=
10485
old_archive_from_expsyms_cmds=
10486
export_dynamic_flag_spec=
10487
whole_archive_flag_spec=
10488
thread_safe_flag_spec=
10489
hardcode_libdir_flag_spec=
10490
hardcode_libdir_flag_spec_ld=
10491
hardcode_libdir_separator=
10493
hardcode_minus_L=no
10494
hardcode_shlibpath_var=unsupported
10495
link_all_deplibs=unknown
10496
hardcode_automatic=no
10498
module_expsym_cmds=
10499
always_export_symbols=no
10500
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10501
# include_expsyms should be a list of space-separated symbols to be *always*
10502
# included in the symbol list
10504
# exclude_expsyms can be an extended regexp of symbols to exclude
10505
# it will be wrapped by ` (' and `)$', so one must not match beginning or
10506
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10507
# as well as any symbol that contains `d'.
10508
exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
10509
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10510
# platforms (ab)use it in PIC code, but their linkers get confused if
10511
# the symbol is explicitly referenced. Since portable code cannot
10512
# rely on this symbol name, it's probably fine to never include it in
10513
# preloaded symbol tables.
10514
extract_expsyms_cmds=
10517
cygwin* | mingw* | pw32*)
10518
# FIXME: the MSVC++ port hasn't been tested in a loooong time
10519
# When not using gcc, we currently assume that we are using
10520
# Microsoft Visual C++.
10521
if test "$GCC" != yes; then
10531
if test "$with_gnu_ld" = yes; then
10532
# If archive_cmds runs LD, not CC, wlarc should be empty
10535
# See if GNU ld supports shared libraries.
10537
aix3* | aix4* | aix5*)
10538
# On AIX/PPC, the GNU linker is very broken
10539
if test "$host_cpu" != ia64; then
10543
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
10544
*** to be unable to reliably create shared libraries on AIX.
10545
*** Therefore, libtool is disabling shared libraries support. If you
10546
*** really care for shared libraries, you may want to modify your PATH
10547
*** so that a non-GNU linker is found, and then restart.
10554
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)'
10555
hardcode_libdir_flag_spec='-L$libdir'
10556
hardcode_minus_L=yes
10558
# Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
10559
# that the semantics of dynamic libraries on AmigaOS, at least up
10560
# to version 4, is to share data among multiple programs linked
10561
# with the same dynamic library. Since this doesn't match the
10562
# behavior of shared libraries on other platforms, we can't use
10568
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
10569
allow_undefined_flag=unsupported
10570
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10571
# support --undefined. This deserves some investigation. FIXME
10572
archive_cmds='$CC -nostart $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
10578
cygwin* | mingw* | pw32*)
10579
# _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10580
# as there is no search path for DLLs.
10581
hardcode_libdir_flag_spec='-L$libdir'
10582
allow_undefined_flag=no
10583
always_export_symbols=no
10584
enable_shared_with_static_runtimes=yes
10585
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
10587
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
10588
archive_cmds='$CC -shared $compiler_flags $libobjs $deplibs -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
10589
# If the export-symbols file already is a .def file (1st line
10590
# is EXPORTS), use it as is; otherwise, prepend...
10591
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10592
cp $export_symbols $output_objdir/$soname.def;
10594
echo EXPORTS > $output_objdir/$soname.def;
10595
cat $export_symbols >> $output_objdir/$soname.def;
10597
$CC -shared $output_objdir/$soname.def $compiler_flags $libobjs $deplibs -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
10604
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10605
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10608
archive_cmds='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
10609
archive_expsym_cmds='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10614
if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
10618
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
10619
*** create shared libraries on Solaris systems. Therefore, libtool
10620
*** is disabling shared libraries support. We urge you to upgrade GNU
10621
*** binutils to release 2.9.1 or newer. Another option is to modify
10622
*** your PATH or compiler configuration so that the native linker is
10623
*** used, and then restart.
10626
elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
10627
archive_cmds='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
10628
archive_expsym_cmds='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10635
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10637
hardcode_direct=yes
10638
hardcode_shlibpath_var=no
10642
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
10643
archive_cmds='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
10644
archive_expsym_cmds='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10651
if test "$ld_shlibs" = yes; then
10652
runpath_var=LD_RUN_PATH
10653
hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
10654
export_dynamic_flag_spec='${wl}--export-dynamic'
10655
# ancient GNU ld didn't support --whole-archive et. al.
10656
if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
10657
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10659
whole_archive_flag_spec=
10663
# PORTME fill in a description of your system's linker (not GNU ld)
10666
allow_undefined_flag=unsupported
10667
always_export_symbols=yes
10668
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'
10669
# Note: this linker hardcodes the directories in LIBPATH if there
10670
# are no directories specified by -L.
10671
hardcode_minus_L=yes
10672
if test "$GCC" = yes && test -z "$link_static_flag"; then
10673
# Neither direct hardcoding nor static linking is supported with a
10675
hardcode_direct=unsupported
10680
if test "$host_cpu" = ia64; then
10681
# On IA64, the linker does run time linking by default, so we don't
10682
# have to do anything special.
10683
aix_use_runtimelinking=no
10684
exp_sym_flag='-Bexport'
10687
# If we're using GNU nm, then we don't want the "-C" option.
10688
# -C means demangle to AIX nm, but means don't demangle with GNU nm
10689
if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
10690
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'
10692
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'
10695
# KDE requires run time linking. Make it the default.
10696
aix_use_runtimelinking=yes
10697
exp_sym_flag='-bexport'
10698
no_entry_flag='-bnoentry'
10701
# When large executables or shared objects are built, AIX ld can
10702
# have problems creating the table of contents. If linking a library
10703
# or program results in "error TOC overflow" add -mminimal-toc to
10704
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10705
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10708
hardcode_direct=yes
10709
hardcode_libdir_separator=':'
10710
link_all_deplibs=yes
10712
if test "$GCC" = yes; then
10713
case $host_os in aix4.012|aix4.012.*)
10714
# We only want to do this on AIX 4.2 and lower, the check
10715
# below for broken collect2 doesn't work under 4.3+
10716
collect2name=`${CC} -print-prog-name=collect2`
10717
if test -f "$collect2name" && \
10718
strings "$collect2name" | grep resolve_lib_name >/dev/null
10720
# We have reworked collect2
10721
hardcode_direct=yes
10723
# We have old collect2
10724
hardcode_direct=unsupported
10725
# It fails to find uninstalled libraries when the uninstalled
10726
# path is not listed in the libpath. Setting hardcode_minus_L
10727
# to unsupported forces relinking
10728
hardcode_minus_L=yes
10729
hardcode_libdir_flag_spec='-L$libdir'
10730
hardcode_libdir_separator=
10733
shared_flag='-shared'
10736
if test "$host_cpu" = ia64; then
10737
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10738
# chokes on -Wl,-G. The following line is correct:
10741
if test "$aix_use_runtimelinking" = yes; then
10742
shared_flag='-qmkshrobj ${wl}-G'
10744
shared_flag='-qmkshrobj'
10749
# Let the compiler handle the export list.
10750
always_export_symbols=no
10751
if test "$aix_use_runtimelinking" = yes; then
10752
# Warning - without using the other runtime loading flags (-brtl),
10753
# -berok will link without error, but may produce a broken library.
10754
allow_undefined_flag='-berok'
10755
# Determine the default libpath from the value encoded in an empty executable.
10756
cat >conftest.$ac_ext <<_ACEOF
10759
cat confdefs.h >>conftest.$ac_ext
10760
cat >>conftest.$ac_ext <<_ACEOF
10761
/* end confdefs.h. */
10771
rm -f conftest.$ac_objext conftest$ac_exeext
10772
if { (ac_try="$ac_link"
10773
case "(($ac_try" in
10774
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10775
*) ac_try_echo=$ac_try;;
10777
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10778
(eval "$ac_link") 2>conftest.er1
10780
grep -v '^ *+' conftest.er1 >conftest.err
10782
cat conftest.err >&5
10783
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10784
(exit $ac_status); } && {
10785
test -z "$ac_c_werror_flag" ||
10786
test ! -s conftest.err
10787
} && test -s conftest$ac_exeext &&
10788
$as_test_x conftest$ac_exeext; then
10790
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10792
# Check for a 64-bit object if we didn't find anything.
10793
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; }
10796
echo "$as_me: failed program was:" >&5
10797
sed 's/^/| /' conftest.$ac_ext >&5
10802
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10803
conftest$ac_exeext conftest.$ac_ext
10804
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10806
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10807
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"
10808
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"
10810
if test "$host_cpu" = ia64; then
10811
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10812
allow_undefined_flag="-z nodefs"
10813
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"
10815
# Determine the default libpath from the value encoded in an empty executable.
10816
cat >conftest.$ac_ext <<_ACEOF
10819
cat confdefs.h >>conftest.$ac_ext
10820
cat >>conftest.$ac_ext <<_ACEOF
10821
/* end confdefs.h. */
10831
rm -f conftest.$ac_objext conftest$ac_exeext
10832
if { (ac_try="$ac_link"
10833
case "(($ac_try" in
10834
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10835
*) ac_try_echo=$ac_try;;
10837
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10838
(eval "$ac_link") 2>conftest.er1
10840
grep -v '^ *+' conftest.er1 >conftest.err
10842
cat conftest.err >&5
10843
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10844
(exit $ac_status); } && {
10845
test -z "$ac_c_werror_flag" ||
10846
test ! -s conftest.err
10847
} && test -s conftest$ac_exeext &&
10848
$as_test_x conftest$ac_exeext; then
10850
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10852
# Check for a 64-bit object if we didn't find anything.
10853
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; }
10856
echo "$as_me: failed program was:" >&5
10857
sed 's/^/| /' conftest.$ac_ext >&5
10862
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10863
conftest$ac_exeext conftest.$ac_ext
10864
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10866
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10867
# Warning - without using the other run time loading flags,
10868
# -berok will link without error, but may produce a broken library.
10869
no_undefined_flag=' ${wl}-bernotok'
10870
allow_undefined_flag=' ${wl}-berok'
10871
# -bexpall does not export symbols beginning with underscore (_)
10872
always_export_symbols=yes
10873
# Exported symbols can be pulled into shared objects from archives
10874
whole_archive_flag_spec=' '
10875
archive_cmds_need_lc=yes
10876
# This is similar to how AIX traditionally builds it's shared libraries.
10877
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'
10883
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)'
10884
hardcode_libdir_flag_spec='-L$libdir'
10885
hardcode_minus_L=yes
10886
# see comment about different semantics on the GNU ld section
10891
export_dynamic_flag_spec=-rdynamic
10894
cygwin* | mingw* | pw32*)
10895
# When not using gcc, we currently assume that we are using
10896
# Microsoft Visual C++.
10897
# hardcode_libdir_flag_spec is actually meaningless, as there is
10898
# no search path for DLLs.
10899
hardcode_libdir_flag_spec=' '
10900
allow_undefined_flag=no
10901
# Tell ltmain to make .lib files, not .a files.
10903
# Tell ltmain to make .dll files, not .so files.
10905
# FIXME: Setting linknames here is a bad hack.
10906
archive_cmds='$CC -o $lib $compiler_flags $libobjs `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
10907
# The linker will automatically build a .lib file if we build a DLL.
10908
old_archive_From_new_cmds='true'
10909
# FIXME: Should let the user specify the lib program.
10910
old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
10911
fix_srcfile_path='`cygpath -w "$srcfile"`'
10912
enable_shared_with_static_runtimes=yes
10915
darwin* | rhapsody*)
10916
if test "$GXX" = yes ; then
10917
archive_cmds_need_lc=no
10919
rhapsody* | darwin1.[012])
10920
allow_undefined_flag='-Wl,-undefined -Wl,suppress'
10923
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
10924
allow_undefined_flag='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
10926
case ${MACOSX_DEPLOYMENT_TARGET} in
10928
allow_undefined_flag='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
10931
allow_undefined_flag='-Wl,-undefined -Wl,dynamic_lookup'
10937
lt_int_apple_cc_single_mod=no
10938
output_verbose_link_cmd='echo'
10939
if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
10940
lt_int_apple_cc_single_mod=yes
10942
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
10943
archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring'
10945
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'
10947
module_cmds='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs'
10948
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
10949
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
10950
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}'
10952
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}'
10954
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}'
10956
hardcode_automatic=yes
10957
hardcode_shlibpath_var=unsupported
10958
whole_archive_flag_spec='-all_load $convenience'
10959
link_all_deplibs=yes
10966
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10967
hardcode_libdir_flag_spec='-L$libdir'
10968
hardcode_shlibpath_var=no
10975
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10976
# support. Future versions do this automatically, but an explicit c++rt0.o
10977
# does not break anything, and helps significantly (at the cost of a little
10980
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10981
hardcode_libdir_flag_spec='-R$libdir'
10982
hardcode_direct=yes
10983
hardcode_shlibpath_var=no
10986
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
10988
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10989
hardcode_direct=yes
10990
hardcode_minus_L=yes
10991
hardcode_shlibpath_var=no
10994
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10995
freebsd* | kfreebsd*-gnu)
10996
archive_cmds='$CC -shared -o $lib $compiler_flags $libobjs $deplibs'
10997
hardcode_libdir_flag_spec='-R$libdir'
10998
hardcode_direct=yes
10999
hardcode_shlibpath_var=no
11003
if test "$GCC" = yes; then
11004
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'
11006
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'
11008
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11009
hardcode_libdir_separator=:
11010
hardcode_direct=yes
11012
# hardcode_minus_L: Not really in the search PATH,
11013
# but as the default location of the library.
11014
hardcode_minus_L=yes
11015
export_dynamic_flag_spec='${wl}-E'
11019
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
11020
case "$host_cpu" in
11022
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
11025
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $compiler_flags $libobjs $deplibs'
11029
case "$host_cpu" in
11031
archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
11034
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11038
if test "$with_gnu_ld" = no; then
11039
case "$host_cpu" in
11041
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11042
hardcode_libdir_flag_spec_ld='+b $libdir'
11043
hardcode_libdir_separator=:
11045
hardcode_shlibpath_var=no
11048
hardcode_libdir_flag_spec='-L$libdir'
11050
hardcode_shlibpath_var=no
11052
# hardcode_minus_L: Not really in the search PATH,
11053
# but as the default location of the library.
11054
hardcode_minus_L=yes
11057
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11058
hardcode_libdir_separator=:
11059
hardcode_direct=yes
11060
export_dynamic_flag_spec='${wl}-E'
11062
# hardcode_minus_L: Not really in the search PATH,
11063
# but as the default location of the library.
11064
hardcode_minus_L=yes
11070
irix5* | irix6* | nonstopux*)
11071
if test "$GCC" = yes; then
11072
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'
11074
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'
11075
hardcode_libdir_flag_spec_ld='-rpath $libdir'
11077
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11078
hardcode_libdir_separator=:
11079
link_all_deplibs=yes
11083
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11084
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11086
archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11088
hardcode_libdir_flag_spec='-R$libdir'
11089
hardcode_direct=yes
11090
hardcode_shlibpath_var=no
11094
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11095
hardcode_direct=yes
11096
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11097
hardcode_libdir_separator=:
11098
hardcode_shlibpath_var=no
11102
hardcode_direct=yes
11103
hardcode_shlibpath_var=no
11104
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11105
archive_cmds='$CC -shared $pic_flag -o $lib $compiler_flags $libobjs $deplibs'
11106
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11107
export_dynamic_flag_spec='${wl}-E'
11110
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
11111
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11112
hardcode_libdir_flag_spec='-R$libdir'
11115
archive_cmds='$CC -shared $pic_flag -o $lib $compiler_flags $libobjs $deplibs'
11116
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11123
hardcode_libdir_flag_spec='-L$libdir'
11124
hardcode_minus_L=yes
11125
allow_undefined_flag=unsupported
11126
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'
11127
old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11131
if test "$GCC" = yes; then
11132
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11133
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'
11135
allow_undefined_flag=' -expect_unresolved \*'
11136
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'
11138
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11139
hardcode_libdir_separator=:
11142
osf4* | osf5*) # as osf3* with the addition of -msym flag
11143
if test "$GCC" = yes; then
11144
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11145
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'
11146
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11148
allow_undefined_flag=' -expect_unresolved \*'
11149
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'
11150
archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
11151
$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'
11153
# Both c and cxx compiler support -rpath directly
11154
hardcode_libdir_flag_spec='-rpath $libdir'
11156
hardcode_libdir_separator=:
11160
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11161
hardcode_shlibpath_var=no
11162
export_dynamic_flag_spec='${wl}-Bexport'
11163
runpath_var=LD_RUN_PATH
11164
hardcode_runpath_var=yes
11168
no_undefined_flag=' -z text'
11169
if test "$GCC" = yes; then
11170
archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
11171
archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11172
$CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs~$rm $lib.exp'
11174
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11175
archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11176
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
11178
hardcode_libdir_flag_spec='-R$libdir'
11179
hardcode_shlibpath_var=no
11181
solaris2.[0-5] | solaris2.[0-5].*) ;;
11182
*) # Supported since Solaris 2.6 (maybe 2.5.1?)
11183
whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
11185
link_all_deplibs=yes
11189
if test "x$host_vendor" = xsequent; then
11190
# Use $CC to link under sequent, because it throws in some extra .o
11191
# files that make .init and .fini sections work.
11192
archive_cmds='$CC -G ${wl}-h $soname -o $lib $compiler_flags $libobjs $deplibs'
11194
archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11196
hardcode_libdir_flag_spec='-L$libdir'
11197
hardcode_direct=yes
11198
hardcode_minus_L=yes
11199
hardcode_shlibpath_var=no
11203
case $host_vendor in
11205
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11206
hardcode_direct=yes # is this really true???
11209
## LD is ld it makes a PLAMLIB
11210
## CC just makes a GrossModule.
11211
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11212
reload_cmds='$CC -r -o $output$reload_objs'
11216
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11217
hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11220
runpath_var='LD_RUN_PATH'
11221
hardcode_shlibpath_var=no
11225
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11226
hardcode_shlibpath_var=no
11227
export_dynamic_flag_spec='-Bexport'
11231
if test -d /usr/nec; then
11232
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11233
hardcode_shlibpath_var=no
11234
runpath_var=LD_RUN_PATH
11235
hardcode_runpath_var=yes
11241
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11242
hardcode_direct=yes
11243
hardcode_minus_L=no
11244
hardcode_shlibpath_var=no
11245
hardcode_runpath_var=yes
11246
runpath_var=LD_RUN_PATH
11249
sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
11250
no_undefined_flag='${wl}-z ${wl}text'
11251
if test "$GCC" = yes; then
11252
archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
11254
archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
11256
runpath_var='LD_RUN_PATH'
11257
hardcode_shlibpath_var=no
11261
no_undefined_flag=' -z text'
11262
# $CC -shared without GNU ld will not create a library from C++
11263
# object files and a static libstdc++, better avoid it by now
11264
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11265
archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11266
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
11267
hardcode_libdir_flag_spec=
11268
hardcode_shlibpath_var=no
11269
runpath_var='LD_RUN_PATH'
11273
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11274
hardcode_libdir_flag_spec='-L$libdir'
11275
hardcode_shlibpath_var=no
11284
{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
11285
echo "${ECHO_T}$ld_shlibs" >&6; }
11286
test "$ld_shlibs" = no && can_build_shared=no
11288
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11289
if test "$GCC" = yes; then
11290
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11294
# Do we need to explicitly link libc?
11296
case "x$archive_cmds_need_lc" in
11298
# Assume -lc should be added
11299
archive_cmds_need_lc=yes
11301
if test "$enable_shared" = yes && test "$GCC" = yes; then
11302
case $archive_cmds in
11304
# FIXME: we may have to deal with multi-command sequences.
11307
# Test whether the compiler implicitly links with -lc since on some
11308
# systems, -lgcc has to come before -lc. If gcc already passes -lc
11309
# to ld, don't add -lc before -lgcc.
11310
{ echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11311
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
11313
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
11315
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11316
(eval $ac_compile) 2>&5
11318
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11319
(exit $ac_status); } 2>conftest.err; then
11322
libobjs=conftest.$ac_objext
11324
wl=$lt_prog_compiler_wl
11330
lt_save_allow_undefined_flag=$allow_undefined_flag
11331
allow_undefined_flag=
11332
if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
11333
(eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
11335
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11336
(exit $ac_status); }
11338
archive_cmds_need_lc=no
11340
archive_cmds_need_lc=yes
11342
allow_undefined_flag=$lt_save_allow_undefined_flag
11344
cat conftest.err 1>&5
11347
{ echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
11348
echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
11355
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11356
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
11357
library_names_spec=
11358
libname_spec='lib$name'
11362
postuninstall_cmds=
11366
shlibpath_overrides_runpath=unknown
11368
dynamic_linker="$host_os ld.so"
11369
sys_lib_dlsearch_path_spec="/lib /usr/lib"
11370
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11371
need_lib_prefix=unknown
11372
hardcode_into_libs=no
11374
# when you set need_version to no, make sure it does not cause -set_version
11375
# flags to be left without arguments
11376
need_version=unknown
11381
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11382
shlibpath_var=LIBPATH
11384
# AIX 3 has no versioning support, so we append a major version to the name.
11385
soname_spec='${libname}${release}${shared_ext}$major'
11392
hardcode_into_libs=yes
11393
if test "$host_cpu" = ia64; then
11394
# AIX 5 supports IA64
11395
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11396
shlibpath_var=LD_LIBRARY_PATH
11398
# With GCC up to 2.95.x, collect2 would create an import file
11399
# for dependence libraries. The import file would start with
11400
# the line `#! .'. This would cause the generated library to
11401
# depend on `.', always an invalid library. This was fixed in
11402
# development snapshots of GCC prior to 3.0.
11404
aix4 | aix4.[01] | aix4.[01].*)
11405
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11407
echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
11410
can_build_shared=no
11414
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11415
# soname into executable. Probably we can add versioning support to
11416
# collect2, so additional links can be useful in future.
11417
if test "$aix_use_runtimelinking" = yes; then
11418
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
11419
# instead of lib<name>.a to let people know that these are not
11420
# typical AIX shared libraries.
11421
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11423
# We preserve .a as extension for shared libraries through AIX4.2
11424
# and later when we are not doing run time linking.
11425
library_names_spec='${libname}${release}.a $libname.a'
11426
soname_spec='${libname}${release}${shared_ext}$major'
11428
shlibpath_var=LIBPATH
11433
library_names_spec='$libname.ixlibrary $libname.a'
11434
# Create ${libname}_ixlibrary.a entries in /sys/libs.
11435
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'
11439
library_names_spec='${libname}${shared_ext}'
11440
dynamic_linker="$host_os ld.so"
11441
shlibpath_var=LIBRARY_PATH
11447
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11448
soname_spec='${libname}${release}${shared_ext}$major'
11449
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11450
shlibpath_var=LD_LIBRARY_PATH
11451
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11452
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11453
# the default ld.so.conf also contains /usr/contrib/lib and
11454
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11455
# libtool to hard-code these into programs
11458
cygwin* | mingw* | pw32*)
11459
version_type=windows
11464
case $GCC,$host_os in
11465
yes,cygwin* | yes,mingw* | yes,pw32*)
11466
library_names_spec='$libname.dll.a'
11467
# DLL is installed to $(libdir)/../bin by postinstall_cmds
11468
postinstall_cmds='base_file=`basename \${file}`~
11469
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
11470
dldir=$destdir/`dirname \$dlpath`~
11471
test -d \$dldir || mkdir -p \$dldir~
11472
$install_prog $dir/$dlname \$dldir/$dlname'
11473
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11474
dlpath=$dir/\$dldll~
11476
shlibpath_overrides_runpath=yes
11480
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
11481
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11482
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
11485
# MinGW DLLs use traditional 'lib' prefix
11486
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11487
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11488
if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
11489
# It is most probably a Windows format PATH printed by
11490
# mingw gcc, but we are running on Cygwin. Gcc prints its search
11491
# path with ; separators, and with drive letters. We can handle the
11492
# drive letters (cygwin fileutils understands them), so leave them,
11493
# especially as we might pass files found there to a mingw objdump,
11494
# which wouldn't understand a cygwinified path. Ahh.
11495
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11497
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11501
# pw32 DLLs use 'pw' prefix rather than 'lib'
11502
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
11508
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11511
dynamic_linker='Win32 ld.exe'
11512
# FIXME: first we should search . and the directory the executable is in
11516
darwin* | rhapsody*)
11517
dynamic_linker="$host_os dyld"
11518
version_type=darwin
11521
library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11522
soname_spec='${libname}${release}${major}$shared_ext'
11523
shlibpath_overrides_runpath=yes
11524
shlibpath_var=DYLD_LIBRARY_PATH
11525
shrext='$(test .$module = .yes && echo .so || echo .dylib)'
11526
# Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
11527
if test "$GCC" = yes; then
11528
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"`
11530
sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
11532
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11539
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11540
soname_spec='${libname}${release}${shared_ext}$major'
11541
shlibpath_var=LD_LIBRARY_PATH
11552
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11553
soname_spec='${libname}${release}${shared_ext}$major'
11554
shlibpath_var=LD_LIBRARY_PATH
11555
shlibpath_overrides_runpath=no
11556
hardcode_into_libs=yes
11557
dynamic_linker='GNU ld.so'
11561
objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
11562
version_type=freebsd-$objformat
11563
case $version_type in
11565
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11570
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11574
shlibpath_var=LD_LIBRARY_PATH
11577
shlibpath_overrides_runpath=yes
11579
freebsd3.01* | freebsdelf3.01*)
11580
shlibpath_overrides_runpath=yes
11581
hardcode_into_libs=yes
11584
shlibpath_overrides_runpath=no
11585
hardcode_into_libs=yes
11594
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11595
soname_spec='${libname}${release}${shared_ext}$major'
11596
shlibpath_var=LD_LIBRARY_PATH
11597
hardcode_into_libs=yes
11600
hpux9* | hpux10* | hpux11*)
11601
# Give a soname corresponding to the major version so that dld.sl refuses to
11602
# link against other versions.
11606
case "$host_cpu" in
11609
hardcode_into_libs=yes
11610
dynamic_linker="$host_os dld.so"
11611
shlibpath_var=LD_LIBRARY_PATH
11612
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11613
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11614
soname_spec='${libname}${release}${shared_ext}$major'
11615
if test "X$HPUX_IA64_MODE" = X32; then
11616
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11618
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11620
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11624
hardcode_into_libs=yes
11625
dynamic_linker="$host_os dld.sl"
11626
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11627
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11628
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11629
soname_spec='${libname}${release}${shared_ext}$major'
11630
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11631
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11635
dynamic_linker="$host_os dld.sl"
11636
shlibpath_var=SHLIB_PATH
11637
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11638
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11639
soname_spec='${libname}${release}${shared_ext}$major'
11642
# HP-UX runs *really* slowly unless shared libraries are mode 555.
11643
postinstall_cmds='chmod 555 $lib'
11646
irix5* | irix6* | nonstopux*)
11648
nonstopux*) version_type=nonstopux ;;
11650
if test "$lt_cv_prog_gnu_ld" = yes; then
11658
soname_spec='${libname}${release}${shared_ext}$major'
11659
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11661
irix5* | nonstopux*)
11662
libsuff= shlibsuff=
11665
case $LD in # libtool.m4 will add one of these switches to LD
11666
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11667
libsuff= shlibsuff= libmagic=32-bit;;
11668
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11669
libsuff=32 shlibsuff=N32 libmagic=N32;;
11670
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11671
libsuff=64 shlibsuff=64 libmagic=64-bit;;
11672
*) libsuff= shlibsuff= libmagic=never-match;;
11676
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11677
shlibpath_overrides_runpath=no
11678
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11679
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11680
hardcode_into_libs=yes
11683
# No shared lib support for Linux oldld, aout, or coff.
11684
linux*oldld* | linux*aout* | linux*coff*)
11688
# This must be Linux ELF.
11693
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11694
soname_spec='${libname}${release}${shared_ext}$major'
11695
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11697
if test "x$LINUX_64_MODE" = x64; then
11698
# Some platforms are per default 64-bit, so there's no /lib64
11699
if test -d /lib64; then
11703
shlibpath_var=LD_LIBRARY_PATH
11704
shlibpath_overrides_runpath=no
11705
sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
11706
sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
11707
# This implies no fast_install, which is unacceptable.
11708
# Some rework will be needed to allow for fast_install
11709
# before this can be enabled.
11710
hardcode_into_libs=yes
11712
# We used to test for /lib/ld.so.1 and disable shared libraries on
11713
# powerpc, because MkLinux only supported shared libraries with the
11714
# GNU dynamic linker. Since this was broken with cross compilers,
11715
# most powerpc-linux boxes support dynamic linking these days and
11716
# people can always --disable-shared, the test was removed, and we
11717
# assume the GNU/Linux dynamic linker is in use.
11718
dynamic_linker='GNU/Linux ld.so'
11725
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11726
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11727
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11728
dynamic_linker='NetBSD (a.out) ld.so'
11730
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
11731
soname_spec='${libname}${release}${shared_ext}$major'
11732
dynamic_linker='NetBSD ld.elf_so'
11734
shlibpath_var=LD_LIBRARY_PATH
11735
shlibpath_overrides_runpath=yes
11736
hardcode_into_libs=yes
11741
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11742
shlibpath_var=LD_LIBRARY_PATH
11743
shlibpath_overrides_runpath=yes
11750
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11751
soname_spec='${libname}${release}${shared_ext}$major'
11752
shlibpath_var=LD_LIBRARY_PATH
11753
shlibpath_overrides_runpath=yes
11760
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11761
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11762
shlibpath_var=LD_LIBRARY_PATH
11763
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11765
openbsd2.[89] | openbsd2.[89].*)
11766
shlibpath_overrides_runpath=no
11769
shlibpath_overrides_runpath=yes
11773
shlibpath_overrides_runpath=yes
11778
libname_spec='$name'
11781
library_names_spec='$libname${shared_ext} $libname.a'
11782
dynamic_linker='OS/2 ld.exe'
11783
shlibpath_var=LIBPATH
11786
osf3* | osf4* | osf5*)
11790
soname_spec='${libname}${release}${shared_ext}$major'
11791
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11792
shlibpath_var=LD_LIBRARY_PATH
11793
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11794
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11799
soname_spec='${libname}${release}${shared_ext}$major'
11800
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11801
shlibpath_var=LD_LIBRARY_PATH
11808
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11809
soname_spec='${libname}${release}${shared_ext}$major'
11810
shlibpath_var=LD_LIBRARY_PATH
11811
shlibpath_overrides_runpath=yes
11812
hardcode_into_libs=yes
11813
# ldd complains unless libraries are executable
11814
postinstall_cmds='chmod +x $lib'
11819
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11820
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11821
shlibpath_var=LD_LIBRARY_PATH
11822
shlibpath_overrides_runpath=yes
11823
if test "$with_gnu_ld" = yes; then
11829
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11831
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11832
soname_spec='${libname}${release}${shared_ext}$major'
11833
shlibpath_var=LD_LIBRARY_PATH
11834
case $host_vendor in
11836
shlibpath_overrides_runpath=no
11838
export_dynamic_flag_spec='${wl}-Blargedynsym'
11839
runpath_var=LD_RUN_PATH
11847
shlibpath_overrides_runpath=no
11848
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11854
if test -d /usr/nec ;then
11856
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11857
soname_spec='$libname${shared_ext}.$major'
11858
shlibpath_var=LD_LIBRARY_PATH
11864
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11865
soname_spec='${libname}${release}${shared_ext}$major'
11866
shlibpath_var=LD_LIBRARY_PATH
11873
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11874
echo "${ECHO_T}$dynamic_linker" >&6; }
11875
test "$dynamic_linker" = no && can_build_shared=no
11877
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11878
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
11880
if test -n "$hardcode_libdir_flag_spec" || \
11881
test -n "$runpath_var " || \
11882
test "X$hardcode_automatic"="Xyes" ; then
11884
# We can hardcode non-existant directories.
11885
if test "$hardcode_direct" != no &&
11886
# If the only mechanism to avoid hardcoding is shlibpath_var, we
11887
# have to relink, otherwise we might link with an installed library
11888
# when we should be linking with a yet-to-be-installed one
11889
## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
11890
test "$hardcode_minus_L" != no; then
11891
# Linking always hardcodes the temporary library directory.
11892
hardcode_action=relink
11894
# We can link without hardcoding, and we can hardcode nonexisting dirs.
11895
hardcode_action=immediate
11898
# We cannot hardcode anything, or else we can only hardcode existing
11900
hardcode_action=unsupported
11902
{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
11903
echo "${ECHO_T}$hardcode_action" >&6; }
11905
if test "$hardcode_action" = relink; then
11906
# Fast installation is not supported
11907
enable_fast_install=no
11908
elif test "$shlibpath_overrides_runpath" = yes ||
11909
test "$enable_shared" = no; then
11910
# Fast installation is not necessary
11911
enable_fast_install=needless
11916
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11917
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
11918
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
11919
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11920
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11921
{ echo "$as_me:$LINENO: result: yes" >&5
11922
echo "${ECHO_T}yes" >&6; }
11924
# FIXME - insert some real tests, host_os isn't really good enough
11927
if test -n "$STRIP" ; then
11928
striplib="$STRIP -x"
11929
{ echo "$as_me:$LINENO: result: yes" >&5
11930
echo "${ECHO_T}yes" >&6; }
11932
{ echo "$as_me:$LINENO: result: no" >&5
11933
echo "${ECHO_T}no" >&6; }
11937
{ echo "$as_me:$LINENO: result: no" >&5
11938
echo "${ECHO_T}no" >&6; }
11943
if test "x$enable_dlopen" != xyes; then
11944
enable_dlopen=unknown
11945
enable_dlopen_self=unknown
11946
enable_dlopen_self_static=unknown
11953
lt_cv_dlopen="load_add_on"
11955
lt_cv_dlopen_self=yes
11959
lt_cv_dlopen="LoadLibrary"
11964
lt_cv_dlopen="dlopen"
11969
# if libdl is installed we need to link against it
11970
{ echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11971
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
11972
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11973
echo $ECHO_N "(cached) $ECHO_C" >&6
11975
ac_check_lib_save_LIBS=$LIBS
11977
cat >conftest.$ac_ext <<_ACEOF
11980
cat confdefs.h >>conftest.$ac_ext
11981
cat >>conftest.$ac_ext <<_ACEOF
11982
/* end confdefs.h. */
11984
/* Override any GCC internal prototype to avoid an error.
11985
Use char because int might match the return type of a GCC
11986
builtin and then its argument prototype would still apply. */
11999
rm -f conftest.$ac_objext conftest$ac_exeext
12000
if { (ac_try="$ac_link"
12001
case "(($ac_try" in
12002
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12003
*) ac_try_echo=$ac_try;;
12005
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12006
(eval "$ac_link") 2>conftest.er1
12008
grep -v '^ *+' conftest.er1 >conftest.err
12010
cat conftest.err >&5
12011
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12012
(exit $ac_status); } && {
12013
test -z "$ac_c_werror_flag" ||
12014
test ! -s conftest.err
12015
} && test -s conftest$ac_exeext &&
12016
$as_test_x conftest$ac_exeext; then
12017
ac_cv_lib_dl_dlopen=yes
12019
echo "$as_me: failed program was:" >&5
12020
sed 's/^/| /' conftest.$ac_ext >&5
12022
ac_cv_lib_dl_dlopen=no
12025
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12026
conftest$ac_exeext conftest.$ac_ext
12027
LIBS=$ac_check_lib_save_LIBS
12029
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12030
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
12031
if test $ac_cv_lib_dl_dlopen = yes; then
12032
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12035
lt_cv_dlopen="dyld"
12037
lt_cv_dlopen_self=yes
12044
{ echo "$as_me:$LINENO: checking for shl_load" >&5
12045
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
12046
if test "${ac_cv_func_shl_load+set}" = set; then
12047
echo $ECHO_N "(cached) $ECHO_C" >&6
12049
cat >conftest.$ac_ext <<_ACEOF
12052
cat confdefs.h >>conftest.$ac_ext
12053
cat >>conftest.$ac_ext <<_ACEOF
12054
/* end confdefs.h. */
12055
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
12056
For example, HP-UX 11i <limits.h> declares gettimeofday. */
12057
#define shl_load innocuous_shl_load
12059
/* System header to define __stub macros and hopefully few prototypes,
12060
which can conflict with char shl_load (); below.
12061
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12062
<limits.h> exists even on freestanding compilers. */
12065
# include <limits.h>
12067
# include <assert.h>
12072
/* Override any GCC internal prototype to avoid an error.
12073
Use char because int might match the return type of a GCC
12074
builtin and then its argument prototype would still apply. */
12079
/* The GNU C library defines this for functions which it implements
12080
to always fail with ENOSYS. Some functions are actually named
12081
something starting with __ and the normal name is an alias. */
12082
#if defined __stub_shl_load || defined __stub___shl_load
12089
return shl_load ();
12094
rm -f conftest.$ac_objext conftest$ac_exeext
12095
if { (ac_try="$ac_link"
12096
case "(($ac_try" in
12097
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12098
*) ac_try_echo=$ac_try;;
12100
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12101
(eval "$ac_link") 2>conftest.er1
12103
grep -v '^ *+' conftest.er1 >conftest.err
12105
cat conftest.err >&5
12106
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12107
(exit $ac_status); } && {
12108
test -z "$ac_c_werror_flag" ||
12109
test ! -s conftest.err
12110
} && test -s conftest$ac_exeext &&
12111
$as_test_x conftest$ac_exeext; then
12112
ac_cv_func_shl_load=yes
12114
echo "$as_me: failed program was:" >&5
12115
sed 's/^/| /' conftest.$ac_ext >&5
12117
ac_cv_func_shl_load=no
12120
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12121
conftest$ac_exeext conftest.$ac_ext
12123
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
12124
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
12125
if test $ac_cv_func_shl_load = yes; then
12126
lt_cv_dlopen="shl_load"
12128
{ echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
12129
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
12130
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
12131
echo $ECHO_N "(cached) $ECHO_C" >&6
12133
ac_check_lib_save_LIBS=$LIBS
12135
cat >conftest.$ac_ext <<_ACEOF
12138
cat confdefs.h >>conftest.$ac_ext
12139
cat >>conftest.$ac_ext <<_ACEOF
12140
/* end confdefs.h. */
12142
/* Override any GCC internal prototype to avoid an error.
12143
Use char because int might match the return type of a GCC
12144
builtin and then its argument prototype would still apply. */
12152
return shl_load ();
12157
rm -f conftest.$ac_objext conftest$ac_exeext
12158
if { (ac_try="$ac_link"
12159
case "(($ac_try" in
12160
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12161
*) ac_try_echo=$ac_try;;
12163
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12164
(eval "$ac_link") 2>conftest.er1
12166
grep -v '^ *+' conftest.er1 >conftest.err
12168
cat conftest.err >&5
12169
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12170
(exit $ac_status); } && {
12171
test -z "$ac_c_werror_flag" ||
12172
test ! -s conftest.err
12173
} && test -s conftest$ac_exeext &&
12174
$as_test_x conftest$ac_exeext; then
12175
ac_cv_lib_dld_shl_load=yes
12177
echo "$as_me: failed program was:" >&5
12178
sed 's/^/| /' conftest.$ac_ext >&5
12180
ac_cv_lib_dld_shl_load=no
12183
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12184
conftest$ac_exeext conftest.$ac_ext
12185
LIBS=$ac_check_lib_save_LIBS
12187
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
12188
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
12189
if test $ac_cv_lib_dld_shl_load = yes; then
12190
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
12192
{ echo "$as_me:$LINENO: checking for dlopen" >&5
12193
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
12194
if test "${ac_cv_func_dlopen+set}" = set; then
12195
echo $ECHO_N "(cached) $ECHO_C" >&6
12197
cat >conftest.$ac_ext <<_ACEOF
12200
cat confdefs.h >>conftest.$ac_ext
12201
cat >>conftest.$ac_ext <<_ACEOF
12202
/* end confdefs.h. */
12203
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
12204
For example, HP-UX 11i <limits.h> declares gettimeofday. */
12205
#define dlopen innocuous_dlopen
12207
/* System header to define __stub macros and hopefully few prototypes,
12208
which can conflict with char dlopen (); below.
12209
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12210
<limits.h> exists even on freestanding compilers. */
12213
# include <limits.h>
12215
# include <assert.h>
12220
/* Override any GCC internal prototype to avoid an error.
12221
Use char because int might match the return type of a GCC
12222
builtin and then its argument prototype would still apply. */
12227
/* The GNU C library defines this for functions which it implements
12228
to always fail with ENOSYS. Some functions are actually named
12229
something starting with __ and the normal name is an alias. */
12230
#if defined __stub_dlopen || defined __stub___dlopen
12242
rm -f conftest.$ac_objext conftest$ac_exeext
12243
if { (ac_try="$ac_link"
12244
case "(($ac_try" in
12245
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12246
*) ac_try_echo=$ac_try;;
12248
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12249
(eval "$ac_link") 2>conftest.er1
12251
grep -v '^ *+' conftest.er1 >conftest.err
12253
cat conftest.err >&5
12254
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12255
(exit $ac_status); } && {
12256
test -z "$ac_c_werror_flag" ||
12257
test ! -s conftest.err
12258
} && test -s conftest$ac_exeext &&
12259
$as_test_x conftest$ac_exeext; then
12260
ac_cv_func_dlopen=yes
12262
echo "$as_me: failed program was:" >&5
12263
sed 's/^/| /' conftest.$ac_ext >&5
12265
ac_cv_func_dlopen=no
12268
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12269
conftest$ac_exeext conftest.$ac_ext
12271
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
12272
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
12273
if test $ac_cv_func_dlopen = yes; then
12274
lt_cv_dlopen="dlopen"
12276
{ echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12277
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
12278
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12279
echo $ECHO_N "(cached) $ECHO_C" >&6
12281
ac_check_lib_save_LIBS=$LIBS
12283
cat >conftest.$ac_ext <<_ACEOF
12286
cat confdefs.h >>conftest.$ac_ext
12287
cat >>conftest.$ac_ext <<_ACEOF
12288
/* end confdefs.h. */
12290
/* Override any GCC internal prototype to avoid an error.
12291
Use char because int might match the return type of a GCC
12292
builtin and then its argument prototype would still apply. */
12305
rm -f conftest.$ac_objext conftest$ac_exeext
12306
if { (ac_try="$ac_link"
12307
case "(($ac_try" in
12308
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12309
*) ac_try_echo=$ac_try;;
12311
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12312
(eval "$ac_link") 2>conftest.er1
12314
grep -v '^ *+' conftest.er1 >conftest.err
12316
cat conftest.err >&5
12317
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12318
(exit $ac_status); } && {
12319
test -z "$ac_c_werror_flag" ||
12320
test ! -s conftest.err
12321
} && test -s conftest$ac_exeext &&
12322
$as_test_x conftest$ac_exeext; then
12323
ac_cv_lib_dl_dlopen=yes
12325
echo "$as_me: failed program was:" >&5
12326
sed 's/^/| /' conftest.$ac_ext >&5
12328
ac_cv_lib_dl_dlopen=no
12331
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12332
conftest$ac_exeext conftest.$ac_ext
12333
LIBS=$ac_check_lib_save_LIBS
12335
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12336
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
12337
if test $ac_cv_lib_dl_dlopen = yes; then
12338
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12340
{ echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
12341
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
12342
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
12343
echo $ECHO_N "(cached) $ECHO_C" >&6
12345
ac_check_lib_save_LIBS=$LIBS
12346
LIBS="-lsvld $LIBS"
12347
cat >conftest.$ac_ext <<_ACEOF
12350
cat confdefs.h >>conftest.$ac_ext
12351
cat >>conftest.$ac_ext <<_ACEOF
12352
/* end confdefs.h. */
12354
/* Override any GCC internal prototype to avoid an error.
12355
Use char because int might match the return type of a GCC
12356
builtin and then its argument prototype would still apply. */
12369
rm -f conftest.$ac_objext conftest$ac_exeext
12370
if { (ac_try="$ac_link"
12371
case "(($ac_try" in
12372
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12373
*) ac_try_echo=$ac_try;;
12375
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12376
(eval "$ac_link") 2>conftest.er1
12378
grep -v '^ *+' conftest.er1 >conftest.err
12380
cat conftest.err >&5
12381
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12382
(exit $ac_status); } && {
12383
test -z "$ac_c_werror_flag" ||
12384
test ! -s conftest.err
12385
} && test -s conftest$ac_exeext &&
12386
$as_test_x conftest$ac_exeext; then
12387
ac_cv_lib_svld_dlopen=yes
12389
echo "$as_me: failed program was:" >&5
12390
sed 's/^/| /' conftest.$ac_ext >&5
12392
ac_cv_lib_svld_dlopen=no
12395
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12396
conftest$ac_exeext conftest.$ac_ext
12397
LIBS=$ac_check_lib_save_LIBS
12399
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12400
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
12401
if test $ac_cv_lib_svld_dlopen = yes; then
12402
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12404
{ echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12405
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
12406
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12407
echo $ECHO_N "(cached) $ECHO_C" >&6
12409
ac_check_lib_save_LIBS=$LIBS
12411
cat >conftest.$ac_ext <<_ACEOF
12414
cat confdefs.h >>conftest.$ac_ext
12415
cat >>conftest.$ac_ext <<_ACEOF
12416
/* end confdefs.h. */
12418
/* Override any GCC internal prototype to avoid an error.
12419
Use char because int might match the return type of a GCC
12420
builtin and then its argument prototype would still apply. */
12428
return dld_link ();
12433
rm -f conftest.$ac_objext conftest$ac_exeext
12434
if { (ac_try="$ac_link"
12435
case "(($ac_try" in
12436
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12437
*) ac_try_echo=$ac_try;;
12439
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12440
(eval "$ac_link") 2>conftest.er1
12442
grep -v '^ *+' conftest.er1 >conftest.err
12444
cat conftest.err >&5
12445
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12446
(exit $ac_status); } && {
12447
test -z "$ac_c_werror_flag" ||
12448
test ! -s conftest.err
12449
} && test -s conftest$ac_exeext &&
12450
$as_test_x conftest$ac_exeext; then
12451
ac_cv_lib_dld_dld_link=yes
12453
echo "$as_me: failed program was:" >&5
12454
sed 's/^/| /' conftest.$ac_ext >&5
12456
ac_cv_lib_dld_dld_link=no
12459
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12460
conftest$ac_exeext conftest.$ac_ext
12461
LIBS=$ac_check_lib_save_LIBS
12463
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12464
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
12465
if test $ac_cv_lib_dld_dld_link = yes; then
12466
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
12487
if test "x$lt_cv_dlopen" != xno; then
12493
case $lt_cv_dlopen in
12495
save_CPPFLAGS="$CPPFLAGS"
12496
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12498
save_LDFLAGS="$LDFLAGS"
12499
eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12502
LIBS="$lt_cv_dlopen_libs $LIBS"
12504
{ echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12505
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
12506
if test "${lt_cv_dlopen_self+set}" = set; then
12507
echo $ECHO_N "(cached) $ECHO_C" >&6
12509
if test "$cross_compiling" = yes; then :
12510
lt_cv_dlopen_self=cross
12512
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12513
lt_status=$lt_dlunknown
12514
cat > conftest.$ac_ext <<EOF
12515
#line 12515 "configure"
12516
#include "confdefs.h"
12525
# define LT_DLGLOBAL RTLD_GLOBAL
12528
# define LT_DLGLOBAL DL_GLOBAL
12530
# define LT_DLGLOBAL 0
12534
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12535
find out it does not work in some platform. */
12536
#ifndef LT_DLLAZY_OR_NOW
12538
# define LT_DLLAZY_OR_NOW RTLD_LAZY
12541
# define LT_DLLAZY_OR_NOW DL_LAZY
12544
# define LT_DLLAZY_OR_NOW RTLD_NOW
12547
# define LT_DLLAZY_OR_NOW DL_NOW
12549
# define LT_DLLAZY_OR_NOW 0
12557
extern "C" void exit (int);
12560
void fnord() { int i=42;}
12563
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12564
int status = $lt_dlunknown;
12568
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12569
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12570
/* dlclose (self); */
12576
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12577
(eval $ac_link) 2>&5
12579
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12580
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12581
(./conftest; exit; ) 2>/dev/null
12583
case x$lt_status in
12584
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12585
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12586
x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
12589
# compilation failed
12590
lt_cv_dlopen_self=no
12597
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12598
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
12600
if test "x$lt_cv_dlopen_self" = xyes; then
12601
LDFLAGS="$LDFLAGS $link_static_flag"
12602
{ echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12603
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
12604
if test "${lt_cv_dlopen_self_static+set}" = set; then
12605
echo $ECHO_N "(cached) $ECHO_C" >&6
12607
if test "$cross_compiling" = yes; then :
12608
lt_cv_dlopen_self_static=cross
12610
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12611
lt_status=$lt_dlunknown
12612
cat > conftest.$ac_ext <<EOF
12613
#line 12613 "configure"
12614
#include "confdefs.h"
12623
# define LT_DLGLOBAL RTLD_GLOBAL
12626
# define LT_DLGLOBAL DL_GLOBAL
12628
# define LT_DLGLOBAL 0
12632
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12633
find out it does not work in some platform. */
12634
#ifndef LT_DLLAZY_OR_NOW
12636
# define LT_DLLAZY_OR_NOW RTLD_LAZY
12639
# define LT_DLLAZY_OR_NOW DL_LAZY
12642
# define LT_DLLAZY_OR_NOW RTLD_NOW
12645
# define LT_DLLAZY_OR_NOW DL_NOW
12647
# define LT_DLLAZY_OR_NOW 0
12655
extern "C" void exit (int);
12658
void fnord() { int i=42;}
12661
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12662
int status = $lt_dlunknown;
12666
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12667
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12668
/* dlclose (self); */
12674
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12675
(eval $ac_link) 2>&5
12677
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12678
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12679
(./conftest; exit; ) 2>/dev/null
12681
case x$lt_status in
12682
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12683
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12684
x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
12687
# compilation failed
12688
lt_cv_dlopen_self_static=no
12695
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12696
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
12699
CPPFLAGS="$save_CPPFLAGS"
12700
LDFLAGS="$save_LDFLAGS"
12705
case $lt_cv_dlopen_self in
12706
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12707
*) enable_dlopen_self=unknown ;;
12710
case $lt_cv_dlopen_self_static in
12711
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12712
*) enable_dlopen_self_static=unknown ;;
12717
# Report which librarie types wil actually be built
12718
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12719
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
12720
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
12721
echo "${ECHO_T}$can_build_shared" >&6; }
12723
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12724
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
12725
test "$can_build_shared" = "no" && enable_shared=no
12727
# On AIX, shared libraries and static libraries use the same namespace, and
12728
# are all built from PIC.
12731
test "$enable_shared" = yes && enable_static=no
12732
if test -n "$RANLIB"; then
12733
archive_cmds="$archive_cmds~\$RANLIB \$lib"
12734
postinstall_cmds='$RANLIB $lib'
12739
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12740
test "$enable_shared" = yes && enable_static=no
12743
darwin* | rhapsody*)
12744
if test "$GCC" = yes; then
12745
archive_cmds_need_lc=no
12747
rhapsody* | darwin1.[012])
12748
allow_undefined_flag='-Wl,-undefined -Wl,suppress'
12751
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
12752
allow_undefined_flag='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
12754
case ${MACOSX_DEPLOYMENT_TARGET} in
12756
allow_undefined_flag='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
12759
allow_undefined_flag='-Wl,-undefined -Wl,dynamic_lookup'
12765
output_verbose_link_cmd='echo'
12766
archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring'
12767
module_cmds='$CC $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs'
12768
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
12769
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}'
12770
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}'
12772
hardcode_automatic=yes
12773
hardcode_shlibpath_var=unsupported
12774
whole_archive_flag_spec='-all_load $convenience'
12775
link_all_deplibs=yes
12781
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
12782
echo "${ECHO_T}$enable_shared" >&6; }
12784
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12785
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
12786
# Make sure either enable_shared or enable_static is yes.
12787
test "$enable_shared" = yes || enable_static=yes
12788
{ echo "$as_me:$LINENO: result: $enable_static" >&5
12789
echo "${ECHO_T}$enable_static" >&6; }
12791
# The else clause should only fire when bootstrapping the
12792
# libtool distribution, otherwise you forgot to ship ltmain.sh
12793
# with your package, and you will get complaints that there are
12794
# no rules to generate ltmain.sh.
12795
if test -f "$ltmain"; then
12796
# See if we are running on zsh, and set the options which allow our commands through
12797
# without removal of \ escapes.
12798
if test -n "${ZSH_VERSION+set}" ; then
12799
setopt NO_GLOB_SUBST
12801
# Now quote all the things that may contain metacharacters while being
12802
# careful not to overquote the AC_SUBSTed values. We take copies of the
12803
# variables and quote the copies for generation of the libtool script.
12804
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
12805
libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12806
old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12807
deplibs_check_method reload_flag reload_cmds need_locks \
12808
lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
12809
lt_cv_sys_global_symbol_to_c_name_address \
12810
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
12811
old_postinstall_cmds old_postuninstall_cmds \
12815
lt_prog_compiler_wl \
12816
lt_prog_compiler_pic \
12817
lt_prog_compiler_static \
12818
lt_prog_compiler_no_builtin_flag \
12819
export_dynamic_flag_spec \
12820
thread_safe_flag_spec \
12821
whole_archive_flag_spec \
12822
enable_shared_with_static_runtimes \
12824
old_archive_from_new_cmds \
12829
compiler_lib_search_path \
12831
archive_expsym_cmds \
12833
postuninstall_cmds \
12834
old_archive_from_expsyms_cmds \
12835
allow_undefined_flag \
12836
no_undefined_flag \
12837
export_symbols_cmds \
12838
hardcode_libdir_flag_spec \
12839
hardcode_libdir_flag_spec_ld \
12840
hardcode_libdir_separator \
12841
hardcode_automatic \
12843
module_expsym_cmds \
12844
lt_cv_prog_compiler_c_o \
12846
include_expsyms; do
12849
old_archive_cmds | \
12850
old_archive_from_new_cmds | \
12852
archive_expsym_cmds | \
12854
module_expsym_cmds | \
12855
old_archive_from_expsyms_cmds | \
12856
export_symbols_cmds | \
12857
extract_expsyms_cmds | reload_cmds | finish_cmds | \
12858
postinstall_cmds | postuninstall_cmds | \
12859
old_postinstall_cmds | old_postuninstall_cmds | \
12860
sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
12861
# Double-quote double-evaled strings.
12862
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
12865
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
12871
*'\$0 --fallback-echo"')
12872
lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
12876
cfgfile="${ofile}T"
12877
trap "$rm \"$cfgfile\"; exit 1" 1 2 15
12879
{ echo "$as_me:$LINENO: creating $ofile" >&5
12880
echo "$as_me: creating $ofile" >&6;}
12882
cat <<__EOF__ >> "$cfgfile"
12885
# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
12886
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
12887
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
12889
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
12890
# Free Software Foundation, Inc.
12892
# This file is part of GNU Libtool:
12893
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
12895
# This program is free software; you can redistribute it and/or modify
12896
# it under the terms of the GNU General Public License as published by
12897
# the Free Software Foundation; either version 2 of the License, or
12898
# (at your option) any later version.
12900
# This program is distributed in the hope that it will be useful, but
12901
# WITHOUT ANY WARRANTY; without even the implied warranty of
12902
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12903
# General Public License for more details.
12905
# You should have received a copy of the GNU General Public License
12906
# along with this program; if not, write to the Free Software
12907
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
12909
# As a special exception to the GNU General Public License, if you
12910
# distribute this file as part of a program that contains a
12911
# configuration script generated by Autoconf, you may include it under
12912
# the same distribution terms that you use for the rest of that program.
12914
# A sed program that does not truncate output.
12917
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
12918
Xsed="$SED -e s/^X//"
12920
# The HP-UX ksh and POSIX shell print the target directory to stdout
12921
# if CDPATH is set.
12922
if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
12924
# The names of the tagged configurations supported by this script.
12927
# ### BEGIN LIBTOOL CONFIG
12929
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12931
# Shell to use when invoking shell scripts.
12934
# Whether or not to build shared libraries.
12935
build_libtool_libs=$enable_shared
12937
# Whether or not to build static libraries.
12938
build_old_libs=$enable_static
12940
# Whether or not to add -lc for building shared libraries.
12941
build_libtool_need_lc=$archive_cmds_need_lc
12943
# Whether or not to disallow shared libs when runtime libs are static
12944
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
12946
# Whether or not to optimize for fast installation.
12947
fast_install=$enable_fast_install
12950
host_alias=$host_alias
12953
# An echo program that does not interpret backslashes.
12958
AR_FLAGS=$lt_AR_FLAGS
12963
# A language-specific compiler.
12966
# Is the compiler the GNU C compiler?
12972
# The linker used to build libraries.
12975
# Whether we need hard or soft links.
12978
# A BSD-compatible nm program.
12981
# A symbol stripping program
12984
# Used to examine libraries when file_magic_cmd begins "file"
12985
MAGIC_CMD=$MAGIC_CMD
12987
# Used on cygwin: DLL creation program.
12990
# Used on cygwin: object dumper.
12993
# Used on cygwin: assembler.
12996
# The name of the directory that contains temporary libtool files.
12999
# How to create reloadable object files.
13000
reload_flag=$lt_reload_flag
13001
reload_cmds=$lt_reload_cmds
13003
# How to pass a linker flag through the compiler.
13004
wl=$lt_lt_prog_compiler_wl
13006
# Object file suffix (normally "o").
13007
objext="$ac_objext"
13009
# Old archive suffix (normally "a").
13012
# Shared library suffix (normally ".so").
13015
# Executable file suffix (normally "").
13018
# Additional compiler flags for building library objects.
13019
pic_flag=$lt_lt_prog_compiler_pic
13022
# What is the maximum length of a command?
13023
max_cmd_len=$lt_cv_sys_max_cmd_len
13025
# Does compiler simultaneously support -c and -o options?
13026
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
13028
# Must we lock files when doing compilation ?
13029
need_locks=$lt_need_locks
13031
# Do we need the lib prefix for modules?
13032
need_lib_prefix=$need_lib_prefix
13034
# Do we need a version for libraries?
13035
need_version=$need_version
13037
# Whether dlopen is supported.
13038
dlopen_support=$enable_dlopen
13040
# Whether dlopen of programs is supported.
13041
dlopen_self=$enable_dlopen_self
13043
# Whether dlopen of statically linked programs is supported.
13044
dlopen_self_static=$enable_dlopen_self_static
13046
# Compiler flag to prevent dynamic linking.
13047
link_static_flag=$lt_lt_prog_compiler_static
13049
# Compiler flag to turn off builtin functions.
13050
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
13052
# Compiler flag to allow reflexive dlopens.
13053
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
13055
# Compiler flag to generate shared objects directly from archives.
13056
whole_archive_flag_spec=$lt_whole_archive_flag_spec
13058
# Compiler flag to generate thread-safe objects.
13059
thread_safe_flag_spec=$lt_thread_safe_flag_spec
13061
# Library versioning type.
13062
version_type=$version_type
13064
# Format of library name prefix.
13065
libname_spec=$lt_libname_spec
13067
# List of archive names. First name is the real one, the rest are links.
13068
# The last name is the one that the linker finds with -lNAME.
13069
library_names_spec=$lt_library_names_spec
13071
# The coded name of the library, if different from the real name.
13072
soname_spec=$lt_soname_spec
13074
# Commands used to build and install an old-style archive.
13076
old_archive_cmds=$lt_old_archive_cmds
13077
old_postinstall_cmds=$lt_old_postinstall_cmds
13078
old_postuninstall_cmds=$lt_old_postuninstall_cmds
13080
# Create an old-style archive from a shared archive.
13081
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
13083
# Create a temporary old-style archive to link instead of a shared archive.
13084
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
13086
# Commands used to build and install a shared archive.
13087
archive_cmds=$lt_archive_cmds
13088
archive_expsym_cmds=$lt_archive_expsym_cmds
13089
postinstall_cmds=$lt_postinstall_cmds
13090
postuninstall_cmds=$lt_postuninstall_cmds
13092
# Commands used to build a loadable module (assumed same as above if empty)
13093
module_cmds=$lt_module_cmds
13094
module_expsym_cmds=$lt_module_expsym_cmds
13096
# Commands to strip libraries.
13097
old_striplib=$lt_old_striplib
13098
striplib=$lt_striplib
13100
# Dependencies to place before the objects being linked to create a
13102
predep_objects=$lt_predep_objects
13104
# Dependencies to place after the objects being linked to create a
13106
postdep_objects=$lt_postdep_objects
13108
# Dependencies to place before the objects being linked to create a
13110
predeps=$lt_predeps
13112
# Dependencies to place after the objects being linked to create a
13114
postdeps=$lt_postdeps
13116
# The library search path used internally by the compiler when linking
13117
# a shared library.
13118
compiler_lib_search_path=$lt_compiler_lib_search_path
13120
# Method to check whether dependent libraries are shared objects.
13121
deplibs_check_method=$lt_deplibs_check_method
13123
# Command to use when deplibs_check_method == file_magic.
13124
file_magic_cmd=$lt_file_magic_cmd
13126
# Flag that allows shared libraries with undefined symbols to be built.
13127
allow_undefined_flag=$lt_allow_undefined_flag
13129
# Flag that forces no undefined symbols.
13130
no_undefined_flag=$lt_no_undefined_flag
13132
# Commands used to finish a libtool library installation in a directory.
13133
finish_cmds=$lt_finish_cmds
13135
# Same as above, but a single script fragment to be evaled but not shown.
13136
finish_eval=$lt_finish_eval
13138
# Take the output of nm and produce a listing of raw symbols and C names.
13139
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13141
# Transform the output of nm in a proper C declaration
13142
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13144
# Transform the output of nm in a C name address pair
13145
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13147
# This is the shared library runtime path variable.
13148
runpath_var=$runpath_var
13150
# This is the shared library path variable.
13151
shlibpath_var=$shlibpath_var
13153
# Is shlibpath searched before the hard-coded library search path?
13154
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13156
# How to hardcode a shared library path into an executable.
13157
hardcode_action=$hardcode_action
13159
# Whether we should hardcode library paths into libraries.
13160
hardcode_into_libs=$hardcode_into_libs
13162
# Flag to hardcode \$libdir into a binary during linking.
13163
# This must work even if \$libdir does not exist.
13164
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
13166
# If ld is used when linking, flag to hardcode \$libdir into
13167
# a binary during linking. This must work even if \$libdir does
13169
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
13171
# Whether we need a single -rpath flag with a separated argument.
13172
hardcode_libdir_separator=$lt_hardcode_libdir_separator
13174
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13175
# resulting binary.
13176
hardcode_direct=$hardcode_direct
13178
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13179
# resulting binary.
13180
hardcode_minus_L=$hardcode_minus_L
13182
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13183
# the resulting binary.
13184
hardcode_shlibpath_var=$hardcode_shlibpath_var
13186
# Set to yes if building a shared library automatically hardcodes DIR into the library
13187
# and all subsequent libraries and executables linked against it.
13188
hardcode_automatic=$hardcode_automatic
13190
# Variables whose values should be saved in libtool wrapper scripts and
13191
# restored at relink time.
13192
variables_saved_for_relink="$variables_saved_for_relink"
13194
# Whether libtool must link a program against all its dependency libraries.
13195
link_all_deplibs=$link_all_deplibs
13197
# Compile-time system search path for libraries
13198
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13200
# Run-time system search path for libraries
13201
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13203
# Fix the shell variable \$srcfile for the compiler.
13204
fix_srcfile_path="$fix_srcfile_path"
13206
# Set to yes if exported symbols are required.
13207
always_export_symbols=$always_export_symbols
13209
# The commands to list exported symbols.
13210
export_symbols_cmds=$lt_export_symbols_cmds
13212
# The commands to extract the exported symbol list from a shared archive.
13213
extract_expsyms_cmds=$lt_extract_expsyms_cmds
13215
# Symbols that should not be listed in the preloaded symbols.
13216
exclude_expsyms=$lt_exclude_expsyms
13218
# Symbols that must always be exported.
13219
include_expsyms=$lt_include_expsyms
13221
# ### END LIBTOOL CONFIG
13228
cat <<\EOF >> "$cfgfile"
13230
# AIX sometimes has problems with the GCC collect2 program. For some
13231
# reason, if we set the COLLECT_NAMES environment variable, the problems
13232
# vanish in a puff of smoke.
13233
if test "X${COLLECT_NAMES+set}" != Xset; then
13235
export COLLECT_NAMES
13241
# We use sed instead of cat because bash on DJGPP gets confused if
13242
# if finds mixed CR/LF and LF-only lines. Since sed operates in
13243
# text mode, it properly converts lines to CR/LF. This bash problem
13244
# is reportedly fixed, but why not run on old versions too?
13245
sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
13247
mv -f "$cfgfile" "$ofile" || \
13248
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
13252
# If there is no Makefile yet, we rely on a make rule to execute
13253
# `config.status --recheck' to rerun these tests and create the
13254
# libtool script then.
13255
test -f Makefile && make "$ltmain"
13260
ac_cpp='$CPP $CPPFLAGS'
13261
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13262
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13263
ac_compiler_gnu=$ac_cv_c_compiler_gnu
13268
# Check whether --with-tags was given.
13269
if test "${with_tags+set}" = set; then
13270
withval=$with_tags; tagnames="$withval"
13274
if test -f "$ltmain" && test -n "$tagnames"; then
13275
if test ! -f "${ofile}"; then
13276
{ echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
13277
echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
13280
if test -z "$LTCC"; then
13281
eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
13282
if test -z "$LTCC"; then
13283
{ echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
13284
echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
13286
{ echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
13287
echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
13291
# Extract list of available tagged configurations in $ofile.
13292
# Note that this assumes the entire list is on one line.
13293
available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
13295
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
13296
for tagname in $tagnames; do
13298
# Check whether tagname contains only valid characters
13299
case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
13301
*) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
13302
echo "$as_me: error: invalid tag name: $tagname" >&2;}
13303
{ (exit 1); exit 1; }; }
13307
if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
13309
{ { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
13310
echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
13311
{ (exit 1); exit 1; }; }
13314
# Update the list of available tags.
13315
if test -n "$tagname"; then
13316
echo appending configuration tag \"$tagname\" to $ofile
13320
if test -n "$CXX" && test "X$CXX" != "Xno"; then
13322
ac_cpp='$CXXCPP $CPPFLAGS'
13323
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13324
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13325
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13330
archive_cmds_need_lc_CXX=no
13331
allow_undefined_flag_CXX=
13332
always_export_symbols_CXX=no
13333
archive_expsym_cmds_CXX=
13334
export_dynamic_flag_spec_CXX=
13335
hardcode_direct_CXX=no
13336
hardcode_libdir_flag_spec_CXX=
13337
hardcode_libdir_flag_spec_ld_CXX=
13338
hardcode_libdir_separator_CXX=
13339
hardcode_minus_L_CXX=no
13340
hardcode_automatic_CXX=no
13342
module_expsym_cmds_CXX=
13343
link_all_deplibs_CXX=unknown
13344
old_archive_cmds_CXX=$old_archive_cmds
13345
no_undefined_flag_CXX=
13346
whole_archive_flag_spec_CXX=
13347
enable_shared_with_static_runtimes_CXX=no
13349
# Dependencies to place before and after the object being linked:
13350
predep_objects_CXX=
13351
postdep_objects_CXX=
13354
compiler_lib_search_path_CXX=
13356
# Source file extension for C++ test sources.
13359
# Object file extension for compiled C++ test sources.
13363
# Code to be used in simple compile tests
13364
lt_simple_compile_test_code="int some_variable = 0;\n"
13366
# Code to be used in simple link tests
13367
lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
13369
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
13371
# If no C compiler was specified, use CC.
13374
# Allow CC to be a program name with arguments.
13378
# Allow CC to be a program name with arguments.
13383
lt_save_with_gnu_ld=$with_gnu_ld
13384
lt_save_path_LD=$lt_cv_path_LD
13385
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13386
lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
13388
unset lt_cv_prog_gnu_ld
13390
if test -n "${lt_cv_path_LDCXX+set}"; then
13391
lt_cv_path_LD=$lt_cv_path_LDCXX
13393
unset lt_cv_path_LD
13395
test -z "${LDCXX+set}" || LD=$LDCXX
13399
cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
13401
# We don't want -fno-exception wen compiling C++ code, so set the
13402
# no_builtin_flag separately
13403
if test "$GXX" = yes; then
13404
lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
13406
lt_prog_compiler_no_builtin_flag_CXX=
13409
if test "$GXX" = yes; then
13410
# Set up default GNU C++ configuration
13413
# Check whether --with-gnu-ld was given.
13414
if test "${with_gnu_ld+set}" = set; then
13415
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
13421
if test "$GCC" = yes; then
13422
# Check if gcc -print-prog-name=ld gives a path.
13423
{ echo "$as_me:$LINENO: checking for ld used by $CC" >&5
13424
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
13427
# gcc leaves a trailing carriage return which upsets mingw
13428
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13430
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13433
# Accept absolute paths.
13435
re_direlt='/[^/][^/]*/\.\./'
13436
# Canonicalize the pathname of ld
13437
ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
13438
while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
13439
ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
13441
test -z "$LD" && LD="$ac_prog"
13444
# If it fails, then pretend we aren't using GCC.
13448
# If it is relative, then search for the first ld in PATH.
13449
with_gnu_ld=unknown
13452
elif test "$with_gnu_ld" = yes; then
13453
{ echo "$as_me:$LINENO: checking for GNU ld" >&5
13454
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
13456
{ echo "$as_me:$LINENO: checking for non-GNU ld" >&5
13457
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
13459
if test "${lt_cv_path_LD+set}" = set; then
13460
echo $ECHO_N "(cached) $ECHO_C" >&6
13462
if test -z "$LD"; then
13463
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
13464
for ac_dir in $PATH; do
13466
test -z "$ac_dir" && ac_dir=.
13467
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13468
lt_cv_path_LD="$ac_dir/$ac_prog"
13469
# Check to see if the program is GNU ld. I'd rather use --version,
13470
# but apparently some GNU ld's only accept -v.
13471
# Break only if it was the GNU/non-GNU ld that we prefer.
13472
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13473
*GNU* | *'with BFD'*)
13474
test "$with_gnu_ld" != no && break
13477
test "$with_gnu_ld" != yes && break
13484
lt_cv_path_LD="$LD" # Let the user override the test with a path.
13488
LD="$lt_cv_path_LD"
13489
if test -n "$LD"; then
13490
{ echo "$as_me:$LINENO: result: $LD" >&5
13491
echo "${ECHO_T}$LD" >&6; }
13493
{ echo "$as_me:$LINENO: result: no" >&5
13494
echo "${ECHO_T}no" >&6; }
13496
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
13497
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
13498
{ (exit 1); exit 1; }; }
13499
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
13500
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
13501
if test "${lt_cv_prog_gnu_ld+set}" = set; then
13502
echo $ECHO_N "(cached) $ECHO_C" >&6
13504
# I'd rather use --version here, but apparently some GNU ld's only accept -v.
13505
case `$LD -v 2>&1 </dev/null` in
13506
*GNU* | *'with BFD'*)
13507
lt_cv_prog_gnu_ld=yes
13510
lt_cv_prog_gnu_ld=no
13514
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
13515
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
13516
with_gnu_ld=$lt_cv_prog_gnu_ld
13520
# Check if GNU C++ uses GNU ld as the underlying linker, since the
13521
# archiving commands below assume that GNU ld is being used.
13522
if test "$with_gnu_ld" = yes; then
13523
archive_cmds_CXX='$CC -shared -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $wl$soname -o $lib'
13524
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'
13526
hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13527
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13529
# If archive_cmds runs LD, not CC, wlarc should be empty
13530
# XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13531
# investigate it a little bit more. (MM)
13534
# ancient GNU ld didn't support --whole-archive et. al.
13535
if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
13536
grep 'no-whole-archive' > /dev/null; then
13537
whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13539
whole_archive_flag_spec_CXX=
13545
# A generic and very simple default shared library creation
13546
# command for GNU C++ for the case where it uses the native
13547
# linker, instead of GNU ld. If possible, this setting should
13548
# overridden to take advantage of the native linker features on
13549
# the platform it is being used on.
13550
archive_cmds_CXX='$CC -shared -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects -o $lib'
13553
# Commands to make compiler produce verbose output that lists
13554
# what "hidden" libraries, object files and flags are used when
13555
# linking a shared library.
13556
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
13564
# PORTME: fill in a description of your system's C++ link characteristics
13565
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13566
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
13570
# FIXME: insert proper C++ library support
13574
if test "$host_cpu" = ia64; then
13575
# On IA64, the linker does run time linking by default, so we don't
13576
# have to do anything special.
13577
aix_use_runtimelinking=no
13578
exp_sym_flag='-Bexport'
13581
# KDE requires run time linking. Make it the default.
13582
aix_use_runtimelinking=yes
13583
exp_sym_flag='-bexport'
13584
no_entry_flag='-bnoentry'
13587
# When large executables or shared objects are built, AIX ld can
13588
# have problems creating the table of contents. If linking a library
13589
# or program results in "error TOC overflow" add -mminimal-toc to
13590
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13591
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13593
archive_cmds_CXX=''
13594
hardcode_direct_CXX=yes
13595
hardcode_libdir_separator_CXX=':'
13596
link_all_deplibs_CXX=yes
13598
if test "$GXX" = yes; then
13599
case $host_os in aix4.012|aix4.012.*)
13600
# We only want to do this on AIX 4.2 and lower, the check
13601
# below for broken collect2 doesn't work under 4.3+
13602
collect2name=`${CC} -print-prog-name=collect2`
13603
if test -f "$collect2name" && \
13604
strings "$collect2name" | grep resolve_lib_name >/dev/null
13606
# We have reworked collect2
13607
hardcode_direct_CXX=yes
13609
# We have old collect2
13610
hardcode_direct_CXX=unsupported
13611
# It fails to find uninstalled libraries when the uninstalled
13612
# path is not listed in the libpath. Setting hardcode_minus_L
13613
# to unsupported forces relinking
13614
hardcode_minus_L_CXX=yes
13615
hardcode_libdir_flag_spec_CXX='-L$libdir'
13616
hardcode_libdir_separator_CXX=
13619
shared_flag='-shared'
13622
if test "$host_cpu" = ia64; then
13623
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13624
# chokes on -Wl,-G. The following line is correct:
13627
if test "$aix_use_runtimelinking" = yes; then
13628
shared_flag='-qmkshrobj ${wl}-G'
13630
shared_flag='-qmkshrobj'
13635
# Let the compiler handle the export list.
13636
always_export_symbols_CXX=no
13637
if test "$aix_use_runtimelinking" = yes; then
13638
# Warning - without using the other runtime loading flags (-brtl),
13639
# -berok will link without error, but may produce a broken library.
13640
allow_undefined_flag_CXX='-berok'
13641
# Determine the default libpath from the value encoded in an empty executable.
13642
cat >conftest.$ac_ext <<_ACEOF
13645
cat confdefs.h >>conftest.$ac_ext
13646
cat >>conftest.$ac_ext <<_ACEOF
13647
/* end confdefs.h. */
13657
rm -f conftest.$ac_objext conftest$ac_exeext
13658
if { (ac_try="$ac_link"
13659
case "(($ac_try" in
13660
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13661
*) ac_try_echo=$ac_try;;
13663
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13664
(eval "$ac_link") 2>conftest.er1
13666
grep -v '^ *+' conftest.er1 >conftest.err
13668
cat conftest.err >&5
13669
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13670
(exit $ac_status); } && {
13671
test -z "$ac_cxx_werror_flag" ||
13672
test ! -s conftest.err
13673
} && test -s conftest$ac_exeext &&
13674
$as_test_x conftest$ac_exeext; then
13676
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13678
# Check for a 64-bit object if we didn't find anything.
13679
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; }
13682
echo "$as_me: failed program was:" >&5
13683
sed 's/^/| /' conftest.$ac_ext >&5
13688
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13689
conftest$ac_exeext conftest.$ac_ext
13690
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13692
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13694
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"
13695
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"
13697
if test "$host_cpu" = ia64; then
13698
hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
13699
allow_undefined_flag_CXX="-z nodefs"
13700
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"
13702
# Determine the default libpath from the value encoded in an empty executable.
13703
cat >conftest.$ac_ext <<_ACEOF
13706
cat confdefs.h >>conftest.$ac_ext
13707
cat >>conftest.$ac_ext <<_ACEOF
13708
/* end confdefs.h. */
13718
rm -f conftest.$ac_objext conftest$ac_exeext
13719
if { (ac_try="$ac_link"
13720
case "(($ac_try" in
13721
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13722
*) ac_try_echo=$ac_try;;
13724
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13725
(eval "$ac_link") 2>conftest.er1
13727
grep -v '^ *+' conftest.er1 >conftest.err
13729
cat conftest.err >&5
13730
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13731
(exit $ac_status); } && {
13732
test -z "$ac_cxx_werror_flag" ||
13733
test ! -s conftest.err
13734
} && test -s conftest$ac_exeext &&
13735
$as_test_x conftest$ac_exeext; then
13737
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13739
# Check for a 64-bit object if we didn't find anything.
13740
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; }
13743
echo "$as_me: failed program was:" >&5
13744
sed 's/^/| /' conftest.$ac_ext >&5
13749
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13750
conftest$ac_exeext conftest.$ac_ext
13751
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13753
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13754
# Warning - without using the other run time loading flags,
13755
# -berok will link without error, but may produce a broken library.
13756
no_undefined_flag_CXX=' ${wl}-bernotok'
13757
allow_undefined_flag_CXX=' ${wl}-berok'
13758
# -bexpall does not export symbols beginning with underscore (_)
13759
always_export_symbols_CXX=yes
13760
# Exported symbols can be pulled into shared objects from archives
13761
whole_archive_flag_spec_CXX=' '
13762
archive_cmds_need_lc_CXX=yes
13763
# This is similar to how AIX traditionally builds it's shared libraries.
13764
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'
13769
case $cc_basename in
13771
# FIXME: insert proper C++ library support
13777
cygwin* | mingw* | pw32*)
13778
# _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13779
# as there is no search path for DLLs.
13780
hardcode_libdir_flag_spec_CXX='-L$libdir'
13781
allow_undefined_flag_CXX=no
13782
always_export_symbols_CXX=no
13783
enable_shared_with_static_runtimes_CXX=yes
13785
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
13786
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'
13787
# If the export-symbols file already is a .def file (1st line
13788
# is EXPORTS), use it as is; otherwise, prepend...
13789
archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13790
cp $export_symbols $output_objdir/$soname.def;
13792
echo EXPORTS > $output_objdir/$soname.def;
13793
cat $export_symbols >> $output_objdir/$soname.def;
13795
$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'
13801
darwin* | rhapsody*)
13802
if test "$GXX" = yes; then
13803
archive_cmds_need_lc_CXX=no
13805
rhapsody* | darwin1.[012])
13806
allow_undefined_flag_CXX='-Wl,-undefined -Wl,suppress'
13809
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
13810
allow_undefined_flag_CXX='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
13812
case ${MACOSX_DEPLOYMENT_TARGET} in
13814
allow_undefined_flag_CXX='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
13817
allow_undefined_flag_CXX='-Wl,-undefined -Wl,dynamic_lookup'
13823
lt_int_apple_cc_single_mod=no
13824
output_verbose_link_cmd='echo'
13825
if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
13826
lt_int_apple_cc_single_mod=yes
13828
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13829
archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring'
13831
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'
13833
module_cmds_CXX='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs'
13835
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
13836
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13837
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}'
13839
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}'
13841
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}'
13842
hardcode_direct_CXX=no
13843
hardcode_automatic_CXX=yes
13844
hardcode_shlibpath_var_CXX=unsupported
13845
whole_archive_flag_spec_CXX='-all_load $convenience'
13846
link_all_deplibs_CXX=yes
13853
case $cc_basename in
13855
# FIXME: insert proper C++ library support
13859
# Green Hills C++ Compiler
13860
# FIXME: insert proper C++ library support
13864
# FIXME: insert proper C++ library support
13870
# C++ shared libraries reported to be fairly broken before switch to ELF
13874
archive_cmds_need_lc_CXX=no
13876
freebsd* | kfreebsd*-gnu)
13877
# FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13884
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13885
hardcode_libdir_separator_CXX=:
13886
export_dynamic_flag_spec_CXX='${wl}-E'
13887
hardcode_direct_CXX=yes
13888
hardcode_minus_L_CXX=yes # Not in the search PATH,
13889
# but as the default
13890
# location of the library.
13892
case $cc_basename in
13894
# FIXME: insert proper C++ library support
13898
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'
13899
# Commands to make compiler produce verbose output that lists
13900
# what "hidden" libraries, object files and flags are used when
13901
# linking a shared library.
13903
# There doesn't appear to be a way to prevent this compiler from
13904
# explicitly linking system object files so we need to strip them
13905
# from the output so that they don't get included in the library
13907
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'
13910
if test "$GXX" = yes; then
13911
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'
13913
# FIXME: insert proper C++ library support
13920
if test $with_gnu_ld = no; then
13921
case "$host_cpu" in
13923
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13924
hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
13925
hardcode_libdir_separator_CXX=:
13928
hardcode_libdir_flag_spec_CXX='-L$libdir'
13931
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13932
hardcode_libdir_separator_CXX=:
13933
export_dynamic_flag_spec_CXX='${wl}-E'
13937
case "$host_cpu" in
13939
hardcode_direct_CXX=no
13940
hardcode_shlibpath_var_CXX=no
13943
hardcode_direct_CXX=no
13944
hardcode_shlibpath_var_CXX=no
13945
hardcode_minus_L_CXX=yes # Not in the search PATH,
13946
# but as the default
13947
# location of the library.
13950
hardcode_direct_CXX=yes
13951
hardcode_minus_L_CXX=yes # Not in the search PATH,
13952
# but as the default
13953
# location of the library.
13957
case $cc_basename in
13959
# FIXME: insert proper C++ library support
13963
case "$host_cpu" in
13965
archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
13968
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects'
13971
# Commands to make compiler produce verbose output that lists
13972
# what "hidden" libraries, object files and flags are used when
13973
# linking a shared library.
13975
# There doesn't appear to be a way to prevent this compiler from
13976
# explicitly linking system object files so we need to strip them
13977
# from the output so that they don't get included in the library
13979
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'
13982
if test "$GXX" = yes; then
13983
if test $with_gnu_ld = no; then
13984
case "$host_cpu" in
13986
archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
13989
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'
13994
# FIXME: insert proper C++ library support
14001
case $cc_basename in
14004
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'
14006
# Archives containing C++ object files must be created using
14007
# "CC -ar", where "CC" is the IRIX C++ compiler. This is
14008
# necessary to make sure instantiated templates are included
14010
old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
14013
if test "$GXX" = yes; then
14014
if test "$with_gnu_ld" = no; then
14015
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'
14017
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'
14020
link_all_deplibs_CXX=yes
14023
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14024
hardcode_libdir_separator_CXX=:
14027
case $cc_basename in
14029
# Kuck and Associates, Inc. (KAI) C++ Compiler
14031
# KCC will only create a shared library if the output file
14032
# ends with ".so" (or ".sl" for HP-UX), so rename the library
14033
# to its proper name (with version) after linking.
14034
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'
14035
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'
14036
# Commands to make compiler produce verbose output that lists
14037
# what "hidden" libraries, object files and flags are used when
14038
# linking a shared library.
14040
# There doesn't appear to be a way to prevent this compiler from
14041
# explicitly linking system object files so we need to strip them
14042
# from the output so that they don't get included in the library
14044
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'
14046
hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
14047
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14049
# Archives containing C++ object files must be created using
14050
# "CC -Bstatic", where "CC" is the KAI C++ compiler.
14051
old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
14056
archive_cmds_need_lc_CXX=no
14057
archive_cmds_CXX='$CC -shared $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $wl$soname -o $lib'
14058
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'
14059
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14060
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14061
whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14065
archive_cmds_CXX='$CC -shared $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $wl$soname -o $lib'
14066
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'
14068
runpath_var=LD_RUN_PATH
14069
hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14070
hardcode_libdir_separator_CXX=:
14072
# Commands to make compiler produce verbose output that lists
14073
# what "hidden" libraries, object files and flags are used when
14074
# linking a shared library.
14076
# There doesn't appear to be a way to prevent this compiler from
14077
# explicitly linking system object files so we need to strip them
14078
# from the output so that they don't get included in the library
14080
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'
14085
# FIXME: insert proper C++ library support
14089
# FIXME: insert proper C++ library support
14093
case $cc_basename in
14095
# FIXME: insert proper C++ library support
14099
# FIXME: insert proper C++ library support
14105
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14106
archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14108
hardcode_libdir_flag_spec_CXX='-R$libdir'
14109
hardcode_direct_CXX=yes
14110
hardcode_shlibpath_var_CXX=no
14112
# Workaround some broken pre-1.5 toolchains
14113
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14116
case $cc_basename in
14118
# Kuck and Associates, Inc. (KAI) C++ Compiler
14120
# KCC will only create a shared library if the output file
14121
# ends with ".so" (or ".sl" for HP-UX), so rename the library
14122
# to its proper name (with version) after linking.
14123
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'
14125
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14126
hardcode_libdir_separator_CXX=:
14128
# Archives containing C++ object files must be created using
14129
# "CC -Bstatic", where "CC" is the KAI C++ compiler.
14130
old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
14134
# Rational C++ 2.4.1
14135
# FIXME: insert proper C++ library support
14139
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14140
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'
14142
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14143
hardcode_libdir_separator_CXX=:
14145
# Commands to make compiler produce verbose output that lists
14146
# what "hidden" libraries, object files and flags are used when
14147
# linking a shared library.
14149
# There doesn't appear to be a way to prevent this compiler from
14150
# explicitly linking system object files so we need to strip them
14151
# from the output so that they don't get included in the library
14153
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'
14156
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14157
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14158
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'
14160
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14161
hardcode_libdir_separator_CXX=:
14163
# Commands to make compiler produce verbose output that lists
14164
# what "hidden" libraries, object files and flags are used when
14165
# linking a shared library.
14166
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
14169
# FIXME: insert proper C++ library support
14176
case $cc_basename in
14178
# Kuck and Associates, Inc. (KAI) C++ Compiler
14180
# KCC will only create a shared library if the output file
14181
# ends with ".so" (or ".sl" for HP-UX), so rename the library
14182
# to its proper name (with version) after linking.
14183
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'
14185
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14186
hardcode_libdir_separator_CXX=:
14188
# Archives containing C++ object files must be created using
14189
# the KAI C++ compiler.
14190
old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
14193
# Rational C++ 2.4.1
14194
# FIXME: insert proper C++ library support
14198
allow_undefined_flag_CXX=' -expect_unresolved \*'
14199
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'
14200
archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14201
echo "-hidden">> $lib.exp~
14202
$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~
14205
hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14206
hardcode_libdir_separator_CXX=:
14208
# Commands to make compiler produce verbose output that lists
14209
# what "hidden" libraries, object files and flags are used when
14210
# linking a shared library.
14212
# There doesn't appear to be a way to prevent this compiler from
14213
# explicitly linking system object files so we need to strip them
14214
# from the output so that they don't get included in the library
14216
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'
14219
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14220
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14221
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'
14223
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14224
hardcode_libdir_separator_CXX=:
14226
# Commands to make compiler produce verbose output that lists
14227
# what "hidden" libraries, object files and flags are used when
14228
# linking a shared library.
14229
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
14232
# FIXME: insert proper C++ library support
14239
# FIXME: insert proper C++ library support
14243
archive_cmds_need_lc_CXX=no
14244
case $cc_basename in
14246
# FIXME: insert proper C++ library support
14250
# FIXME: insert proper C++ library support
14256
case $cc_basename in
14259
# FIXME: insert proper C++ library support
14264
# FIXME: insert proper C++ library support
14268
# FIXME: insert proper C++ library support
14274
case $cc_basename in
14276
# Sun C++ 4.2, 5.x and Centerline C++
14277
no_undefined_flag_CXX=' -zdefs'
14278
archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects'
14279
archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14280
$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'
14282
hardcode_libdir_flag_spec_CXX='-R$libdir'
14283
hardcode_shlibpath_var_CXX=no
14285
solaris2.0-5 | solaris2.0-5.*) ;;
14287
# The C++ compiler is used as linker so we must use $wl
14288
# flag to pass the commands to the underlying system
14290
# Supported since Solaris 2.6 (maybe 2.5.1?)
14291
whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14294
link_all_deplibs_CXX=yes
14296
# Commands to make compiler produce verbose output that lists
14297
# what "hidden" libraries, object files and flags are used when
14298
# linking a shared library.
14300
# There doesn't appear to be a way to prevent this compiler from
14301
# explicitly linking system object files so we need to strip them
14302
# from the output so that they don't get included in the library
14304
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'
14306
# Archives containing C++ object files must be created using
14307
# "CC -xar", where "CC" is the Sun C++ compiler. This is
14308
# necessary to make sure instantiated templates are included
14310
old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14313
# Green Hills C++ Compiler
14314
archive_cmds_CXX='$CC -shared $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-h $wl$soname -o $lib'
14316
# The C++ compiler must be used to create the archive.
14317
old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14320
# GNU C++ compiler with Solaris linker
14321
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14322
no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
14323
if $CC --version | grep -v '^2\.7' > /dev/null; then
14324
archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-h $wl$soname -o $lib'
14325
archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14326
$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects~$rm $lib.exp'
14328
# Commands to make compiler produce verbose output that lists
14329
# what "hidden" libraries, object files and flags are used when
14330
# linking a shared library.
14331
output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
14333
# g++ 2.7 appears to require `-G' NOT `-shared' on this
14335
archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-h $wl$soname -o $lib'
14336
archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14337
$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects~$rm $lib.exp'
14339
# Commands to make compiler produce verbose output that lists
14340
# what "hidden" libraries, object files and flags are used when
14341
# linking a shared library.
14342
output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
14345
hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
14350
sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
14351
archive_cmds_need_lc_CXX=no
14354
case $cc_basename in
14356
# NonStop-UX NCC 3.20
14357
# FIXME: insert proper C++ library support
14361
# FIXME: insert proper C++ library support
14367
# FIXME: insert proper C++ library support
14371
# FIXME: insert proper C++ library support
14375
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
14376
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
14377
test "$ld_shlibs_CXX" = no && can_build_shared=no
14383
## There is no encapsulation within the following macros, do not change
14384
## the running order or otherwise move them around unless you know exactly
14385
## what you are doing...
14387
cat > conftest.$ac_ext <<EOF
14391
Foo (void) { a = 0; }
14397
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14398
(eval $ac_compile) 2>&5
14400
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14401
(exit $ac_status); }; then
14402
# Parse the compiler output and extract the necessary
14403
# objects, libraries and library flags.
14405
# Sentinel used to keep track of whether or not we are before
14406
# the conftest object file.
14407
pre_test_object_deps_done=no
14409
# The `*' in the case matches for architectures that use `case' in
14410
# $output_verbose_cmd can trigger glob expansion during the loop
14411
# eval without this substitution.
14412
output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
14414
for p in `eval $output_verbose_link_cmd`; do
14418
# Some compilers place space between "-{L,R}" and the path.
14419
# Remove the space.
14420
if test $p = "-L" \
14421
|| test $p = "-R"; then
14428
if test "$pre_test_object_deps_done" = no; then
14431
# Internal compiler library paths should come after those
14432
# provided the user. The postdeps already come after the
14433
# user supplied libs so there is no need to process them.
14434
if test -z "$compiler_lib_search_path_CXX"; then
14435
compiler_lib_search_path_CXX="${prev}${p}"
14437
compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
14440
# The "-l" case would never come before the object being
14441
# linked, so don't bother handling this case.
14444
if test -z "$postdeps_CXX"; then
14445
postdeps_CXX="${prev}${p}"
14447
postdeps_CXX="${postdeps_CXX} ${prev}${p}"
14452
*.$objext|*.$libext)
14453
# This assumes that the test object file only shows up
14454
# once in the compiler output.
14455
if test "$p" = "conftest.$objext"; then
14456
pre_test_object_deps_done=yes
14460
if test "$pre_test_object_deps_done" = no; then
14461
if test -z "$predep_objects_CXX"; then
14462
predep_objects_CXX="$p"
14464
predep_objects_CXX="$predep_objects_CXX $p"
14467
if test -z "$postdep_objects_CXX"; then
14468
postdep_objects_CXX="$p"
14470
postdep_objects_CXX="$postdep_objects_CXX $p"
14475
*) ;; # Ignore the rest.
14483
echo "libtool.m4: error: problem compiling CXX test program"
14486
$rm -f confest.$objext
14488
case " $postdeps_CXX " in
14489
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
14492
lt_prog_compiler_wl_CXX=
14493
lt_prog_compiler_pic_CXX=
14494
lt_prog_compiler_static_CXX=
14496
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14497
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
14499
# C++ specific cases for pic, static, wl, etc.
14500
if test "$GXX" = yes; then
14501
lt_prog_compiler_wl_CXX='-Wl,'
14502
lt_prog_compiler_static_CXX='-static'
14506
# All AIX code is PIC.
14507
if test "$host_cpu" = ia64; then
14508
# AIX 5 now supports IA64 processor
14509
lt_prog_compiler_static_CXX='-Bstatic'
14513
# FIXME: we need at least 68020 code to build shared libraries, but
14514
# adding the `-m68020' flag to GCC prevents building anything better,
14516
lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
14518
beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14519
# PIC is the default for these OSes.
14521
mingw* | os2* | pw32*)
14522
# This hack is so that the source file can tell whether it is being
14523
# built for inclusion in a dll (and should export symbols for example).
14524
lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14526
darwin* | rhapsody*)
14527
# PIC is the default on this platform
14528
# Common symbols not allowed in MH_DYLIB files
14529
lt_prog_compiler_pic_CXX='-fno-common'
14532
# DJGPP does not support shared libraries at all
14533
lt_prog_compiler_pic_CXX=
14536
if test -d /usr/nec; then
14537
lt_prog_compiler_pic_CXX=-Kconform_pic
14541
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14542
# not for PA HP-UX.
14543
case "$host_cpu" in
14547
lt_prog_compiler_pic_CXX='-fPIC'
14552
lt_prog_compiler_pic_CXX='-fPIC'
14558
# All AIX code is PIC.
14559
if test "$host_cpu" = ia64; then
14560
# AIX 5 now supports IA64 processor
14561
lt_prog_compiler_static_CXX='-Bstatic'
14563
lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14567
case $cc_basename in
14569
# Green Hills C++ Compiler
14570
# _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"
14575
case $cc_basename in
14577
lt_prog_compiler_pic_CXX='-KPIC'
14580
# Green Hills C++ Compiler
14581
lt_prog_compiler_pic_CXX='-pic'
14587
freebsd* | kfreebsd*-gnu)
14588
# FreeBSD uses GNU C++
14590
hpux9* | hpux10* | hpux11*)
14591
case $cc_basename in
14593
lt_prog_compiler_wl_CXX='-Wl,'
14594
lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
14595
if test "$host_cpu" != ia64; then
14596
lt_prog_compiler_pic_CXX='+Z'
14600
lt_prog_compiler_wl_CXX='-Wl,'
14601
lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
14602
case "$host_cpu" in
14607
lt_prog_compiler_pic_CXX='+Z'
14615
irix5* | irix6* | nonstopux*)
14616
case $cc_basename in
14618
lt_prog_compiler_wl_CXX='-Wl,'
14619
lt_prog_compiler_static_CXX='-non_shared'
14620
# CC pic flag -KPIC is the default.
14627
case $cc_basename in
14630
lt_prog_compiler_wl_CXX='--backend -Wl,'
14631
lt_prog_compiler_pic_CXX='-fPIC'
14635
lt_prog_compiler_wl_CXX='-Wl,'
14636
lt_prog_compiler_pic_CXX='-KPIC'
14637
lt_prog_compiler_static_CXX='-static'
14641
# Make sure the PIC flag is empty. It appears that all Alpha
14642
# Linux and Compaq Tru64 Unix objects are PIC.
14643
lt_prog_compiler_pic_CXX=
14644
lt_prog_compiler_static_CXX='-non_shared'
14655
case $cc_basename in
14657
lt_prog_compiler_pic_CXX='-W c,exportall'
14665
osf3* | osf4* | osf5*)
14666
case $cc_basename in
14668
lt_prog_compiler_wl_CXX='--backend -Wl,'
14671
# Rational C++ 2.4.1
14672
lt_prog_compiler_pic_CXX='-pic'
14675
# Digital/Compaq C++
14676
lt_prog_compiler_wl_CXX='-Wl,'
14677
# Make sure the PIC flag is empty. It appears that all Alpha
14678
# Linux and Compaq Tru64 Unix objects are PIC.
14679
lt_prog_compiler_pic_CXX=
14680
lt_prog_compiler_static_CXX='-non_shared'
14689
case $cc_basename in
14691
lt_prog_compiler_pic_CXX='-fPIC'
14698
case $cc_basename in
14700
# Sun C++ 4.2, 5.x and Centerline C++
14701
lt_prog_compiler_pic_CXX='-KPIC'
14702
lt_prog_compiler_static_CXX='-Bstatic'
14703
lt_prog_compiler_wl_CXX='-Qoption ld '
14706
# Green Hills C++ Compiler
14707
lt_prog_compiler_pic_CXX='-PIC'
14714
case $cc_basename in
14717
lt_prog_compiler_pic_CXX='-pic'
14718
lt_prog_compiler_static_CXX='-Bstatic'
14722
lt_prog_compiler_pic_CXX='-pic'
14729
case $cc_basename in
14731
# NonStop-UX NCC 3.20
14732
lt_prog_compiler_pic_CXX='-KPIC'
14743
lt_prog_compiler_can_build_shared_CXX=no
14748
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
14749
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
14752
# Check to make sure the PIC flag actually works.
14754
if test -n "$lt_prog_compiler_pic_CXX"; then
14756
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14757
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
14758
if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
14759
echo $ECHO_N "(cached) $ECHO_C" >&6
14761
lt_prog_compiler_pic_works_CXX=no
14762
ac_outfile=conftest.$ac_objext
14763
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14764
lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14765
# Insert the option either (1) after the last *FLAGS variable, or
14766
# (2) before a word containing "conftest.", or (3) at the end.
14767
# Note that $ac_compile itself does not contain backslashes and begins
14768
# with a dollar sign (not a hyphen), so the echo should work correctly.
14769
# The option is referenced via a variable to avoid confusing sed.
14770
lt_compile=`echo "$ac_compile" | $SED \
14771
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
14772
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14773
-e 's:$: $lt_compiler_flag:'`
14774
(eval echo "\"\$as_me:14774: $lt_compile\"" >&5)
14775
(eval "$lt_compile" 2>conftest.err)
14777
cat conftest.err >&5
14778
echo "$as_me:14778: \$? = $ac_status" >&5
14779
if (exit $ac_status) && test -s "$ac_outfile"; then
14780
# The compiler can only warn and ignore the option if not recognized
14781
# So say no if there are warnings
14782
if test ! -s conftest.err; then
14783
lt_prog_compiler_pic_works_CXX=yes
14789
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
14790
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
14792
if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
14793
case $lt_prog_compiler_pic_CXX in
14795
*) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14798
lt_prog_compiler_pic_CXX=
14799
lt_prog_compiler_can_build_shared_CXX=no
14804
# For platforms which do not support PIC, -DPIC is meaningless:
14806
lt_prog_compiler_pic_CXX=
14809
lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14813
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14814
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14815
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
14816
echo $ECHO_N "(cached) $ECHO_C" >&6
14818
lt_cv_prog_compiler_c_o_CXX=no
14819
$rm -r conftest 2>/dev/null
14823
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14825
# According to Tom Tromey, Ian Lance Taylor reported there are C compilers
14826
# that will create temporary files in the current directory regardless of
14827
# the output directory. Thus, making CWD read-only will cause this test
14828
# to fail, enabling locking or at least warning the user not to do parallel
14832
lt_compiler_flag="-o out/conftest2.$ac_objext"
14833
# Insert the option either (1) after the last *FLAGS variable, or
14834
# (2) before a word containing "conftest.", or (3) at the end.
14835
# Note that $ac_compile itself does not contain backslashes and begins
14836
# with a dollar sign (not a hyphen), so the echo should work correctly.
14837
lt_compile=`echo "$ac_compile" | $SED \
14838
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
14839
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14840
-e 's:$: $lt_compiler_flag:'`
14841
(eval echo "\"\$as_me:14841: $lt_compile\"" >&5)
14842
(eval "$lt_compile" 2>out/conftest.err)
14844
cat out/conftest.err >&5
14845
echo "$as_me:14845: \$? = $ac_status" >&5
14846
if (exit $ac_status) && test -s out/conftest2.$ac_objext
14848
# The compiler can only warn and ignore the option if not recognized
14849
# So say no if there are warnings
14850
if test ! -s out/conftest.err; then
14851
lt_cv_prog_compiler_c_o_CXX=yes
14855
$rm conftest* out/*
14862
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14863
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
14866
hard_links="nottested"
14867
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14868
# do not overwrite the value of need_locks provided by the user
14869
{ echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14870
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14873
ln conftest.a conftest.b 2>/dev/null && hard_links=no
14875
ln conftest.a conftest.b 2>&5 || hard_links=no
14876
ln conftest.a conftest.b 2>/dev/null && hard_links=no
14877
{ echo "$as_me:$LINENO: result: $hard_links" >&5
14878
echo "${ECHO_T}$hard_links" >&6; }
14879
if test "$hard_links" = no; then
14880
{ echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14881
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14888
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14889
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14891
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14894
# If we're using GNU nm, then we don't want the "-C" option.
14895
# -C means demangle to AIX nm, but means don't demangle with GNU nm
14896
if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
14897
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'
14899
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'
14903
export_symbols_cmds_CXX="$ltdll_cmds"
14906
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
14909
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14913
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
14914
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
14915
test "$ld_shlibs_CXX" = no && can_build_shared=no
14917
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14918
if test "$GCC" = yes; then
14919
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14923
# Do we need to explicitly link libc?
14925
case "x$archive_cmds_need_lc_CXX" in
14927
# Assume -lc should be added
14928
archive_cmds_need_lc_CXX=yes
14930
if test "$enable_shared" = yes && test "$GCC" = yes; then
14931
case $archive_cmds_CXX in
14933
# FIXME: we may have to deal with multi-command sequences.
14936
# Test whether the compiler implicitly links with -lc since on some
14937
# systems, -lgcc has to come before -lc. If gcc already passes -lc
14938
# to ld, don't add -lc before -lgcc.
14939
{ echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14940
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
14942
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14944
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14945
(eval $ac_compile) 2>&5
14947
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14948
(exit $ac_status); } 2>conftest.err; then
14951
libobjs=conftest.$ac_objext
14953
wl=$lt_prog_compiler_wl_CXX
14959
lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14960
allow_undefined_flag_CXX=
14961
if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
14962
(eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
14964
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14965
(exit $ac_status); }
14967
archive_cmds_need_lc_CXX=no
14969
archive_cmds_need_lc_CXX=yes
14971
allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14973
cat conftest.err 1>&5
14976
{ echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
14977
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
14984
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14985
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
14986
library_names_spec=
14987
libname_spec='lib$name'
14991
postuninstall_cmds=
14995
shlibpath_overrides_runpath=unknown
14997
dynamic_linker="$host_os ld.so"
14998
sys_lib_dlsearch_path_spec="/lib /usr/lib"
14999
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
15000
need_lib_prefix=unknown
15001
hardcode_into_libs=no
15003
# when you set need_version to no, make sure it does not cause -set_version
15004
# flags to be left without arguments
15005
need_version=unknown
15010
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15011
shlibpath_var=LIBPATH
15013
# AIX 3 has no versioning support, so we append a major version to the name.
15014
soname_spec='${libname}${release}${shared_ext}$major'
15021
hardcode_into_libs=yes
15022
if test "$host_cpu" = ia64; then
15023
# AIX 5 supports IA64
15024
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15025
shlibpath_var=LD_LIBRARY_PATH
15027
# With GCC up to 2.95.x, collect2 would create an import file
15028
# for dependence libraries. The import file would start with
15029
# the line `#! .'. This would cause the generated library to
15030
# depend on `.', always an invalid library. This was fixed in
15031
# development snapshots of GCC prior to 3.0.
15033
aix4 | aix4.[01] | aix4.[01].*)
15034
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15036
echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
15039
can_build_shared=no
15043
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15044
# soname into executable. Probably we can add versioning support to
15045
# collect2, so additional links can be useful in future.
15046
if test "$aix_use_runtimelinking" = yes; then
15047
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
15048
# instead of lib<name>.a to let people know that these are not
15049
# typical AIX shared libraries.
15050
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15052
# We preserve .a as extension for shared libraries through AIX4.2
15053
# and later when we are not doing run time linking.
15054
library_names_spec='${libname}${release}.a $libname.a'
15055
soname_spec='${libname}${release}${shared_ext}$major'
15057
shlibpath_var=LIBPATH
15062
library_names_spec='$libname.ixlibrary $libname.a'
15063
# Create ${libname}_ixlibrary.a entries in /sys/libs.
15064
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'
15068
library_names_spec='${libname}${shared_ext}'
15069
dynamic_linker="$host_os ld.so"
15070
shlibpath_var=LIBRARY_PATH
15076
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15077
soname_spec='${libname}${release}${shared_ext}$major'
15078
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15079
shlibpath_var=LD_LIBRARY_PATH
15080
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15081
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15082
# the default ld.so.conf also contains /usr/contrib/lib and
15083
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15084
# libtool to hard-code these into programs
15087
cygwin* | mingw* | pw32*)
15088
version_type=windows
15093
case $GCC,$host_os in
15094
yes,cygwin* | yes,mingw* | yes,pw32*)
15095
library_names_spec='$libname.dll.a'
15096
# DLL is installed to $(libdir)/../bin by postinstall_cmds
15097
postinstall_cmds='base_file=`basename \${file}`~
15098
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15099
dldir=$destdir/`dirname \$dlpath`~
15100
test -d \$dldir || mkdir -p \$dldir~
15101
$install_prog $dir/$dlname \$dldir/$dlname'
15102
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15103
dlpath=$dir/\$dldll~
15105
shlibpath_overrides_runpath=yes
15109
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
15110
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15111
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
15114
# MinGW DLLs use traditional 'lib' prefix
15115
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15116
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15117
if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
15118
# It is most probably a Windows format PATH printed by
15119
# mingw gcc, but we are running on Cygwin. Gcc prints its search
15120
# path with ; separators, and with drive letters. We can handle the
15121
# drive letters (cygwin fileutils understands them), so leave them,
15122
# especially as we might pass files found there to a mingw objdump,
15123
# which wouldn't understand a cygwinified path. Ahh.
15124
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15126
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15130
# pw32 DLLs use 'pw' prefix rather than 'lib'
15131
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
15137
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15140
dynamic_linker='Win32 ld.exe'
15141
# FIXME: first we should search . and the directory the executable is in
15145
darwin* | rhapsody*)
15146
dynamic_linker="$host_os dyld"
15147
version_type=darwin
15150
library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15151
soname_spec='${libname}${release}${major}$shared_ext'
15152
shlibpath_overrides_runpath=yes
15153
shlibpath_var=DYLD_LIBRARY_PATH
15154
shrext='$(test .$module = .yes && echo .so || echo .dylib)'
15155
# Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
15156
if test "$GCC" = yes; then
15157
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"`
15159
sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
15161
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15168
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15169
soname_spec='${libname}${release}${shared_ext}$major'
15170
shlibpath_var=LD_LIBRARY_PATH
15181
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15182
soname_spec='${libname}${release}${shared_ext}$major'
15183
shlibpath_var=LD_LIBRARY_PATH
15184
shlibpath_overrides_runpath=no
15185
hardcode_into_libs=yes
15186
dynamic_linker='GNU ld.so'
15190
objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
15191
version_type=freebsd-$objformat
15192
case $version_type in
15194
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15199
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15203
shlibpath_var=LD_LIBRARY_PATH
15206
shlibpath_overrides_runpath=yes
15208
freebsd3.01* | freebsdelf3.01*)
15209
shlibpath_overrides_runpath=yes
15210
hardcode_into_libs=yes
15213
shlibpath_overrides_runpath=no
15214
hardcode_into_libs=yes
15223
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15224
soname_spec='${libname}${release}${shared_ext}$major'
15225
shlibpath_var=LD_LIBRARY_PATH
15226
hardcode_into_libs=yes
15229
hpux9* | hpux10* | hpux11*)
15230
# Give a soname corresponding to the major version so that dld.sl refuses to
15231
# link against other versions.
15235
case "$host_cpu" in
15238
hardcode_into_libs=yes
15239
dynamic_linker="$host_os dld.so"
15240
shlibpath_var=LD_LIBRARY_PATH
15241
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15242
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15243
soname_spec='${libname}${release}${shared_ext}$major'
15244
if test "X$HPUX_IA64_MODE" = X32; then
15245
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15247
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15249
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15253
hardcode_into_libs=yes
15254
dynamic_linker="$host_os dld.sl"
15255
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15256
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15257
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15258
soname_spec='${libname}${release}${shared_ext}$major'
15259
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15260
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15264
dynamic_linker="$host_os dld.sl"
15265
shlibpath_var=SHLIB_PATH
15266
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15267
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15268
soname_spec='${libname}${release}${shared_ext}$major'
15271
# HP-UX runs *really* slowly unless shared libraries are mode 555.
15272
postinstall_cmds='chmod 555 $lib'
15275
irix5* | irix6* | nonstopux*)
15277
nonstopux*) version_type=nonstopux ;;
15279
if test "$lt_cv_prog_gnu_ld" = yes; then
15287
soname_spec='${libname}${release}${shared_ext}$major'
15288
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15290
irix5* | nonstopux*)
15291
libsuff= shlibsuff=
15294
case $LD in # libtool.m4 will add one of these switches to LD
15295
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15296
libsuff= shlibsuff= libmagic=32-bit;;
15297
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15298
libsuff=32 shlibsuff=N32 libmagic=N32;;
15299
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15300
libsuff=64 shlibsuff=64 libmagic=64-bit;;
15301
*) libsuff= shlibsuff= libmagic=never-match;;
15305
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15306
shlibpath_overrides_runpath=no
15307
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15308
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15309
hardcode_into_libs=yes
15312
# No shared lib support for Linux oldld, aout, or coff.
15313
linux*oldld* | linux*aout* | linux*coff*)
15317
# This must be Linux ELF.
15322
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15323
soname_spec='${libname}${release}${shared_ext}$major'
15324
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15326
if test "x$LINUX_64_MODE" = x64; then
15327
# Some platforms are per default 64-bit, so there's no /lib64
15328
if test -d /lib64; then
15332
shlibpath_var=LD_LIBRARY_PATH
15333
shlibpath_overrides_runpath=no
15334
sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
15335
sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
15336
# This implies no fast_install, which is unacceptable.
15337
# Some rework will be needed to allow for fast_install
15338
# before this can be enabled.
15339
hardcode_into_libs=yes
15341
# We used to test for /lib/ld.so.1 and disable shared libraries on
15342
# powerpc, because MkLinux only supported shared libraries with the
15343
# GNU dynamic linker. Since this was broken with cross compilers,
15344
# most powerpc-linux boxes support dynamic linking these days and
15345
# people can always --disable-shared, the test was removed, and we
15346
# assume the GNU/Linux dynamic linker is in use.
15347
dynamic_linker='GNU/Linux ld.so'
15354
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15355
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15356
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15357
dynamic_linker='NetBSD (a.out) ld.so'
15359
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
15360
soname_spec='${libname}${release}${shared_ext}$major'
15361
dynamic_linker='NetBSD ld.elf_so'
15363
shlibpath_var=LD_LIBRARY_PATH
15364
shlibpath_overrides_runpath=yes
15365
hardcode_into_libs=yes
15370
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15371
shlibpath_var=LD_LIBRARY_PATH
15372
shlibpath_overrides_runpath=yes
15379
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15380
soname_spec='${libname}${release}${shared_ext}$major'
15381
shlibpath_var=LD_LIBRARY_PATH
15382
shlibpath_overrides_runpath=yes
15389
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15390
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15391
shlibpath_var=LD_LIBRARY_PATH
15392
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15394
openbsd2.[89] | openbsd2.[89].*)
15395
shlibpath_overrides_runpath=no
15398
shlibpath_overrides_runpath=yes
15402
shlibpath_overrides_runpath=yes
15407
libname_spec='$name'
15410
library_names_spec='$libname${shared_ext} $libname.a'
15411
dynamic_linker='OS/2 ld.exe'
15412
shlibpath_var=LIBPATH
15415
osf3* | osf4* | osf5*)
15419
soname_spec='${libname}${release}${shared_ext}$major'
15420
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15421
shlibpath_var=LD_LIBRARY_PATH
15422
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15423
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15428
soname_spec='${libname}${release}${shared_ext}$major'
15429
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15430
shlibpath_var=LD_LIBRARY_PATH
15437
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15438
soname_spec='${libname}${release}${shared_ext}$major'
15439
shlibpath_var=LD_LIBRARY_PATH
15440
shlibpath_overrides_runpath=yes
15441
hardcode_into_libs=yes
15442
# ldd complains unless libraries are executable
15443
postinstall_cmds='chmod +x $lib'
15448
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15449
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15450
shlibpath_var=LD_LIBRARY_PATH
15451
shlibpath_overrides_runpath=yes
15452
if test "$with_gnu_ld" = yes; then
15458
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
15460
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15461
soname_spec='${libname}${release}${shared_ext}$major'
15462
shlibpath_var=LD_LIBRARY_PATH
15463
case $host_vendor in
15465
shlibpath_overrides_runpath=no
15467
export_dynamic_flag_spec='${wl}-Blargedynsym'
15468
runpath_var=LD_RUN_PATH
15476
shlibpath_overrides_runpath=no
15477
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15483
if test -d /usr/nec ;then
15485
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15486
soname_spec='$libname${shared_ext}.$major'
15487
shlibpath_var=LD_LIBRARY_PATH
15493
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15494
soname_spec='${libname}${release}${shared_ext}$major'
15495
shlibpath_var=LD_LIBRARY_PATH
15502
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15503
echo "${ECHO_T}$dynamic_linker" >&6; }
15504
test "$dynamic_linker" = no && can_build_shared=no
15506
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15507
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
15508
hardcode_action_CXX=
15509
if test -n "$hardcode_libdir_flag_spec_CXX" || \
15510
test -n "$runpath_var CXX" || \
15511
test "X$hardcode_automatic_CXX"="Xyes" ; then
15513
# We can hardcode non-existant directories.
15514
if test "$hardcode_direct_CXX" != no &&
15515
# If the only mechanism to avoid hardcoding is shlibpath_var, we
15516
# have to relink, otherwise we might link with an installed library
15517
# when we should be linking with a yet-to-be-installed one
15518
## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15519
test "$hardcode_minus_L_CXX" != no; then
15520
# Linking always hardcodes the temporary library directory.
15521
hardcode_action_CXX=relink
15523
# We can link without hardcoding, and we can hardcode nonexisting dirs.
15524
hardcode_action_CXX=immediate
15527
# We cannot hardcode anything, or else we can only hardcode existing
15529
hardcode_action_CXX=unsupported
15531
{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
15532
echo "${ECHO_T}$hardcode_action_CXX" >&6; }
15534
if test "$hardcode_action_CXX" = relink; then
15535
# Fast installation is not supported
15536
enable_fast_install=no
15537
elif test "$shlibpath_overrides_runpath" = yes ||
15538
test "$enable_shared" = no; then
15539
# Fast installation is not necessary
15540
enable_fast_install=needless
15545
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
15546
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
15547
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
15548
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
15549
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
15550
{ echo "$as_me:$LINENO: result: yes" >&5
15551
echo "${ECHO_T}yes" >&6; }
15553
# FIXME - insert some real tests, host_os isn't really good enough
15556
if test -n "$STRIP" ; then
15557
striplib="$STRIP -x"
15558
{ echo "$as_me:$LINENO: result: yes" >&5
15559
echo "${ECHO_T}yes" >&6; }
15561
{ echo "$as_me:$LINENO: result: no" >&5
15562
echo "${ECHO_T}no" >&6; }
15566
{ echo "$as_me:$LINENO: result: no" >&5
15567
echo "${ECHO_T}no" >&6; }
15572
if test "x$enable_dlopen" != xyes; then
15573
enable_dlopen=unknown
15574
enable_dlopen_self=unknown
15575
enable_dlopen_self_static=unknown
15582
lt_cv_dlopen="load_add_on"
15584
lt_cv_dlopen_self=yes
15588
lt_cv_dlopen="LoadLibrary"
15593
lt_cv_dlopen="dlopen"
15598
# if libdl is installed we need to link against it
15599
{ echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
15600
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
15601
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
15602
echo $ECHO_N "(cached) $ECHO_C" >&6
15604
ac_check_lib_save_LIBS=$LIBS
15606
cat >conftest.$ac_ext <<_ACEOF
15609
cat confdefs.h >>conftest.$ac_ext
15610
cat >>conftest.$ac_ext <<_ACEOF
15611
/* end confdefs.h. */
15613
/* Override any GCC internal prototype to avoid an error.
15614
Use char because int might match the return type of a GCC
15615
builtin and then its argument prototype would still apply. */
15628
rm -f conftest.$ac_objext conftest$ac_exeext
15629
if { (ac_try="$ac_link"
15630
case "(($ac_try" in
15631
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15632
*) ac_try_echo=$ac_try;;
15634
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15635
(eval "$ac_link") 2>conftest.er1
15637
grep -v '^ *+' conftest.er1 >conftest.err
15639
cat conftest.err >&5
15640
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15641
(exit $ac_status); } && {
15642
test -z "$ac_cxx_werror_flag" ||
15643
test ! -s conftest.err
15644
} && test -s conftest$ac_exeext &&
15645
$as_test_x conftest$ac_exeext; then
15646
ac_cv_lib_dl_dlopen=yes
15648
echo "$as_me: failed program was:" >&5
15649
sed 's/^/| /' conftest.$ac_ext >&5
15651
ac_cv_lib_dl_dlopen=no
15654
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15655
conftest$ac_exeext conftest.$ac_ext
15656
LIBS=$ac_check_lib_save_LIBS
15658
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
15659
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
15660
if test $ac_cv_lib_dl_dlopen = yes; then
15661
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
15664
lt_cv_dlopen="dyld"
15666
lt_cv_dlopen_self=yes
15673
{ echo "$as_me:$LINENO: checking for shl_load" >&5
15674
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
15675
if test "${ac_cv_func_shl_load+set}" = set; then
15676
echo $ECHO_N "(cached) $ECHO_C" >&6
15678
cat >conftest.$ac_ext <<_ACEOF
15681
cat confdefs.h >>conftest.$ac_ext
15682
cat >>conftest.$ac_ext <<_ACEOF
15683
/* end confdefs.h. */
15684
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
15685
For example, HP-UX 11i <limits.h> declares gettimeofday. */
15686
#define shl_load innocuous_shl_load
15688
/* System header to define __stub macros and hopefully few prototypes,
15689
which can conflict with char shl_load (); below.
15690
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15691
<limits.h> exists even on freestanding compilers. */
15694
# include <limits.h>
15696
# include <assert.h>
15701
/* Override any GCC internal prototype to avoid an error.
15702
Use char because int might match the return type of a GCC
15703
builtin and then its argument prototype would still apply. */
15708
/* The GNU C library defines this for functions which it implements
15709
to always fail with ENOSYS. Some functions are actually named
15710
something starting with __ and the normal name is an alias. */
15711
#if defined __stub_shl_load || defined __stub___shl_load
15718
return shl_load ();
15723
rm -f conftest.$ac_objext conftest$ac_exeext
15724
if { (ac_try="$ac_link"
15725
case "(($ac_try" in
15726
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15727
*) ac_try_echo=$ac_try;;
15729
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15730
(eval "$ac_link") 2>conftest.er1
15732
grep -v '^ *+' conftest.er1 >conftest.err
15734
cat conftest.err >&5
15735
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15736
(exit $ac_status); } && {
15737
test -z "$ac_cxx_werror_flag" ||
15738
test ! -s conftest.err
15739
} && test -s conftest$ac_exeext &&
15740
$as_test_x conftest$ac_exeext; then
15741
ac_cv_func_shl_load=yes
15743
echo "$as_me: failed program was:" >&5
15744
sed 's/^/| /' conftest.$ac_ext >&5
15746
ac_cv_func_shl_load=no
15749
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15750
conftest$ac_exeext conftest.$ac_ext
15752
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
15753
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
15754
if test $ac_cv_func_shl_load = yes; then
15755
lt_cv_dlopen="shl_load"
15757
{ echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
15758
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
15759
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
15760
echo $ECHO_N "(cached) $ECHO_C" >&6
15762
ac_check_lib_save_LIBS=$LIBS
15764
cat >conftest.$ac_ext <<_ACEOF
15767
cat confdefs.h >>conftest.$ac_ext
15768
cat >>conftest.$ac_ext <<_ACEOF
15769
/* end confdefs.h. */
15771
/* Override any GCC internal prototype to avoid an error.
15772
Use char because int might match the return type of a GCC
15773
builtin and then its argument prototype would still apply. */
15781
return shl_load ();
15786
rm -f conftest.$ac_objext conftest$ac_exeext
15787
if { (ac_try="$ac_link"
15788
case "(($ac_try" in
15789
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15790
*) ac_try_echo=$ac_try;;
15792
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15793
(eval "$ac_link") 2>conftest.er1
15795
grep -v '^ *+' conftest.er1 >conftest.err
15797
cat conftest.err >&5
15798
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15799
(exit $ac_status); } && {
15800
test -z "$ac_cxx_werror_flag" ||
15801
test ! -s conftest.err
15802
} && test -s conftest$ac_exeext &&
15803
$as_test_x conftest$ac_exeext; then
15804
ac_cv_lib_dld_shl_load=yes
15806
echo "$as_me: failed program was:" >&5
15807
sed 's/^/| /' conftest.$ac_ext >&5
15809
ac_cv_lib_dld_shl_load=no
15812
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15813
conftest$ac_exeext conftest.$ac_ext
15814
LIBS=$ac_check_lib_save_LIBS
15816
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
15817
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
15818
if test $ac_cv_lib_dld_shl_load = yes; then
15819
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
15821
{ echo "$as_me:$LINENO: checking for dlopen" >&5
15822
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
15823
if test "${ac_cv_func_dlopen+set}" = set; then
15824
echo $ECHO_N "(cached) $ECHO_C" >&6
15826
cat >conftest.$ac_ext <<_ACEOF
15829
cat confdefs.h >>conftest.$ac_ext
15830
cat >>conftest.$ac_ext <<_ACEOF
15831
/* end confdefs.h. */
15832
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
15833
For example, HP-UX 11i <limits.h> declares gettimeofday. */
15834
#define dlopen innocuous_dlopen
15836
/* System header to define __stub macros and hopefully few prototypes,
15837
which can conflict with char dlopen (); below.
15838
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15839
<limits.h> exists even on freestanding compilers. */
15842
# include <limits.h>
15844
# include <assert.h>
15849
/* Override any GCC internal prototype to avoid an error.
15850
Use char because int might match the return type of a GCC
15851
builtin and then its argument prototype would still apply. */
15856
/* The GNU C library defines this for functions which it implements
15857
to always fail with ENOSYS. Some functions are actually named
15858
something starting with __ and the normal name is an alias. */
15859
#if defined __stub_dlopen || defined __stub___dlopen
15871
rm -f conftest.$ac_objext conftest$ac_exeext
15872
if { (ac_try="$ac_link"
15873
case "(($ac_try" in
15874
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15875
*) ac_try_echo=$ac_try;;
15877
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15878
(eval "$ac_link") 2>conftest.er1
15880
grep -v '^ *+' conftest.er1 >conftest.err
15882
cat conftest.err >&5
15883
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15884
(exit $ac_status); } && {
15885
test -z "$ac_cxx_werror_flag" ||
15886
test ! -s conftest.err
15887
} && test -s conftest$ac_exeext &&
15888
$as_test_x conftest$ac_exeext; then
15889
ac_cv_func_dlopen=yes
15891
echo "$as_me: failed program was:" >&5
15892
sed 's/^/| /' conftest.$ac_ext >&5
15894
ac_cv_func_dlopen=no
15897
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15898
conftest$ac_exeext conftest.$ac_ext
15900
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
15901
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
15902
if test $ac_cv_func_dlopen = yes; then
15903
lt_cv_dlopen="dlopen"
15905
{ echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
15906
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
15907
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
15908
echo $ECHO_N "(cached) $ECHO_C" >&6
15910
ac_check_lib_save_LIBS=$LIBS
15912
cat >conftest.$ac_ext <<_ACEOF
15915
cat confdefs.h >>conftest.$ac_ext
15916
cat >>conftest.$ac_ext <<_ACEOF
15917
/* end confdefs.h. */
15919
/* Override any GCC internal prototype to avoid an error.
15920
Use char because int might match the return type of a GCC
15921
builtin and then its argument prototype would still apply. */
15934
rm -f conftest.$ac_objext conftest$ac_exeext
15935
if { (ac_try="$ac_link"
15936
case "(($ac_try" in
15937
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15938
*) ac_try_echo=$ac_try;;
15940
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15941
(eval "$ac_link") 2>conftest.er1
15943
grep -v '^ *+' conftest.er1 >conftest.err
15945
cat conftest.err >&5
15946
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15947
(exit $ac_status); } && {
15948
test -z "$ac_cxx_werror_flag" ||
15949
test ! -s conftest.err
15950
} && test -s conftest$ac_exeext &&
15951
$as_test_x conftest$ac_exeext; then
15952
ac_cv_lib_dl_dlopen=yes
15954
echo "$as_me: failed program was:" >&5
15955
sed 's/^/| /' conftest.$ac_ext >&5
15957
ac_cv_lib_dl_dlopen=no
15960
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15961
conftest$ac_exeext conftest.$ac_ext
15962
LIBS=$ac_check_lib_save_LIBS
15964
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
15965
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
15966
if test $ac_cv_lib_dl_dlopen = yes; then
15967
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
15969
{ echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
15970
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
15971
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
15972
echo $ECHO_N "(cached) $ECHO_C" >&6
15974
ac_check_lib_save_LIBS=$LIBS
15975
LIBS="-lsvld $LIBS"
15976
cat >conftest.$ac_ext <<_ACEOF
15979
cat confdefs.h >>conftest.$ac_ext
15980
cat >>conftest.$ac_ext <<_ACEOF
15981
/* end confdefs.h. */
15983
/* Override any GCC internal prototype to avoid an error.
15984
Use char because int might match the return type of a GCC
15985
builtin and then its argument prototype would still apply. */
15998
rm -f conftest.$ac_objext conftest$ac_exeext
15999
if { (ac_try="$ac_link"
16000
case "(($ac_try" in
16001
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16002
*) ac_try_echo=$ac_try;;
16004
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16005
(eval "$ac_link") 2>conftest.er1
16007
grep -v '^ *+' conftest.er1 >conftest.err
16009
cat conftest.err >&5
16010
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16011
(exit $ac_status); } && {
16012
test -z "$ac_cxx_werror_flag" ||
16013
test ! -s conftest.err
16014
} && test -s conftest$ac_exeext &&
16015
$as_test_x conftest$ac_exeext; then
16016
ac_cv_lib_svld_dlopen=yes
16018
echo "$as_me: failed program was:" >&5
16019
sed 's/^/| /' conftest.$ac_ext >&5
16021
ac_cv_lib_svld_dlopen=no
16024
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16025
conftest$ac_exeext conftest.$ac_ext
16026
LIBS=$ac_check_lib_save_LIBS
16028
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
16029
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
16030
if test $ac_cv_lib_svld_dlopen = yes; then
16031
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
16033
{ echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
16034
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
16035
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
16036
echo $ECHO_N "(cached) $ECHO_C" >&6
16038
ac_check_lib_save_LIBS=$LIBS
16040
cat >conftest.$ac_ext <<_ACEOF
16043
cat confdefs.h >>conftest.$ac_ext
16044
cat >>conftest.$ac_ext <<_ACEOF
16045
/* end confdefs.h. */
16047
/* Override any GCC internal prototype to avoid an error.
16048
Use char because int might match the return type of a GCC
16049
builtin and then its argument prototype would still apply. */
16057
return dld_link ();
16062
rm -f conftest.$ac_objext conftest$ac_exeext
16063
if { (ac_try="$ac_link"
16064
case "(($ac_try" in
16065
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16066
*) ac_try_echo=$ac_try;;
16068
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16069
(eval "$ac_link") 2>conftest.er1
16071
grep -v '^ *+' conftest.er1 >conftest.err
16073
cat conftest.err >&5
16074
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16075
(exit $ac_status); } && {
16076
test -z "$ac_cxx_werror_flag" ||
16077
test ! -s conftest.err
16078
} && test -s conftest$ac_exeext &&
16079
$as_test_x conftest$ac_exeext; then
16080
ac_cv_lib_dld_dld_link=yes
16082
echo "$as_me: failed program was:" >&5
16083
sed 's/^/| /' conftest.$ac_ext >&5
16085
ac_cv_lib_dld_dld_link=no
16088
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16089
conftest$ac_exeext conftest.$ac_ext
16090
LIBS=$ac_check_lib_save_LIBS
16092
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
16093
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
16094
if test $ac_cv_lib_dld_dld_link = yes; then
16095
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
16116
if test "x$lt_cv_dlopen" != xno; then
16122
case $lt_cv_dlopen in
16124
save_CPPFLAGS="$CPPFLAGS"
16125
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
16127
save_LDFLAGS="$LDFLAGS"
16128
eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
16131
LIBS="$lt_cv_dlopen_libs $LIBS"
16133
{ echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
16134
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
16135
if test "${lt_cv_dlopen_self+set}" = set; then
16136
echo $ECHO_N "(cached) $ECHO_C" >&6
16138
if test "$cross_compiling" = yes; then :
16139
lt_cv_dlopen_self=cross
16141
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
16142
lt_status=$lt_dlunknown
16143
cat > conftest.$ac_ext <<EOF
16144
#line 16144 "configure"
16145
#include "confdefs.h"
16154
# define LT_DLGLOBAL RTLD_GLOBAL
16157
# define LT_DLGLOBAL DL_GLOBAL
16159
# define LT_DLGLOBAL 0
16163
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
16164
find out it does not work in some platform. */
16165
#ifndef LT_DLLAZY_OR_NOW
16167
# define LT_DLLAZY_OR_NOW RTLD_LAZY
16170
# define LT_DLLAZY_OR_NOW DL_LAZY
16173
# define LT_DLLAZY_OR_NOW RTLD_NOW
16176
# define LT_DLLAZY_OR_NOW DL_NOW
16178
# define LT_DLLAZY_OR_NOW 0
16186
extern "C" void exit (int);
16189
void fnord() { int i=42;}
16192
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
16193
int status = $lt_dlunknown;
16197
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
16198
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
16199
/* dlclose (self); */
16205
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16206
(eval $ac_link) 2>&5
16208
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16209
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
16210
(./conftest; exit; ) 2>/dev/null
16212
case x$lt_status in
16213
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
16214
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
16215
x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
16218
# compilation failed
16219
lt_cv_dlopen_self=no
16226
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
16227
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
16229
if test "x$lt_cv_dlopen_self" = xyes; then
16230
LDFLAGS="$LDFLAGS $link_static_flag"
16231
{ echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
16232
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
16233
if test "${lt_cv_dlopen_self_static+set}" = set; then
16234
echo $ECHO_N "(cached) $ECHO_C" >&6
16236
if test "$cross_compiling" = yes; then :
16237
lt_cv_dlopen_self_static=cross
16239
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
16240
lt_status=$lt_dlunknown
16241
cat > conftest.$ac_ext <<EOF
16242
#line 16242 "configure"
16243
#include "confdefs.h"
16252
# define LT_DLGLOBAL RTLD_GLOBAL
16255
# define LT_DLGLOBAL DL_GLOBAL
16257
# define LT_DLGLOBAL 0
16261
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
16262
find out it does not work in some platform. */
16263
#ifndef LT_DLLAZY_OR_NOW
16265
# define LT_DLLAZY_OR_NOW RTLD_LAZY
16268
# define LT_DLLAZY_OR_NOW DL_LAZY
16271
# define LT_DLLAZY_OR_NOW RTLD_NOW
16274
# define LT_DLLAZY_OR_NOW DL_NOW
16276
# define LT_DLLAZY_OR_NOW 0
16284
extern "C" void exit (int);
16287
void fnord() { int i=42;}
16290
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
16291
int status = $lt_dlunknown;
16295
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
16296
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
16297
/* dlclose (self); */
16303
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16304
(eval $ac_link) 2>&5
16306
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16307
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
16308
(./conftest; exit; ) 2>/dev/null
16310
case x$lt_status in
16311
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
16312
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
16313
x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
16316
# compilation failed
16317
lt_cv_dlopen_self_static=no
16324
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
16325
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
16328
CPPFLAGS="$save_CPPFLAGS"
16329
LDFLAGS="$save_LDFLAGS"
16334
case $lt_cv_dlopen_self in
16335
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
16336
*) enable_dlopen_self=unknown ;;
16339
case $lt_cv_dlopen_self_static in
16340
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
16341
*) enable_dlopen_self_static=unknown ;;
16346
# The else clause should only fire when bootstrapping the
16347
# libtool distribution, otherwise you forgot to ship ltmain.sh
16348
# with your package, and you will get complaints that there are
16349
# no rules to generate ltmain.sh.
16350
if test -f "$ltmain"; then
16351
# See if we are running on zsh, and set the options which allow our commands through
16352
# without removal of \ escapes.
16353
if test -n "${ZSH_VERSION+set}" ; then
16354
setopt NO_GLOB_SUBST
16356
# Now quote all the things that may contain metacharacters while being
16357
# careful not to overquote the AC_SUBSTed values. We take copies of the
16358
# variables and quote the copies for generation of the libtool script.
16359
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
16360
libname_spec library_names_spec soname_spec extract_expsyms_cmds \
16361
old_striplib striplib file_magic_cmd finish_cmds finish_eval \
16362
deplibs_check_method reload_flag reload_cmds need_locks \
16363
lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
16364
lt_cv_sys_global_symbol_to_c_name_address \
16365
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
16366
old_postinstall_cmds old_postuninstall_cmds \
16370
lt_prog_compiler_wl_CXX \
16371
lt_prog_compiler_pic_CXX \
16372
lt_prog_compiler_static_CXX \
16373
lt_prog_compiler_no_builtin_flag_CXX \
16374
export_dynamic_flag_spec_CXX \
16375
thread_safe_flag_spec_CXX \
16376
whole_archive_flag_spec_CXX \
16377
enable_shared_with_static_runtimes_CXX \
16378
old_archive_cmds_CXX \
16379
old_archive_from_new_cmds_CXX \
16380
predep_objects_CXX \
16381
postdep_objects_CXX \
16384
compiler_lib_search_path_CXX \
16386
archive_expsym_cmds_CXX \
16387
postinstall_cmds_CXX \
16388
postuninstall_cmds_CXX \
16389
old_archive_from_expsyms_cmds_CXX \
16390
allow_undefined_flag_CXX \
16391
no_undefined_flag_CXX \
16392
export_symbols_cmds_CXX \
16393
hardcode_libdir_flag_spec_CXX \
16394
hardcode_libdir_flag_spec_ld_CXX \
16395
hardcode_libdir_separator_CXX \
16396
hardcode_automatic_CXX \
16398
module_expsym_cmds_CXX \
16399
lt_cv_prog_compiler_c_o_CXX \
16400
exclude_expsyms_CXX \
16401
include_expsyms_CXX; do
16404
old_archive_cmds_CXX | \
16405
old_archive_from_new_cmds_CXX | \
16406
archive_cmds_CXX | \
16407
archive_expsym_cmds_CXX | \
16408
module_cmds_CXX | \
16409
module_expsym_cmds_CXX | \
16410
old_archive_from_expsyms_cmds_CXX | \
16411
export_symbols_cmds_CXX | \
16412
extract_expsyms_cmds | reload_cmds | finish_cmds | \
16413
postinstall_cmds | postuninstall_cmds | \
16414
old_postinstall_cmds | old_postuninstall_cmds | \
16415
sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
16416
# Double-quote double-evaled strings.
16417
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
16420
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
16426
*'\$0 --fallback-echo"')
16427
lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
16433
cat <<__EOF__ >> "$cfgfile"
16434
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
16436
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16438
# Shell to use when invoking shell scripts.
16441
# Whether or not to build shared libraries.
16442
build_libtool_libs=$enable_shared
16444
# Whether or not to build static libraries.
16445
build_old_libs=$enable_static
16447
# Whether or not to add -lc for building shared libraries.
16448
build_libtool_need_lc=$archive_cmds_need_lc_CXX
16450
# Whether or not to disallow shared libs when runtime libs are static
16451
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
16453
# Whether or not to optimize for fast installation.
16454
fast_install=$enable_fast_install
16457
host_alias=$host_alias
16460
# An echo program that does not interpret backslashes.
16465
AR_FLAGS=$lt_AR_FLAGS
16470
# A language-specific compiler.
16471
CC=$lt_compiler_CXX
16473
# Is the compiler the GNU C compiler?
16479
# The linker used to build libraries.
16482
# Whether we need hard or soft links.
16485
# A BSD-compatible nm program.
16488
# A symbol stripping program
16491
# Used to examine libraries when file_magic_cmd begins "file"
16492
MAGIC_CMD=$MAGIC_CMD
16494
# Used on cygwin: DLL creation program.
16497
# Used on cygwin: object dumper.
16500
# Used on cygwin: assembler.
16503
# The name of the directory that contains temporary libtool files.
16506
# How to create reloadable object files.
16507
reload_flag=$lt_reload_flag
16508
reload_cmds=$lt_reload_cmds
16510
# How to pass a linker flag through the compiler.
16511
wl=$lt_lt_prog_compiler_wl_CXX
16513
# Object file suffix (normally "o").
16514
objext="$ac_objext"
16516
# Old archive suffix (normally "a").
16519
# Shared library suffix (normally ".so").
16522
# Executable file suffix (normally "").
16525
# Additional compiler flags for building library objects.
16526
pic_flag=$lt_lt_prog_compiler_pic_CXX
16529
# What is the maximum length of a command?
16530
max_cmd_len=$lt_cv_sys_max_cmd_len
16532
# Does compiler simultaneously support -c and -o options?
16533
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
16535
# Must we lock files when doing compilation ?
16536
need_locks=$lt_need_locks
16538
# Do we need the lib prefix for modules?
16539
need_lib_prefix=$need_lib_prefix
16541
# Do we need a version for libraries?
16542
need_version=$need_version
16544
# Whether dlopen is supported.
16545
dlopen_support=$enable_dlopen
16547
# Whether dlopen of programs is supported.
16548
dlopen_self=$enable_dlopen_self
16550
# Whether dlopen of statically linked programs is supported.
16551
dlopen_self_static=$enable_dlopen_self_static
16553
# Compiler flag to prevent dynamic linking.
16554
link_static_flag=$lt_lt_prog_compiler_static_CXX
16556
# Compiler flag to turn off builtin functions.
16557
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
16559
# Compiler flag to allow reflexive dlopens.
16560
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
16562
# Compiler flag to generate shared objects directly from archives.
16563
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
16565
# Compiler flag to generate thread-safe objects.
16566
thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
16568
# Library versioning type.
16569
version_type=$version_type
16571
# Format of library name prefix.
16572
libname_spec=$lt_libname_spec
16574
# List of archive names. First name is the real one, the rest are links.
16575
# The last name is the one that the linker finds with -lNAME.
16576
library_names_spec=$lt_library_names_spec
16578
# The coded name of the library, if different from the real name.
16579
soname_spec=$lt_soname_spec
16581
# Commands used to build and install an old-style archive.
16583
old_archive_cmds=$lt_old_archive_cmds_CXX
16584
old_postinstall_cmds=$lt_old_postinstall_cmds
16585
old_postuninstall_cmds=$lt_old_postuninstall_cmds
16587
# Create an old-style archive from a shared archive.
16588
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
16590
# Create a temporary old-style archive to link instead of a shared archive.
16591
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
16593
# Commands used to build and install a shared archive.
16594
archive_cmds=$lt_archive_cmds_CXX
16595
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
16596
postinstall_cmds=$lt_postinstall_cmds
16597
postuninstall_cmds=$lt_postuninstall_cmds
16599
# Commands used to build a loadable module (assumed same as above if empty)
16600
module_cmds=$lt_module_cmds_CXX
16601
module_expsym_cmds=$lt_module_expsym_cmds_CXX
16603
# Commands to strip libraries.
16604
old_striplib=$lt_old_striplib
16605
striplib=$lt_striplib
16607
# Dependencies to place before the objects being linked to create a
16609
predep_objects=$lt_predep_objects_CXX
16611
# Dependencies to place after the objects being linked to create a
16613
postdep_objects=$lt_postdep_objects_CXX
16615
# Dependencies to place before the objects being linked to create a
16617
predeps=$lt_predeps_CXX
16619
# Dependencies to place after the objects being linked to create a
16621
postdeps=$lt_postdeps_CXX
16623
# The library search path used internally by the compiler when linking
16624
# a shared library.
16625
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
16627
# Method to check whether dependent libraries are shared objects.
16628
deplibs_check_method=$lt_deplibs_check_method
16630
# Command to use when deplibs_check_method == file_magic.
16631
file_magic_cmd=$lt_file_magic_cmd
16633
# Flag that allows shared libraries with undefined symbols to be built.
16634
allow_undefined_flag=$lt_allow_undefined_flag_CXX
16636
# Flag that forces no undefined symbols.
16637
no_undefined_flag=$lt_no_undefined_flag_CXX
16639
# Commands used to finish a libtool library installation in a directory.
16640
finish_cmds=$lt_finish_cmds
16642
# Same as above, but a single script fragment to be evaled but not shown.
16643
finish_eval=$lt_finish_eval
16645
# Take the output of nm and produce a listing of raw symbols and C names.
16646
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16648
# Transform the output of nm in a proper C declaration
16649
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16651
# Transform the output of nm in a C name address pair
16652
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16654
# This is the shared library runtime path variable.
16655
runpath_var=$runpath_var
16657
# This is the shared library path variable.
16658
shlibpath_var=$shlibpath_var
16660
# Is shlibpath searched before the hard-coded library search path?
16661
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16663
# How to hardcode a shared library path into an executable.
16664
hardcode_action=$hardcode_action_CXX
16666
# Whether we should hardcode library paths into libraries.
16667
hardcode_into_libs=$hardcode_into_libs
16669
# Flag to hardcode \$libdir into a binary during linking.
16670
# This must work even if \$libdir does not exist.
16671
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
16673
# If ld is used when linking, flag to hardcode \$libdir into
16674
# a binary during linking. This must work even if \$libdir does
16676
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
16678
# Whether we need a single -rpath flag with a separated argument.
16679
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
16681
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16682
# resulting binary.
16683
hardcode_direct=$hardcode_direct_CXX
16685
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16686
# resulting binary.
16687
hardcode_minus_L=$hardcode_minus_L_CXX
16689
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16690
# the resulting binary.
16691
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
16693
# Set to yes if building a shared library automatically hardcodes DIR into the library
16694
# and all subsequent libraries and executables linked against it.
16695
hardcode_automatic=$hardcode_automatic_CXX
16697
# Variables whose values should be saved in libtool wrapper scripts and
16698
# restored at relink time.
16699
variables_saved_for_relink="$variables_saved_for_relink"
16701
# Whether libtool must link a program against all its dependency libraries.
16702
link_all_deplibs=$link_all_deplibs_CXX
16704
# Compile-time system search path for libraries
16705
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16707
# Run-time system search path for libraries
16708
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16710
# Fix the shell variable \$srcfile for the compiler.
16711
fix_srcfile_path="$fix_srcfile_path_CXX"
16713
# Set to yes if exported symbols are required.
16714
always_export_symbols=$always_export_symbols_CXX
16716
# The commands to list exported symbols.
16717
export_symbols_cmds=$lt_export_symbols_cmds_CXX
16719
# The commands to extract the exported symbol list from a shared archive.
16720
extract_expsyms_cmds=$lt_extract_expsyms_cmds
16722
# Symbols that should not be listed in the preloaded symbols.
16723
exclude_expsyms=$lt_exclude_expsyms_CXX
16725
# Symbols that must always be exported.
16726
include_expsyms=$lt_include_expsyms_CXX
16728
# ### END LIBTOOL TAG CONFIG: $tagname
16734
# If there is no Makefile yet, we rely on a make rule to execute
16735
# `config.status --recheck' to rerun these tests and create the
16736
# libtool script then.
16737
test -f Makefile && make "$ltmain"
16742
ac_cpp='$CPP $CPPFLAGS'
16743
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16744
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16745
ac_compiler_gnu=$ac_cv_c_compiler_gnu
16751
with_gnu_ldcxx=$with_gnu_ld
16752
with_gnu_ld=$lt_save_with_gnu_ld
16753
lt_cv_path_LDCXX=$lt_cv_path_LD
16754
lt_cv_path_LD=$lt_save_path_LD
16755
lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
16756
lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
16764
if test -n "$F77" && test "X$F77" != "Xno"; then
16767
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
16768
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16769
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
16772
archive_cmds_need_lc_F77=no
16773
allow_undefined_flag_F77=
16774
always_export_symbols_F77=no
16775
archive_expsym_cmds_F77=
16776
export_dynamic_flag_spec_F77=
16777
hardcode_direct_F77=no
16778
hardcode_libdir_flag_spec_F77=
16779
hardcode_libdir_flag_spec_ld_F77=
16780
hardcode_libdir_separator_F77=
16781
hardcode_minus_L_F77=no
16782
hardcode_automatic_F77=no
16784
module_expsym_cmds_F77=
16785
link_all_deplibs_F77=unknown
16786
old_archive_cmds_F77=$old_archive_cmds
16787
no_undefined_flag_F77=
16788
whole_archive_flag_spec_F77=
16789
enable_shared_with_static_runtimes_F77=no
16791
# Source file extension for f77 test sources.
16794
# Object file extension for compiled f77 test sources.
16798
# Code to be used in simple compile tests
16799
lt_simple_compile_test_code=" subroutine t\n return\n end\n"
16801
# Code to be used in simple link tests
16802
lt_simple_link_test_code=" program t\n end\n"
16804
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
16806
# If no C compiler was specified, use CC.
16809
# Allow CC to be a program name with arguments.
16813
# Allow CC to be a program name with arguments.
16818
cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
16820
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
16821
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
16822
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
16823
echo "${ECHO_T}$can_build_shared" >&6; }
16825
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
16826
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
16827
test "$can_build_shared" = "no" && enable_shared=no
16829
# On AIX, shared libraries and static libraries use the same namespace, and
16830
# are all built from PIC.
16833
test "$enable_shared" = yes && enable_static=no
16834
if test -n "$RANLIB"; then
16835
archive_cmds="$archive_cmds~\$RANLIB \$lib"
16836
postinstall_cmds='$RANLIB $lib'
16840
test "$enable_shared" = yes && enable_static=no
16843
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
16844
echo "${ECHO_T}$enable_shared" >&6; }
16846
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
16847
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
16848
# Make sure either enable_shared or enable_static is yes.
16849
test "$enable_shared" = yes || enable_static=yes
16850
{ echo "$as_me:$LINENO: result: $enable_static" >&5
16851
echo "${ECHO_T}$enable_static" >&6; }
16853
test "$ld_shlibs_F77" = no && can_build_shared=no
16858
lt_prog_compiler_wl_F77=
16859
lt_prog_compiler_pic_F77=
16860
lt_prog_compiler_static_F77=
16862
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16863
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
16865
if test "$GCC" = yes; then
16866
lt_prog_compiler_wl_F77='-Wl,'
16867
lt_prog_compiler_static_F77='-static'
16871
# All AIX code is PIC.
16872
if test "$host_cpu" = ia64; then
16873
# AIX 5 now supports IA64 processor
16874
lt_prog_compiler_static_F77='-Bstatic'
16879
# FIXME: we need at least 68020 code to build shared libraries, but
16880
# adding the `-m68020' flag to GCC prevents building anything better,
16882
lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
16885
beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16886
# PIC is the default for these OSes.
16889
mingw* | pw32* | os2*)
16890
# This hack is so that the source file can tell whether it is being
16891
# built for inclusion in a dll (and should export symbols for example).
16892
lt_prog_compiler_pic_F77='-DDLL_EXPORT'
16895
darwin* | rhapsody*)
16896
# PIC is the default on this platform
16897
# Common symbols not allowed in MH_DYLIB files
16898
lt_prog_compiler_pic_F77='-fno-common'
16902
# Just because we use GCC doesn't mean we suddenly get shared libraries
16903
# on systems that don't support them.
16904
lt_prog_compiler_can_build_shared_F77=no
16909
if test -d /usr/nec; then
16910
lt_prog_compiler_pic_F77=-Kconform_pic
16915
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16916
# not for PA HP-UX.
16917
case "$host_cpu" in
16922
lt_prog_compiler_pic_F77='-fPIC'
16928
lt_prog_compiler_pic_F77='-fPIC'
16932
# PORTME Check for flag to pass linker flags through the system compiler.
16935
lt_prog_compiler_wl_F77='-Wl,'
16936
if test "$host_cpu" = ia64; then
16937
# AIX 5 now supports IA64 processor
16938
lt_prog_compiler_static_F77='-Bstatic'
16940
lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
16944
mingw* | pw32* | os2*)
16945
# This hack is so that the source file can tell whether it is being
16946
# built for inclusion in a dll (and should export symbols for example).
16947
lt_prog_compiler_pic_F77='-DDLL_EXPORT'
16950
hpux9* | hpux10* | hpux11*)
16951
lt_prog_compiler_wl_F77='-Wl,'
16952
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16953
# not for PA HP-UX.
16954
case "$host_cpu" in
16959
lt_prog_compiler_pic_F77='+Z'
16962
# Is there a better lt_prog_compiler_static that works with the bundled CC?
16963
lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
16966
irix5* | irix6* | nonstopux*)
16967
lt_prog_compiler_wl_F77='-Wl,'
16968
# PIC (with -KPIC) is the default.
16969
lt_prog_compiler_static_F77='-non_shared'
16973
lt_prog_compiler_pic_F77='-KPIC'
16974
lt_prog_compiler_static_F77='-Bstatic'
16980
lt_prog_compiler_wl_F77='-Wl,'
16981
lt_prog_compiler_pic_F77='-KPIC'
16982
lt_prog_compiler_static_F77='-static'
16985
lt_prog_compiler_wl_F77='-Wl,'
16986
# All Alpha code is PIC.
16987
lt_prog_compiler_static_F77='-non_shared'
16992
osf3* | osf4* | osf5*)
16993
lt_prog_compiler_wl_F77='-Wl,'
16994
# All OSF/1 code is PIC.
16995
lt_prog_compiler_static_F77='-non_shared'
16999
lt_prog_compiler_pic_F77='-Kpic'
17000
lt_prog_compiler_static_F77='-dn'
17004
lt_prog_compiler_wl_F77='-Wl,'
17005
lt_prog_compiler_pic_F77='-KPIC'
17006
lt_prog_compiler_static_F77='-Bstatic'
17010
lt_prog_compiler_wl_F77='-Qoption ld '
17011
lt_prog_compiler_pic_F77='-PIC'
17012
lt_prog_compiler_static_F77='-Bstatic'
17015
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
17016
lt_prog_compiler_wl_F77='-Wl,'
17017
lt_prog_compiler_pic_F77='-KPIC'
17018
lt_prog_compiler_static_F77='-Bstatic'
17022
if test -d /usr/nec ;then
17023
lt_prog_compiler_pic_F77='-Kconform_pic'
17024
lt_prog_compiler_static_F77='-Bstatic'
17029
lt_prog_compiler_pic_F77='-pic'
17030
lt_prog_compiler_static_F77='-Bstatic'
17034
lt_prog_compiler_can_build_shared_F77=no
17039
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
17040
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
17043
# Check to make sure the PIC flag actually works.
17045
if test -n "$lt_prog_compiler_pic_F77"; then
17047
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
17048
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
17049
if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
17050
echo $ECHO_N "(cached) $ECHO_C" >&6
17052
lt_prog_compiler_pic_works_F77=no
17053
ac_outfile=conftest.$ac_objext
17054
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17055
lt_compiler_flag="$lt_prog_compiler_pic_F77"
17056
# Insert the option either (1) after the last *FLAGS variable, or
17057
# (2) before a word containing "conftest.", or (3) at the end.
17058
# Note that $ac_compile itself does not contain backslashes and begins
17059
# with a dollar sign (not a hyphen), so the echo should work correctly.
17060
# The option is referenced via a variable to avoid confusing sed.
17061
lt_compile=`echo "$ac_compile" | $SED \
17062
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
17063
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17064
-e 's:$: $lt_compiler_flag:'`
17065
(eval echo "\"\$as_me:17065: $lt_compile\"" >&5)
17066
(eval "$lt_compile" 2>conftest.err)
17068
cat conftest.err >&5
17069
echo "$as_me:17069: \$? = $ac_status" >&5
17070
if (exit $ac_status) && test -s "$ac_outfile"; then
17071
# The compiler can only warn and ignore the option if not recognized
17072
# So say no if there are warnings
17073
if test ! -s conftest.err; then
17074
lt_prog_compiler_pic_works_F77=yes
17080
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
17081
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
17083
if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
17084
case $lt_prog_compiler_pic_F77 in
17086
*) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
17089
lt_prog_compiler_pic_F77=
17090
lt_prog_compiler_can_build_shared_F77=no
17095
# For platforms which do not support PIC, -DPIC is meaningless:
17097
lt_prog_compiler_pic_F77=
17100
lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
17104
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
17105
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
17106
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
17107
echo $ECHO_N "(cached) $ECHO_C" >&6
17109
lt_cv_prog_compiler_c_o_F77=no
17110
$rm -r conftest 2>/dev/null
17114
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17116
# According to Tom Tromey, Ian Lance Taylor reported there are C compilers
17117
# that will create temporary files in the current directory regardless of
17118
# the output directory. Thus, making CWD read-only will cause this test
17119
# to fail, enabling locking or at least warning the user not to do parallel
17123
lt_compiler_flag="-o out/conftest2.$ac_objext"
17124
# Insert the option either (1) after the last *FLAGS variable, or
17125
# (2) before a word containing "conftest.", or (3) at the end.
17126
# Note that $ac_compile itself does not contain backslashes and begins
17127
# with a dollar sign (not a hyphen), so the echo should work correctly.
17128
lt_compile=`echo "$ac_compile" | $SED \
17129
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
17130
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17131
-e 's:$: $lt_compiler_flag:'`
17132
(eval echo "\"\$as_me:17132: $lt_compile\"" >&5)
17133
(eval "$lt_compile" 2>out/conftest.err)
17135
cat out/conftest.err >&5
17136
echo "$as_me:17136: \$? = $ac_status" >&5
17137
if (exit $ac_status) && test -s out/conftest2.$ac_objext
17139
# The compiler can only warn and ignore the option if not recognized
17140
# So say no if there are warnings
17141
if test ! -s out/conftest.err; then
17142
lt_cv_prog_compiler_c_o_F77=yes
17146
$rm conftest* out/*
17153
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
17154
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
17157
hard_links="nottested"
17158
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
17159
# do not overwrite the value of need_locks provided by the user
17160
{ echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17161
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
17164
ln conftest.a conftest.b 2>/dev/null && hard_links=no
17166
ln conftest.a conftest.b 2>&5 || hard_links=no
17167
ln conftest.a conftest.b 2>/dev/null && hard_links=no
17168
{ echo "$as_me:$LINENO: result: $hard_links" >&5
17169
echo "${ECHO_T}$hard_links" >&6; }
17170
if test "$hard_links" = no; then
17171
{ echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17172
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17179
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17180
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
17183
allow_undefined_flag_F77=
17184
enable_shared_with_static_runtimes_F77=no
17186
archive_expsym_cmds_F77=
17187
old_archive_From_new_cmds_F77=
17188
old_archive_from_expsyms_cmds_F77=
17189
export_dynamic_flag_spec_F77=
17190
whole_archive_flag_spec_F77=
17191
thread_safe_flag_spec_F77=
17192
hardcode_libdir_flag_spec_F77=
17193
hardcode_libdir_flag_spec_ld_F77=
17194
hardcode_libdir_separator_F77=
17195
hardcode_direct_F77=no
17196
hardcode_minus_L_F77=no
17197
hardcode_shlibpath_var_F77=unsupported
17198
link_all_deplibs_F77=unknown
17199
hardcode_automatic_F77=no
17201
module_expsym_cmds_F77=
17202
always_export_symbols_F77=no
17203
export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17204
# include_expsyms should be a list of space-separated symbols to be *always*
17205
# included in the symbol list
17206
include_expsyms_F77=
17207
# exclude_expsyms can be an extended regexp of symbols to exclude
17208
# it will be wrapped by ` (' and `)$', so one must not match beginning or
17209
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17210
# as well as any symbol that contains `d'.
17211
exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
17212
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17213
# platforms (ab)use it in PIC code, but their linkers get confused if
17214
# the symbol is explicitly referenced. Since portable code cannot
17215
# rely on this symbol name, it's probably fine to never include it in
17216
# preloaded symbol tables.
17217
extract_expsyms_cmds=
17220
cygwin* | mingw* | pw32*)
17221
# FIXME: the MSVC++ port hasn't been tested in a loooong time
17222
# When not using gcc, we currently assume that we are using
17223
# Microsoft Visual C++.
17224
if test "$GCC" != yes; then
17234
if test "$with_gnu_ld" = yes; then
17235
# If archive_cmds runs LD, not CC, wlarc should be empty
17238
# See if GNU ld supports shared libraries.
17240
aix3* | aix4* | aix5*)
17241
# On AIX/PPC, the GNU linker is very broken
17242
if test "$host_cpu" != ia64; then
17246
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
17247
*** to be unable to reliably create shared libraries on AIX.
17248
*** Therefore, libtool is disabling shared libraries support. If you
17249
*** really care for shared libraries, you may want to modify your PATH
17250
*** so that a non-GNU linker is found, and then restart.
17257
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)'
17258
hardcode_libdir_flag_spec_F77='-L$libdir'
17259
hardcode_minus_L_F77=yes
17261
# Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
17262
# that the semantics of dynamic libraries on AmigaOS, at least up
17263
# to version 4, is to share data among multiple programs linked
17264
# with the same dynamic library. Since this doesn't match the
17265
# behavior of shared libraries on other platforms, we can't use
17271
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17272
allow_undefined_flag_F77=unsupported
17273
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17274
# support --undefined. This deserves some investigation. FIXME
17275
archive_cmds_F77='$CC -nostart $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
17281
cygwin* | mingw* | pw32*)
17282
# _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
17283
# as there is no search path for DLLs.
17284
hardcode_libdir_flag_spec_F77='-L$libdir'
17285
allow_undefined_flag_F77=no
17286
always_export_symbols_F77=no
17287
enable_shared_with_static_runtimes_F77=yes
17288
export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
17290
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
17291
archive_cmds_F77='$CC -shared $compiler_flags $libobjs $deplibs -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
17292
# If the export-symbols file already is a .def file (1st line
17293
# is EXPORTS), use it as is; otherwise, prepend...
17294
archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17295
cp $export_symbols $output_objdir/$soname.def;
17297
echo EXPORTS > $output_objdir/$soname.def;
17298
cat $export_symbols >> $output_objdir/$soname.def;
17300
$CC -shared $output_objdir/$soname.def $compiler_flags $libobjs $deplibs -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
17307
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17308
archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17311
archive_cmds_F77='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
17312
archive_expsym_cmds_F77='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17317
if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
17321
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
17322
*** create shared libraries on Solaris systems. Therefore, libtool
17323
*** is disabling shared libraries support. We urge you to upgrade GNU
17324
*** binutils to release 2.9.1 or newer. Another option is to modify
17325
*** your PATH or compiler configuration so that the native linker is
17326
*** used, and then restart.
17329
elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17330
archive_cmds_F77='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
17331
archive_expsym_cmds_F77='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17338
archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17340
hardcode_direct_F77=yes
17341
hardcode_shlibpath_var_F77=no
17345
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17346
archive_cmds_F77='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
17347
archive_expsym_cmds_F77='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17354
if test "$ld_shlibs_F77" = yes; then
17355
runpath_var=LD_RUN_PATH
17356
hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
17357
export_dynamic_flag_spec_F77='${wl}--export-dynamic'
17358
# ancient GNU ld didn't support --whole-archive et. al.
17359
if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
17360
whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17362
whole_archive_flag_spec_F77=
17366
# PORTME fill in a description of your system's linker (not GNU ld)
17369
allow_undefined_flag_F77=unsupported
17370
always_export_symbols_F77=yes
17371
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'
17372
# Note: this linker hardcodes the directories in LIBPATH if there
17373
# are no directories specified by -L.
17374
hardcode_minus_L_F77=yes
17375
if test "$GCC" = yes && test -z "$link_static_flag"; then
17376
# Neither direct hardcoding nor static linking is supported with a
17378
hardcode_direct_F77=unsupported
17383
if test "$host_cpu" = ia64; then
17384
# On IA64, the linker does run time linking by default, so we don't
17385
# have to do anything special.
17386
aix_use_runtimelinking=no
17387
exp_sym_flag='-Bexport'
17390
# If we're using GNU nm, then we don't want the "-C" option.
17391
# -C means demangle to AIX nm, but means don't demangle with GNU nm
17392
if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
17393
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'
17395
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'
17398
# KDE requires run time linking. Make it the default.
17399
aix_use_runtimelinking=yes
17400
exp_sym_flag='-bexport'
17401
no_entry_flag='-bnoentry'
17404
# When large executables or shared objects are built, AIX ld can
17405
# have problems creating the table of contents. If linking a library
17406
# or program results in "error TOC overflow" add -mminimal-toc to
17407
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
17408
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17410
archive_cmds_F77=''
17411
hardcode_direct_F77=yes
17412
hardcode_libdir_separator_F77=':'
17413
link_all_deplibs_F77=yes
17415
if test "$GCC" = yes; then
17416
case $host_os in aix4.012|aix4.012.*)
17417
# We only want to do this on AIX 4.2 and lower, the check
17418
# below for broken collect2 doesn't work under 4.3+
17419
collect2name=`${CC} -print-prog-name=collect2`
17420
if test -f "$collect2name" && \
17421
strings "$collect2name" | grep resolve_lib_name >/dev/null
17423
# We have reworked collect2
17424
hardcode_direct_F77=yes
17426
# We have old collect2
17427
hardcode_direct_F77=unsupported
17428
# It fails to find uninstalled libraries when the uninstalled
17429
# path is not listed in the libpath. Setting hardcode_minus_L
17430
# to unsupported forces relinking
17431
hardcode_minus_L_F77=yes
17432
hardcode_libdir_flag_spec_F77='-L$libdir'
17433
hardcode_libdir_separator_F77=
17436
shared_flag='-shared'
17439
if test "$host_cpu" = ia64; then
17440
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17441
# chokes on -Wl,-G. The following line is correct:
17444
if test "$aix_use_runtimelinking" = yes; then
17445
shared_flag='-qmkshrobj ${wl}-G'
17447
shared_flag='-qmkshrobj'
17452
# Let the compiler handle the export list.
17453
always_export_symbols_F77=no
17454
if test "$aix_use_runtimelinking" = yes; then
17455
# Warning - without using the other runtime loading flags (-brtl),
17456
# -berok will link without error, but may produce a broken library.
17457
allow_undefined_flag_F77='-berok'
17458
# Determine the default libpath from the value encoded in an empty executable.
17459
cat >conftest.$ac_ext <<_ACEOF
17464
rm -f conftest.$ac_objext conftest$ac_exeext
17465
if { (ac_try="$ac_link"
17466
case "(($ac_try" in
17467
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17468
*) ac_try_echo=$ac_try;;
17470
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17471
(eval "$ac_link") 2>conftest.er1
17473
grep -v '^ *+' conftest.er1 >conftest.err
17475
cat conftest.err >&5
17476
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17477
(exit $ac_status); } && {
17478
test -z "$ac_f77_werror_flag" ||
17479
test ! -s conftest.err
17480
} && test -s conftest$ac_exeext &&
17481
$as_test_x conftest$ac_exeext; then
17483
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17485
# Check for a 64-bit object if we didn't find anything.
17486
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; }
17489
echo "$as_me: failed program was:" >&5
17490
sed 's/^/| /' conftest.$ac_ext >&5
17495
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17496
conftest$ac_exeext conftest.$ac_ext
17497
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17499
hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
17500
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"
17501
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"
17503
if test "$host_cpu" = ia64; then
17504
hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
17505
allow_undefined_flag_F77="-z nodefs"
17506
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"
17508
# Determine the default libpath from the value encoded in an empty executable.
17509
cat >conftest.$ac_ext <<_ACEOF
17514
rm -f conftest.$ac_objext conftest$ac_exeext
17515
if { (ac_try="$ac_link"
17516
case "(($ac_try" in
17517
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17518
*) ac_try_echo=$ac_try;;
17520
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17521
(eval "$ac_link") 2>conftest.er1
17523
grep -v '^ *+' conftest.er1 >conftest.err
17525
cat conftest.err >&5
17526
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17527
(exit $ac_status); } && {
17528
test -z "$ac_f77_werror_flag" ||
17529
test ! -s conftest.err
17530
} && test -s conftest$ac_exeext &&
17531
$as_test_x conftest$ac_exeext; then
17533
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17535
# Check for a 64-bit object if we didn't find anything.
17536
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; }
17539
echo "$as_me: failed program was:" >&5
17540
sed 's/^/| /' conftest.$ac_ext >&5
17545
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17546
conftest$ac_exeext conftest.$ac_ext
17547
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17549
hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
17550
# Warning - without using the other run time loading flags,
17551
# -berok will link without error, but may produce a broken library.
17552
no_undefined_flag_F77=' ${wl}-bernotok'
17553
allow_undefined_flag_F77=' ${wl}-berok'
17554
# -bexpall does not export symbols beginning with underscore (_)
17555
always_export_symbols_F77=yes
17556
# Exported symbols can be pulled into shared objects from archives
17557
whole_archive_flag_spec_F77=' '
17558
archive_cmds_need_lc_F77=yes
17559
# This is similar to how AIX traditionally builds it's shared libraries.
17560
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'
17566
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)'
17567
hardcode_libdir_flag_spec_F77='-L$libdir'
17568
hardcode_minus_L_F77=yes
17569
# see comment about different semantics on the GNU ld section
17574
export_dynamic_flag_spec_F77=-rdynamic
17577
cygwin* | mingw* | pw32*)
17578
# When not using gcc, we currently assume that we are using
17579
# Microsoft Visual C++.
17580
# hardcode_libdir_flag_spec is actually meaningless, as there is
17581
# no search path for DLLs.
17582
hardcode_libdir_flag_spec_F77=' '
17583
allow_undefined_flag_F77=no
17584
# Tell ltmain to make .lib files, not .a files.
17586
# Tell ltmain to make .dll files, not .so files.
17588
# FIXME: Setting linknames here is a bad hack.
17589
archive_cmds_F77='$CC -o $lib $compiler_flags $libobjs `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17590
# The linker will automatically build a .lib file if we build a DLL.
17591
old_archive_From_new_cmds_F77='true'
17592
# FIXME: Should let the user specify the lib program.
17593
old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
17594
fix_srcfile_path='`cygpath -w "$srcfile"`'
17595
enable_shared_with_static_runtimes_F77=yes
17598
darwin* | rhapsody*)
17599
if test "$GXX" = yes ; then
17600
archive_cmds_need_lc_F77=no
17602
rhapsody* | darwin1.[012])
17603
allow_undefined_flag_F77='-Wl,-undefined -Wl,suppress'
17606
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17607
allow_undefined_flag_F77='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
17609
case ${MACOSX_DEPLOYMENT_TARGET} in
17611
allow_undefined_flag_F77='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
17614
allow_undefined_flag_F77='-Wl,-undefined -Wl,dynamic_lookup'
17620
lt_int_apple_cc_single_mod=no
17621
output_verbose_link_cmd='echo'
17622
if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
17623
lt_int_apple_cc_single_mod=yes
17625
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
17626
archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring'
17628
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'
17630
module_cmds_F77='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs'
17631
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
17632
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
17633
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}'
17635
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}'
17637
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}'
17638
hardcode_direct_F77=no
17639
hardcode_automatic_F77=yes
17640
hardcode_shlibpath_var_F77=unsupported
17641
whole_archive_flag_spec_F77='-all_load $convenience'
17642
link_all_deplibs_F77=yes
17649
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17650
hardcode_libdir_flag_spec_F77='-L$libdir'
17651
hardcode_shlibpath_var_F77=no
17658
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17659
# support. Future versions do this automatically, but an explicit c++rt0.o
17660
# does not break anything, and helps significantly (at the cost of a little
17663
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17664
hardcode_libdir_flag_spec_F77='-R$libdir'
17665
hardcode_direct_F77=yes
17666
hardcode_shlibpath_var_F77=no
17669
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
17671
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17672
hardcode_direct_F77=yes
17673
hardcode_minus_L_F77=yes
17674
hardcode_shlibpath_var_F77=no
17677
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17678
freebsd* | kfreebsd*-gnu)
17679
archive_cmds_F77='$CC -shared -o $lib $compiler_flags $libobjs $deplibs'
17680
hardcode_libdir_flag_spec_F77='-R$libdir'
17681
hardcode_direct_F77=yes
17682
hardcode_shlibpath_var_F77=no
17686
if test "$GCC" = yes; then
17687
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'
17689
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'
17691
hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
17692
hardcode_libdir_separator_F77=:
17693
hardcode_direct_F77=yes
17695
# hardcode_minus_L: Not really in the search PATH,
17696
# but as the default location of the library.
17697
hardcode_minus_L_F77=yes
17698
export_dynamic_flag_spec_F77='${wl}-E'
17702
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
17703
case "$host_cpu" in
17705
archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
17708
archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $compiler_flags $libobjs $deplibs'
17712
case "$host_cpu" in
17714
archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
17717
archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17721
if test "$with_gnu_ld" = no; then
17722
case "$host_cpu" in
17724
hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
17725
hardcode_libdir_flag_spec_ld_F77='+b $libdir'
17726
hardcode_libdir_separator_F77=:
17727
hardcode_direct_F77=no
17728
hardcode_shlibpath_var_F77=no
17731
hardcode_libdir_flag_spec_F77='-L$libdir'
17732
hardcode_direct_F77=no
17733
hardcode_shlibpath_var_F77=no
17735
# hardcode_minus_L: Not really in the search PATH,
17736
# but as the default location of the library.
17737
hardcode_minus_L_F77=yes
17740
hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
17741
hardcode_libdir_separator_F77=:
17742
hardcode_direct_F77=yes
17743
export_dynamic_flag_spec_F77='${wl}-E'
17745
# hardcode_minus_L: Not really in the search PATH,
17746
# but as the default location of the library.
17747
hardcode_minus_L_F77=yes
17753
irix5* | irix6* | nonstopux*)
17754
if test "$GCC" = yes; then
17755
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'
17757
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'
17758
hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
17760
hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
17761
hardcode_libdir_separator_F77=:
17762
link_all_deplibs_F77=yes
17766
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17767
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
17769
archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
17771
hardcode_libdir_flag_spec_F77='-R$libdir'
17772
hardcode_direct_F77=yes
17773
hardcode_shlibpath_var_F77=no
17777
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17778
hardcode_direct_F77=yes
17779
hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
17780
hardcode_libdir_separator_F77=:
17781
hardcode_shlibpath_var_F77=no
17785
hardcode_direct_F77=yes
17786
hardcode_shlibpath_var_F77=no
17787
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17788
archive_cmds_F77='$CC -shared $pic_flag -o $lib $compiler_flags $libobjs $deplibs'
17789
hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
17790
export_dynamic_flag_spec_F77='${wl}-E'
17793
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
17794
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17795
hardcode_libdir_flag_spec_F77='-R$libdir'
17798
archive_cmds_F77='$CC -shared $pic_flag -o $lib $compiler_flags $libobjs $deplibs'
17799
hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
17806
hardcode_libdir_flag_spec_F77='-L$libdir'
17807
hardcode_minus_L_F77=yes
17808
allow_undefined_flag_F77=unsupported
17809
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'
17810
old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17814
if test "$GCC" = yes; then
17815
allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
17816
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'
17818
allow_undefined_flag_F77=' -expect_unresolved \*'
17819
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'
17821
hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
17822
hardcode_libdir_separator_F77=:
17825
osf4* | osf5*) # as osf3* with the addition of -msym flag
17826
if test "$GCC" = yes; then
17827
allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
17828
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'
17829
hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
17831
allow_undefined_flag_F77=' -expect_unresolved \*'
17832
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'
17833
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~
17834
$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'
17836
# Both c and cxx compiler support -rpath directly
17837
hardcode_libdir_flag_spec_F77='-rpath $libdir'
17839
hardcode_libdir_separator_F77=:
17843
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17844
hardcode_shlibpath_var_F77=no
17845
export_dynamic_flag_spec_F77='${wl}-Bexport'
17846
runpath_var=LD_RUN_PATH
17847
hardcode_runpath_var=yes
17851
no_undefined_flag_F77=' -z text'
17852
if test "$GCC" = yes; then
17853
archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
17854
archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17855
$CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs~$rm $lib.exp'
17857
archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17858
archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17859
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17861
hardcode_libdir_flag_spec_F77='-R$libdir'
17862
hardcode_shlibpath_var_F77=no
17864
solaris2.[0-5] | solaris2.[0-5].*) ;;
17865
*) # Supported since Solaris 2.6 (maybe 2.5.1?)
17866
whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
17868
link_all_deplibs_F77=yes
17872
if test "x$host_vendor" = xsequent; then
17873
# Use $CC to link under sequent, because it throws in some extra .o
17874
# files that make .init and .fini sections work.
17875
archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $compiler_flags $libobjs $deplibs'
17877
archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17879
hardcode_libdir_flag_spec_F77='-L$libdir'
17880
hardcode_direct_F77=yes
17881
hardcode_minus_L_F77=yes
17882
hardcode_shlibpath_var_F77=no
17886
case $host_vendor in
17888
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17889
hardcode_direct_F77=yes # is this really true???
17892
## LD is ld it makes a PLAMLIB
17893
## CC just makes a GrossModule.
17894
archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17895
reload_cmds_F77='$CC -r -o $output$reload_objs'
17896
hardcode_direct_F77=no
17899
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17900
hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
17903
runpath_var='LD_RUN_PATH'
17904
hardcode_shlibpath_var_F77=no
17908
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17909
hardcode_shlibpath_var_F77=no
17910
export_dynamic_flag_spec_F77='-Bexport'
17914
if test -d /usr/nec; then
17915
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17916
hardcode_shlibpath_var_F77=no
17917
runpath_var=LD_RUN_PATH
17918
hardcode_runpath_var=yes
17924
archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17925
hardcode_direct_F77=yes
17926
hardcode_minus_L_F77=no
17927
hardcode_shlibpath_var_F77=no
17928
hardcode_runpath_var=yes
17929
runpath_var=LD_RUN_PATH
17932
sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
17933
no_undefined_flag_F77='${wl}-z ${wl}text'
17934
if test "$GCC" = yes; then
17935
archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
17937
archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
17939
runpath_var='LD_RUN_PATH'
17940
hardcode_shlibpath_var_F77=no
17944
no_undefined_flag_F77=' -z text'
17945
# $CC -shared without GNU ld will not create a library from C++
17946
# object files and a static libstdc++, better avoid it by now
17947
archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17948
archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17949
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17950
hardcode_libdir_flag_spec_F77=
17951
hardcode_shlibpath_var_F77=no
17952
runpath_var='LD_RUN_PATH'
17956
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17957
hardcode_libdir_flag_spec_F77='-L$libdir'
17958
hardcode_shlibpath_var_F77=no
17967
{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
17968
echo "${ECHO_T}$ld_shlibs_F77" >&6; }
17969
test "$ld_shlibs_F77" = no && can_build_shared=no
17971
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17972
if test "$GCC" = yes; then
17973
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17977
# Do we need to explicitly link libc?
17979
case "x$archive_cmds_need_lc_F77" in
17981
# Assume -lc should be added
17982
archive_cmds_need_lc_F77=yes
17984
if test "$enable_shared" = yes && test "$GCC" = yes; then
17985
case $archive_cmds_F77 in
17987
# FIXME: we may have to deal with multi-command sequences.
17990
# Test whether the compiler implicitly links with -lc since on some
17991
# systems, -lgcc has to come before -lc. If gcc already passes -lc
17992
# to ld, don't add -lc before -lgcc.
17993
{ echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17994
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
17996
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17998
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17999
(eval $ac_compile) 2>&5
18001
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18002
(exit $ac_status); } 2>conftest.err; then
18005
libobjs=conftest.$ac_objext
18007
wl=$lt_prog_compiler_wl_F77
18013
lt_save_allow_undefined_flag=$allow_undefined_flag_F77
18014
allow_undefined_flag_F77=
18015
if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
18016
(eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
18018
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18019
(exit $ac_status); }
18021
archive_cmds_need_lc_F77=no
18023
archive_cmds_need_lc_F77=yes
18025
allow_undefined_flag_F77=$lt_save_allow_undefined_flag
18027
cat conftest.err 1>&5
18030
{ echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
18031
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
18038
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18039
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
18040
library_names_spec=
18041
libname_spec='lib$name'
18045
postuninstall_cmds=
18049
shlibpath_overrides_runpath=unknown
18051
dynamic_linker="$host_os ld.so"
18052
sys_lib_dlsearch_path_spec="/lib /usr/lib"
18053
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
18054
need_lib_prefix=unknown
18055
hardcode_into_libs=no
18057
# when you set need_version to no, make sure it does not cause -set_version
18058
# flags to be left without arguments
18059
need_version=unknown
18064
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
18065
shlibpath_var=LIBPATH
18067
# AIX 3 has no versioning support, so we append a major version to the name.
18068
soname_spec='${libname}${release}${shared_ext}$major'
18075
hardcode_into_libs=yes
18076
if test "$host_cpu" = ia64; then
18077
# AIX 5 supports IA64
18078
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
18079
shlibpath_var=LD_LIBRARY_PATH
18081
# With GCC up to 2.95.x, collect2 would create an import file
18082
# for dependence libraries. The import file would start with
18083
# the line `#! .'. This would cause the generated library to
18084
# depend on `.', always an invalid library. This was fixed in
18085
# development snapshots of GCC prior to 3.0.
18087
aix4 | aix4.[01] | aix4.[01].*)
18088
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18090
echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
18093
can_build_shared=no
18097
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
18098
# soname into executable. Probably we can add versioning support to
18099
# collect2, so additional links can be useful in future.
18100
if test "$aix_use_runtimelinking" = yes; then
18101
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
18102
# instead of lib<name>.a to let people know that these are not
18103
# typical AIX shared libraries.
18104
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18106
# We preserve .a as extension for shared libraries through AIX4.2
18107
# and later when we are not doing run time linking.
18108
library_names_spec='${libname}${release}.a $libname.a'
18109
soname_spec='${libname}${release}${shared_ext}$major'
18111
shlibpath_var=LIBPATH
18116
library_names_spec='$libname.ixlibrary $libname.a'
18117
# Create ${libname}_ixlibrary.a entries in /sys/libs.
18118
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'
18122
library_names_spec='${libname}${shared_ext}'
18123
dynamic_linker="$host_os ld.so"
18124
shlibpath_var=LIBRARY_PATH
18130
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18131
soname_spec='${libname}${release}${shared_ext}$major'
18132
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
18133
shlibpath_var=LD_LIBRARY_PATH
18134
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18135
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
18136
# the default ld.so.conf also contains /usr/contrib/lib and
18137
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18138
# libtool to hard-code these into programs
18141
cygwin* | mingw* | pw32*)
18142
version_type=windows
18147
case $GCC,$host_os in
18148
yes,cygwin* | yes,mingw* | yes,pw32*)
18149
library_names_spec='$libname.dll.a'
18150
# DLL is installed to $(libdir)/../bin by postinstall_cmds
18151
postinstall_cmds='base_file=`basename \${file}`~
18152
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18153
dldir=$destdir/`dirname \$dlpath`~
18154
test -d \$dldir || mkdir -p \$dldir~
18155
$install_prog $dir/$dlname \$dldir/$dlname'
18156
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18157
dlpath=$dir/\$dldll~
18159
shlibpath_overrides_runpath=yes
18163
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
18164
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18165
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
18168
# MinGW DLLs use traditional 'lib' prefix
18169
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18170
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18171
if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
18172
# It is most probably a Windows format PATH printed by
18173
# mingw gcc, but we are running on Cygwin. Gcc prints its search
18174
# path with ; separators, and with drive letters. We can handle the
18175
# drive letters (cygwin fileutils understands them), so leave them,
18176
# especially as we might pass files found there to a mingw objdump,
18177
# which wouldn't understand a cygwinified path. Ahh.
18178
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18180
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18184
# pw32 DLLs use 'pw' prefix rather than 'lib'
18185
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
18191
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18194
dynamic_linker='Win32 ld.exe'
18195
# FIXME: first we should search . and the directory the executable is in
18199
darwin* | rhapsody*)
18200
dynamic_linker="$host_os dyld"
18201
version_type=darwin
18204
library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18205
soname_spec='${libname}${release}${major}$shared_ext'
18206
shlibpath_overrides_runpath=yes
18207
shlibpath_var=DYLD_LIBRARY_PATH
18208
shrext='$(test .$module = .yes && echo .so || echo .dylib)'
18209
# Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
18210
if test "$GCC" = yes; then
18211
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"`
18213
sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
18215
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
18222
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18223
soname_spec='${libname}${release}${shared_ext}$major'
18224
shlibpath_var=LD_LIBRARY_PATH
18235
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18236
soname_spec='${libname}${release}${shared_ext}$major'
18237
shlibpath_var=LD_LIBRARY_PATH
18238
shlibpath_overrides_runpath=no
18239
hardcode_into_libs=yes
18240
dynamic_linker='GNU ld.so'
18244
objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
18245
version_type=freebsd-$objformat
18246
case $version_type in
18248
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18253
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18257
shlibpath_var=LD_LIBRARY_PATH
18260
shlibpath_overrides_runpath=yes
18262
freebsd3.01* | freebsdelf3.01*)
18263
shlibpath_overrides_runpath=yes
18264
hardcode_into_libs=yes
18267
shlibpath_overrides_runpath=no
18268
hardcode_into_libs=yes
18277
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18278
soname_spec='${libname}${release}${shared_ext}$major'
18279
shlibpath_var=LD_LIBRARY_PATH
18280
hardcode_into_libs=yes
18283
hpux9* | hpux10* | hpux11*)
18284
# Give a soname corresponding to the major version so that dld.sl refuses to
18285
# link against other versions.
18289
case "$host_cpu" in
18292
hardcode_into_libs=yes
18293
dynamic_linker="$host_os dld.so"
18294
shlibpath_var=LD_LIBRARY_PATH
18295
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18296
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18297
soname_spec='${libname}${release}${shared_ext}$major'
18298
if test "X$HPUX_IA64_MODE" = X32; then
18299
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18301
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
18303
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18307
hardcode_into_libs=yes
18308
dynamic_linker="$host_os dld.sl"
18309
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
18310
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18311
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18312
soname_spec='${libname}${release}${shared_ext}$major'
18313
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18314
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18318
dynamic_linker="$host_os dld.sl"
18319
shlibpath_var=SHLIB_PATH
18320
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
18321
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18322
soname_spec='${libname}${release}${shared_ext}$major'
18325
# HP-UX runs *really* slowly unless shared libraries are mode 555.
18326
postinstall_cmds='chmod 555 $lib'
18329
irix5* | irix6* | nonstopux*)
18331
nonstopux*) version_type=nonstopux ;;
18333
if test "$lt_cv_prog_gnu_ld" = yes; then
18341
soname_spec='${libname}${release}${shared_ext}$major'
18342
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18344
irix5* | nonstopux*)
18345
libsuff= shlibsuff=
18348
case $LD in # libtool.m4 will add one of these switches to LD
18349
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
18350
libsuff= shlibsuff= libmagic=32-bit;;
18351
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
18352
libsuff=32 shlibsuff=N32 libmagic=N32;;
18353
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
18354
libsuff=64 shlibsuff=64 libmagic=64-bit;;
18355
*) libsuff= shlibsuff= libmagic=never-match;;
18359
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
18360
shlibpath_overrides_runpath=no
18361
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18362
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
18363
hardcode_into_libs=yes
18366
# No shared lib support for Linux oldld, aout, or coff.
18367
linux*oldld* | linux*aout* | linux*coff*)
18371
# This must be Linux ELF.
18376
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18377
soname_spec='${libname}${release}${shared_ext}$major'
18378
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18380
if test "x$LINUX_64_MODE" = x64; then
18381
# Some platforms are per default 64-bit, so there's no /lib64
18382
if test -d /lib64; then
18386
shlibpath_var=LD_LIBRARY_PATH
18387
shlibpath_overrides_runpath=no
18388
sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
18389
sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
18390
# This implies no fast_install, which is unacceptable.
18391
# Some rework will be needed to allow for fast_install
18392
# before this can be enabled.
18393
hardcode_into_libs=yes
18395
# We used to test for /lib/ld.so.1 and disable shared libraries on
18396
# powerpc, because MkLinux only supported shared libraries with the
18397
# GNU dynamic linker. Since this was broken with cross compilers,
18398
# most powerpc-linux boxes support dynamic linking these days and
18399
# people can always --disable-shared, the test was removed, and we
18400
# assume the GNU/Linux dynamic linker is in use.
18401
dynamic_linker='GNU/Linux ld.so'
18408
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18409
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18410
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18411
dynamic_linker='NetBSD (a.out) ld.so'
18413
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
18414
soname_spec='${libname}${release}${shared_ext}$major'
18415
dynamic_linker='NetBSD ld.elf_so'
18417
shlibpath_var=LD_LIBRARY_PATH
18418
shlibpath_overrides_runpath=yes
18419
hardcode_into_libs=yes
18424
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18425
shlibpath_var=LD_LIBRARY_PATH
18426
shlibpath_overrides_runpath=yes
18433
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18434
soname_spec='${libname}${release}${shared_ext}$major'
18435
shlibpath_var=LD_LIBRARY_PATH
18436
shlibpath_overrides_runpath=yes
18443
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18444
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18445
shlibpath_var=LD_LIBRARY_PATH
18446
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18448
openbsd2.[89] | openbsd2.[89].*)
18449
shlibpath_overrides_runpath=no
18452
shlibpath_overrides_runpath=yes
18456
shlibpath_overrides_runpath=yes
18461
libname_spec='$name'
18464
library_names_spec='$libname${shared_ext} $libname.a'
18465
dynamic_linker='OS/2 ld.exe'
18466
shlibpath_var=LIBPATH
18469
osf3* | osf4* | osf5*)
18473
soname_spec='${libname}${release}${shared_ext}$major'
18474
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18475
shlibpath_var=LD_LIBRARY_PATH
18476
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18477
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
18482
soname_spec='${libname}${release}${shared_ext}$major'
18483
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18484
shlibpath_var=LD_LIBRARY_PATH
18491
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18492
soname_spec='${libname}${release}${shared_ext}$major'
18493
shlibpath_var=LD_LIBRARY_PATH
18494
shlibpath_overrides_runpath=yes
18495
hardcode_into_libs=yes
18496
# ldd complains unless libraries are executable
18497
postinstall_cmds='chmod +x $lib'
18502
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18503
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18504
shlibpath_var=LD_LIBRARY_PATH
18505
shlibpath_overrides_runpath=yes
18506
if test "$with_gnu_ld" = yes; then
18512
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
18514
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18515
soname_spec='${libname}${release}${shared_ext}$major'
18516
shlibpath_var=LD_LIBRARY_PATH
18517
case $host_vendor in
18519
shlibpath_overrides_runpath=no
18521
export_dynamic_flag_spec='${wl}-Blargedynsym'
18522
runpath_var=LD_RUN_PATH
18530
shlibpath_overrides_runpath=no
18531
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
18537
if test -d /usr/nec ;then
18539
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18540
soname_spec='$libname${shared_ext}.$major'
18541
shlibpath_var=LD_LIBRARY_PATH
18547
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18548
soname_spec='${libname}${release}${shared_ext}$major'
18549
shlibpath_var=LD_LIBRARY_PATH
18556
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18557
echo "${ECHO_T}$dynamic_linker" >&6; }
18558
test "$dynamic_linker" = no && can_build_shared=no
18560
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18561
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
18562
hardcode_action_F77=
18563
if test -n "$hardcode_libdir_flag_spec_F77" || \
18564
test -n "$runpath_var F77" || \
18565
test "X$hardcode_automatic_F77"="Xyes" ; then
18567
# We can hardcode non-existant directories.
18568
if test "$hardcode_direct_F77" != no &&
18569
# If the only mechanism to avoid hardcoding is shlibpath_var, we
18570
# have to relink, otherwise we might link with an installed library
18571
# when we should be linking with a yet-to-be-installed one
18572
## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
18573
test "$hardcode_minus_L_F77" != no; then
18574
# Linking always hardcodes the temporary library directory.
18575
hardcode_action_F77=relink
18577
# We can link without hardcoding, and we can hardcode nonexisting dirs.
18578
hardcode_action_F77=immediate
18581
# We cannot hardcode anything, or else we can only hardcode existing
18583
hardcode_action_F77=unsupported
18585
{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
18586
echo "${ECHO_T}$hardcode_action_F77" >&6; }
18588
if test "$hardcode_action_F77" = relink; then
18589
# Fast installation is not supported
18590
enable_fast_install=no
18591
elif test "$shlibpath_overrides_runpath" = yes ||
18592
test "$enable_shared" = no; then
18593
# Fast installation is not necessary
18594
enable_fast_install=needless
18599
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
18600
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
18601
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
18602
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
18603
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
18604
{ echo "$as_me:$LINENO: result: yes" >&5
18605
echo "${ECHO_T}yes" >&6; }
18607
# FIXME - insert some real tests, host_os isn't really good enough
18610
if test -n "$STRIP" ; then
18611
striplib="$STRIP -x"
18612
{ echo "$as_me:$LINENO: result: yes" >&5
18613
echo "${ECHO_T}yes" >&6; }
18615
{ echo "$as_me:$LINENO: result: no" >&5
18616
echo "${ECHO_T}no" >&6; }
18620
{ echo "$as_me:$LINENO: result: no" >&5
18621
echo "${ECHO_T}no" >&6; }
18628
# The else clause should only fire when bootstrapping the
18629
# libtool distribution, otherwise you forgot to ship ltmain.sh
18630
# with your package, and you will get complaints that there are
18631
# no rules to generate ltmain.sh.
18632
if test -f "$ltmain"; then
18633
# See if we are running on zsh, and set the options which allow our commands through
18634
# without removal of \ escapes.
18635
if test -n "${ZSH_VERSION+set}" ; then
18636
setopt NO_GLOB_SUBST
18638
# Now quote all the things that may contain metacharacters while being
18639
# careful not to overquote the AC_SUBSTed values. We take copies of the
18640
# variables and quote the copies for generation of the libtool script.
18641
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
18642
libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18643
old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18644
deplibs_check_method reload_flag reload_cmds need_locks \
18645
lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18646
lt_cv_sys_global_symbol_to_c_name_address \
18647
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18648
old_postinstall_cmds old_postuninstall_cmds \
18652
lt_prog_compiler_wl_F77 \
18653
lt_prog_compiler_pic_F77 \
18654
lt_prog_compiler_static_F77 \
18655
lt_prog_compiler_no_builtin_flag_F77 \
18656
export_dynamic_flag_spec_F77 \
18657
thread_safe_flag_spec_F77 \
18658
whole_archive_flag_spec_F77 \
18659
enable_shared_with_static_runtimes_F77 \
18660
old_archive_cmds_F77 \
18661
old_archive_from_new_cmds_F77 \
18662
predep_objects_F77 \
18663
postdep_objects_F77 \
18666
compiler_lib_search_path_F77 \
18668
archive_expsym_cmds_F77 \
18669
postinstall_cmds_F77 \
18670
postuninstall_cmds_F77 \
18671
old_archive_from_expsyms_cmds_F77 \
18672
allow_undefined_flag_F77 \
18673
no_undefined_flag_F77 \
18674
export_symbols_cmds_F77 \
18675
hardcode_libdir_flag_spec_F77 \
18676
hardcode_libdir_flag_spec_ld_F77 \
18677
hardcode_libdir_separator_F77 \
18678
hardcode_automatic_F77 \
18680
module_expsym_cmds_F77 \
18681
lt_cv_prog_compiler_c_o_F77 \
18682
exclude_expsyms_F77 \
18683
include_expsyms_F77; do
18686
old_archive_cmds_F77 | \
18687
old_archive_from_new_cmds_F77 | \
18688
archive_cmds_F77 | \
18689
archive_expsym_cmds_F77 | \
18690
module_cmds_F77 | \
18691
module_expsym_cmds_F77 | \
18692
old_archive_from_expsyms_cmds_F77 | \
18693
export_symbols_cmds_F77 | \
18694
extract_expsyms_cmds | reload_cmds | finish_cmds | \
18695
postinstall_cmds | postuninstall_cmds | \
18696
old_postinstall_cmds | old_postuninstall_cmds | \
18697
sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
18698
# Double-quote double-evaled strings.
18699
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18702
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18708
*'\$0 --fallback-echo"')
18709
lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18715
cat <<__EOF__ >> "$cfgfile"
18716
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
18718
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18720
# Shell to use when invoking shell scripts.
18723
# Whether or not to build shared libraries.
18724
build_libtool_libs=$enable_shared
18726
# Whether or not to build static libraries.
18727
build_old_libs=$enable_static
18729
# Whether or not to add -lc for building shared libraries.
18730
build_libtool_need_lc=$archive_cmds_need_lc_F77
18732
# Whether or not to disallow shared libs when runtime libs are static
18733
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
18735
# Whether or not to optimize for fast installation.
18736
fast_install=$enable_fast_install
18739
host_alias=$host_alias
18742
# An echo program that does not interpret backslashes.
18747
AR_FLAGS=$lt_AR_FLAGS
18752
# A language-specific compiler.
18753
CC=$lt_compiler_F77
18755
# Is the compiler the GNU C compiler?
18761
# The linker used to build libraries.
18764
# Whether we need hard or soft links.
18767
# A BSD-compatible nm program.
18770
# A symbol stripping program
18773
# Used to examine libraries when file_magic_cmd begins "file"
18774
MAGIC_CMD=$MAGIC_CMD
18776
# Used on cygwin: DLL creation program.
18779
# Used on cygwin: object dumper.
18782
# Used on cygwin: assembler.
18785
# The name of the directory that contains temporary libtool files.
18788
# How to create reloadable object files.
18789
reload_flag=$lt_reload_flag
18790
reload_cmds=$lt_reload_cmds
18792
# How to pass a linker flag through the compiler.
18793
wl=$lt_lt_prog_compiler_wl_F77
18795
# Object file suffix (normally "o").
18796
objext="$ac_objext"
18798
# Old archive suffix (normally "a").
18801
# Shared library suffix (normally ".so").
18804
# Executable file suffix (normally "").
18807
# Additional compiler flags for building library objects.
18808
pic_flag=$lt_lt_prog_compiler_pic_F77
18811
# What is the maximum length of a command?
18812
max_cmd_len=$lt_cv_sys_max_cmd_len
18814
# Does compiler simultaneously support -c and -o options?
18815
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
18817
# Must we lock files when doing compilation ?
18818
need_locks=$lt_need_locks
18820
# Do we need the lib prefix for modules?
18821
need_lib_prefix=$need_lib_prefix
18823
# Do we need a version for libraries?
18824
need_version=$need_version
18826
# Whether dlopen is supported.
18827
dlopen_support=$enable_dlopen
18829
# Whether dlopen of programs is supported.
18830
dlopen_self=$enable_dlopen_self
18832
# Whether dlopen of statically linked programs is supported.
18833
dlopen_self_static=$enable_dlopen_self_static
18835
# Compiler flag to prevent dynamic linking.
18836
link_static_flag=$lt_lt_prog_compiler_static_F77
18838
# Compiler flag to turn off builtin functions.
18839
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
18841
# Compiler flag to allow reflexive dlopens.
18842
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
18844
# Compiler flag to generate shared objects directly from archives.
18845
whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
18847
# Compiler flag to generate thread-safe objects.
18848
thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
18850
# Library versioning type.
18851
version_type=$version_type
18853
# Format of library name prefix.
18854
libname_spec=$lt_libname_spec
18856
# List of archive names. First name is the real one, the rest are links.
18857
# The last name is the one that the linker finds with -lNAME.
18858
library_names_spec=$lt_library_names_spec
18860
# The coded name of the library, if different from the real name.
18861
soname_spec=$lt_soname_spec
18863
# Commands used to build and install an old-style archive.
18865
old_archive_cmds=$lt_old_archive_cmds_F77
18866
old_postinstall_cmds=$lt_old_postinstall_cmds
18867
old_postuninstall_cmds=$lt_old_postuninstall_cmds
18869
# Create an old-style archive from a shared archive.
18870
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
18872
# Create a temporary old-style archive to link instead of a shared archive.
18873
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
18875
# Commands used to build and install a shared archive.
18876
archive_cmds=$lt_archive_cmds_F77
18877
archive_expsym_cmds=$lt_archive_expsym_cmds_F77
18878
postinstall_cmds=$lt_postinstall_cmds
18879
postuninstall_cmds=$lt_postuninstall_cmds
18881
# Commands used to build a loadable module (assumed same as above if empty)
18882
module_cmds=$lt_module_cmds_F77
18883
module_expsym_cmds=$lt_module_expsym_cmds_F77
18885
# Commands to strip libraries.
18886
old_striplib=$lt_old_striplib
18887
striplib=$lt_striplib
18889
# Dependencies to place before the objects being linked to create a
18891
predep_objects=$lt_predep_objects_F77
18893
# Dependencies to place after the objects being linked to create a
18895
postdep_objects=$lt_postdep_objects_F77
18897
# Dependencies to place before the objects being linked to create a
18899
predeps=$lt_predeps_F77
18901
# Dependencies to place after the objects being linked to create a
18903
postdeps=$lt_postdeps_F77
18905
# The library search path used internally by the compiler when linking
18906
# a shared library.
18907
compiler_lib_search_path=$lt_compiler_lib_search_path_F77
18909
# Method to check whether dependent libraries are shared objects.
18910
deplibs_check_method=$lt_deplibs_check_method
18912
# Command to use when deplibs_check_method == file_magic.
18913
file_magic_cmd=$lt_file_magic_cmd
18915
# Flag that allows shared libraries with undefined symbols to be built.
18916
allow_undefined_flag=$lt_allow_undefined_flag_F77
18918
# Flag that forces no undefined symbols.
18919
no_undefined_flag=$lt_no_undefined_flag_F77
18921
# Commands used to finish a libtool library installation in a directory.
18922
finish_cmds=$lt_finish_cmds
18924
# Same as above, but a single script fragment to be evaled but not shown.
18925
finish_eval=$lt_finish_eval
18927
# Take the output of nm and produce a listing of raw symbols and C names.
18928
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18930
# Transform the output of nm in a proper C declaration
18931
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18933
# Transform the output of nm in a C name address pair
18934
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18936
# This is the shared library runtime path variable.
18937
runpath_var=$runpath_var
18939
# This is the shared library path variable.
18940
shlibpath_var=$shlibpath_var
18942
# Is shlibpath searched before the hard-coded library search path?
18943
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18945
# How to hardcode a shared library path into an executable.
18946
hardcode_action=$hardcode_action_F77
18948
# Whether we should hardcode library paths into libraries.
18949
hardcode_into_libs=$hardcode_into_libs
18951
# Flag to hardcode \$libdir into a binary during linking.
18952
# This must work even if \$libdir does not exist.
18953
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
18955
# If ld is used when linking, flag to hardcode \$libdir into
18956
# a binary during linking. This must work even if \$libdir does
18958
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
18960
# Whether we need a single -rpath flag with a separated argument.
18961
hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
18963
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18964
# resulting binary.
18965
hardcode_direct=$hardcode_direct_F77
18967
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18968
# resulting binary.
18969
hardcode_minus_L=$hardcode_minus_L_F77
18971
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18972
# the resulting binary.
18973
hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
18975
# Set to yes if building a shared library automatically hardcodes DIR into the library
18976
# and all subsequent libraries and executables linked against it.
18977
hardcode_automatic=$hardcode_automatic_F77
18979
# Variables whose values should be saved in libtool wrapper scripts and
18980
# restored at relink time.
18981
variables_saved_for_relink="$variables_saved_for_relink"
18983
# Whether libtool must link a program against all its dependency libraries.
18984
link_all_deplibs=$link_all_deplibs_F77
18986
# Compile-time system search path for libraries
18987
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18989
# Run-time system search path for libraries
18990
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18992
# Fix the shell variable \$srcfile for the compiler.
18993
fix_srcfile_path="$fix_srcfile_path_F77"
18995
# Set to yes if exported symbols are required.
18996
always_export_symbols=$always_export_symbols_F77
18998
# The commands to list exported symbols.
18999
export_symbols_cmds=$lt_export_symbols_cmds_F77
19001
# The commands to extract the exported symbol list from a shared archive.
19002
extract_expsyms_cmds=$lt_extract_expsyms_cmds
19004
# Symbols that should not be listed in the preloaded symbols.
19005
exclude_expsyms=$lt_exclude_expsyms_F77
19007
# Symbols that must always be exported.
19008
include_expsyms=$lt_include_expsyms_F77
19010
# ### END LIBTOOL TAG CONFIG: $tagname
19016
# If there is no Makefile yet, we rely on a make rule to execute
19017
# `config.status --recheck' to rerun these tests and create the
19018
# libtool script then.
19019
test -f Makefile && make "$ltmain"
19024
ac_cpp='$CPP $CPPFLAGS'
19025
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19026
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19027
ac_compiler_gnu=$ac_cv_c_compiler_gnu
19037
if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
19040
# Source file extension for Java test sources.
19043
# Object file extension for compiled Java test sources.
19047
# Code to be used in simple compile tests
19048
lt_simple_compile_test_code="class foo {}\n"
19050
# Code to be used in simple link tests
19051
lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n'
19053
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
19055
# If no C compiler was specified, use CC.
19058
# Allow CC to be a program name with arguments.
19062
# Allow CC to be a program name with arguments.
19068
# GCJ did not exist at the time GCC didn't implicitly link libc in.
19069
archive_cmds_need_lc_GCJ=no
19072
## There is no encapsulation within the following macros, do not change
19073
## the running order or otherwise move them around unless you know exactly
19074
## what you are doing...
19076
lt_prog_compiler_no_builtin_flag_GCJ=
19078
if test "$GCC" = yes; then
19079
lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
19082
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
19083
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
19084
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
19085
echo $ECHO_N "(cached) $ECHO_C" >&6
19087
lt_cv_prog_compiler_rtti_exceptions=no
19088
ac_outfile=conftest.$ac_objext
19089
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
19090
lt_compiler_flag="-fno-rtti -fno-exceptions"
19091
# Insert the option either (1) after the last *FLAGS variable, or
19092
# (2) before a word containing "conftest.", or (3) at the end.
19093
# Note that $ac_compile itself does not contain backslashes and begins
19094
# with a dollar sign (not a hyphen), so the echo should work correctly.
19095
# The option is referenced via a variable to avoid confusing sed.
19096
lt_compile=`echo "$ac_compile" | $SED \
19097
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
19098
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19099
-e 's:$: $lt_compiler_flag:'`
19100
(eval echo "\"\$as_me:19100: $lt_compile\"" >&5)
19101
(eval "$lt_compile" 2>conftest.err)
19103
cat conftest.err >&5
19104
echo "$as_me:19104: \$? = $ac_status" >&5
19105
if (exit $ac_status) && test -s "$ac_outfile"; then
19106
# The compiler can only warn and ignore the option if not recognized
19107
# So say no if there are warnings
19108
if test ! -s conftest.err; then
19109
lt_cv_prog_compiler_rtti_exceptions=yes
19115
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
19116
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
19118
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
19119
lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
19126
lt_prog_compiler_wl_GCJ=
19127
lt_prog_compiler_pic_GCJ=
19128
lt_prog_compiler_static_GCJ=
19130
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
19131
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
19133
if test "$GCC" = yes; then
19134
lt_prog_compiler_wl_GCJ='-Wl,'
19135
lt_prog_compiler_static_GCJ='-static'
19139
# All AIX code is PIC.
19140
if test "$host_cpu" = ia64; then
19141
# AIX 5 now supports IA64 processor
19142
lt_prog_compiler_static_GCJ='-Bstatic'
19147
# FIXME: we need at least 68020 code to build shared libraries, but
19148
# adding the `-m68020' flag to GCC prevents building anything better,
19150
lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
19153
beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
19154
# PIC is the default for these OSes.
19157
mingw* | pw32* | os2*)
19158
# This hack is so that the source file can tell whether it is being
19159
# built for inclusion in a dll (and should export symbols for example).
19160
lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
19163
darwin* | rhapsody*)
19164
# PIC is the default on this platform
19165
# Common symbols not allowed in MH_DYLIB files
19166
lt_prog_compiler_pic_GCJ='-fno-common'
19170
# Just because we use GCC doesn't mean we suddenly get shared libraries
19171
# on systems that don't support them.
19172
lt_prog_compiler_can_build_shared_GCJ=no
19177
if test -d /usr/nec; then
19178
lt_prog_compiler_pic_GCJ=-Kconform_pic
19183
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
19184
# not for PA HP-UX.
19185
case "$host_cpu" in
19190
lt_prog_compiler_pic_GCJ='-fPIC'
19196
lt_prog_compiler_pic_GCJ='-fPIC'
19200
# PORTME Check for flag to pass linker flags through the system compiler.
19203
lt_prog_compiler_wl_GCJ='-Wl,'
19204
if test "$host_cpu" = ia64; then
19205
# AIX 5 now supports IA64 processor
19206
lt_prog_compiler_static_GCJ='-Bstatic'
19208
lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
19212
mingw* | pw32* | os2*)
19213
# This hack is so that the source file can tell whether it is being
19214
# built for inclusion in a dll (and should export symbols for example).
19215
lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
19218
hpux9* | hpux10* | hpux11*)
19219
lt_prog_compiler_wl_GCJ='-Wl,'
19220
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
19221
# not for PA HP-UX.
19222
case "$host_cpu" in
19227
lt_prog_compiler_pic_GCJ='+Z'
19230
# Is there a better lt_prog_compiler_static that works with the bundled CC?
19231
lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
19234
irix5* | irix6* | nonstopux*)
19235
lt_prog_compiler_wl_GCJ='-Wl,'
19236
# PIC (with -KPIC) is the default.
19237
lt_prog_compiler_static_GCJ='-non_shared'
19241
lt_prog_compiler_pic_GCJ='-KPIC'
19242
lt_prog_compiler_static_GCJ='-Bstatic'
19248
lt_prog_compiler_wl_GCJ='-Wl,'
19249
lt_prog_compiler_pic_GCJ='-KPIC'
19250
lt_prog_compiler_static_GCJ='-static'
19253
lt_prog_compiler_wl_GCJ='-Wl,'
19254
# All Alpha code is PIC.
19255
lt_prog_compiler_static_GCJ='-non_shared'
19260
osf3* | osf4* | osf5*)
19261
lt_prog_compiler_wl_GCJ='-Wl,'
19262
# All OSF/1 code is PIC.
19263
lt_prog_compiler_static_GCJ='-non_shared'
19267
lt_prog_compiler_pic_GCJ='-Kpic'
19268
lt_prog_compiler_static_GCJ='-dn'
19272
lt_prog_compiler_wl_GCJ='-Wl,'
19273
lt_prog_compiler_pic_GCJ='-KPIC'
19274
lt_prog_compiler_static_GCJ='-Bstatic'
19278
lt_prog_compiler_wl_GCJ='-Qoption ld '
19279
lt_prog_compiler_pic_GCJ='-PIC'
19280
lt_prog_compiler_static_GCJ='-Bstatic'
19283
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
19284
lt_prog_compiler_wl_GCJ='-Wl,'
19285
lt_prog_compiler_pic_GCJ='-KPIC'
19286
lt_prog_compiler_static_GCJ='-Bstatic'
19290
if test -d /usr/nec ;then
19291
lt_prog_compiler_pic_GCJ='-Kconform_pic'
19292
lt_prog_compiler_static_GCJ='-Bstatic'
19297
lt_prog_compiler_pic_GCJ='-pic'
19298
lt_prog_compiler_static_GCJ='-Bstatic'
19302
lt_prog_compiler_can_build_shared_GCJ=no
19307
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
19308
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
19311
# Check to make sure the PIC flag actually works.
19313
if test -n "$lt_prog_compiler_pic_GCJ"; then
19315
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
19316
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
19317
if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
19318
echo $ECHO_N "(cached) $ECHO_C" >&6
19320
lt_prog_compiler_pic_works_GCJ=no
19321
ac_outfile=conftest.$ac_objext
19322
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
19323
lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
19324
# Insert the option either (1) after the last *FLAGS variable, or
19325
# (2) before a word containing "conftest.", or (3) at the end.
19326
# Note that $ac_compile itself does not contain backslashes and begins
19327
# with a dollar sign (not a hyphen), so the echo should work correctly.
19328
# The option is referenced via a variable to avoid confusing sed.
19329
lt_compile=`echo "$ac_compile" | $SED \
19330
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
19331
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19332
-e 's:$: $lt_compiler_flag:'`
19333
(eval echo "\"\$as_me:19333: $lt_compile\"" >&5)
19334
(eval "$lt_compile" 2>conftest.err)
19336
cat conftest.err >&5
19337
echo "$as_me:19337: \$? = $ac_status" >&5
19338
if (exit $ac_status) && test -s "$ac_outfile"; then
19339
# The compiler can only warn and ignore the option if not recognized
19340
# So say no if there are warnings
19341
if test ! -s conftest.err; then
19342
lt_prog_compiler_pic_works_GCJ=yes
19348
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
19349
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
19351
if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
19352
case $lt_prog_compiler_pic_GCJ in
19354
*) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
19357
lt_prog_compiler_pic_GCJ=
19358
lt_prog_compiler_can_build_shared_GCJ=no
19363
# For platforms which do not support PIC, -DPIC is meaningless:
19365
lt_prog_compiler_pic_GCJ=
19368
lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
19372
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
19373
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
19374
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
19375
echo $ECHO_N "(cached) $ECHO_C" >&6
19377
lt_cv_prog_compiler_c_o_GCJ=no
19378
$rm -r conftest 2>/dev/null
19382
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
19384
# According to Tom Tromey, Ian Lance Taylor reported there are C compilers
19385
# that will create temporary files in the current directory regardless of
19386
# the output directory. Thus, making CWD read-only will cause this test
19387
# to fail, enabling locking or at least warning the user not to do parallel
19391
lt_compiler_flag="-o out/conftest2.$ac_objext"
19392
# Insert the option either (1) after the last *FLAGS variable, or
19393
# (2) before a word containing "conftest.", or (3) at the end.
19394
# Note that $ac_compile itself does not contain backslashes and begins
19395
# with a dollar sign (not a hyphen), so the echo should work correctly.
19396
lt_compile=`echo "$ac_compile" | $SED \
19397
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
19398
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19399
-e 's:$: $lt_compiler_flag:'`
19400
(eval echo "\"\$as_me:19400: $lt_compile\"" >&5)
19401
(eval "$lt_compile" 2>out/conftest.err)
19403
cat out/conftest.err >&5
19404
echo "$as_me:19404: \$? = $ac_status" >&5
19405
if (exit $ac_status) && test -s out/conftest2.$ac_objext
19407
# The compiler can only warn and ignore the option if not recognized
19408
# So say no if there are warnings
19409
if test ! -s out/conftest.err; then
19410
lt_cv_prog_compiler_c_o_GCJ=yes
19414
$rm conftest* out/*
19421
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
19422
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
19425
hard_links="nottested"
19426
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
19427
# do not overwrite the value of need_locks provided by the user
19428
{ echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
19429
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
19432
ln conftest.a conftest.b 2>/dev/null && hard_links=no
19434
ln conftest.a conftest.b 2>&5 || hard_links=no
19435
ln conftest.a conftest.b 2>/dev/null && hard_links=no
19436
{ echo "$as_me:$LINENO: result: $hard_links" >&5
19437
echo "${ECHO_T}$hard_links" >&6; }
19438
if test "$hard_links" = no; then
19439
{ echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
19440
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
19447
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
19448
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
19451
allow_undefined_flag_GCJ=
19452
enable_shared_with_static_runtimes_GCJ=no
19454
archive_expsym_cmds_GCJ=
19455
old_archive_From_new_cmds_GCJ=
19456
old_archive_from_expsyms_cmds_GCJ=
19457
export_dynamic_flag_spec_GCJ=
19458
whole_archive_flag_spec_GCJ=
19459
thread_safe_flag_spec_GCJ=
19460
hardcode_libdir_flag_spec_GCJ=
19461
hardcode_libdir_flag_spec_ld_GCJ=
19462
hardcode_libdir_separator_GCJ=
19463
hardcode_direct_GCJ=no
19464
hardcode_minus_L_GCJ=no
19465
hardcode_shlibpath_var_GCJ=unsupported
19466
link_all_deplibs_GCJ=unknown
19467
hardcode_automatic_GCJ=no
19469
module_expsym_cmds_GCJ=
19470
always_export_symbols_GCJ=no
19471
export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
19472
# include_expsyms should be a list of space-separated symbols to be *always*
19473
# included in the symbol list
19474
include_expsyms_GCJ=
19475
# exclude_expsyms can be an extended regexp of symbols to exclude
19476
# it will be wrapped by ` (' and `)$', so one must not match beginning or
19477
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
19478
# as well as any symbol that contains `d'.
19479
exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
19480
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
19481
# platforms (ab)use it in PIC code, but their linkers get confused if
19482
# the symbol is explicitly referenced. Since portable code cannot
19483
# rely on this symbol name, it's probably fine to never include it in
19484
# preloaded symbol tables.
19485
extract_expsyms_cmds=
19488
cygwin* | mingw* | pw32*)
19489
# FIXME: the MSVC++ port hasn't been tested in a loooong time
19490
# When not using gcc, we currently assume that we are using
19491
# Microsoft Visual C++.
19492
if test "$GCC" != yes; then
19502
if test "$with_gnu_ld" = yes; then
19503
# If archive_cmds runs LD, not CC, wlarc should be empty
19506
# See if GNU ld supports shared libraries.
19508
aix3* | aix4* | aix5*)
19509
# On AIX/PPC, the GNU linker is very broken
19510
if test "$host_cpu" != ia64; then
19514
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
19515
*** to be unable to reliably create shared libraries on AIX.
19516
*** Therefore, libtool is disabling shared libraries support. If you
19517
*** really care for shared libraries, you may want to modify your PATH
19518
*** so that a non-GNU linker is found, and then restart.
19525
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)'
19526
hardcode_libdir_flag_spec_GCJ='-L$libdir'
19527
hardcode_minus_L_GCJ=yes
19529
# Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
19530
# that the semantics of dynamic libraries on AmigaOS, at least up
19531
# to version 4, is to share data among multiple programs linked
19532
# with the same dynamic library. Since this doesn't match the
19533
# behavior of shared libraries on other platforms, we can't use
19539
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
19540
allow_undefined_flag_GCJ=unsupported
19541
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
19542
# support --undefined. This deserves some investigation. FIXME
19543
archive_cmds_GCJ='$CC -nostart $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
19549
cygwin* | mingw* | pw32*)
19550
# _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
19551
# as there is no search path for DLLs.
19552
hardcode_libdir_flag_spec_GCJ='-L$libdir'
19553
allow_undefined_flag_GCJ=no
19554
always_export_symbols_GCJ=no
19555
enable_shared_with_static_runtimes_GCJ=yes
19556
export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
19558
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
19559
archive_cmds_GCJ='$CC -shared $compiler_flags $libobjs $deplibs -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
19560
# If the export-symbols file already is a .def file (1st line
19561
# is EXPORTS), use it as is; otherwise, prepend...
19562
archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
19563
cp $export_symbols $output_objdir/$soname.def;
19565
echo EXPORTS > $output_objdir/$soname.def;
19566
cat $export_symbols >> $output_objdir/$soname.def;
19568
$CC -shared $output_objdir/$soname.def $compiler_flags $libobjs $deplibs -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
19575
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
19576
archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
19579
archive_cmds_GCJ='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
19580
archive_expsym_cmds_GCJ='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
19585
if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
19589
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
19590
*** create shared libraries on Solaris systems. Therefore, libtool
19591
*** is disabling shared libraries support. We urge you to upgrade GNU
19592
*** binutils to release 2.9.1 or newer. Another option is to modify
19593
*** your PATH or compiler configuration so that the native linker is
19594
*** used, and then restart.
19597
elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
19598
archive_cmds_GCJ='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
19599
archive_expsym_cmds_GCJ='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
19606
archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19608
hardcode_direct_GCJ=yes
19609
hardcode_shlibpath_var_GCJ=no
19613
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
19614
archive_cmds_GCJ='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
19615
archive_expsym_cmds_GCJ='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
19622
if test "$ld_shlibs_GCJ" = yes; then
19623
runpath_var=LD_RUN_PATH
19624
hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
19625
export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
19626
# ancient GNU ld didn't support --whole-archive et. al.
19627
if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
19628
whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
19630
whole_archive_flag_spec_GCJ=
19634
# PORTME fill in a description of your system's linker (not GNU ld)
19637
allow_undefined_flag_GCJ=unsupported
19638
always_export_symbols_GCJ=yes
19639
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'
19640
# Note: this linker hardcodes the directories in LIBPATH if there
19641
# are no directories specified by -L.
19642
hardcode_minus_L_GCJ=yes
19643
if test "$GCC" = yes && test -z "$link_static_flag"; then
19644
# Neither direct hardcoding nor static linking is supported with a
19646
hardcode_direct_GCJ=unsupported
19651
if test "$host_cpu" = ia64; then
19652
# On IA64, the linker does run time linking by default, so we don't
19653
# have to do anything special.
19654
aix_use_runtimelinking=no
19655
exp_sym_flag='-Bexport'
19658
# If we're using GNU nm, then we don't want the "-C" option.
19659
# -C means demangle to AIX nm, but means don't demangle with GNU nm
19660
if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
19661
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'
19663
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'
19666
# KDE requires run time linking. Make it the default.
19667
aix_use_runtimelinking=yes
19668
exp_sym_flag='-bexport'
19669
no_entry_flag='-bnoentry'
19672
# When large executables or shared objects are built, AIX ld can
19673
# have problems creating the table of contents. If linking a library
19674
# or program results in "error TOC overflow" add -mminimal-toc to
19675
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
19676
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
19678
archive_cmds_GCJ=''
19679
hardcode_direct_GCJ=yes
19680
hardcode_libdir_separator_GCJ=':'
19681
link_all_deplibs_GCJ=yes
19683
if test "$GCC" = yes; then
19684
case $host_os in aix4.012|aix4.012.*)
19685
# We only want to do this on AIX 4.2 and lower, the check
19686
# below for broken collect2 doesn't work under 4.3+
19687
collect2name=`${CC} -print-prog-name=collect2`
19688
if test -f "$collect2name" && \
19689
strings "$collect2name" | grep resolve_lib_name >/dev/null
19691
# We have reworked collect2
19692
hardcode_direct_GCJ=yes
19694
# We have old collect2
19695
hardcode_direct_GCJ=unsupported
19696
# It fails to find uninstalled libraries when the uninstalled
19697
# path is not listed in the libpath. Setting hardcode_minus_L
19698
# to unsupported forces relinking
19699
hardcode_minus_L_GCJ=yes
19700
hardcode_libdir_flag_spec_GCJ='-L$libdir'
19701
hardcode_libdir_separator_GCJ=
19704
shared_flag='-shared'
19707
if test "$host_cpu" = ia64; then
19708
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
19709
# chokes on -Wl,-G. The following line is correct:
19712
if test "$aix_use_runtimelinking" = yes; then
19713
shared_flag='-qmkshrobj ${wl}-G'
19715
shared_flag='-qmkshrobj'
19720
# Let the compiler handle the export list.
19721
always_export_symbols_GCJ=no
19722
if test "$aix_use_runtimelinking" = yes; then
19723
# Warning - without using the other runtime loading flags (-brtl),
19724
# -berok will link without error, but may produce a broken library.
19725
allow_undefined_flag_GCJ='-berok'
19726
# Determine the default libpath from the value encoded in an empty executable.
19727
cat >conftest.$ac_ext <<_ACEOF
19730
cat confdefs.h >>conftest.$ac_ext
19731
cat >>conftest.$ac_ext <<_ACEOF
19732
/* end confdefs.h. */
19742
rm -f conftest.$ac_objext conftest$ac_exeext
19743
if { (ac_try="$ac_link"
19744
case "(($ac_try" in
19745
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19746
*) ac_try_echo=$ac_try;;
19748
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19749
(eval "$ac_link") 2>conftest.er1
19751
grep -v '^ *+' conftest.er1 >conftest.err
19753
cat conftest.err >&5
19754
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19755
(exit $ac_status); } && {
19756
test -z "$ac_c_werror_flag" ||
19757
test ! -s conftest.err
19758
} && test -s conftest$ac_exeext &&
19759
$as_test_x conftest$ac_exeext; then
19761
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
19763
# Check for a 64-bit object if we didn't find anything.
19764
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; }
19767
echo "$as_me: failed program was:" >&5
19768
sed 's/^/| /' conftest.$ac_ext >&5
19773
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19774
conftest$ac_exeext conftest.$ac_ext
19775
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
19777
hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
19778
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"
19779
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"
19781
if test "$host_cpu" = ia64; then
19782
hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
19783
allow_undefined_flag_GCJ="-z nodefs"
19784
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"
19786
# Determine the default libpath from the value encoded in an empty executable.
19787
cat >conftest.$ac_ext <<_ACEOF
19790
cat confdefs.h >>conftest.$ac_ext
19791
cat >>conftest.$ac_ext <<_ACEOF
19792
/* end confdefs.h. */
19802
rm -f conftest.$ac_objext conftest$ac_exeext
19803
if { (ac_try="$ac_link"
19804
case "(($ac_try" in
19805
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19806
*) ac_try_echo=$ac_try;;
19808
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19809
(eval "$ac_link") 2>conftest.er1
19811
grep -v '^ *+' conftest.er1 >conftest.err
19813
cat conftest.err >&5
19814
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19815
(exit $ac_status); } && {
19816
test -z "$ac_c_werror_flag" ||
19817
test ! -s conftest.err
19818
} && test -s conftest$ac_exeext &&
19819
$as_test_x conftest$ac_exeext; then
19821
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
19823
# Check for a 64-bit object if we didn't find anything.
19824
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; }
19827
echo "$as_me: failed program was:" >&5
19828
sed 's/^/| /' conftest.$ac_ext >&5
19833
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19834
conftest$ac_exeext conftest.$ac_ext
19835
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
19837
hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
19838
# Warning - without using the other run time loading flags,
19839
# -berok will link without error, but may produce a broken library.
19840
no_undefined_flag_GCJ=' ${wl}-bernotok'
19841
allow_undefined_flag_GCJ=' ${wl}-berok'
19842
# -bexpall does not export symbols beginning with underscore (_)
19843
always_export_symbols_GCJ=yes
19844
# Exported symbols can be pulled into shared objects from archives
19845
whole_archive_flag_spec_GCJ=' '
19846
archive_cmds_need_lc_GCJ=yes
19847
# This is similar to how AIX traditionally builds it's shared libraries.
19848
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'
19854
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)'
19855
hardcode_libdir_flag_spec_GCJ='-L$libdir'
19856
hardcode_minus_L_GCJ=yes
19857
# see comment about different semantics on the GNU ld section
19862
export_dynamic_flag_spec_GCJ=-rdynamic
19865
cygwin* | mingw* | pw32*)
19866
# When not using gcc, we currently assume that we are using
19867
# Microsoft Visual C++.
19868
# hardcode_libdir_flag_spec is actually meaningless, as there is
19869
# no search path for DLLs.
19870
hardcode_libdir_flag_spec_GCJ=' '
19871
allow_undefined_flag_GCJ=no
19872
# Tell ltmain to make .lib files, not .a files.
19874
# Tell ltmain to make .dll files, not .so files.
19876
# FIXME: Setting linknames here is a bad hack.
19877
archive_cmds_GCJ='$CC -o $lib $compiler_flags $libobjs `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
19878
# The linker will automatically build a .lib file if we build a DLL.
19879
old_archive_From_new_cmds_GCJ='true'
19880
# FIXME: Should let the user specify the lib program.
19881
old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
19882
fix_srcfile_path='`cygpath -w "$srcfile"`'
19883
enable_shared_with_static_runtimes_GCJ=yes
19886
darwin* | rhapsody*)
19887
if test "$GXX" = yes ; then
19888
archive_cmds_need_lc_GCJ=no
19890
rhapsody* | darwin1.[012])
19891
allow_undefined_flag_GCJ='-Wl,-undefined -Wl,suppress'
19894
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
19895
allow_undefined_flag_GCJ='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
19897
case ${MACOSX_DEPLOYMENT_TARGET} in
19899
allow_undefined_flag_GCJ='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
19902
allow_undefined_flag_GCJ='-Wl,-undefined -Wl,dynamic_lookup'
19908
lt_int_apple_cc_single_mod=no
19909
output_verbose_link_cmd='echo'
19910
if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
19911
lt_int_apple_cc_single_mod=yes
19913
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
19914
archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring'
19916
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'
19918
module_cmds_GCJ='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs'
19919
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
19920
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
19921
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}'
19923
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}'
19925
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}'
19926
hardcode_direct_GCJ=no
19927
hardcode_automatic_GCJ=yes
19928
hardcode_shlibpath_var_GCJ=unsupported
19929
whole_archive_flag_spec_GCJ='-all_load $convenience'
19930
link_all_deplibs_GCJ=yes
19937
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19938
hardcode_libdir_flag_spec_GCJ='-L$libdir'
19939
hardcode_shlibpath_var_GCJ=no
19946
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
19947
# support. Future versions do this automatically, but an explicit c++rt0.o
19948
# does not break anything, and helps significantly (at the cost of a little
19951
archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
19952
hardcode_libdir_flag_spec_GCJ='-R$libdir'
19953
hardcode_direct_GCJ=yes
19954
hardcode_shlibpath_var_GCJ=no
19957
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
19959
archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19960
hardcode_direct_GCJ=yes
19961
hardcode_minus_L_GCJ=yes
19962
hardcode_shlibpath_var_GCJ=no
19965
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
19966
freebsd* | kfreebsd*-gnu)
19967
archive_cmds_GCJ='$CC -shared -o $lib $compiler_flags $libobjs $deplibs'
19968
hardcode_libdir_flag_spec_GCJ='-R$libdir'
19969
hardcode_direct_GCJ=yes
19970
hardcode_shlibpath_var_GCJ=no
19974
if test "$GCC" = yes; then
19975
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'
19977
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'
19979
hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
19980
hardcode_libdir_separator_GCJ=:
19981
hardcode_direct_GCJ=yes
19983
# hardcode_minus_L: Not really in the search PATH,
19984
# but as the default location of the library.
19985
hardcode_minus_L_GCJ=yes
19986
export_dynamic_flag_spec_GCJ='${wl}-E'
19990
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
19991
case "$host_cpu" in
19993
archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
19996
archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $compiler_flags $libobjs $deplibs'
20000
case "$host_cpu" in
20002
archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
20005
archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
20009
if test "$with_gnu_ld" = no; then
20010
case "$host_cpu" in
20012
hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
20013
hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
20014
hardcode_libdir_separator_GCJ=:
20015
hardcode_direct_GCJ=no
20016
hardcode_shlibpath_var_GCJ=no
20019
hardcode_libdir_flag_spec_GCJ='-L$libdir'
20020
hardcode_direct_GCJ=no
20021
hardcode_shlibpath_var_GCJ=no
20023
# hardcode_minus_L: Not really in the search PATH,
20024
# but as the default location of the library.
20025
hardcode_minus_L_GCJ=yes
20028
hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
20029
hardcode_libdir_separator_GCJ=:
20030
hardcode_direct_GCJ=yes
20031
export_dynamic_flag_spec_GCJ='${wl}-E'
20033
# hardcode_minus_L: Not really in the search PATH,
20034
# but as the default location of the library.
20035
hardcode_minus_L_GCJ=yes
20041
irix5* | irix6* | nonstopux*)
20042
if test "$GCC" = yes; then
20043
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'
20045
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'
20046
hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
20048
hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
20049
hardcode_libdir_separator_GCJ=:
20050
link_all_deplibs_GCJ=yes
20054
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
20055
archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
20057
archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
20059
hardcode_libdir_flag_spec_GCJ='-R$libdir'
20060
hardcode_direct_GCJ=yes
20061
hardcode_shlibpath_var_GCJ=no
20065
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20066
hardcode_direct_GCJ=yes
20067
hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
20068
hardcode_libdir_separator_GCJ=:
20069
hardcode_shlibpath_var_GCJ=no
20073
hardcode_direct_GCJ=yes
20074
hardcode_shlibpath_var_GCJ=no
20075
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
20076
archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $compiler_flags $libobjs $deplibs'
20077
hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
20078
export_dynamic_flag_spec_GCJ='${wl}-E'
20081
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
20082
archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
20083
hardcode_libdir_flag_spec_GCJ='-R$libdir'
20086
archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $compiler_flags $libobjs $deplibs'
20087
hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
20094
hardcode_libdir_flag_spec_GCJ='-L$libdir'
20095
hardcode_minus_L_GCJ=yes
20096
allow_undefined_flag_GCJ=unsupported
20097
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'
20098
old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
20102
if test "$GCC" = yes; then
20103
allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
20104
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'
20106
allow_undefined_flag_GCJ=' -expect_unresolved \*'
20107
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'
20109
hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
20110
hardcode_libdir_separator_GCJ=:
20113
osf4* | osf5*) # as osf3* with the addition of -msym flag
20114
if test "$GCC" = yes; then
20115
allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
20116
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'
20117
hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
20119
allow_undefined_flag_GCJ=' -expect_unresolved \*'
20120
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'
20121
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~
20122
$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'
20124
# Both c and cxx compiler support -rpath directly
20125
hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
20127
hardcode_libdir_separator_GCJ=:
20131
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20132
hardcode_shlibpath_var_GCJ=no
20133
export_dynamic_flag_spec_GCJ='${wl}-Bexport'
20134
runpath_var=LD_RUN_PATH
20135
hardcode_runpath_var=yes
20139
no_undefined_flag_GCJ=' -z text'
20140
if test "$GCC" = yes; then
20141
archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
20142
archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
20143
$CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs~$rm $lib.exp'
20145
archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
20146
archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
20147
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
20149
hardcode_libdir_flag_spec_GCJ='-R$libdir'
20150
hardcode_shlibpath_var_GCJ=no
20152
solaris2.[0-5] | solaris2.[0-5].*) ;;
20153
*) # Supported since Solaris 2.6 (maybe 2.5.1?)
20154
whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
20156
link_all_deplibs_GCJ=yes
20160
if test "x$host_vendor" = xsequent; then
20161
# Use $CC to link under sequent, because it throws in some extra .o
20162
# files that make .init and .fini sections work.
20163
archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $compiler_flags $libobjs $deplibs'
20165
archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
20167
hardcode_libdir_flag_spec_GCJ='-L$libdir'
20168
hardcode_direct_GCJ=yes
20169
hardcode_minus_L_GCJ=yes
20170
hardcode_shlibpath_var_GCJ=no
20174
case $host_vendor in
20176
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20177
hardcode_direct_GCJ=yes # is this really true???
20180
## LD is ld it makes a PLAMLIB
20181
## CC just makes a GrossModule.
20182
archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
20183
reload_cmds_GCJ='$CC -r -o $output$reload_objs'
20184
hardcode_direct_GCJ=no
20187
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20188
hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
20191
runpath_var='LD_RUN_PATH'
20192
hardcode_shlibpath_var_GCJ=no
20196
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20197
hardcode_shlibpath_var_GCJ=no
20198
export_dynamic_flag_spec_GCJ='-Bexport'
20202
if test -d /usr/nec; then
20203
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20204
hardcode_shlibpath_var_GCJ=no
20205
runpath_var=LD_RUN_PATH
20206
hardcode_runpath_var=yes
20212
archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
20213
hardcode_direct_GCJ=yes
20214
hardcode_minus_L_GCJ=no
20215
hardcode_shlibpath_var_GCJ=no
20216
hardcode_runpath_var=yes
20217
runpath_var=LD_RUN_PATH
20220
sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
20221
no_undefined_flag_GCJ='${wl}-z ${wl}text'
20222
if test "$GCC" = yes; then
20223
archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
20225
archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
20227
runpath_var='LD_RUN_PATH'
20228
hardcode_shlibpath_var_GCJ=no
20232
no_undefined_flag_GCJ=' -z text'
20233
# $CC -shared without GNU ld will not create a library from C++
20234
# object files and a static libstdc++, better avoid it by now
20235
archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
20236
archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
20237
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
20238
hardcode_libdir_flag_spec_GCJ=
20239
hardcode_shlibpath_var_GCJ=no
20240
runpath_var='LD_RUN_PATH'
20244
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20245
hardcode_libdir_flag_spec_GCJ='-L$libdir'
20246
hardcode_shlibpath_var_GCJ=no
20255
{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
20256
echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
20257
test "$ld_shlibs_GCJ" = no && can_build_shared=no
20259
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
20260
if test "$GCC" = yes; then
20261
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
20265
# Do we need to explicitly link libc?
20267
case "x$archive_cmds_need_lc_GCJ" in
20269
# Assume -lc should be added
20270
archive_cmds_need_lc_GCJ=yes
20272
if test "$enable_shared" = yes && test "$GCC" = yes; then
20273
case $archive_cmds_GCJ in
20275
# FIXME: we may have to deal with multi-command sequences.
20278
# Test whether the compiler implicitly links with -lc since on some
20279
# systems, -lgcc has to come before -lc. If gcc already passes -lc
20280
# to ld, don't add -lc before -lgcc.
20281
{ echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
20282
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
20284
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
20286
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20287
(eval $ac_compile) 2>&5
20289
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20290
(exit $ac_status); } 2>conftest.err; then
20293
libobjs=conftest.$ac_objext
20295
wl=$lt_prog_compiler_wl_GCJ
20301
lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
20302
allow_undefined_flag_GCJ=
20303
if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
20304
(eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
20306
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20307
(exit $ac_status); }
20309
archive_cmds_need_lc_GCJ=no
20311
archive_cmds_need_lc_GCJ=yes
20313
allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
20315
cat conftest.err 1>&5
20318
{ echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
20319
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
20326
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
20327
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
20328
library_names_spec=
20329
libname_spec='lib$name'
20333
postuninstall_cmds=
20337
shlibpath_overrides_runpath=unknown
20339
dynamic_linker="$host_os ld.so"
20340
sys_lib_dlsearch_path_spec="/lib /usr/lib"
20341
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
20342
need_lib_prefix=unknown
20343
hardcode_into_libs=no
20345
# when you set need_version to no, make sure it does not cause -set_version
20346
# flags to be left without arguments
20347
need_version=unknown
20352
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
20353
shlibpath_var=LIBPATH
20355
# AIX 3 has no versioning support, so we append a major version to the name.
20356
soname_spec='${libname}${release}${shared_ext}$major'
20363
hardcode_into_libs=yes
20364
if test "$host_cpu" = ia64; then
20365
# AIX 5 supports IA64
20366
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
20367
shlibpath_var=LD_LIBRARY_PATH
20369
# With GCC up to 2.95.x, collect2 would create an import file
20370
# for dependence libraries. The import file would start with
20371
# the line `#! .'. This would cause the generated library to
20372
# depend on `.', always an invalid library. This was fixed in
20373
# development snapshots of GCC prior to 3.0.
20375
aix4 | aix4.[01] | aix4.[01].*)
20376
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
20378
echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
20381
can_build_shared=no
20385
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
20386
# soname into executable. Probably we can add versioning support to
20387
# collect2, so additional links can be useful in future.
20388
if test "$aix_use_runtimelinking" = yes; then
20389
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
20390
# instead of lib<name>.a to let people know that these are not
20391
# typical AIX shared libraries.
20392
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20394
# We preserve .a as extension for shared libraries through AIX4.2
20395
# and later when we are not doing run time linking.
20396
library_names_spec='${libname}${release}.a $libname.a'
20397
soname_spec='${libname}${release}${shared_ext}$major'
20399
shlibpath_var=LIBPATH
20404
library_names_spec='$libname.ixlibrary $libname.a'
20405
# Create ${libname}_ixlibrary.a entries in /sys/libs.
20406
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'
20410
library_names_spec='${libname}${shared_ext}'
20411
dynamic_linker="$host_os ld.so"
20412
shlibpath_var=LIBRARY_PATH
20418
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20419
soname_spec='${libname}${release}${shared_ext}$major'
20420
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
20421
shlibpath_var=LD_LIBRARY_PATH
20422
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
20423
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
20424
# the default ld.so.conf also contains /usr/contrib/lib and
20425
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
20426
# libtool to hard-code these into programs
20429
cygwin* | mingw* | pw32*)
20430
version_type=windows
20435
case $GCC,$host_os in
20436
yes,cygwin* | yes,mingw* | yes,pw32*)
20437
library_names_spec='$libname.dll.a'
20438
# DLL is installed to $(libdir)/../bin by postinstall_cmds
20439
postinstall_cmds='base_file=`basename \${file}`~
20440
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
20441
dldir=$destdir/`dirname \$dlpath`~
20442
test -d \$dldir || mkdir -p \$dldir~
20443
$install_prog $dir/$dlname \$dldir/$dlname'
20444
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
20445
dlpath=$dir/\$dldll~
20447
shlibpath_overrides_runpath=yes
20451
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
20452
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20453
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
20456
# MinGW DLLs use traditional 'lib' prefix
20457
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20458
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
20459
if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
20460
# It is most probably a Windows format PATH printed by
20461
# mingw gcc, but we are running on Cygwin. Gcc prints its search
20462
# path with ; separators, and with drive letters. We can handle the
20463
# drive letters (cygwin fileutils understands them), so leave them,
20464
# especially as we might pass files found there to a mingw objdump,
20465
# which wouldn't understand a cygwinified path. Ahh.
20466
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
20468
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
20472
# pw32 DLLs use 'pw' prefix rather than 'lib'
20473
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
20479
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
20482
dynamic_linker='Win32 ld.exe'
20483
# FIXME: first we should search . and the directory the executable is in
20487
darwin* | rhapsody*)
20488
dynamic_linker="$host_os dyld"
20489
version_type=darwin
20492
library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
20493
soname_spec='${libname}${release}${major}$shared_ext'
20494
shlibpath_overrides_runpath=yes
20495
shlibpath_var=DYLD_LIBRARY_PATH
20496
shrext='$(test .$module = .yes && echo .so || echo .dylib)'
20497
# Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
20498
if test "$GCC" = yes; then
20499
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"`
20501
sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
20503
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
20510
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
20511
soname_spec='${libname}${release}${shared_ext}$major'
20512
shlibpath_var=LD_LIBRARY_PATH
20523
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20524
soname_spec='${libname}${release}${shared_ext}$major'
20525
shlibpath_var=LD_LIBRARY_PATH
20526
shlibpath_overrides_runpath=no
20527
hardcode_into_libs=yes
20528
dynamic_linker='GNU ld.so'
20532
objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
20533
version_type=freebsd-$objformat
20534
case $version_type in
20536
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20541
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
20545
shlibpath_var=LD_LIBRARY_PATH
20548
shlibpath_overrides_runpath=yes
20550
freebsd3.01* | freebsdelf3.01*)
20551
shlibpath_overrides_runpath=yes
20552
hardcode_into_libs=yes
20555
shlibpath_overrides_runpath=no
20556
hardcode_into_libs=yes
20565
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
20566
soname_spec='${libname}${release}${shared_ext}$major'
20567
shlibpath_var=LD_LIBRARY_PATH
20568
hardcode_into_libs=yes
20571
hpux9* | hpux10* | hpux11*)
20572
# Give a soname corresponding to the major version so that dld.sl refuses to
20573
# link against other versions.
20577
case "$host_cpu" in
20580
hardcode_into_libs=yes
20581
dynamic_linker="$host_os dld.so"
20582
shlibpath_var=LD_LIBRARY_PATH
20583
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
20584
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20585
soname_spec='${libname}${release}${shared_ext}$major'
20586
if test "X$HPUX_IA64_MODE" = X32; then
20587
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
20589
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
20591
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
20595
hardcode_into_libs=yes
20596
dynamic_linker="$host_os dld.sl"
20597
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
20598
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
20599
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20600
soname_spec='${libname}${release}${shared_ext}$major'
20601
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
20602
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
20606
dynamic_linker="$host_os dld.sl"
20607
shlibpath_var=SHLIB_PATH
20608
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
20609
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20610
soname_spec='${libname}${release}${shared_ext}$major'
20613
# HP-UX runs *really* slowly unless shared libraries are mode 555.
20614
postinstall_cmds='chmod 555 $lib'
20617
irix5* | irix6* | nonstopux*)
20619
nonstopux*) version_type=nonstopux ;;
20621
if test "$lt_cv_prog_gnu_ld" = yes; then
20629
soname_spec='${libname}${release}${shared_ext}$major'
20630
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
20632
irix5* | nonstopux*)
20633
libsuff= shlibsuff=
20636
case $LD in # libtool.m4 will add one of these switches to LD
20637
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
20638
libsuff= shlibsuff= libmagic=32-bit;;
20639
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
20640
libsuff=32 shlibsuff=N32 libmagic=N32;;
20641
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
20642
libsuff=64 shlibsuff=64 libmagic=64-bit;;
20643
*) libsuff= shlibsuff= libmagic=never-match;;
20647
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
20648
shlibpath_overrides_runpath=no
20649
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
20650
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
20651
hardcode_into_libs=yes
20654
# No shared lib support for Linux oldld, aout, or coff.
20655
linux*oldld* | linux*aout* | linux*coff*)
20659
# This must be Linux ELF.
20664
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20665
soname_spec='${libname}${release}${shared_ext}$major'
20666
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
20668
if test "x$LINUX_64_MODE" = x64; then
20669
# Some platforms are per default 64-bit, so there's no /lib64
20670
if test -d /lib64; then
20674
shlibpath_var=LD_LIBRARY_PATH
20675
shlibpath_overrides_runpath=no
20676
sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
20677
sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
20678
# This implies no fast_install, which is unacceptable.
20679
# Some rework will be needed to allow for fast_install
20680
# before this can be enabled.
20681
hardcode_into_libs=yes
20683
# We used to test for /lib/ld.so.1 and disable shared libraries on
20684
# powerpc, because MkLinux only supported shared libraries with the
20685
# GNU dynamic linker. Since this was broken with cross compilers,
20686
# most powerpc-linux boxes support dynamic linking these days and
20687
# people can always --disable-shared, the test was removed, and we
20688
# assume the GNU/Linux dynamic linker is in use.
20689
dynamic_linker='GNU/Linux ld.so'
20696
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
20697
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20698
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20699
dynamic_linker='NetBSD (a.out) ld.so'
20701
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
20702
soname_spec='${libname}${release}${shared_ext}$major'
20703
dynamic_linker='NetBSD ld.elf_so'
20705
shlibpath_var=LD_LIBRARY_PATH
20706
shlibpath_overrides_runpath=yes
20707
hardcode_into_libs=yes
20712
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20713
shlibpath_var=LD_LIBRARY_PATH
20714
shlibpath_overrides_runpath=yes
20721
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20722
soname_spec='${libname}${release}${shared_ext}$major'
20723
shlibpath_var=LD_LIBRARY_PATH
20724
shlibpath_overrides_runpath=yes
20731
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20732
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20733
shlibpath_var=LD_LIBRARY_PATH
20734
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
20736
openbsd2.[89] | openbsd2.[89].*)
20737
shlibpath_overrides_runpath=no
20740
shlibpath_overrides_runpath=yes
20744
shlibpath_overrides_runpath=yes
20749
libname_spec='$name'
20752
library_names_spec='$libname${shared_ext} $libname.a'
20753
dynamic_linker='OS/2 ld.exe'
20754
shlibpath_var=LIBPATH
20757
osf3* | osf4* | osf5*)
20761
soname_spec='${libname}${release}${shared_ext}$major'
20762
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20763
shlibpath_var=LD_LIBRARY_PATH
20764
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
20765
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
20770
soname_spec='${libname}${release}${shared_ext}$major'
20771
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20772
shlibpath_var=LD_LIBRARY_PATH
20779
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20780
soname_spec='${libname}${release}${shared_ext}$major'
20781
shlibpath_var=LD_LIBRARY_PATH
20782
shlibpath_overrides_runpath=yes
20783
hardcode_into_libs=yes
20784
# ldd complains unless libraries are executable
20785
postinstall_cmds='chmod +x $lib'
20790
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20791
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
20792
shlibpath_var=LD_LIBRARY_PATH
20793
shlibpath_overrides_runpath=yes
20794
if test "$with_gnu_ld" = yes; then
20800
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
20802
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20803
soname_spec='${libname}${release}${shared_ext}$major'
20804
shlibpath_var=LD_LIBRARY_PATH
20805
case $host_vendor in
20807
shlibpath_overrides_runpath=no
20809
export_dynamic_flag_spec='${wl}-Blargedynsym'
20810
runpath_var=LD_RUN_PATH
20818
shlibpath_overrides_runpath=no
20819
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
20825
if test -d /usr/nec ;then
20827
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
20828
soname_spec='$libname${shared_ext}.$major'
20829
shlibpath_var=LD_LIBRARY_PATH
20835
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20836
soname_spec='${libname}${release}${shared_ext}$major'
20837
shlibpath_var=LD_LIBRARY_PATH
20844
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
20845
echo "${ECHO_T}$dynamic_linker" >&6; }
20846
test "$dynamic_linker" = no && can_build_shared=no
20848
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
20849
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
20850
hardcode_action_GCJ=
20851
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
20852
test -n "$runpath_var GCJ" || \
20853
test "X$hardcode_automatic_GCJ"="Xyes" ; then
20855
# We can hardcode non-existant directories.
20856
if test "$hardcode_direct_GCJ" != no &&
20857
# If the only mechanism to avoid hardcoding is shlibpath_var, we
20858
# have to relink, otherwise we might link with an installed library
20859
# when we should be linking with a yet-to-be-installed one
20860
## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
20861
test "$hardcode_minus_L_GCJ" != no; then
20862
# Linking always hardcodes the temporary library directory.
20863
hardcode_action_GCJ=relink
20865
# We can link without hardcoding, and we can hardcode nonexisting dirs.
20866
hardcode_action_GCJ=immediate
20869
# We cannot hardcode anything, or else we can only hardcode existing
20871
hardcode_action_GCJ=unsupported
20873
{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
20874
echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
20876
if test "$hardcode_action_GCJ" = relink; then
20877
# Fast installation is not supported
20878
enable_fast_install=no
20879
elif test "$shlibpath_overrides_runpath" = yes ||
20880
test "$enable_shared" = no; then
20881
# Fast installation is not necessary
20882
enable_fast_install=needless
20887
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
20888
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
20889
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
20890
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
20891
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
20892
{ echo "$as_me:$LINENO: result: yes" >&5
20893
echo "${ECHO_T}yes" >&6; }
20895
# FIXME - insert some real tests, host_os isn't really good enough
20898
if test -n "$STRIP" ; then
20899
striplib="$STRIP -x"
20900
{ echo "$as_me:$LINENO: result: yes" >&5
20901
echo "${ECHO_T}yes" >&6; }
20903
{ echo "$as_me:$LINENO: result: no" >&5
20904
echo "${ECHO_T}no" >&6; }
20908
{ echo "$as_me:$LINENO: result: no" >&5
20909
echo "${ECHO_T}no" >&6; }
20914
if test "x$enable_dlopen" != xyes; then
20915
enable_dlopen=unknown
20916
enable_dlopen_self=unknown
20917
enable_dlopen_self_static=unknown
20924
lt_cv_dlopen="load_add_on"
20926
lt_cv_dlopen_self=yes
20930
lt_cv_dlopen="LoadLibrary"
20935
lt_cv_dlopen="dlopen"
20940
# if libdl is installed we need to link against it
20941
{ echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
20942
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
20943
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
20944
echo $ECHO_N "(cached) $ECHO_C" >&6
20946
ac_check_lib_save_LIBS=$LIBS
20948
cat >conftest.$ac_ext <<_ACEOF
20951
cat confdefs.h >>conftest.$ac_ext
20952
cat >>conftest.$ac_ext <<_ACEOF
20953
/* end confdefs.h. */
20955
/* Override any GCC internal prototype to avoid an error.
20956
Use char because int might match the return type of a GCC
20957
builtin and then its argument prototype would still apply. */
20970
rm -f conftest.$ac_objext conftest$ac_exeext
20971
if { (ac_try="$ac_link"
20972
case "(($ac_try" in
20973
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20974
*) ac_try_echo=$ac_try;;
20976
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20977
(eval "$ac_link") 2>conftest.er1
20979
grep -v '^ *+' conftest.er1 >conftest.err
20981
cat conftest.err >&5
20982
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20983
(exit $ac_status); } && {
20984
test -z "$ac_c_werror_flag" ||
20985
test ! -s conftest.err
20986
} && test -s conftest$ac_exeext &&
20987
$as_test_x conftest$ac_exeext; then
20988
ac_cv_lib_dl_dlopen=yes
20990
echo "$as_me: failed program was:" >&5
20991
sed 's/^/| /' conftest.$ac_ext >&5
20993
ac_cv_lib_dl_dlopen=no
20996
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20997
conftest$ac_exeext conftest.$ac_ext
20998
LIBS=$ac_check_lib_save_LIBS
21000
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
21001
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
21002
if test $ac_cv_lib_dl_dlopen = yes; then
21003
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
21006
lt_cv_dlopen="dyld"
21008
lt_cv_dlopen_self=yes
21015
{ echo "$as_me:$LINENO: checking for shl_load" >&5
21016
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
21017
if test "${ac_cv_func_shl_load+set}" = set; then
21018
echo $ECHO_N "(cached) $ECHO_C" >&6
21020
cat >conftest.$ac_ext <<_ACEOF
21023
cat confdefs.h >>conftest.$ac_ext
21024
cat >>conftest.$ac_ext <<_ACEOF
21025
/* end confdefs.h. */
21026
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
21027
For example, HP-UX 11i <limits.h> declares gettimeofday. */
21028
#define shl_load innocuous_shl_load
21030
/* System header to define __stub macros and hopefully few prototypes,
21031
which can conflict with char shl_load (); below.
21032
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21033
<limits.h> exists even on freestanding compilers. */
21036
# include <limits.h>
21038
# include <assert.h>
21043
/* Override any GCC internal prototype to avoid an error.
21044
Use char because int might match the return type of a GCC
21045
builtin and then its argument prototype would still apply. */
21050
/* The GNU C library defines this for functions which it implements
21051
to always fail with ENOSYS. Some functions are actually named
21052
something starting with __ and the normal name is an alias. */
21053
#if defined __stub_shl_load || defined __stub___shl_load
21060
return shl_load ();
21065
rm -f conftest.$ac_objext conftest$ac_exeext
21066
if { (ac_try="$ac_link"
21067
case "(($ac_try" in
21068
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21069
*) ac_try_echo=$ac_try;;
21071
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21072
(eval "$ac_link") 2>conftest.er1
21074
grep -v '^ *+' conftest.er1 >conftest.err
21076
cat conftest.err >&5
21077
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21078
(exit $ac_status); } && {
21079
test -z "$ac_c_werror_flag" ||
21080
test ! -s conftest.err
21081
} && test -s conftest$ac_exeext &&
21082
$as_test_x conftest$ac_exeext; then
21083
ac_cv_func_shl_load=yes
21085
echo "$as_me: failed program was:" >&5
21086
sed 's/^/| /' conftest.$ac_ext >&5
21088
ac_cv_func_shl_load=no
21091
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21092
conftest$ac_exeext conftest.$ac_ext
21094
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
21095
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
21096
if test $ac_cv_func_shl_load = yes; then
21097
lt_cv_dlopen="shl_load"
21099
{ echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
21100
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
21101
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
21102
echo $ECHO_N "(cached) $ECHO_C" >&6
21104
ac_check_lib_save_LIBS=$LIBS
21106
cat >conftest.$ac_ext <<_ACEOF
21109
cat confdefs.h >>conftest.$ac_ext
21110
cat >>conftest.$ac_ext <<_ACEOF
21111
/* end confdefs.h. */
21113
/* Override any GCC internal prototype to avoid an error.
21114
Use char because int might match the return type of a GCC
21115
builtin and then its argument prototype would still apply. */
21123
return shl_load ();
21128
rm -f conftest.$ac_objext conftest$ac_exeext
21129
if { (ac_try="$ac_link"
21130
case "(($ac_try" in
21131
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21132
*) ac_try_echo=$ac_try;;
21134
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21135
(eval "$ac_link") 2>conftest.er1
21137
grep -v '^ *+' conftest.er1 >conftest.err
21139
cat conftest.err >&5
21140
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21141
(exit $ac_status); } && {
21142
test -z "$ac_c_werror_flag" ||
21143
test ! -s conftest.err
21144
} && test -s conftest$ac_exeext &&
21145
$as_test_x conftest$ac_exeext; then
21146
ac_cv_lib_dld_shl_load=yes
21148
echo "$as_me: failed program was:" >&5
21149
sed 's/^/| /' conftest.$ac_ext >&5
21151
ac_cv_lib_dld_shl_load=no
21154
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21155
conftest$ac_exeext conftest.$ac_ext
21156
LIBS=$ac_check_lib_save_LIBS
21158
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
21159
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
21160
if test $ac_cv_lib_dld_shl_load = yes; then
21161
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
21163
{ echo "$as_me:$LINENO: checking for dlopen" >&5
21164
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
21165
if test "${ac_cv_func_dlopen+set}" = set; then
21166
echo $ECHO_N "(cached) $ECHO_C" >&6
21168
cat >conftest.$ac_ext <<_ACEOF
21171
cat confdefs.h >>conftest.$ac_ext
21172
cat >>conftest.$ac_ext <<_ACEOF
21173
/* end confdefs.h. */
21174
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
21175
For example, HP-UX 11i <limits.h> declares gettimeofday. */
21176
#define dlopen innocuous_dlopen
21178
/* System header to define __stub macros and hopefully few prototypes,
21179
which can conflict with char dlopen (); below.
21180
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21181
<limits.h> exists even on freestanding compilers. */
21184
# include <limits.h>
21186
# include <assert.h>
21191
/* Override any GCC internal prototype to avoid an error.
21192
Use char because int might match the return type of a GCC
21193
builtin and then its argument prototype would still apply. */
21198
/* The GNU C library defines this for functions which it implements
21199
to always fail with ENOSYS. Some functions are actually named
21200
something starting with __ and the normal name is an alias. */
21201
#if defined __stub_dlopen || defined __stub___dlopen
21213
rm -f conftest.$ac_objext conftest$ac_exeext
21214
if { (ac_try="$ac_link"
21215
case "(($ac_try" in
21216
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21217
*) ac_try_echo=$ac_try;;
21219
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21220
(eval "$ac_link") 2>conftest.er1
21222
grep -v '^ *+' conftest.er1 >conftest.err
21224
cat conftest.err >&5
21225
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21226
(exit $ac_status); } && {
21227
test -z "$ac_c_werror_flag" ||
21228
test ! -s conftest.err
21229
} && test -s conftest$ac_exeext &&
21230
$as_test_x conftest$ac_exeext; then
21231
ac_cv_func_dlopen=yes
21233
echo "$as_me: failed program was:" >&5
21234
sed 's/^/| /' conftest.$ac_ext >&5
21236
ac_cv_func_dlopen=no
21239
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21240
conftest$ac_exeext conftest.$ac_ext
21242
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
21243
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
21244
if test $ac_cv_func_dlopen = yes; then
21245
lt_cv_dlopen="dlopen"
21247
{ echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
21248
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
21249
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
21250
echo $ECHO_N "(cached) $ECHO_C" >&6
21252
ac_check_lib_save_LIBS=$LIBS
21254
cat >conftest.$ac_ext <<_ACEOF
21257
cat confdefs.h >>conftest.$ac_ext
21258
cat >>conftest.$ac_ext <<_ACEOF
21259
/* end confdefs.h. */
21261
/* Override any GCC internal prototype to avoid an error.
21262
Use char because int might match the return type of a GCC
21263
builtin and then its argument prototype would still apply. */
21276
rm -f conftest.$ac_objext conftest$ac_exeext
21277
if { (ac_try="$ac_link"
21278
case "(($ac_try" in
21279
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21280
*) ac_try_echo=$ac_try;;
21282
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21283
(eval "$ac_link") 2>conftest.er1
21285
grep -v '^ *+' conftest.er1 >conftest.err
21287
cat conftest.err >&5
21288
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21289
(exit $ac_status); } && {
21290
test -z "$ac_c_werror_flag" ||
21291
test ! -s conftest.err
21292
} && test -s conftest$ac_exeext &&
21293
$as_test_x conftest$ac_exeext; then
21294
ac_cv_lib_dl_dlopen=yes
21296
echo "$as_me: failed program was:" >&5
21297
sed 's/^/| /' conftest.$ac_ext >&5
21299
ac_cv_lib_dl_dlopen=no
21302
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21303
conftest$ac_exeext conftest.$ac_ext
21304
LIBS=$ac_check_lib_save_LIBS
21306
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
21307
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
21308
if test $ac_cv_lib_dl_dlopen = yes; then
21309
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
21311
{ echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
21312
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
21313
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
21314
echo $ECHO_N "(cached) $ECHO_C" >&6
21316
ac_check_lib_save_LIBS=$LIBS
21317
LIBS="-lsvld $LIBS"
21318
cat >conftest.$ac_ext <<_ACEOF
21321
cat confdefs.h >>conftest.$ac_ext
21322
cat >>conftest.$ac_ext <<_ACEOF
21323
/* end confdefs.h. */
21325
/* Override any GCC internal prototype to avoid an error.
21326
Use char because int might match the return type of a GCC
21327
builtin and then its argument prototype would still apply. */
21340
rm -f conftest.$ac_objext conftest$ac_exeext
21341
if { (ac_try="$ac_link"
21342
case "(($ac_try" in
21343
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21344
*) ac_try_echo=$ac_try;;
21346
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21347
(eval "$ac_link") 2>conftest.er1
21349
grep -v '^ *+' conftest.er1 >conftest.err
21351
cat conftest.err >&5
21352
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21353
(exit $ac_status); } && {
21354
test -z "$ac_c_werror_flag" ||
21355
test ! -s conftest.err
21356
} && test -s conftest$ac_exeext &&
21357
$as_test_x conftest$ac_exeext; then
21358
ac_cv_lib_svld_dlopen=yes
21360
echo "$as_me: failed program was:" >&5
21361
sed 's/^/| /' conftest.$ac_ext >&5
21363
ac_cv_lib_svld_dlopen=no
21366
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21367
conftest$ac_exeext conftest.$ac_ext
21368
LIBS=$ac_check_lib_save_LIBS
21370
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
21371
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
21372
if test $ac_cv_lib_svld_dlopen = yes; then
21373
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
21375
{ echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
21376
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
21377
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
21378
echo $ECHO_N "(cached) $ECHO_C" >&6
21380
ac_check_lib_save_LIBS=$LIBS
21382
cat >conftest.$ac_ext <<_ACEOF
21385
cat confdefs.h >>conftest.$ac_ext
21386
cat >>conftest.$ac_ext <<_ACEOF
21387
/* end confdefs.h. */
21389
/* Override any GCC internal prototype to avoid an error.
21390
Use char because int might match the return type of a GCC
21391
builtin and then its argument prototype would still apply. */
21399
return dld_link ();
21404
rm -f conftest.$ac_objext conftest$ac_exeext
21405
if { (ac_try="$ac_link"
21406
case "(($ac_try" in
21407
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21408
*) ac_try_echo=$ac_try;;
21410
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21411
(eval "$ac_link") 2>conftest.er1
21413
grep -v '^ *+' conftest.er1 >conftest.err
21415
cat conftest.err >&5
21416
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21417
(exit $ac_status); } && {
21418
test -z "$ac_c_werror_flag" ||
21419
test ! -s conftest.err
21420
} && test -s conftest$ac_exeext &&
21421
$as_test_x conftest$ac_exeext; then
21422
ac_cv_lib_dld_dld_link=yes
21424
echo "$as_me: failed program was:" >&5
21425
sed 's/^/| /' conftest.$ac_ext >&5
21427
ac_cv_lib_dld_dld_link=no
21430
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21431
conftest$ac_exeext conftest.$ac_ext
21432
LIBS=$ac_check_lib_save_LIBS
21434
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
21435
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
21436
if test $ac_cv_lib_dld_dld_link = yes; then
21437
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
21458
if test "x$lt_cv_dlopen" != xno; then
21464
case $lt_cv_dlopen in
21466
save_CPPFLAGS="$CPPFLAGS"
21467
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
21469
save_LDFLAGS="$LDFLAGS"
21470
eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
21473
LIBS="$lt_cv_dlopen_libs $LIBS"
21475
{ echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
21476
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
21477
if test "${lt_cv_dlopen_self+set}" = set; then
21478
echo $ECHO_N "(cached) $ECHO_C" >&6
21480
if test "$cross_compiling" = yes; then :
21481
lt_cv_dlopen_self=cross
21483
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
21484
lt_status=$lt_dlunknown
21485
cat > conftest.$ac_ext <<EOF
21486
#line 21486 "configure"
21487
#include "confdefs.h"
21496
# define LT_DLGLOBAL RTLD_GLOBAL
21499
# define LT_DLGLOBAL DL_GLOBAL
21501
# define LT_DLGLOBAL 0
21505
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
21506
find out it does not work in some platform. */
21507
#ifndef LT_DLLAZY_OR_NOW
21509
# define LT_DLLAZY_OR_NOW RTLD_LAZY
21512
# define LT_DLLAZY_OR_NOW DL_LAZY
21515
# define LT_DLLAZY_OR_NOW RTLD_NOW
21518
# define LT_DLLAZY_OR_NOW DL_NOW
21520
# define LT_DLLAZY_OR_NOW 0
21528
extern "C" void exit (int);
21531
void fnord() { int i=42;}
21534
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
21535
int status = $lt_dlunknown;
21539
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
21540
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
21541
/* dlclose (self); */
21547
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21548
(eval $ac_link) 2>&5
21550
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21551
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
21552
(./conftest; exit; ) 2>/dev/null
21554
case x$lt_status in
21555
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
21556
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
21557
x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
21560
# compilation failed
21561
lt_cv_dlopen_self=no
21568
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
21569
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
21571
if test "x$lt_cv_dlopen_self" = xyes; then
21572
LDFLAGS="$LDFLAGS $link_static_flag"
21573
{ echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
21574
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
21575
if test "${lt_cv_dlopen_self_static+set}" = set; then
21576
echo $ECHO_N "(cached) $ECHO_C" >&6
21578
if test "$cross_compiling" = yes; then :
21579
lt_cv_dlopen_self_static=cross
21581
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
21582
lt_status=$lt_dlunknown
21583
cat > conftest.$ac_ext <<EOF
21584
#line 21584 "configure"
21585
#include "confdefs.h"
21594
# define LT_DLGLOBAL RTLD_GLOBAL
21597
# define LT_DLGLOBAL DL_GLOBAL
21599
# define LT_DLGLOBAL 0
21603
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
21604
find out it does not work in some platform. */
21605
#ifndef LT_DLLAZY_OR_NOW
21607
# define LT_DLLAZY_OR_NOW RTLD_LAZY
21610
# define LT_DLLAZY_OR_NOW DL_LAZY
21613
# define LT_DLLAZY_OR_NOW RTLD_NOW
21616
# define LT_DLLAZY_OR_NOW DL_NOW
21618
# define LT_DLLAZY_OR_NOW 0
21626
extern "C" void exit (int);
21629
void fnord() { int i=42;}
21632
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
21633
int status = $lt_dlunknown;
21637
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
21638
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
21639
/* dlclose (self); */
21645
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21646
(eval $ac_link) 2>&5
21648
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21649
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
21650
(./conftest; exit; ) 2>/dev/null
21652
case x$lt_status in
21653
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
21654
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
21655
x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
21658
# compilation failed
21659
lt_cv_dlopen_self_static=no
21666
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
21667
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
21670
CPPFLAGS="$save_CPPFLAGS"
21671
LDFLAGS="$save_LDFLAGS"
21676
case $lt_cv_dlopen_self in
21677
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
21678
*) enable_dlopen_self=unknown ;;
21681
case $lt_cv_dlopen_self_static in
21682
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
21683
*) enable_dlopen_self_static=unknown ;;
21688
# The else clause should only fire when bootstrapping the
21689
# libtool distribution, otherwise you forgot to ship ltmain.sh
21690
# with your package, and you will get complaints that there are
21691
# no rules to generate ltmain.sh.
21692
if test -f "$ltmain"; then
21693
# See if we are running on zsh, and set the options which allow our commands through
21694
# without removal of \ escapes.
21695
if test -n "${ZSH_VERSION+set}" ; then
21696
setopt NO_GLOB_SUBST
21698
# Now quote all the things that may contain metacharacters while being
21699
# careful not to overquote the AC_SUBSTed values. We take copies of the
21700
# variables and quote the copies for generation of the libtool script.
21701
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
21702
libname_spec library_names_spec soname_spec extract_expsyms_cmds \
21703
old_striplib striplib file_magic_cmd finish_cmds finish_eval \
21704
deplibs_check_method reload_flag reload_cmds need_locks \
21705
lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
21706
lt_cv_sys_global_symbol_to_c_name_address \
21707
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
21708
old_postinstall_cmds old_postuninstall_cmds \
21712
lt_prog_compiler_wl_GCJ \
21713
lt_prog_compiler_pic_GCJ \
21714
lt_prog_compiler_static_GCJ \
21715
lt_prog_compiler_no_builtin_flag_GCJ \
21716
export_dynamic_flag_spec_GCJ \
21717
thread_safe_flag_spec_GCJ \
21718
whole_archive_flag_spec_GCJ \
21719
enable_shared_with_static_runtimes_GCJ \
21720
old_archive_cmds_GCJ \
21721
old_archive_from_new_cmds_GCJ \
21722
predep_objects_GCJ \
21723
postdep_objects_GCJ \
21726
compiler_lib_search_path_GCJ \
21728
archive_expsym_cmds_GCJ \
21729
postinstall_cmds_GCJ \
21730
postuninstall_cmds_GCJ \
21731
old_archive_from_expsyms_cmds_GCJ \
21732
allow_undefined_flag_GCJ \
21733
no_undefined_flag_GCJ \
21734
export_symbols_cmds_GCJ \
21735
hardcode_libdir_flag_spec_GCJ \
21736
hardcode_libdir_flag_spec_ld_GCJ \
21737
hardcode_libdir_separator_GCJ \
21738
hardcode_automatic_GCJ \
21740
module_expsym_cmds_GCJ \
21741
lt_cv_prog_compiler_c_o_GCJ \
21742
exclude_expsyms_GCJ \
21743
include_expsyms_GCJ; do
21746
old_archive_cmds_GCJ | \
21747
old_archive_from_new_cmds_GCJ | \
21748
archive_cmds_GCJ | \
21749
archive_expsym_cmds_GCJ | \
21750
module_cmds_GCJ | \
21751
module_expsym_cmds_GCJ | \
21752
old_archive_from_expsyms_cmds_GCJ | \
21753
export_symbols_cmds_GCJ | \
21754
extract_expsyms_cmds | reload_cmds | finish_cmds | \
21755
postinstall_cmds | postuninstall_cmds | \
21756
old_postinstall_cmds | old_postuninstall_cmds | \
21757
sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
21758
# Double-quote double-evaled strings.
21759
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
21762
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
21768
*'\$0 --fallback-echo"')
21769
lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
21775
cat <<__EOF__ >> "$cfgfile"
21776
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
21778
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21780
# Shell to use when invoking shell scripts.
21783
# Whether or not to build shared libraries.
21784
build_libtool_libs=$enable_shared
21786
# Whether or not to build static libraries.
21787
build_old_libs=$enable_static
21789
# Whether or not to add -lc for building shared libraries.
21790
build_libtool_need_lc=$archive_cmds_need_lc_GCJ
21792
# Whether or not to disallow shared libs when runtime libs are static
21793
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
21795
# Whether or not to optimize for fast installation.
21796
fast_install=$enable_fast_install
21799
host_alias=$host_alias
21802
# An echo program that does not interpret backslashes.
21807
AR_FLAGS=$lt_AR_FLAGS
21812
# A language-specific compiler.
21813
CC=$lt_compiler_GCJ
21815
# Is the compiler the GNU C compiler?
21821
# The linker used to build libraries.
21824
# Whether we need hard or soft links.
21827
# A BSD-compatible nm program.
21830
# A symbol stripping program
21833
# Used to examine libraries when file_magic_cmd begins "file"
21834
MAGIC_CMD=$MAGIC_CMD
21836
# Used on cygwin: DLL creation program.
21839
# Used on cygwin: object dumper.
21842
# Used on cygwin: assembler.
21845
# The name of the directory that contains temporary libtool files.
21848
# How to create reloadable object files.
21849
reload_flag=$lt_reload_flag
21850
reload_cmds=$lt_reload_cmds
21852
# How to pass a linker flag through the compiler.
21853
wl=$lt_lt_prog_compiler_wl_GCJ
21855
# Object file suffix (normally "o").
21856
objext="$ac_objext"
21858
# Old archive suffix (normally "a").
21861
# Shared library suffix (normally ".so").
21864
# Executable file suffix (normally "").
21867
# Additional compiler flags for building library objects.
21868
pic_flag=$lt_lt_prog_compiler_pic_GCJ
21871
# What is the maximum length of a command?
21872
max_cmd_len=$lt_cv_sys_max_cmd_len
21874
# Does compiler simultaneously support -c and -o options?
21875
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
21877
# Must we lock files when doing compilation ?
21878
need_locks=$lt_need_locks
21880
# Do we need the lib prefix for modules?
21881
need_lib_prefix=$need_lib_prefix
21883
# Do we need a version for libraries?
21884
need_version=$need_version
21886
# Whether dlopen is supported.
21887
dlopen_support=$enable_dlopen
21889
# Whether dlopen of programs is supported.
21890
dlopen_self=$enable_dlopen_self
21892
# Whether dlopen of statically linked programs is supported.
21893
dlopen_self_static=$enable_dlopen_self_static
21895
# Compiler flag to prevent dynamic linking.
21896
link_static_flag=$lt_lt_prog_compiler_static_GCJ
21898
# Compiler flag to turn off builtin functions.
21899
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
21901
# Compiler flag to allow reflexive dlopens.
21902
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
21904
# Compiler flag to generate shared objects directly from archives.
21905
whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
21907
# Compiler flag to generate thread-safe objects.
21908
thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
21910
# Library versioning type.
21911
version_type=$version_type
21913
# Format of library name prefix.
21914
libname_spec=$lt_libname_spec
21916
# List of archive names. First name is the real one, the rest are links.
21917
# The last name is the one that the linker finds with -lNAME.
21918
library_names_spec=$lt_library_names_spec
21920
# The coded name of the library, if different from the real name.
21921
soname_spec=$lt_soname_spec
21923
# Commands used to build and install an old-style archive.
21925
old_archive_cmds=$lt_old_archive_cmds_GCJ
21926
old_postinstall_cmds=$lt_old_postinstall_cmds
21927
old_postuninstall_cmds=$lt_old_postuninstall_cmds
21929
# Create an old-style archive from a shared archive.
21930
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
21932
# Create a temporary old-style archive to link instead of a shared archive.
21933
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
21935
# Commands used to build and install a shared archive.
21936
archive_cmds=$lt_archive_cmds_GCJ
21937
archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
21938
postinstall_cmds=$lt_postinstall_cmds
21939
postuninstall_cmds=$lt_postuninstall_cmds
21941
# Commands used to build a loadable module (assumed same as above if empty)
21942
module_cmds=$lt_module_cmds_GCJ
21943
module_expsym_cmds=$lt_module_expsym_cmds_GCJ
21945
# Commands to strip libraries.
21946
old_striplib=$lt_old_striplib
21947
striplib=$lt_striplib
21949
# Dependencies to place before the objects being linked to create a
21951
predep_objects=$lt_predep_objects_GCJ
21953
# Dependencies to place after the objects being linked to create a
21955
postdep_objects=$lt_postdep_objects_GCJ
21957
# Dependencies to place before the objects being linked to create a
21959
predeps=$lt_predeps_GCJ
21961
# Dependencies to place after the objects being linked to create a
21963
postdeps=$lt_postdeps_GCJ
21965
# The library search path used internally by the compiler when linking
21966
# a shared library.
21967
compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
21969
# Method to check whether dependent libraries are shared objects.
21970
deplibs_check_method=$lt_deplibs_check_method
21972
# Command to use when deplibs_check_method == file_magic.
21973
file_magic_cmd=$lt_file_magic_cmd
21975
# Flag that allows shared libraries with undefined symbols to be built.
21976
allow_undefined_flag=$lt_allow_undefined_flag_GCJ
21978
# Flag that forces no undefined symbols.
21979
no_undefined_flag=$lt_no_undefined_flag_GCJ
21981
# Commands used to finish a libtool library installation in a directory.
21982
finish_cmds=$lt_finish_cmds
21984
# Same as above, but a single script fragment to be evaled but not shown.
21985
finish_eval=$lt_finish_eval
21987
# Take the output of nm and produce a listing of raw symbols and C names.
21988
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21990
# Transform the output of nm in a proper C declaration
21991
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21993
# Transform the output of nm in a C name address pair
21994
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21996
# This is the shared library runtime path variable.
21997
runpath_var=$runpath_var
21999
# This is the shared library path variable.
22000
shlibpath_var=$shlibpath_var
22002
# Is shlibpath searched before the hard-coded library search path?
22003
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
22005
# How to hardcode a shared library path into an executable.
22006
hardcode_action=$hardcode_action_GCJ
22008
# Whether we should hardcode library paths into libraries.
22009
hardcode_into_libs=$hardcode_into_libs
22011
# Flag to hardcode \$libdir into a binary during linking.
22012
# This must work even if \$libdir does not exist.
22013
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
22015
# If ld is used when linking, flag to hardcode \$libdir into
22016
# a binary during linking. This must work even if \$libdir does
22018
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
22020
# Whether we need a single -rpath flag with a separated argument.
22021
hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
22023
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
22024
# resulting binary.
22025
hardcode_direct=$hardcode_direct_GCJ
22027
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
22028
# resulting binary.
22029
hardcode_minus_L=$hardcode_minus_L_GCJ
22031
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
22032
# the resulting binary.
22033
hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
22035
# Set to yes if building a shared library automatically hardcodes DIR into the library
22036
# and all subsequent libraries and executables linked against it.
22037
hardcode_automatic=$hardcode_automatic_GCJ
22039
# Variables whose values should be saved in libtool wrapper scripts and
22040
# restored at relink time.
22041
variables_saved_for_relink="$variables_saved_for_relink"
22043
# Whether libtool must link a program against all its dependency libraries.
22044
link_all_deplibs=$link_all_deplibs_GCJ
22046
# Compile-time system search path for libraries
22047
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
22049
# Run-time system search path for libraries
22050
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
22052
# Fix the shell variable \$srcfile for the compiler.
22053
fix_srcfile_path="$fix_srcfile_path_GCJ"
22055
# Set to yes if exported symbols are required.
22056
always_export_symbols=$always_export_symbols_GCJ
22058
# The commands to list exported symbols.
22059
export_symbols_cmds=$lt_export_symbols_cmds_GCJ
22061
# The commands to extract the exported symbol list from a shared archive.
22062
extract_expsyms_cmds=$lt_extract_expsyms_cmds
22064
# Symbols that should not be listed in the preloaded symbols.
22065
exclude_expsyms=$lt_exclude_expsyms_GCJ
22067
# Symbols that must always be exported.
22068
include_expsyms=$lt_include_expsyms_GCJ
22070
# ### END LIBTOOL TAG CONFIG: $tagname
22076
# If there is no Makefile yet, we rely on a make rule to execute
22077
# `config.status --recheck' to rerun these tests and create the
22078
# libtool script then.
22079
test -f Makefile && make "$ltmain"
22084
ac_cpp='$CPP $CPPFLAGS'
22085
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22086
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22087
ac_compiler_gnu=$ac_cv_c_compiler_gnu
22099
# Source file extension for RC test sources.
22102
# Object file extension for compiled RC test sources.
22106
# Code to be used in simple compile tests
22107
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
22109
# Code to be used in simple link tests
22110
lt_simple_link_test_code="$lt_simple_compile_test_code"
22112
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
22114
# If no C compiler was specified, use CC.
22117
# Allow CC to be a program name with arguments.
22121
# Allow CC to be a program name with arguments.
22126
lt_cv_prog_compiler_c_o_RC=yes
22128
# The else clause should only fire when bootstrapping the
22129
# libtool distribution, otherwise you forgot to ship ltmain.sh
22130
# with your package, and you will get complaints that there are
22131
# no rules to generate ltmain.sh.
22132
if test -f "$ltmain"; then
22133
# See if we are running on zsh, and set the options which allow our commands through
22134
# without removal of \ escapes.
22135
if test -n "${ZSH_VERSION+set}" ; then
22136
setopt NO_GLOB_SUBST
22138
# Now quote all the things that may contain metacharacters while being
22139
# careful not to overquote the AC_SUBSTed values. We take copies of the
22140
# variables and quote the copies for generation of the libtool script.
22141
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
22142
libname_spec library_names_spec soname_spec extract_expsyms_cmds \
22143
old_striplib striplib file_magic_cmd finish_cmds finish_eval \
22144
deplibs_check_method reload_flag reload_cmds need_locks \
22145
lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
22146
lt_cv_sys_global_symbol_to_c_name_address \
22147
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
22148
old_postinstall_cmds old_postuninstall_cmds \
22152
lt_prog_compiler_wl_RC \
22153
lt_prog_compiler_pic_RC \
22154
lt_prog_compiler_static_RC \
22155
lt_prog_compiler_no_builtin_flag_RC \
22156
export_dynamic_flag_spec_RC \
22157
thread_safe_flag_spec_RC \
22158
whole_archive_flag_spec_RC \
22159
enable_shared_with_static_runtimes_RC \
22160
old_archive_cmds_RC \
22161
old_archive_from_new_cmds_RC \
22162
predep_objects_RC \
22163
postdep_objects_RC \
22166
compiler_lib_search_path_RC \
22168
archive_expsym_cmds_RC \
22169
postinstall_cmds_RC \
22170
postuninstall_cmds_RC \
22171
old_archive_from_expsyms_cmds_RC \
22172
allow_undefined_flag_RC \
22173
no_undefined_flag_RC \
22174
export_symbols_cmds_RC \
22175
hardcode_libdir_flag_spec_RC \
22176
hardcode_libdir_flag_spec_ld_RC \
22177
hardcode_libdir_separator_RC \
22178
hardcode_automatic_RC \
22180
module_expsym_cmds_RC \
22181
lt_cv_prog_compiler_c_o_RC \
22182
exclude_expsyms_RC \
22183
include_expsyms_RC; do
22186
old_archive_cmds_RC | \
22187
old_archive_from_new_cmds_RC | \
22188
archive_cmds_RC | \
22189
archive_expsym_cmds_RC | \
22191
module_expsym_cmds_RC | \
22192
old_archive_from_expsyms_cmds_RC | \
22193
export_symbols_cmds_RC | \
22194
extract_expsyms_cmds | reload_cmds | finish_cmds | \
22195
postinstall_cmds | postuninstall_cmds | \
22196
old_postinstall_cmds | old_postuninstall_cmds | \
22197
sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
22198
# Double-quote double-evaled strings.
22199
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
22202
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
22208
*'\$0 --fallback-echo"')
22209
lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
22215
cat <<__EOF__ >> "$cfgfile"
22216
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
22218
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
22220
# Shell to use when invoking shell scripts.
22223
# Whether or not to build shared libraries.
22224
build_libtool_libs=$enable_shared
22226
# Whether or not to build static libraries.
22227
build_old_libs=$enable_static
22229
# Whether or not to add -lc for building shared libraries.
22230
build_libtool_need_lc=$archive_cmds_need_lc_RC
22232
# Whether or not to disallow shared libs when runtime libs are static
22233
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
22235
# Whether or not to optimize for fast installation.
22236
fast_install=$enable_fast_install
22239
host_alias=$host_alias
22242
# An echo program that does not interpret backslashes.
22247
AR_FLAGS=$lt_AR_FLAGS
22252
# A language-specific compiler.
22255
# Is the compiler the GNU C compiler?
22261
# The linker used to build libraries.
22264
# Whether we need hard or soft links.
22267
# A BSD-compatible nm program.
22270
# A symbol stripping program
22273
# Used to examine libraries when file_magic_cmd begins "file"
22274
MAGIC_CMD=$MAGIC_CMD
22276
# Used on cygwin: DLL creation program.
22279
# Used on cygwin: object dumper.
22282
# Used on cygwin: assembler.
22285
# The name of the directory that contains temporary libtool files.
22288
# How to create reloadable object files.
22289
reload_flag=$lt_reload_flag
22290
reload_cmds=$lt_reload_cmds
22292
# How to pass a linker flag through the compiler.
22293
wl=$lt_lt_prog_compiler_wl_RC
22295
# Object file suffix (normally "o").
22296
objext="$ac_objext"
22298
# Old archive suffix (normally "a").
22301
# Shared library suffix (normally ".so").
22304
# Executable file suffix (normally "").
22307
# Additional compiler flags for building library objects.
22308
pic_flag=$lt_lt_prog_compiler_pic_RC
22311
# What is the maximum length of a command?
22312
max_cmd_len=$lt_cv_sys_max_cmd_len
22314
# Does compiler simultaneously support -c and -o options?
22315
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
22317
# Must we lock files when doing compilation ?
22318
need_locks=$lt_need_locks
22320
# Do we need the lib prefix for modules?
22321
need_lib_prefix=$need_lib_prefix
22323
# Do we need a version for libraries?
22324
need_version=$need_version
22326
# Whether dlopen is supported.
22327
dlopen_support=$enable_dlopen
22329
# Whether dlopen of programs is supported.
22330
dlopen_self=$enable_dlopen_self
22332
# Whether dlopen of statically linked programs is supported.
22333
dlopen_self_static=$enable_dlopen_self_static
22335
# Compiler flag to prevent dynamic linking.
22336
link_static_flag=$lt_lt_prog_compiler_static_RC
22338
# Compiler flag to turn off builtin functions.
22339
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
22341
# Compiler flag to allow reflexive dlopens.
22342
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
22344
# Compiler flag to generate shared objects directly from archives.
22345
whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
22347
# Compiler flag to generate thread-safe objects.
22348
thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
22350
# Library versioning type.
22351
version_type=$version_type
22353
# Format of library name prefix.
22354
libname_spec=$lt_libname_spec
22356
# List of archive names. First name is the real one, the rest are links.
22357
# The last name is the one that the linker finds with -lNAME.
22358
library_names_spec=$lt_library_names_spec
22360
# The coded name of the library, if different from the real name.
22361
soname_spec=$lt_soname_spec
22363
# Commands used to build and install an old-style archive.
22365
old_archive_cmds=$lt_old_archive_cmds_RC
22366
old_postinstall_cmds=$lt_old_postinstall_cmds
22367
old_postuninstall_cmds=$lt_old_postuninstall_cmds
22369
# Create an old-style archive from a shared archive.
22370
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
22372
# Create a temporary old-style archive to link instead of a shared archive.
22373
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
22375
# Commands used to build and install a shared archive.
22376
archive_cmds=$lt_archive_cmds_RC
22377
archive_expsym_cmds=$lt_archive_expsym_cmds_RC
22378
postinstall_cmds=$lt_postinstall_cmds
22379
postuninstall_cmds=$lt_postuninstall_cmds
22381
# Commands used to build a loadable module (assumed same as above if empty)
22382
module_cmds=$lt_module_cmds_RC
22383
module_expsym_cmds=$lt_module_expsym_cmds_RC
22385
# Commands to strip libraries.
22386
old_striplib=$lt_old_striplib
22387
striplib=$lt_striplib
22389
# Dependencies to place before the objects being linked to create a
22391
predep_objects=$lt_predep_objects_RC
22393
# Dependencies to place after the objects being linked to create a
22395
postdep_objects=$lt_postdep_objects_RC
22397
# Dependencies to place before the objects being linked to create a
22399
predeps=$lt_predeps_RC
22401
# Dependencies to place after the objects being linked to create a
22403
postdeps=$lt_postdeps_RC
22405
# The library search path used internally by the compiler when linking
22406
# a shared library.
22407
compiler_lib_search_path=$lt_compiler_lib_search_path_RC
22409
# Method to check whether dependent libraries are shared objects.
22410
deplibs_check_method=$lt_deplibs_check_method
22412
# Command to use when deplibs_check_method == file_magic.
22413
file_magic_cmd=$lt_file_magic_cmd
22415
# Flag that allows shared libraries with undefined symbols to be built.
22416
allow_undefined_flag=$lt_allow_undefined_flag_RC
22418
# Flag that forces no undefined symbols.
22419
no_undefined_flag=$lt_no_undefined_flag_RC
22421
# Commands used to finish a libtool library installation in a directory.
22422
finish_cmds=$lt_finish_cmds
22424
# Same as above, but a single script fragment to be evaled but not shown.
22425
finish_eval=$lt_finish_eval
22427
# Take the output of nm and produce a listing of raw symbols and C names.
22428
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
22430
# Transform the output of nm in a proper C declaration
22431
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
22433
# Transform the output of nm in a C name address pair
22434
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
22436
# This is the shared library runtime path variable.
22437
runpath_var=$runpath_var
22439
# This is the shared library path variable.
22440
shlibpath_var=$shlibpath_var
22442
# Is shlibpath searched before the hard-coded library search path?
22443
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
22445
# How to hardcode a shared library path into an executable.
22446
hardcode_action=$hardcode_action_RC
22448
# Whether we should hardcode library paths into libraries.
22449
hardcode_into_libs=$hardcode_into_libs
22451
# Flag to hardcode \$libdir into a binary during linking.
22452
# This must work even if \$libdir does not exist.
22453
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
22455
# If ld is used when linking, flag to hardcode \$libdir into
22456
# a binary during linking. This must work even if \$libdir does
22458
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
22460
# Whether we need a single -rpath flag with a separated argument.
22461
hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
22463
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
22464
# resulting binary.
22465
hardcode_direct=$hardcode_direct_RC
22467
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
22468
# resulting binary.
22469
hardcode_minus_L=$hardcode_minus_L_RC
22471
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
22472
# the resulting binary.
22473
hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
22475
# Set to yes if building a shared library automatically hardcodes DIR into the library
22476
# and all subsequent libraries and executables linked against it.
22477
hardcode_automatic=$hardcode_automatic_RC
22479
# Variables whose values should be saved in libtool wrapper scripts and
22480
# restored at relink time.
22481
variables_saved_for_relink="$variables_saved_for_relink"
22483
# Whether libtool must link a program against all its dependency libraries.
22484
link_all_deplibs=$link_all_deplibs_RC
22486
# Compile-time system search path for libraries
22487
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
22489
# Run-time system search path for libraries
22490
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
22492
# Fix the shell variable \$srcfile for the compiler.
22493
fix_srcfile_path="$fix_srcfile_path_RC"
22495
# Set to yes if exported symbols are required.
22496
always_export_symbols=$always_export_symbols_RC
22498
# The commands to list exported symbols.
22499
export_symbols_cmds=$lt_export_symbols_cmds_RC
22501
# The commands to extract the exported symbol list from a shared archive.
22502
extract_expsyms_cmds=$lt_extract_expsyms_cmds
22504
# Symbols that should not be listed in the preloaded symbols.
22505
exclude_expsyms=$lt_exclude_expsyms_RC
22507
# Symbols that must always be exported.
22508
include_expsyms=$lt_include_expsyms_RC
22510
# ### END LIBTOOL TAG CONFIG: $tagname
22516
# If there is no Makefile yet, we rely on a make rule to execute
22517
# `config.status --recheck' to rerun these tests and create the
22518
# libtool script then.
22519
test -f Makefile && make "$ltmain"
22524
ac_cpp='$CPP $CPPFLAGS'
22525
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22526
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22527
ac_compiler_gnu=$ac_cv_c_compiler_gnu
22534
{ { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
22535
echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
22536
{ (exit 1); exit 1; }; }
22540
# Append the new tag name to the list of available tags.
22541
if test -n "$tagname" ; then
22542
available_tags="$available_tags $tagname"
22548
# Now substitute the updated list of available tags.
22549
if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
22550
mv "${ofile}T" "$ofile"
22554
{ { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
22555
echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
22556
{ (exit 1); exit 1; }; }
22562
# This can be used to rebuild libtool when needed
22563
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
22565
# Always use our own libtool.
22566
LIBTOOL='$(SHELL) $(top_builddir)/libtool --silent'
22568
# Prevent multiple expansion
22603
LIBTOOL_SHELL="/bin/sh ./libtool"
22604
# LIBTOOL="$LIBTOOL --silent"
22605
KDE_PLUGIN="-avoid-version -module -no-undefined \$(KDE_NO_UNDEFINED) \$(KDE_RPATH) \$(KDE_MT_LDFLAGS)"
22608
# This hack ensures that libtool creates shared libs for kunittest plugins. By default check_LTLIBRARIES makes static libs.
22609
KDE_CHECK_PLUGIN="\$(KDE_PLUGIN) -rpath \$(libdir)"
22612
# we patch configure quite some so we better keep that consistent for incremental runs
22613
AUTOCONF='$(SHELL) $(top_srcdir)/admin/cvs.sh configure || touch configure'
22619
# Extract the first word of "msgfmt", so it can be a program name with args.
22620
set dummy msgfmt; ac_word=$2
22621
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
22622
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22623
if test "${ac_cv_path_MSGFMT+set}" = set; then
22624
echo $ECHO_N "(cached) $ECHO_C" >&6
22628
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
22631
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
22632
for ac_dir in $PATH; do
22633
test -z "$ac_dir" && ac_dir=.
22634
if test -f $ac_dir/$ac_word; then
22635
if test -n "`$ac_dir/$ac_word --version 2>&1 | grep 'GNU gettext'`"; then
22636
ac_cv_path_MSGFMT="$ac_dir/$ac_word"
22642
test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="msgfmt"
22646
MSGFMT="$ac_cv_path_MSGFMT"
22647
if test -n "$MSGFMT"; then
22648
{ echo "$as_me:$LINENO: result: $MSGFMT" >&5
22649
echo "${ECHO_T}$MSGFMT" >&6; }
22651
{ echo "$as_me:$LINENO: result: no" >&5
22652
echo "${ECHO_T}no" >&6; }
22655
# Extract the first word of "gmsgfmt", so it can be a program name with args.
22656
set dummy gmsgfmt; ac_word=$2
22657
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
22658
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22659
if test "${ac_cv_path_GMSGFMT+set}" = set; then
22660
echo $ECHO_N "(cached) $ECHO_C" >&6
22664
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
22667
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22668
for as_dir in $PATH
22671
test -z "$as_dir" && as_dir=.
22672
for ac_exec_ext in '' $ac_executable_extensions; do
22673
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22674
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
22675
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22682
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
22686
GMSGFMT=$ac_cv_path_GMSGFMT
22687
if test -n "$GMSGFMT"; then
22688
{ echo "$as_me:$LINENO: result: $GMSGFMT" >&5
22689
echo "${ECHO_T}$GMSGFMT" >&6; }
22691
{ echo "$as_me:$LINENO: result: no" >&5
22692
echo "${ECHO_T}no" >&6; }
22697
if test -z "`$GMSGFMT --version 2>&1 | grep 'GNU gettext'`"; then
22698
{ echo "$as_me:$LINENO: result: found msgfmt program is not GNU msgfmt; ignore it" >&5
22699
echo "${ECHO_T}found msgfmt program is not GNU msgfmt; ignore it" >&6; }
22706
# Extract the first word of "xgettext", so it can be a program name with args.
22707
set dummy xgettext; ac_word=$2
22708
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
22709
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22710
if test "${ac_cv_path_XGETTEXT+set}" = set; then
22711
echo $ECHO_N "(cached) $ECHO_C" >&6
22713
case "$XGETTEXT" in
22715
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
22718
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
22719
for ac_dir in $PATH; do
22720
test -z "$ac_dir" && ac_dir=.
22721
if test -f $ac_dir/$ac_word; then
22722
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
22723
ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
22729
test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
22733
XGETTEXT="$ac_cv_path_XGETTEXT"
22734
if test -n "$XGETTEXT"; then
22735
{ echo "$as_me:$LINENO: result: $XGETTEXT" >&5
22736
echo "${ECHO_T}$XGETTEXT" >&6; }
22738
{ echo "$as_me:$LINENO: result: no" >&5
22739
echo "${ECHO_T}no" >&6; }
22743
if test "$XGETTEXT" != ":"; then
22744
if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
22747
{ echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
22748
echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6; }
22757
if test -z "3"; then
22758
# Current default Qt version: 3.3
22762
kde_qtsubver=`echo "3" | sed -e 's#[0-9][0-9]*\.\([0-9][0-9]*\).*#\1#'`
22763
# following is the check if subversion isnt found in passed argument
22764
if test "$kde_qtsubver" = "3"; then
22767
kde_qtver=`echo "3" | sed -e 's#^\([0-9][0-9]*\)\..*#\1#'`
22768
if test "$kde_qtver" = "1"; then
22773
if test -z ""; then
22774
if test "$kde_qtver" = "2"; then
22775
if test $kde_qtsubver -gt 0; then
22776
kde_qt_minversion=">= Qt 2.2.2"
22778
kde_qt_minversion=">= Qt 2.0.2"
22781
if test "$kde_qtver" = "3"; then
22782
if test $kde_qtsubver -gt 0; then
22783
if test $kde_qtsubver -gt 1; then
22784
if test $kde_qtsubver -gt 2; then
22785
kde_qt_minversion=">= Qt 3.3 and < 4.0"
22787
kde_qt_minversion=">= Qt 3.2 and < 4.0"
22790
kde_qt_minversion=">= Qt 3.1 (20021021) and < 4.0"
22793
kde_qt_minversion=">= Qt 3.0 and < 4.0"
22796
if test "$kde_qtver" = "1"; then
22797
kde_qt_minversion=">= 1.42 and < 2.0"
22800
kde_qt_minversion=""
22803
if test -z ""; then
22804
if test $kde_qtver = 3; then
22805
if test $kde_qtsubver -gt 0; then
22806
kde_qt_verstring="QT_VERSION >= 0x03@VER@00 && QT_VERSION < 0x040000"
22807
qtsubver=`echo "00$kde_qtsubver" | sed -e 's,.*\(..\)$,\1,'`
22808
kde_qt_verstring=`echo $kde_qt_verstring | sed -e "s,@VER@,$qtsubver,"`
22810
kde_qt_verstring="QT_VERSION >= 300 && QT_VERSION < 0x040000"
22813
if test $kde_qtver = 2; then
22814
if test $kde_qtsubver -gt 0; then
22815
kde_qt_verstring="QT_VERSION >= 222"
22817
kde_qt_verstring="QT_VERSION >= 200"
22820
if test $kde_qtver = 1; then
22821
kde_qt_verstring="QT_VERSION >= 142 && QT_VERSION < 200"
22824
kde_qt_verstring=""
22827
if test $kde_qtver = 4; then
22828
kde_qt_dirs="$QTDIR /usr/lib/qt4 /usr/lib/qt /usr/share/qt4"
22830
if test $kde_qtver = 3; then
22831
kde_qt_dirs="$QTDIR /usr/lib/qt3 /usr/lib/qt /usr/share/qt3"
22833
if test $kde_qtver = 2; then
22834
kde_qt_dirs="$QTDIR /usr/lib/qt2 /usr/lib/qt"
22836
if test $kde_qtver = 1; then
22837
kde_qt_dirs="$QTDIR /usr/lib/qt"
22843
ac_cpp='$CXXCPP $CPPFLAGS'
22844
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22845
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22846
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22848
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22851
ac_save_CXXFLAGS="$CXXFLAGS"
22852
CXXFLAGS="`echo $CXXFLAGS | sed s/-fno-exceptions//`"
22854
{ echo "$as_me:$LINENO: checking if C++ programs can be compiled" >&5
22855
echo $ECHO_N "checking if C++ programs can be compiled... $ECHO_C" >&6; }
22856
if test "${kde_cv_stl_works+set}" = set; then
22857
echo $ECHO_N "(cached) $ECHO_C" >&6
22860
cat >conftest.$ac_ext <<_ACEOF
22863
cat confdefs.h >>conftest.$ac_ext
22864
cat >>conftest.$ac_ext <<_ACEOF
22865
/* end confdefs.h. */
22868
using namespace std;
22874
string astring="Hallo Welt.";
22875
astring.erase(0, 6); // now astring is "Welt"
22882
rm -f conftest.$ac_objext
22883
if { (ac_try="$ac_compile"
22884
case "(($ac_try" in
22885
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22886
*) ac_try_echo=$ac_try;;
22888
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22889
(eval "$ac_compile") 2>conftest.er1
22891
grep -v '^ *+' conftest.er1 >conftest.err
22893
cat conftest.err >&5
22894
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22895
(exit $ac_status); } && {
22896
test -z "$ac_cxx_werror_flag" ||
22897
test ! -s conftest.err
22898
} && test -s conftest.$ac_objext; then
22899
kde_cv_stl_works=yes
22901
echo "$as_me: failed program was:" >&5
22902
sed 's/^/| /' conftest.$ac_ext >&5
22904
kde_cv_stl_works=no
22907
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22912
{ echo "$as_me:$LINENO: result: $kde_cv_stl_works" >&5
22913
echo "${ECHO_T}$kde_cv_stl_works" >&6; }
22915
if test "$kde_cv_stl_works" = "yes"; then
22918
cat >>confdefs.h <<_ACEOF
22919
#define HAVE_SGI_STL 1
22923
{ { echo "$as_me:$LINENO: error: Your Installation isn't able to compile simple C++ programs.
22924
Check config.log for details - if you're using a Linux distribution you might miss
22925
a package named similar to libstdc++-dev." >&5
22926
echo "$as_me: error: Your Installation isn't able to compile simple C++ programs.
22927
Check config.log for details - if you're using a Linux distribution you might miss
22928
a package named similar to libstdc++-dev." >&2;}
22929
{ (exit 1); exit 1; }; }
22932
CXXFLAGS="$ac_save_CXXFLAGS"
22934
ac_cpp='$CPP $CPPFLAGS'
22935
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22936
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22937
ac_compiler_gnu=$ac_cv_c_compiler_gnu
22942
{ echo "$as_me:$LINENO: checking for strlcat" >&5
22943
echo $ECHO_N "checking for strlcat... $ECHO_C" >&6; }
22944
if test "${kde_cv_func_strlcat+set}" = set; then
22945
echo $ECHO_N "(cached) $ECHO_C" >&6
22950
ac_cpp='$CXXCPP $CPPFLAGS'
22951
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22952
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22953
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22955
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22958
save_CXXFLAGS="$CXXFLAGS"
22959
kde_safe_LIBS="$LIBS"
22960
LIBS="$LIBS $X_EXTRA_LIBS"
22961
if test "$GXX" = "yes"; then
22962
CXXFLAGS="$CXXFLAGS -pedantic-errors"
22964
cat >conftest.$ac_ext <<_ACEOF
22967
cat confdefs.h >>conftest.$ac_ext
22968
cat >>conftest.$ac_ext <<_ACEOF
22969
/* end confdefs.h. */
22972
#include <string.h>
22981
strlcat(buf, "KDE function test", sizeof(buf));
22988
rm -f conftest.$ac_objext
22989
if { (ac_try="$ac_compile"
22990
case "(($ac_try" in
22991
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22992
*) ac_try_echo=$ac_try;;
22994
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22995
(eval "$ac_compile") 2>conftest.er1
22997
grep -v '^ *+' conftest.er1 >conftest.err
22999
cat conftest.err >&5
23000
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23001
(exit $ac_status); } && {
23002
test -z "$ac_cxx_werror_flag" ||
23003
test ! -s conftest.err
23004
} && test -s conftest.$ac_objext; then
23005
kde_cv_func_strlcat=yes
23007
echo "$as_me: failed program was:" >&5
23008
sed 's/^/| /' conftest.$ac_ext >&5
23010
kde_cv_func_strlcat=no
23013
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23014
CXXFLAGS="$save_CXXFLAGS"
23015
LIBS="$kde_safe_LIBS"
23017
ac_cpp='$CPP $CPPFLAGS'
23018
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23019
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23020
ac_compiler_gnu=$ac_cv_c_compiler_gnu
23026
{ echo "$as_me:$LINENO: result: $kde_cv_func_strlcat" >&5
23027
echo "${ECHO_T}$kde_cv_func_strlcat" >&6; }
23029
{ echo "$as_me:$LINENO: checking if strlcat needs custom prototype" >&5
23030
echo $ECHO_N "checking if strlcat needs custom prototype... $ECHO_C" >&6; }
23031
if test "${kde_cv_proto_strlcat+set}" = set; then
23032
echo $ECHO_N "(cached) $ECHO_C" >&6
23035
if test "x$kde_cv_func_strlcat" = xyes; then
23036
kde_cv_proto_strlcat=no
23039
setenv|unsetenv|usleep|random|srandom|seteuid|mkstemps|mkstemp|revoke|vsnprintf|strlcpy|strlcat)
23040
kde_cv_proto_strlcat="yes - in libkdefakes"
23043
kde_cv_proto_strlcat=unknown
23048
if test "x$kde_cv_proto_strlcat" = xunknown; then
23052
ac_cpp='$CXXCPP $CPPFLAGS'
23053
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23054
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23055
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23057
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
23060
kde_safe_libs=$LIBS
23061
LIBS="$LIBS $X_EXTRA_LIBS"
23062
cat >conftest.$ac_ext <<_ACEOF
23065
cat confdefs.h >>conftest.$ac_ext
23066
cat >>conftest.$ac_ext <<_ACEOF
23067
/* end confdefs.h. */
23070
#include <string.h>
23073
extern "C" unsigned long strlcat(char*, const char*, unsigned long);
23081
strlcat(buf, "KDE function test", sizeof(buf));
23088
rm -f conftest.$ac_objext conftest$ac_exeext
23089
if { (ac_try="$ac_link"
23090
case "(($ac_try" in
23091
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23092
*) ac_try_echo=$ac_try;;
23094
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23095
(eval "$ac_link") 2>conftest.er1
23097
grep -v '^ *+' conftest.er1 >conftest.err
23099
cat conftest.err >&5
23100
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23101
(exit $ac_status); } && {
23102
test -z "$ac_cxx_werror_flag" ||
23103
test ! -s conftest.err
23104
} && test -s conftest$ac_exeext &&
23105
$as_test_x conftest$ac_exeext; then
23106
kde_cv_func_strlcat=yes
23107
kde_cv_proto_strlcat=yes
23109
echo "$as_me: failed program was:" >&5
23110
sed 's/^/| /' conftest.$ac_ext >&5
23112
kde_cv_proto_strlcat="strlcat unavailable"
23116
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23117
conftest$ac_exeext conftest.$ac_ext
23118
LIBS=$kde_safe_libs
23120
ac_cpp='$CPP $CPPFLAGS'
23121
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23122
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23123
ac_compiler_gnu=$ac_cv_c_compiler_gnu
23129
{ echo "$as_me:$LINENO: result: $kde_cv_proto_strlcat" >&5
23130
echo "${ECHO_T}$kde_cv_proto_strlcat" >&6; }
23132
if test "x$kde_cv_func_strlcat" = xyes; then
23134
cat >>confdefs.h <<\_ACEOF
23135
#define HAVE_STRLCAT 1
23140
if test "x$kde_cv_proto_strlcat" = xno; then
23142
cat >>confdefs.h <<\_ACEOF
23143
#define HAVE_STRLCAT_PROTO 1
23154
{ echo "$as_me:$LINENO: checking for strlcpy" >&5
23155
echo $ECHO_N "checking for strlcpy... $ECHO_C" >&6; }
23156
if test "${kde_cv_func_strlcpy+set}" = set; then
23157
echo $ECHO_N "(cached) $ECHO_C" >&6
23162
ac_cpp='$CXXCPP $CPPFLAGS'
23163
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23164
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23165
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23167
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
23170
save_CXXFLAGS="$CXXFLAGS"
23171
kde_safe_LIBS="$LIBS"
23172
LIBS="$LIBS $X_EXTRA_LIBS"
23173
if test "$GXX" = "yes"; then
23174
CXXFLAGS="$CXXFLAGS -pedantic-errors"
23176
cat >conftest.$ac_ext <<_ACEOF
23179
cat confdefs.h >>conftest.$ac_ext
23180
cat >>conftest.$ac_ext <<_ACEOF
23181
/* end confdefs.h. */
23184
#include <string.h>
23192
strlcpy(buf, "KDE function test", sizeof(buf));
23199
rm -f conftest.$ac_objext
23200
if { (ac_try="$ac_compile"
23201
case "(($ac_try" in
23202
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23203
*) ac_try_echo=$ac_try;;
23205
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23206
(eval "$ac_compile") 2>conftest.er1
23208
grep -v '^ *+' conftest.er1 >conftest.err
23210
cat conftest.err >&5
23211
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23212
(exit $ac_status); } && {
23213
test -z "$ac_cxx_werror_flag" ||
23214
test ! -s conftest.err
23215
} && test -s conftest.$ac_objext; then
23216
kde_cv_func_strlcpy=yes
23218
echo "$as_me: failed program was:" >&5
23219
sed 's/^/| /' conftest.$ac_ext >&5
23221
kde_cv_func_strlcpy=no
23224
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23225
CXXFLAGS="$save_CXXFLAGS"
23226
LIBS="$kde_safe_LIBS"
23228
ac_cpp='$CPP $CPPFLAGS'
23229
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23230
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23231
ac_compiler_gnu=$ac_cv_c_compiler_gnu
23237
{ echo "$as_me:$LINENO: result: $kde_cv_func_strlcpy" >&5
23238
echo "${ECHO_T}$kde_cv_func_strlcpy" >&6; }
23240
{ echo "$as_me:$LINENO: checking if strlcpy needs custom prototype" >&5
23241
echo $ECHO_N "checking if strlcpy needs custom prototype... $ECHO_C" >&6; }
23242
if test "${kde_cv_proto_strlcpy+set}" = set; then
23243
echo $ECHO_N "(cached) $ECHO_C" >&6
23246
if test "x$kde_cv_func_strlcpy" = xyes; then
23247
kde_cv_proto_strlcpy=no
23250
setenv|unsetenv|usleep|random|srandom|seteuid|mkstemps|mkstemp|revoke|vsnprintf|strlcpy|strlcat)
23251
kde_cv_proto_strlcpy="yes - in libkdefakes"
23254
kde_cv_proto_strlcpy=unknown
23259
if test "x$kde_cv_proto_strlcpy" = xunknown; then
23263
ac_cpp='$CXXCPP $CPPFLAGS'
23264
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23265
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23266
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23268
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
23271
kde_safe_libs=$LIBS
23272
LIBS="$LIBS $X_EXTRA_LIBS"
23273
cat >conftest.$ac_ext <<_ACEOF
23276
cat confdefs.h >>conftest.$ac_ext
23277
cat >>conftest.$ac_ext <<_ACEOF
23278
/* end confdefs.h. */
23281
#include <string.h>
23284
extern "C" unsigned long strlcpy(char*, const char*, unsigned long);
23291
strlcpy(buf, "KDE function test", sizeof(buf));
23298
rm -f conftest.$ac_objext conftest$ac_exeext
23299
if { (ac_try="$ac_link"
23300
case "(($ac_try" in
23301
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23302
*) ac_try_echo=$ac_try;;
23304
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23305
(eval "$ac_link") 2>conftest.er1
23307
grep -v '^ *+' conftest.er1 >conftest.err
23309
cat conftest.err >&5
23310
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23311
(exit $ac_status); } && {
23312
test -z "$ac_cxx_werror_flag" ||
23313
test ! -s conftest.err
23314
} && test -s conftest$ac_exeext &&
23315
$as_test_x conftest$ac_exeext; then
23316
kde_cv_func_strlcpy=yes
23317
kde_cv_proto_strlcpy=yes
23319
echo "$as_me: failed program was:" >&5
23320
sed 's/^/| /' conftest.$ac_ext >&5
23322
kde_cv_proto_strlcpy="strlcpy unavailable"
23326
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23327
conftest$ac_exeext conftest.$ac_ext
23328
LIBS=$kde_safe_libs
23330
ac_cpp='$CPP $CPPFLAGS'
23331
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23332
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23333
ac_compiler_gnu=$ac_cv_c_compiler_gnu
23339
{ echo "$as_me:$LINENO: result: $kde_cv_proto_strlcpy" >&5
23340
echo "${ECHO_T}$kde_cv_proto_strlcpy" >&6; }
23342
if test "x$kde_cv_func_strlcpy" = xyes; then
23344
cat >>confdefs.h <<\_ACEOF
23345
#define HAVE_STRLCPY 1
23350
if test "x$kde_cv_proto_strlcpy" = xno; then
23352
cat >>confdefs.h <<\_ACEOF
23353
#define HAVE_STRLCPY_PROTO 1
23363
{ echo "$as_me:$LINENO: checking for main in -lutil" >&5
23364
echo $ECHO_N "checking for main in -lutil... $ECHO_C" >&6; }
23365
if test "${ac_cv_lib_util_main+set}" = set; then
23366
echo $ECHO_N "(cached) $ECHO_C" >&6
23368
ac_check_lib_save_LIBS=$LIBS
23369
LIBS="-lutil $LIBS"
23370
cat >conftest.$ac_ext <<_ACEOF
23373
cat confdefs.h >>conftest.$ac_ext
23374
cat >>conftest.$ac_ext <<_ACEOF
23375
/* end confdefs.h. */
23386
rm -f conftest.$ac_objext conftest$ac_exeext
23387
if { (ac_try="$ac_link"
23388
case "(($ac_try" in
23389
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23390
*) ac_try_echo=$ac_try;;
23392
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23393
(eval "$ac_link") 2>conftest.er1
23395
grep -v '^ *+' conftest.er1 >conftest.err
23397
cat conftest.err >&5
23398
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23399
(exit $ac_status); } && {
23400
test -z "$ac_c_werror_flag" ||
23401
test ! -s conftest.err
23402
} && test -s conftest$ac_exeext &&
23403
$as_test_x conftest$ac_exeext; then
23404
ac_cv_lib_util_main=yes
23406
echo "$as_me: failed program was:" >&5
23407
sed 's/^/| /' conftest.$ac_ext >&5
23409
ac_cv_lib_util_main=no
23412
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23413
conftest$ac_exeext conftest.$ac_ext
23414
LIBS=$ac_check_lib_save_LIBS
23416
{ echo "$as_me:$LINENO: result: $ac_cv_lib_util_main" >&5
23417
echo "${ECHO_T}$ac_cv_lib_util_main" >&6; }
23418
if test $ac_cv_lib_util_main = yes; then
23422
{ echo "$as_me:$LINENO: checking for main in -lcompat" >&5
23423
echo $ECHO_N "checking for main in -lcompat... $ECHO_C" >&6; }
23424
if test "${ac_cv_lib_compat_main+set}" = set; then
23425
echo $ECHO_N "(cached) $ECHO_C" >&6
23427
ac_check_lib_save_LIBS=$LIBS
23428
LIBS="-lcompat $LIBS"
23429
cat >conftest.$ac_ext <<_ACEOF
23432
cat confdefs.h >>conftest.$ac_ext
23433
cat >>conftest.$ac_ext <<_ACEOF
23434
/* end confdefs.h. */
23445
rm -f conftest.$ac_objext conftest$ac_exeext
23446
if { (ac_try="$ac_link"
23447
case "(($ac_try" in
23448
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23449
*) ac_try_echo=$ac_try;;
23451
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23452
(eval "$ac_link") 2>conftest.er1
23454
grep -v '^ *+' conftest.er1 >conftest.err
23456
cat conftest.err >&5
23457
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23458
(exit $ac_status); } && {
23459
test -z "$ac_c_werror_flag" ||
23460
test ! -s conftest.err
23461
} && test -s conftest$ac_exeext &&
23462
$as_test_x conftest$ac_exeext; then
23463
ac_cv_lib_compat_main=yes
23465
echo "$as_me: failed program was:" >&5
23466
sed 's/^/| /' conftest.$ac_ext >&5
23468
ac_cv_lib_compat_main=no
23471
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23472
conftest$ac_exeext conftest.$ac_ext
23473
LIBS=$ac_check_lib_save_LIBS
23475
{ echo "$as_me:$LINENO: result: $ac_cv_lib_compat_main" >&5
23476
echo "${ECHO_T}$ac_cv_lib_compat_main" >&6; }
23477
if test $ac_cv_lib_compat_main = yes; then
23478
LIBCOMPAT="-lcompat"
23482
{ echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5
23483
echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6; }
23484
if test "${ac_cv_lib_crypt_crypt+set}" = set; then
23485
echo $ECHO_N "(cached) $ECHO_C" >&6
23487
ac_check_lib_save_LIBS=$LIBS
23488
LIBS="-lcrypt $LIBS"
23489
cat >conftest.$ac_ext <<_ACEOF
23492
cat confdefs.h >>conftest.$ac_ext
23493
cat >>conftest.$ac_ext <<_ACEOF
23494
/* end confdefs.h. */
23496
/* Override any GCC internal prototype to avoid an error.
23497
Use char because int might match the return type of a GCC
23498
builtin and then its argument prototype would still apply. */
23511
rm -f conftest.$ac_objext conftest$ac_exeext
23512
if { (ac_try="$ac_link"
23513
case "(($ac_try" in
23514
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23515
*) ac_try_echo=$ac_try;;
23517
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23518
(eval "$ac_link") 2>conftest.er1
23520
grep -v '^ *+' conftest.er1 >conftest.err
23522
cat conftest.err >&5
23523
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23524
(exit $ac_status); } && {
23525
test -z "$ac_c_werror_flag" ||
23526
test ! -s conftest.err
23527
} && test -s conftest$ac_exeext &&
23528
$as_test_x conftest$ac_exeext; then
23529
ac_cv_lib_crypt_crypt=yes
23531
echo "$as_me: failed program was:" >&5
23532
sed 's/^/| /' conftest.$ac_ext >&5
23534
ac_cv_lib_crypt_crypt=no
23537
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23538
conftest$ac_exeext conftest.$ac_ext
23539
LIBS=$ac_check_lib_save_LIBS
23541
{ echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
23542
echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6; }
23543
if test $ac_cv_lib_crypt_crypt = yes; then
23544
LIBCRYPT="-lcrypt"; kde_have_crypt=yes
23546
{ echo "$as_me:$LINENO: checking for crypt in -lc" >&5
23547
echo $ECHO_N "checking for crypt in -lc... $ECHO_C" >&6; }
23548
if test "${ac_cv_lib_c_crypt+set}" = set; then
23549
echo $ECHO_N "(cached) $ECHO_C" >&6
23551
ac_check_lib_save_LIBS=$LIBS
23553
cat >conftest.$ac_ext <<_ACEOF
23556
cat confdefs.h >>conftest.$ac_ext
23557
cat >>conftest.$ac_ext <<_ACEOF
23558
/* end confdefs.h. */
23560
/* Override any GCC internal prototype to avoid an error.
23561
Use char because int might match the return type of a GCC
23562
builtin and then its argument prototype would still apply. */
23575
rm -f conftest.$ac_objext conftest$ac_exeext
23576
if { (ac_try="$ac_link"
23577
case "(($ac_try" in
23578
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23579
*) ac_try_echo=$ac_try;;
23581
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23582
(eval "$ac_link") 2>conftest.er1
23584
grep -v '^ *+' conftest.er1 >conftest.err
23586
cat conftest.err >&5
23587
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23588
(exit $ac_status); } && {
23589
test -z "$ac_c_werror_flag" ||
23590
test ! -s conftest.err
23591
} && test -s conftest$ac_exeext &&
23592
$as_test_x conftest$ac_exeext; then
23593
ac_cv_lib_c_crypt=yes
23595
echo "$as_me: failed program was:" >&5
23596
sed 's/^/| /' conftest.$ac_ext >&5
23598
ac_cv_lib_c_crypt=no
23601
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23602
conftest$ac_exeext conftest.$ac_ext
23603
LIBS=$ac_check_lib_save_LIBS
23605
{ echo "$as_me:$LINENO: result: $ac_cv_lib_c_crypt" >&5
23606
echo "${ECHO_T}$ac_cv_lib_c_crypt" >&6; }
23607
if test $ac_cv_lib_c_crypt = yes; then
23611
{ echo "$as_me:$LINENO: WARNING: you have no crypt in either libcrypt or libc.
23612
You should install libcrypt from another source or configure with PAM
23614
echo "$as_me: WARNING: you have no crypt in either libcrypt or libc.
23615
You should install libcrypt from another source or configure with PAM
23624
if test $kde_have_crypt = yes; then
23626
cat >>confdefs.h <<_ACEOF
23627
#define HAVE_CRYPT 1
23632
{ echo "$as_me:$LINENO: checking for socklen_t" >&5
23633
echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6; }
23634
if test "${kde_cv_socklen_t+set}" = set; then
23635
echo $ECHO_N "(cached) $ECHO_C" >&6
23639
ac_cpp='$CXXCPP $CPPFLAGS'
23640
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23641
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23642
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23644
kde_cv_socklen_t=no
23645
cat >conftest.$ac_ext <<_ACEOF
23648
cat confdefs.h >>conftest.$ac_ext
23649
cat >>conftest.$ac_ext <<_ACEOF
23650
/* end confdefs.h. */
23652
#include <sys/types.h>
23653
#include <sys/socket.h>
23660
getpeername(0,0,&len);
23666
rm -f conftest.$ac_objext
23667
if { (ac_try="$ac_compile"
23668
case "(($ac_try" in
23669
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23670
*) ac_try_echo=$ac_try;;
23672
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23673
(eval "$ac_compile") 2>conftest.er1
23675
grep -v '^ *+' conftest.er1 >conftest.err
23677
cat conftest.err >&5
23678
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23679
(exit $ac_status); } && {
23680
test -z "$ac_cxx_werror_flag" ||
23681
test ! -s conftest.err
23682
} && test -s conftest.$ac_objext; then
23684
kde_cv_socklen_t=yes
23685
kde_cv_socklen_t_equiv=socklen_t
23688
echo "$as_me: failed program was:" >&5
23689
sed 's/^/| /' conftest.$ac_ext >&5
23694
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23696
ac_cpp='$CPP $CPPFLAGS'
23697
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23698
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23699
ac_compiler_gnu=$ac_cv_c_compiler_gnu
23704
{ echo "$as_me:$LINENO: result: $kde_cv_socklen_t" >&5
23705
echo "${ECHO_T}$kde_cv_socklen_t" >&6; }
23706
if test $kde_cv_socklen_t = no; then
23707
{ echo "$as_me:$LINENO: checking for socklen_t equivalent for socket functions" >&5
23708
echo $ECHO_N "checking for socklen_t equivalent for socket functions... $ECHO_C" >&6; }
23709
if test "${kde_cv_socklen_t_equiv+set}" = set; then
23710
echo $ECHO_N "(cached) $ECHO_C" >&6
23713
kde_cv_socklen_t_equiv=int
23715
ac_cpp='$CXXCPP $CPPFLAGS'
23716
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23717
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23718
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23720
for t in int size_t unsigned long "unsigned long"; do
23721
cat >conftest.$ac_ext <<_ACEOF
23724
cat confdefs.h >>conftest.$ac_ext
23725
cat >>conftest.$ac_ext <<_ACEOF
23726
/* end confdefs.h. */
23728
#include <sys/types.h>
23729
#include <sys/socket.h>
23736
getpeername(0,0,&len);
23742
rm -f conftest.$ac_objext
23743
if { (ac_try="$ac_compile"
23744
case "(($ac_try" in
23745
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23746
*) ac_try_echo=$ac_try;;
23748
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23749
(eval "$ac_compile") 2>conftest.er1
23751
grep -v '^ *+' conftest.er1 >conftest.err
23753
cat conftest.err >&5
23754
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23755
(exit $ac_status); } && {
23756
test -z "$ac_cxx_werror_flag" ||
23757
test ! -s conftest.err
23758
} && test -s conftest.$ac_objext; then
23760
kde_cv_socklen_t_equiv="$t"
23764
echo "$as_me: failed program was:" >&5
23765
sed 's/^/| /' conftest.$ac_ext >&5
23770
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23773
ac_cpp='$CPP $CPPFLAGS'
23774
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23775
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23776
ac_compiler_gnu=$ac_cv_c_compiler_gnu
23781
{ echo "$as_me:$LINENO: result: $kde_cv_socklen_t_equiv" >&5
23782
echo "${ECHO_T}$kde_cv_socklen_t_equiv" >&6; }
23785
cat >>confdefs.h <<_ACEOF
23786
#define kde_socklen_t $kde_cv_socklen_t_equiv
23790
cat >>confdefs.h <<_ACEOF
23791
#define ksize_t $kde_cv_socklen_t_equiv
23795
{ echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
23796
echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
23797
if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
23798
echo $ECHO_N "(cached) $ECHO_C" >&6
23800
ac_check_lib_save_LIBS=$LIBS
23801
LIBS="-ldnet $LIBS"
23802
cat >conftest.$ac_ext <<_ACEOF
23805
cat confdefs.h >>conftest.$ac_ext
23806
cat >>conftest.$ac_ext <<_ACEOF
23807
/* end confdefs.h. */
23809
/* Override any GCC internal prototype to avoid an error.
23810
Use char because int might match the return type of a GCC
23811
builtin and then its argument prototype would still apply. */
23819
return dnet_ntoa ();
23824
rm -f conftest.$ac_objext conftest$ac_exeext
23825
if { (ac_try="$ac_link"
23826
case "(($ac_try" in
23827
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23828
*) ac_try_echo=$ac_try;;
23830
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23831
(eval "$ac_link") 2>conftest.er1
23833
grep -v '^ *+' conftest.er1 >conftest.err
23835
cat conftest.err >&5
23836
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23837
(exit $ac_status); } && {
23838
test -z "$ac_c_werror_flag" ||
23839
test ! -s conftest.err
23840
} && test -s conftest$ac_exeext &&
23841
$as_test_x conftest$ac_exeext; then
23842
ac_cv_lib_dnet_dnet_ntoa=yes
23844
echo "$as_me: failed program was:" >&5
23845
sed 's/^/| /' conftest.$ac_ext >&5
23847
ac_cv_lib_dnet_dnet_ntoa=no
23850
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23851
conftest$ac_exeext conftest.$ac_ext
23852
LIBS=$ac_check_lib_save_LIBS
23854
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
23855
echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
23856
if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
23857
X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
23860
if test $ac_cv_lib_dnet_dnet_ntoa = no; then
23861
{ echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
23862
echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
23863
if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
23864
echo $ECHO_N "(cached) $ECHO_C" >&6
23866
ac_check_lib_save_LIBS=$LIBS
23867
LIBS="-ldnet_stub $LIBS"
23868
cat >conftest.$ac_ext <<_ACEOF
23871
cat confdefs.h >>conftest.$ac_ext
23872
cat >>conftest.$ac_ext <<_ACEOF
23873
/* end confdefs.h. */
23875
/* Override any GCC internal prototype to avoid an error.
23876
Use char because int might match the return type of a GCC
23877
builtin and then its argument prototype would still apply. */
23885
return dnet_ntoa ();
23890
rm -f conftest.$ac_objext conftest$ac_exeext
23891
if { (ac_try="$ac_link"
23892
case "(($ac_try" in
23893
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23894
*) ac_try_echo=$ac_try;;
23896
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23897
(eval "$ac_link") 2>conftest.er1
23899
grep -v '^ *+' conftest.er1 >conftest.err
23901
cat conftest.err >&5
23902
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23903
(exit $ac_status); } && {
23904
test -z "$ac_c_werror_flag" ||
23905
test ! -s conftest.err
23906
} && test -s conftest$ac_exeext &&
23907
$as_test_x conftest$ac_exeext; then
23908
ac_cv_lib_dnet_stub_dnet_ntoa=yes
23910
echo "$as_me: failed program was:" >&5
23911
sed 's/^/| /' conftest.$ac_ext >&5
23913
ac_cv_lib_dnet_stub_dnet_ntoa=no
23916
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23917
conftest$ac_exeext conftest.$ac_ext
23918
LIBS=$ac_check_lib_save_LIBS
23920
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23921
echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
23922
if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
23923
X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
23927
{ echo "$as_me:$LINENO: checking for inet_ntoa" >&5
23928
echo $ECHO_N "checking for inet_ntoa... $ECHO_C" >&6; }
23929
if test "${ac_cv_func_inet_ntoa+set}" = set; then
23930
echo $ECHO_N "(cached) $ECHO_C" >&6
23932
cat >conftest.$ac_ext <<_ACEOF
23935
cat confdefs.h >>conftest.$ac_ext
23936
cat >>conftest.$ac_ext <<_ACEOF
23937
/* end confdefs.h. */
23938
/* Define inet_ntoa to an innocuous variant, in case <limits.h> declares inet_ntoa.
23939
For example, HP-UX 11i <limits.h> declares gettimeofday. */
23940
#define inet_ntoa innocuous_inet_ntoa
23942
/* System header to define __stub macros and hopefully few prototypes,
23943
which can conflict with char inet_ntoa (); below.
23944
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23945
<limits.h> exists even on freestanding compilers. */
23948
# include <limits.h>
23950
# include <assert.h>
23955
/* Override any GCC internal prototype to avoid an error.
23956
Use char because int might match the return type of a GCC
23957
builtin and then its argument prototype would still apply. */
23962
/* The GNU C library defines this for functions which it implements
23963
to always fail with ENOSYS. Some functions are actually named
23964
something starting with __ and the normal name is an alias. */
23965
#if defined __stub_inet_ntoa || defined __stub___inet_ntoa
23972
return inet_ntoa ();
23977
rm -f conftest.$ac_objext conftest$ac_exeext
23978
if { (ac_try="$ac_link"
23979
case "(($ac_try" in
23980
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23981
*) ac_try_echo=$ac_try;;
23983
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23984
(eval "$ac_link") 2>conftest.er1
23986
grep -v '^ *+' conftest.er1 >conftest.err
23988
cat conftest.err >&5
23989
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23990
(exit $ac_status); } && {
23991
test -z "$ac_c_werror_flag" ||
23992
test ! -s conftest.err
23993
} && test -s conftest$ac_exeext &&
23994
$as_test_x conftest$ac_exeext; then
23995
ac_cv_func_inet_ntoa=yes
23997
echo "$as_me: failed program was:" >&5
23998
sed 's/^/| /' conftest.$ac_ext >&5
24000
ac_cv_func_inet_ntoa=no
24003
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24004
conftest$ac_exeext conftest.$ac_ext
24006
{ echo "$as_me:$LINENO: result: $ac_cv_func_inet_ntoa" >&5
24007
echo "${ECHO_T}$ac_cv_func_inet_ntoa" >&6; }
24009
if test $ac_cv_func_inet_ntoa = no; then
24010
{ echo "$as_me:$LINENO: checking for inet_ntoa in -lnsl" >&5
24011
echo $ECHO_N "checking for inet_ntoa in -lnsl... $ECHO_C" >&6; }
24012
if test "${ac_cv_lib_nsl_inet_ntoa+set}" = set; then
24013
echo $ECHO_N "(cached) $ECHO_C" >&6
24015
ac_check_lib_save_LIBS=$LIBS
24017
cat >conftest.$ac_ext <<_ACEOF
24020
cat confdefs.h >>conftest.$ac_ext
24021
cat >>conftest.$ac_ext <<_ACEOF
24022
/* end confdefs.h. */
24024
/* Override any GCC internal prototype to avoid an error.
24025
Use char because int might match the return type of a GCC
24026
builtin and then its argument prototype would still apply. */
24034
return inet_ntoa ();
24039
rm -f conftest.$ac_objext conftest$ac_exeext
24040
if { (ac_try="$ac_link"
24041
case "(($ac_try" in
24042
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24043
*) ac_try_echo=$ac_try;;
24045
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24046
(eval "$ac_link") 2>conftest.er1
24048
grep -v '^ *+' conftest.er1 >conftest.err
24050
cat conftest.err >&5
24051
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24052
(exit $ac_status); } && {
24053
test -z "$ac_c_werror_flag" ||
24054
test ! -s conftest.err
24055
} && test -s conftest$ac_exeext &&
24056
$as_test_x conftest$ac_exeext; then
24057
ac_cv_lib_nsl_inet_ntoa=yes
24059
echo "$as_me: failed program was:" >&5
24060
sed 's/^/| /' conftest.$ac_ext >&5
24062
ac_cv_lib_nsl_inet_ntoa=no
24065
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24066
conftest$ac_exeext conftest.$ac_ext
24067
LIBS=$ac_check_lib_save_LIBS
24069
{ echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_ntoa" >&5
24070
echo "${ECHO_T}$ac_cv_lib_nsl_inet_ntoa" >&6; }
24071
if test $ac_cv_lib_nsl_inet_ntoa = yes; then
24072
X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
24076
{ echo "$as_me:$LINENO: checking for connect" >&5
24077
echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
24078
if test "${ac_cv_func_connect+set}" = set; then
24079
echo $ECHO_N "(cached) $ECHO_C" >&6
24081
cat >conftest.$ac_ext <<_ACEOF
24084
cat confdefs.h >>conftest.$ac_ext
24085
cat >>conftest.$ac_ext <<_ACEOF
24086
/* end confdefs.h. */
24087
/* Define connect to an innocuous variant, in case <limits.h> declares connect.
24088
For example, HP-UX 11i <limits.h> declares gettimeofday. */
24089
#define connect innocuous_connect
24091
/* System header to define __stub macros and hopefully few prototypes,
24092
which can conflict with char connect (); below.
24093
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24094
<limits.h> exists even on freestanding compilers. */
24097
# include <limits.h>
24099
# include <assert.h>
24104
/* Override any GCC internal prototype to avoid an error.
24105
Use char because int might match the return type of a GCC
24106
builtin and then its argument prototype would still apply. */
24111
/* The GNU C library defines this for functions which it implements
24112
to always fail with ENOSYS. Some functions are actually named
24113
something starting with __ and the normal name is an alias. */
24114
#if defined __stub_connect || defined __stub___connect
24126
rm -f conftest.$ac_objext conftest$ac_exeext
24127
if { (ac_try="$ac_link"
24128
case "(($ac_try" in
24129
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24130
*) ac_try_echo=$ac_try;;
24132
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24133
(eval "$ac_link") 2>conftest.er1
24135
grep -v '^ *+' conftest.er1 >conftest.err
24137
cat conftest.err >&5
24138
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24139
(exit $ac_status); } && {
24140
test -z "$ac_c_werror_flag" ||
24141
test ! -s conftest.err
24142
} && test -s conftest$ac_exeext &&
24143
$as_test_x conftest$ac_exeext; then
24144
ac_cv_func_connect=yes
24146
echo "$as_me: failed program was:" >&5
24147
sed 's/^/| /' conftest.$ac_ext >&5
24149
ac_cv_func_connect=no
24152
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24153
conftest$ac_exeext conftest.$ac_ext
24155
{ echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
24156
echo "${ECHO_T}$ac_cv_func_connect" >&6; }
24158
if test $ac_cv_func_connect = no; then
24159
{ echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
24160
echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
24161
if test "${ac_cv_lib_socket_connect+set}" = set; then
24162
echo $ECHO_N "(cached) $ECHO_C" >&6
24164
ac_check_lib_save_LIBS=$LIBS
24165
LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
24166
cat >conftest.$ac_ext <<_ACEOF
24169
cat confdefs.h >>conftest.$ac_ext
24170
cat >>conftest.$ac_ext <<_ACEOF
24171
/* end confdefs.h. */
24173
/* Override any GCC internal prototype to avoid an error.
24174
Use char because int might match the return type of a GCC
24175
builtin and then its argument prototype would still apply. */
24188
rm -f conftest.$ac_objext conftest$ac_exeext
24189
if { (ac_try="$ac_link"
24190
case "(($ac_try" in
24191
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24192
*) ac_try_echo=$ac_try;;
24194
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24195
(eval "$ac_link") 2>conftest.er1
24197
grep -v '^ *+' conftest.er1 >conftest.err
24199
cat conftest.err >&5
24200
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24201
(exit $ac_status); } && {
24202
test -z "$ac_c_werror_flag" ||
24203
test ! -s conftest.err
24204
} && test -s conftest$ac_exeext &&
24205
$as_test_x conftest$ac_exeext; then
24206
ac_cv_lib_socket_connect=yes
24208
echo "$as_me: failed program was:" >&5
24209
sed 's/^/| /' conftest.$ac_ext >&5
24211
ac_cv_lib_socket_connect=no
24214
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24215
conftest$ac_exeext conftest.$ac_ext
24216
LIBS=$ac_check_lib_save_LIBS
24218
{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
24219
echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
24220
if test $ac_cv_lib_socket_connect = yes; then
24221
X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
24226
{ echo "$as_me:$LINENO: checking for remove" >&5
24227
echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
24228
if test "${ac_cv_func_remove+set}" = set; then
24229
echo $ECHO_N "(cached) $ECHO_C" >&6
24231
cat >conftest.$ac_ext <<_ACEOF
24234
cat confdefs.h >>conftest.$ac_ext
24235
cat >>conftest.$ac_ext <<_ACEOF
24236
/* end confdefs.h. */
24237
/* Define remove to an innocuous variant, in case <limits.h> declares remove.
24238
For example, HP-UX 11i <limits.h> declares gettimeofday. */
24239
#define remove innocuous_remove
24241
/* System header to define __stub macros and hopefully few prototypes,
24242
which can conflict with char remove (); below.
24243
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24244
<limits.h> exists even on freestanding compilers. */
24247
# include <limits.h>
24249
# include <assert.h>
24254
/* Override any GCC internal prototype to avoid an error.
24255
Use char because int might match the return type of a GCC
24256
builtin and then its argument prototype would still apply. */
24261
/* The GNU C library defines this for functions which it implements
24262
to always fail with ENOSYS. Some functions are actually named
24263
something starting with __ and the normal name is an alias. */
24264
#if defined __stub_remove || defined __stub___remove
24276
rm -f conftest.$ac_objext conftest$ac_exeext
24277
if { (ac_try="$ac_link"
24278
case "(($ac_try" in
24279
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24280
*) ac_try_echo=$ac_try;;
24282
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24283
(eval "$ac_link") 2>conftest.er1
24285
grep -v '^ *+' conftest.er1 >conftest.err
24287
cat conftest.err >&5
24288
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24289
(exit $ac_status); } && {
24290
test -z "$ac_c_werror_flag" ||
24291
test ! -s conftest.err
24292
} && test -s conftest$ac_exeext &&
24293
$as_test_x conftest$ac_exeext; then
24294
ac_cv_func_remove=yes
24296
echo "$as_me: failed program was:" >&5
24297
sed 's/^/| /' conftest.$ac_ext >&5
24299
ac_cv_func_remove=no
24302
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24303
conftest$ac_exeext conftest.$ac_ext
24305
{ echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
24306
echo "${ECHO_T}$ac_cv_func_remove" >&6; }
24308
if test $ac_cv_func_remove = no; then
24309
{ echo "$as_me:$LINENO: checking for remove in -lposix" >&5
24310
echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
24311
if test "${ac_cv_lib_posix_remove+set}" = set; then
24312
echo $ECHO_N "(cached) $ECHO_C" >&6
24314
ac_check_lib_save_LIBS=$LIBS
24315
LIBS="-lposix $LIBS"
24316
cat >conftest.$ac_ext <<_ACEOF
24319
cat confdefs.h >>conftest.$ac_ext
24320
cat >>conftest.$ac_ext <<_ACEOF
24321
/* end confdefs.h. */
24323
/* Override any GCC internal prototype to avoid an error.
24324
Use char because int might match the return type of a GCC
24325
builtin and then its argument prototype would still apply. */
24338
rm -f conftest.$ac_objext conftest$ac_exeext
24339
if { (ac_try="$ac_link"
24340
case "(($ac_try" in
24341
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24342
*) ac_try_echo=$ac_try;;
24344
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24345
(eval "$ac_link") 2>conftest.er1
24347
grep -v '^ *+' conftest.er1 >conftest.err
24349
cat conftest.err >&5
24350
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24351
(exit $ac_status); } && {
24352
test -z "$ac_c_werror_flag" ||
24353
test ! -s conftest.err
24354
} && test -s conftest$ac_exeext &&
24355
$as_test_x conftest$ac_exeext; then
24356
ac_cv_lib_posix_remove=yes
24358
echo "$as_me: failed program was:" >&5
24359
sed 's/^/| /' conftest.$ac_ext >&5
24361
ac_cv_lib_posix_remove=no
24364
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24365
conftest$ac_exeext conftest.$ac_ext
24366
LIBS=$ac_check_lib_save_LIBS
24368
{ echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
24369
echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
24370
if test $ac_cv_lib_posix_remove = yes; then
24371
X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
24376
# BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
24377
{ echo "$as_me:$LINENO: checking for shmat" >&5
24378
echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
24379
if test "${ac_cv_func_shmat+set}" = set; then
24380
echo $ECHO_N "(cached) $ECHO_C" >&6
24382
cat >conftest.$ac_ext <<_ACEOF
24385
cat confdefs.h >>conftest.$ac_ext
24386
cat >>conftest.$ac_ext <<_ACEOF
24387
/* end confdefs.h. */
24388
/* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
24389
For example, HP-UX 11i <limits.h> declares gettimeofday. */
24390
#define shmat innocuous_shmat
24392
/* System header to define __stub macros and hopefully few prototypes,
24393
which can conflict with char shmat (); below.
24394
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24395
<limits.h> exists even on freestanding compilers. */
24398
# include <limits.h>
24400
# include <assert.h>
24405
/* Override any GCC internal prototype to avoid an error.
24406
Use char because int might match the return type of a GCC
24407
builtin and then its argument prototype would still apply. */
24412
/* The GNU C library defines this for functions which it implements
24413
to always fail with ENOSYS. Some functions are actually named
24414
something starting with __ and the normal name is an alias. */
24415
#if defined __stub_shmat || defined __stub___shmat
24427
rm -f conftest.$ac_objext conftest$ac_exeext
24428
if { (ac_try="$ac_link"
24429
case "(($ac_try" in
24430
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24431
*) ac_try_echo=$ac_try;;
24433
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24434
(eval "$ac_link") 2>conftest.er1
24436
grep -v '^ *+' conftest.er1 >conftest.err
24438
cat conftest.err >&5
24439
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24440
(exit $ac_status); } && {
24441
test -z "$ac_c_werror_flag" ||
24442
test ! -s conftest.err
24443
} && test -s conftest$ac_exeext &&
24444
$as_test_x conftest$ac_exeext; then
24445
ac_cv_func_shmat=yes
24447
echo "$as_me: failed program was:" >&5
24448
sed 's/^/| /' conftest.$ac_ext >&5
24450
ac_cv_func_shmat=no
24453
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24454
conftest$ac_exeext conftest.$ac_ext
24456
{ echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
24457
echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
24458
if test $ac_cv_func_shmat = yes; then
24461
{ echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
24462
echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
24463
if test "${ac_cv_lib_ipc_shmat+set}" = set; then
24464
echo $ECHO_N "(cached) $ECHO_C" >&6
24466
ac_check_lib_save_LIBS=$LIBS
24468
cat >conftest.$ac_ext <<_ACEOF
24471
cat confdefs.h >>conftest.$ac_ext
24472
cat >>conftest.$ac_ext <<_ACEOF
24473
/* end confdefs.h. */
24475
/* Override any GCC internal prototype to avoid an error.
24476
Use char because int might match the return type of a GCC
24477
builtin and then its argument prototype would still apply. */
24490
rm -f conftest.$ac_objext conftest$ac_exeext
24491
if { (ac_try="$ac_link"
24492
case "(($ac_try" in
24493
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24494
*) ac_try_echo=$ac_try;;
24496
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24497
(eval "$ac_link") 2>conftest.er1
24499
grep -v '^ *+' conftest.er1 >conftest.err
24501
cat conftest.err >&5
24502
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24503
(exit $ac_status); } && {
24504
test -z "$ac_c_werror_flag" ||
24505
test ! -s conftest.err
24506
} && test -s conftest$ac_exeext &&
24507
$as_test_x conftest$ac_exeext; then
24508
ac_cv_lib_ipc_shmat=yes
24510
echo "$as_me: failed program was:" >&5
24511
sed 's/^/| /' conftest.$ac_ext >&5
24513
ac_cv_lib_ipc_shmat=no
24516
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24517
conftest$ac_exeext conftest.$ac_ext
24518
LIBS=$ac_check_lib_save_LIBS
24520
{ echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
24521
echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
24522
if test $ac_cv_lib_ipc_shmat = yes; then
24523
X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
24529
# more headers that need to be explicitly included on darwin
24532
for ac_header in sys/types.h stdint.h
24534
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24535
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24536
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
24537
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24538
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24539
echo $ECHO_N "(cached) $ECHO_C" >&6
24541
ac_res=`eval echo '${'$as_ac_Header'}'`
24542
{ echo "$as_me:$LINENO: result: $ac_res" >&5
24543
echo "${ECHO_T}$ac_res" >&6; }
24545
# Is the header compilable?
24546
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
24547
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
24548
cat >conftest.$ac_ext <<_ACEOF
24551
cat confdefs.h >>conftest.$ac_ext
24552
cat >>conftest.$ac_ext <<_ACEOF
24553
/* end confdefs.h. */
24554
$ac_includes_default
24555
#include <$ac_header>
24557
rm -f conftest.$ac_objext
24558
if { (ac_try="$ac_compile"
24559
case "(($ac_try" in
24560
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24561
*) ac_try_echo=$ac_try;;
24563
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24564
(eval "$ac_compile") 2>conftest.er1
24566
grep -v '^ *+' conftest.er1 >conftest.err
24568
cat conftest.err >&5
24569
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24570
(exit $ac_status); } && {
24571
test -z "$ac_c_werror_flag" ||
24572
test ! -s conftest.err
24573
} && test -s conftest.$ac_objext; then
24574
ac_header_compiler=yes
24576
echo "$as_me: failed program was:" >&5
24577
sed 's/^/| /' conftest.$ac_ext >&5
24579
ac_header_compiler=no
24582
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24583
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24584
echo "${ECHO_T}$ac_header_compiler" >&6; }
24586
# Is the header present?
24587
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
24588
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
24589
cat >conftest.$ac_ext <<_ACEOF
24592
cat confdefs.h >>conftest.$ac_ext
24593
cat >>conftest.$ac_ext <<_ACEOF
24594
/* end confdefs.h. */
24595
#include <$ac_header>
24597
if { (ac_try="$ac_cpp conftest.$ac_ext"
24598
case "(($ac_try" in
24599
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24600
*) ac_try_echo=$ac_try;;
24602
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24603
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24605
grep -v '^ *+' conftest.er1 >conftest.err
24607
cat conftest.err >&5
24608
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24609
(exit $ac_status); } >/dev/null && {
24610
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24611
test ! -s conftest.err
24613
ac_header_preproc=yes
24615
echo "$as_me: failed program was:" >&5
24616
sed 's/^/| /' conftest.$ac_ext >&5
24618
ac_header_preproc=no
24621
rm -f conftest.err conftest.$ac_ext
24622
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24623
echo "${ECHO_T}$ac_header_preproc" >&6; }
24625
# So? What about this header?
24626
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24628
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24629
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24630
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24631
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24632
ac_header_preproc=yes
24635
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24636
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24637
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24638
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24639
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24640
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24641
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
24642
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
24643
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24644
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24645
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24646
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24650
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
24651
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24652
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24653
echo $ECHO_N "(cached) $ECHO_C" >&6
24655
eval "$as_ac_Header=\$ac_header_preproc"
24657
ac_res=`eval echo '${'$as_ac_Header'}'`
24658
{ echo "$as_me:$LINENO: result: $ac_res" >&5
24659
echo "${ECHO_T}$ac_res" >&6; }
24662
if test `eval echo '${'$as_ac_Header'}'` = yes; then
24663
cat >>confdefs.h <<_ACEOF
24664
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24672
# sys/bitypes.h is needed for uint32_t and friends on Tru64
24674
for ac_header in sys/bitypes.h
24676
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24677
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24678
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
24679
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24680
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24681
echo $ECHO_N "(cached) $ECHO_C" >&6
24683
ac_res=`eval echo '${'$as_ac_Header'}'`
24684
{ echo "$as_me:$LINENO: result: $ac_res" >&5
24685
echo "${ECHO_T}$ac_res" >&6; }
24687
# Is the header compilable?
24688
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
24689
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
24690
cat >conftest.$ac_ext <<_ACEOF
24693
cat confdefs.h >>conftest.$ac_ext
24694
cat >>conftest.$ac_ext <<_ACEOF
24695
/* end confdefs.h. */
24696
$ac_includes_default
24697
#include <$ac_header>
24699
rm -f conftest.$ac_objext
24700
if { (ac_try="$ac_compile"
24701
case "(($ac_try" in
24702
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24703
*) ac_try_echo=$ac_try;;
24705
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24706
(eval "$ac_compile") 2>conftest.er1
24708
grep -v '^ *+' conftest.er1 >conftest.err
24710
cat conftest.err >&5
24711
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24712
(exit $ac_status); } && {
24713
test -z "$ac_c_werror_flag" ||
24714
test ! -s conftest.err
24715
} && test -s conftest.$ac_objext; then
24716
ac_header_compiler=yes
24718
echo "$as_me: failed program was:" >&5
24719
sed 's/^/| /' conftest.$ac_ext >&5
24721
ac_header_compiler=no
24724
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24725
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24726
echo "${ECHO_T}$ac_header_compiler" >&6; }
24728
# Is the header present?
24729
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
24730
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
24731
cat >conftest.$ac_ext <<_ACEOF
24734
cat confdefs.h >>conftest.$ac_ext
24735
cat >>conftest.$ac_ext <<_ACEOF
24736
/* end confdefs.h. */
24737
#include <$ac_header>
24739
if { (ac_try="$ac_cpp conftest.$ac_ext"
24740
case "(($ac_try" in
24741
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24742
*) ac_try_echo=$ac_try;;
24744
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24745
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24747
grep -v '^ *+' conftest.er1 >conftest.err
24749
cat conftest.err >&5
24750
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24751
(exit $ac_status); } >/dev/null && {
24752
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24753
test ! -s conftest.err
24755
ac_header_preproc=yes
24757
echo "$as_me: failed program was:" >&5
24758
sed 's/^/| /' conftest.$ac_ext >&5
24760
ac_header_preproc=no
24763
rm -f conftest.err conftest.$ac_ext
24764
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24765
echo "${ECHO_T}$ac_header_preproc" >&6; }
24767
# So? What about this header?
24768
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24770
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24771
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24772
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24773
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24774
ac_header_preproc=yes
24777
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24778
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24779
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24780
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24781
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24782
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24783
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
24784
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
24785
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24786
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24787
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24788
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24792
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
24793
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24794
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24795
echo $ECHO_N "(cached) $ECHO_C" >&6
24797
eval "$as_ac_Header=\$ac_header_preproc"
24799
ac_res=`eval echo '${'$as_ac_Header'}'`
24800
{ echo "$as_me:$LINENO: result: $ac_res" >&5
24801
echo "${ECHO_T}$ac_res" >&6; }
24804
if test `eval echo '${'$as_ac_Header'}'` = yes; then
24805
cat >>confdefs.h <<_ACEOF
24806
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24814
# darwin requires a poll emulation library
24815
{ echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
24816
echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
24817
if test "${ac_cv_lib_poll_poll+set}" = set; then
24818
echo $ECHO_N "(cached) $ECHO_C" >&6
24820
ac_check_lib_save_LIBS=$LIBS
24821
LIBS="-lpoll $LIBS"
24822
cat >conftest.$ac_ext <<_ACEOF
24825
cat confdefs.h >>conftest.$ac_ext
24826
cat >>conftest.$ac_ext <<_ACEOF
24827
/* end confdefs.h. */
24829
/* Override any GCC internal prototype to avoid an error.
24830
Use char because int might match the return type of a GCC
24831
builtin and then its argument prototype would still apply. */
24844
rm -f conftest.$ac_objext conftest$ac_exeext
24845
if { (ac_try="$ac_link"
24846
case "(($ac_try" in
24847
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24848
*) ac_try_echo=$ac_try;;
24850
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24851
(eval "$ac_link") 2>conftest.er1
24853
grep -v '^ *+' conftest.er1 >conftest.err
24855
cat conftest.err >&5
24856
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24857
(exit $ac_status); } && {
24858
test -z "$ac_c_werror_flag" ||
24859
test ! -s conftest.err
24860
} && test -s conftest$ac_exeext &&
24861
$as_test_x conftest$ac_exeext; then
24862
ac_cv_lib_poll_poll=yes
24864
echo "$as_me: failed program was:" >&5
24865
sed 's/^/| /' conftest.$ac_ext >&5
24867
ac_cv_lib_poll_poll=no
24870
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24871
conftest$ac_exeext conftest.$ac_ext
24872
LIBS=$ac_check_lib_save_LIBS
24874
{ echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
24875
echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
24876
if test $ac_cv_lib_poll_poll = yes; then
24881
# for some image handling on Mac OS X
24883
for ac_header in Carbon/Carbon.h
24885
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24886
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24887
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
24888
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24889
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24890
echo $ECHO_N "(cached) $ECHO_C" >&6
24892
ac_res=`eval echo '${'$as_ac_Header'}'`
24893
{ echo "$as_me:$LINENO: result: $ac_res" >&5
24894
echo "${ECHO_T}$ac_res" >&6; }
24896
# Is the header compilable?
24897
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
24898
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
24899
cat >conftest.$ac_ext <<_ACEOF
24902
cat confdefs.h >>conftest.$ac_ext
24903
cat >>conftest.$ac_ext <<_ACEOF
24904
/* end confdefs.h. */
24905
$ac_includes_default
24906
#include <$ac_header>
24908
rm -f conftest.$ac_objext
24909
if { (ac_try="$ac_compile"
24910
case "(($ac_try" in
24911
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24912
*) ac_try_echo=$ac_try;;
24914
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24915
(eval "$ac_compile") 2>conftest.er1
24917
grep -v '^ *+' conftest.er1 >conftest.err
24919
cat conftest.err >&5
24920
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24921
(exit $ac_status); } && {
24922
test -z "$ac_c_werror_flag" ||
24923
test ! -s conftest.err
24924
} && test -s conftest.$ac_objext; then
24925
ac_header_compiler=yes
24927
echo "$as_me: failed program was:" >&5
24928
sed 's/^/| /' conftest.$ac_ext >&5
24930
ac_header_compiler=no
24933
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24934
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24935
echo "${ECHO_T}$ac_header_compiler" >&6; }
24937
# Is the header present?
24938
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
24939
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
24940
cat >conftest.$ac_ext <<_ACEOF
24943
cat confdefs.h >>conftest.$ac_ext
24944
cat >>conftest.$ac_ext <<_ACEOF
24945
/* end confdefs.h. */
24946
#include <$ac_header>
24948
if { (ac_try="$ac_cpp conftest.$ac_ext"
24949
case "(($ac_try" in
24950
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24951
*) ac_try_echo=$ac_try;;
24953
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24954
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24956
grep -v '^ *+' conftest.er1 >conftest.err
24958
cat conftest.err >&5
24959
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24960
(exit $ac_status); } >/dev/null && {
24961
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24962
test ! -s conftest.err
24964
ac_header_preproc=yes
24966
echo "$as_me: failed program was:" >&5
24967
sed 's/^/| /' conftest.$ac_ext >&5
24969
ac_header_preproc=no
24972
rm -f conftest.err conftest.$ac_ext
24973
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24974
echo "${ECHO_T}$ac_header_preproc" >&6; }
24976
# So? What about this header?
24977
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24979
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24980
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24981
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24982
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24983
ac_header_preproc=yes
24986
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24987
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24988
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24989
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24990
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24991
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24992
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
24993
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
24994
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24995
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24996
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24997
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
25001
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
25002
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
25003
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25004
echo $ECHO_N "(cached) $ECHO_C" >&6
25006
eval "$as_ac_Header=\$ac_header_preproc"
25008
ac_res=`eval echo '${'$as_ac_Header'}'`
25009
{ echo "$as_me:$LINENO: result: $ac_res" >&5
25010
echo "${ECHO_T}$ac_res" >&6; }
25013
if test `eval echo '${'$as_ac_Header'}'` = yes; then
25014
cat >>confdefs.h <<_ACEOF
25015
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25023
# CoreAudio framework
25024
if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
25025
{ echo "$as_me:$LINENO: checking for CoreAudio/CoreAudio.h" >&5
25026
echo $ECHO_N "checking for CoreAudio/CoreAudio.h... $ECHO_C" >&6; }
25027
if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
25028
echo $ECHO_N "(cached) $ECHO_C" >&6
25030
{ echo "$as_me:$LINENO: result: $ac_cv_header_CoreAudio_CoreAudio_h" >&5
25031
echo "${ECHO_T}$ac_cv_header_CoreAudio_CoreAudio_h" >&6; }
25033
# Is the header compilable?
25034
{ echo "$as_me:$LINENO: checking CoreAudio/CoreAudio.h usability" >&5
25035
echo $ECHO_N "checking CoreAudio/CoreAudio.h usability... $ECHO_C" >&6; }
25036
cat >conftest.$ac_ext <<_ACEOF
25039
cat confdefs.h >>conftest.$ac_ext
25040
cat >>conftest.$ac_ext <<_ACEOF
25041
/* end confdefs.h. */
25042
$ac_includes_default
25043
#include <CoreAudio/CoreAudio.h>
25045
rm -f conftest.$ac_objext
25046
if { (ac_try="$ac_compile"
25047
case "(($ac_try" in
25048
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25049
*) ac_try_echo=$ac_try;;
25051
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25052
(eval "$ac_compile") 2>conftest.er1
25054
grep -v '^ *+' conftest.er1 >conftest.err
25056
cat conftest.err >&5
25057
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25058
(exit $ac_status); } && {
25059
test -z "$ac_c_werror_flag" ||
25060
test ! -s conftest.err
25061
} && test -s conftest.$ac_objext; then
25062
ac_header_compiler=yes
25064
echo "$as_me: failed program was:" >&5
25065
sed 's/^/| /' conftest.$ac_ext >&5
25067
ac_header_compiler=no
25070
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25071
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25072
echo "${ECHO_T}$ac_header_compiler" >&6; }
25074
# Is the header present?
25075
{ echo "$as_me:$LINENO: checking CoreAudio/CoreAudio.h presence" >&5
25076
echo $ECHO_N "checking CoreAudio/CoreAudio.h presence... $ECHO_C" >&6; }
25077
cat >conftest.$ac_ext <<_ACEOF
25080
cat confdefs.h >>conftest.$ac_ext
25081
cat >>conftest.$ac_ext <<_ACEOF
25082
/* end confdefs.h. */
25083
#include <CoreAudio/CoreAudio.h>
25085
if { (ac_try="$ac_cpp conftest.$ac_ext"
25086
case "(($ac_try" in
25087
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25088
*) ac_try_echo=$ac_try;;
25090
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25091
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25093
grep -v '^ *+' conftest.er1 >conftest.err
25095
cat conftest.err >&5
25096
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25097
(exit $ac_status); } >/dev/null && {
25098
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
25099
test ! -s conftest.err
25101
ac_header_preproc=yes
25103
echo "$as_me: failed program was:" >&5
25104
sed 's/^/| /' conftest.$ac_ext >&5
25106
ac_header_preproc=no
25109
rm -f conftest.err conftest.$ac_ext
25110
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25111
echo "${ECHO_T}$ac_header_preproc" >&6; }
25113
# So? What about this header?
25114
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25116
{ echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: accepted by the compiler, rejected by the preprocessor!" >&5
25117
echo "$as_me: WARNING: CoreAudio/CoreAudio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25118
{ echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: proceeding with the compiler's result" >&5
25119
echo "$as_me: WARNING: CoreAudio/CoreAudio.h: proceeding with the compiler's result" >&2;}
25120
ac_header_preproc=yes
25123
{ echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: present but cannot be compiled" >&5
25124
echo "$as_me: WARNING: CoreAudio/CoreAudio.h: present but cannot be compiled" >&2;}
25125
{ echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: check for missing prerequisite headers?" >&5
25126
echo "$as_me: WARNING: CoreAudio/CoreAudio.h: check for missing prerequisite headers?" >&2;}
25127
{ echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: see the Autoconf documentation" >&5
25128
echo "$as_me: WARNING: CoreAudio/CoreAudio.h: see the Autoconf documentation" >&2;}
25129
{ echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: section \"Present But Cannot Be Compiled\"" >&5
25130
echo "$as_me: WARNING: CoreAudio/CoreAudio.h: section \"Present But Cannot Be Compiled\"" >&2;}
25131
{ echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: proceeding with the preprocessor's result" >&5
25132
echo "$as_me: WARNING: CoreAudio/CoreAudio.h: proceeding with the preprocessor's result" >&2;}
25133
{ echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: in the future, the compiler will take precedence" >&5
25134
echo "$as_me: WARNING: CoreAudio/CoreAudio.h: in the future, the compiler will take precedence" >&2;}
25138
{ echo "$as_me:$LINENO: checking for CoreAudio/CoreAudio.h" >&5
25139
echo $ECHO_N "checking for CoreAudio/CoreAudio.h... $ECHO_C" >&6; }
25140
if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
25141
echo $ECHO_N "(cached) $ECHO_C" >&6
25143
ac_cv_header_CoreAudio_CoreAudio_h=$ac_header_preproc
25145
{ echo "$as_me:$LINENO: result: $ac_cv_header_CoreAudio_CoreAudio_h" >&5
25146
echo "${ECHO_T}$ac_cv_header_CoreAudio_CoreAudio_h" >&6; }
25149
if test $ac_cv_header_CoreAudio_CoreAudio_h = yes; then
25152
cat >>confdefs.h <<\_ACEOF
25153
#define HAVE_COREAUDIO 1
25156
FRAMEWORK_COREAUDIO="-Wl,-framework,CoreAudio"
25163
{ echo "$as_me:$LINENO: checking if res_init needs -lresolv" >&5
25164
echo $ECHO_N "checking if res_init needs -lresolv... $ECHO_C" >&6; }
25165
kde_libs_safe="$LIBS"
25166
LIBS="$LIBS $X_EXTRA_LIBS -lresolv"
25167
cat >conftest.$ac_ext <<_ACEOF
25170
cat confdefs.h >>conftest.$ac_ext
25171
cat >>conftest.$ac_ext <<_ACEOF
25172
/* end confdefs.h. */
25174
#include <sys/types.h>
25175
#include <netinet/in.h>
25176
#include <arpa/nameser.h>
25177
#include <resolv.h>
25189
rm -f conftest.$ac_objext conftest$ac_exeext
25190
if { (ac_try="$ac_link"
25191
case "(($ac_try" in
25192
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25193
*) ac_try_echo=$ac_try;;
25195
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25196
(eval "$ac_link") 2>conftest.er1
25198
grep -v '^ *+' conftest.er1 >conftest.err
25200
cat conftest.err >&5
25201
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25202
(exit $ac_status); } && {
25203
test -z "$ac_c_werror_flag" ||
25204
test ! -s conftest.err
25205
} && test -s conftest$ac_exeext &&
25206
$as_test_x conftest$ac_exeext; then
25208
LIBRESOLV="-lresolv"
25209
{ echo "$as_me:$LINENO: result: yes" >&5
25210
echo "${ECHO_T}yes" >&6; }
25212
cat >>confdefs.h <<\_ACEOF
25213
#define HAVE_RES_INIT 1
25218
echo "$as_me: failed program was:" >&5
25219
sed 's/^/| /' conftest.$ac_ext >&5
25221
{ echo "$as_me:$LINENO: result: no" >&5
25222
echo "${ECHO_T}no" >&6; }
25226
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25227
conftest$ac_exeext conftest.$ac_ext
25228
LIBS=$kde_libs_safe
25232
{ echo "$as_me:$LINENO: checking for res_init" >&5
25233
echo $ECHO_N "checking for res_init... $ECHO_C" >&6; }
25234
if test "${kde_cv_func_res_init+set}" = set; then
25235
echo $ECHO_N "(cached) $ECHO_C" >&6
25240
ac_cpp='$CXXCPP $CPPFLAGS'
25241
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25242
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25243
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25245
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
25248
save_CXXFLAGS="$CXXFLAGS"
25249
kde_safe_LIBS="$LIBS"
25250
LIBS="$LIBS $X_EXTRA_LIBS"
25251
if test "$GXX" = "yes"; then
25252
CXXFLAGS="$CXXFLAGS -pedantic-errors"
25254
cat >conftest.$ac_ext <<_ACEOF
25257
cat confdefs.h >>conftest.$ac_ext
25258
cat >>conftest.$ac_ext <<_ACEOF
25259
/* end confdefs.h. */
25262
#include <sys/types.h>
25263
#include <netinet/in.h>
25264
#include <arpa/nameser.h>
25265
#include <resolv.h>
25278
rm -f conftest.$ac_objext
25279
if { (ac_try="$ac_compile"
25280
case "(($ac_try" in
25281
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25282
*) ac_try_echo=$ac_try;;
25284
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25285
(eval "$ac_compile") 2>conftest.er1
25287
grep -v '^ *+' conftest.er1 >conftest.err
25289
cat conftest.err >&5
25290
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25291
(exit $ac_status); } && {
25292
test -z "$ac_cxx_werror_flag" ||
25293
test ! -s conftest.err
25294
} && test -s conftest.$ac_objext; then
25295
kde_cv_func_res_init=yes
25297
echo "$as_me: failed program was:" >&5
25298
sed 's/^/| /' conftest.$ac_ext >&5
25300
kde_cv_func_res_init=no
25303
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25304
CXXFLAGS="$save_CXXFLAGS"
25305
LIBS="$kde_safe_LIBS"
25307
ac_cpp='$CPP $CPPFLAGS'
25308
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25309
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25310
ac_compiler_gnu=$ac_cv_c_compiler_gnu
25316
{ echo "$as_me:$LINENO: result: $kde_cv_func_res_init" >&5
25317
echo "${ECHO_T}$kde_cv_func_res_init" >&6; }
25319
{ echo "$as_me:$LINENO: checking if res_init needs custom prototype" >&5
25320
echo $ECHO_N "checking if res_init needs custom prototype... $ECHO_C" >&6; }
25321
if test "${kde_cv_proto_res_init+set}" = set; then
25322
echo $ECHO_N "(cached) $ECHO_C" >&6
25325
if test "x$kde_cv_func_res_init" = xyes; then
25326
kde_cv_proto_res_init=no
25329
setenv|unsetenv|usleep|random|srandom|seteuid|mkstemps|mkstemp|revoke|vsnprintf|strlcpy|strlcat)
25330
kde_cv_proto_res_init="yes - in libkdefakes"
25333
kde_cv_proto_res_init=unknown
25338
if test "x$kde_cv_proto_res_init" = xunknown; then
25342
ac_cpp='$CXXCPP $CPPFLAGS'
25343
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25344
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25345
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25347
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
25350
kde_safe_libs=$LIBS
25351
LIBS="$LIBS $X_EXTRA_LIBS"
25352
cat >conftest.$ac_ext <<_ACEOF
25355
cat confdefs.h >>conftest.$ac_ext
25356
cat >>conftest.$ac_ext <<_ACEOF
25357
/* end confdefs.h. */
25360
#include <sys/types.h>
25361
#include <netinet/in.h>
25362
#include <arpa/nameser.h>
25363
#include <resolv.h>
25366
extern "C" int res_init(void);
25378
rm -f conftest.$ac_objext conftest$ac_exeext
25379
if { (ac_try="$ac_link"
25380
case "(($ac_try" in
25381
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25382
*) ac_try_echo=$ac_try;;
25384
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25385
(eval "$ac_link") 2>conftest.er1
25387
grep -v '^ *+' conftest.er1 >conftest.err
25389
cat conftest.err >&5
25390
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25391
(exit $ac_status); } && {
25392
test -z "$ac_cxx_werror_flag" ||
25393
test ! -s conftest.err
25394
} && test -s conftest$ac_exeext &&
25395
$as_test_x conftest$ac_exeext; then
25396
kde_cv_func_res_init=yes
25397
kde_cv_proto_res_init=yes
25399
echo "$as_me: failed program was:" >&5
25400
sed 's/^/| /' conftest.$ac_ext >&5
25402
kde_cv_proto_res_init="res_init unavailable"
25406
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25407
conftest$ac_exeext conftest.$ac_ext
25408
LIBS=$kde_safe_libs
25410
ac_cpp='$CPP $CPPFLAGS'
25411
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25412
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25413
ac_compiler_gnu=$ac_cv_c_compiler_gnu
25419
{ echo "$as_me:$LINENO: result: $kde_cv_proto_res_init" >&5
25420
echo "${ECHO_T}$kde_cv_proto_res_init" >&6; }
25422
if test "x$kde_cv_func_res_init" = xyes; then
25424
cat >>confdefs.h <<\_ACEOF
25425
#define HAVE_RES_INIT 1
25430
if test "x$kde_cv_proto_res_init" = xno; then
25432
cat >>confdefs.h <<\_ACEOF
25433
#define HAVE_RES_INIT_PROTO 1
25444
LIBSOCKET="$X_EXTRA_LIBS"
25447
{ echo "$as_me:$LINENO: checking for killpg in -lucb" >&5
25448
echo $ECHO_N "checking for killpg in -lucb... $ECHO_C" >&6; }
25449
if test "${ac_cv_lib_ucb_killpg+set}" = set; then
25450
echo $ECHO_N "(cached) $ECHO_C" >&6
25452
ac_check_lib_save_LIBS=$LIBS
25454
cat >conftest.$ac_ext <<_ACEOF
25457
cat confdefs.h >>conftest.$ac_ext
25458
cat >>conftest.$ac_ext <<_ACEOF
25459
/* end confdefs.h. */
25461
/* Override any GCC internal prototype to avoid an error.
25462
Use char because int might match the return type of a GCC
25463
builtin and then its argument prototype would still apply. */
25476
rm -f conftest.$ac_objext conftest$ac_exeext
25477
if { (ac_try="$ac_link"
25478
case "(($ac_try" in
25479
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25480
*) ac_try_echo=$ac_try;;
25482
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25483
(eval "$ac_link") 2>conftest.er1
25485
grep -v '^ *+' conftest.er1 >conftest.err
25487
cat conftest.err >&5
25488
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25489
(exit $ac_status); } && {
25490
test -z "$ac_c_werror_flag" ||
25491
test ! -s conftest.err
25492
} && test -s conftest$ac_exeext &&
25493
$as_test_x conftest$ac_exeext; then
25494
ac_cv_lib_ucb_killpg=yes
25496
echo "$as_me: failed program was:" >&5
25497
sed 's/^/| /' conftest.$ac_ext >&5
25499
ac_cv_lib_ucb_killpg=no
25502
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25503
conftest$ac_exeext conftest.$ac_ext
25504
LIBS=$ac_check_lib_save_LIBS
25506
{ echo "$as_me:$LINENO: result: $ac_cv_lib_ucb_killpg" >&5
25507
echo "${ECHO_T}$ac_cv_lib_ucb_killpg" >&6; }
25508
if test $ac_cv_lib_ucb_killpg = yes; then
25513
case $host in *-*-lynxos* )
25514
{ echo "$as_me:$LINENO: checking LynxOS header file wrappers" >&5
25515
echo $ECHO_N "checking LynxOS header file wrappers... $ECHO_C" >&6; }
25516
CFLAGS="$CFLAGS -D__NO_INCLUDE_WARN__"
25517
{ echo "$as_me:$LINENO: result: disabled" >&5
25518
echo "${ECHO_T}disabled" >&6; }
25519
{ echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
25520
echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
25521
if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
25522
echo $ECHO_N "(cached) $ECHO_C" >&6
25524
ac_check_lib_save_LIBS=$LIBS
25526
cat >conftest.$ac_ext <<_ACEOF
25529
cat confdefs.h >>conftest.$ac_ext
25530
cat >>conftest.$ac_ext <<_ACEOF
25531
/* end confdefs.h. */
25533
/* Override any GCC internal prototype to avoid an error.
25534
Use char because int might match the return type of a GCC
25535
builtin and then its argument prototype would still apply. */
25539
char gethostbyname ();
25543
return gethostbyname ();
25548
rm -f conftest.$ac_objext conftest$ac_exeext
25549
if { (ac_try="$ac_link"
25550
case "(($ac_try" in
25551
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25552
*) ac_try_echo=$ac_try;;
25554
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25555
(eval "$ac_link") 2>conftest.er1
25557
grep -v '^ *+' conftest.er1 >conftest.err
25559
cat conftest.err >&5
25560
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25561
(exit $ac_status); } && {
25562
test -z "$ac_c_werror_flag" ||
25563
test ! -s conftest.err
25564
} && test -s conftest$ac_exeext &&
25565
$as_test_x conftest$ac_exeext; then
25566
ac_cv_lib_bsd_gethostbyname=yes
25568
echo "$as_me: failed program was:" >&5
25569
sed 's/^/| /' conftest.$ac_ext >&5
25571
ac_cv_lib_bsd_gethostbyname=no
25574
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25575
conftest$ac_exeext conftest.$ac_ext
25576
LIBS=$ac_check_lib_save_LIBS
25578
{ echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
25579
echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
25580
if test $ac_cv_lib_bsd_gethostbyname = yes; then
25586
{ echo "$as_me:$LINENO: checking for int" >&5
25587
echo $ECHO_N "checking for int... $ECHO_C" >&6; }
25588
if test "${ac_cv_type_int+set}" = set; then
25589
echo $ECHO_N "(cached) $ECHO_C" >&6
25591
cat >conftest.$ac_ext <<_ACEOF
25594
cat confdefs.h >>conftest.$ac_ext
25595
cat >>conftest.$ac_ext <<_ACEOF
25596
/* end confdefs.h. */
25597
$ac_includes_default
25598
typedef int ac__type_new_;
25602
if ((ac__type_new_ *) 0)
25604
if (sizeof (ac__type_new_))
25610
rm -f conftest.$ac_objext
25611
if { (ac_try="$ac_compile"
25612
case "(($ac_try" in
25613
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25614
*) ac_try_echo=$ac_try;;
25616
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25617
(eval "$ac_compile") 2>conftest.er1
25619
grep -v '^ *+' conftest.er1 >conftest.err
25621
cat conftest.err >&5
25622
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25623
(exit $ac_status); } && {
25624
test -z "$ac_c_werror_flag" ||
25625
test ! -s conftest.err
25626
} && test -s conftest.$ac_objext; then
25629
echo "$as_me: failed program was:" >&5
25630
sed 's/^/| /' conftest.$ac_ext >&5
25635
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25637
{ echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
25638
echo "${ECHO_T}$ac_cv_type_int" >&6; }
25640
# The cast to long int works around a bug in the HP C Compiler
25641
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25642
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25643
# This bug is HP SR number 8606223364.
25644
{ echo "$as_me:$LINENO: checking size of int" >&5
25645
echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
25646
if test "${ac_cv_sizeof_int+set}" = set; then
25647
echo $ECHO_N "(cached) $ECHO_C" >&6
25649
if test "$cross_compiling" = yes; then
25650
# Depending upon the size, compute the lo and hi bounds.
25651
cat >conftest.$ac_ext <<_ACEOF
25654
cat confdefs.h >>conftest.$ac_ext
25655
cat >>conftest.$ac_ext <<_ACEOF
25656
/* end confdefs.h. */
25657
$ac_includes_default
25658
typedef int ac__type_sizeof_;
25662
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
25669
rm -f conftest.$ac_objext
25670
if { (ac_try="$ac_compile"
25671
case "(($ac_try" in
25672
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25673
*) ac_try_echo=$ac_try;;
25675
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25676
(eval "$ac_compile") 2>conftest.er1
25678
grep -v '^ *+' conftest.er1 >conftest.err
25680
cat conftest.err >&5
25681
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25682
(exit $ac_status); } && {
25683
test -z "$ac_c_werror_flag" ||
25684
test ! -s conftest.err
25685
} && test -s conftest.$ac_objext; then
25688
cat >conftest.$ac_ext <<_ACEOF
25691
cat confdefs.h >>conftest.$ac_ext
25692
cat >>conftest.$ac_ext <<_ACEOF
25693
/* end confdefs.h. */
25694
$ac_includes_default
25695
typedef int ac__type_sizeof_;
25699
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25706
rm -f conftest.$ac_objext
25707
if { (ac_try="$ac_compile"
25708
case "(($ac_try" in
25709
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25710
*) ac_try_echo=$ac_try;;
25712
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25713
(eval "$ac_compile") 2>conftest.er1
25715
grep -v '^ *+' conftest.er1 >conftest.err
25717
cat conftest.err >&5
25718
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25719
(exit $ac_status); } && {
25720
test -z "$ac_c_werror_flag" ||
25721
test ! -s conftest.err
25722
} && test -s conftest.$ac_objext; then
25723
ac_hi=$ac_mid; break
25725
echo "$as_me: failed program was:" >&5
25726
sed 's/^/| /' conftest.$ac_ext >&5
25728
ac_lo=`expr $ac_mid + 1`
25729
if test $ac_lo -le $ac_mid; then
25733
ac_mid=`expr 2 '*' $ac_mid + 1`
25736
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25739
echo "$as_me: failed program was:" >&5
25740
sed 's/^/| /' conftest.$ac_ext >&5
25742
cat >conftest.$ac_ext <<_ACEOF
25745
cat confdefs.h >>conftest.$ac_ext
25746
cat >>conftest.$ac_ext <<_ACEOF
25747
/* end confdefs.h. */
25748
$ac_includes_default
25749
typedef int ac__type_sizeof_;
25753
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
25760
rm -f conftest.$ac_objext
25761
if { (ac_try="$ac_compile"
25762
case "(($ac_try" in
25763
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25764
*) ac_try_echo=$ac_try;;
25766
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25767
(eval "$ac_compile") 2>conftest.er1
25769
grep -v '^ *+' conftest.er1 >conftest.err
25771
cat conftest.err >&5
25772
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25773
(exit $ac_status); } && {
25774
test -z "$ac_c_werror_flag" ||
25775
test ! -s conftest.err
25776
} && test -s conftest.$ac_objext; then
25779
cat >conftest.$ac_ext <<_ACEOF
25782
cat confdefs.h >>conftest.$ac_ext
25783
cat >>conftest.$ac_ext <<_ACEOF
25784
/* end confdefs.h. */
25785
$ac_includes_default
25786
typedef int ac__type_sizeof_;
25790
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
25797
rm -f conftest.$ac_objext
25798
if { (ac_try="$ac_compile"
25799
case "(($ac_try" in
25800
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25801
*) ac_try_echo=$ac_try;;
25803
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25804
(eval "$ac_compile") 2>conftest.er1
25806
grep -v '^ *+' conftest.er1 >conftest.err
25808
cat conftest.err >&5
25809
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25810
(exit $ac_status); } && {
25811
test -z "$ac_c_werror_flag" ||
25812
test ! -s conftest.err
25813
} && test -s conftest.$ac_objext; then
25814
ac_lo=$ac_mid; break
25816
echo "$as_me: failed program was:" >&5
25817
sed 's/^/| /' conftest.$ac_ext >&5
25819
ac_hi=`expr '(' $ac_mid ')' - 1`
25820
if test $ac_mid -le $ac_hi; then
25824
ac_mid=`expr 2 '*' $ac_mid`
25827
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25830
echo "$as_me: failed program was:" >&5
25831
sed 's/^/| /' conftest.$ac_ext >&5
25836
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25839
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25840
# Binary search between lo and hi bounds.
25841
while test "x$ac_lo" != "x$ac_hi"; do
25842
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25843
cat >conftest.$ac_ext <<_ACEOF
25846
cat confdefs.h >>conftest.$ac_ext
25847
cat >>conftest.$ac_ext <<_ACEOF
25848
/* end confdefs.h. */
25849
$ac_includes_default
25850
typedef int ac__type_sizeof_;
25854
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25861
rm -f conftest.$ac_objext
25862
if { (ac_try="$ac_compile"
25863
case "(($ac_try" in
25864
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25865
*) ac_try_echo=$ac_try;;
25867
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25868
(eval "$ac_compile") 2>conftest.er1
25870
grep -v '^ *+' conftest.er1 >conftest.err
25872
cat conftest.err >&5
25873
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25874
(exit $ac_status); } && {
25875
test -z "$ac_c_werror_flag" ||
25876
test ! -s conftest.err
25877
} && test -s conftest.$ac_objext; then
25880
echo "$as_me: failed program was:" >&5
25881
sed 's/^/| /' conftest.$ac_ext >&5
25883
ac_lo=`expr '(' $ac_mid ')' + 1`
25886
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25889
?*) ac_cv_sizeof_int=$ac_lo;;
25890
'') if test "$ac_cv_type_int" = yes; then
25891
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
25892
See \`config.log' for more details." >&5
25893
echo "$as_me: error: cannot compute sizeof (int)
25894
See \`config.log' for more details." >&2;}
25895
{ (exit 77); exit 77; }; }
25901
cat >conftest.$ac_ext <<_ACEOF
25904
cat confdefs.h >>conftest.$ac_ext
25905
cat >>conftest.$ac_ext <<_ACEOF
25906
/* end confdefs.h. */
25907
$ac_includes_default
25908
typedef int ac__type_sizeof_;
25909
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
25910
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25912
#include <stdlib.h>
25917
FILE *f = fopen ("conftest.val", "w");
25920
if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25922
long int i = longval ();
25923
if (i != ((long int) (sizeof (ac__type_sizeof_))))
25925
fprintf (f, "%ld\n", i);
25929
unsigned long int i = ulongval ();
25930
if (i != ((long int) (sizeof (ac__type_sizeof_))))
25932
fprintf (f, "%lu\n", i);
25934
return ferror (f) || fclose (f) != 0;
25940
rm -f conftest$ac_exeext
25941
if { (ac_try="$ac_link"
25942
case "(($ac_try" in
25943
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25944
*) ac_try_echo=$ac_try;;
25946
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25947
(eval "$ac_link") 2>&5
25949
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25950
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25951
{ (case "(($ac_try" in
25952
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25953
*) ac_try_echo=$ac_try;;
25955
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25956
(eval "$ac_try") 2>&5
25958
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25959
(exit $ac_status); }; }; then
25960
ac_cv_sizeof_int=`cat conftest.val`
25962
echo "$as_me: program exited with status $ac_status" >&5
25963
echo "$as_me: failed program was:" >&5
25964
sed 's/^/| /' conftest.$ac_ext >&5
25966
( exit $ac_status )
25967
if test "$ac_cv_type_int" = yes; then
25968
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
25969
See \`config.log' for more details." >&5
25970
echo "$as_me: error: cannot compute sizeof (int)
25971
See \`config.log' for more details." >&2;}
25972
{ (exit 77); exit 77; }; }
25977
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25981
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
25982
echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
25986
cat >>confdefs.h <<_ACEOF
25987
#define SIZEOF_INT $ac_cv_sizeof_int
25990
{ echo "$as_me:$LINENO: checking for short" >&5
25991
echo $ECHO_N "checking for short... $ECHO_C" >&6; }
25992
if test "${ac_cv_type_short+set}" = set; then
25993
echo $ECHO_N "(cached) $ECHO_C" >&6
25995
cat >conftest.$ac_ext <<_ACEOF
25998
cat confdefs.h >>conftest.$ac_ext
25999
cat >>conftest.$ac_ext <<_ACEOF
26000
/* end confdefs.h. */
26001
$ac_includes_default
26002
typedef short ac__type_new_;
26006
if ((ac__type_new_ *) 0)
26008
if (sizeof (ac__type_new_))
26014
rm -f conftest.$ac_objext
26015
if { (ac_try="$ac_compile"
26016
case "(($ac_try" in
26017
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26018
*) ac_try_echo=$ac_try;;
26020
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26021
(eval "$ac_compile") 2>conftest.er1
26023
grep -v '^ *+' conftest.er1 >conftest.err
26025
cat conftest.err >&5
26026
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26027
(exit $ac_status); } && {
26028
test -z "$ac_c_werror_flag" ||
26029
test ! -s conftest.err
26030
} && test -s conftest.$ac_objext; then
26031
ac_cv_type_short=yes
26033
echo "$as_me: failed program was:" >&5
26034
sed 's/^/| /' conftest.$ac_ext >&5
26036
ac_cv_type_short=no
26039
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26041
{ echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
26042
echo "${ECHO_T}$ac_cv_type_short" >&6; }
26044
# The cast to long int works around a bug in the HP C Compiler
26045
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26046
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26047
# This bug is HP SR number 8606223364.
26048
{ echo "$as_me:$LINENO: checking size of short" >&5
26049
echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
26050
if test "${ac_cv_sizeof_short+set}" = set; then
26051
echo $ECHO_N "(cached) $ECHO_C" >&6
26053
if test "$cross_compiling" = yes; then
26054
# Depending upon the size, compute the lo and hi bounds.
26055
cat >conftest.$ac_ext <<_ACEOF
26058
cat confdefs.h >>conftest.$ac_ext
26059
cat >>conftest.$ac_ext <<_ACEOF
26060
/* end confdefs.h. */
26061
$ac_includes_default
26062
typedef short ac__type_sizeof_;
26066
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
26073
rm -f conftest.$ac_objext
26074
if { (ac_try="$ac_compile"
26075
case "(($ac_try" in
26076
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26077
*) ac_try_echo=$ac_try;;
26079
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26080
(eval "$ac_compile") 2>conftest.er1
26082
grep -v '^ *+' conftest.er1 >conftest.err
26084
cat conftest.err >&5
26085
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26086
(exit $ac_status); } && {
26087
test -z "$ac_c_werror_flag" ||
26088
test ! -s conftest.err
26089
} && test -s conftest.$ac_objext; then
26092
cat >conftest.$ac_ext <<_ACEOF
26095
cat confdefs.h >>conftest.$ac_ext
26096
cat >>conftest.$ac_ext <<_ACEOF
26097
/* end confdefs.h. */
26098
$ac_includes_default
26099
typedef short ac__type_sizeof_;
26103
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26110
rm -f conftest.$ac_objext
26111
if { (ac_try="$ac_compile"
26112
case "(($ac_try" in
26113
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26114
*) ac_try_echo=$ac_try;;
26116
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26117
(eval "$ac_compile") 2>conftest.er1
26119
grep -v '^ *+' conftest.er1 >conftest.err
26121
cat conftest.err >&5
26122
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26123
(exit $ac_status); } && {
26124
test -z "$ac_c_werror_flag" ||
26125
test ! -s conftest.err
26126
} && test -s conftest.$ac_objext; then
26127
ac_hi=$ac_mid; break
26129
echo "$as_me: failed program was:" >&5
26130
sed 's/^/| /' conftest.$ac_ext >&5
26132
ac_lo=`expr $ac_mid + 1`
26133
if test $ac_lo -le $ac_mid; then
26137
ac_mid=`expr 2 '*' $ac_mid + 1`
26140
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26143
echo "$as_me: failed program was:" >&5
26144
sed 's/^/| /' conftest.$ac_ext >&5
26146
cat >conftest.$ac_ext <<_ACEOF
26149
cat confdefs.h >>conftest.$ac_ext
26150
cat >>conftest.$ac_ext <<_ACEOF
26151
/* end confdefs.h. */
26152
$ac_includes_default
26153
typedef short ac__type_sizeof_;
26157
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
26164
rm -f conftest.$ac_objext
26165
if { (ac_try="$ac_compile"
26166
case "(($ac_try" in
26167
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26168
*) ac_try_echo=$ac_try;;
26170
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26171
(eval "$ac_compile") 2>conftest.er1
26173
grep -v '^ *+' conftest.er1 >conftest.err
26175
cat conftest.err >&5
26176
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26177
(exit $ac_status); } && {
26178
test -z "$ac_c_werror_flag" ||
26179
test ! -s conftest.err
26180
} && test -s conftest.$ac_objext; then
26183
cat >conftest.$ac_ext <<_ACEOF
26186
cat confdefs.h >>conftest.$ac_ext
26187
cat >>conftest.$ac_ext <<_ACEOF
26188
/* end confdefs.h. */
26189
$ac_includes_default
26190
typedef short ac__type_sizeof_;
26194
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
26201
rm -f conftest.$ac_objext
26202
if { (ac_try="$ac_compile"
26203
case "(($ac_try" in
26204
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26205
*) ac_try_echo=$ac_try;;
26207
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26208
(eval "$ac_compile") 2>conftest.er1
26210
grep -v '^ *+' conftest.er1 >conftest.err
26212
cat conftest.err >&5
26213
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26214
(exit $ac_status); } && {
26215
test -z "$ac_c_werror_flag" ||
26216
test ! -s conftest.err
26217
} && test -s conftest.$ac_objext; then
26218
ac_lo=$ac_mid; break
26220
echo "$as_me: failed program was:" >&5
26221
sed 's/^/| /' conftest.$ac_ext >&5
26223
ac_hi=`expr '(' $ac_mid ')' - 1`
26224
if test $ac_mid -le $ac_hi; then
26228
ac_mid=`expr 2 '*' $ac_mid`
26231
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26234
echo "$as_me: failed program was:" >&5
26235
sed 's/^/| /' conftest.$ac_ext >&5
26240
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26243
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26244
# Binary search between lo and hi bounds.
26245
while test "x$ac_lo" != "x$ac_hi"; do
26246
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26247
cat >conftest.$ac_ext <<_ACEOF
26250
cat confdefs.h >>conftest.$ac_ext
26251
cat >>conftest.$ac_ext <<_ACEOF
26252
/* end confdefs.h. */
26253
$ac_includes_default
26254
typedef short ac__type_sizeof_;
26258
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26265
rm -f conftest.$ac_objext
26266
if { (ac_try="$ac_compile"
26267
case "(($ac_try" in
26268
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26269
*) ac_try_echo=$ac_try;;
26271
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26272
(eval "$ac_compile") 2>conftest.er1
26274
grep -v '^ *+' conftest.er1 >conftest.err
26276
cat conftest.err >&5
26277
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26278
(exit $ac_status); } && {
26279
test -z "$ac_c_werror_flag" ||
26280
test ! -s conftest.err
26281
} && test -s conftest.$ac_objext; then
26284
echo "$as_me: failed program was:" >&5
26285
sed 's/^/| /' conftest.$ac_ext >&5
26287
ac_lo=`expr '(' $ac_mid ')' + 1`
26290
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26293
?*) ac_cv_sizeof_short=$ac_lo;;
26294
'') if test "$ac_cv_type_short" = yes; then
26295
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
26296
See \`config.log' for more details." >&5
26297
echo "$as_me: error: cannot compute sizeof (short)
26298
See \`config.log' for more details." >&2;}
26299
{ (exit 77); exit 77; }; }
26301
ac_cv_sizeof_short=0
26305
cat >conftest.$ac_ext <<_ACEOF
26308
cat confdefs.h >>conftest.$ac_ext
26309
cat >>conftest.$ac_ext <<_ACEOF
26310
/* end confdefs.h. */
26311
$ac_includes_default
26312
typedef short ac__type_sizeof_;
26313
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
26314
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
26316
#include <stdlib.h>
26321
FILE *f = fopen ("conftest.val", "w");
26324
if (((long int) (sizeof (ac__type_sizeof_))) < 0)
26326
long int i = longval ();
26327
if (i != ((long int) (sizeof (ac__type_sizeof_))))
26329
fprintf (f, "%ld\n", i);
26333
unsigned long int i = ulongval ();
26334
if (i != ((long int) (sizeof (ac__type_sizeof_))))
26336
fprintf (f, "%lu\n", i);
26338
return ferror (f) || fclose (f) != 0;
26344
rm -f conftest$ac_exeext
26345
if { (ac_try="$ac_link"
26346
case "(($ac_try" in
26347
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26348
*) ac_try_echo=$ac_try;;
26350
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26351
(eval "$ac_link") 2>&5
26353
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26354
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26355
{ (case "(($ac_try" in
26356
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26357
*) ac_try_echo=$ac_try;;
26359
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26360
(eval "$ac_try") 2>&5
26362
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26363
(exit $ac_status); }; }; then
26364
ac_cv_sizeof_short=`cat conftest.val`
26366
echo "$as_me: program exited with status $ac_status" >&5
26367
echo "$as_me: failed program was:" >&5
26368
sed 's/^/| /' conftest.$ac_ext >&5
26370
( exit $ac_status )
26371
if test "$ac_cv_type_short" = yes; then
26372
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
26373
See \`config.log' for more details." >&5
26374
echo "$as_me: error: cannot compute sizeof (short)
26375
See \`config.log' for more details." >&2;}
26376
{ (exit 77); exit 77; }; }
26378
ac_cv_sizeof_short=0
26381
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26385
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
26386
echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
26390
cat >>confdefs.h <<_ACEOF
26391
#define SIZEOF_SHORT $ac_cv_sizeof_short
26394
{ echo "$as_me:$LINENO: checking for long" >&5
26395
echo $ECHO_N "checking for long... $ECHO_C" >&6; }
26396
if test "${ac_cv_type_long+set}" = set; then
26397
echo $ECHO_N "(cached) $ECHO_C" >&6
26399
cat >conftest.$ac_ext <<_ACEOF
26402
cat confdefs.h >>conftest.$ac_ext
26403
cat >>conftest.$ac_ext <<_ACEOF
26404
/* end confdefs.h. */
26405
$ac_includes_default
26406
typedef long ac__type_new_;
26410
if ((ac__type_new_ *) 0)
26412
if (sizeof (ac__type_new_))
26418
rm -f conftest.$ac_objext
26419
if { (ac_try="$ac_compile"
26420
case "(($ac_try" in
26421
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26422
*) ac_try_echo=$ac_try;;
26424
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26425
(eval "$ac_compile") 2>conftest.er1
26427
grep -v '^ *+' conftest.er1 >conftest.err
26429
cat conftest.err >&5
26430
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26431
(exit $ac_status); } && {
26432
test -z "$ac_c_werror_flag" ||
26433
test ! -s conftest.err
26434
} && test -s conftest.$ac_objext; then
26435
ac_cv_type_long=yes
26437
echo "$as_me: failed program was:" >&5
26438
sed 's/^/| /' conftest.$ac_ext >&5
26443
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26445
{ echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
26446
echo "${ECHO_T}$ac_cv_type_long" >&6; }
26448
# The cast to long int works around a bug in the HP C Compiler
26449
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26450
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26451
# This bug is HP SR number 8606223364.
26452
{ echo "$as_me:$LINENO: checking size of long" >&5
26453
echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
26454
if test "${ac_cv_sizeof_long+set}" = set; then
26455
echo $ECHO_N "(cached) $ECHO_C" >&6
26457
if test "$cross_compiling" = yes; then
26458
# Depending upon the size, compute the lo and hi bounds.
26459
cat >conftest.$ac_ext <<_ACEOF
26462
cat confdefs.h >>conftest.$ac_ext
26463
cat >>conftest.$ac_ext <<_ACEOF
26464
/* end confdefs.h. */
26465
$ac_includes_default
26466
typedef long ac__type_sizeof_;
26470
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
26477
rm -f conftest.$ac_objext
26478
if { (ac_try="$ac_compile"
26479
case "(($ac_try" in
26480
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26481
*) ac_try_echo=$ac_try;;
26483
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26484
(eval "$ac_compile") 2>conftest.er1
26486
grep -v '^ *+' conftest.er1 >conftest.err
26488
cat conftest.err >&5
26489
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26490
(exit $ac_status); } && {
26491
test -z "$ac_c_werror_flag" ||
26492
test ! -s conftest.err
26493
} && test -s conftest.$ac_objext; then
26496
cat >conftest.$ac_ext <<_ACEOF
26499
cat confdefs.h >>conftest.$ac_ext
26500
cat >>conftest.$ac_ext <<_ACEOF
26501
/* end confdefs.h. */
26502
$ac_includes_default
26503
typedef long ac__type_sizeof_;
26507
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26514
rm -f conftest.$ac_objext
26515
if { (ac_try="$ac_compile"
26516
case "(($ac_try" in
26517
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26518
*) ac_try_echo=$ac_try;;
26520
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26521
(eval "$ac_compile") 2>conftest.er1
26523
grep -v '^ *+' conftest.er1 >conftest.err
26525
cat conftest.err >&5
26526
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26527
(exit $ac_status); } && {
26528
test -z "$ac_c_werror_flag" ||
26529
test ! -s conftest.err
26530
} && test -s conftest.$ac_objext; then
26531
ac_hi=$ac_mid; break
26533
echo "$as_me: failed program was:" >&5
26534
sed 's/^/| /' conftest.$ac_ext >&5
26536
ac_lo=`expr $ac_mid + 1`
26537
if test $ac_lo -le $ac_mid; then
26541
ac_mid=`expr 2 '*' $ac_mid + 1`
26544
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26547
echo "$as_me: failed program was:" >&5
26548
sed 's/^/| /' conftest.$ac_ext >&5
26550
cat >conftest.$ac_ext <<_ACEOF
26553
cat confdefs.h >>conftest.$ac_ext
26554
cat >>conftest.$ac_ext <<_ACEOF
26555
/* end confdefs.h. */
26556
$ac_includes_default
26557
typedef long ac__type_sizeof_;
26561
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
26568
rm -f conftest.$ac_objext
26569
if { (ac_try="$ac_compile"
26570
case "(($ac_try" in
26571
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26572
*) ac_try_echo=$ac_try;;
26574
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26575
(eval "$ac_compile") 2>conftest.er1
26577
grep -v '^ *+' conftest.er1 >conftest.err
26579
cat conftest.err >&5
26580
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26581
(exit $ac_status); } && {
26582
test -z "$ac_c_werror_flag" ||
26583
test ! -s conftest.err
26584
} && test -s conftest.$ac_objext; then
26587
cat >conftest.$ac_ext <<_ACEOF
26590
cat confdefs.h >>conftest.$ac_ext
26591
cat >>conftest.$ac_ext <<_ACEOF
26592
/* end confdefs.h. */
26593
$ac_includes_default
26594
typedef long ac__type_sizeof_;
26598
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
26605
rm -f conftest.$ac_objext
26606
if { (ac_try="$ac_compile"
26607
case "(($ac_try" in
26608
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26609
*) ac_try_echo=$ac_try;;
26611
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26612
(eval "$ac_compile") 2>conftest.er1
26614
grep -v '^ *+' conftest.er1 >conftest.err
26616
cat conftest.err >&5
26617
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26618
(exit $ac_status); } && {
26619
test -z "$ac_c_werror_flag" ||
26620
test ! -s conftest.err
26621
} && test -s conftest.$ac_objext; then
26622
ac_lo=$ac_mid; break
26624
echo "$as_me: failed program was:" >&5
26625
sed 's/^/| /' conftest.$ac_ext >&5
26627
ac_hi=`expr '(' $ac_mid ')' - 1`
26628
if test $ac_mid -le $ac_hi; then
26632
ac_mid=`expr 2 '*' $ac_mid`
26635
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26638
echo "$as_me: failed program was:" >&5
26639
sed 's/^/| /' conftest.$ac_ext >&5
26644
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26647
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26648
# Binary search between lo and hi bounds.
26649
while test "x$ac_lo" != "x$ac_hi"; do
26650
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26651
cat >conftest.$ac_ext <<_ACEOF
26654
cat confdefs.h >>conftest.$ac_ext
26655
cat >>conftest.$ac_ext <<_ACEOF
26656
/* end confdefs.h. */
26657
$ac_includes_default
26658
typedef long ac__type_sizeof_;
26662
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26669
rm -f conftest.$ac_objext
26670
if { (ac_try="$ac_compile"
26671
case "(($ac_try" in
26672
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26673
*) ac_try_echo=$ac_try;;
26675
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26676
(eval "$ac_compile") 2>conftest.er1
26678
grep -v '^ *+' conftest.er1 >conftest.err
26680
cat conftest.err >&5
26681
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26682
(exit $ac_status); } && {
26683
test -z "$ac_c_werror_flag" ||
26684
test ! -s conftest.err
26685
} && test -s conftest.$ac_objext; then
26688
echo "$as_me: failed program was:" >&5
26689
sed 's/^/| /' conftest.$ac_ext >&5
26691
ac_lo=`expr '(' $ac_mid ')' + 1`
26694
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26697
?*) ac_cv_sizeof_long=$ac_lo;;
26698
'') if test "$ac_cv_type_long" = yes; then
26699
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
26700
See \`config.log' for more details." >&5
26701
echo "$as_me: error: cannot compute sizeof (long)
26702
See \`config.log' for more details." >&2;}
26703
{ (exit 77); exit 77; }; }
26705
ac_cv_sizeof_long=0
26709
cat >conftest.$ac_ext <<_ACEOF
26712
cat confdefs.h >>conftest.$ac_ext
26713
cat >>conftest.$ac_ext <<_ACEOF
26714
/* end confdefs.h. */
26715
$ac_includes_default
26716
typedef long ac__type_sizeof_;
26717
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
26718
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
26720
#include <stdlib.h>
26725
FILE *f = fopen ("conftest.val", "w");
26728
if (((long int) (sizeof (ac__type_sizeof_))) < 0)
26730
long int i = longval ();
26731
if (i != ((long int) (sizeof (ac__type_sizeof_))))
26733
fprintf (f, "%ld\n", i);
26737
unsigned long int i = ulongval ();
26738
if (i != ((long int) (sizeof (ac__type_sizeof_))))
26740
fprintf (f, "%lu\n", i);
26742
return ferror (f) || fclose (f) != 0;
26748
rm -f conftest$ac_exeext
26749
if { (ac_try="$ac_link"
26750
case "(($ac_try" in
26751
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26752
*) ac_try_echo=$ac_try;;
26754
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26755
(eval "$ac_link") 2>&5
26757
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26758
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26759
{ (case "(($ac_try" in
26760
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26761
*) ac_try_echo=$ac_try;;
26763
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26764
(eval "$ac_try") 2>&5
26766
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26767
(exit $ac_status); }; }; then
26768
ac_cv_sizeof_long=`cat conftest.val`
26770
echo "$as_me: program exited with status $ac_status" >&5
26771
echo "$as_me: failed program was:" >&5
26772
sed 's/^/| /' conftest.$ac_ext >&5
26774
( exit $ac_status )
26775
if test "$ac_cv_type_long" = yes; then
26776
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
26777
See \`config.log' for more details." >&5
26778
echo "$as_me: error: cannot compute sizeof (long)
26779
See \`config.log' for more details." >&2;}
26780
{ (exit 77); exit 77; }; }
26782
ac_cv_sizeof_long=0
26785
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26789
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
26790
echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
26794
cat >>confdefs.h <<_ACEOF
26795
#define SIZEOF_LONG $ac_cv_sizeof_long
26798
{ echo "$as_me:$LINENO: checking for char *" >&5
26799
echo $ECHO_N "checking for char *... $ECHO_C" >&6; }
26800
if test "${ac_cv_type_char_p+set}" = set; then
26801
echo $ECHO_N "(cached) $ECHO_C" >&6
26803
cat >conftest.$ac_ext <<_ACEOF
26806
cat confdefs.h >>conftest.$ac_ext
26807
cat >>conftest.$ac_ext <<_ACEOF
26808
/* end confdefs.h. */
26809
$ac_includes_default
26810
typedef char * ac__type_new_;
26814
if ((ac__type_new_ *) 0)
26816
if (sizeof (ac__type_new_))
26822
rm -f conftest.$ac_objext
26823
if { (ac_try="$ac_compile"
26824
case "(($ac_try" in
26825
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26826
*) ac_try_echo=$ac_try;;
26828
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26829
(eval "$ac_compile") 2>conftest.er1
26831
grep -v '^ *+' conftest.er1 >conftest.err
26833
cat conftest.err >&5
26834
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26835
(exit $ac_status); } && {
26836
test -z "$ac_c_werror_flag" ||
26837
test ! -s conftest.err
26838
} && test -s conftest.$ac_objext; then
26839
ac_cv_type_char_p=yes
26841
echo "$as_me: failed program was:" >&5
26842
sed 's/^/| /' conftest.$ac_ext >&5
26844
ac_cv_type_char_p=no
26847
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26849
{ echo "$as_me:$LINENO: result: $ac_cv_type_char_p" >&5
26850
echo "${ECHO_T}$ac_cv_type_char_p" >&6; }
26852
# The cast to long int works around a bug in the HP C Compiler
26853
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26854
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26855
# This bug is HP SR number 8606223364.
26856
{ echo "$as_me:$LINENO: checking size of char *" >&5
26857
echo $ECHO_N "checking size of char *... $ECHO_C" >&6; }
26858
if test "${ac_cv_sizeof_char_p+set}" = set; then
26859
echo $ECHO_N "(cached) $ECHO_C" >&6
26861
if test "$cross_compiling" = yes; then
26862
# Depending upon the size, compute the lo and hi bounds.
26863
cat >conftest.$ac_ext <<_ACEOF
26866
cat confdefs.h >>conftest.$ac_ext
26867
cat >>conftest.$ac_ext <<_ACEOF
26868
/* end confdefs.h. */
26869
$ac_includes_default
26870
typedef char * ac__type_sizeof_;
26874
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
26881
rm -f conftest.$ac_objext
26882
if { (ac_try="$ac_compile"
26883
case "(($ac_try" in
26884
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26885
*) ac_try_echo=$ac_try;;
26887
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26888
(eval "$ac_compile") 2>conftest.er1
26890
grep -v '^ *+' conftest.er1 >conftest.err
26892
cat conftest.err >&5
26893
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26894
(exit $ac_status); } && {
26895
test -z "$ac_c_werror_flag" ||
26896
test ! -s conftest.err
26897
} && test -s conftest.$ac_objext; then
26900
cat >conftest.$ac_ext <<_ACEOF
26903
cat confdefs.h >>conftest.$ac_ext
26904
cat >>conftest.$ac_ext <<_ACEOF
26905
/* end confdefs.h. */
26906
$ac_includes_default
26907
typedef char * ac__type_sizeof_;
26911
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26918
rm -f conftest.$ac_objext
26919
if { (ac_try="$ac_compile"
26920
case "(($ac_try" in
26921
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26922
*) ac_try_echo=$ac_try;;
26924
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26925
(eval "$ac_compile") 2>conftest.er1
26927
grep -v '^ *+' conftest.er1 >conftest.err
26929
cat conftest.err >&5
26930
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26931
(exit $ac_status); } && {
26932
test -z "$ac_c_werror_flag" ||
26933
test ! -s conftest.err
26934
} && test -s conftest.$ac_objext; then
26935
ac_hi=$ac_mid; break
26937
echo "$as_me: failed program was:" >&5
26938
sed 's/^/| /' conftest.$ac_ext >&5
26940
ac_lo=`expr $ac_mid + 1`
26941
if test $ac_lo -le $ac_mid; then
26945
ac_mid=`expr 2 '*' $ac_mid + 1`
26948
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26951
echo "$as_me: failed program was:" >&5
26952
sed 's/^/| /' conftest.$ac_ext >&5
26954
cat >conftest.$ac_ext <<_ACEOF
26957
cat confdefs.h >>conftest.$ac_ext
26958
cat >>conftest.$ac_ext <<_ACEOF
26959
/* end confdefs.h. */
26960
$ac_includes_default
26961
typedef char * ac__type_sizeof_;
26965
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
26972
rm -f conftest.$ac_objext
26973
if { (ac_try="$ac_compile"
26974
case "(($ac_try" in
26975
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26976
*) ac_try_echo=$ac_try;;
26978
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26979
(eval "$ac_compile") 2>conftest.er1
26981
grep -v '^ *+' conftest.er1 >conftest.err
26983
cat conftest.err >&5
26984
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26985
(exit $ac_status); } && {
26986
test -z "$ac_c_werror_flag" ||
26987
test ! -s conftest.err
26988
} && test -s conftest.$ac_objext; then
26991
cat >conftest.$ac_ext <<_ACEOF
26994
cat confdefs.h >>conftest.$ac_ext
26995
cat >>conftest.$ac_ext <<_ACEOF
26996
/* end confdefs.h. */
26997
$ac_includes_default
26998
typedef char * ac__type_sizeof_;
27002
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27009
rm -f conftest.$ac_objext
27010
if { (ac_try="$ac_compile"
27011
case "(($ac_try" in
27012
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27013
*) ac_try_echo=$ac_try;;
27015
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27016
(eval "$ac_compile") 2>conftest.er1
27018
grep -v '^ *+' conftest.er1 >conftest.err
27020
cat conftest.err >&5
27021
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27022
(exit $ac_status); } && {
27023
test -z "$ac_c_werror_flag" ||
27024
test ! -s conftest.err
27025
} && test -s conftest.$ac_objext; then
27026
ac_lo=$ac_mid; break
27028
echo "$as_me: failed program was:" >&5
27029
sed 's/^/| /' conftest.$ac_ext >&5
27031
ac_hi=`expr '(' $ac_mid ')' - 1`
27032
if test $ac_mid -le $ac_hi; then
27036
ac_mid=`expr 2 '*' $ac_mid`
27039
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27042
echo "$as_me: failed program was:" >&5
27043
sed 's/^/| /' conftest.$ac_ext >&5
27048
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27051
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27052
# Binary search between lo and hi bounds.
27053
while test "x$ac_lo" != "x$ac_hi"; do
27054
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27055
cat >conftest.$ac_ext <<_ACEOF
27058
cat confdefs.h >>conftest.$ac_ext
27059
cat >>conftest.$ac_ext <<_ACEOF
27060
/* end confdefs.h. */
27061
$ac_includes_default
27062
typedef char * ac__type_sizeof_;
27066
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27073
rm -f conftest.$ac_objext
27074
if { (ac_try="$ac_compile"
27075
case "(($ac_try" in
27076
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27077
*) ac_try_echo=$ac_try;;
27079
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27080
(eval "$ac_compile") 2>conftest.er1
27082
grep -v '^ *+' conftest.er1 >conftest.err
27084
cat conftest.err >&5
27085
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27086
(exit $ac_status); } && {
27087
test -z "$ac_c_werror_flag" ||
27088
test ! -s conftest.err
27089
} && test -s conftest.$ac_objext; then
27092
echo "$as_me: failed program was:" >&5
27093
sed 's/^/| /' conftest.$ac_ext >&5
27095
ac_lo=`expr '(' $ac_mid ')' + 1`
27098
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27101
?*) ac_cv_sizeof_char_p=$ac_lo;;
27102
'') if test "$ac_cv_type_char_p" = yes; then
27103
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (char *)
27104
See \`config.log' for more details." >&5
27105
echo "$as_me: error: cannot compute sizeof (char *)
27106
See \`config.log' for more details." >&2;}
27107
{ (exit 77); exit 77; }; }
27109
ac_cv_sizeof_char_p=0
27113
cat >conftest.$ac_ext <<_ACEOF
27116
cat confdefs.h >>conftest.$ac_ext
27117
cat >>conftest.$ac_ext <<_ACEOF
27118
/* end confdefs.h. */
27119
$ac_includes_default
27120
typedef char * ac__type_sizeof_;
27121
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27122
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27124
#include <stdlib.h>
27129
FILE *f = fopen ("conftest.val", "w");
27132
if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27134
long int i = longval ();
27135
if (i != ((long int) (sizeof (ac__type_sizeof_))))
27137
fprintf (f, "%ld\n", i);
27141
unsigned long int i = ulongval ();
27142
if (i != ((long int) (sizeof (ac__type_sizeof_))))
27144
fprintf (f, "%lu\n", i);
27146
return ferror (f) || fclose (f) != 0;
27152
rm -f conftest$ac_exeext
27153
if { (ac_try="$ac_link"
27154
case "(($ac_try" in
27155
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27156
*) ac_try_echo=$ac_try;;
27158
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27159
(eval "$ac_link") 2>&5
27161
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27162
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27163
{ (case "(($ac_try" in
27164
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27165
*) ac_try_echo=$ac_try;;
27167
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27168
(eval "$ac_try") 2>&5
27170
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27171
(exit $ac_status); }; }; then
27172
ac_cv_sizeof_char_p=`cat conftest.val`
27174
echo "$as_me: program exited with status $ac_status" >&5
27175
echo "$as_me: failed program was:" >&5
27176
sed 's/^/| /' conftest.$ac_ext >&5
27178
( exit $ac_status )
27179
if test "$ac_cv_type_char_p" = yes; then
27180
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (char *)
27181
See \`config.log' for more details." >&5
27182
echo "$as_me: error: cannot compute sizeof (char *)
27183
See \`config.log' for more details." >&2;}
27184
{ (exit 77); exit 77; }; }
27186
ac_cv_sizeof_char_p=0
27189
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27193
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_char_p" >&5
27194
echo "${ECHO_T}$ac_cv_sizeof_char_p" >&6; }
27198
cat >>confdefs.h <<_ACEOF
27199
#define SIZEOF_CHAR_P $ac_cv_sizeof_char_p
27204
{ echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
27205
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
27206
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
27207
echo $ECHO_N "(cached) $ECHO_C" >&6
27209
ac_check_lib_save_LIBS=$LIBS
27211
cat >conftest.$ac_ext <<_ACEOF
27214
cat confdefs.h >>conftest.$ac_ext
27215
cat >>conftest.$ac_ext <<_ACEOF
27216
/* end confdefs.h. */
27218
/* Override any GCC internal prototype to avoid an error.
27219
Use char because int might match the return type of a GCC
27220
builtin and then its argument prototype would still apply. */
27233
rm -f conftest.$ac_objext conftest$ac_exeext
27234
if { (ac_try="$ac_link"
27235
case "(($ac_try" in
27236
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27237
*) ac_try_echo=$ac_try;;
27239
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27240
(eval "$ac_link") 2>conftest.er1
27242
grep -v '^ *+' conftest.er1 >conftest.err
27244
cat conftest.err >&5
27245
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27246
(exit $ac_status); } && {
27247
test -z "$ac_c_werror_flag" ||
27248
test ! -s conftest.err
27249
} && test -s conftest$ac_exeext &&
27250
$as_test_x conftest$ac_exeext; then
27251
ac_cv_lib_dl_dlopen=yes
27253
echo "$as_me: failed program was:" >&5
27254
sed 's/^/| /' conftest.$ac_ext >&5
27256
ac_cv_lib_dl_dlopen=no
27259
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27260
conftest$ac_exeext conftest.$ac_ext
27261
LIBS=$ac_check_lib_save_LIBS
27263
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
27264
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
27265
if test $ac_cv_lib_dl_dlopen = yes; then
27268
ac_cv_have_dlfcn=yes
27273
{ echo "$as_me:$LINENO: checking for shl_unload in -ldld" >&5
27274
echo $ECHO_N "checking for shl_unload in -ldld... $ECHO_C" >&6; }
27275
if test "${ac_cv_lib_dld_shl_unload+set}" = set; then
27276
echo $ECHO_N "(cached) $ECHO_C" >&6
27278
ac_check_lib_save_LIBS=$LIBS
27280
cat >conftest.$ac_ext <<_ACEOF
27283
cat confdefs.h >>conftest.$ac_ext
27284
cat >>conftest.$ac_ext <<_ACEOF
27285
/* end confdefs.h. */
27287
/* Override any GCC internal prototype to avoid an error.
27288
Use char because int might match the return type of a GCC
27289
builtin and then its argument prototype would still apply. */
27293
char shl_unload ();
27297
return shl_unload ();
27302
rm -f conftest.$ac_objext conftest$ac_exeext
27303
if { (ac_try="$ac_link"
27304
case "(($ac_try" in
27305
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27306
*) ac_try_echo=$ac_try;;
27308
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27309
(eval "$ac_link") 2>conftest.er1
27311
grep -v '^ *+' conftest.er1 >conftest.err
27313
cat conftest.err >&5
27314
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27315
(exit $ac_status); } && {
27316
test -z "$ac_c_werror_flag" ||
27317
test ! -s conftest.err
27318
} && test -s conftest$ac_exeext &&
27319
$as_test_x conftest$ac_exeext; then
27320
ac_cv_lib_dld_shl_unload=yes
27322
echo "$as_me: failed program was:" >&5
27323
sed 's/^/| /' conftest.$ac_ext >&5
27325
ac_cv_lib_dld_shl_unload=no
27328
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27329
conftest$ac_exeext conftest.$ac_ext
27330
LIBS=$ac_check_lib_save_LIBS
27332
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_unload" >&5
27333
echo "${ECHO_T}$ac_cv_lib_dld_shl_unload" >&6; }
27334
if test $ac_cv_lib_dld_shl_unload = yes; then
27337
ac_cv_have_shload=yes
27347
{ echo "$as_me:$LINENO: checking for size_t" >&5
27348
echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
27349
if test "${ac_cv_type_size_t+set}" = set; then
27350
echo $ECHO_N "(cached) $ECHO_C" >&6
27352
cat >conftest.$ac_ext <<_ACEOF
27355
cat confdefs.h >>conftest.$ac_ext
27356
cat >>conftest.$ac_ext <<_ACEOF
27357
/* end confdefs.h. */
27358
$ac_includes_default
27359
typedef size_t ac__type_new_;
27363
if ((ac__type_new_ *) 0)
27365
if (sizeof (ac__type_new_))
27371
rm -f conftest.$ac_objext
27372
if { (ac_try="$ac_compile"
27373
case "(($ac_try" in
27374
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27375
*) ac_try_echo=$ac_try;;
27377
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27378
(eval "$ac_compile") 2>conftest.er1
27380
grep -v '^ *+' conftest.er1 >conftest.err
27382
cat conftest.err >&5
27383
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27384
(exit $ac_status); } && {
27385
test -z "$ac_c_werror_flag" ||
27386
test ! -s conftest.err
27387
} && test -s conftest.$ac_objext; then
27388
ac_cv_type_size_t=yes
27390
echo "$as_me: failed program was:" >&5
27391
sed 's/^/| /' conftest.$ac_ext >&5
27393
ac_cv_type_size_t=no
27396
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27398
{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
27399
echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
27401
# The cast to long int works around a bug in the HP C Compiler
27402
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27403
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27404
# This bug is HP SR number 8606223364.
27405
{ echo "$as_me:$LINENO: checking size of size_t" >&5
27406
echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
27407
if test "${ac_cv_sizeof_size_t+set}" = set; then
27408
echo $ECHO_N "(cached) $ECHO_C" >&6
27410
if test "$cross_compiling" = yes; then
27411
# Depending upon the size, compute the lo and hi bounds.
27412
cat >conftest.$ac_ext <<_ACEOF
27415
cat confdefs.h >>conftest.$ac_ext
27416
cat >>conftest.$ac_ext <<_ACEOF
27417
/* end confdefs.h. */
27418
$ac_includes_default
27419
typedef size_t ac__type_sizeof_;
27423
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27430
rm -f conftest.$ac_objext
27431
if { (ac_try="$ac_compile"
27432
case "(($ac_try" in
27433
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27434
*) ac_try_echo=$ac_try;;
27436
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27437
(eval "$ac_compile") 2>conftest.er1
27439
grep -v '^ *+' conftest.er1 >conftest.err
27441
cat conftest.err >&5
27442
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27443
(exit $ac_status); } && {
27444
test -z "$ac_c_werror_flag" ||
27445
test ! -s conftest.err
27446
} && test -s conftest.$ac_objext; then
27449
cat >conftest.$ac_ext <<_ACEOF
27452
cat confdefs.h >>conftest.$ac_ext
27453
cat >>conftest.$ac_ext <<_ACEOF
27454
/* end confdefs.h. */
27455
$ac_includes_default
27456
typedef size_t ac__type_sizeof_;
27460
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27467
rm -f conftest.$ac_objext
27468
if { (ac_try="$ac_compile"
27469
case "(($ac_try" in
27470
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27471
*) ac_try_echo=$ac_try;;
27473
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27474
(eval "$ac_compile") 2>conftest.er1
27476
grep -v '^ *+' conftest.er1 >conftest.err
27478
cat conftest.err >&5
27479
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27480
(exit $ac_status); } && {
27481
test -z "$ac_c_werror_flag" ||
27482
test ! -s conftest.err
27483
} && test -s conftest.$ac_objext; then
27484
ac_hi=$ac_mid; break
27486
echo "$as_me: failed program was:" >&5
27487
sed 's/^/| /' conftest.$ac_ext >&5
27489
ac_lo=`expr $ac_mid + 1`
27490
if test $ac_lo -le $ac_mid; then
27494
ac_mid=`expr 2 '*' $ac_mid + 1`
27497
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27500
echo "$as_me: failed program was:" >&5
27501
sed 's/^/| /' conftest.$ac_ext >&5
27503
cat >conftest.$ac_ext <<_ACEOF
27506
cat confdefs.h >>conftest.$ac_ext
27507
cat >>conftest.$ac_ext <<_ACEOF
27508
/* end confdefs.h. */
27509
$ac_includes_default
27510
typedef size_t ac__type_sizeof_;
27514
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27521
rm -f conftest.$ac_objext
27522
if { (ac_try="$ac_compile"
27523
case "(($ac_try" in
27524
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27525
*) ac_try_echo=$ac_try;;
27527
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27528
(eval "$ac_compile") 2>conftest.er1
27530
grep -v '^ *+' conftest.er1 >conftest.err
27532
cat conftest.err >&5
27533
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27534
(exit $ac_status); } && {
27535
test -z "$ac_c_werror_flag" ||
27536
test ! -s conftest.err
27537
} && test -s conftest.$ac_objext; then
27540
cat >conftest.$ac_ext <<_ACEOF
27543
cat confdefs.h >>conftest.$ac_ext
27544
cat >>conftest.$ac_ext <<_ACEOF
27545
/* end confdefs.h. */
27546
$ac_includes_default
27547
typedef size_t ac__type_sizeof_;
27551
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27558
rm -f conftest.$ac_objext
27559
if { (ac_try="$ac_compile"
27560
case "(($ac_try" in
27561
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27562
*) ac_try_echo=$ac_try;;
27564
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27565
(eval "$ac_compile") 2>conftest.er1
27567
grep -v '^ *+' conftest.er1 >conftest.err
27569
cat conftest.err >&5
27570
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27571
(exit $ac_status); } && {
27572
test -z "$ac_c_werror_flag" ||
27573
test ! -s conftest.err
27574
} && test -s conftest.$ac_objext; then
27575
ac_lo=$ac_mid; break
27577
echo "$as_me: failed program was:" >&5
27578
sed 's/^/| /' conftest.$ac_ext >&5
27580
ac_hi=`expr '(' $ac_mid ')' - 1`
27581
if test $ac_mid -le $ac_hi; then
27585
ac_mid=`expr 2 '*' $ac_mid`
27588
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27591
echo "$as_me: failed program was:" >&5
27592
sed 's/^/| /' conftest.$ac_ext >&5
27597
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27600
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27601
# Binary search between lo and hi bounds.
27602
while test "x$ac_lo" != "x$ac_hi"; do
27603
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27604
cat >conftest.$ac_ext <<_ACEOF
27607
cat confdefs.h >>conftest.$ac_ext
27608
cat >>conftest.$ac_ext <<_ACEOF
27609
/* end confdefs.h. */
27610
$ac_includes_default
27611
typedef size_t ac__type_sizeof_;
27615
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27622
rm -f conftest.$ac_objext
27623
if { (ac_try="$ac_compile"
27624
case "(($ac_try" in
27625
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27626
*) ac_try_echo=$ac_try;;
27628
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27629
(eval "$ac_compile") 2>conftest.er1
27631
grep -v '^ *+' conftest.er1 >conftest.err
27633
cat conftest.err >&5
27634
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27635
(exit $ac_status); } && {
27636
test -z "$ac_c_werror_flag" ||
27637
test ! -s conftest.err
27638
} && test -s conftest.$ac_objext; then
27641
echo "$as_me: failed program was:" >&5
27642
sed 's/^/| /' conftest.$ac_ext >&5
27644
ac_lo=`expr '(' $ac_mid ')' + 1`
27647
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27650
?*) ac_cv_sizeof_size_t=$ac_lo;;
27651
'') if test "$ac_cv_type_size_t" = yes; then
27652
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
27653
See \`config.log' for more details." >&5
27654
echo "$as_me: error: cannot compute sizeof (size_t)
27655
See \`config.log' for more details." >&2;}
27656
{ (exit 77); exit 77; }; }
27658
ac_cv_sizeof_size_t=0
27662
cat >conftest.$ac_ext <<_ACEOF
27665
cat confdefs.h >>conftest.$ac_ext
27666
cat >>conftest.$ac_ext <<_ACEOF
27667
/* end confdefs.h. */
27668
$ac_includes_default
27669
typedef size_t ac__type_sizeof_;
27670
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27671
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27673
#include <stdlib.h>
27678
FILE *f = fopen ("conftest.val", "w");
27681
if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27683
long int i = longval ();
27684
if (i != ((long int) (sizeof (ac__type_sizeof_))))
27686
fprintf (f, "%ld\n", i);
27690
unsigned long int i = ulongval ();
27691
if (i != ((long int) (sizeof (ac__type_sizeof_))))
27693
fprintf (f, "%lu\n", i);
27695
return ferror (f) || fclose (f) != 0;
27701
rm -f conftest$ac_exeext
27702
if { (ac_try="$ac_link"
27703
case "(($ac_try" in
27704
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27705
*) ac_try_echo=$ac_try;;
27707
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27708
(eval "$ac_link") 2>&5
27710
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27711
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27712
{ (case "(($ac_try" in
27713
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27714
*) ac_try_echo=$ac_try;;
27716
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27717
(eval "$ac_try") 2>&5
27719
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27720
(exit $ac_status); }; }; then
27721
ac_cv_sizeof_size_t=`cat conftest.val`
27723
echo "$as_me: program exited with status $ac_status" >&5
27724
echo "$as_me: failed program was:" >&5
27725
sed 's/^/| /' conftest.$ac_ext >&5
27727
( exit $ac_status )
27728
if test "$ac_cv_type_size_t" = yes; then
27729
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
27730
See \`config.log' for more details." >&5
27731
echo "$as_me: error: cannot compute sizeof (size_t)
27732
See \`config.log' for more details." >&2;}
27733
{ (exit 77); exit 77; }; }
27735
ac_cv_sizeof_size_t=0
27738
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27742
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
27743
echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
27747
cat >>confdefs.h <<_ACEOF
27748
#define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
27752
{ echo "$as_me:$LINENO: checking for unsigned long" >&5
27753
echo $ECHO_N "checking for unsigned long... $ECHO_C" >&6; }
27754
if test "${ac_cv_type_unsigned_long+set}" = set; then
27755
echo $ECHO_N "(cached) $ECHO_C" >&6
27757
cat >conftest.$ac_ext <<_ACEOF
27760
cat confdefs.h >>conftest.$ac_ext
27761
cat >>conftest.$ac_ext <<_ACEOF
27762
/* end confdefs.h. */
27763
$ac_includes_default
27764
typedef unsigned long ac__type_new_;
27768
if ((ac__type_new_ *) 0)
27770
if (sizeof (ac__type_new_))
27776
rm -f conftest.$ac_objext
27777
if { (ac_try="$ac_compile"
27778
case "(($ac_try" in
27779
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27780
*) ac_try_echo=$ac_try;;
27782
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27783
(eval "$ac_compile") 2>conftest.er1
27785
grep -v '^ *+' conftest.er1 >conftest.err
27787
cat conftest.err >&5
27788
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27789
(exit $ac_status); } && {
27790
test -z "$ac_c_werror_flag" ||
27791
test ! -s conftest.err
27792
} && test -s conftest.$ac_objext; then
27793
ac_cv_type_unsigned_long=yes
27795
echo "$as_me: failed program was:" >&5
27796
sed 's/^/| /' conftest.$ac_ext >&5
27798
ac_cv_type_unsigned_long=no
27801
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27803
{ echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long" >&5
27804
echo "${ECHO_T}$ac_cv_type_unsigned_long" >&6; }
27806
# The cast to long int works around a bug in the HP C Compiler
27807
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27808
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27809
# This bug is HP SR number 8606223364.
27810
{ echo "$as_me:$LINENO: checking size of unsigned long" >&5
27811
echo $ECHO_N "checking size of unsigned long... $ECHO_C" >&6; }
27812
if test "${ac_cv_sizeof_unsigned_long+set}" = set; then
27813
echo $ECHO_N "(cached) $ECHO_C" >&6
27815
if test "$cross_compiling" = yes; then
27816
# Depending upon the size, compute the lo and hi bounds.
27817
cat >conftest.$ac_ext <<_ACEOF
27820
cat confdefs.h >>conftest.$ac_ext
27821
cat >>conftest.$ac_ext <<_ACEOF
27822
/* end confdefs.h. */
27823
$ac_includes_default
27824
typedef unsigned long ac__type_sizeof_;
27828
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27835
rm -f conftest.$ac_objext
27836
if { (ac_try="$ac_compile"
27837
case "(($ac_try" in
27838
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27839
*) ac_try_echo=$ac_try;;
27841
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27842
(eval "$ac_compile") 2>conftest.er1
27844
grep -v '^ *+' conftest.er1 >conftest.err
27846
cat conftest.err >&5
27847
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27848
(exit $ac_status); } && {
27849
test -z "$ac_c_werror_flag" ||
27850
test ! -s conftest.err
27851
} && test -s conftest.$ac_objext; then
27854
cat >conftest.$ac_ext <<_ACEOF
27857
cat confdefs.h >>conftest.$ac_ext
27858
cat >>conftest.$ac_ext <<_ACEOF
27859
/* end confdefs.h. */
27860
$ac_includes_default
27861
typedef unsigned long ac__type_sizeof_;
27865
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27872
rm -f conftest.$ac_objext
27873
if { (ac_try="$ac_compile"
27874
case "(($ac_try" in
27875
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27876
*) ac_try_echo=$ac_try;;
27878
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27879
(eval "$ac_compile") 2>conftest.er1
27881
grep -v '^ *+' conftest.er1 >conftest.err
27883
cat conftest.err >&5
27884
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27885
(exit $ac_status); } && {
27886
test -z "$ac_c_werror_flag" ||
27887
test ! -s conftest.err
27888
} && test -s conftest.$ac_objext; then
27889
ac_hi=$ac_mid; break
27891
echo "$as_me: failed program was:" >&5
27892
sed 's/^/| /' conftest.$ac_ext >&5
27894
ac_lo=`expr $ac_mid + 1`
27895
if test $ac_lo -le $ac_mid; then
27899
ac_mid=`expr 2 '*' $ac_mid + 1`
27902
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27905
echo "$as_me: failed program was:" >&5
27906
sed 's/^/| /' conftest.$ac_ext >&5
27908
cat >conftest.$ac_ext <<_ACEOF
27911
cat confdefs.h >>conftest.$ac_ext
27912
cat >>conftest.$ac_ext <<_ACEOF
27913
/* end confdefs.h. */
27914
$ac_includes_default
27915
typedef unsigned long ac__type_sizeof_;
27919
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27926
rm -f conftest.$ac_objext
27927
if { (ac_try="$ac_compile"
27928
case "(($ac_try" in
27929
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27930
*) ac_try_echo=$ac_try;;
27932
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27933
(eval "$ac_compile") 2>conftest.er1
27935
grep -v '^ *+' conftest.er1 >conftest.err
27937
cat conftest.err >&5
27938
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27939
(exit $ac_status); } && {
27940
test -z "$ac_c_werror_flag" ||
27941
test ! -s conftest.err
27942
} && test -s conftest.$ac_objext; then
27945
cat >conftest.$ac_ext <<_ACEOF
27948
cat confdefs.h >>conftest.$ac_ext
27949
cat >>conftest.$ac_ext <<_ACEOF
27950
/* end confdefs.h. */
27951
$ac_includes_default
27952
typedef unsigned long ac__type_sizeof_;
27956
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27963
rm -f conftest.$ac_objext
27964
if { (ac_try="$ac_compile"
27965
case "(($ac_try" in
27966
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27967
*) ac_try_echo=$ac_try;;
27969
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27970
(eval "$ac_compile") 2>conftest.er1
27972
grep -v '^ *+' conftest.er1 >conftest.err
27974
cat conftest.err >&5
27975
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27976
(exit $ac_status); } && {
27977
test -z "$ac_c_werror_flag" ||
27978
test ! -s conftest.err
27979
} && test -s conftest.$ac_objext; then
27980
ac_lo=$ac_mid; break
27982
echo "$as_me: failed program was:" >&5
27983
sed 's/^/| /' conftest.$ac_ext >&5
27985
ac_hi=`expr '(' $ac_mid ')' - 1`
27986
if test $ac_mid -le $ac_hi; then
27990
ac_mid=`expr 2 '*' $ac_mid`
27993
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27996
echo "$as_me: failed program was:" >&5
27997
sed 's/^/| /' conftest.$ac_ext >&5
28002
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28005
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28006
# Binary search between lo and hi bounds.
28007
while test "x$ac_lo" != "x$ac_hi"; do
28008
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
28009
cat >conftest.$ac_ext <<_ACEOF
28012
cat confdefs.h >>conftest.$ac_ext
28013
cat >>conftest.$ac_ext <<_ACEOF
28014
/* end confdefs.h. */
28015
$ac_includes_default
28016
typedef unsigned long ac__type_sizeof_;
28020
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28027
rm -f conftest.$ac_objext
28028
if { (ac_try="$ac_compile"
28029
case "(($ac_try" in
28030
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28031
*) ac_try_echo=$ac_try;;
28033
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28034
(eval "$ac_compile") 2>conftest.er1
28036
grep -v '^ *+' conftest.er1 >conftest.err
28038
cat conftest.err >&5
28039
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28040
(exit $ac_status); } && {
28041
test -z "$ac_c_werror_flag" ||
28042
test ! -s conftest.err
28043
} && test -s conftest.$ac_objext; then
28046
echo "$as_me: failed program was:" >&5
28047
sed 's/^/| /' conftest.$ac_ext >&5
28049
ac_lo=`expr '(' $ac_mid ')' + 1`
28052
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28055
?*) ac_cv_sizeof_unsigned_long=$ac_lo;;
28056
'') if test "$ac_cv_type_unsigned_long" = yes; then
28057
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long)
28058
See \`config.log' for more details." >&5
28059
echo "$as_me: error: cannot compute sizeof (unsigned long)
28060
See \`config.log' for more details." >&2;}
28061
{ (exit 77); exit 77; }; }
28063
ac_cv_sizeof_unsigned_long=0
28067
cat >conftest.$ac_ext <<_ACEOF
28070
cat confdefs.h >>conftest.$ac_ext
28071
cat >>conftest.$ac_ext <<_ACEOF
28072
/* end confdefs.h. */
28073
$ac_includes_default
28074
typedef unsigned long ac__type_sizeof_;
28075
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
28076
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
28078
#include <stdlib.h>
28083
FILE *f = fopen ("conftest.val", "w");
28086
if (((long int) (sizeof (ac__type_sizeof_))) < 0)
28088
long int i = longval ();
28089
if (i != ((long int) (sizeof (ac__type_sizeof_))))
28091
fprintf (f, "%ld\n", i);
28095
unsigned long int i = ulongval ();
28096
if (i != ((long int) (sizeof (ac__type_sizeof_))))
28098
fprintf (f, "%lu\n", i);
28100
return ferror (f) || fclose (f) != 0;
28106
rm -f conftest$ac_exeext
28107
if { (ac_try="$ac_link"
28108
case "(($ac_try" in
28109
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28110
*) ac_try_echo=$ac_try;;
28112
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28113
(eval "$ac_link") 2>&5
28115
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28116
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28117
{ (case "(($ac_try" in
28118
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28119
*) ac_try_echo=$ac_try;;
28121
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28122
(eval "$ac_try") 2>&5
28124
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28125
(exit $ac_status); }; }; then
28126
ac_cv_sizeof_unsigned_long=`cat conftest.val`
28128
echo "$as_me: program exited with status $ac_status" >&5
28129
echo "$as_me: failed program was:" >&5
28130
sed 's/^/| /' conftest.$ac_ext >&5
28132
( exit $ac_status )
28133
if test "$ac_cv_type_unsigned_long" = yes; then
28134
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long)
28135
See \`config.log' for more details." >&5
28136
echo "$as_me: error: cannot compute sizeof (unsigned long)
28137
See \`config.log' for more details." >&2;}
28138
{ (exit 77); exit 77; }; }
28140
ac_cv_sizeof_unsigned_long=0
28143
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28147
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long" >&5
28148
echo "${ECHO_T}$ac_cv_sizeof_unsigned_long" >&6; }
28152
cat >>confdefs.h <<_ACEOF
28153
#define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
28158
{ echo "$as_me:$LINENO: checking sizeof size_t == sizeof unsigned long" >&5
28159
echo $ECHO_N "checking sizeof size_t == sizeof unsigned long... $ECHO_C" >&6; }
28160
cat >conftest.$ac_ext <<_ACEOF
28163
cat confdefs.h >>conftest.$ac_ext
28164
cat >>conftest.$ac_ext <<_ACEOF
28165
/* end confdefs.h. */
28171
#if SIZEOF_SIZE_T != SIZEOF_UNSIGNED_LONG
28179
rm -f conftest.$ac_objext
28180
if { (ac_try="$ac_compile"
28181
case "(($ac_try" in
28182
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28183
*) ac_try_echo=$ac_try;;
28185
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28186
(eval "$ac_compile") 2>conftest.er1
28188
grep -v '^ *+' conftest.er1 >conftest.err
28190
cat conftest.err >&5
28191
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28192
(exit $ac_status); } && {
28193
test -z "$ac_c_werror_flag" ||
28194
test ! -s conftest.err
28195
} && test -s conftest.$ac_objext; then
28196
{ echo "$as_me:$LINENO: result: yes" >&5
28197
echo "${ECHO_T}yes" >&6; }
28199
echo "$as_me: failed program was:" >&5
28200
sed 's/^/| /' conftest.$ac_ext >&5
28203
{ echo "$as_me:$LINENO: result: no" >&5
28204
echo "${ECHO_T}no" >&6; }
28205
{ { echo "$as_me:$LINENO: error:
28206
Apparently on your system our assumption sizeof size_t == sizeof unsigned long
28207
does not apply. Please mail kde-devel@kde.org with a description of your system!
28209
echo "$as_me: error:
28210
Apparently on your system our assumption sizeof size_t == sizeof unsigned long
28211
does not apply. Please mail kde-devel@kde.org with a description of your system!
28213
{ (exit 1); exit 1; }; }
28217
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28220
{ echo "$as_me:$LINENO: checking for PIE support" >&5
28221
echo $ECHO_N "checking for PIE support... $ECHO_C" >&6; }
28222
if test "${kde_cv_val_pie_support+set}" = set; then
28223
echo $ECHO_N "(cached) $ECHO_C" >&6
28228
ac_cpp='$CXXCPP $CPPFLAGS'
28229
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28230
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28231
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28233
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
28236
safe_CXXFLAGS=$CXXFLAGS
28237
safe_LDFLAGS=$LDFLAGS
28238
CXXFLAGS="$CXXFLAGS -fPIE"
28239
LDFLAGS="$LDFLAGS -pie"
28241
cat >conftest.$ac_ext <<_ACEOF
28244
cat confdefs.h >>conftest.$ac_ext
28245
cat >>conftest.$ac_ext <<_ACEOF
28246
/* end confdefs.h. */
28256
rm -f conftest.$ac_objext conftest$ac_exeext
28257
if { (ac_try="$ac_link"
28258
case "(($ac_try" in
28259
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28260
*) ac_try_echo=$ac_try;;
28262
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28263
(eval "$ac_link") 2>conftest.er1
28265
grep -v '^ *+' conftest.er1 >conftest.err
28267
cat conftest.err >&5
28268
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28269
(exit $ac_status); } && {
28270
test -z "$ac_cxx_werror_flag" ||
28271
test ! -s conftest.err
28272
} && test -s conftest$ac_exeext &&
28273
$as_test_x conftest$ac_exeext; then
28274
kde_cv_val_pie_support=yes
28276
echo "$as_me: failed program was:" >&5
28277
sed 's/^/| /' conftest.$ac_ext >&5
28279
kde_cv_val_pie_support=no
28282
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28283
conftest$ac_exeext conftest.$ac_ext
28285
CXXFLAGS=$safe_CXXFLAGS
28286
LDFLAGS=$safe_LDFLAGS
28288
ac_cpp='$CPP $CPPFLAGS'
28289
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28290
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28291
ac_compiler_gnu=$ac_cv_c_compiler_gnu
28295
{ echo "$as_me:$LINENO: result: $kde_cv_val_pie_support" >&5
28296
echo "${ECHO_T}$kde_cv_val_pie_support" >&6; }
28298
{ echo "$as_me:$LINENO: checking if enabling -pie/fPIE support" >&5
28299
echo $ECHO_N "checking if enabling -pie/fPIE support... $ECHO_C" >&6; }
28301
# Check whether --enable-pie was given.
28302
if test "${enable_pie+set}" = set; then
28303
enableval=$enable_pie; kde_has_pie_support=$enableval
28305
kde_has_pie_support=detect
28309
if test "$kde_has_pie_support" = "detect"; then
28310
kde_has_pie_support=$kde_cv_val_pie_support
28313
{ echo "$as_me:$LINENO: result: $kde_has_pie_support" >&5
28314
echo "${ECHO_T}$kde_has_pie_support" >&6; }
28322
if test "$kde_has_pie_support" = "yes"; then
28323
KDE_USE_FPIE="-fPIE"
28328
# darwin needs this to initialize the environment
28330
for ac_header in crt_externs.h
28332
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28333
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28334
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
28335
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28336
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28337
echo $ECHO_N "(cached) $ECHO_C" >&6
28339
ac_res=`eval echo '${'$as_ac_Header'}'`
28340
{ echo "$as_me:$LINENO: result: $ac_res" >&5
28341
echo "${ECHO_T}$ac_res" >&6; }
28343
# Is the header compilable?
28344
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
28345
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
28346
cat >conftest.$ac_ext <<_ACEOF
28349
cat confdefs.h >>conftest.$ac_ext
28350
cat >>conftest.$ac_ext <<_ACEOF
28351
/* end confdefs.h. */
28352
$ac_includes_default
28353
#include <$ac_header>
28355
rm -f conftest.$ac_objext
28356
if { (ac_try="$ac_compile"
28357
case "(($ac_try" in
28358
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28359
*) ac_try_echo=$ac_try;;
28361
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28362
(eval "$ac_compile") 2>conftest.er1
28364
grep -v '^ *+' conftest.er1 >conftest.err
28366
cat conftest.err >&5
28367
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28368
(exit $ac_status); } && {
28369
test -z "$ac_c_werror_flag" ||
28370
test ! -s conftest.err
28371
} && test -s conftest.$ac_objext; then
28372
ac_header_compiler=yes
28374
echo "$as_me: failed program was:" >&5
28375
sed 's/^/| /' conftest.$ac_ext >&5
28377
ac_header_compiler=no
28380
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28381
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28382
echo "${ECHO_T}$ac_header_compiler" >&6; }
28384
# Is the header present?
28385
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
28386
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
28387
cat >conftest.$ac_ext <<_ACEOF
28390
cat confdefs.h >>conftest.$ac_ext
28391
cat >>conftest.$ac_ext <<_ACEOF
28392
/* end confdefs.h. */
28393
#include <$ac_header>
28395
if { (ac_try="$ac_cpp conftest.$ac_ext"
28396
case "(($ac_try" in
28397
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28398
*) ac_try_echo=$ac_try;;
28400
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28401
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28403
grep -v '^ *+' conftest.er1 >conftest.err
28405
cat conftest.err >&5
28406
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28407
(exit $ac_status); } >/dev/null && {
28408
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28409
test ! -s conftest.err
28411
ac_header_preproc=yes
28413
echo "$as_me: failed program was:" >&5
28414
sed 's/^/| /' conftest.$ac_ext >&5
28416
ac_header_preproc=no
28419
rm -f conftest.err conftest.$ac_ext
28420
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28421
echo "${ECHO_T}$ac_header_preproc" >&6; }
28423
# So? What about this header?
28424
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28426
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28427
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28428
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
28429
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
28430
ac_header_preproc=yes
28433
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28434
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28435
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28436
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28437
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
28438
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
28439
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
28440
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
28441
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28442
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28443
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
28444
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
28448
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
28449
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28450
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28451
echo $ECHO_N "(cached) $ECHO_C" >&6
28453
eval "$as_ac_Header=\$ac_header_preproc"
28455
ac_res=`eval echo '${'$as_ac_Header'}'`
28456
{ echo "$as_me:$LINENO: result: $ac_res" >&5
28457
echo "${ECHO_T}$ac_res" >&6; }
28460
if test `eval echo '${'$as_ac_Header'}'` = yes; then
28461
cat >>confdefs.h <<_ACEOF
28462
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28469
{ echo "$as_me:$LINENO: checking for _NSGetEnviron" >&5
28470
echo $ECHO_N "checking for _NSGetEnviron... $ECHO_C" >&6; }
28471
if test "${ac_cv_func__NSGetEnviron+set}" = set; then
28472
echo $ECHO_N "(cached) $ECHO_C" >&6
28474
cat >conftest.$ac_ext <<_ACEOF
28477
cat confdefs.h >>conftest.$ac_ext
28478
cat >>conftest.$ac_ext <<_ACEOF
28479
/* end confdefs.h. */
28480
/* Define _NSGetEnviron to an innocuous variant, in case <limits.h> declares _NSGetEnviron.
28481
For example, HP-UX 11i <limits.h> declares gettimeofday. */
28482
#define _NSGetEnviron innocuous__NSGetEnviron
28484
/* System header to define __stub macros and hopefully few prototypes,
28485
which can conflict with char _NSGetEnviron (); below.
28486
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28487
<limits.h> exists even on freestanding compilers. */
28490
# include <limits.h>
28492
# include <assert.h>
28495
#undef _NSGetEnviron
28497
/* Override any GCC internal prototype to avoid an error.
28498
Use char because int might match the return type of a GCC
28499
builtin and then its argument prototype would still apply. */
28503
char _NSGetEnviron ();
28504
/* The GNU C library defines this for functions which it implements
28505
to always fail with ENOSYS. Some functions are actually named
28506
something starting with __ and the normal name is an alias. */
28507
#if defined __stub__NSGetEnviron || defined __stub____NSGetEnviron
28514
return _NSGetEnviron ();
28519
rm -f conftest.$ac_objext conftest$ac_exeext
28520
if { (ac_try="$ac_link"
28521
case "(($ac_try" in
28522
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28523
*) ac_try_echo=$ac_try;;
28525
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28526
(eval "$ac_link") 2>conftest.er1
28528
grep -v '^ *+' conftest.er1 >conftest.err
28530
cat conftest.err >&5
28531
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28532
(exit $ac_status); } && {
28533
test -z "$ac_c_werror_flag" ||
28534
test ! -s conftest.err
28535
} && test -s conftest$ac_exeext &&
28536
$as_test_x conftest$ac_exeext; then
28537
ac_cv_func__NSGetEnviron=yes
28539
echo "$as_me: failed program was:" >&5
28540
sed 's/^/| /' conftest.$ac_ext >&5
28542
ac_cv_func__NSGetEnviron=no
28545
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28546
conftest$ac_exeext conftest.$ac_ext
28548
{ echo "$as_me:$LINENO: result: $ac_cv_func__NSGetEnviron" >&5
28549
echo "${ECHO_T}$ac_cv_func__NSGetEnviron" >&6; }
28550
if test $ac_cv_func__NSGetEnviron = yes; then
28552
cat >>confdefs.h <<\_ACEOF
28553
#define HAVE_NSGETENVIRON 1
28567
for ac_func in vsnprintf snprintf
28569
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28570
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
28571
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28572
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28573
echo $ECHO_N "(cached) $ECHO_C" >&6
28575
cat >conftest.$ac_ext <<_ACEOF
28578
cat confdefs.h >>conftest.$ac_ext
28579
cat >>conftest.$ac_ext <<_ACEOF
28580
/* end confdefs.h. */
28581
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28582
For example, HP-UX 11i <limits.h> declares gettimeofday. */
28583
#define $ac_func innocuous_$ac_func
28585
/* System header to define __stub macros and hopefully few prototypes,
28586
which can conflict with char $ac_func (); below.
28587
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28588
<limits.h> exists even on freestanding compilers. */
28591
# include <limits.h>
28593
# include <assert.h>
28598
/* Override any GCC internal prototype to avoid an error.
28599
Use char because int might match the return type of a GCC
28600
builtin and then its argument prototype would still apply. */
28605
/* The GNU C library defines this for functions which it implements
28606
to always fail with ENOSYS. Some functions are actually named
28607
something starting with __ and the normal name is an alias. */
28608
#if defined __stub_$ac_func || defined __stub___$ac_func
28615
return $ac_func ();
28620
rm -f conftest.$ac_objext conftest$ac_exeext
28621
if { (ac_try="$ac_link"
28622
case "(($ac_try" in
28623
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28624
*) ac_try_echo=$ac_try;;
28626
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28627
(eval "$ac_link") 2>conftest.er1
28629
grep -v '^ *+' conftest.er1 >conftest.err
28631
cat conftest.err >&5
28632
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28633
(exit $ac_status); } && {
28634
test -z "$ac_c_werror_flag" ||
28635
test ! -s conftest.err
28636
} && test -s conftest$ac_exeext &&
28637
$as_test_x conftest$ac_exeext; then
28638
eval "$as_ac_var=yes"
28640
echo "$as_me: failed program was:" >&5
28641
sed 's/^/| /' conftest.$ac_ext >&5
28643
eval "$as_ac_var=no"
28646
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28647
conftest$ac_exeext conftest.$ac_ext
28649
ac_res=`eval echo '${'$as_ac_var'}'`
28650
{ echo "$as_me:$LINENO: result: $ac_res" >&5
28651
echo "${ECHO_T}$ac_res" >&6; }
28652
if test `eval echo '${'$as_ac_var'}'` = yes; then
28653
cat >>confdefs.h <<_ACEOF
28654
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28668
# Check whether --enable-embedded was given.
28669
if test "${enable_embedded+set}" = set; then
28670
enableval=$enable_embedded; kde_use_qt_emb=$enableval
28677
# Check whether --enable-qtopia was given.
28678
if test "${enable_qtopia+set}" = set; then
28679
enableval=$enable_qtopia; kde_use_qt_emb_palm=$enableval
28681
kde_use_qt_emb_palm=no
28686
# Check whether --enable-mac was given.
28687
if test "${enable_mac+set}" = set; then
28688
enableval=$enable_mac; kde_use_qt_mac=$enableval
28695
# used to disable x11-specific stuff on special platforms
28696
if test "$kde_use_qt_emb" = "no" && test "$kde_use_qt_mac" = "no"; then
28698
include_x11_FALSE='#'
28700
include_x11_TRUE='#'
28705
if test "$kde_use_qt_emb" = "no" && test "$kde_use_qt_mac" = "no"; then
28707
{ echo "$as_me:$LINENO: checking for X" >&5
28708
echo $ECHO_N "checking for X... $ECHO_C" >&6; }
28710
if test "${kde_cv_have_x+set}" = set; then
28711
echo $ECHO_N "(cached) $ECHO_C" >&6
28713
# One or both of the vars are not set, and there is no cached value.
28714
if test "{$x_includes+set}" = set || test "$x_includes" = NONE; then
28717
kde_x_includes=$x_includes
28719
if test "{$x_libraries+set}" = set || test "$x_libraries" = NONE; then
28722
kde_x_libraries=$x_libraries
28725
# below we use the standard autoconf calls
28726
ac_x_libraries=$kde_x_libraries
28727
ac_x_includes=$kde_x_includes
28732
if test "$ac_x_includes" = NO; then
28733
# Guess where to find include files, by looking for this one X11 .h file.
28734
test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h
28736
# First, try using that file with no special directory specified.
28737
cat >conftest.$ac_ext <<_ACEOF
28740
cat confdefs.h >>conftest.$ac_ext
28741
cat >>conftest.$ac_ext <<_ACEOF
28742
/* end confdefs.h. */
28743
#include <$x_direct_test_include>
28745
if { (ac_try="$ac_cpp conftest.$ac_ext"
28746
case "(($ac_try" in
28747
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28748
*) ac_try_echo=$ac_try;;
28750
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28751
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28753
grep -v '^ *+' conftest.er1 >conftest.err
28755
cat conftest.err >&5
28756
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28757
(exit $ac_status); } >/dev/null && {
28758
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28759
test ! -s conftest.err
28761
# We can compile using X headers with no special include directory.
28764
echo "$as_me: failed program was:" >&5
28765
sed 's/^/| /' conftest.$ac_ext >&5
28767
# Look for the header file in a standard set of common directories.
28768
# Check X11 before X11Rn because it is often a symlink to the current release.
28771
/usr/X11R6/include \
28772
/usr/X11R5/include \
28773
/usr/X11R4/include \
28776
/usr/include/X11R6 \
28777
/usr/include/X11R5 \
28778
/usr/include/X11R4 \
28780
/usr/local/X11/include \
28781
/usr/local/X11R6/include \
28782
/usr/local/X11R5/include \
28783
/usr/local/X11R4/include \
28785
/usr/local/include/X11 \
28786
/usr/local/include/X11R6 \
28787
/usr/local/include/X11R5 \
28788
/usr/local/include/X11R4 \
28790
/usr/X386/include \
28791
/usr/x386/include \
28792
/usr/XFree86/include/X11 \
28795
/usr/local/include \
28796
/usr/unsupported/include \
28797
/usr/athena/include \
28798
/usr/local/x11r5/include \
28799
/usr/lpp/Xamples/include \
28801
/usr/openwin/include \
28802
/usr/openwin/share/include \
28805
if test -r "$ac_dir/$x_direct_test_include"; then
28806
ac_x_includes=$ac_dir
28812
rm -f conftest.err conftest.$ac_ext
28813
fi # $ac_x_includes = NO
28815
if test "$ac_x_libraries" = NO; then
28816
# Check for the libraries.
28818
test -z "$x_direct_test_library" && x_direct_test_library=Xt
28819
test -z "$x_direct_test_function" && x_direct_test_function=XtMalloc
28821
# See if we find them without any special options.
28822
# Don't add to $LIBS permanently.
28823
ac_save_LIBS="$LIBS"
28824
LIBS="-l$x_direct_test_library $LIBS"
28825
cat >conftest.$ac_ext <<_ACEOF
28828
cat confdefs.h >>conftest.$ac_ext
28829
cat >>conftest.$ac_ext <<_ACEOF
28830
/* end confdefs.h. */
28831
#include <X11/Intrinsic.h>
28835
${x_direct_test_function}(1)
28840
rm -f conftest.$ac_objext conftest$ac_exeext
28841
if { (ac_try="$ac_link"
28842
case "(($ac_try" in
28843
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28844
*) ac_try_echo=$ac_try;;
28846
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28847
(eval "$ac_link") 2>conftest.er1
28849
grep -v '^ *+' conftest.er1 >conftest.err
28851
cat conftest.err >&5
28852
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28853
(exit $ac_status); } && {
28854
test -z "$ac_c_werror_flag" ||
28855
test ! -s conftest.err
28856
} && test -s conftest$ac_exeext &&
28857
$as_test_x conftest$ac_exeext; then
28858
LIBS="$ac_save_LIBS"
28859
# We can link X programs with no special library path.
28862
echo "$as_me: failed program was:" >&5
28863
sed 's/^/| /' conftest.$ac_ext >&5
28865
LIBS="$ac_save_LIBS"
28866
# First see if replacing the include by lib works.
28867
# Check X11 before X11Rn because it is often a symlink to the current release.
28868
for ac_dir in `echo "$ac_x_includes" | sed s/include/lib${kdelibsuff}/` \
28869
/usr/X11/lib${kdelibsuff} \
28870
/usr/X11R6/lib${kdelibsuff} \
28871
/usr/X11R5/lib${kdelibsuff} \
28872
/usr/X11R4/lib${kdelibsuff} \
28874
/usr/lib${kdelibsuff}/X11 \
28875
/usr/lib${kdelibsuff}/X11R6 \
28876
/usr/lib${kdelibsuff}/X11R5 \
28877
/usr/lib${kdelibsuff}/X11R4 \
28879
/usr/local/X11/lib${kdelibsuff} \
28880
/usr/local/X11R6/lib${kdelibsuff} \
28881
/usr/local/X11R5/lib${kdelibsuff} \
28882
/usr/local/X11R4/lib${kdelibsuff} \
28884
/usr/local/lib${kdelibsuff}/X11 \
28885
/usr/local/lib${kdelibsuff}/X11R6 \
28886
/usr/local/lib${kdelibsuff}/X11R5 \
28887
/usr/local/lib${kdelibsuff}/X11R4 \
28889
/usr/X386/lib${kdelibsuff} \
28890
/usr/x386/lib${kdelibsuff} \
28891
/usr/XFree86/lib${kdelibsuff}/X11 \
28893
/usr/lib${kdelibsuff} \
28894
/usr/local/lib${kdelibsuff} \
28895
/usr/unsupported/lib${kdelibsuff} \
28896
/usr/athena/lib${kdelibsuff} \
28897
/usr/local/x11r5/lib${kdelibsuff} \
28898
/usr/lpp/Xamples/lib${kdelibsuff} \
28899
/lib/usr/lib${kdelibsuff}/X11 \
28901
/usr/openwin/lib${kdelibsuff} \
28902
/usr/openwin/share/lib${kdelibsuff} \
28905
for ac_extension in a so sl; do
28906
if test -r $ac_dir/lib${x_direct_test_library}.$ac_extension; then
28907
ac_x_libraries=$ac_dir
28914
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28915
conftest$ac_exeext conftest.$ac_ext
28916
fi # $ac_x_libraries = NO
28924
rm -f -r conftest.dir
28925
if mkdir conftest.dir; then
28927
cat >Imakefile <<'_ACEOF'
28929
@echo incroot='${INCROOT}'
28931
@echo usrlibdir='${USRLIBDIR}'
28933
@echo libdir='${LIBDIR}'
28935
if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
28936
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
28937
for ac_var in incroot usrlibdir libdir; do
28938
eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
28940
# Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
28941
for ac_extension in a so sl; do
28942
if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
28943
test -f "$ac_im_libdir/libX11.$ac_extension"; then
28944
ac_im_usrlibdir=$ac_im_libdir; break
28947
# Screen out bogus values from the imake configuration. They are
28948
# bogus both because they are the default anyway, and because
28949
# using them would break gcc on systems where it needs fixed includes.
28950
case $ac_im_incroot in
28951
/usr/include) ac_x_includes= ;;
28952
*) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
28954
case $ac_im_usrlibdir in
28955
/usr/lib | /lib) ;;
28956
*) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
28960
rm -f -r conftest.dir
28963
if test -z "$ac_x_includes"; then
28966
if test -z "$ac_x_libraries"; then
28967
ac_x_libraries="/usr/lib${kdelibsuff}"
28970
#from now on we use our own again
28972
# when the user already gave --x-includes, we ignore
28973
# what the standard autoconf macros told us.
28974
if test "$kde_x_includes" = NO; then
28975
kde_x_includes=$ac_x_includes
28978
# for --x-libraries too
28979
if test "$kde_x_libraries" = NO; then
28980
kde_x_libraries=$ac_x_libraries
28983
if test "$kde_x_includes" = NO; then
28984
{ { echo "$as_me:$LINENO: error: Can't find X includes. Please check your installation and add the correct paths!" >&5
28985
echo "$as_me: error: Can't find X includes. Please check your installation and add the correct paths!" >&2;}
28986
{ (exit 1); exit 1; }; }
28989
if test "$kde_x_libraries" = NO; then
28990
{ { echo "$as_me:$LINENO: error: Can't find X libraries. Please check your installation and add the correct paths!" >&5
28991
echo "$as_me: error: Can't find X libraries. Please check your installation and add the correct paths!" >&2;}
28992
{ (exit 1); exit 1; }; }
28995
# Record where we found X for the cache.
28996
kde_cv_have_x="have_x=yes \
28997
kde_x_includes=$kde_x_includes kde_x_libraries=$kde_x_libraries"
29001
eval "$kde_cv_have_x"
29003
if test "$have_x" != yes; then
29004
{ echo "$as_me:$LINENO: result: $have_x" >&5
29005
echo "${ECHO_T}$have_x" >&6; }
29008
{ echo "$as_me:$LINENO: result: libraries $kde_x_libraries, headers $kde_x_includes" >&5
29009
echo "${ECHO_T}libraries $kde_x_libraries, headers $kde_x_includes" >&6; }
29012
if test -z "$kde_x_includes" || test "x$kde_x_includes" = xNONE; then
29014
x_includes="."; else
29015
x_includes=$kde_x_includes
29016
X_INCLUDES="-I$x_includes"
29019
if test -z "$kde_x_libraries" || test "x$kde_x_libraries" = xNONE || test "$kde_x_libraries" = "/usr/lib"; then
29021
x_libraries="/usr/lib"; else
29022
x_libraries=$kde_x_libraries
29023
X_LDFLAGS="-L$x_libraries"
29025
all_includes="$X_INCLUDES"
29026
all_libraries="$X_LDFLAGS $LDFLAGS_AS_NEEDED $LDFLAGS_NEW_DTAGS"
29028
# Check for libraries that X11R6 Xt/Xaw programs need.
29029
ac_save_LDFLAGS="$LDFLAGS"
29030
LDFLAGS="$LDFLAGS $X_LDFLAGS"
29031
# SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
29032
# check for ICE first), but we must link in the order -lSM -lICE or
29033
# we get undefined symbols. So assume we have SM if we have ICE.
29034
# These have to be linked with before -lX11, unlike the other
29035
# libraries we check for below, so use a different variable.
29036
# --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
29037
{ echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
29038
echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
29039
if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
29040
echo $ECHO_N "(cached) $ECHO_C" >&6
29042
ac_check_lib_save_LIBS=$LIBS
29043
LIBS="-lICE $X_EXTRA_LIBS $LIBS"
29044
cat >conftest.$ac_ext <<_ACEOF
29047
cat confdefs.h >>conftest.$ac_ext
29048
cat >>conftest.$ac_ext <<_ACEOF
29049
/* end confdefs.h. */
29051
/* Override any GCC internal prototype to avoid an error.
29052
Use char because int might match the return type of a GCC
29053
builtin and then its argument prototype would still apply. */
29057
char IceConnectionNumber ();
29061
return IceConnectionNumber ();
29066
rm -f conftest.$ac_objext conftest$ac_exeext
29067
if { (ac_try="$ac_link"
29068
case "(($ac_try" in
29069
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29070
*) ac_try_echo=$ac_try;;
29072
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29073
(eval "$ac_link") 2>conftest.er1
29075
grep -v '^ *+' conftest.er1 >conftest.err
29077
cat conftest.err >&5
29078
echo "$as_me:$LINENO: \$? = $ac_status" >&5
29079
(exit $ac_status); } && {
29080
test -z "$ac_c_werror_flag" ||
29081
test ! -s conftest.err
29082
} && test -s conftest$ac_exeext &&
29083
$as_test_x conftest$ac_exeext; then
29084
ac_cv_lib_ICE_IceConnectionNumber=yes
29086
echo "$as_me: failed program was:" >&5
29087
sed 's/^/| /' conftest.$ac_ext >&5
29089
ac_cv_lib_ICE_IceConnectionNumber=no
29092
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29093
conftest$ac_exeext conftest.$ac_ext
29094
LIBS=$ac_check_lib_save_LIBS
29096
{ echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
29097
echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
29098
if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
29102
LDFLAGS="$ac_save_LDFLAGS"
29104
LIB_X11='-lX11 $(LIBSOCKET)'
29106
{ echo "$as_me:$LINENO: checking for libXext" >&5
29107
echo $ECHO_N "checking for libXext... $ECHO_C" >&6; }
29108
if test "${kde_cv_have_libXext+set}" = set; then
29109
echo $ECHO_N "(cached) $ECHO_C" >&6
29112
kde_ldflags_safe="$LDFLAGS"
29113
kde_libs_safe="$LIBS"
29115
LDFLAGS="$LDFLAGS $X_LDFLAGS $USER_LDFLAGS"
29116
LIBS="-lXext -lX11 $LIBSOCKET"
29118
cat >conftest.$ac_ext <<_ACEOF
29121
cat confdefs.h >>conftest.$ac_ext
29122
cat >>conftest.$ac_ext <<_ACEOF
29123
/* end confdefs.h. */
29126
#ifdef STDC_HEADERS
29127
# include <stdlib.h>
29134
printf("hello Xext\n");
29140
rm -f conftest.$ac_objext conftest$ac_exeext
29141
if { (ac_try="$ac_link"
29142
case "(($ac_try" in
29143
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29144
*) ac_try_echo=$ac_try;;
29146
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29147
(eval "$ac_link") 2>conftest.er1
29149
grep -v '^ *+' conftest.er1 >conftest.err
29151
cat conftest.err >&5
29152
echo "$as_me:$LINENO: \$? = $ac_status" >&5
29153
(exit $ac_status); } && {
29154
test -z "$ac_c_werror_flag" ||
29155
test ! -s conftest.err
29156
} && test -s conftest$ac_exeext &&
29157
$as_test_x conftest$ac_exeext; then
29158
kde_cv_have_libXext=yes
29160
echo "$as_me: failed program was:" >&5
29161
sed 's/^/| /' conftest.$ac_ext >&5
29163
kde_cv_have_libXext=no
29167
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29168
conftest$ac_exeext conftest.$ac_ext
29170
LDFLAGS=$kde_ldflags_safe
29171
LIBS=$kde_libs_safe
29176
{ echo "$as_me:$LINENO: result: $kde_cv_have_libXext" >&5
29177
echo "${ECHO_T}$kde_cv_have_libXext" >&6; }
29179
if test "$kde_cv_have_libXext" = "no"; then
29180
{ { echo "$as_me:$LINENO: error: We need a working libXext to proceed. Since configure
29181
can't find it itself, we stop here assuming that make wouldn't find
29183
echo "$as_me: error: We need a working libXext to proceed. Since configure
29184
can't find it itself, we stop here assuming that make wouldn't find
29185
them either." >&2;}
29186
{ (exit 1); exit 1; }; }
29192
elif test "$kde_use_qt_emb" = "yes"; then
29194
CXXFLAGS="$CXXFLAGS -fno-rtti"
29195
QTE_NORTTI="-fno-rtti -DQWS"
29205
elif test "$kde_use_qt_mac" = "yes"; then
29206
CXXFLAGS="$CXXFLAGS -DQT_MAC -no-cpp-precomp"
29207
CFLAGS="$CFLAGS -DQT_MAC -no-cpp-precomp"
29233
if test -n "$PTHREAD_LIBS"; then
29234
if test "x$PTHREAD_LIBS" = "x-pthread" ; then
29235
LIBPTHREAD="PTHREAD"
29237
PTHREAD_LIBS_save="$PTHREAD_LIBS"
29238
PTHREAD_LIBS=`echo "$PTHREAD_LIBS_save" | sed -e 's,^-l,,g'`
29239
{ echo "$as_me:$LINENO: checking for pthread_create in $PTHREAD_LIBS" >&5
29240
echo $ECHO_N "checking for pthread_create in $PTHREAD_LIBS... $ECHO_C" >&6; }
29242
kde_save_LDFLAGS="$LDFLAGS"
29243
kde_save_LIBS="$LIBS"
29244
LDFLAGS="$LDFLAGS $all_libraries"
29246
aix*) LDFLAGS="-brtl $LDFLAGS"
29247
test "$GCC" = yes && LDFLAGS="-Wl,$LDFLAGS"
29250
as_ac_Lib=`echo "ac_cv_lib_$PTHREAD_LIBS''_pthread_create" | $as_tr_sh`
29251
{ echo "$as_me:$LINENO: checking for pthread_create in -l$PTHREAD_LIBS" >&5
29252
echo $ECHO_N "checking for pthread_create in -l$PTHREAD_LIBS... $ECHO_C" >&6; }
29253
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
29254
echo $ECHO_N "(cached) $ECHO_C" >&6
29256
ac_check_lib_save_LIBS=$LIBS
29257
LIBS="-l$PTHREAD_LIBS $LIBS"
29258
cat >conftest.$ac_ext <<_ACEOF
29261
cat confdefs.h >>conftest.$ac_ext
29262
cat >>conftest.$ac_ext <<_ACEOF
29263
/* end confdefs.h. */
29265
/* Override any GCC internal prototype to avoid an error.
29266
Use char because int might match the return type of a GCC
29267
builtin and then its argument prototype would still apply. */
29271
char pthread_create ();
29275
return pthread_create ();
29280
rm -f conftest.$ac_objext conftest$ac_exeext
29281
if { (ac_try="$ac_link"
29282
case "(($ac_try" in
29283
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29284
*) ac_try_echo=$ac_try;;
29286
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29287
(eval "$ac_link") 2>conftest.er1
29289
grep -v '^ *+' conftest.er1 >conftest.err
29291
cat conftest.err >&5
29292
echo "$as_me:$LINENO: \$? = $ac_status" >&5
29293
(exit $ac_status); } && {
29294
test -z "$ac_c_werror_flag" ||
29295
test ! -s conftest.err
29296
} && test -s conftest$ac_exeext &&
29297
$as_test_x conftest$ac_exeext; then
29298
eval "$as_ac_Lib=yes"
29300
echo "$as_me: failed program was:" >&5
29301
sed 's/^/| /' conftest.$ac_ext >&5
29303
eval "$as_ac_Lib=no"
29306
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29307
conftest$ac_exeext conftest.$ac_ext
29308
LIBS=$ac_check_lib_save_LIBS
29310
ac_res=`eval echo '${'$as_ac_Lib'}'`
29311
{ echo "$as_me:$LINENO: result: $ac_res" >&5
29312
echo "${ECHO_T}$ac_res" >&6; }
29313
if test `eval echo '${'$as_ac_Lib'}'` = yes; then
29314
LIBPTHREAD="$PTHREAD_LIBS_save"
29317
LDFLAGS="$kde_save_LDFLAGS"
29318
LIBS="$kde_save_LIBS"
29320
PTHREAD_LIBS="$PTHREAD_LIBS_save"
29324
if test -z "$LIBPTHREAD"; then
29325
{ echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
29326
echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
29327
if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
29328
echo $ECHO_N "(cached) $ECHO_C" >&6
29330
ac_check_lib_save_LIBS=$LIBS
29331
LIBS="-lpthread $LIBS"
29332
cat >conftest.$ac_ext <<_ACEOF
29335
cat confdefs.h >>conftest.$ac_ext
29336
cat >>conftest.$ac_ext <<_ACEOF
29337
/* end confdefs.h. */
29339
/* Override any GCC internal prototype to avoid an error.
29340
Use char because int might match the return type of a GCC
29341
builtin and then its argument prototype would still apply. */
29345
char pthread_create ();
29349
return pthread_create ();
29354
rm -f conftest.$ac_objext conftest$ac_exeext
29355
if { (ac_try="$ac_link"
29356
case "(($ac_try" in
29357
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29358
*) ac_try_echo=$ac_try;;
29360
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29361
(eval "$ac_link") 2>conftest.er1
29363
grep -v '^ *+' conftest.er1 >conftest.err
29365
cat conftest.err >&5
29366
echo "$as_me:$LINENO: \$? = $ac_status" >&5
29367
(exit $ac_status); } && {
29368
test -z "$ac_c_werror_flag" ||
29369
test ! -s conftest.err
29370
} && test -s conftest$ac_exeext &&
29371
$as_test_x conftest$ac_exeext; then
29372
ac_cv_lib_pthread_pthread_create=yes
29374
echo "$as_me: failed program was:" >&5
29375
sed 's/^/| /' conftest.$ac_ext >&5
29377
ac_cv_lib_pthread_pthread_create=no
29380
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29381
conftest$ac_exeext conftest.$ac_ext
29382
LIBS=$ac_check_lib_save_LIBS
29384
{ echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
29385
echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
29386
if test $ac_cv_lib_pthread_pthread_create = yes; then
29387
LIBPTHREAD="-lpthread"
29392
if test -z "$LIBPTHREAD" ; then
29393
{ echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
29394
echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
29395
kde_safe_libs=$LIBS
29396
LIBS="$LIBS -lpthread"
29397
cat >conftest.$ac_ext <<_ACEOF
29400
cat confdefs.h >>conftest.$ac_ext
29401
cat >>conftest.$ac_ext <<_ACEOF
29402
/* end confdefs.h. */
29403
#include <pthread.h>
29407
(void)pthread_create(0,0,0,0);
29412
rm -f conftest.$ac_objext conftest$ac_exeext
29413
if { (ac_try="$ac_link"
29414
case "(($ac_try" in
29415
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29416
*) ac_try_echo=$ac_try;;
29418
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29419
(eval "$ac_link") 2>conftest.er1
29421
grep -v '^ *+' conftest.er1 >conftest.err
29423
cat conftest.err >&5
29424
echo "$as_me:$LINENO: \$? = $ac_status" >&5
29425
(exit $ac_status); } && {
29426
test -z "$ac_c_werror_flag" ||
29427
test ! -s conftest.err
29428
} && test -s conftest$ac_exeext &&
29429
$as_test_x conftest$ac_exeext; then
29431
{ echo "$as_me:$LINENO: result: yes" >&5
29432
echo "${ECHO_T}yes" >&6; }
29433
LIBPTHREAD="-lpthread"
29435
echo "$as_me: failed program was:" >&5
29436
sed 's/^/| /' conftest.$ac_ext >&5
29439
{ echo "$as_me:$LINENO: result: no" >&5
29440
echo "${ECHO_T}no" >&6; }
29443
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29444
conftest$ac_exeext conftest.$ac_ext
29445
LIBS=$kde_safe_libs
29448
if test "x$LIBPTHREAD" = "xPTHREAD" ; then
29456
if test -z "$LIBPTHREAD"; then
29458
{ echo "$as_me:$LINENO: checking whether $CXX supports -pthread" >&5
29459
echo $ECHO_N "checking whether $CXX supports -pthread... $ECHO_C" >&6; }
29460
kde_cache=`echo pthread | sed 'y% .=/+-,%____p__%'`
29461
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
29462
echo $ECHO_N "(cached) $ECHO_C" >&6
29467
ac_cpp='$CXXCPP $CPPFLAGS'
29468
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29469
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29470
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29472
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
29475
save_CXXFLAGS="$CXXFLAGS"
29476
CXXFLAGS="$CXXFLAGS -pthread"
29477
cat >conftest.$ac_ext <<_ACEOF
29480
cat confdefs.h >>conftest.$ac_ext
29481
cat >>conftest.$ac_ext <<_ACEOF
29482
/* end confdefs.h. */
29492
rm -f conftest.$ac_objext conftest$ac_exeext
29493
if { (ac_try="$ac_link"
29494
case "(($ac_try" in
29495
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29496
*) ac_try_echo=$ac_try;;
29498
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29499
(eval "$ac_link") 2>conftest.er1
29501
grep -v '^ *+' conftest.er1 >conftest.err
29503
cat conftest.err >&5
29504
echo "$as_me:$LINENO: \$? = $ac_status" >&5
29505
(exit $ac_status); } && {
29506
test -z "$ac_cxx_werror_flag" ||
29507
test ! -s conftest.err
29508
} && test -s conftest$ac_exeext &&
29509
$as_test_x conftest$ac_exeext; then
29510
eval "kde_cv_prog_cxx_$kde_cache=yes"
29512
echo "$as_me: failed program was:" >&5
29513
sed 's/^/| /' conftest.$ac_ext >&5
29518
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29519
conftest$ac_exeext conftest.$ac_ext
29520
CXXFLAGS="$save_CXXFLAGS"
29522
ac_cpp='$CPP $CPPFLAGS'
29523
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29524
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29525
ac_compiler_gnu=$ac_cv_c_compiler_gnu
29530
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
29531
{ echo "$as_me:$LINENO: result: yes" >&5
29532
echo "${ECHO_T}yes" >&6; }
29534
USE_THREADS="-D_THREAD_SAFE -pthread"
29536
{ echo "$as_me:$LINENO: result: no" >&5
29537
echo "${ECHO_T}no" >&6; }
29549
{ echo "$as_me:$LINENO: checking whether $CXX supports -mt" >&5
29550
echo $ECHO_N "checking whether $CXX supports -mt... $ECHO_C" >&6; }
29551
kde_cache=`echo mt | sed 'y% .=/+-,%____p__%'`
29552
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
29553
echo $ECHO_N "(cached) $ECHO_C" >&6
29558
ac_cpp='$CXXCPP $CPPFLAGS'
29559
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29560
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29561
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29563
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
29566
save_CXXFLAGS="$CXXFLAGS"
29567
CXXFLAGS="$CXXFLAGS -mt"
29568
cat >conftest.$ac_ext <<_ACEOF
29571
cat confdefs.h >>conftest.$ac_ext
29572
cat >>conftest.$ac_ext <<_ACEOF
29573
/* end confdefs.h. */
29583
rm -f conftest.$ac_objext conftest$ac_exeext
29584
if { (ac_try="$ac_link"
29585
case "(($ac_try" in
29586
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29587
*) ac_try_echo=$ac_try;;
29589
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29590
(eval "$ac_link") 2>conftest.er1
29592
grep -v '^ *+' conftest.er1 >conftest.err
29594
cat conftest.err >&5
29595
echo "$as_me:$LINENO: \$? = $ac_status" >&5
29596
(exit $ac_status); } && {
29597
test -z "$ac_cxx_werror_flag" ||
29598
test ! -s conftest.err
29599
} && test -s conftest$ac_exeext &&
29600
$as_test_x conftest$ac_exeext; then
29601
eval "kde_cv_prog_cxx_$kde_cache=yes"
29603
echo "$as_me: failed program was:" >&5
29604
sed 's/^/| /' conftest.$ac_ext >&5
29609
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29610
conftest$ac_exeext conftest.$ac_ext
29611
CXXFLAGS="$save_CXXFLAGS"
29613
ac_cpp='$CPP $CPPFLAGS'
29614
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29615
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29616
ac_compiler_gnu=$ac_cv_c_compiler_gnu
29621
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
29622
{ echo "$as_me:$LINENO: result: yes" >&5
29623
echo "${ECHO_T}yes" >&6; }
29627
{ echo "$as_me:$LINENO: result: no" >&5
29628
echo "${ECHO_T}no" >&6; }
29633
CPPFLAGS="$CPPFLAGS -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DSVR4"
29636
CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE $PTHREAD_CFLAGS"
29639
CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE"
29640
LIBPTHREAD="$LIBPTHREAD -lc_r"
29642
linux*) CPPFLAGS="$CPPFLAGS -D_REENTRANT"
29643
if test "$CXX" = "KCC"; then
29644
CXXFLAGS="$CXXFLAGS --thread_safe"
29645
NOOPT_CXXFLAGS="$NOOPT_CXXFLAGS --thread_safe"
29655
{ echo "$as_me:$LINENO: checking for extra includes" >&5
29656
echo $ECHO_N "checking for extra includes... $ECHO_C" >&6; }
29658
# Check whether --with-extra-includes was given.
29659
if test "${with_extra_includes+set}" = set; then
29660
withval=$with_extra_includes; kde_use_extra_includes="$withval"
29662
kde_use_extra_includes=NONE
29666
kde_extra_includes=
29667
if test -n "$kde_use_extra_includes" && \
29668
test "$kde_use_extra_includes" != "NONE"; then
29672
for dir in $kde_use_extra_includes; do
29673
kde_extra_includes="$kde_extra_includes $dir"
29674
USER_INCLUDES="$USER_INCLUDES -I$dir"
29677
kde_use_extra_includes="added"
29679
kde_use_extra_includes="no"
29683
{ echo "$as_me:$LINENO: result: $kde_use_extra_includes" >&5
29684
echo "${ECHO_T}$kde_use_extra_includes" >&6; }
29687
{ echo "$as_me:$LINENO: checking for extra libs" >&5
29688
echo $ECHO_N "checking for extra libs... $ECHO_C" >&6; }
29690
# Check whether --with-extra-libs was given.
29691
if test "${with_extra_libs+set}" = set; then
29692
withval=$with_extra_libs; kde_use_extra_libs=$withval
29694
kde_use_extra_libs=NONE
29698
if test -n "$kde_use_extra_libs" && \
29699
test "$kde_use_extra_libs" != "NONE"; then
29703
for dir in $kde_use_extra_libs; do
29704
kde_extra_libs="$kde_extra_libs $dir"
29705
KDE_EXTRA_RPATH="$KDE_EXTRA_RPATH -R $dir"
29706
USER_LDFLAGS="$USER_LDFLAGS -L$dir"
29709
kde_use_extra_libs="added"
29711
kde_use_extra_libs="no"
29716
{ echo "$as_me:$LINENO: result: $kde_use_extra_libs" >&5
29717
echo "${ECHO_T}$kde_use_extra_libs" >&6; }
29722
{ echo "$as_me:$LINENO: checking for libz" >&5
29723
echo $ECHO_N "checking for libz... $ECHO_C" >&6; }
29724
if test "${ac_cv_lib_z+set}" = set; then
29725
echo $ECHO_N "(cached) $ECHO_C" >&6
29728
kde_save_LIBS="$LIBS"
29729
LIBS="$all_libraries $USER_LDFLAGS -lz $LIBSOCKET"
29730
kde_save_CFLAGS="$CFLAGS"
29731
CFLAGS="$CFLAGS $all_includes $USER_INCLUDES"
29732
cat >conftest.$ac_ext <<_ACEOF
29735
cat confdefs.h >>conftest.$ac_ext
29736
cat >>conftest.$ac_ext <<_ACEOF
29737
/* end confdefs.h. */
29746
gzFile f = (gzFile) 0;
29747
/* this would segfault.. but we only link, don't run */
29748
(void) gzgets(f, buf, sizeof(buf));
29750
return (zlibVersion() == ZLIB_VERSION);
29756
rm -f conftest.$ac_objext conftest$ac_exeext
29757
if { (ac_try="$ac_link"
29758
case "(($ac_try" in
29759
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29760
*) ac_try_echo=$ac_try;;
29762
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29763
(eval "$ac_link") 2>conftest.er1
29765
grep -v '^ *+' conftest.er1 >conftest.err
29767
cat conftest.err >&5
29768
echo "$as_me:$LINENO: \$? = $ac_status" >&5
29769
(exit $ac_status); } && {
29770
test -z "$ac_c_werror_flag" ||
29771
test ! -s conftest.err
29772
} && test -s conftest$ac_exeext &&
29773
$as_test_x conftest$ac_exeext; then
29774
eval "ac_cv_lib_z='-lz'"
29776
echo "$as_me: failed program was:" >&5
29777
sed 's/^/| /' conftest.$ac_ext >&5
29779
eval "ac_cv_lib_z=no"
29782
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29783
conftest$ac_exeext conftest.$ac_ext
29784
LIBS="$kde_save_LIBS"
29785
CFLAGS="$kde_save_CFLAGS"
29788
if test ! "$ac_cv_lib_z" = no; then
29790
cat >>confdefs.h <<_ACEOF
29791
#define HAVE_LIBZ 1
29794
LIBZ="$ac_cv_lib_z"
29795
{ echo "$as_me:$LINENO: result: $ac_cv_lib_z" >&5
29796
echo "${ECHO_T}$ac_cv_lib_z" >&6; }
29798
{ { echo "$as_me:$LINENO: error: not found.
29799
Possibly configure picks up an outdated version
29800
installed by XFree86. Remove it from your system.
29802
Check your installation and look into config.log" >&5
29803
echo "$as_me: error: not found.
29804
Possibly configure picks up an outdated version
29805
installed by XFree86. Remove it from your system.
29807
Check your installation and look into config.log" >&2;}
29808
{ (exit 1); exit 1; }; }
29816
{ echo "$as_me:$LINENO: checking for libpng" >&5
29817
echo $ECHO_N "checking for libpng... $ECHO_C" >&6; }
29818
if test "${ac_cv_lib_png+set}" = set; then
29819
echo $ECHO_N "(cached) $ECHO_C" >&6
29822
kde_save_LIBS="$LIBS"
29823
if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then
29824
LIBS="$LIBS $all_libraries $USER_LDFLAGS -lpng $LIBZ -lm -lX11 $LIBSOCKET"
29826
LIBS="$LIBS $all_libraries $USER_LDFLAGS -lpng $LIBZ -lm"
29828
kde_save_CFLAGS="$CFLAGS"
29829
CFLAGS="$CFLAGS $all_includes $USER_INCLUDES"
29831
cat >conftest.$ac_ext <<_ACEOF
29834
cat confdefs.h >>conftest.$ac_ext
29835
cat >>conftest.$ac_ext <<_ACEOF
29836
/* end confdefs.h. */
29844
png_structp png_ptr = png_create_read_struct( /* image ptr */
29845
PNG_LIBPNG_VER_STRING, 0, 0, 0 );
29846
return( png_ptr != 0 );
29852
rm -f conftest.$ac_objext conftest$ac_exeext
29853
if { (ac_try="$ac_link"
29854
case "(($ac_try" in
29855
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29856
*) ac_try_echo=$ac_try;;
29858
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29859
(eval "$ac_link") 2>conftest.er1
29861
grep -v '^ *+' conftest.er1 >conftest.err
29863
cat conftest.err >&5
29864
echo "$as_me:$LINENO: \$? = $ac_status" >&5
29865
(exit $ac_status); } && {
29866
test -z "$ac_c_werror_flag" ||
29867
test ! -s conftest.err
29868
} && test -s conftest$ac_exeext &&
29869
$as_test_x conftest$ac_exeext; then
29870
eval "ac_cv_lib_png='-lpng $LIBZ -lm'"
29872
echo "$as_me: failed program was:" >&5
29873
sed 's/^/| /' conftest.$ac_ext >&5
29875
eval "ac_cv_lib_png=no"
29879
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29880
conftest$ac_exeext conftest.$ac_ext
29881
LIBS="$kde_save_LIBS"
29882
CFLAGS="$kde_save_CFLAGS"
29885
if eval "test ! \"`echo $ac_cv_lib_png`\" = no"; then
29887
cat >>confdefs.h <<_ACEOF
29888
#define HAVE_LIBPNG 1
29891
LIBPNG="$ac_cv_lib_png"
29893
{ echo "$as_me:$LINENO: result: $ac_cv_lib_png" >&5
29894
echo "${ECHO_T}$ac_cv_lib_png" >&6; }
29896
{ echo "$as_me:$LINENO: result: no" >&5
29897
echo "${ECHO_T}no" >&6; }
29904
{ echo "$as_me:$LINENO: checking for libjpeg6b" >&5
29905
echo $ECHO_N "checking for libjpeg6b... $ECHO_C" >&6; }
29906
if test "${ac_cv_lib_jpeg_6b+set}" = set; then
29907
echo $ECHO_N "(cached) $ECHO_C" >&6
29910
ac_save_LIBS="$LIBS"
29911
LIBS="$all_libraries $USER_LDFLAGS -ljpeg6b -lm"
29912
ac_save_CFLAGS="$CFLAGS"
29913
CFLAGS="$CFLAGS $all_includes $USER_INCLUDES"
29914
cat >conftest.$ac_ext <<_ACEOF
29917
cat confdefs.h >>conftest.$ac_ext
29918
cat >>conftest.$ac_ext <<_ACEOF
29919
/* end confdefs.h. */
29924
void jpeg_CreateDecompress();
29932
jpeg_CreateDecompress();
29937
rm -f conftest.$ac_objext conftest$ac_exeext
29938
if { (ac_try="$ac_link"
29939
case "(($ac_try" in
29940
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29941
*) ac_try_echo=$ac_try;;
29943
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29944
(eval "$ac_link") 2>conftest.er1
29946
grep -v '^ *+' conftest.er1 >conftest.err
29948
cat conftest.err >&5
29949
echo "$as_me:$LINENO: \$? = $ac_status" >&5
29950
(exit $ac_status); } && {
29951
test -z "$ac_c_werror_flag" ||
29952
test ! -s conftest.err
29953
} && test -s conftest$ac_exeext &&
29954
$as_test_x conftest$ac_exeext; then
29955
eval "ac_cv_lib_jpeg_6b=-ljpeg6b"
29957
echo "$as_me: failed program was:" >&5
29958
sed 's/^/| /' conftest.$ac_ext >&5
29960
eval "ac_cv_lib_jpeg_6b=no"
29963
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29964
conftest$ac_exeext conftest.$ac_ext
29965
LIBS="$ac_save_LIBS"
29966
CFLAGS="$ac_save_CFLAGS"
29971
if eval "test ! \"`echo $ac_cv_lib_jpeg_6b`\" = no"; then
29972
LIBJPEG="$ac_cv_lib_jpeg_6b"
29973
{ echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_6b" >&5
29974
echo "${ECHO_T}$ac_cv_lib_jpeg_6b" >&6; }
29976
{ echo "$as_me:$LINENO: result: no" >&5
29977
echo "${ECHO_T}no" >&6; }
29979
{ echo "$as_me:$LINENO: checking for libjpeg" >&5
29980
echo $ECHO_N "checking for libjpeg... $ECHO_C" >&6; }
29981
if test "${ac_cv_lib_jpeg_normal+set}" = set; then
29982
echo $ECHO_N "(cached) $ECHO_C" >&6
29985
ac_save_LIBS="$LIBS"
29986
LIBS="$all_libraries $USER_LDFLAGS -ljpeg -lm"
29987
ac_save_CFLAGS="$CFLAGS"
29988
CFLAGS="$CFLAGS $all_includes $USER_INCLUDES"
29989
cat >conftest.$ac_ext <<_ACEOF
29992
cat confdefs.h >>conftest.$ac_ext
29993
cat >>conftest.$ac_ext <<_ACEOF
29994
/* end confdefs.h. */
29999
void jpeg_CreateDecompress();
30007
jpeg_CreateDecompress();
30012
rm -f conftest.$ac_objext conftest$ac_exeext
30013
if { (ac_try="$ac_link"
30014
case "(($ac_try" in
30015
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30016
*) ac_try_echo=$ac_try;;
30018
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30019
(eval "$ac_link") 2>conftest.er1
30021
grep -v '^ *+' conftest.er1 >conftest.err
30023
cat conftest.err >&5
30024
echo "$as_me:$LINENO: \$? = $ac_status" >&5
30025
(exit $ac_status); } && {
30026
test -z "$ac_c_werror_flag" ||
30027
test ! -s conftest.err
30028
} && test -s conftest$ac_exeext &&
30029
$as_test_x conftest$ac_exeext; then
30030
eval "ac_cv_lib_jpeg_normal=-ljpeg"
30032
echo "$as_me: failed program was:" >&5
30033
sed 's/^/| /' conftest.$ac_ext >&5
30035
eval "ac_cv_lib_jpeg_normal=no"
30038
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30039
conftest$ac_exeext conftest.$ac_ext
30040
LIBS="$ac_save_LIBS"
30041
CFLAGS="$ac_save_CFLAGS"
30046
if eval "test ! \"`echo $ac_cv_lib_jpeg_normal`\" = no"; then
30047
LIBJPEG="$ac_cv_lib_jpeg_normal"
30048
{ echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_normal" >&5
30049
echo "${ECHO_T}$ac_cv_lib_jpeg_normal" >&6; }
30051
{ echo "$as_me:$LINENO: result: no" >&5
30052
echo "${ECHO_T}no" >&6; }
30065
jpeg_incdirs="$includedir /usr/include /usr/local/include $kde_extra_includes"
30068
for i in $jpeg_incdirs;
30070
for j in jpeglib.h;
30072
echo "configure: 30072: $i/$j" >&5
30073
if test -r "$i/$j"; then
30074
echo "taking that" >&5
30081
test "x$jpeg_incdir" = xNO && jpeg_incdir=
30083
if test -n "$jpeg_incdir" && test -n "$LIBJPEG" ; then
30085
cat >>confdefs.h <<_ACEOF
30086
#define HAVE_LIBJPEG 1
30090
if test -n "$jpeg_incdir" || test -n "$LIBJPEG" ; then
30091
{ echo "$as_me:$LINENO: WARNING:
30092
There is an installation error in jpeg support. You seem to have only one
30093
of either the headers _or_ the libraries installed. You may need to either
30094
provide correct --with-extra-... options, or the development package of
30095
libjpeg6b. You can get a source package of libjpeg from http://www.ijg.org/
30096
Disabling JPEG support.
30098
echo "$as_me: WARNING:
30099
There is an installation error in jpeg support. You seem to have only one
30100
of either the headers _or_ the libraries installed. You may need to either
30101
provide correct --with-extra-... options, or the development package of
30102
libjpeg6b. You can get a source package of libjpeg from http://www.ijg.org/
30103
Disabling JPEG support.
30106
{ echo "$as_me:$LINENO: WARNING: libjpeg not found. disable JPEG support." >&5
30107
echo "$as_me: WARNING: libjpeg not found. disable JPEG support." >&2;}
30119
{ echo "$as_me:$LINENO: checking for perl" >&5
30120
echo $ECHO_N "checking for perl... $ECHO_C" >&6; }
30121
if test -n "$PERL"; then
30122
kde_cv_path="$PERL";
30124
kde_cache=`echo perl | sed 'y%./+-%__p_%'`
30126
if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
30127
echo $ECHO_N "(cached) $ECHO_C" >&6
30134
for dir in $PATH; do
30137
if test -z ""; then dirs="$bindir $exec_prefix/bin $prefix/bin $dirs"
30138
else dirs="$dirs $bindir $exec_prefix/bin $prefix/bin"
30142
for dir in $dirs; do
30143
if test -x "$dir/perl"; then
30146
evalstr="$dir/perl 2>&1 "
30147
if eval $evalstr; then
30148
kde_cv_path="$dir/perl"
30152
kde_cv_path="$dir/perl"
30158
eval "kde_cv_path_$kde_cache=$kde_cv_path"
30164
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
30168
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
30169
{ echo "$as_me:$LINENO: result: not found" >&5
30170
echo "${ECHO_T}not found" >&6; }
30172
{ { echo "$as_me:$LINENO: error: No Perl found in your $PATH.
30173
We need perl to generate some code." >&5
30174
echo "$as_me: error: No Perl found in your $PATH.
30175
We need perl to generate some code." >&2;}
30176
{ (exit 1); exit 1; }; }
30179
{ echo "$as_me:$LINENO: result: $kde_cv_path" >&5
30180
echo "${ECHO_T}$kde_cv_path" >&6; }
30194
# Check whether --enable-mt was given.
30195
if test "${enable_mt+set}" = set; then
30196
enableval=$enable_mt; kde_use_qt_mt=$enableval
30199
if test $kde_qtver = 3; then
30214
if test "x$kde_use_qt_mt" = "xyes"; then
30218
if test -z "$LIBPTHREAD"; then
30219
if test -z "$USE_THREADS"; then
30220
kde_check_threading_default=no
30222
kde_check_threading_default=yes
30225
kde_check_threading_default=yes
30227
# Check whether --enable-threading was given.
30228
if test "${enable_threading+set}" = set; then
30229
enableval=$enable_threading; kde_use_threading=$enableval
30231
kde_use_threading=$kde_check_threading_default
30234
if test "x$kde_use_threading" = "xyes"; then
30236
cat >>confdefs.h <<\_ACEOF
30237
#define HAVE_LIBPTHREAD 1
30242
if test "x$kde_use_threading" = "xyes"; then
30243
CPPFLAGS="$USE_THREADS -DQT_THREAD_SUPPORT $CPPFLAGS"
30244
KDE_MT_LDFLAGS="$USE_THREADS"
30245
KDE_MT_LIBS="$LIBPTHREAD"
30253
kde_qt_was_given=yes
30255
if test -z "$LIBQT_GLOB"; then
30256
if test "x$kde_use_qt_emb" = "xyes"; then
30257
LIBQT_GLOB="libqte.*"
30259
LIBQT_GLOB="libqt.*"
30263
if test "x$kde_use_qt_emb" = "xyes"; then
30269
kde_int_qt="-l$qtlib"
30271
if test -z "$LIBQPE"; then
30272
if test "x$kde_use_qt_emb" = "xyes"; then
30273
if test "x$kde_use_qt_emb_palm" = "xyes"; then
30284
if test "x$kde_use_qt_mt" = "xyes"; then
30285
LIBQT="-l$qtlib-mt"
30286
kde_int_qt="-l$qtlib-mt"
30287
LIBQT_GLOB="lib$qtlib-mt.*"
30288
USING_QT_MT="using -mt"
30293
if test $kde_qtver != 1; then
30297
LIBQT="$LIBQT $LIBPNG $LIBJPEG"
30300
if test $kde_qtver = 3; then
30302
LIBQT="$LIBQT $LIBDL"
30305
{ echo "$as_me:$LINENO: checking for Qt" >&5
30306
echo $ECHO_N "checking for Qt... $ECHO_C" >&6; }
30308
if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then
30309
LIBQT="$LIBQT $X_PRE_LIBS -lXext -lX11 $LIBSM $LIBSOCKET"
30311
ac_qt_includes=NO ac_qt_libraries=NO ac_qt_bindir=NO
30315
# Check whether --with-qt-dir was given.
30316
if test "${with_qt_dir+set}" = set; then
30317
withval=$with_qt_dir; ac_qt_includes="$withval"/include
30318
ac_qt_libraries="$withval"/lib${kdelibsuff}
30319
ac_qt_bindir="$withval"/bin
30325
# Check whether --with-qt-includes was given.
30326
if test "${with_qt_includes+set}" = set; then
30327
withval=$with_qt_includes;
30328
ac_qt_includes="$withval"
30333
kde_qt_libs_given=no
30336
# Check whether --with-qt-libraries was given.
30337
if test "${with_qt_libraries+set}" = set; then
30338
withval=$with_qt_libraries; ac_qt_libraries="$withval"
30339
kde_qt_libs_given=yes
30344
if test "${ac_cv_have_qt+set}" = set; then
30345
echo $ECHO_N "(cached) $ECHO_C" >&6
30347
#try to guess Qt locations
30350
for dir in $kde_qt_dirs; do
30351
qt_incdirs="$qt_incdirs $dir/include $dir"
30353
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"
30354
if test ! "$ac_qt_includes" = "NO"; then
30355
qt_incdirs="$ac_qt_includes $qt_incdirs"
30358
if test "$kde_qtver" != "1"; then
30359
kde_qt_header=qstyle.h
30361
kde_qt_header=qglobal.h
30366
for i in $qt_incdirs;
30368
for j in $kde_qt_header;
30370
echo "configure: 30370: $i/$j" >&5
30371
if test -r "$i/$j"; then
30372
echo "taking that" >&5
30379
ac_qt_includes="$qt_incdir"
30382
for dir in $kde_qt_dirs; do
30383
qt_libdirs="$qt_libdirs $dir/lib${kdelibsuff} $dir"
30385
qt_libdirs="$QTLIB $qt_libdirs /usr/X11R6/lib /usr/lib /usr/local/qt/lib $x_libraries"
30386
if test ! "$ac_qt_libraries" = "NO"; then
30387
qt_libdir=$ac_qt_libraries
30389
qt_libdirs="$ac_qt_libraries $qt_libdirs"
30390
# if the Qt was given, the chance is too big that libqt.* doesn't exist
30392
for dir in $qt_libdirs; do
30393
try="ls -1 $dir/${LIBQT_GLOB}"
30394
if test -n "`$try 2> /dev/null`"; then qt_libdir=$dir; break; else echo "tried $dir" >&5 ; fi
30397
for a in $qt_libdir/lib`echo ${kde_int_qt} | sed 's,^-l,,'`_incremental.*; do
30398
if test -e "$a"; then
30399
LIBQT="$LIBQT ${kde_int_qt}_incremental"
30404
ac_qt_libraries="$qt_libdir"
30408
ac_cpp='$CXXCPP $CPPFLAGS'
30409
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30410
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30411
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30413
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
30417
ac_cxxflags_safe="$CXXFLAGS"
30418
ac_ldflags_safe="$LDFLAGS"
30419
ac_libs_safe="$LIBS"
30421
CXXFLAGS="$CXXFLAGS -I$qt_incdir $all_includes"
30422
LDFLAGS="$LDFLAGS -L$qt_libdir $all_libraries $USER_LDFLAGS $KDE_MT_LDFLAGS"
30423
LIBS="$LIBS $LIBQT $KDE_MT_LIBS"
30427
cat > conftest.$ac_ext <<EOF
30428
#include "confdefs.h"
30429
#include <qglobal.h>
30430
#include <qapplication.h>
30432
if test "$kde_qtver" = "2"; then
30433
cat >> conftest.$ac_ext <<EOF
30434
#include <qevent.h>
30435
#include <qstring.h>
30436
#include <qstyle.h>
30439
if test $kde_qtsubver -gt 0; then
30440
cat >> conftest.$ac_ext <<EOF
30441
#if QT_VERSION < 210
30448
if test "$kde_qtver" = "3"; then
30449
cat >> conftest.$ac_ext <<EOF
30450
#include <qcursor.h>
30451
#include <qstylefactory.h>
30452
#include <private/qucomextra_p.h>
30456
echo "#if ! ($kde_qt_verstring)" >> conftest.$ac_ext
30457
cat >> conftest.$ac_ext <<EOF
30463
if test "$kde_qtver" = "2"; then
30464
cat >> conftest.$ac_ext <<EOF
30465
QStringList *t = new QStringList();
30468
if test $kde_qtsubver -gt 0; then
30469
cat >> conftest.$ac_ext <<EOF
30471
s.setLatin1("Elvis is alive", 14);
30475
if test "$kde_qtver" = "3"; then
30476
cat >> conftest.$ac_ext <<EOF
30477
(void)QStyleFactory::create(QString::null);
30478
QCursor c(Qt::WhatsThisCursor);
30481
cat >> conftest.$ac_ext <<EOF
30487
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30488
(eval $ac_link) 2>&5
30490
echo "$as_me:$LINENO: \$? = $ac_status" >&5
30491
(exit $ac_status); } && test -s conftest; then
30494
echo "configure: failed program was:" >&5
30495
cat conftest.$ac_ext >&5
30496
ac_qt_libraries="NO"
30499
CXXFLAGS="$ac_cxxflags_safe"
30500
LDFLAGS="$ac_ldflags_safe"
30501
LIBS="$ac_libs_safe"
30504
ac_cpp='$CPP $CPPFLAGS'
30505
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30506
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30507
ac_compiler_gnu=$ac_cv_c_compiler_gnu
30509
if test "$ac_qt_includes" = NO || test "$ac_qt_libraries" = NO; then
30510
ac_cv_have_qt="have_qt=no"
30513
if test "$ac_qt_includes" = NO; then
30514
if test "$ac_qt_libraries" = NO; then
30515
ac_qt_notfound="(headers and libraries)";
30517
ac_qt_notfound="(headers)";
30520
if test "x$kde_use_qt_mt" = "xyes"; then
30522
Make sure that you have compiled Qt with thread support!"
30523
ac_qt_notfound="(library $qtlib-mt)";
30525
ac_qt_notfound="(library $qtlib)";
30529
{ { echo "$as_me:$LINENO: error: Qt ($kde_qt_minversion) $ac_qt_notfound not found. Please check your installation!
30530
For more details about this problem, look at the end of config.log.$missing_qt_mt" >&5
30531
echo "$as_me: error: Qt ($kde_qt_minversion) $ac_qt_notfound not found. Please check your installation!
30532
For more details about this problem, look at the end of config.log.$missing_qt_mt" >&2;}
30533
{ (exit 1); exit 1; }; }
30541
eval "$ac_cv_have_qt"
30543
if test "$have_qt" != yes; then
30544
{ echo "$as_me:$LINENO: result: $have_qt" >&5
30545
echo "${ECHO_T}$have_qt" >&6; };
30547
ac_cv_have_qt="have_qt=yes \
30548
ac_qt_includes=$ac_qt_includes ac_qt_libraries=$ac_qt_libraries"
30549
{ echo "$as_me:$LINENO: result: libraries $ac_qt_libraries, headers $ac_qt_includes $USING_QT_MT" >&5
30550
echo "${ECHO_T}libraries $ac_qt_libraries, headers $ac_qt_includes $USING_QT_MT" >&6; }
30552
qt_libraries="$ac_qt_libraries"
30553
qt_includes="$ac_qt_includes"
30556
if test ! "$kde_qt_libs_given" = "yes" && test ! "$kde_qtver" = 3; then
30559
{ echo "$as_me:$LINENO: checking if Qt compiles without flags" >&5
30560
echo $ECHO_N "checking if Qt compiles without flags... $ECHO_C" >&6; }
30561
if test "${kde_cv_qt_direct+set}" = set; then
30562
echo $ECHO_N "(cached) $ECHO_C" >&6
30567
ac_cpp='$CXXCPP $CPPFLAGS'
30568
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30569
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30570
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30572
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
30575
ac_LD_LIBRARY_PATH_safe=$LD_LIBRARY_PATH
30576
ac_LIBRARY_PATH="$LIBRARY_PATH"
30577
ac_cxxflags_safe="$CXXFLAGS"
30578
ac_ldflags_safe="$LDFLAGS"
30579
ac_libs_safe="$LIBS"
30581
CXXFLAGS="$CXXFLAGS -I$qt_includes"
30582
LDFLAGS="$LDFLAGS $X_LDFLAGS"
30583
if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then
30584
LIBS="$LIBQT -lXext -lX11 $LIBSOCKET"
30586
LIBS="$LIBQT $LIBSOCKET"
30589
export LD_LIBRARY_PATH
30591
export LIBRARY_PATH
30595
cat > conftest.$ac_ext <<EOF
30596
#include "confdefs.h"
30597
#include <qglobal.h>
30598
#include <qapplication.h>
30600
if test "$kde_qtver" = "2"; then
30601
cat >> conftest.$ac_ext <<EOF
30602
#include <qevent.h>
30603
#include <qstring.h>
30604
#include <qstyle.h>
30607
if test $kde_qtsubver -gt 0; then
30608
cat >> conftest.$ac_ext <<EOF
30609
#if QT_VERSION < 210
30616
if test "$kde_qtver" = "3"; then
30617
cat >> conftest.$ac_ext <<EOF
30618
#include <qcursor.h>
30619
#include <qstylefactory.h>
30620
#include <private/qucomextra_p.h>
30624
echo "#if ! ($kde_qt_verstring)" >> conftest.$ac_ext
30625
cat >> conftest.$ac_ext <<EOF
30631
if test "$kde_qtver" = "2"; then
30632
cat >> conftest.$ac_ext <<EOF
30633
QStringList *t = new QStringList();
30636
if test $kde_qtsubver -gt 0; then
30637
cat >> conftest.$ac_ext <<EOF
30639
s.setLatin1("Elvis is alive", 14);
30643
if test "$kde_qtver" = "3"; then
30644
cat >> conftest.$ac_ext <<EOF
30645
(void)QStyleFactory::create(QString::null);
30646
QCursor c(Qt::WhatsThisCursor);
30649
cat >> conftest.$ac_ext <<EOF
30655
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30656
(eval $ac_link) 2>&5
30658
echo "$as_me:$LINENO: \$? = $ac_status" >&5
30659
(exit $ac_status); } && test -s conftest; then
30660
kde_cv_qt_direct="yes"
30662
kde_cv_qt_direct="no"
30663
echo "configure: failed program was:" >&5
30664
cat conftest.$ac_ext >&5
30668
CXXFLAGS="$ac_cxxflags_safe"
30669
LDFLAGS="$ac_ldflags_safe"
30670
LIBS="$ac_libs_safe"
30672
LD_LIBRARY_PATH="$ac_LD_LIBRARY_PATH_safe"
30673
export LD_LIBRARY_PATH
30674
LIBRARY_PATH="$ac_LIBRARY_PATH"
30675
export LIBRARY_PATH
30677
ac_cpp='$CPP $CPPFLAGS'
30678
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30679
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30680
ac_compiler_gnu=$ac_cv_c_compiler_gnu
30686
if test "$kde_cv_qt_direct" = "yes"; then
30687
{ echo "$as_me:$LINENO: result: yes" >&5
30688
echo "${ECHO_T}yes" >&6; }
30691
{ echo "$as_me:$LINENO: result: no" >&5
30692
echo "${ECHO_T}no" >&6; }
30701
if test "$qt_includes" = "$x_includes" || test -z "$qt_includes"; then
30704
QT_INCLUDES="-I$qt_includes"
30705
all_includes="$QT_INCLUDES $all_includes"
30708
if test "$qt_libraries" = "$x_libraries" || test -z "$qt_libraries"; then
30711
QT_LDFLAGS="-L$qt_libraries"
30712
all_libraries="$QT_LDFLAGS $all_libraries"
30714
test -z "$KDE_MT_LDFLAGS" || all_libraries="$all_libraries $KDE_MT_LDFLAGS"
30721
for dir in $kde_qt_dirs; do
30722
qt_bindirs="$qt_bindirs $dir/bin $dir/src/moc"
30724
qt_bindirs="$qt_bindirs /usr/bin /usr/X11R6/bin /usr/local/qt/bin"
30725
if test ! "$ac_qt_bindir" = "NO"; then
30726
qt_bindirs="$ac_qt_bindir $qt_bindirs"
30730
{ echo "$as_me:$LINENO: checking for moc" >&5
30731
echo $ECHO_N "checking for moc... $ECHO_C" >&6; }
30732
if test -n "$MOC"; then
30733
kde_cv_path="$MOC";
30735
kde_cache=`echo moc | sed 'y%./+-%__p_%'`
30737
if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
30738
echo $ECHO_N "(cached) $ECHO_C" >&6
30745
for dir in $PATH; do
30748
if test -z ""; then dirs="$qt_bindirs $dirs"
30749
else dirs="$dirs $qt_bindirs"
30753
for dir in $dirs; do
30754
if test -x "$dir/moc"; then
30757
evalstr="$dir/moc 2>&1 "
30758
if eval $evalstr; then
30759
kde_cv_path="$dir/moc"
30763
kde_cv_path="$dir/moc"
30769
eval "kde_cv_path_$kde_cache=$kde_cv_path"
30775
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
30779
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
30780
{ echo "$as_me:$LINENO: result: not found" >&5
30781
echo "${ECHO_T}not found" >&6; }
30783
{ { echo "$as_me:$LINENO: error: No Qt meta object compiler (moc) found!
30784
Please check whether you installed Qt correctly.
30785
You need to have a running moc binary.
30786
configure tried to run $ac_cv_path_moc and the test didn't
30787
succeed. If configure shouldn't have tried this one, set
30788
the environment variable MOC to the right one before running
30791
echo "$as_me: error: No Qt meta object compiler (moc) found!
30792
Please check whether you installed Qt correctly.
30793
You need to have a running moc binary.
30794
configure tried to run $ac_cv_path_moc and the test didn't
30795
succeed. If configure shouldn't have tried this one, set
30796
the environment variable MOC to the right one before running
30799
{ (exit 1); exit 1; }; }
30802
{ echo "$as_me:$LINENO: result: $kde_cv_path" >&5
30803
echo "${ECHO_T}$kde_cv_path" >&6; }
30808
if test -z "$UIC_NOT_NEEDED"; then
30810
{ echo "$as_me:$LINENO: checking for uic" >&5
30811
echo $ECHO_N "checking for uic... $ECHO_C" >&6; }
30812
if test -n "$UIC_PATH"; then
30813
kde_cv_path="$UIC_PATH";
30815
kde_cache=`echo uic | sed 'y%./+-%__p_%'`
30817
if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
30818
echo $ECHO_N "(cached) $ECHO_C" >&6
30825
for dir in $PATH; do
30828
if test -z ""; then dirs="$qt_bindirs $dirs"
30829
else dirs="$dirs $qt_bindirs"
30833
for dir in $dirs; do
30834
if test -x "$dir/uic"; then
30837
evalstr="$dir/uic 2>&1 "
30838
if eval $evalstr; then
30839
kde_cv_path="$dir/uic"
30843
kde_cv_path="$dir/uic"
30849
eval "kde_cv_path_$kde_cache=$kde_cv_path"
30855
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
30859
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
30860
{ echo "$as_me:$LINENO: result: not found" >&5
30861
echo "${ECHO_T}not found" >&6; }
30864
{ echo "$as_me:$LINENO: result: $kde_cv_path" >&5
30865
echo "${ECHO_T}$kde_cv_path" >&6; }
30866
UIC_PATH=$kde_cv_path
30870
if test -z "$UIC_PATH" ; then
30872
{ echo "$as_me:$LINENO: WARNING: No Qt ui compiler (uic) found!
30873
Please check whether you installed Qt correctly.
30874
You need to have a running uic binary.
30875
configure tried to run $ac_cv_path_uic and the test didn't
30876
succeed. If configure shouldn't have tried this one, set
30877
the environment variable UIC to the right one before running
30880
echo "$as_me: WARNING: No Qt ui compiler (uic) found!
30881
Please check whether you installed Qt correctly.
30882
You need to have a running uic binary.
30883
configure tried to run $ac_cv_path_uic and the test didn't
30884
succeed. If configure shouldn't have tried this one, set
30885
the environment variable UIC to the right one before running
30893
if test $kde_qtver = 3; then
30895
{ echo "$as_me:$LINENO: checking whether uic supports -L " >&5
30896
echo $ECHO_N "checking whether uic supports -L ... $ECHO_C" >&6; }
30897
kde_cache=`echo L | sed 'y% .=/+-%____p_%'`
30898
if { as_var=kde_cv_prog_uic_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
30899
echo $ECHO_N "(cached) $ECHO_C" >&6
30902
cat >conftest.ui <<EOT
30903
<!DOCTYPE UI><UI version="3" stdsetdef="1"></UI>
30905
ac_uic_testrun="$UIC_PATH -L /nonexistent conftest.ui >/dev/null"
30906
if { (eval echo "$as_me:$LINENO: \"$ac_uic_testrun\"") >&5
30907
(eval $ac_uic_testrun) 2>&5
30909
echo "$as_me:$LINENO: \$? = $ac_status" >&5
30910
(exit $ac_status); }; then
30911
eval "kde_cv_prog_uic_$kde_cache=yes"
30913
eval "kde_cv_prog_uic_$kde_cache=no"
30920
if eval "test \"`echo '$kde_cv_prog_uic_'$kde_cache`\" = yes"; then
30921
{ echo "$as_me:$LINENO: result: yes" >&5
30922
echo "${ECHO_T}yes" >&6; }
30924
ac_uic_supports_libpath=yes
30926
{ echo "$as_me:$LINENO: result: no" >&5
30927
echo "${ECHO_T}no" >&6; }
30929
ac_uic_supports_libpath=no
30933
{ echo "$as_me:$LINENO: checking whether uic supports -nounload " >&5
30934
echo $ECHO_N "checking whether uic supports -nounload ... $ECHO_C" >&6; }
30935
kde_cache=`echo nounload | sed 'y% .=/+-%____p_%'`
30936
if { as_var=kde_cv_prog_uic_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
30937
echo $ECHO_N "(cached) $ECHO_C" >&6
30940
cat >conftest.ui <<EOT
30941
<!DOCTYPE UI><UI version="3" stdsetdef="1"></UI>
30943
ac_uic_testrun="$UIC_PATH -nounload conftest.ui >/dev/null"
30944
if { (eval echo "$as_me:$LINENO: \"$ac_uic_testrun\"") >&5
30945
(eval $ac_uic_testrun) 2>&5
30947
echo "$as_me:$LINENO: \$? = $ac_status" >&5
30948
(exit $ac_status); }; then
30949
eval "kde_cv_prog_uic_$kde_cache=yes"
30951
eval "kde_cv_prog_uic_$kde_cache=no"
30958
if eval "test \"`echo '$kde_cv_prog_uic_'$kde_cache`\" = yes"; then
30959
{ echo "$as_me:$LINENO: result: yes" >&5
30960
echo "${ECHO_T}yes" >&6; }
30962
ac_uic_supports_nounload=yes
30964
{ echo "$as_me:$LINENO: result: no" >&5
30965
echo "${ECHO_T}no" >&6; }
30967
ac_uic_supports_nounload=no
30971
if test x$ac_uic_supports_libpath = xyes; then
30972
UIC="$UIC -L \$(kde_widgetdir)"
30974
if test x$ac_uic_supports_nounload = xyes; then
30975
UIC="$UIC -nounload"
30980
UIC="echo uic not available: "
30987
if test $kde_qtver = 3; then
30995
if test -n "$LIBJPEG"; then
30996
{ echo "$as_me:$LINENO: checking if Qt needs $LIBJPEG" >&5
30997
echo $ECHO_N "checking if Qt needs $LIBJPEG... $ECHO_C" >&6; }
30998
if test "${kde_cv_qt_jpeg+set}" = set; then
30999
echo $ECHO_N "(cached) $ECHO_C" >&6
31004
ac_cpp='$CXXCPP $CPPFLAGS'
31005
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31006
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31007
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31009
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
31012
ac_save_LIBS="$LIBS"
31013
LIBS="$all_libraries $USER_LDFLAGS $LIBQT"
31014
LIBS=`echo $LIBS | sed "s/$LIBJPEG//"`
31015
ac_save_CXXFLAGS="$CXXFLAGS"
31016
CXXFLAGS="$CXXFLAGS $all_includes $USER_INCLUDES"
31017
cat >conftest.$ac_ext <<_ACEOF
31020
cat confdefs.h >>conftest.$ac_ext
31021
cat >>conftest.$ac_ext <<_ACEOF
31022
/* end confdefs.h. */
31023
#include <qapplication.h>
31030
QApplication app(argc, argv);
31035
rm -f conftest.$ac_objext conftest$ac_exeext
31036
if { (ac_try="$ac_link"
31037
case "(($ac_try" in
31038
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31039
*) ac_try_echo=$ac_try;;
31041
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31042
(eval "$ac_link") 2>conftest.er1
31044
grep -v '^ *+' conftest.er1 >conftest.err
31046
cat conftest.err >&5
31047
echo "$as_me:$LINENO: \$? = $ac_status" >&5
31048
(exit $ac_status); } && {
31049
test -z "$ac_cxx_werror_flag" ||
31050
test ! -s conftest.err
31051
} && test -s conftest$ac_exeext &&
31052
$as_test_x conftest$ac_exeext; then
31053
eval "kde_cv_qt_jpeg=no"
31055
echo "$as_me: failed program was:" >&5
31056
sed 's/^/| /' conftest.$ac_ext >&5
31058
eval "kde_cv_qt_jpeg=yes"
31061
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31062
conftest$ac_exeext conftest.$ac_ext
31063
LIBS="$ac_save_LIBS"
31064
CXXFLAGS="$ac_save_CXXFLAGS"
31066
ac_cpp='$CPP $CPPFLAGS'
31067
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31068
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31069
ac_compiler_gnu=$ac_cv_c_compiler_gnu
31076
if eval "test ! \"`echo $kde_cv_qt_jpeg`\" = no"; then
31077
{ echo "$as_me:$LINENO: result: yes" >&5
31078
echo "${ECHO_T}yes" >&6; }
31079
LIBJPEG_QT='$(LIBJPEG)'
31081
{ echo "$as_me:$LINENO: result: no" >&5
31082
echo "${ECHO_T}no" >&6; }
31088
if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then
31089
LIB_QT="$kde_int_qt $LIBJPEG_QT "'$(LIBZ) $(LIBPNG) -lXext $(LIB_X11) $(LIBSM)'
31091
LIB_QT="$kde_int_qt $LIBJPEG_QT "'$(LIBZ) $(LIBPNG)'
31093
test -z "$KDE_MT_LIBS" || LIB_QT="$LIB_QT $KDE_MT_LIBS"
31094
for a in $qt_libdir/lib`echo ${kde_int_qt} | sed 's,^-l,,'`_incremental.*; do
31095
if test -e "$a"; then
31096
LIB_QT="$LIB_QT ${kde_int_qt}_incremental"
31113
{ echo "$as_me:$LINENO: checking for rpath" >&5
31114
echo $ECHO_N "checking for rpath... $ECHO_C" >&6; }
31115
# Check whether --enable-rpath was given.
31116
if test "${enable_rpath+set}" = set; then
31117
enableval=$enable_rpath; USE_RPATH=$enableval
31123
if test -z "$KDE_RPATH" && test "$USE_RPATH" = "yes"; then
31125
KDE_RPATH="-R \$(libdir)"
31127
if test "$kde_libraries" != "$libdir"; then
31128
KDE_RPATH="$KDE_RPATH -R \$(kde_libraries)"
31131
if test -n "$qt_libraries"; then
31132
KDE_RPATH="$KDE_RPATH -R \$(qt_libraries)"
31134
if test -n "$X_LDFLAGS"; then
31135
X_RPATH="-R \$(x_libraries)"
31136
KDE_RPATH="$KDE_RPATH $X_RPATH"
31138
if test -n "$KDE_EXTRA_RPATH"; then
31139
KDE_RPATH="$KDE_RPATH \$(KDE_EXTRA_RPATH)"
31145
{ echo "$as_me:$LINENO: result: $USE_RPATH" >&5
31146
echo "${ECHO_T}$USE_RPATH" >&6; }
31148
{ echo "$as_me:$LINENO: checking for KDE" >&5
31149
echo $ECHO_N "checking for KDE... $ECHO_C" >&6; }
31151
if test "${prefix}" != NONE; then
31152
kde_includes=${includedir}
31155
test "x$exec_prefix" = xNONE && exec_prefix=$prefix
31157
while ac_kde_includes=`eval echo "$tmp"`; test "x$ac_kde_includes" != "x$tmp"; do tmp=$ac_kde_includes; done
31161
kde_libraries=${libdir}
31164
test "x$exec_prefix" = xNONE && exec_prefix=$prefix
31166
while ac_kde_libraries=`eval echo "$tmp"`; test "x$ac_kde_libraries" != "x$tmp"; do tmp=$ac_kde_libraries; done
31177
if test "${ac_cv_have_kde+set}" = set; then
31178
echo $ECHO_N "(cached) $ECHO_C" >&6
31180
#try to guess kde locations
31182
if test "$kde_qtver" = 1; then
31183
kde_check_header="ksock.h"
31184
kde_check_lib="libkdecore.la"
31186
kde_check_header="ksharedptr.h"
31187
kde_check_lib="libkio.la"
31190
if test -z ""; then
31192
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"
31193
test -n "$KDEDIR" && kde_incdirs="$KDEDIR/include $KDEDIR/include/kde $KDEDIR $kde_incdirs"
31194
kde_incdirs="$ac_kde_includes $kde_incdirs"
31197
for i in $kde_incdirs;
31199
for j in $kde_check_header;
31201
echo "configure: 31201: $i/$j" >&5
31202
if test -r "$i/$j"; then
31203
echo "taking that" >&5
31210
ac_kde_includes="$kde_incdir"
31212
if test -n "$ac_kde_includes" && test ! -r "$ac_kde_includes/$kde_check_header"; then
31213
{ { echo "$as_me:$LINENO: error:
31214
in the prefix, you've chosen, are no KDE headers installed. This will fail.
31215
So, check this please and use another prefix!" >&5
31216
echo "$as_me: error:
31217
in the prefix, you've chosen, are no KDE headers installed. This will fail.
31218
So, check this please and use another prefix!" >&2;}
31219
{ (exit 1); exit 1; }; }
31222
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}"
31223
test -n "$KDEDIR" && kde_libdirs="$KDEDIR/lib${kdelibsuff} $KDEDIR $kde_libdirs"
31224
kde_libdirs="$ac_kde_libraries $libdir $kde_libdirs"
31227
for i in $kde_libdirs;
31229
for j in $kde_check_lib;
31231
echo "configure: 31231: $i/$j" >&5
31232
if test -r "$i/$j"; then
31233
echo "taking that" >&5
31240
ac_kde_libraries="$kde_libdir"
31245
for i in $kde_libdirs;
31247
for j in "kde3/plugins/designer/kdewidgets.la";
31249
echo "configure: 31249: $i/$j" >&5
31250
if test -r "$i/$j"; then
31251
echo "taking that" >&5
31259
if test -n "$ac_kde_libraries" && test ! -r "$ac_kde_libraries/$kde_check_lib"; then
31260
{ { echo "$as_me:$LINENO: error:
31261
in the prefix, you've chosen, are no KDE libraries installed. This will fail.
31262
So, check this please and use another prefix!" >&5
31263
echo "$as_me: error:
31264
in the prefix, you've chosen, are no KDE libraries installed. This will fail.
31265
So, check this please and use another prefix!" >&2;}
31266
{ (exit 1); exit 1; }; }
31269
if test -n "$kde_widgetdir" && test ! -r "$kde_widgetdir/kde3/plugins/designer/kdewidgets.la"; then
31270
{ { echo "$as_me:$LINENO: error:
31271
I can't find the designer plugins. These are required and should have been installed
31273
echo "$as_me: error:
31274
I can't find the designer plugins. These are required and should have been installed
31276
{ (exit 1); exit 1; }; }
31279
if test -n "$kde_widgetdir"; then
31280
kde_widgetdir="$kde_widgetdir/kde3/plugins/designer"
31284
if test "$ac_kde_includes" = NO || test "$ac_kde_libraries" = NO || test "$kde_widgetdir" = NO; then
31285
ac_cv_have_kde="have_kde=no"
31287
ac_cv_have_kde="have_kde=yes \
31288
ac_kde_includes=$ac_kde_includes ac_kde_libraries=$ac_kde_libraries"
31292
ac_cv_have_kde="have_kde=no"
31298
eval "$ac_cv_have_kde"
31300
if test "$have_kde" != "yes"; then
31301
if test "${prefix}" = NONE; then
31302
ac_kde_prefix="$ac_default_prefix"
31304
ac_kde_prefix="$prefix"
31306
if test "$exec_prefix" = NONE; then
31307
ac_kde_exec_prefix="$ac_kde_prefix"
31308
{ echo "$as_me:$LINENO: result: will be installed in $ac_kde_prefix" >&5
31309
echo "${ECHO_T}will be installed in $ac_kde_prefix" >&6; }
31311
ac_kde_exec_prefix="$exec_prefix"
31312
{ echo "$as_me:$LINENO: result: will be installed in $ac_kde_prefix and $ac_kde_exec_prefix" >&5
31313
echo "${ECHO_T}will be installed in $ac_kde_prefix and $ac_kde_exec_prefix" >&6; }
31316
kde_libraries="${libdir}"
31317
kde_includes="${includedir}"
31320
ac_cv_have_kde="have_kde=yes \
31321
ac_kde_includes=$ac_kde_includes ac_kde_libraries=$ac_kde_libraries"
31322
{ echo "$as_me:$LINENO: result: libraries $ac_kde_libraries, headers $ac_kde_includes" >&5
31323
echo "${ECHO_T}libraries $ac_kde_libraries, headers $ac_kde_includes" >&6; }
31325
kde_libraries="$ac_kde_libraries"
31326
kde_includes="$ac_kde_includes"
31331
if test "$kde_includes" = "$x_includes" || test "$kde_includes" = "$qt_includes" || test "$kde_includes" = "/usr/include"; then
31334
KDE_INCLUDES="-I$kde_includes"
31335
all_includes="$KDE_INCLUDES $all_includes"
31338
KDE_DEFAULT_CXXFLAGS="-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION"
31340
KDE_LDFLAGS="-L$kde_libraries"
31341
if test ! "$kde_libraries" = "$x_libraries" && test ! "$kde_libraries" = "$qt_libraries" ; then
31342
all_libraries="$KDE_LDFLAGS $all_libraries"
31350
all_libraries="$all_libraries $USER_LDFLAGS"
31351
all_includes="$all_includes $USER_INCLUDES"
31355
if test -z ""; then
31359
if test x$ac_uic_supports_libpath = xyes; then
31361
{ echo "$as_me:$LINENO: checking if UIC has KDE plugins available" >&5
31362
echo $ECHO_N "checking if UIC has KDE plugins available... $ECHO_C" >&6; }
31363
if test "${kde_cv_uic_plugins+set}" = set; then
31364
echo $ECHO_N "(cached) $ECHO_C" >&6
31367
cat > actest.ui << EOF
31368
<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
31369
<class>NewConnectionDialog</class>
31370
<widget class="QDialog">
31371
<widget class="KLineEdit">
31372
<property name="name">
31373
<cstring>testInput</cstring>
31382
kde_cv_uic_plugins=no
31383
kde_line="$UIC_PATH -L $kde_widgetdir"
31384
if test x$ac_uic_supports_nounload = xyes; then
31385
kde_line="$kde_line -nounload"
31387
kde_line="$kde_line -impl actest.h actest.ui > actest.cpp"
31388
if { (eval echo "$as_me:$LINENO: \"$kde_line\"") >&5
31389
(eval $kde_line) 2>&5
31391
echo "$as_me:$LINENO: \$? = $ac_status" >&5
31392
(exit $ac_status); }; then
31393
# if you're trying to debug this check and think it's incorrect,
31394
# better check your installation. The check _is_ correct - your
31395
# installation is not.
31396
if test -f actest.cpp && grep klineedit actest.cpp > /dev/null; then
31397
kde_cv_uic_plugins=yes
31400
rm -f actest.ui actest.cpp
31405
{ echo "$as_me:$LINENO: result: $kde_cv_uic_plugins" >&5
31406
echo "${ECHO_T}$kde_cv_uic_plugins" >&6; }
31407
if test "$kde_cv_uic_plugins" != yes; then
31408
{ { echo "$as_me:$LINENO: error:
31409
you need to install kdelibs first.
31411
If you did install kdelibs, then the Qt version that is picked up by
31412
this configure is not the same version you used to compile kdelibs.
31413
The Qt Plugin installed by kdelibs is *ONLY* loadable if it is the
31414
_same Qt version_, compiled with the _same compiler_ and the same Qt
31415
configuration settings.
31417
echo "$as_me: error:
31418
you need to install kdelibs first.
31420
If you did install kdelibs, then the Qt version that is picked up by
31421
this configure is not the same version you used to compile kdelibs.
31422
The Qt Plugin installed by kdelibs is *ONLY* loadable if it is the
31423
_same Qt version_, compiled with the _same compiler_ and the same Qt
31424
configuration settings.
31426
{ (exit 1); exit 1; }; }
31432
ac_kde_libraries="$kde_libdir"
31438
# Check whether --enable-path-check was given.
31439
if test "${enable_path_check+set}" = set; then
31440
enableval=$enable_path_check;
31441
if test "$enableval" = "no";
31442
then ac_use_path_checking="default"
31443
else ac_use_path_checking=""
31448
if test "$kde_qtver" = 1;
31449
then ac_use_path_checking=""
31450
else ac_use_path_checking="default"
31460
{ echo "$as_me:$LINENO: checking for KDE paths" >&5
31461
echo $ECHO_N "checking for KDE paths... $ECHO_C" >&6; }
31463
kde_cached_paths=yes
31464
if test "${kde_cv_all_paths+set}" = set; then
31465
echo $ECHO_N "(cached) $ECHO_C" >&6
31469
if test "$ac_use_path_checking" = "default"; then
31471
if test -z "$kde_htmldir"; then
31472
kde_htmldir='\${datadir}/doc/HTML'
31474
if test -z "$kde_appsdir"; then
31475
kde_appsdir='\${datadir}/applnk'
31477
if test -z "$kde_icondir"; then
31478
kde_icondir='\${datadir}/icons'
31480
if test -z "$kde_sounddir"; then
31481
kde_sounddir='\${datadir}/sounds'
31483
if test -z "$kde_datadir"; then
31484
kde_datadir='\${datadir}/apps'
31486
if test -z "$kde_locale"; then
31487
kde_locale='\${datadir}/locale'
31489
if test -z "$kde_cgidir"; then
31490
kde_cgidir='\${exec_prefix}/cgi-bin'
31492
if test -z "$kde_confdir"; then
31493
kde_confdir='\${datadir}/config'
31495
if test -z "$kde_kcfgdir"; then
31496
kde_kcfgdir='\${datadir}/config.kcfg'
31498
if test -z "$kde_mimedir"; then
31499
kde_mimedir='\${datadir}/mimelnk'
31501
if test -z "$kde_toolbardir"; then
31502
kde_toolbardir='\${datadir}/toolbar'
31504
if test -z "$kde_wallpaperdir"; then
31505
kde_wallpaperdir='\${datadir}/wallpapers'
31507
if test -z "$kde_templatesdir"; then
31508
kde_templatesdir='\${datadir}/templates'
31510
if test -z "$kde_bindir"; then
31511
kde_bindir='\${exec_prefix}/bin'
31513
if test -z "$kde_servicesdir"; then
31514
kde_servicesdir='\${datadir}/services'
31516
if test -z "$kde_servicetypesdir"; then
31517
kde_servicetypesdir='\${datadir}/servicetypes'
31519
if test -z "$kde_moduledir"; then
31520
if test "$kde_qtver" = "2"; then
31521
kde_moduledir='\${libdir}/kde2'
31523
kde_moduledir='\${libdir}/kde3'
31526
if test -z "$kde_styledir"; then
31527
kde_styledir='\${libdir}/kde3/plugins/styles'
31529
if test -z "$kde_widgetdir"; then
31530
kde_widgetdir='\${libdir}/kde3/plugins/designer'
31532
if test -z "$xdg_appsdir"; then
31533
xdg_appsdir='\${datadir}/applications/kde'
31535
if test -z "$xdg_menudir"; then
31536
xdg_menudir='\${sysconfdir}/xdg/menus'
31538
if test -z "$xdg_directorydir"; then
31539
xdg_directorydir='\${datadir}/desktop-directories'
31543
kde_cv_all_paths="kde_have_all_paths=\"yes\" \
31544
kde_htmldir=\"$kde_htmldir\" \
31545
kde_appsdir=\"$kde_appsdir\" \
31546
kde_icondir=\"$kde_icondir\" \
31547
kde_sounddir=\"$kde_sounddir\" \
31548
kde_datadir=\"$kde_datadir\" \
31549
kde_locale=\"$kde_locale\" \
31550
kde_cgidir=\"$kde_cgidir\" \
31551
kde_confdir=\"$kde_confdir\" \
31552
kde_kcfgdir=\"$kde_kcfgdir\" \
31553
kde_mimedir=\"$kde_mimedir\" \
31554
kde_toolbardir=\"$kde_toolbardir\" \
31555
kde_wallpaperdir=\"$kde_wallpaperdir\" \
31556
kde_templatesdir=\"$kde_templatesdir\" \
31557
kde_bindir=\"$kde_bindir\" \
31558
kde_servicesdir=\"$kde_servicesdir\" \
31559
kde_servicetypesdir=\"$kde_servicetypesdir\" \
31560
kde_moduledir=\"$kde_moduledir\" \
31561
kde_styledir=\"$kde_styledir\" \
31562
kde_widgetdir=\"$kde_widgetdir\" \
31563
xdg_appsdir=\"$xdg_appsdir\" \
31564
xdg_menudir=\"$xdg_menudir\" \
31565
xdg_directorydir=\"$xdg_directorydir\" \
31566
kde_result=defaults"
31571
if test $kde_qtver = 1; then
31572
{ echo "$as_me:$LINENO: result: compiling" >&5
31573
echo "${ECHO_T}compiling" >&6; }
31576
{ echo "$as_me:$LINENO: checking for KDE headers installed" >&5
31577
echo $ECHO_N "checking for KDE headers installed... $ECHO_C" >&6; }
31580
ac_cpp='$CXXCPP $CPPFLAGS'
31581
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31582
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31583
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31585
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
31588
cat > conftest.$ac_ext <<EOF
31589
#ifdef STDC_HEADERS
31590
# include <stdlib.h>
31593
#include "confdefs.h"
31597
printf("kde_htmldir=\\"%s\\"\n", KApplication::kde_htmldir().data());
31598
printf("kde_appsdir=\\"%s\\"\n", KApplication::kde_appsdir().data());
31599
printf("kde_icondir=\\"%s\\"\n", KApplication::kde_icondir().data());
31600
printf("kde_sounddir=\\"%s\\"\n", KApplication::kde_sounddir().data());
31601
printf("kde_datadir=\\"%s\\"\n", KApplication::kde_datadir().data());
31602
printf("kde_locale=\\"%s\\"\n", KApplication::kde_localedir().data());
31603
printf("kde_cgidir=\\"%s\\"\n", KApplication::kde_cgidir().data());
31604
printf("kde_confdir=\\"%s\\"\n", KApplication::kde_configdir().data());
31605
printf("kde_mimedir=\\"%s\\"\n", KApplication::kde_mimedir().data());
31606
printf("kde_toolbardir=\\"%s\\"\n", KApplication::kde_toolbardir().data());
31607
printf("kde_wallpaperdir=\\"%s\\"\n",
31608
KApplication::kde_wallpaperdir().data());
31609
printf("kde_bindir=\\"%s\\"\n", KApplication::kde_bindir().data());
31610
printf("kde_partsdir=\\"%s\\"\n", KApplication::kde_partsdir().data());
31611
printf("kde_servicesdir=\\"/tmp/dummy\\"\n");
31612
printf("kde_servicetypesdir=\\"/tmp/dummy\\"\n");
31613
printf("kde_moduledir=\\"/tmp/dummy\\"\n");
31614
printf("kde_styledir=\\"/tmp/dummy\\"\n");
31615
printf("kde_widgetdir=\\"/tmp/dummy\\"\n");
31616
printf("xdg_appsdir=\\"/tmp/dummy\\"\n");
31617
printf("xdg_menudir=\\"/tmp/dummy\\"\n");
31618
printf("xdg_directorydir=\\"/tmp/dummy\\"\n");
31619
printf("kde_kcfgdir=\\"/tmp/dummy\\"\n");
31624
ac_save_CPPFLAGS=$CPPFLAGS
31625
CPPFLAGS="$all_includes $CPPFLAGS"
31626
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31627
(eval $ac_compile) 2>&5
31629
echo "$as_me:$LINENO: \$? = $ac_status" >&5
31630
(exit $ac_status); }; then
31631
{ echo "$as_me:$LINENO: result: yes" >&5
31632
echo "${ECHO_T}yes" >&6; }
31634
{ { echo "$as_me:$LINENO: error: your system is not able to compile a small KDE application!
31635
Check, if you installed the KDE header files correctly.
31636
For more details about this problem, look at the end of config.log." >&5
31637
echo "$as_me: error: your system is not able to compile a small KDE application!
31638
Check, if you installed the KDE header files correctly.
31639
For more details about this problem, look at the end of config.log." >&2;}
31640
{ (exit 1); exit 1; }; }
31642
CPPFLAGS=$ac_save_CPPFLAGS
31645
ac_cpp='$CPP $CPPFLAGS'
31646
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31647
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31648
ac_compiler_gnu=$ac_cv_c_compiler_gnu
31654
if test -n "$USE_RPATH"; then
31656
if test -n "$kde_libraries"; then
31657
KDE_TEST_RPATH="-R $kde_libraries"
31660
if test -n "$qt_libraries"; then
31661
KDE_TEST_RPATH="$KDE_TEST_RPATH -R $qt_libraries"
31664
if test -n "$x_libraries"; then
31665
KDE_TEST_RPATH="$KDE_TEST_RPATH -R $x_libraries"
31668
KDE_TEST_RPATH="$KDE_TEST_RPATH $KDE_EXTRA_RPATH"
31671
{ echo "$as_me:$LINENO: checking for KDE libraries installed" >&5
31672
echo $ECHO_N "checking for KDE libraries installed... $ECHO_C" >&6; }
31673
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'
31675
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31676
(eval $ac_link) 2>&5
31678
echo "$as_me:$LINENO: \$? = $ac_status" >&5
31679
(exit $ac_status); } && test -s conftest; then
31680
{ echo "$as_me:$LINENO: result: yes" >&5
31681
echo "${ECHO_T}yes" >&6; }
31683
{ { echo "$as_me:$LINENO: error: your system fails at linking a small KDE application!
31684
Check, if your compiler is installed correctly and if you have used the
31685
same compiler to compile Qt and kdelibs as you did use now.
31686
For more details about this problem, look at the end of config.log." >&5
31687
echo "$as_me: error: your system fails at linking a small KDE application!
31688
Check, if your compiler is installed correctly and if you have used the
31689
same compiler to compile Qt and kdelibs as you did use now.
31690
For more details about this problem, look at the end of config.log." >&2;}
31691
{ (exit 1); exit 1; }; }
31694
if eval `KDEDIR= ./conftest 2>&5`; then
31697
kde_result=problems
31700
KDEDIR= ./conftest 2> /dev/null >&5 # make an echo for config.log
31701
kde_have_all_paths=yes
31704
kde_cv_all_paths="kde_have_all_paths=\"yes\" \
31705
kde_htmldir=\"$kde_htmldir\" \
31706
kde_appsdir=\"$kde_appsdir\" \
31707
kde_icondir=\"$kde_icondir\" \
31708
kde_sounddir=\"$kde_sounddir\" \
31709
kde_datadir=\"$kde_datadir\" \
31710
kde_locale=\"$kde_locale\" \
31711
kde_cgidir=\"$kde_cgidir\" \
31712
kde_confdir=\"$kde_confdir\" \
31713
kde_kcfgdir=\"$kde_kcfgdir\" \
31714
kde_mimedir=\"$kde_mimedir\" \
31715
kde_toolbardir=\"$kde_toolbardir\" \
31716
kde_wallpaperdir=\"$kde_wallpaperdir\" \
31717
kde_templatesdir=\"$kde_templatesdir\" \
31718
kde_bindir=\"$kde_bindir\" \
31719
kde_servicesdir=\"$kde_servicesdir\" \
31720
kde_servicetypesdir=\"$kde_servicetypesdir\" \
31721
kde_moduledir=\"$kde_moduledir\" \
31722
kde_styledir=\"$kde_styledir\" \
31723
kde_widgetdir=\"$kde_widgetdir\" \
31724
xdg_appsdir=\"$xdg_appsdir\" \
31725
xdg_menudir=\"$xdg_menudir\" \
31726
xdg_directorydir=\"$xdg_directorydir\" \
31727
kde_result=$kde_result"
31732
{ { echo "$as_me:$LINENO: error: path checking not yet supported for KDE 2" >&5
31733
echo "$as_me: error: path checking not yet supported for KDE 2" >&2;}
31734
{ (exit 1); exit 1; }; }
31739
kde_cached_paths=no
31743
eval "$kde_cv_all_paths"
31744
if test -z "$kde_htmldir" || test -z "$kde_appsdir" ||
31745
test -z "$kde_icondir" || test -z "$kde_sounddir" ||
31746
test -z "$kde_datadir" || test -z "$kde_locale" ||
31747
test -z "$kde_cgidir" || test -z "$kde_confdir" ||
31748
test -z "$kde_kcfgdir" ||
31749
test -z "$kde_mimedir" || test -z "$kde_toolbardir" ||
31750
test -z "$kde_wallpaperdir" || test -z "$kde_templatesdir" ||
31751
test -z "$kde_bindir" || test -z "$kde_servicesdir" ||
31752
test -z "$kde_servicetypesdir" || test -z "$kde_moduledir" ||
31753
test -z "$kde_styledir" || test -z "kde_widgetdir" ||
31754
test -z "$xdg_appsdir" || test -z "$xdg_menudir" || test -z "$xdg_directorydir" ||
31755
test "x$kde_have_all_paths" != "xyes"; then
31756
kde_have_all_paths=no
31759
if test "$kde_have_all_paths" = "no" && test "$kde_cached_paths" = "yes"; then
31760
# wrong values were cached, may be, we can set better ones
31762
kde_htmldir= kde_appsdir= kde_icondir= kde_sounddir=
31763
kde_datadir= kde_locale= kde_cgidir= kde_confdir= kde_kcfgdir=
31764
kde_mimedir= kde_toolbardir= kde_wallpaperdir= kde_templatesdir=
31765
kde_bindir= kde_servicesdir= kde_servicetypesdir= kde_moduledir=
31766
kde_have_all_paths=
31769
xdg_appsdir = xdg_menudir= xdg_directorydir=
31771
if test "$ac_use_path_checking" = "default"; then
31773
if test -z "$kde_htmldir"; then
31774
kde_htmldir='\${datadir}/doc/HTML'
31776
if test -z "$kde_appsdir"; then
31777
kde_appsdir='\${datadir}/applnk'
31779
if test -z "$kde_icondir"; then
31780
kde_icondir='\${datadir}/icons'
31782
if test -z "$kde_sounddir"; then
31783
kde_sounddir='\${datadir}/sounds'
31785
if test -z "$kde_datadir"; then
31786
kde_datadir='\${datadir}/apps'
31788
if test -z "$kde_locale"; then
31789
kde_locale='\${datadir}/locale'
31791
if test -z "$kde_cgidir"; then
31792
kde_cgidir='\${exec_prefix}/cgi-bin'
31794
if test -z "$kde_confdir"; then
31795
kde_confdir='\${datadir}/config'
31797
if test -z "$kde_kcfgdir"; then
31798
kde_kcfgdir='\${datadir}/config.kcfg'
31800
if test -z "$kde_mimedir"; then
31801
kde_mimedir='\${datadir}/mimelnk'
31803
if test -z "$kde_toolbardir"; then
31804
kde_toolbardir='\${datadir}/toolbar'
31806
if test -z "$kde_wallpaperdir"; then
31807
kde_wallpaperdir='\${datadir}/wallpapers'
31809
if test -z "$kde_templatesdir"; then
31810
kde_templatesdir='\${datadir}/templates'
31812
if test -z "$kde_bindir"; then
31813
kde_bindir='\${exec_prefix}/bin'
31815
if test -z "$kde_servicesdir"; then
31816
kde_servicesdir='\${datadir}/services'
31818
if test -z "$kde_servicetypesdir"; then
31819
kde_servicetypesdir='\${datadir}/servicetypes'
31821
if test -z "$kde_moduledir"; then
31822
if test "$kde_qtver" = "2"; then
31823
kde_moduledir='\${libdir}/kde2'
31825
kde_moduledir='\${libdir}/kde3'
31828
if test -z "$kde_styledir"; then
31829
kde_styledir='\${libdir}/kde3/plugins/styles'
31831
if test -z "$kde_widgetdir"; then
31832
kde_widgetdir='\${libdir}/kde3/plugins/designer'
31834
if test -z "$xdg_appsdir"; then
31835
xdg_appsdir='\${datadir}/applications/kde'
31837
if test -z "$xdg_menudir"; then
31838
xdg_menudir='\${sysconfdir}/xdg/menus'
31840
if test -z "$xdg_directorydir"; then
31841
xdg_directorydir='\${datadir}/desktop-directories'
31845
kde_cv_all_paths="kde_have_all_paths=\"yes\" \
31846
kde_htmldir=\"$kde_htmldir\" \
31847
kde_appsdir=\"$kde_appsdir\" \
31848
kde_icondir=\"$kde_icondir\" \
31849
kde_sounddir=\"$kde_sounddir\" \
31850
kde_datadir=\"$kde_datadir\" \
31851
kde_locale=\"$kde_locale\" \
31852
kde_cgidir=\"$kde_cgidir\" \
31853
kde_confdir=\"$kde_confdir\" \
31854
kde_kcfgdir=\"$kde_kcfgdir\" \
31855
kde_mimedir=\"$kde_mimedir\" \
31856
kde_toolbardir=\"$kde_toolbardir\" \
31857
kde_wallpaperdir=\"$kde_wallpaperdir\" \
31858
kde_templatesdir=\"$kde_templatesdir\" \
31859
kde_bindir=\"$kde_bindir\" \
31860
kde_servicesdir=\"$kde_servicesdir\" \
31861
kde_servicetypesdir=\"$kde_servicetypesdir\" \
31862
kde_moduledir=\"$kde_moduledir\" \
31863
kde_styledir=\"$kde_styledir\" \
31864
kde_widgetdir=\"$kde_widgetdir\" \
31865
xdg_appsdir=\"$xdg_appsdir\" \
31866
xdg_menudir=\"$xdg_menudir\" \
31867
xdg_directorydir=\"$xdg_directorydir\" \
31868
kde_result=defaults"
31873
if test $kde_qtver = 1; then
31874
{ echo "$as_me:$LINENO: result: compiling" >&5
31875
echo "${ECHO_T}compiling" >&6; }
31878
{ echo "$as_me:$LINENO: checking for KDE headers installed" >&5
31879
echo $ECHO_N "checking for KDE headers installed... $ECHO_C" >&6; }
31882
ac_cpp='$CXXCPP $CPPFLAGS'
31883
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31884
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31885
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31887
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
31890
cat > conftest.$ac_ext <<EOF
31891
#ifdef STDC_HEADERS
31892
# include <stdlib.h>
31895
#include "confdefs.h"
31899
printf("kde_htmldir=\\"%s\\"\n", KApplication::kde_htmldir().data());
31900
printf("kde_appsdir=\\"%s\\"\n", KApplication::kde_appsdir().data());
31901
printf("kde_icondir=\\"%s\\"\n", KApplication::kde_icondir().data());
31902
printf("kde_sounddir=\\"%s\\"\n", KApplication::kde_sounddir().data());
31903
printf("kde_datadir=\\"%s\\"\n", KApplication::kde_datadir().data());
31904
printf("kde_locale=\\"%s\\"\n", KApplication::kde_localedir().data());
31905
printf("kde_cgidir=\\"%s\\"\n", KApplication::kde_cgidir().data());
31906
printf("kde_confdir=\\"%s\\"\n", KApplication::kde_configdir().data());
31907
printf("kde_mimedir=\\"%s\\"\n", KApplication::kde_mimedir().data());
31908
printf("kde_toolbardir=\\"%s\\"\n", KApplication::kde_toolbardir().data());
31909
printf("kde_wallpaperdir=\\"%s\\"\n",
31910
KApplication::kde_wallpaperdir().data());
31911
printf("kde_bindir=\\"%s\\"\n", KApplication::kde_bindir().data());
31912
printf("kde_partsdir=\\"%s\\"\n", KApplication::kde_partsdir().data());
31913
printf("kde_servicesdir=\\"/tmp/dummy\\"\n");
31914
printf("kde_servicetypesdir=\\"/tmp/dummy\\"\n");
31915
printf("kde_moduledir=\\"/tmp/dummy\\"\n");
31916
printf("kde_styledir=\\"/tmp/dummy\\"\n");
31917
printf("kde_widgetdir=\\"/tmp/dummy\\"\n");
31918
printf("xdg_appsdir=\\"/tmp/dummy\\"\n");
31919
printf("xdg_menudir=\\"/tmp/dummy\\"\n");
31920
printf("xdg_directorydir=\\"/tmp/dummy\\"\n");
31921
printf("kde_kcfgdir=\\"/tmp/dummy\\"\n");
31926
ac_save_CPPFLAGS=$CPPFLAGS
31927
CPPFLAGS="$all_includes $CPPFLAGS"
31928
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31929
(eval $ac_compile) 2>&5
31931
echo "$as_me:$LINENO: \$? = $ac_status" >&5
31932
(exit $ac_status); }; then
31933
{ echo "$as_me:$LINENO: result: yes" >&5
31934
echo "${ECHO_T}yes" >&6; }
31936
{ { echo "$as_me:$LINENO: error: your system is not able to compile a small KDE application!
31937
Check, if you installed the KDE header files correctly.
31938
For more details about this problem, look at the end of config.log." >&5
31939
echo "$as_me: error: your system is not able to compile a small KDE application!
31940
Check, if you installed the KDE header files correctly.
31941
For more details about this problem, look at the end of config.log." >&2;}
31942
{ (exit 1); exit 1; }; }
31944
CPPFLAGS=$ac_save_CPPFLAGS
31947
ac_cpp='$CPP $CPPFLAGS'
31948
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31949
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31950
ac_compiler_gnu=$ac_cv_c_compiler_gnu
31956
if test -n "$USE_RPATH"; then
31958
if test -n "$kde_libraries"; then
31959
KDE_TEST_RPATH="-R $kde_libraries"
31962
if test -n "$qt_libraries"; then
31963
KDE_TEST_RPATH="$KDE_TEST_RPATH -R $qt_libraries"
31966
if test -n "$x_libraries"; then
31967
KDE_TEST_RPATH="$KDE_TEST_RPATH -R $x_libraries"
31970
KDE_TEST_RPATH="$KDE_TEST_RPATH $KDE_EXTRA_RPATH"
31973
{ echo "$as_me:$LINENO: checking for KDE libraries installed" >&5
31974
echo $ECHO_N "checking for KDE libraries installed... $ECHO_C" >&6; }
31975
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'
31977
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31978
(eval $ac_link) 2>&5
31980
echo "$as_me:$LINENO: \$? = $ac_status" >&5
31981
(exit $ac_status); } && test -s conftest; then
31982
{ echo "$as_me:$LINENO: result: yes" >&5
31983
echo "${ECHO_T}yes" >&6; }
31985
{ { echo "$as_me:$LINENO: error: your system fails at linking a small KDE application!
31986
Check, if your compiler is installed correctly and if you have used the
31987
same compiler to compile Qt and kdelibs as you did use now.
31988
For more details about this problem, look at the end of config.log." >&5
31989
echo "$as_me: error: your system fails at linking a small KDE application!
31990
Check, if your compiler is installed correctly and if you have used the
31991
same compiler to compile Qt and kdelibs as you did use now.
31992
For more details about this problem, look at the end of config.log." >&2;}
31993
{ (exit 1); exit 1; }; }
31996
if eval `KDEDIR= ./conftest 2>&5`; then
31999
kde_result=problems
32002
KDEDIR= ./conftest 2> /dev/null >&5 # make an echo for config.log
32003
kde_have_all_paths=yes
32006
kde_cv_all_paths="kde_have_all_paths=\"yes\" \
32007
kde_htmldir=\"$kde_htmldir\" \
32008
kde_appsdir=\"$kde_appsdir\" \
32009
kde_icondir=\"$kde_icondir\" \
32010
kde_sounddir=\"$kde_sounddir\" \
32011
kde_datadir=\"$kde_datadir\" \
32012
kde_locale=\"$kde_locale\" \
32013
kde_cgidir=\"$kde_cgidir\" \
32014
kde_confdir=\"$kde_confdir\" \
32015
kde_kcfgdir=\"$kde_kcfgdir\" \
32016
kde_mimedir=\"$kde_mimedir\" \
32017
kde_toolbardir=\"$kde_toolbardir\" \
32018
kde_wallpaperdir=\"$kde_wallpaperdir\" \
32019
kde_templatesdir=\"$kde_templatesdir\" \
32020
kde_bindir=\"$kde_bindir\" \
32021
kde_servicesdir=\"$kde_servicesdir\" \
32022
kde_servicetypesdir=\"$kde_servicetypesdir\" \
32023
kde_moduledir=\"$kde_moduledir\" \
32024
kde_styledir=\"$kde_styledir\" \
32025
kde_widgetdir=\"$kde_widgetdir\" \
32026
xdg_appsdir=\"$xdg_appsdir\" \
32027
xdg_menudir=\"$xdg_menudir\" \
32028
xdg_directorydir=\"$xdg_directorydir\" \
32029
kde_result=$kde_result"
32034
{ { echo "$as_me:$LINENO: error: path checking not yet supported for KDE 2" >&5
32035
echo "$as_me: error: path checking not yet supported for KDE 2" >&2;}
32036
{ (exit 1); exit 1; }; }
32041
eval "$kde_cv_all_paths"
32042
if test -z "$kde_htmldir" || test -z "$kde_appsdir" ||
32043
test -z "$kde_icondir" || test -z "$kde_sounddir" ||
32044
test -z "$kde_datadir" || test -z "$kde_locale" ||
32045
test -z "$kde_cgidir" || test -z "$kde_confdir" ||
32046
test -z "$kde_kcfgdir" ||
32047
test -z "$kde_mimedir" || test -z "$kde_toolbardir" ||
32048
test -z "$kde_wallpaperdir" || test -z "$kde_templatesdir" ||
32049
test -z "$kde_bindir" || test -z "$kde_servicesdir" ||
32050
test -z "$kde_servicetypesdir" || test -z "$kde_moduledir" ||
32051
test -z "$kde_styledir" || test -z "kde_widgetdir" ||
32052
test -z "$xdg_appsdir" || test -z "$xdg_menudir" || test -z "$xdg_directorydir" ||
32053
test "x$kde_have_all_paths" != "xyes"; then
32054
kde_have_all_paths=no
32057
kde_result="$kde_result (cache overridden)"
32059
if test "$kde_have_all_paths" = "no"; then
32060
{ { echo "$as_me:$LINENO: error: configure could not run a little KDE program to test the environment.
32061
Since it had compiled and linked before, it must be a strange problem on your system.
32062
Look at config.log for details. If you are not able to fix this, look at
32063
http://www.kde.org/faq/installation.html or any www.kde.org mirror.
32064
(If you're using an egcs version on Linux, you may update binutils!)
32066
echo "$as_me: error: configure could not run a little KDE program to test the environment.
32067
Since it had compiled and linked before, it must be a strange problem on your system.
32068
Look at config.log for details. If you are not able to fix this, look at
32069
http://www.kde.org/faq/installation.html or any www.kde.org mirror.
32070
(If you're using an egcs version on Linux, you may update binutils!)
32072
{ (exit 1); exit 1; }; }
32075
{ echo "$as_me:$LINENO: result: $kde_result" >&5
32076
echo "${ECHO_T}$kde_result" >&6; }
32083
# Check whether --with-arts was given.
32084
if test "${with_arts+set}" = set; then
32085
withval=$with_arts; build_arts=$withval
32091
if test "$build_arts" '!=' "no"; then
32093
include_ARTS_FALSE='#'
32095
include_ARTS_TRUE='#'
32096
include_ARTS_FALSE=
32099
if test "$build_arts" = "no"; then
32101
cat >>confdefs.h <<\_ACEOF
32102
#define WITHOUT_ARTS 1
32108
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"
32109
test -n "$KDEDIR" && kde_default_bindirs="$KDEDIR/bin $kde_default_bindirs"
32110
if test -n "$KDEDIRS"; then
32113
for dir in $KDEDIRS; do
32114
kde_default_bindirs="$dir/bin $kde_default_bindirs "
32119
kde_default_bindirs="$exec_prefix/bin $prefix/bin $kde_libs_prefix/bin $kde_default_bindirs"
32121
{ echo "$as_me:$LINENO: checking for dcopidl" >&5
32122
echo $ECHO_N "checking for dcopidl... $ECHO_C" >&6; }
32123
if test -n "$DCOPIDL"; then
32124
kde_cv_path="$DCOPIDL";
32126
kde_cache=`echo dcopidl | sed 'y%./+-%__p_%'`
32128
if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
32129
echo $ECHO_N "(cached) $ECHO_C" >&6
32136
for dir in $PATH; do
32139
if test -z ""; then dirs="$kde_default_bindirs $dirs"
32140
else dirs="$dirs $kde_default_bindirs"
32144
for dir in $dirs; do
32145
if test -x "$dir/dcopidl"; then
32148
evalstr="$dir/dcopidl 2>&1 "
32149
if eval $evalstr; then
32150
kde_cv_path="$dir/dcopidl"
32154
kde_cv_path="$dir/dcopidl"
32160
eval "kde_cv_path_$kde_cache=$kde_cv_path"
32166
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
32170
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
32171
{ echo "$as_me:$LINENO: result: not found" >&5
32172
echo "${ECHO_T}not found" >&6; }
32174
{ { echo "$as_me:$LINENO: error: The important program dcopidl was not found!
32175
Please check whether you installed KDE correctly.
32177
echo "$as_me: error: The important program dcopidl was not found!
32178
Please check whether you installed KDE correctly.
32180
{ (exit 1); exit 1; }; }
32183
{ echo "$as_me:$LINENO: result: $kde_cv_path" >&5
32184
echo "${ECHO_T}$kde_cv_path" >&6; }
32185
DCOPIDL=$kde_cv_path
32190
{ echo "$as_me:$LINENO: checking for dcopidl2cpp" >&5
32191
echo $ECHO_N "checking for dcopidl2cpp... $ECHO_C" >&6; }
32192
if test -n "$DCOPIDL2CPP"; then
32193
kde_cv_path="$DCOPIDL2CPP";
32195
kde_cache=`echo dcopidl2cpp | sed 'y%./+-%__p_%'`
32197
if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
32198
echo $ECHO_N "(cached) $ECHO_C" >&6
32205
for dir in $PATH; do
32208
if test -z ""; then dirs="$kde_default_bindirs $dirs"
32209
else dirs="$dirs $kde_default_bindirs"
32213
for dir in $dirs; do
32214
if test -x "$dir/dcopidl2cpp"; then
32217
evalstr="$dir/dcopidl2cpp 2>&1 "
32218
if eval $evalstr; then
32219
kde_cv_path="$dir/dcopidl2cpp"
32223
kde_cv_path="$dir/dcopidl2cpp"
32229
eval "kde_cv_path_$kde_cache=$kde_cv_path"
32235
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
32239
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
32240
{ echo "$as_me:$LINENO: result: not found" >&5
32241
echo "${ECHO_T}not found" >&6; }
32243
{ { echo "$as_me:$LINENO: error: The important program dcopidl2cpp was not found!
32244
Please check whether you installed KDE correctly.
32246
echo "$as_me: error: The important program dcopidl2cpp was not found!
32247
Please check whether you installed KDE correctly.
32249
{ (exit 1); exit 1; }; }
32252
{ echo "$as_me:$LINENO: result: $kde_cv_path" >&5
32253
echo "${ECHO_T}$kde_cv_path" >&6; }
32254
DCOPIDL2CPP=$kde_cv_path
32258
if test "$build_arts" '!=' "no"; then
32260
{ echo "$as_me:$LINENO: checking for mcopidl" >&5
32261
echo $ECHO_N "checking for mcopidl... $ECHO_C" >&6; }
32262
if test -n "$MCOPIDL"; then
32263
kde_cv_path="$MCOPIDL";
32265
kde_cache=`echo mcopidl | sed 'y%./+-%__p_%'`
32267
if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
32268
echo $ECHO_N "(cached) $ECHO_C" >&6
32275
for dir in $PATH; do
32278
if test -z ""; then dirs="$kde_default_bindirs $dirs"
32279
else dirs="$dirs $kde_default_bindirs"
32283
for dir in $dirs; do
32284
if test -x "$dir/mcopidl"; then
32287
evalstr="$dir/mcopidl 2>&1 "
32288
if eval $evalstr; then
32289
kde_cv_path="$dir/mcopidl"
32293
kde_cv_path="$dir/mcopidl"
32299
eval "kde_cv_path_$kde_cache=$kde_cv_path"
32305
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
32309
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
32310
{ echo "$as_me:$LINENO: result: not found" >&5
32311
echo "${ECHO_T}not found" >&6; }
32313
{ { echo "$as_me:$LINENO: error: The important program mcopidl was not found!
32314
Please check whether you installed aRts correctly or use
32315
--without-arts to compile without aRts support (this will remove functionality).
32317
echo "$as_me: error: The important program mcopidl was not found!
32318
Please check whether you installed aRts correctly or use
32319
--without-arts to compile without aRts support (this will remove functionality).
32321
{ (exit 1); exit 1; }; }
32324
{ echo "$as_me:$LINENO: result: $kde_cv_path" >&5
32325
echo "${ECHO_T}$kde_cv_path" >&6; }
32326
MCOPIDL=$kde_cv_path
32331
{ echo "$as_me:$LINENO: checking for artsc-config" >&5
32332
echo $ECHO_N "checking for artsc-config... $ECHO_C" >&6; }
32333
if test -n "$ARTSCCONFIG"; then
32334
kde_cv_path="$ARTSCCONFIG";
32336
kde_cache=`echo artsc-config | sed 'y%./+-%__p_%'`
32338
if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
32339
echo $ECHO_N "(cached) $ECHO_C" >&6
32346
for dir in $PATH; do
32349
if test -z ""; then dirs="$kde_default_bindirs $dirs"
32350
else dirs="$dirs $kde_default_bindirs"
32354
for dir in $dirs; do
32355
if test -x "$dir/artsc-config"; then
32358
evalstr="$dir/artsc-config 2>&1 "
32359
if eval $evalstr; then
32360
kde_cv_path="$dir/artsc-config"
32364
kde_cv_path="$dir/artsc-config"
32370
eval "kde_cv_path_$kde_cache=$kde_cv_path"
32376
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
32380
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
32381
{ echo "$as_me:$LINENO: result: not found" >&5
32382
echo "${ECHO_T}not found" >&6; }
32384
{ { echo "$as_me:$LINENO: error: The important program artsc-config was not found!
32385
Please check whether you installed aRts correctly or use
32386
--without-arts to compile without aRts support (this will remove functionality).
32388
echo "$as_me: error: The important program artsc-config was not found!
32389
Please check whether you installed aRts correctly or use
32390
--without-arts to compile without aRts support (this will remove functionality).
32392
{ (exit 1); exit 1; }; }
32395
{ echo "$as_me:$LINENO: result: $kde_cv_path" >&5
32396
echo "${ECHO_T}$kde_cv_path" >&6; }
32397
ARTSCCONFIG=$kde_cv_path
32403
{ echo "$as_me:$LINENO: checking for meinproc" >&5
32404
echo $ECHO_N "checking for meinproc... $ECHO_C" >&6; }
32405
if test -n "$MEINPROC"; then
32406
kde_cv_path="$MEINPROC";
32408
kde_cache=`echo meinproc | sed 'y%./+-%__p_%'`
32410
if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
32411
echo $ECHO_N "(cached) $ECHO_C" >&6
32418
for dir in $PATH; do
32421
if test -z ""; then dirs="$kde_default_bindirs $dirs"
32422
else dirs="$dirs $kde_default_bindirs"
32426
for dir in $dirs; do
32427
if test -x "$dir/meinproc"; then
32430
evalstr="$dir/meinproc 2>&1 "
32431
if eval $evalstr; then
32432
kde_cv_path="$dir/meinproc"
32436
kde_cv_path="$dir/meinproc"
32442
eval "kde_cv_path_$kde_cache=$kde_cv_path"
32448
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
32452
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
32453
{ echo "$as_me:$LINENO: result: not found" >&5
32454
echo "${ECHO_T}not found" >&6; }
32457
{ echo "$as_me:$LINENO: result: $kde_cv_path" >&5
32458
echo "${ECHO_T}$kde_cv_path" >&6; }
32459
MEINPROC=$kde_cv_path
32466
if test -n "$kde_qtver" && test "$kde_qtver" -lt 3; then
32470
if test "$kde_qtver" = "3"; then
32471
if test "$kde_qtsubver" -le 1; then
32474
if test "$kde_qtsubver" -le 2; then
32477
if test "$KDECONFIG" != "compiled"; then
32478
if test `$KDECONFIG --version | grep KDE | sed 's/KDE: \(...\).*/\1/'` = 3.2; then
32485
if test -n "$kde32ornewer"; then
32487
{ echo "$as_me:$LINENO: checking for kconfig_compiler" >&5
32488
echo $ECHO_N "checking for kconfig_compiler... $ECHO_C" >&6; }
32489
if test -n "$KCONFIG_COMPILER"; then
32490
kde_cv_path="$KCONFIG_COMPILER";
32492
kde_cache=`echo kconfig_compiler | sed 'y%./+-%__p_%'`
32494
if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
32495
echo $ECHO_N "(cached) $ECHO_C" >&6
32502
for dir in $PATH; do
32505
if test -z ""; then dirs="$kde_default_bindirs $dirs"
32506
else dirs="$dirs $kde_default_bindirs"
32510
for dir in $dirs; do
32511
if test -x "$dir/kconfig_compiler"; then
32514
evalstr="$dir/kconfig_compiler 2>&1 "
32515
if eval $evalstr; then
32516
kde_cv_path="$dir/kconfig_compiler"
32520
kde_cv_path="$dir/kconfig_compiler"
32526
eval "kde_cv_path_$kde_cache=$kde_cv_path"
32532
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
32536
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
32537
{ echo "$as_me:$LINENO: result: not found" >&5
32538
echo "${ECHO_T}not found" >&6; }
32540
{ { echo "$as_me:$LINENO: error: The important program kconfig_compiler was not found!
32541
Please check whether you installed KDE correctly.
32543
echo "$as_me: error: The important program kconfig_compiler was not found!
32544
Please check whether you installed KDE correctly.
32546
{ (exit 1); exit 1; }; }
32549
{ echo "$as_me:$LINENO: result: $kde_cv_path" >&5
32550
echo "${ECHO_T}$kde_cv_path" >&6; }
32551
KCONFIG_COMPILER=$kde_cv_path
32556
{ echo "$as_me:$LINENO: checking for dcopidlng" >&5
32557
echo $ECHO_N "checking for dcopidlng... $ECHO_C" >&6; }
32558
if test -n "$DCOPIDLNG"; then
32559
kde_cv_path="$DCOPIDLNG";
32561
kde_cache=`echo dcopidlng | sed 'y%./+-%__p_%'`
32563
if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
32564
echo $ECHO_N "(cached) $ECHO_C" >&6
32571
for dir in $PATH; do
32574
if test -z ""; then dirs="$kde_default_bindirs $dirs"
32575
else dirs="$dirs $kde_default_bindirs"
32579
for dir in $dirs; do
32580
if test -x "$dir/dcopidlng"; then
32583
evalstr="$dir/dcopidlng 2>&1 "
32584
if eval $evalstr; then
32585
kde_cv_path="$dir/dcopidlng"
32589
kde_cv_path="$dir/dcopidlng"
32595
eval "kde_cv_path_$kde_cache=$kde_cv_path"
32601
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
32605
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
32606
{ echo "$as_me:$LINENO: result: not found" >&5
32607
echo "${ECHO_T}not found" >&6; }
32609
{ { echo "$as_me:$LINENO: error: The important program dcopidlng was not found!
32610
Please check whether you installed KDE correctly.
32612
echo "$as_me: error: The important program dcopidlng was not found!
32613
Please check whether you installed KDE correctly.
32615
{ (exit 1); exit 1; }; }
32618
{ echo "$as_me:$LINENO: result: $kde_cv_path" >&5
32619
echo "${ECHO_T}$kde_cv_path" >&6; }
32620
DCOPIDLNG=$kde_cv_path
32625
if test -n "$kde33ornewer"; then
32627
{ echo "$as_me:$LINENO: checking for makekdewidgets" >&5
32628
echo $ECHO_N "checking for makekdewidgets... $ECHO_C" >&6; }
32629
if test -n "$MAKEKDEWIDGETS"; then
32630
kde_cv_path="$MAKEKDEWIDGETS";
32632
kde_cache=`echo makekdewidgets | sed 'y%./+-%__p_%'`
32634
if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
32635
echo $ECHO_N "(cached) $ECHO_C" >&6
32642
for dir in $PATH; do
32645
if test -z ""; then dirs="$kde_default_bindirs $dirs"
32646
else dirs="$dirs $kde_default_bindirs"
32650
for dir in $dirs; do
32651
if test -x "$dir/makekdewidgets"; then
32654
evalstr="$dir/makekdewidgets 2>&1 "
32655
if eval $evalstr; then
32656
kde_cv_path="$dir/makekdewidgets"
32660
kde_cv_path="$dir/makekdewidgets"
32666
eval "kde_cv_path_$kde_cache=$kde_cv_path"
32672
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
32676
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
32677
{ echo "$as_me:$LINENO: result: not found" >&5
32678
echo "${ECHO_T}not found" >&6; }
32680
{ { echo "$as_me:$LINENO: error: The important program makekdewidgets was not found!
32681
Please check whether you installed KDE correctly.
32683
echo "$as_me: error: The important program makekdewidgets was not found!
32684
Please check whether you installed KDE correctly.
32686
{ (exit 1); exit 1; }; }
32689
{ echo "$as_me:$LINENO: result: $kde_cv_path" >&5
32690
echo "${ECHO_T}$kde_cv_path" >&6; }
32691
MAKEKDEWIDGETS=$kde_cv_path
32698
{ echo "$as_me:$LINENO: checking for xmllint" >&5
32699
echo $ECHO_N "checking for xmllint... $ECHO_C" >&6; }
32700
if test -n "$XMLLINT"; then
32701
kde_cv_path="$XMLLINT";
32703
kde_cache=`echo xmllint | sed 'y%./+-%__p_%'`
32705
if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
32706
echo $ECHO_N "(cached) $ECHO_C" >&6
32713
for dir in $PATH; do
32716
if test -z ""; then dirs="${prefix}/bin ${exec_prefix}/bin $dirs"
32717
else dirs="$dirs ${prefix}/bin ${exec_prefix}/bin"
32721
for dir in $dirs; do
32722
if test -x "$dir/xmllint"; then
32725
evalstr="$dir/xmllint 2>&1 "
32726
if eval $evalstr; then
32727
kde_cv_path="$dir/xmllint"
32731
kde_cv_path="$dir/xmllint"
32737
eval "kde_cv_path_$kde_cache=$kde_cv_path"
32743
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
32747
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
32748
{ echo "$as_me:$LINENO: result: not found" >&5
32749
echo "${ECHO_T}not found" >&6; }
32752
{ echo "$as_me:$LINENO: result: $kde_cv_path" >&5
32753
echo "${ECHO_T}$kde_cv_path" >&6; }
32754
XMLLINT=$kde_cv_path
32759
if test -n "$MEINPROC" -a "$MEINPROC" != "compiled"; then
32760
kde_sharedirs="/usr/share/kde /usr/local/share /usr/share /opt/kde3/share /opt/kde/share $prefix/share"
32761
test -n "$KDEDIR" && kde_sharedirs="$KDEDIR/share $kde_sharedirs"
32763
KDE_XSL_STYLESHEET=NO
32764
for i in $kde_sharedirs;
32766
for j in apps/ksgmltools2/customization/kde-chunk.xsl;
32768
echo "configure: 32768: $i/$j" >&5
32769
if test -r "$i/$j"; then
32770
echo "taking that" >&5
32771
KDE_XSL_STYLESHEET=$i
32777
if test "$KDE_XSL_STYLESHEET" = "NO"; then
32778
KDE_XSL_STYLESHEET=""
32780
KDE_XSL_STYLESHEET="$KDE_XSL_STYLESHEET/apps/ksgmltools2/customization/kde-chunk.xsl"
32784
DCOP_DEPENDENCIES='$(DCOPIDL)'
32785
if test -n "$kde32ornewer"; then
32786
KCFG_DEPENDENCIES='$(KCONFIG_COMPILER)'
32787
DCOP_DEPENDENCIES='$(DCOPIDL) $(DCOPIDLNG)'
32823
kdeinitdir='$(kde_moduledir)'
32827
if test "$kde_qtver" = 1; then
32828
kde_minidir="$kde_icondir/mini"
32830
# for KDE 1 - this breaks KDE2 apps using minidir, but
32831
# that's the plan ;-/
32832
kde_minidir="/dev/null"
32840
if test $kde_qtver = 3; then
32842
*cygwin*) lib_kded="-lkdeinit_kded" ;;
32847
LIB_KDECORE="-lkdecore"
32849
LIB_KDEUI="-lkdeui"
32861
LIB_KHTML="-lkhtml"
32863
LIB_KSPELL="-lkspell"
32865
LIB_KPARTS="-lkparts"
32867
LIB_KDEPRINT="-lkdeprint"
32869
LIB_KUTILS="-lkutils"
32871
LIB_KDEPIM="-lkdepim"
32873
LIB_KIMPROXY="-lkimproxy"
32875
LIB_KNEWSTUFF="-lknewstuff"
32877
LIB_KDNSSD="-lkdnssd"
32879
LIB_KUNITTEST="-lkunittest"
32881
# these are for backward compatibility
32882
LIB_KSYCOCA="-lkio"
32886
elif test $kde_qtver = 2; then
32887
LIB_KDECORE="-lkdecore"
32889
LIB_KDEUI="-lkdeui"
32893
LIB_KSYCOCA="-lksycoca"
32897
LIB_KFILE="-lkfile"
32901
LIB_KHTML="-lkhtml"
32903
LIB_KSPELL="-lkspell"
32905
LIB_KPARTS="-lkparts"
32907
LIB_KDEPRINT="-lkdeprint"
32910
LIB_KDECORE="-lkdecore -lXext $(LIB_QT)"
32912
LIB_KDEUI="-lkdeui $(LIB_KDECORE)"
32914
LIB_KFM="-lkfm $(LIB_KDECORE)"
32916
LIB_KFILE="-lkfile $(LIB_KFM) $(LIB_KDEUI)"
32918
LIB_KAB="-lkab $(LIB_KIMGIO) $(LIB_KDECORE)"
32931
DO_NOT_COMPILE="$DO_NOT_COMPILE CVS debian bsd-port admin"
32934
if test ! -s $srcdir/subdirs; then
32935
files=`cd $srcdir && ls -1`
32936
dirs=`for i in $files; do if test -d $i; then echo $i; fi; done`
32938
echo $i >> $srcdir/subdirs
32943
if test -s $srcdir/inst-apps; then
32944
ac_topsubdirs="`cat $srcdir/inst-apps`"
32945
elif test -s $srcdir/subdirs; then
32946
ac_topsubdirs="`cat $srcdir/subdirs`"
32949
for i in $ac_topsubdirs; do
32950
{ echo "$as_me:$LINENO: checking if $i should be compiled" >&5
32951
echo $ECHO_N "checking if $i should be compiled... $ECHO_C" >&6; }
32952
if test -d $srcdir/$i; then
32954
for j in $DO_NOT_COMPILE; do
32955
if test $i = $j; then
32962
{ echo "$as_me:$LINENO: result: $install_it" >&5
32963
echo "${ECHO_T}$install_it" >&6; }
32964
vari=`echo $i | sed -e 's,[-+.@],_,g'`
32965
if test $install_it = "yes"; then
32966
TOPSUBDIRS="$TOPSUBDIRS $i"
32967
eval "$vari""_SUBDIR_included=yes"
32969
eval "$vari""_SUBDIR_included=no"
32975
ac_config_files="$ac_config_files Makefile"
32977
ac_config_files="$ac_config_files doc/Makefile"
32979
ac_config_files="$ac_config_files doc/en/Makefile"
32981
ac_config_files="$ac_config_files kdesudo/Makefile"
32983
ac_config_files="$ac_config_files po/Makefile"
32985
cat >confcache <<\_ACEOF
32986
# This file is a shell script that caches the results of configure
32987
# tests run on this system so they can be shared between configure
32988
# scripts and configure runs, see configure's option --config-cache.
32989
# It is not useful on other systems. If it contains results you don't
32990
# want to keep, you may remove or edit it.
32992
# config.status only pays attention to the cache file if you give it
32993
# the --recheck option to rerun configure.
32995
# `ac_cv_env_foo' variables (set or unset) will be overridden when
32996
# loading this file, other *unset* `ac_cv_foo' will be assigned the
32997
# following values.
33001
# The following way of writing the cache mishandles newlines in values,
33002
# but we know of no workaround that is simple, portable, and efficient.
33003
# So, we kill variables containing newlines.
33004
# Ultrix sh set writes to stderr and can't be redirected directly,
33005
# and sets the high bit in the cache file unless we assign to the vars.
33007
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
33008
eval ac_val=\$$ac_var
33012
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
33013
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
33016
_ | IFS | as_nl) ;; #(
33017
*) $as_unset $ac_var ;;
33023
case $as_nl`(ac_space=' '; set) 2>&1` in #(
33024
*${as_nl}ac_space=\ *)
33025
# `set' does not quote correctly, so add quotes (double-quote
33026
# substitution turns \\\\ into \\, and sed turns \\ into \).
33029
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
33032
# `set' quotes correctly as required by POSIX, so do not add quotes.
33033
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
33042
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
33044
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
33046
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
33047
if test -w "$cache_file"; then
33048
test "x$cache_file" != "x/dev/null" &&
33049
{ echo "$as_me:$LINENO: updating cache $cache_file" >&5
33050
echo "$as_me: updating cache $cache_file" >&6;}
33051
cat confcache >$cache_file
33053
{ echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
33054
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
33059
test "x$prefix" = xNONE && prefix=$ac_default_prefix
33060
# Let make expand exec_prefix.
33061
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
33063
DEFS=-DHAVE_CONFIG_H
33067
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
33068
# 1. Remove the extension, and $U if already installed.
33069
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
33070
ac_i=`echo "$ac_i" | sed "$ac_script"`
33071
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
33072
# will be set to the directory where LIBOBJS objects are built.
33073
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
33074
ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
33076
LIBOBJS=$ac_libobjs
33078
LTLIBOBJS=$ac_ltlibobjs
33081
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
33082
{ { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
33083
Usually this means the macro was only invoked conditionally." >&5
33084
echo "$as_me: error: conditional \"AMDEP\" was never defined.
33085
Usually this means the macro was only invoked conditionally." >&2;}
33086
{ (exit 1); exit 1; }; }
33088
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
33089
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
33090
Usually this means the macro was only invoked conditionally." >&5
33091
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
33092
Usually this means the macro was only invoked conditionally." >&2;}
33093
{ (exit 1); exit 1; }; }
33095
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
33096
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
33097
Usually this means the macro was only invoked conditionally." >&5
33098
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
33099
Usually this means the macro was only invoked conditionally." >&2;}
33100
{ (exit 1); exit 1; }; }
33102
if test -z "${unsermake_enable_pch_TRUE}" && test -z "${unsermake_enable_pch_FALSE}"; then
33103
{ { echo "$as_me:$LINENO: error: conditional \"unsermake_enable_pch\" was never defined.
33104
Usually this means the macro was only invoked conditionally." >&5
33105
echo "$as_me: error: conditional \"unsermake_enable_pch\" was never defined.
33106
Usually this means the macro was only invoked conditionally." >&2;}
33107
{ (exit 1); exit 1; }; }
33109
if test -z "${include_x11_TRUE}" && test -z "${include_x11_FALSE}"; then
33110
{ { echo "$as_me:$LINENO: error: conditional \"include_x11\" was never defined.
33111
Usually this means the macro was only invoked conditionally." >&5
33112
echo "$as_me: error: conditional \"include_x11\" was never defined.
33113
Usually this means the macro was only invoked conditionally." >&2;}
33114
{ (exit 1); exit 1; }; }
33116
if test -z "${include_ARTS_TRUE}" && test -z "${include_ARTS_FALSE}"; then
33117
{ { echo "$as_me:$LINENO: error: conditional \"include_ARTS\" was never defined.
33118
Usually this means the macro was only invoked conditionally." >&5
33119
echo "$as_me: error: conditional \"include_ARTS\" was never defined.
33120
Usually this means the macro was only invoked conditionally." >&2;}
33121
{ (exit 1); exit 1; }; }
33124
: ${CONFIG_STATUS=./config.status}
33125
ac_clean_files_save=$ac_clean_files
33126
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
33127
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
33128
echo "$as_me: creating $CONFIG_STATUS" >&6;}
33129
cat >$CONFIG_STATUS <<_ACEOF
33131
# Generated by $as_me.
33132
# Run this file to recreate the current configuration.
33133
# Compiler output produced by configure, useful for debugging
33134
# configure, is in config.log if it exists.
33137
ac_cs_recheck=false
33139
SHELL=\${CONFIG_SHELL-$SHELL}
33142
cat >>$CONFIG_STATUS <<\_ACEOF
33143
## --------------------- ##
33144
## M4sh Initialization. ##
33145
## --------------------- ##
33147
# Be more Bourne compatible
33148
DUALCASE=1; export DUALCASE # for MKS sh
33149
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
33152
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
33153
# is contrary to our usage. Disable this feature.
33154
alias -g '${1+"$@"}'='"$@"'
33155
setopt NO_GLOB_SUBST
33157
case `(set -o) 2>/dev/null` in
33158
*posix*) set -o posix ;;
33167
# Avoid depending upon Character Ranges.
33168
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
33169
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
33170
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
33171
as_cr_digits='0123456789'
33172
as_cr_alnum=$as_cr_Letters$as_cr_digits
33174
# The user is always right.
33175
if test "${PATH_SEPARATOR+set}" != set; then
33176
echo "#! /bin/sh" >conf$$.sh
33177
echo "exit 0" >>conf$$.sh
33179
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
33187
# Support unset when possible.
33188
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
33196
# We need space, tab and new line, in precisely that order. Quoting is
33197
# there to prevent editors from complaining about space-tab.
33198
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
33199
# splitting by setting IFS to empty value.)
33204
# Find who we are. Look in the path if we contain no directory separator.
33206
*[\\/]* ) as_myself=$0 ;;
33207
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33208
for as_dir in $PATH
33211
test -z "$as_dir" && as_dir=.
33212
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
33218
# We did not find ourselves, most probably we were run as `sh COMMAND'
33219
# in which case we are not to be found in the path.
33220
if test "x$as_myself" = x; then
33223
if test ! -f "$as_myself"; then
33224
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
33225
{ (exit 1); exit 1; }
33228
# Work around bugs in pre-3.0 UWIN ksh.
33229
for as_var in ENV MAIL MAILPATH
33230
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
33238
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
33239
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
33240
LC_TELEPHONE LC_TIME
33242
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
33243
eval $as_var=C; export $as_var
33245
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
33249
# Required to use basename.
33250
if expr a : '\(a\)' >/dev/null 2>&1 &&
33251
test "X`expr 00001 : '.*\(...\)'`" = X001; then
33257
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
33258
as_basename=basename
33264
# Name of the executable.
33265
as_me=`$as_basename -- "$0" ||
33266
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
33267
X"$0" : 'X\(//\)$' \| \
33268
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
33270
sed '/^.*\/\([^/][^/]*\)\/*$/{
33289
as_lineno_1=$LINENO
33290
as_lineno_2=$LINENO
33291
test "x$as_lineno_1" != "x$as_lineno_2" &&
33292
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
33294
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
33295
# uniformly replaced by the line number. The first 'sed' inserts a
33296
# line-number line after each line using $LINENO; the second 'sed'
33297
# does the real work. The second script uses 'N' to pair each
33298
# line-number line with the line containing $LINENO, and appends
33299
# trailing '-' during substitution so that $LINENO is not a special
33300
# case at line end.
33301
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
33302
# scripts with optimization help from Paolo Bonzini. Blame Lee
33303
# E. McMahon (1931-1989) for sed's syntax. :-)
33315
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
33318
' >$as_me.lineno &&
33319
chmod +x "$as_me.lineno" ||
33320
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
33321
{ (exit 1); exit 1; }; }
33323
# Don't try to exec as it changes $[0], causing all sort of problems
33324
# (the dirname of $[0] is not the place where we might find the
33325
# original and so on. Autoconf is especially sensitive to this).
33326
. "./$as_me.lineno"
33327
# Exit status is that of the last command.
33332
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
33338
ECHO_C= ECHO_N= ECHO_T=
33339
case `echo -n x` in
33341
case `echo 'x\c'` in
33342
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
33349
if expr a : '\(a\)' >/dev/null 2>&1 &&
33350
test "X`expr 00001 : '.*\(...\)'`" = X001; then
33356
rm -f conf$$ conf$$.exe conf$$.file
33357
if test -d conf$$.dir; then
33358
rm -f conf$$.dir/conf$$.file
33364
if ln -s conf$$.file conf$$ 2>/dev/null; then
33366
# ... but there are two gotchas:
33367
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
33368
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
33369
# In both cases, we have to default to `cp -p'.
33370
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
33372
elif ln conf$$.file conf$$ 2>/dev/null; then
33377
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
33378
rmdir conf$$.dir 2>/dev/null
33380
if mkdir -p . 2>/dev/null; then
33383
test -d ./-p && rmdir ./-p
33387
if test -x / >/dev/null 2>&1; then
33388
as_test_x='test -x'
33390
if ls -dL / >/dev/null 2>&1; then
33397
if test -d "$1"; then
33403
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
33404
???[sx]*):;;*)false;;esac;fi
33408
as_executable_p=$as_test_x
33410
# Sed expression to map a string onto a valid CPP name.
33411
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
33413
# Sed expression to map a string onto a valid variable name.
33414
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
33419
# Save the log message, to keep $[0] and so on meaningful, and to
33420
# report actual input values of CONFIG_FILES etc. instead of their
33421
# values after options handling.
33423
This file was extended by $as_me, which was
33424
generated by GNU Autoconf 2.61. Invocation command line was
33426
CONFIG_FILES = $CONFIG_FILES
33427
CONFIG_HEADERS = $CONFIG_HEADERS
33428
CONFIG_LINKS = $CONFIG_LINKS
33429
CONFIG_COMMANDS = $CONFIG_COMMANDS
33432
on `(hostname || uname -n) 2>/dev/null | sed 1q`
33437
cat >>$CONFIG_STATUS <<_ACEOF
33438
# Files that config.status was made for.
33439
config_files="$ac_config_files"
33440
config_headers="$ac_config_headers"
33441
config_commands="$ac_config_commands"
33445
cat >>$CONFIG_STATUS <<\_ACEOF
33447
\`$as_me' instantiates files from templates according to the
33448
current configuration.
33450
Usage: $0 [OPTIONS] [FILE]...
33452
-h, --help print this help, then exit
33453
-V, --version print version number and configuration settings, then exit
33454
-q, --quiet do not print progress messages
33455
-d, --debug don't remove temporary files
33456
--recheck update $as_me by reconfiguring in the same conditions
33457
--file=FILE[:TEMPLATE]
33458
instantiate the configuration file FILE
33459
--header=FILE[:TEMPLATE]
33460
instantiate the configuration header FILE
33462
Configuration files:
33465
Configuration headers:
33468
Configuration commands:
33471
Report bugs to <bug-autoconf@gnu.org>."
33474
cat >>$CONFIG_STATUS <<_ACEOF
33477
configured by $0, generated by GNU Autoconf 2.61,
33478
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
33480
Copyright (C) 2006 Free Software Foundation, Inc.
33481
This config.status script is free software; the Free Software Foundation
33482
gives unlimited permission to copy, distribute and modify it."
33490
cat >>$CONFIG_STATUS <<\_ACEOF
33491
# If no file are specified by the user, then we need to provide default
33492
# value. By we need to know if files were specified by the user.
33498
ac_option=`expr "X$1" : 'X\([^=]*\)='`
33499
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
33510
# Handling of the options.
33511
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
33513
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
33514
echo "$ac_cs_version"; exit ;;
33515
--debug | --debu | --deb | --de | --d | -d )
33517
--file | --fil | --fi | --f )
33519
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
33520
ac_need_defaults=false;;
33521
--header | --heade | --head | --hea )
33523
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
33524
ac_need_defaults=false;;
33526
# Conflict between --help and --header
33527
{ echo "$as_me: error: ambiguous option: $1
33528
Try \`$0 --help' for more information." >&2
33529
{ (exit 1); exit 1; }; };;
33530
--help | --hel | -h )
33531
echo "$ac_cs_usage"; exit ;;
33532
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
33533
| -silent | --silent | --silen | --sile | --sil | --si | --s)
33536
# This is an error.
33537
-*) { echo "$as_me: error: unrecognized option: $1
33538
Try \`$0 --help' for more information." >&2
33539
{ (exit 1); exit 1; }; } ;;
33541
*) ac_config_targets="$ac_config_targets $1"
33542
ac_need_defaults=false ;;
33548
ac_configure_extra_args=
33550
if $ac_cs_silent; then
33552
ac_configure_extra_args="$ac_configure_extra_args --silent"
33556
cat >>$CONFIG_STATUS <<_ACEOF
33557
if \$ac_cs_recheck; then
33558
echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
33559
CONFIG_SHELL=$SHELL
33560
export CONFIG_SHELL
33561
exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
33565
cat >>$CONFIG_STATUS <<\_ACEOF
33569
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
33570
## Running $as_me. ##
33576
cat >>$CONFIG_STATUS <<_ACEOF
33580
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
33584
cat >>$CONFIG_STATUS <<\_ACEOF
33586
# Handling of arguments.
33587
for ac_config_target in $ac_config_targets
33589
case $ac_config_target in
33590
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
33591
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
33592
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
33593
"doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
33594
"doc/en/Makefile") CONFIG_FILES="$CONFIG_FILES doc/en/Makefile" ;;
33595
"kdesudo/Makefile") CONFIG_FILES="$CONFIG_FILES kdesudo/Makefile" ;;
33596
"po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
33598
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
33599
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
33600
{ (exit 1); exit 1; }; };;
33605
# If the user did not use the arguments to specify the items to instantiate,
33606
# then the envvar interface is used. Set only those that are not.
33607
# We use the long form for the default assignment because of an extremely
33608
# bizarre bug on SunOS 4.1.3.
33609
if $ac_need_defaults; then
33610
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
33611
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
33612
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
33615
# Have a temporary directory for convenience. Make it in the build tree
33616
# simply because there is no reason against having it here, and in addition,
33617
# creating and moving files from /tmp can sometimes cause problems.
33618
# Hook for its removal unless debugging.
33619
# Note that there is a small window in which the directory will not be cleaned:
33620
# after its creation but before its name has been assigned to `$tmp'.
33624
trap 'exit_status=$?
33625
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
33627
trap '{ (exit 1); exit 1; }' 1 2 13 15
33629
# Create a (secure) tmp directory for tmp files.
33632
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
33633
test -n "$tmp" && test -d "$tmp"
33636
tmp=./conf$$-$RANDOM
33637
(umask 077 && mkdir "$tmp")
33640
echo "$me: cannot create a temporary directory in ." >&2
33641
{ (exit 1); exit 1; }
33645
# Set up the sed scripts for CONFIG_FILES section.
33648
# No need to generate the scripts if there are no CONFIG_FILES.
33649
# This happens for instance when ./config.status config.h
33650
if test -n "$CONFIG_FILES"; then
33657
for ac_last_try in false false false false false :; do
33658
cat >conf$$subs.sed <<_ACEOF
33659
SHELL!$SHELL$ac_delim
33660
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
33661
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
33662
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
33663
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
33664
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
33665
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
33666
exec_prefix!$exec_prefix$ac_delim
33667
prefix!$prefix$ac_delim
33668
program_transform_name!$program_transform_name$ac_delim
33669
bindir!$bindir$ac_delim
33670
sbindir!$sbindir$ac_delim
33671
libexecdir!$libexecdir$ac_delim
33672
datarootdir!$datarootdir$ac_delim
33673
datadir!$datadir$ac_delim
33674
sysconfdir!$sysconfdir$ac_delim
33675
sharedstatedir!$sharedstatedir$ac_delim
33676
localstatedir!$localstatedir$ac_delim
33677
includedir!$includedir$ac_delim
33678
oldincludedir!$oldincludedir$ac_delim
33679
docdir!$docdir$ac_delim
33680
infodir!$infodir$ac_delim
33681
htmldir!$htmldir$ac_delim
33682
dvidir!$dvidir$ac_delim
33683
pdfdir!$pdfdir$ac_delim
33684
psdir!$psdir$ac_delim
33685
libdir!$libdir$ac_delim
33686
localedir!$localedir$ac_delim
33687
mandir!$mandir$ac_delim
33688
DEFS!$DEFS$ac_delim
33689
ECHO_C!$ECHO_C$ac_delim
33690
ECHO_N!$ECHO_N$ac_delim
33691
ECHO_T!$ECHO_T$ac_delim
33692
LIBS!$LIBS$ac_delim
33693
build_alias!$build_alias$ac_delim
33694
host_alias!$host_alias$ac_delim
33695
target_alias!$target_alias$ac_delim
33696
build!$build$ac_delim
33697
build_cpu!$build_cpu$ac_delim
33698
build_vendor!$build_vendor$ac_delim
33699
build_os!$build_os$ac_delim
33700
host!$host$ac_delim
33701
host_cpu!$host_cpu$ac_delim
33702
host_vendor!$host_vendor$ac_delim
33703
host_os!$host_os$ac_delim
33704
target!$target$ac_delim
33705
target_cpu!$target_cpu$ac_delim
33706
target_vendor!$target_vendor$ac_delim
33707
target_os!$target_os$ac_delim
33708
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
33709
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
33710
INSTALL_DATA!$INSTALL_DATA$ac_delim
33711
am__isrc!$am__isrc$ac_delim
33712
CYGPATH_W!$CYGPATH_W$ac_delim
33713
PACKAGE!$PACKAGE$ac_delim
33714
VERSION!$VERSION$ac_delim
33715
ACLOCAL!$ACLOCAL$ac_delim
33716
AUTOCONF!$AUTOCONF$ac_delim
33717
AUTOMAKE!$AUTOMAKE$ac_delim
33718
AUTOHEADER!$AUTOHEADER$ac_delim
33719
MAKEINFO!$MAKEINFO$ac_delim
33720
install_sh!$install_sh$ac_delim
33721
STRIP!$STRIP$ac_delim
33722
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
33723
mkdir_p!$mkdir_p$ac_delim
33725
SET_MAKE!$SET_MAKE$ac_delim
33726
am__leading_dot!$am__leading_dot$ac_delim
33727
AMTAR!$AMTAR$ac_delim
33728
am__tar!$am__tar$ac_delim
33729
am__untar!$am__untar$ac_delim
33730
KDECONFIG!$KDECONFIG$ac_delim
33731
kde_libs_prefix!$kde_libs_prefix$ac_delim
33732
kde_libs_htmldir!$kde_libs_htmldir$ac_delim
33733
CONF_FILES!$CONF_FILES$ac_delim
33735
CFLAGS!$CFLAGS$ac_delim
33736
LDFLAGS!$LDFLAGS$ac_delim
33737
CPPFLAGS!$CPPFLAGS$ac_delim
33738
ac_ct_CC!$ac_ct_CC$ac_delim
33739
EXEEXT!$EXEEXT$ac_delim
33740
OBJEXT!$OBJEXT$ac_delim
33741
DEPDIR!$DEPDIR$ac_delim
33742
am__include!$am__include$ac_delim
33743
am__quote!$am__quote$ac_delim
33744
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
33745
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
33746
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
33747
CCDEPMODE!$CCDEPMODE$ac_delim
33748
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
33749
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
33752
CXXFLAGS!$CXXFLAGS$ac_delim
33753
ac_ct_CXX!$ac_ct_CXX$ac_delim
33754
CXXDEPMODE!$CXXDEPMODE$ac_delim
33755
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
33758
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
33760
elif $ac_last_try; then
33761
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
33762
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
33763
{ (exit 1); exit 1; }; }
33765
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
33769
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
33770
if test -n "$ac_eof"; then
33771
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
33772
ac_eof=`expr $ac_eof + 1`
33775
cat >>$CONFIG_STATUS <<_ACEOF
33776
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
33777
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
33780
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
33781
s/^/s,@/; s/!/@,|#_!!_#|/
33784
s/'"$ac_delim"'$/,g/; t
33786
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
33787
' >>$CONFIG_STATUS <conf$$subs.sed
33788
rm -f conf$$subs.sed
33789
cat >>$CONFIG_STATUS <<_ACEOF
33795
for ac_last_try in false false false false false :; do
33796
cat >conf$$subs.sed <<_ACEOF
33797
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
33798
WOVERLOADED_VIRTUAL!$WOVERLOADED_VIRTUAL$ac_delim
33799
HAVE_GCC_VISIBILITY!$HAVE_GCC_VISIBILITY$ac_delim
33800
unsermake_enable_pch_TRUE!$unsermake_enable_pch_TRUE$ac_delim
33801
unsermake_enable_pch_FALSE!$unsermake_enable_pch_FALSE$ac_delim
33802
USE_EXCEPTIONS!$USE_EXCEPTIONS$ac_delim
33803
USE_RTTI!$USE_RTTI$ac_delim
33804
CXXCPP!$CXXCPP$ac_delim
33805
NOOPT_CXXFLAGS!$NOOPT_CXXFLAGS$ac_delim
33806
NOOPT_CFLAGS!$NOOPT_CFLAGS$ac_delim
33807
ENABLE_PERMISSIVE_FLAG!$ENABLE_PERMISSIVE_FLAG$ac_delim
33808
LDFLAGS_AS_NEEDED!$LDFLAGS_AS_NEEDED$ac_delim
33809
LDFLAGS_NEW_DTAGS!$LDFLAGS_NEW_DTAGS$ac_delim
33810
KDE_USE_FINAL_TRUE!$KDE_USE_FINAL_TRUE$ac_delim
33811
KDE_USE_FINAL_FALSE!$KDE_USE_FINAL_FALSE$ac_delim
33812
KDE_USE_CLOSURE_TRUE!$KDE_USE_CLOSURE_TRUE$ac_delim
33813
KDE_USE_CLOSURE_FALSE!$KDE_USE_CLOSURE_FALSE$ac_delim
33814
KDE_NO_UNDEFINED!$KDE_NO_UNDEFINED$ac_delim
33815
KDE_USE_NMCHECK_TRUE!$KDE_USE_NMCHECK_TRUE$ac_delim
33816
KDE_USE_NMCHECK_FALSE!$KDE_USE_NMCHECK_FALSE$ac_delim
33817
GREP!$GREP$ac_delim
33818
EGREP!$EGREP$ac_delim
33819
LN_S!$LN_S$ac_delim
33820
ECHO!$ECHO$ac_delim
33822
RANLIB!$RANLIB$ac_delim
33824
FFLAGS!$FFLAGS$ac_delim
33825
ac_ct_F77!$ac_ct_F77$ac_delim
33826
LIBTOOL!$LIBTOOL$ac_delim
33827
KDE_PLUGIN!$KDE_PLUGIN$ac_delim
33828
KDE_CHECK_PLUGIN!$KDE_CHECK_PLUGIN$ac_delim
33829
MSGFMT!$MSGFMT$ac_delim
33830
GMSGFMT!$GMSGFMT$ac_delim
33831
XGETTEXT!$XGETTEXT$ac_delim
33832
LIBUTIL!$LIBUTIL$ac_delim
33833
LIBCOMPAT!$LIBCOMPAT$ac_delim
33834
LIBCRYPT!$LIBCRYPT$ac_delim
33835
LIBRESOLV!$LIBRESOLV$ac_delim
33836
LIB_POLL!$LIB_POLL$ac_delim
33837
FRAMEWORK_COREAUDIO!$FRAMEWORK_COREAUDIO$ac_delim
33838
LIBSOCKET!$LIBSOCKET$ac_delim
33839
X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
33840
LIBUCB!$LIBUCB$ac_delim
33841
LIBDL!$LIBDL$ac_delim
33842
KDE_USE_FPIE!$KDE_USE_FPIE$ac_delim
33843
KDE_USE_PIE!$KDE_USE_PIE$ac_delim
33844
include_x11_TRUE!$include_x11_TRUE$ac_delim
33845
include_x11_FALSE!$include_x11_FALSE$ac_delim
33846
XMKMF!$XMKMF$ac_delim
33847
X_PRE_LIBS!$X_PRE_LIBS$ac_delim
33848
LIB_X11!$LIB_X11$ac_delim
33849
LIB_XRENDER!$LIB_XRENDER$ac_delim
33850
LIBSM!$LIBSM$ac_delim
33851
X_INCLUDES!$X_INCLUDES$ac_delim
33852
X_LDFLAGS!$X_LDFLAGS$ac_delim
33853
x_includes!$x_includes$ac_delim
33854
x_libraries!$x_libraries$ac_delim
33855
QTE_NORTTI!$QTE_NORTTI$ac_delim
33856
LIB_XEXT!$LIB_XEXT$ac_delim
33857
LIBPTHREAD!$LIBPTHREAD$ac_delim
33858
USE_THREADS!$USE_THREADS$ac_delim
33859
KDE_MT_LDFLAGS!$KDE_MT_LDFLAGS$ac_delim
33860
KDE_MT_LIBS!$KDE_MT_LIBS$ac_delim
33861
USER_INCLUDES!$USER_INCLUDES$ac_delim
33862
USER_LDFLAGS!$USER_LDFLAGS$ac_delim
33863
LIBZ!$LIBZ$ac_delim
33864
LIBPNG!$LIBPNG$ac_delim
33865
LIBJPEG!$LIBJPEG$ac_delim
33866
qt_libraries!$qt_libraries$ac_delim
33867
qt_includes!$qt_includes$ac_delim
33868
QT_INCLUDES!$QT_INCLUDES$ac_delim
33869
QT_LDFLAGS!$QT_LDFLAGS$ac_delim
33870
PERL!$PERL$ac_delim
33873
UIC_TR!$UIC_TR$ac_delim
33874
LIB_QT!$LIB_QT$ac_delim
33875
LIB_QPE!$LIB_QPE$ac_delim
33876
kde_qtver!$kde_qtver$ac_delim
33877
KDE_EXTRA_RPATH!$KDE_EXTRA_RPATH$ac_delim
33878
KDE_RPATH!$KDE_RPATH$ac_delim
33879
X_RPATH!$X_RPATH$ac_delim
33880
kde_libraries!$kde_libraries$ac_delim
33881
kde_includes!$kde_includes$ac_delim
33882
KDE_LDFLAGS!$KDE_LDFLAGS$ac_delim
33883
KDE_INCLUDES!$KDE_INCLUDES$ac_delim
33884
all_includes!$all_includes$ac_delim
33885
all_libraries!$all_libraries$ac_delim
33886
AUTODIRS!$AUTODIRS$ac_delim
33887
include_ARTS_TRUE!$include_ARTS_TRUE$ac_delim
33888
include_ARTS_FALSE!$include_ARTS_FALSE$ac_delim
33889
MAKEKDEWIDGETS!$MAKEKDEWIDGETS$ac_delim
33890
KCONFIG_COMPILER!$KCONFIG_COMPILER$ac_delim
33891
KCFG_DEPENDENCIES!$KCFG_DEPENDENCIES$ac_delim
33892
DCOPIDLNG!$DCOPIDLNG$ac_delim
33893
DCOPIDL!$DCOPIDL$ac_delim
33896
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
33898
elif $ac_last_try; then
33899
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
33900
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
33901
{ (exit 1); exit 1; }; }
33903
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
33907
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
33908
if test -n "$ac_eof"; then
33909
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
33910
ac_eof=`expr $ac_eof + 1`
33913
cat >>$CONFIG_STATUS <<_ACEOF
33914
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
33915
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
33918
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
33919
s/^/s,@/; s/!/@,|#_!!_#|/
33922
s/'"$ac_delim"'$/,g/; t
33924
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
33925
' >>$CONFIG_STATUS <conf$$subs.sed
33926
rm -f conf$$subs.sed
33927
cat >>$CONFIG_STATUS <<_ACEOF
33933
for ac_last_try in false false false false false :; do
33934
cat >conf$$subs.sed <<_ACEOF
33935
DCOPIDL2CPP!$DCOPIDL2CPP$ac_delim
33936
DCOP_DEPENDENCIES!$DCOP_DEPENDENCIES$ac_delim
33937
MCOPIDL!$MCOPIDL$ac_delim
33938
ARTSCCONFIG!$ARTSCCONFIG$ac_delim
33939
MEINPROC!$MEINPROC$ac_delim
33940
KDE_XSL_STYLESHEET!$KDE_XSL_STYLESHEET$ac_delim
33941
XMLLINT!$XMLLINT$ac_delim
33942
kde_htmldir!$kde_htmldir$ac_delim
33943
kde_appsdir!$kde_appsdir$ac_delim
33944
kde_icondir!$kde_icondir$ac_delim
33945
kde_sounddir!$kde_sounddir$ac_delim
33946
kde_datadir!$kde_datadir$ac_delim
33947
kde_locale!$kde_locale$ac_delim
33948
kde_confdir!$kde_confdir$ac_delim
33949
kde_kcfgdir!$kde_kcfgdir$ac_delim
33950
kde_mimedir!$kde_mimedir$ac_delim
33951
kde_wallpaperdir!$kde_wallpaperdir$ac_delim
33952
kde_bindir!$kde_bindir$ac_delim
33953
xdg_appsdir!$xdg_appsdir$ac_delim
33954
xdg_menudir!$xdg_menudir$ac_delim
33955
xdg_directorydir!$xdg_directorydir$ac_delim
33956
kde_templatesdir!$kde_templatesdir$ac_delim
33957
kde_servicesdir!$kde_servicesdir$ac_delim
33958
kde_servicetypesdir!$kde_servicetypesdir$ac_delim
33959
kde_moduledir!$kde_moduledir$ac_delim
33960
kdeinitdir!$kdeinitdir$ac_delim
33961
kde_styledir!$kde_styledir$ac_delim
33962
kde_widgetdir!$kde_widgetdir$ac_delim
33963
LIB_KDED!$LIB_KDED$ac_delim
33964
LIB_KDECORE!$LIB_KDECORE$ac_delim
33965
LIB_KDEUI!$LIB_KDEUI$ac_delim
33966
LIB_KIO!$LIB_KIO$ac_delim
33967
LIB_KJS!$LIB_KJS$ac_delim
33968
LIB_SMB!$LIB_SMB$ac_delim
33969
LIB_KAB!$LIB_KAB$ac_delim
33970
LIB_KABC!$LIB_KABC$ac_delim
33971
LIB_KHTML!$LIB_KHTML$ac_delim
33972
LIB_KSPELL!$LIB_KSPELL$ac_delim
33973
LIB_KPARTS!$LIB_KPARTS$ac_delim
33974
LIB_KDEPRINT!$LIB_KDEPRINT$ac_delim
33975
LIB_KUTILS!$LIB_KUTILS$ac_delim
33976
LIB_KDEPIM!$LIB_KDEPIM$ac_delim
33977
LIB_KIMPROXY!$LIB_KIMPROXY$ac_delim
33978
LIB_KNEWSTUFF!$LIB_KNEWSTUFF$ac_delim
33979
LIB_KDNSSD!$LIB_KDNSSD$ac_delim
33980
LIB_KUNITTEST!$LIB_KUNITTEST$ac_delim
33981
LIB_KSYCOCA!$LIB_KSYCOCA$ac_delim
33982
LIB_KFILE!$LIB_KFILE$ac_delim
33983
LIB_KFM!$LIB_KFM$ac_delim
33984
TOPSUBDIRS!$TOPSUBDIRS$ac_delim
33985
LIBOBJS!$LIBOBJS$ac_delim
33986
LTLIBOBJS!$LTLIBOBJS$ac_delim
33989
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 52; then
33991
elif $ac_last_try; then
33992
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
33993
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
33994
{ (exit 1); exit 1; }; }
33996
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
34000
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
34001
if test -n "$ac_eof"; then
34002
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
34003
ac_eof=`expr $ac_eof + 1`
34006
cat >>$CONFIG_STATUS <<_ACEOF
34007
cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
34008
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
34011
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
34012
s/^/s,@/; s/!/@,|#_!!_#|/
34015
s/'"$ac_delim"'$/,g/; t
34017
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
34018
' >>$CONFIG_STATUS <conf$$subs.sed
34019
rm -f conf$$subs.sed
34020
cat >>$CONFIG_STATUS <<_ACEOF
34027
# VPATH may cause trouble with some makes, so we remove $(srcdir),
34028
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
34029
# trailing colons and then remove the whole line if VPATH becomes empty
34030
# (actually we leave an empty line to preserve line numbers).
34031
if test "x$srcdir" = x.; then
34032
ac_vpsub='/^[ ]*VPATH[ ]*=/{
34033
s/:*\$(srcdir):*/:/
34034
s/:*\${srcdir}:*/:/
34036
s/^\([^=]*=[ ]*\):*/\1/
34042
cat >>$CONFIG_STATUS <<\_ACEOF
34043
fi # test -n "$CONFIG_FILES"
34046
for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
34049
:[FHLC]) ac_mode=$ac_tag; continue;;
34051
case $ac_mode$ac_tag in
34053
:L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
34054
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
34055
{ (exit 1); exit 1; }; };;
34056
:[FH]-) ac_tag=-:-;;
34057
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
34074
-) ac_f="$tmp/stdin";;
34075
*) # Look for the file first in the build tree, then in the source tree
34076
# (if the path is not absolute). The absolute path cannot be DOS-style,
34077
# because $ac_f cannot contain `:'.
34081
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
34083
{ { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
34084
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
34085
{ (exit 1); exit 1; }; };;
34087
ac_file_inputs="$ac_file_inputs $ac_f"
34090
# Let's still pretend it is `configure' which instantiates (i.e., don't
34091
# use $as_me), people would be surprised to read:
34092
# /* config.h. Generated by config.status. */
34093
configure_input="Generated from "`IFS=:
34094
echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
34095
if test x"$ac_file" != x-; then
34096
configure_input="$ac_file. $configure_input"
34097
{ echo "$as_me:$LINENO: creating $ac_file" >&5
34098
echo "$as_me: creating $ac_file" >&6;}
34102
*:-:* | *:-) cat >"$tmp/stdin";;
34107
ac_dir=`$as_dirname -- "$ac_file" ||
34108
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34109
X"$ac_file" : 'X\(//\)[^/]' \| \
34110
X"$ac_file" : 'X\(//\)$' \| \
34111
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
34113
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34117
/^X\(\/\/\)[^/].*/{
34132
-*) as_dir=./$as_dir;;
34134
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
34138
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
34139
*) as_qdir=$as_dir;;
34141
as_dirs="'$as_qdir' $as_dirs"
34142
as_dir=`$as_dirname -- "$as_dir" ||
34143
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34144
X"$as_dir" : 'X\(//\)[^/]' \| \
34145
X"$as_dir" : 'X\(//\)$' \| \
34146
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
34148
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34152
/^X\(\/\/\)[^/].*/{
34165
test -d "$as_dir" && break
34167
test -z "$as_dirs" || eval "mkdir $as_dirs"
34168
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
34169
echo "$as_me: error: cannot create directory $as_dir" >&2;}
34170
{ (exit 1); exit 1; }; }; }
34174
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
34176
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
34177
# A ".." for each directory in $ac_dir_suffix.
34178
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
34179
case $ac_top_builddir_sub in
34180
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
34181
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
34184
ac_abs_top_builddir=$ac_pwd
34185
ac_abs_builddir=$ac_pwd$ac_dir_suffix
34186
# for backward compatibility:
34187
ac_top_builddir=$ac_top_build_prefix
34190
.) # We are building in place.
34192
ac_top_srcdir=$ac_top_builddir_sub
34193
ac_abs_top_srcdir=$ac_pwd ;;
34194
[\\/]* | ?:[\\/]* ) # Absolute name.
34195
ac_srcdir=$srcdir$ac_dir_suffix;
34196
ac_top_srcdir=$srcdir
34197
ac_abs_top_srcdir=$srcdir ;;
34198
*) # Relative name.
34199
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
34200
ac_top_srcdir=$ac_top_build_prefix$srcdir
34201
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
34203
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
34213
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
34214
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
34216
ac_MKDIR_P=$MKDIR_P
34218
[\\/$]* | ?:[\\/]* ) ;;
34219
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
34223
cat >>$CONFIG_STATUS <<\_ACEOF
34224
# If the template does not know about datarootdir, expand it.
34225
# FIXME: This hack should be removed a few years after 2.60.
34226
ac_datarootdir_hack=; ac_datarootdir_seen=
34228
case `sed -n '/datarootdir/ {
34237
' $ac_file_inputs` in
34238
*datarootdir*) ac_datarootdir_seen=yes;;
34239
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
34240
{ echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
34241
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
34243
cat >>$CONFIG_STATUS <<_ACEOF
34244
ac_datarootdir_hack='
34245
s&@datadir@&$datadir&g
34246
s&@docdir@&$docdir&g
34247
s&@infodir@&$infodir&g
34248
s&@localedir@&$localedir&g
34249
s&@mandir@&$mandir&g
34250
s&\\\${datarootdir}&$datarootdir&g' ;;
34254
# Neutralize VPATH when `$srcdir' = `.'.
34255
# Shell code in configure.ac might set extrasub.
34256
# FIXME: do we really want to maintain this feature?
34257
cat >>$CONFIG_STATUS <<_ACEOF
34261
cat >>$CONFIG_STATUS <<\_ACEOF
34263
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
34264
s&@configure_input@&$configure_input&;t t
34265
s&@top_builddir@&$ac_top_builddir_sub&;t t
34266
s&@srcdir@&$ac_srcdir&;t t
34267
s&@abs_srcdir@&$ac_abs_srcdir&;t t
34268
s&@top_srcdir@&$ac_top_srcdir&;t t
34269
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
34270
s&@builddir@&$ac_builddir&;t t
34271
s&@abs_builddir@&$ac_abs_builddir&;t t
34272
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
34273
s&@INSTALL@&$ac_INSTALL&;t t
34274
s&@MKDIR_P@&$ac_MKDIR_P&;t t
34275
$ac_datarootdir_hack
34276
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" | sed -f "$tmp/subs-3.sed" >$tmp/out
34278
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
34279
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
34280
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
34281
{ echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
34282
which seems to be undefined. Please make sure it is defined." >&5
34283
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
34284
which seems to be undefined. Please make sure it is defined." >&2;}
34288
-) cat "$tmp/out"; rm -f "$tmp/out";;
34289
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
34298
# Transform confdefs.h into a sed script `conftest.defines', that
34299
# substitutes the proper values into config.h.in to produce config.h.
34300
rm -f conftest.defines conftest.tail
34301
# First, append a space to every undef/define line, to ease matching.
34302
echo 's/$/ /' >conftest.defines
34303
# Then, protect against being on the right side of a sed subst, or in
34304
# an unquoted here document, in config.status. If some macros were
34305
# called several times there might be several #defines for the same
34306
# symbol, which is useless. But do not sort them, since the last
34307
# AC_DEFINE must be honored.
34308
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
34309
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
34310
# NAME is the cpp macro being defined, VALUE is the value it is being given.
34311
# PARAMS is the parameter list in the macro definition--in most cases, it's
34312
# just an empty string.
34313
ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
34314
ac_dB='\\)[ (].*,\\1define\\2'
34322
s/^[ ]*#[ ]*define[ ][ ]*//
34327
s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
34328
s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
34329
' >>conftest.defines
34331
# Remove the space that was appended to ease matching.
34332
# Then replace #undef with comments. This is necessary, for
34333
# example, in the case of _POSIX_SOURCE, which is predefined and required
34334
# on some systems where configure will not decide to define it.
34335
# (The regexp can be short, since the line contains either #define or #undef.)
34337
s,^[ #]*u.*,/* & */,' >>conftest.defines
34339
# Break up conftest.defines:
34340
ac_max_sed_lines=50
34342
# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
34343
# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
34344
# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
34346
ac_in='$ac_file_inputs'
34347
ac_out='"$tmp/out1"'
34348
ac_nxt='"$tmp/out2"'
34352
# Write a here document:
34353
cat >>$CONFIG_STATUS <<_ACEOF
34354
# First, check the format of the line:
34355
cat >"\$tmp/defines.sed" <<\\CEOF
34356
/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
34357
/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
34361
sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
34363
sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
34364
ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
34365
sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
34366
grep . conftest.tail >/dev/null || break
34367
rm -f conftest.defines
34368
mv conftest.tail conftest.defines
34370
rm -f conftest.defines conftest.tail
34372
echo "ac_result=$ac_in" >>$CONFIG_STATUS
34373
cat >>$CONFIG_STATUS <<\_ACEOF
34374
if test x"$ac_file" != x-; then
34375
echo "/* $configure_input */" >"$tmp/config.h"
34376
cat "$ac_result" >>"$tmp/config.h"
34377
if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
34378
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
34379
echo "$as_me: $ac_file is unchanged" >&6;}
34382
mv "$tmp/config.h" $ac_file
34385
echo "/* $configure_input */"
34389
# Compute $ac_file's index in $config_headers.
34392
for _am_header in $config_headers :; do
34393
case $_am_header in
34394
$_am_arg | $_am_arg:* )
34397
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
34400
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
34401
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34402
X"$_am_arg" : 'X\(//\)[^/]' \| \
34403
X"$_am_arg" : 'X\(//\)$' \| \
34404
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
34406
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34410
/^X\(\/\/\)[^/].*/{
34422
s/.*/./; q'`/stamp-h$_am_stamp_count
34425
:C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
34426
echo "$as_me: executing $ac_file commands" >&6;}
34431
case $ac_file$ac_mode in
34432
"depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
34433
# Strip MF so we end up with the name of the file.
34434
mf=`echo "$mf" | sed -e 's/:.*$//'`
34435
# Check whether this is an Automake generated Makefile or not.
34436
# We used to match only the files named `Makefile.in', but
34437
# some people rename them; so instead we look at the file content.
34438
# Grep'ing the first line is not enough: some people post-process
34439
# each Makefile.in and add a new line on top of each file to say so.
34440
# Grep'ing the whole file is not good either: AIX grep has a line
34441
# limit of 2048, but all sed's we know have understand at least 4000.
34442
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
34443
dirpart=`$as_dirname -- "$mf" ||
34444
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34445
X"$mf" : 'X\(//\)[^/]' \| \
34446
X"$mf" : 'X\(//\)$' \| \
34447
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
34449
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34453
/^X\(\/\/\)[^/].*/{
34469
# Extract the definition of DEPDIR, am__include, and am__quote
34470
# from the Makefile without running `make'.
34471
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
34472
test -z "$DEPDIR" && continue
34473
am__include=`sed -n 's/^am__include = //p' < "$mf"`
34474
test -z "am__include" && continue
34475
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
34476
# When using ansi2knr, U may be empty or an underscore; expand it
34477
U=`sed -n 's/^U = //p' < "$mf"`
34478
# Find all dependency output files, they are included files with
34479
# $(DEPDIR) in their names. We invoke sed twice because it is the
34480
# simplest approach to changing $(DEPDIR) to its actual value in the
34482
for file in `sed -n "
34483
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
34484
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
34485
# Make sure the directory exists.
34486
test -f "$dirpart/$file" && continue
34487
fdir=`$as_dirname -- "$file" ||
34488
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34489
X"$file" : 'X\(//\)[^/]' \| \
34490
X"$file" : 'X\(//\)$' \| \
34491
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
34493
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34497
/^X\(\/\/\)[^/].*/{
34510
{ as_dir=$dirpart/$fdir
34512
-*) as_dir=./$as_dir;;
34514
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
34518
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
34519
*) as_qdir=$as_dir;;
34521
as_dirs="'$as_qdir' $as_dirs"
34522
as_dir=`$as_dirname -- "$as_dir" ||
34523
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34524
X"$as_dir" : 'X\(//\)[^/]' \| \
34525
X"$as_dir" : 'X\(//\)$' \| \
34526
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
34528
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34532
/^X\(\/\/\)[^/].*/{
34545
test -d "$as_dir" && break
34547
test -z "$as_dirs" || eval "mkdir $as_dirs"
34548
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
34549
echo "$as_me: error: cannot create directory $as_dir" >&2;}
34550
{ (exit 1); exit 1; }; }; }
34551
# echo "creating $dirpart/$file"
34552
echo '# dummy' > "$dirpart/$file"
34561
{ (exit 0); exit 0; }
34563
if test "x$with_fast_perl" = "xyes"; then
34564
perl -i.bak $ac_aux_dir/conf.change.pl $CONFIG_STATUS \
34565
|| mv $CONFIG_STATUS.bak $CONFIG_STATUS
34566
rm -f $CONFIG_STATUS.bak
34568
chmod +x $CONFIG_STATUS
34569
ac_clean_files=$ac_clean_files_save
34572
# configure is writing to config.log, and then calls config.status.
34573
# config.status does its own redirection, appending to config.log.
34574
# Unfortunately, on DOS this fails, as config.log is still kept open
34575
# by configure, so config.status won't be able to write to it; its
34576
# output is simply discarded. So we exec the FD to /dev/null,
34577
# effectively closing config.log, so it can be properly (re)opened and
34578
# appended to by config.status. When coming back to configure, we
34579
# need to make the FD available again.
34580
if test "$no_create" != yes; then
34582
ac_config_status_args=
34583
test "$silent" = yes &&
34584
ac_config_status_args="$ac_config_status_args --quiet"
34586
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
34588
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
34589
# would make configure fail if this is the last instruction.
34590
$ac_cs_success || { (exit 1); exit 1; }
34593
# Check if KDE_SET_PREFIX was called, and --prefix was passed to configure
34594
if test -n "$kde_libs_prefix" -a -n "$given_prefix"; then
34595
# And if so, warn when they don't match
34596
if test "$kde_libs_prefix" != "$given_prefix"; then
34597
# And if kde doesn't know about the prefix yet
34598
echo ":"`kde-config --path exe`":" | grep ":$given_prefix/bin/:" 2>&1 >/dev/null
34599
if test $? -ne 0; then
34601
echo "Warning: you chose to install this package in $given_prefix,"
34602
echo "but KDE was found in $kde_libs_prefix."
34603
echo "For this to work, you will need to tell KDE about the new prefix, by ensuring"
34604
echo "that KDEDIRS contains it, e.g. export KDEDIRS=$given_prefix:$kde_libs_prefix"
34605
echo "Then restart KDE."
34611
if test x$GXX = "xyes" -a x$kde_have_gcc_visibility = "xyes" -a x$kde_cv_val_qt_gcc_visibility_patched = "xno"; then
34613
echo "Your GCC supports symbol visibility, but the patch for Qt supporting visibility"
34614
echo "was not included. Therefore, GCC symbol visibility support remains disabled."
34616
echo "For better performance, consider including the Qt visibility supporting patch"
34619
echo "http://bugs.kde.org/show_bug.cgi?id=109386"
34621
echo "and recompile all of Qt and KDE. Note, this is entirely optional and"
34622
echo "everything will continue to work just fine without it."
34626
if test "$all_tests" = "bad"; then
34627
if test ! "$cache_file" = "/dev/null"; then
34629
echo "Please remove the file $cache_file after changing your setup"
34630
echo "so that configure will find the changes next time."
34635
echo "Good - your configure finished. Start make now"