2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.59.
5
# Copyright (C) 2003 Free Software Foundation, Inc.
6
# This configure script is free software; the Free Software Foundation
7
# gives unlimited permission to copy, distribute and modify it.
8
## --------------------- ##
9
## M4sh Initialization. ##
10
## --------------------- ##
12
# Be Bourne compatible
13
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17
# is contrary to our usage. Disable this feature.
18
alias -g '${1+"$@"}'='"$@"'
19
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22
DUALCASE=1; export DUALCASE # for MKS sh
24
# Support unset when possible.
25
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
32
# Work around bugs in pre-3.0 UWIN ksh.
33
$as_unset ENV MAIL MAILPATH
40
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45
eval $as_var=C; export $as_var
51
# Required to use basename.
52
if expr a : '\(a\)' >/dev/null 2>&1; then
58
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
65
# Name of the executable.
66
as_me=`$as_basename "$0" ||
67
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68
X"$0" : 'X\(//\)$' \| \
69
X"$0" : 'X\(/\)$' \| \
70
. : '\(.\)' 2>/dev/null ||
72
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73
/^X\/\(\/\/\)$/{ s//\1/; q; }
74
/^X\/\(\/\).*/{ s//\1/; q; }
78
# PATH needs CR, and LINENO needs CR and PATH.
79
# Avoid depending upon Character Ranges.
80
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83
as_cr_digits='0123456789'
84
as_cr_alnum=$as_cr_Letters$as_cr_digits
86
# The user is always right.
87
if test "${PATH_SEPARATOR+set}" != set; then
88
echo "#! /bin/sh" >conf$$.sh
89
echo "exit 0" >>conf$$.sh
91
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
102
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103
test "x$as_lineno_1" != "x$as_lineno_2" &&
104
test "x$as_lineno_3" = "x$as_lineno_2" || {
105
# Find who we are. Look in the path if we contain no path at all
108
*[\\/]* ) as_myself=$0 ;;
109
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113
test -z "$as_dir" && as_dir=.
114
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
119
# We did not find ourselves, most probably we were run as `sh COMMAND'
120
# in which case we are not to be found in the path.
121
if test "x$as_myself" = x; then
124
if test ! -f "$as_myself"; then
125
{ echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126
{ (exit 1); exit 1; }; }
128
case $CONFIG_SHELL in
130
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134
test -z "$as_dir" && as_dir=.
135
for as_base in sh bash ksh sh5; do
138
if ("$as_dir/$as_base" -c '
141
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142
test "x$as_lineno_1" != "x$as_lineno_2" &&
143
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146
CONFIG_SHELL=$as_dir/$as_base
148
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157
# uniformly replaced by the line number. The first 'sed' inserts a
158
# line-number line before each line; the second 'sed' does the real
159
# work. The second script uses 'N' to pair each line-number line
160
# with the numbered line, and appends trailing '-' during
161
# substitution so that $LINENO is not a special case at line end.
162
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164
sed '=' <$as_myself |
169
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172
s,^['$as_cr_digits']*\n,,
174
chmod +x $as_me.lineno ||
175
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176
{ (exit 1); exit 1; }; }
178
# Don't try to exec as it changes $[0], causing all sort of problems
179
# (the dirname of $[0] is not the place where we might find the
180
# original and so on. Autoconf is especially sensible to this).
182
# Exit status is that of the last command.
187
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188
*c*,-n*) ECHO_N= ECHO_C='
190
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194
if expr a : '\(a\)' >/dev/null 2>&1; then
200
rm -f conf$$ conf$$.exe conf$$.file
202
if ln -s conf$$.file conf$$ 2>/dev/null; then
203
# We could just check for DJGPP; but this test a) works b) is more generic
204
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205
if test -f conf$$.exe; then
206
# Don't use ln at all; we don't have any links
211
elif ln conf$$.file conf$$ 2>/dev/null; then
216
rm -f conf$$ conf$$.exe conf$$.file
218
if mkdir -p . 2>/dev/null; then
221
test -d ./-p && rmdir ./-p
225
as_executable_p="test -f"
227
# Sed expression to map a string onto a valid CPP name.
228
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230
# Sed expression to map a string onto a valid variable name.
231
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235
# We need space, tab and new line, in precisely that order.
245
# Check that we are running under the correct shell.
246
SHELL=${CONFIG_SHELL-/bin/sh}
250
# Remove one level of quotation (which was required for Make).
251
ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
256
if test "X$1" = X--no-reexec; then
257
# Discard the --no-reexec flag, and continue.
259
elif test "X$1" = X--fallback-echo; then
260
# Avoid inline document here, it may be left over
262
elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
263
# Yippee, $echo works!
266
# Restart under the correct shell.
267
exec $SHELL "$0" --no-reexec ${1+"$@"}
270
if test "X$1" = X--fallback-echo; then
271
# used as fallback echo
279
# The HP-UX ksh and POSIX shell print the target directory to stdout
281
if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
283
if test -z "$ECHO"; then
284
if test "X${echo_test_string+set}" != Xset; then
285
# find a string as large as possible, as long as the shell can cope with it
286
for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
287
# expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
288
if (echo_test_string="`eval $cmd`") 2>/dev/null &&
289
echo_test_string="`eval $cmd`" &&
290
(test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
297
if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
298
echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
299
test "X$echo_testing_string" = "X$echo_test_string"; then
302
# The Solaris, AIX, and Digital Unix default echo programs unquote
303
# backslashes. This makes it impossible to quote backslashes using
304
# echo "$something" | sed 's/\\/\\\\/g'
306
# So, first we look for a working echo in the user's PATH.
308
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
309
for dir in $PATH /usr/ucb; do
311
if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
312
test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
313
echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
314
test "X$echo_testing_string" = "X$echo_test_string"; then
321
if test "X$echo" = Xecho; then
322
# We didn't find a better echo, so look for alternatives.
323
if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
324
echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
325
test "X$echo_testing_string" = "X$echo_test_string"; then
326
# This shell has a builtin print -r that does the trick.
328
elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
329
test "X$CONFIG_SHELL" != X/bin/ksh; then
330
# If we have ksh, try running configure again with it.
331
ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
332
export ORIGINAL_CONFIG_SHELL
333
CONFIG_SHELL=/bin/ksh
335
exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
339
if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
340
echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
341
test "X$echo_testing_string" = "X$echo_test_string"; then
344
elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
345
test "X$echo_testing_string" = 'X\t' &&
346
echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
347
test "X$echo_testing_string" = "X$echo_test_string"; then
348
CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
350
SHELL="$CONFIG_SHELL"
352
echo="$CONFIG_SHELL $0 --fallback-echo"
353
elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
354
test "X$echo_testing_string" = 'X\t' &&
355
echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
356
test "X$echo_testing_string" = "X$echo_test_string"; then
357
echo="$CONFIG_SHELL $0 --fallback-echo"
359
# maybe with a smaller string...
362
for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
363
if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
370
if test "$prev" != 'sed 50q "$0"'; then
371
echo_test_string=`eval $prev`
372
export echo_test_string
373
exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
375
# Oops. We lost completely, so just stick with echo.
384
# Copy echo and quote the copy suitably for passing to libtool from
385
# the Makefile, instead of quoting the original, which is used later.
387
if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
388
ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
394
tagnames=${tagnames+${tagnames},}CXX
396
tagnames=${tagnames+${tagnames},}F77
399
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
400
# so uname gets run too.
401
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
408
ac_default_prefix=/usr/local
409
ac_config_libobj_dir=.
414
SHELL=${CONFIG_SHELL-/bin/sh}
416
# Maximum number of lines to put in a shell here document.
417
# This variable seems obsolete. It should probably be removed, and
418
# only ac_max_sed_lines should be used.
419
: ${ac_max_here_lines=38}
421
# Identity of this package.
428
ac_unique_file="acinclude.m4"
429
ac_default_prefix=${KDEDIR:-the kde prefix}
430
# Factoring default headers for most tests.
431
ac_includes_default="\
434
# include <sys/types.h>
437
# include <sys/stat.h>
448
# if !STDC_HEADERS && HAVE_MEMORY_H
454
# include <strings.h>
457
# include <inttypes.h>
467
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar KDECONFIG kde_libs_prefix kde_libs_htmldir CONF_FILES CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE WOVERLOADED_VIRTUAL HAVE_GCC_VISIBILITY unsermake_enable_pch_TRUE unsermake_enable_pch_FALSE USE_EXCEPTIONS USE_RTTI CXXCPP NOOPT_CXXFLAGS NOOPT_CFLAGS ENABLE_PERMISSIVE_FLAG LDFLAGS_AS_NEEDED LDFLAGS_NEW_DTAGS KDE_USE_FINAL_TRUE KDE_USE_FINAL_FALSE KDE_USE_CLOSURE_TRUE KDE_USE_CLOSURE_FALSE KDE_NO_UNDEFINED KDE_USE_NMCHECK_TRUE KDE_USE_NMCHECK_FALSE EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB F77 FFLAGS ac_ct_F77 LIBTOOL KDE_PLUGIN KDE_CHECK_PLUGIN MSGFMT GMSGFMT XGETTEXT LIBUTIL LIBCOMPAT LIBCRYPT LIBRESOLV LIB_POLL FRAMEWORK_COREAUDIO LIBSOCKET X_EXTRA_LIBS LIBUCB LIBDL include_x11_TRUE include_x11_FALSE X_PRE_LIBS LIB_X11 LIB_XRENDER LIBSM X_INCLUDES X_LDFLAGS x_includes x_libraries QTE_NORTTI LIB_XEXT LIBPTHREAD USE_THREADS KDE_MT_LDFLAGS KDE_MT_LIBS USER_INCLUDES USER_LDFLAGS LIBZ LIBPNG LIBJPEG qt_libraries qt_includes QT_INCLUDES QT_LDFLAGS PERL MOC UIC UIC_TR LIB_QT LIB_QPE kde_qtver KDE_EXTRA_RPATH KDE_RPATH X_RPATH kde_libraries kde_includes KDE_LDFLAGS KDE_INCLUDES all_includes all_libraries AUTODIRS include_ARTS_TRUE include_ARTS_FALSE MAKEKDEWIDGETS KCONFIG_COMPILER KCFG_DEPENDENCIES DCOPIDLNG DCOPIDL DCOPIDL2CPP DCOP_DEPENDENCIES MCOPIDL ARTSCCONFIG MEINPROC KDE_XSL_STYLESHEET XMLLINT kde_htmldir kde_appsdir kde_icondir kde_sounddir kde_datadir kde_locale kde_confdir kde_kcfgdir kde_mimedir kde_wallpaperdir kde_bindir xdg_appsdir xdg_menudir xdg_directorydir kde_templatesdir kde_servicesdir kde_servicetypesdir kde_moduledir kdeinitdir kde_styledir kde_widgetdir LIB_KDED LIB_KDECORE LIB_KDEUI LIB_KIO LIB_KJS LIB_SMB LIB_KAB LIB_KABC LIB_KHTML LIB_KSPELL LIB_KPARTS LIB_KDEPRINT LIB_KUTILS LIB_KDEPIM LIB_KIMPROXY LIB_KNEWSTUFF LIB_KDNSSD LIB_KUNITTEST LIB_KSYCOCA LIB_KFILE LIB_KFM LIB_ARTS QTDOCDIR KDE_HAVE_DOT DOXYGEN DOXYGEN_PROJECT_NAME DOXYGEN_PROJECT_NUMBER KDE_HAS_DOXYGEN TOPSUBDIRS src_SUBDIR_included_TRUE src_SUBDIR_included_FALSE LIBOBJS LTLIBOBJS'
470
# Initialize some variables set by options.
472
ac_init_version=false
473
# The variables have the same names as the options, with
474
# dashes changed to underlines.
482
program_transform_name=s,x,x,
490
# Installation directory options.
491
# These are left unexpanded so users can "make install exec_prefix=/foo"
492
# and all the variables that are supposed to be based on exec_prefix
493
# by default will actually change.
494
# Use braces instead of parens because sh, perl, etc. also accept them.
495
bindir='${exec_prefix}/bin'
496
sbindir='${exec_prefix}/sbin'
497
libexecdir='${exec_prefix}/libexec'
498
datadir='${prefix}/share'
499
sysconfdir='${prefix}/etc'
500
sharedstatedir='${prefix}/com'
501
localstatedir='${prefix}/var'
502
libdir='${exec_prefix}/lib'
503
includedir='${prefix}/include'
504
oldincludedir='/usr/include'
505
infodir='${prefix}/info'
506
mandir='${prefix}/man'
511
# If the previous option needs an argument, assign it.
512
if test -n "$ac_prev"; then
513
eval "$ac_prev=\$ac_option"
518
ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
520
# Accept the important Cygnus configure options, so we can diagnose typos.
524
-bindir | --bindir | --bindi | --bind | --bin | --bi)
526
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
529
-build | --build | --buil | --bui | --bu)
530
ac_prev=build_alias ;;
531
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
532
build_alias=$ac_optarg ;;
534
-cache-file | --cache-file | --cache-fil | --cache-fi \
535
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
536
ac_prev=cache_file ;;
537
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
538
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
539
cache_file=$ac_optarg ;;
542
cache_file=config.cache ;;
544
-datadir | --datadir | --datadi | --datad | --data | --dat | --da)
546
-datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
548
datadir=$ac_optarg ;;
550
-disable-* | --disable-*)
551
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
552
# Reject names that are not valid shell variable names.
553
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
554
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
555
{ (exit 1); exit 1; }; }
556
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
557
eval "enable_$ac_feature=no" ;;
559
-enable-* | --enable-*)
560
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
561
# Reject names that are not valid shell variable names.
562
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
563
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
564
{ (exit 1); exit 1; }; }
565
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
567
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
570
eval "enable_$ac_feature='$ac_optarg'" ;;
572
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
573
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
574
| --exec | --exe | --ex)
575
ac_prev=exec_prefix ;;
576
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
577
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
578
| --exec=* | --exe=* | --ex=*)
579
exec_prefix=$ac_optarg ;;
581
-gas | --gas | --ga | --g)
582
# Obsolete; use --with-gas.
585
-help | --help | --hel | --he | -h)
587
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
588
ac_init_help=recursive ;;
589
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
590
ac_init_help=short ;;
592
-host | --host | --hos | --ho)
593
ac_prev=host_alias ;;
594
-host=* | --host=* | --hos=* | --ho=*)
595
host_alias=$ac_optarg ;;
597
-includedir | --includedir | --includedi | --included | --include \
598
| --includ | --inclu | --incl | --inc)
599
ac_prev=includedir ;;
600
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
601
| --includ=* | --inclu=* | --incl=* | --inc=*)
602
includedir=$ac_optarg ;;
604
-infodir | --infodir | --infodi | --infod | --info | --inf)
606
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
607
infodir=$ac_optarg ;;
609
-libdir | --libdir | --libdi | --libd)
611
-libdir=* | --libdir=* | --libdi=* | --libd=*)
614
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
615
| --libexe | --libex | --libe)
616
ac_prev=libexecdir ;;
617
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
618
| --libexe=* | --libex=* | --libe=*)
619
libexecdir=$ac_optarg ;;
621
-localstatedir | --localstatedir | --localstatedi | --localstated \
622
| --localstate | --localstat | --localsta | --localst \
623
| --locals | --local | --loca | --loc | --lo)
624
ac_prev=localstatedir ;;
625
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
626
| --localstate=* | --localstat=* | --localsta=* | --localst=* \
627
| --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
628
localstatedir=$ac_optarg ;;
630
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
632
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
636
# Obsolete; use --without-fp.
639
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
640
| --no-cr | --no-c | -n)
643
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
644
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
647
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
648
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
649
| --oldin | --oldi | --old | --ol | --o)
650
ac_prev=oldincludedir ;;
651
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
652
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
653
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
654
oldincludedir=$ac_optarg ;;
656
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
658
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
661
-program-prefix | --program-prefix | --program-prefi | --program-pref \
662
| --program-pre | --program-pr | --program-p)
663
ac_prev=program_prefix ;;
664
-program-prefix=* | --program-prefix=* | --program-prefi=* \
665
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
666
program_prefix=$ac_optarg ;;
668
-program-suffix | --program-suffix | --program-suffi | --program-suff \
669
| --program-suf | --program-su | --program-s)
670
ac_prev=program_suffix ;;
671
-program-suffix=* | --program-suffix=* | --program-suffi=* \
672
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
673
program_suffix=$ac_optarg ;;
675
-program-transform-name | --program-transform-name \
676
| --program-transform-nam | --program-transform-na \
677
| --program-transform-n | --program-transform- \
678
| --program-transform | --program-transfor \
679
| --program-transfo | --program-transf \
680
| --program-trans | --program-tran \
681
| --progr-tra | --program-tr | --program-t)
682
ac_prev=program_transform_name ;;
683
-program-transform-name=* | --program-transform-name=* \
684
| --program-transform-nam=* | --program-transform-na=* \
685
| --program-transform-n=* | --program-transform-=* \
686
| --program-transform=* | --program-transfor=* \
687
| --program-transfo=* | --program-transf=* \
688
| --program-trans=* | --program-tran=* \
689
| --progr-tra=* | --program-tr=* | --program-t=*)
690
program_transform_name=$ac_optarg ;;
692
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
693
| -silent | --silent | --silen | --sile | --sil)
696
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
698
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
700
sbindir=$ac_optarg ;;
702
-sharedstatedir | --sharedstatedir | --sharedstatedi \
703
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
704
| --sharedst | --shareds | --shared | --share | --shar \
706
ac_prev=sharedstatedir ;;
707
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
708
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
709
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
711
sharedstatedir=$ac_optarg ;;
713
-site | --site | --sit)
715
-site=* | --site=* | --sit=*)
718
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
720
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
723
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
724
| --syscon | --sysco | --sysc | --sys | --sy)
725
ac_prev=sysconfdir ;;
726
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
727
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
728
sysconfdir=$ac_optarg ;;
730
-target | --target | --targe | --targ | --tar | --ta | --t)
731
ac_prev=target_alias ;;
732
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
733
target_alias=$ac_optarg ;;
735
-v | -verbose | --verbose | --verbos | --verbo | --verb)
738
-version | --version | --versio | --versi | --vers | -V)
742
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
743
# Reject names that are not valid shell variable names.
744
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
745
{ echo "$as_me: error: invalid package name: $ac_package" >&2
746
{ (exit 1); exit 1; }; }
747
ac_package=`echo $ac_package| sed 's/-/_/g'`
749
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
752
eval "with_$ac_package='$ac_optarg'" ;;
754
-without-* | --without-*)
755
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
756
# Reject names that are not valid shell variable names.
757
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
758
{ echo "$as_me: error: invalid package name: $ac_package" >&2
759
{ (exit 1); exit 1; }; }
760
ac_package=`echo $ac_package | sed 's/-/_/g'`
761
eval "with_$ac_package=no" ;;
764
# Obsolete; use --with-x.
767
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
768
| --x-incl | --x-inc | --x-in | --x-i)
769
ac_prev=x_includes ;;
770
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
771
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
772
x_includes=$ac_optarg ;;
774
-x-libraries | --x-libraries | --x-librarie | --x-librari \
775
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
776
ac_prev=x_libraries ;;
777
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
778
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
779
x_libraries=$ac_optarg ;;
781
-*) { echo "$as_me: error: unrecognized option: $ac_option
782
Try \`$0 --help' for more information." >&2
783
{ (exit 1); exit 1; }; }
787
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
788
# Reject names that are not valid shell variable names.
789
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
790
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
791
{ (exit 1); exit 1; }; }
792
ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
793
eval "$ac_envvar='$ac_optarg'"
797
# FIXME: should be removed in autoconf 3.0.
798
echo "$as_me: WARNING: you should use --build, --host, --target" >&2
799
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
800
echo "$as_me: WARNING: invalid host type: $ac_option" >&2
801
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
807
if test -n "$ac_prev"; then
808
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
809
{ echo "$as_me: error: missing argument to $ac_option" >&2
810
{ (exit 1); exit 1; }; }
813
# Be sure to have absolute paths.
814
for ac_var in exec_prefix prefix
816
eval ac_val=$`echo $ac_var`
818
[\\/$]* | ?:[\\/]* | NONE | '' ) ;;
819
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
820
{ (exit 1); exit 1; }; };;
824
# Be sure to have absolute paths.
825
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
826
localstatedir libdir includedir oldincludedir infodir mandir
828
eval ac_val=$`echo $ac_var`
830
[\\/$]* | ?:[\\/]* ) ;;
831
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
832
{ (exit 1); exit 1; }; };;
836
# There might be people who depend on the old broken behavior: `$host'
837
# used to hold the argument of --host etc.
838
# FIXME: To remove some day.
843
# FIXME: To remove some day.
844
if test "x$host_alias" != x; then
845
if test "x$build_alias" = x; then
846
cross_compiling=maybe
847
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
848
If a cross compiler is detected then cross compile mode will be used." >&2
849
elif test "x$build_alias" != "x$host_alias"; then
855
test -n "$host_alias" && ac_tool_prefix=$host_alias-
857
test "$silent" = yes && exec 6>/dev/null
860
# Find the source files, if location was not specified.
861
if test -z "$srcdir"; then
862
ac_srcdir_defaulted=yes
863
# Try the directory containing this script, then its parent.
864
ac_confdir=`(dirname "$0") 2>/dev/null ||
865
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
866
X"$0" : 'X\(//\)[^/]' \| \
867
X"$0" : 'X\(//\)$' \| \
868
X"$0" : 'X\(/\)' \| \
869
. : '\(.\)' 2>/dev/null ||
871
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
872
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
873
/^X\(\/\/\)$/{ s//\1/; q; }
874
/^X\(\/\).*/{ s//\1/; q; }
877
if test ! -r $srcdir/$ac_unique_file; then
881
ac_srcdir_defaulted=no
883
if test ! -r $srcdir/$ac_unique_file; then
884
if test "$ac_srcdir_defaulted" = yes; then
885
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
886
{ (exit 1); exit 1; }; }
888
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
889
{ (exit 1); exit 1; }; }
892
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
893
{ echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
894
{ (exit 1); exit 1; }; }
895
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
896
ac_env_build_alias_set=${build_alias+set}
897
ac_env_build_alias_value=$build_alias
898
ac_cv_env_build_alias_set=${build_alias+set}
899
ac_cv_env_build_alias_value=$build_alias
900
ac_env_host_alias_set=${host_alias+set}
901
ac_env_host_alias_value=$host_alias
902
ac_cv_env_host_alias_set=${host_alias+set}
903
ac_cv_env_host_alias_value=$host_alias
904
ac_env_target_alias_set=${target_alias+set}
905
ac_env_target_alias_value=$target_alias
906
ac_cv_env_target_alias_set=${target_alias+set}
907
ac_cv_env_target_alias_value=$target_alias
908
ac_env_CC_set=${CC+set}
910
ac_cv_env_CC_set=${CC+set}
911
ac_cv_env_CC_value=$CC
912
ac_env_CFLAGS_set=${CFLAGS+set}
913
ac_env_CFLAGS_value=$CFLAGS
914
ac_cv_env_CFLAGS_set=${CFLAGS+set}
915
ac_cv_env_CFLAGS_value=$CFLAGS
916
ac_env_LDFLAGS_set=${LDFLAGS+set}
917
ac_env_LDFLAGS_value=$LDFLAGS
918
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
919
ac_cv_env_LDFLAGS_value=$LDFLAGS
920
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
921
ac_env_CPPFLAGS_value=$CPPFLAGS
922
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
923
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
924
ac_env_CPP_set=${CPP+set}
925
ac_env_CPP_value=$CPP
926
ac_cv_env_CPP_set=${CPP+set}
927
ac_cv_env_CPP_value=$CPP
928
ac_env_CXX_set=${CXX+set}
929
ac_env_CXX_value=$CXX
930
ac_cv_env_CXX_set=${CXX+set}
931
ac_cv_env_CXX_value=$CXX
932
ac_env_CXXFLAGS_set=${CXXFLAGS+set}
933
ac_env_CXXFLAGS_value=$CXXFLAGS
934
ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
935
ac_cv_env_CXXFLAGS_value=$CXXFLAGS
936
ac_env_CXXCPP_set=${CXXCPP+set}
937
ac_env_CXXCPP_value=$CXXCPP
938
ac_cv_env_CXXCPP_set=${CXXCPP+set}
939
ac_cv_env_CXXCPP_value=$CXXCPP
940
ac_env_F77_set=${F77+set}
941
ac_env_F77_value=$F77
942
ac_cv_env_F77_set=${F77+set}
943
ac_cv_env_F77_value=$F77
944
ac_env_FFLAGS_set=${FFLAGS+set}
945
ac_env_FFLAGS_value=$FFLAGS
946
ac_cv_env_FFLAGS_set=${FFLAGS+set}
947
ac_cv_env_FFLAGS_value=$FFLAGS
950
# Report the --help message.
952
if test "$ac_init_help" = "long"; then
953
# Omit some internal or obsolete options to make the list less imposing.
954
# This message is too long to be a string in the A/UX 3.1 sh.
956
\`configure' configures this package to adapt to many kinds of systems.
958
Usage: $0 [OPTION]... [VAR=VALUE]...
960
To assign environment variables (e.g., CC, CFLAGS...), specify them as
961
VAR=VALUE. See below for descriptions of some of the useful variables.
963
Defaults for the options are specified in brackets.
966
-h, --help display this help and exit
967
--help=short display options specific to this package
968
--help=recursive display the short help of all the included packages
969
-V, --version display version information and exit
970
-q, --quiet, --silent do not print \`checking...' messages
971
--cache-file=FILE cache test results in FILE [disabled]
972
-C, --config-cache alias for \`--cache-file=config.cache'
973
-n, --no-create do not create output files
974
--srcdir=DIR find the sources in DIR [configure dir or \`..']
979
Installation directories:
980
--prefix=PREFIX install architecture-independent files in PREFIX
982
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
985
By default, \`make install' will install all the files in
986
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
987
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
988
for instance \`--prefix=\$HOME'.
990
For better control, use the options below.
992
Fine tuning of the installation directories:
993
--bindir=DIR user executables [EPREFIX/bin]
994
--sbindir=DIR system admin executables [EPREFIX/sbin]
995
--libexecdir=DIR program executables [EPREFIX/libexec]
996
--datadir=DIR read-only architecture-independent data [PREFIX/share]
997
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
998
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
999
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1000
--libdir=DIR object code libraries [EPREFIX/lib]
1001
--includedir=DIR C header files [PREFIX/include]
1002
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1003
--infodir=DIR info documentation [PREFIX/info]
1004
--mandir=DIR man documentation [PREFIX/man]
1010
--program-prefix=PREFIX prepend PREFIX to installed program names
1011
--program-suffix=SUFFIX append SUFFIX to installed program names
1012
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1015
--build=BUILD configure for building on BUILD [guessed]
1016
--host=HOST cross-compile to build programs to run on HOST [BUILD]
1017
--target=TARGET configure for building compilers for TARGET [HOST]
1021
if test -n "$ac_init_help"; then
1026
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1027
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1028
--disable-fast-perl disable fast Makefile generation (needs perl)
1029
--enable-debug=ARG enables debug symbols (yes|no|full) default=no
1030
--disable-debug disables debug output and debug symbols default=no
1031
--enable-strict compiles with strict compiler options (may not
1033
--disable-warnings disables compilation with -Wall and similar
1034
--enable-profile creates profiling infos default=no
1035
--disable-dependency-tracking speeds up one-time build
1036
--enable-dependency-tracking do not reject slow dependency extractors
1037
--enable-pch enables precompiled header support (currently only
1038
KCC or gcc >=3.4+unsermake) default=no
1039
--enable-coverage use gcc coverage testing
1040
--enable-new-ldflags enable the new linker flags
1041
--enable-final build size optimized apps (experimental - needs lots
1043
--enable-closure delay template instantiation
1044
--enable-nmcheck enable automatic namespace cleanness check
1045
--enable-shared[=PKGS]
1046
build shared libraries [default=yes]
1047
--enable-static[=PKGS]
1048
build static libraries [default=no]
1049
--enable-libsuffix /lib directory suffix (64,32,none=default)
1050
--enable-fast-install[=PKGS]
1051
optimize for fast installation [default=yes]
1052
--disable-libtool-lock avoid locking (might break parallel builds)
1053
--enable-embedded link to Qt-embedded, don't use X
1054
--enable-qtopia link to Qt-embedded, link to the Qtopia Environment
1055
--enable-mac link to Qt/Mac (don't use X)
1056
--disable-mt link to non-threaded Qt (deprecated)
1057
--disable-threading disables threading even if libpthread found
1058
--disable-rpath do not use the rpath feature of ld
1059
--disable-path-check don't try to find out, where to install
1062
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1063
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1064
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
1065
--with-pic try to use only PIC/non-PIC objects [default=use
1068
include additional configurations [automatic]
1069
--with-extra-includes=DIR
1070
adds non standard include paths
1071
--with-extra-libs=DIR adds non standard library paths
1072
--with-qt-dir=DIR where the root of Qt is installed
1073
--with-qt-includes=DIR where the Qt includes are.
1074
--with-qt-libraries=DIR where the Qt library is installed.
1075
--without-arts build without aRts default=no
1077
Some influential environment variables:
1078
CC C compiler command
1079
CFLAGS C compiler flags
1080
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1081
nonstandard directory <lib dir>
1082
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1083
headers in a nonstandard directory <include dir>
1085
CXX C++ compiler command
1086
CXXFLAGS C++ compiler flags
1087
CXXCPP C++ preprocessor
1088
F77 Fortran 77 compiler command
1089
FFLAGS Fortran 77 compiler flags
1091
Use these variables to override the choices made by `configure' or to help
1092
it to find libraries and programs with nonstandard names/locations.
1097
if test "$ac_init_help" = "recursive"; then
1098
# If there are subdirs, report their specific --help.
1100
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1101
test -d $ac_dir || continue
1104
if test "$ac_dir" != .; then
1105
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1106
# A "../" for each directory in $ac_dir_suffix.
1107
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1109
ac_dir_suffix= ac_top_builddir=
1113
.) # No --srcdir option. We are building in place.
1115
if test -z "$ac_top_builddir"; then
1118
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1120
[\\/]* | ?:[\\/]* ) # Absolute path.
1121
ac_srcdir=$srcdir$ac_dir_suffix;
1122
ac_top_srcdir=$srcdir ;;
1124
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1125
ac_top_srcdir=$ac_top_builddir$srcdir ;;
1128
# Do not use `cd foo && pwd` to compute absolute paths, because
1129
# the directories may not exist.
1131
.) ac_abs_builddir="$ac_dir";;
1134
.) ac_abs_builddir=`pwd`;;
1135
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1136
*) ac_abs_builddir=`pwd`/"$ac_dir";;
1139
case $ac_abs_builddir in
1140
.) ac_abs_top_builddir=${ac_top_builddir}.;;
1142
case ${ac_top_builddir}. in
1143
.) ac_abs_top_builddir=$ac_abs_builddir;;
1144
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1145
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1148
case $ac_abs_builddir in
1149
.) ac_abs_srcdir=$ac_srcdir;;
1152
.) ac_abs_srcdir=$ac_abs_builddir;;
1153
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1154
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1157
case $ac_abs_builddir in
1158
.) ac_abs_top_srcdir=$ac_top_srcdir;;
1160
case $ac_top_srcdir in
1161
.) ac_abs_top_srcdir=$ac_abs_builddir;;
1162
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1163
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1168
# Check for guested configure; otherwise get Cygnus style configure.
1169
if test -f $ac_srcdir/configure.gnu; then
1171
$SHELL $ac_srcdir/configure.gnu --help=recursive
1172
elif test -f $ac_srcdir/configure; then
1174
$SHELL $ac_srcdir/configure --help=recursive
1175
elif test -f $ac_srcdir/configure.ac ||
1176
test -f $ac_srcdir/configure.in; then
1178
$ac_configure --help
1180
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1186
test -n "$ac_init_help" && exit 0
1187
if $ac_init_version; then
1190
Copyright (C) 2003 Free Software Foundation, Inc.
1191
This configure script is free software; the Free Software Foundation
1192
gives unlimited permission to copy, distribute and modify it.
1198
This file contains any messages produced by compilers while
1199
running configure, to aid debugging if configure makes a mistake.
1201
It was created by $as_me, which was
1202
generated by GNU Autoconf 2.59. Invocation command line was
1213
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1214
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1215
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1216
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1217
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1219
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1220
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1222
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1223
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1224
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1225
hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1226
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1227
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1228
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1232
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1236
test -z "$as_dir" && as_dir=.
1237
echo "PATH: $as_dir"
1252
# Keep a trace of the command line.
1253
# Strip out --no-create and --no-recursion so they do not pile up.
1254
# Strip out --silent because we don't want to record it for future runs.
1255
# Also quote any args containing shell meta-characters.
1256
# Make two passes to allow for proper duplicate-argument suppression.
1261
ac_must_keep_next=false
1267
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1268
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1269
| -silent | --silent | --silen | --sile | --sil)
1271
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1272
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1275
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1277
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1278
if test $ac_must_keep_next = true; then
1279
ac_must_keep_next=false # Got value, back to normal.
1282
*=* | --config-cache | -C | -disable-* | --disable-* \
1283
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1284
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1285
| -with-* | --with-* | -without-* | --without-* | --x)
1286
case "$ac_configure_args0 " in
1287
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1290
-* ) ac_must_keep_next=true ;;
1293
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1294
# Get rid of the leading space.
1300
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1301
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1303
# When interrupted or exit'd, cleanup temporary files, and complete
1304
# config.log. We remove comments because anyway the quotes in there
1305
# would cause problems or look ugly.
1306
# WARNING: Be sure not to use single quotes in there, as some shells,
1307
# such as our DU 5.0 friend, will then `close' the trap.
1308
trap 'exit_status=$?
1309
# Save into config.log some information that might help in debugging.
1314
## ---------------- ##
1315
## Cache variables. ##
1316
## ---------------- ##
1319
# The following way of writing the cache mishandles newlines in values,
1322
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1325
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1326
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1330
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1337
## ----------------- ##
1338
## Output variables. ##
1339
## ----------------- ##
1342
for ac_var in $ac_subst_vars
1344
eval ac_val=$`echo $ac_var`
1345
echo "$ac_var='"'"'$ac_val'"'"'"
1349
if test -n "$ac_subst_files"; then
1356
for ac_var in $ac_subst_files
1358
eval ac_val=$`echo $ac_var`
1359
echo "$ac_var='"'"'$ac_val'"'"'"
1364
if test -s confdefs.h; then
1371
sed "/^$/d" confdefs.h | sort
1374
test "$ac_signal" != 0 &&
1375
echo "$as_me: caught signal $ac_signal"
1376
echo "$as_me: exit $exit_status"
1378
rm -f core *.core &&
1379
rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1382
for ac_signal in 1 2 13 15; do
1383
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1387
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1388
rm -rf conftest* confdefs.h
1389
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1392
# Predefined preprocessor variables.
1394
cat >>confdefs.h <<_ACEOF
1395
#define PACKAGE_NAME "$PACKAGE_NAME"
1399
cat >>confdefs.h <<_ACEOF
1400
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1404
cat >>confdefs.h <<_ACEOF
1405
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1409
cat >>confdefs.h <<_ACEOF
1410
#define PACKAGE_STRING "$PACKAGE_STRING"
1414
cat >>confdefs.h <<_ACEOF
1415
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1419
# Let the site file select an alternate cache file if it wants to.
1420
# Prefer explicitly selected file to automatically selected ones.
1421
if test -z "$CONFIG_SITE"; then
1422
if test "x$prefix" != xNONE; then
1423
CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1425
CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1428
for ac_site_file in $CONFIG_SITE; do
1429
if test -r "$ac_site_file"; then
1430
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1431
echo "$as_me: loading site script $ac_site_file" >&6;}
1432
sed 's/^/| /' "$ac_site_file" >&5
1437
if test -r "$cache_file"; then
1438
# Some versions of bash will fail to source /dev/null (special
1439
# files actually), so we avoid doing that.
1440
if test -f "$cache_file"; then
1441
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
1442
echo "$as_me: loading cache $cache_file" >&6;}
1444
[\\/]* | ?:[\\/]* ) . $cache_file;;
1445
*) . ./$cache_file;;
1449
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
1450
echo "$as_me: creating cache $cache_file" >&6;}
1454
# Check that the precious variables saved in the cache have kept the same
1456
ac_cache_corrupted=false
1457
for ac_var in `(set) 2>&1 |
1458
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1459
eval ac_old_set=\$ac_cv_env_${ac_var}_set
1460
eval ac_new_set=\$ac_env_${ac_var}_set
1461
eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1462
eval ac_new_val="\$ac_env_${ac_var}_value"
1463
case $ac_old_set,$ac_new_set in
1465
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1466
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1467
ac_cache_corrupted=: ;;
1469
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1470
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1471
ac_cache_corrupted=: ;;
1474
if test "x$ac_old_val" != "x$ac_new_val"; then
1475
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1476
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1477
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1478
echo "$as_me: former value: $ac_old_val" >&2;}
1479
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1480
echo "$as_me: current value: $ac_new_val" >&2;}
1481
ac_cache_corrupted=:
1484
# Pass precious variables to config.status.
1485
if test "$ac_new_set" = set; then
1487
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1488
ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1489
*) ac_arg=$ac_var=$ac_new_val ;;
1491
case " $ac_configure_args " in
1492
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1493
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1497
if $ac_cache_corrupted; then
1498
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1499
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1500
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1501
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1502
{ (exit 1); exit 1; }; }
1506
ac_cpp='$CPP $CPPFLAGS'
1507
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1508
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1509
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1530
for ac_dir in admin $srcdir/admin; do
1531
if test -f $ac_dir/install-sh; then
1533
ac_install_sh="$ac_aux_dir/install-sh -c"
1535
elif test -f $ac_dir/install.sh; then
1537
ac_install_sh="$ac_aux_dir/install.sh -c"
1539
elif test -f $ac_dir/shtool; then
1541
ac_install_sh="$ac_aux_dir/shtool install -c"
1545
if test -z "$ac_aux_dir"; then
1546
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in admin $srcdir/admin" >&5
1547
echo "$as_me: error: cannot find install-sh or install.sh in admin $srcdir/admin" >&2;}
1548
{ (exit 1); exit 1; }; }
1550
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1551
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1552
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1557
# Make sure we can run config.sub.
1558
$ac_config_sub sun4 >/dev/null 2>&1 ||
1559
{ { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1560
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1561
{ (exit 1); exit 1; }; }
1563
echo "$as_me:$LINENO: checking build system type" >&5
1564
echo $ECHO_N "checking build system type... $ECHO_C" >&6
1565
if test "${ac_cv_build+set}" = set; then
1566
echo $ECHO_N "(cached) $ECHO_C" >&6
1568
ac_cv_build_alias=$build_alias
1569
test -z "$ac_cv_build_alias" &&
1570
ac_cv_build_alias=`$ac_config_guess`
1571
test -z "$ac_cv_build_alias" &&
1572
{ { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1573
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1574
{ (exit 1); exit 1; }; }
1575
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1576
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1577
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1578
{ (exit 1); exit 1; }; }
1581
echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1582
echo "${ECHO_T}$ac_cv_build" >&6
1584
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1585
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1586
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1589
echo "$as_me:$LINENO: checking host system type" >&5
1590
echo $ECHO_N "checking host system type... $ECHO_C" >&6
1591
if test "${ac_cv_host+set}" = set; then
1592
echo $ECHO_N "(cached) $ECHO_C" >&6
1594
ac_cv_host_alias=$host_alias
1595
test -z "$ac_cv_host_alias" &&
1596
ac_cv_host_alias=$ac_cv_build_alias
1597
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1598
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1599
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1600
{ (exit 1); exit 1; }; }
1603
echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1604
echo "${ECHO_T}$ac_cv_host" >&6
1606
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1607
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1608
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1611
echo "$as_me:$LINENO: checking target system type" >&5
1612
echo $ECHO_N "checking target system type... $ECHO_C" >&6
1613
if test "${ac_cv_target+set}" = set; then
1614
echo $ECHO_N "(cached) $ECHO_C" >&6
1616
ac_cv_target_alias=$target_alias
1617
test "x$ac_cv_target_alias" = "x" &&
1618
ac_cv_target_alias=$ac_cv_host_alias
1619
ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1620
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1621
echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1622
{ (exit 1); exit 1; }; }
1625
echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1626
echo "${ECHO_T}$ac_cv_target" >&6
1627
target=$ac_cv_target
1628
target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1629
target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1630
target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1633
# The aliases save the names the user supplied, while $host etc.
1634
# will get canonicalized.
1635
test -n "$target_alias" &&
1636
test "$program_prefix$program_suffix$program_transform_name" = \
1638
program_prefix=${target_alias}-
1639
test "$program_prefix" != NONE &&
1640
program_transform_name="s,^,$program_prefix,;$program_transform_name"
1641
# Use a double $ so make ignores it.
1642
test "$program_suffix" != NONE &&
1643
program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1644
# Double any \ or $. echo might interpret backslashes.
1645
# By default was `s,x,x', remove it if useless.
1646
cat <<\_ACEOF >conftest.sed
1647
s/[\\$]/&&/g;s/;s,x,x,$//
1649
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1653
am__api_version="1.9"
1656
test -n "$INSTALL" && kde_save_INSTALL_given=$INSTALL
1657
test -n "$INSTALL_PROGRAM" && kde_save_INSTALL_PROGRAM_given=$INSTALL_PROGRAM
1658
test -n "$INSTALL_SCRIPT" && kde_save_INSTALL_SCRIPT_given=$INSTALL_SCRIPT
1659
# Find a good install program. We prefer a C program (faster),
1660
# so one script is as good as another. But avoid the broken or
1661
# incompatible versions:
1662
# SysV /etc/install, /usr/sbin/install
1663
# SunOS /usr/etc/install
1664
# IRIX /sbin/install
1666
# AmigaOS /C/install, which installs bootblocks on floppy discs
1667
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1668
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1669
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1670
# OS/2's system install, which has a completely different semantic
1671
# ./install, which can be erroneously created by make from ./install.sh.
1672
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1673
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1674
if test -z "$INSTALL"; then
1675
if test "${ac_cv_path_install+set}" = set; then
1676
echo $ECHO_N "(cached) $ECHO_C" >&6
1678
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1682
test -z "$as_dir" && as_dir=.
1683
# Account for people who put trailing slashes in PATH elements.
1685
./ | .// | /cC/* | \
1686
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1687
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1690
# OSF1 and SCO ODT 3.0 have their own names for install.
1691
# Don't use installbsd from OSF since it installs stuff as root
1693
for ac_prog in ginstall scoinst install; do
1694
for ac_exec_ext in '' $ac_executable_extensions; do
1695
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1696
if test $ac_prog = install &&
1697
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1698
# AIX install. It has an incompatible calling convention.
1700
elif test $ac_prog = install &&
1701
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1702
# program-specific install script used by HP pwplus--don't use.
1705
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1717
if test "${ac_cv_path_install+set}" = set; then
1718
INSTALL=$ac_cv_path_install
1720
# As a last resort, use the slow shell script. We don't cache a
1721
# path for INSTALL within a source directory, because that will
1722
# break other packages using the cache if that directory is
1723
# removed, or if the path is relative.
1724
INSTALL=$ac_install_sh
1727
echo "$as_me:$LINENO: result: $INSTALL" >&5
1728
echo "${ECHO_T}$INSTALL" >&6
1730
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1731
# It thinks the first close brace ends the variable substitution.
1732
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1734
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1736
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1739
if test -z "$kde_save_INSTALL_given" ; then
1740
# OK, user hasn't given any INSTALL, autoconf found one for us
1741
# now we test, if it supports the -p flag
1742
echo "$as_me:$LINENO: checking for -p flag to install" >&5
1743
echo $ECHO_N "checking for -p flag to install... $ECHO_C" >&6
1744
rm -f confinst.$$.* > /dev/null 2>&1
1745
echo "Testtest" > confinst.$$.orig
1747
if ${INSTALL} -p confinst.$$.orig confinst.$$.new > /dev/null 2>&1 ; then
1748
if test -f confinst.$$.new ; then
1749
# OK, -p seems to do no harm to install
1750
INSTALL="${INSTALL} -p"
1755
echo "$as_me:$LINENO: result: $ac_res" >&5
1756
echo "${ECHO_T}$ac_res" >&6
1759
if test -z "$kde_save_INSTALL_PROGRAM_given" ; then
1760
INSTALL_PROGRAM='${INSTALL} $(INSTALL_STRIP_FLAG)'
1762
if test -z "$kde_save_INSTALL_SCRIPT_given" ; then
1763
INSTALL_SCRIPT='${INSTALL}'
1766
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1767
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1770
echo timestamp > conftest.file
1771
# Do `set' in a subshell so we don't clobber the current shell's
1772
# arguments. Must try -L first in case configure is actually a
1773
# symlink; some systems play weird games with the mod time of symlinks
1774
# (eg FreeBSD returns the mod time of the symlink's containing
1777
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1778
if test "$*" = "X"; then
1780
set X `ls -t $srcdir/configure conftest.file`
1783
if test "$*" != "X $srcdir/configure conftest.file" \
1784
&& test "$*" != "X conftest.file $srcdir/configure"; then
1786
# If neither matched, then we have a broken ls. This can happen
1787
# if, for instance, CONFIG_SHELL is bash and it inherits a
1788
# broken ls alias from the environment. This has actually
1789
# happened. Such a system could not be considered "sane".
1790
{ { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1791
alias in your environment" >&5
1792
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1793
alias in your environment" >&2;}
1794
{ (exit 1); exit 1; }; }
1797
test "$2" = conftest.file
1803
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1804
Check your system clock" >&5
1805
echo "$as_me: error: newly created file is older than distributed files!
1806
Check your system clock" >&2;}
1807
{ (exit 1); exit 1; }; }
1809
echo "$as_me:$LINENO: result: yes" >&5
1810
echo "${ECHO_T}yes" >&6
1811
# expand $ac_aux_dir to an absolute path
1812
am_aux_dir=`cd $ac_aux_dir && pwd`
1814
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1815
# Use eval to expand $SHELL
1816
if eval "$MISSING --run true"; then
1817
am_missing_run="$MISSING --run "
1820
{ echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1821
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1824
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1825
# We used to keeping the `.' as first argument, in order to
1826
# allow $(mkdir_p) to be used without argument. As in
1827
# $(mkdir_p) $(somedir)
1828
# where $(somedir) is conditionally defined. However this is wrong
1830
# 1. if the package is installed by a user who cannot write `.'
1831
# make install will fail,
1832
# 2. the above comment should most certainly read
1833
# $(mkdir_p) $(DESTDIR)$(somedir)
1834
# so it does not work when $(somedir) is undefined and
1835
# $(DESTDIR) is not.
1836
# To support the latter case, we have to write
1837
# test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1838
# so the `.' trick is pointless.
1839
mkdir_p='mkdir -p --'
1841
# On NextStep and OpenStep, the `mkdir' command does not
1842
# recognize any option. It will interpret all options as
1843
# directories to create, and then abort because `.' already
1845
for d in ./-p ./--version;
1847
test -d $d && rmdir $d
1849
# $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1850
if test -f "$ac_aux_dir/mkinstalldirs"; then
1851
mkdir_p='$(mkinstalldirs)'
1853
mkdir_p='$(install_sh) -d'
1857
for ac_prog in gawk mawk nawk awk
1859
# Extract the first word of "$ac_prog", so it can be a program name with args.
1860
set dummy $ac_prog; ac_word=$2
1861
echo "$as_me:$LINENO: checking for $ac_word" >&5
1862
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1863
if test "${ac_cv_prog_AWK+set}" = set; then
1864
echo $ECHO_N "(cached) $ECHO_C" >&6
1866
if test -n "$AWK"; then
1867
ac_cv_prog_AWK="$AWK" # Let the user override the test.
1869
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1873
test -z "$as_dir" && as_dir=.
1874
for ac_exec_ext in '' $ac_executable_extensions; do
1875
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1876
ac_cv_prog_AWK="$ac_prog"
1877
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1886
if test -n "$AWK"; then
1887
echo "$as_me:$LINENO: result: $AWK" >&5
1888
echo "${ECHO_T}$AWK" >&6
1890
echo "$as_me:$LINENO: result: no" >&5
1891
echo "${ECHO_T}no" >&6
1894
test -n "$AWK" && break
1897
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1898
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1899
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1900
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1901
echo $ECHO_N "(cached) $ECHO_C" >&6
1903
cat >conftest.make <<\_ACEOF
1905
@echo 'ac_maketemp="$(MAKE)"'
1907
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1908
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1909
if test -n "$ac_maketemp"; then
1910
eval ac_cv_prog_make_${ac_make}_set=yes
1912
eval ac_cv_prog_make_${ac_make}_set=no
1916
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1917
echo "$as_me:$LINENO: result: yes" >&5
1918
echo "${ECHO_T}yes" >&6
1921
echo "$as_me:$LINENO: result: no" >&5
1922
echo "${ECHO_T}no" >&6
1923
SET_MAKE="MAKE=${MAKE-make}"
1926
rm -rf .tst 2>/dev/null
1927
mkdir .tst 2>/dev/null
1928
if test -d .tst; then
1933
rmdir .tst 2>/dev/null
1935
# test to see if srcdir already configured
1936
if test "`cd $srcdir && pwd`" != "`pwd`" &&
1937
test -f $srcdir/config.status; then
1938
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1939
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1940
{ (exit 1); exit 1; }; }
1943
# test whether we have cygpath
1944
if test -z "$CYGPATH_W"; then
1945
if (cygpath --version) >/dev/null 2>/dev/null; then
1946
CYGPATH_W='cygpath -w'
1953
# Define the identity of the package.
1954
PACKAGE=datakiosk-0.7
1958
cat >>confdefs.h <<_ACEOF
1959
#define PACKAGE "$PACKAGE"
1963
cat >>confdefs.h <<_ACEOF
1964
#define VERSION "$VERSION"
1967
# Some tools Automake needs.
1969
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1972
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1975
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1978
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1981
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1983
install_sh=${install_sh-"$am_aux_dir/install-sh"}
1985
# Installed binaries are usually stripped using `strip' when the user
1986
# run `make install-strip'. However `strip' might not be the right
1987
# tool to use in cross-compilation environments, therefore Automake
1988
# will honor the `STRIP' environment variable to overrule this program.
1989
if test "$cross_compiling" != no; then
1990
if test -n "$ac_tool_prefix"; then
1991
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1992
set dummy ${ac_tool_prefix}strip; ac_word=$2
1993
echo "$as_me:$LINENO: checking for $ac_word" >&5
1994
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1995
if test "${ac_cv_prog_STRIP+set}" = set; then
1996
echo $ECHO_N "(cached) $ECHO_C" >&6
1998
if test -n "$STRIP"; then
1999
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2001
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2005
test -z "$as_dir" && as_dir=.
2006
for ac_exec_ext in '' $ac_executable_extensions; do
2007
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2008
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2009
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2017
STRIP=$ac_cv_prog_STRIP
2018
if test -n "$STRIP"; then
2019
echo "$as_me:$LINENO: result: $STRIP" >&5
2020
echo "${ECHO_T}$STRIP" >&6
2022
echo "$as_me:$LINENO: result: no" >&5
2023
echo "${ECHO_T}no" >&6
2027
if test -z "$ac_cv_prog_STRIP"; then
2029
# Extract the first word of "strip", so it can be a program name with args.
2030
set dummy strip; ac_word=$2
2031
echo "$as_me:$LINENO: checking for $ac_word" >&5
2032
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2033
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2034
echo $ECHO_N "(cached) $ECHO_C" >&6
2036
if test -n "$ac_ct_STRIP"; then
2037
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2039
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2043
test -z "$as_dir" && as_dir=.
2044
for ac_exec_ext in '' $ac_executable_extensions; do
2045
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2046
ac_cv_prog_ac_ct_STRIP="strip"
2047
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2053
test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2056
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2057
if test -n "$ac_ct_STRIP"; then
2058
echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2059
echo "${ECHO_T}$ac_ct_STRIP" >&6
2061
echo "$as_me:$LINENO: result: no" >&5
2062
echo "${ECHO_T}no" >&6
2067
STRIP="$ac_cv_prog_STRIP"
2071
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2073
# We need awk for the "check" target. The system "awk" is bad on
2075
# Always define AMTAR for backward compatibility.
2077
AMTAR=${AMTAR-"${am_missing_run}tar"}
2079
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2090
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"
2091
test -n "$KDEDIR" && kde_default_bindirs="$KDEDIR/bin $kde_default_bindirs"
2092
if test -n "$KDEDIRS"; then
2095
for dir in $KDEDIRS; do
2096
kde_default_bindirs="$dir/bin $kde_default_bindirs "
2101
if test "x$prefix" = "xNONE"; then
2103
echo "$as_me:$LINENO: checking for kde-config" >&5
2104
echo $ECHO_N "checking for kde-config... $ECHO_C" >&6
2105
if test -n "$KDECONFIG"; then
2106
kde_cv_path="$KDECONFIG";
2108
kde_cache=`echo kde-config | sed 'y%./+-%__p_%'`
2110
if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
2111
echo $ECHO_N "(cached) $ECHO_C" >&6
2118
for dir in $PATH; do
2121
if test -z "prepend"; then dirs="$kde_default_bindirs $dirs"
2122
else dirs="$dirs $kde_default_bindirs"
2126
for dir in $dirs; do
2127
if test -x "$dir/kde-config"; then
2130
evalstr="$dir/kde-config 2>&1 "
2131
if eval $evalstr; then
2132
kde_cv_path="$dir/kde-config"
2136
kde_cv_path="$dir/kde-config"
2142
eval "kde_cv_path_$kde_cache=$kde_cv_path"
2148
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
2152
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
2153
echo "$as_me:$LINENO: result: not found" >&5
2154
echo "${ECHO_T}not found" >&6
2156
{ { echo "$as_me:$LINENO: error: The important program kde-config was not found!
2157
Please check whether you installed KDE correctly.
2159
echo "$as_me: error: The important program kde-config was not found!
2160
Please check whether you installed KDE correctly.
2162
{ (exit 1); exit 1; }; }
2165
echo "$as_me:$LINENO: result: $kde_cv_path" >&5
2166
echo "${ECHO_T}$kde_cv_path" >&6
2167
KDECONFIG=$kde_cv_path
2172
kde_save_PATH="$PATH"
2173
PATH="$exec_prefix/bin:$prefix/bin:$PATH"
2175
echo "$as_me:$LINENO: checking for kde-config" >&5
2176
echo $ECHO_N "checking for kde-config... $ECHO_C" >&6
2177
if test -n "$KDECONFIG"; then
2178
kde_cv_path="$KDECONFIG";
2180
kde_cache=`echo kde-config | sed 'y%./+-%__p_%'`
2182
if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
2183
echo $ECHO_N "(cached) $ECHO_C" >&6
2190
for dir in $PATH; do
2193
if test -z "prepend"; then dirs="$kde_default_bindirs $dirs"
2194
else dirs="$dirs $kde_default_bindirs"
2198
for dir in $dirs; do
2199
if test -x "$dir/kde-config"; then
2202
evalstr="$dir/kde-config 2>&1 "
2203
if eval $evalstr; then
2204
kde_cv_path="$dir/kde-config"
2208
kde_cv_path="$dir/kde-config"
2214
eval "kde_cv_path_$kde_cache=$kde_cv_path"
2220
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
2224
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
2225
echo "$as_me:$LINENO: result: not found" >&5
2226
echo "${ECHO_T}not found" >&6
2228
{ { echo "$as_me:$LINENO: error: The important program kde-config was not found!
2229
Please check whether you installed KDE correctly.
2231
echo "$as_me: error: The important program kde-config was not found!
2232
Please check whether you installed KDE correctly.
2234
{ (exit 1); exit 1; }; }
2237
echo "$as_me:$LINENO: result: $kde_cv_path" >&5
2238
echo "${ECHO_T}$kde_cv_path" >&6
2239
KDECONFIG=$kde_cv_path
2243
PATH="$kde_save_PATH"
2246
kde_libs_prefix=`$KDECONFIG --prefix`
2247
if test -z "$kde_libs_prefix" || test ! -x "$kde_libs_prefix"; then
2248
{ { echo "$as_me:$LINENO: error: $KDECONFIG --prefix outputed the non existant prefix '$kde_libs_prefix' for kdelibs.
2249
This means it has been moved since you installed it.
2250
This won't work. Please recompile kdelibs for the new prefix.
2252
echo "$as_me: error: $KDECONFIG --prefix outputed the non existant prefix '$kde_libs_prefix' for kdelibs.
2253
This means it has been moved since you installed it.
2254
This won't work. Please recompile kdelibs for the new prefix.
2256
{ (exit 1); exit 1; }; }
2258
kde_libs_htmldir=`$KDECONFIG --install html --expandvars`
2259
kde_libs_suffix=`$KDECONFIG --libsuffix`
2261
echo "$as_me:$LINENO: checking where to install" >&5
2262
echo $ECHO_N "checking where to install... $ECHO_C" >&6
2263
if test "x$prefix" = "xNONE"; then
2264
prefix=$kde_libs_prefix
2265
echo "$as_me:$LINENO: result: $prefix (as returned by kde-config)" >&5
2266
echo "${ECHO_T}$prefix (as returned by kde-config)" >&6
2268
given_prefix=$prefix
2269
echo "$as_me:$LINENO: result: $prefix (as requested)" >&5
2270
echo "${ECHO_T}$prefix (as requested)" >&6
2273
# And delete superfluous '/' to make compares easier
2274
prefix=`echo "$prefix" | sed 's,//*,/,g' | sed -e 's,/$,,'`
2275
exec_prefix=`echo "$exec_prefix" | sed 's,//*,/,g' | sed -e 's,/$,,'`
2276
given_prefix=`echo "$given_prefix" | sed 's,//*,/,g' | sed -e 's,/$,,'`
2283
# Check whether --enable-fast-perl or --disable-fast-perl was given.
2284
if test "${enable_fast_perl+set}" = set; then
2285
enableval="$enable_fast_perl"
2286
with_fast_perl=$enableval
2293
if test -f $srcdir/configure.files ; then
2294
val=`sed -e 's%^%\$(top_srcdir)/%' $srcdir/configure.files`
2297
if test -n "$val" ; then
2299
CONF_FILES="$CONF_FILES $i"
2306
ac_config_headers="$ac_config_headers config.h"
2308
DEPDIR="${am__leading_dot}deps"
2310
ac_config_commands="$ac_config_commands depfiles"
2313
am_make=${MAKE-make}
2314
cat > confinc << 'END'
2319
# If we don't find an include directive, just comment out the code.
2320
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2321
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2325
# First try GNU make style include.
2326
echo "include confinc" > confmf
2327
# We grep out `Entering directory' and `Leaving directory'
2328
# messages which can occur if `w' ends up in MAKEFLAGS.
2329
# In particular we don't look at `^make:' because GNU make might
2330
# be invoked under some other name (usually "gmake"), in which
2331
# case it prints its new name instead of `make'.
2332
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2337
# Now try BSD make style include.
2338
if test "$am__include" = "#"; then
2339
echo '.include "confinc"' > confmf
2340
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2341
am__include=.include
2348
echo "$as_me:$LINENO: result: $_am_result" >&5
2349
echo "${ECHO_T}$_am_result" >&6
2350
rm -f confinc confmf
2352
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2353
if test "${enable_dependency_tracking+set}" = set; then
2354
enableval="$enable_dependency_tracking"
2357
if test "x$enable_dependency_tracking" != xno; then
2358
am_depcomp="$ac_aux_dir/depcomp"
2363
if test "x$enable_dependency_tracking" != xno; then
2376
# Check whether --enable-debug or --disable-debug was given.
2377
if test "${enable_debug+set}" = set; then
2378
enableval="$enable_debug"
2382
kde_use_debug_code="yes"
2383
kde_use_debug_define=no
2386
kde_use_debug_code="full"
2387
kde_use_debug_define=no
2390
kde_use_debug_code="no"
2391
kde_use_debug_define=yes
2396
kde_use_debug_code="no"
2397
kde_use_debug_define=no
2401
# Check whether --enable-dummyoption or --disable-dummyoption was given.
2402
if test "${enable_dummyoption+set}" = set; then
2403
enableval="$enable_dummyoption"
2407
# Check whether --enable-strict or --disable-strict was given.
2408
if test "${enable_strict+set}" = set; then
2409
enableval="$enable_strict"
2411
if test $enableval = "no"; then
2412
kde_use_strict_options="no"
2414
kde_use_strict_options="yes"
2418
kde_use_strict_options="no"
2421
# Check whether --enable-warnings or --disable-warnings was given.
2422
if test "${enable_warnings+set}" = set; then
2423
enableval="$enable_warnings"
2425
if test $enableval = "no"; then
2426
kde_use_warnings="no"
2428
kde_use_warnings="yes"
2432
kde_use_warnings="yes"
2435
if test "$kde_use_debug_code" != "no"; then
2436
kde_use_warnings=yes
2439
# Check whether --enable-profile or --disable-profile was given.
2440
if test "${enable_profile+set}" = set; then
2441
enableval="$enable_profile"
2442
kde_use_profiling=$enableval
2444
kde_use_profiling="no"
2451
ac_cpp='$CPP $CPPFLAGS'
2452
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2453
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2454
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2455
if test -n "$ac_tool_prefix"; then
2456
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2457
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2458
echo "$as_me:$LINENO: checking for $ac_word" >&5
2459
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2460
if test "${ac_cv_prog_CC+set}" = set; then
2461
echo $ECHO_N "(cached) $ECHO_C" >&6
2463
if test -n "$CC"; then
2464
ac_cv_prog_CC="$CC" # Let the user override the test.
2466
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2470
test -z "$as_dir" && as_dir=.
2471
for ac_exec_ext in '' $ac_executable_extensions; do
2472
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2473
ac_cv_prog_CC="${ac_tool_prefix}gcc"
2474
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2483
if test -n "$CC"; then
2484
echo "$as_me:$LINENO: result: $CC" >&5
2485
echo "${ECHO_T}$CC" >&6
2487
echo "$as_me:$LINENO: result: no" >&5
2488
echo "${ECHO_T}no" >&6
2492
if test -z "$ac_cv_prog_CC"; then
2494
# Extract the first word of "gcc", so it can be a program name with args.
2495
set dummy gcc; 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_ac_ct_CC+set}" = set; then
2499
echo $ECHO_N "(cached) $ECHO_C" >&6
2501
if test -n "$ac_ct_CC"; then
2502
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # 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 $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2511
ac_cv_prog_ac_ct_CC="gcc"
2512
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2520
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2521
if test -n "$ac_ct_CC"; then
2522
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2523
echo "${ECHO_T}$ac_ct_CC" >&6
2525
echo "$as_me:$LINENO: result: no" >&5
2526
echo "${ECHO_T}no" >&6
2534
if test -z "$CC"; then
2535
if test -n "$ac_tool_prefix"; then
2536
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2537
set dummy ${ac_tool_prefix}cc; ac_word=$2
2538
echo "$as_me:$LINENO: checking for $ac_word" >&5
2539
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2540
if test "${ac_cv_prog_CC+set}" = set; then
2541
echo $ECHO_N "(cached) $ECHO_C" >&6
2543
if test -n "$CC"; then
2544
ac_cv_prog_CC="$CC" # Let the user override the test.
2546
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2550
test -z "$as_dir" && as_dir=.
2551
for ac_exec_ext in '' $ac_executable_extensions; do
2552
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2553
ac_cv_prog_CC="${ac_tool_prefix}cc"
2554
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2563
if test -n "$CC"; then
2564
echo "$as_me:$LINENO: result: $CC" >&5
2565
echo "${ECHO_T}$CC" >&6
2567
echo "$as_me:$LINENO: result: no" >&5
2568
echo "${ECHO_T}no" >&6
2572
if test -z "$ac_cv_prog_CC"; then
2574
# Extract the first word of "cc", so it can be a program name with args.
2575
set dummy cc; ac_word=$2
2576
echo "$as_me:$LINENO: checking for $ac_word" >&5
2577
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2578
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2579
echo $ECHO_N "(cached) $ECHO_C" >&6
2581
if test -n "$ac_ct_CC"; then
2582
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2584
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2588
test -z "$as_dir" && as_dir=.
2589
for ac_exec_ext in '' $ac_executable_extensions; do
2590
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2591
ac_cv_prog_ac_ct_CC="cc"
2592
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2600
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2601
if test -n "$ac_ct_CC"; then
2602
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2603
echo "${ECHO_T}$ac_ct_CC" >&6
2605
echo "$as_me:$LINENO: result: no" >&5
2606
echo "${ECHO_T}no" >&6
2615
if test -z "$CC"; then
2616
# Extract the first word of "cc", so it can be a program name with args.
2617
set dummy cc; ac_word=$2
2618
echo "$as_me:$LINENO: checking for $ac_word" >&5
2619
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2620
if test "${ac_cv_prog_CC+set}" = set; then
2621
echo $ECHO_N "(cached) $ECHO_C" >&6
2623
if test -n "$CC"; then
2624
ac_cv_prog_CC="$CC" # Let the user override the test.
2627
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2631
test -z "$as_dir" && as_dir=.
2632
for ac_exec_ext in '' $ac_executable_extensions; do
2633
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2634
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2635
ac_prog_rejected=yes
2639
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2645
if test $ac_prog_rejected = yes; then
2646
# We found a bogon in the path, so make sure we never use it.
2647
set dummy $ac_cv_prog_CC
2649
if test $# != 0; then
2650
# We chose a different compiler from the bogus one.
2651
# However, it has the same basename, so the bogon will be chosen
2652
# first if we set CC to just the basename; use the full file name.
2654
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2660
if test -n "$CC"; then
2661
echo "$as_me:$LINENO: result: $CC" >&5
2662
echo "${ECHO_T}$CC" >&6
2664
echo "$as_me:$LINENO: result: no" >&5
2665
echo "${ECHO_T}no" >&6
2669
if test -z "$CC"; then
2670
if test -n "$ac_tool_prefix"; then
2673
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2674
set dummy $ac_tool_prefix$ac_prog; 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_CC+set}" = set; then
2678
echo $ECHO_N "(cached) $ECHO_C" >&6
2680
if test -n "$CC"; then
2681
ac_cv_prog_CC="$CC" # 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 $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2690
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2691
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2700
if test -n "$CC"; then
2701
echo "$as_me:$LINENO: result: $CC" >&5
2702
echo "${ECHO_T}$CC" >&6
2704
echo "$as_me:$LINENO: result: no" >&5
2705
echo "${ECHO_T}no" >&6
2708
test -n "$CC" && break
2711
if test -z "$CC"; then
2715
# Extract the first word of "$ac_prog", so it can be a program name with args.
2716
set dummy $ac_prog; ac_word=$2
2717
echo "$as_me:$LINENO: checking for $ac_word" >&5
2718
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2719
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2720
echo $ECHO_N "(cached) $ECHO_C" >&6
2722
if test -n "$ac_ct_CC"; then
2723
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2725
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2729
test -z "$as_dir" && as_dir=.
2730
for ac_exec_ext in '' $ac_executable_extensions; do
2731
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2732
ac_cv_prog_ac_ct_CC="$ac_prog"
2733
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2741
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2742
if test -n "$ac_ct_CC"; then
2743
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2744
echo "${ECHO_T}$ac_ct_CC" >&6
2746
echo "$as_me:$LINENO: result: no" >&5
2747
echo "${ECHO_T}no" >&6
2750
test -n "$ac_ct_CC" && break
2759
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2760
See \`config.log' for more details." >&5
2761
echo "$as_me: error: no acceptable C compiler found in \$PATH
2762
See \`config.log' for more details." >&2;}
2763
{ (exit 1); exit 1; }; }
2765
# Provide some information about the compiler.
2766
echo "$as_me:$LINENO:" \
2767
"checking for C compiler version" >&5
2768
ac_compiler=`set X $ac_compile; echo $2`
2769
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2770
(eval $ac_compiler --version </dev/null >&5) 2>&5
2772
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2773
(exit $ac_status); }
2774
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2775
(eval $ac_compiler -v </dev/null >&5) 2>&5
2777
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2778
(exit $ac_status); }
2779
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2780
(eval $ac_compiler -V </dev/null >&5) 2>&5
2782
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2783
(exit $ac_status); }
2785
cat >conftest.$ac_ext <<_ACEOF
2788
cat confdefs.h >>conftest.$ac_ext
2789
cat >>conftest.$ac_ext <<_ACEOF
2790
/* end confdefs.h. */
2800
ac_clean_files_save=$ac_clean_files
2801
ac_clean_files="$ac_clean_files a.out a.exe b.out"
2802
# Try to create an executable without -o first, disregard a.out.
2803
# It will help us diagnose broken compilers, and finding out an intuition
2805
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2806
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2807
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2808
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2809
(eval $ac_link_default) 2>&5
2811
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2812
(exit $ac_status); }; then
2813
# Find the output, starting from the most likely. This scheme is
2814
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2817
# Be careful to initialize this variable, since it used to be cached.
2818
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2820
# b.out is created by i960 compilers.
2821
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2823
test -f "$ac_file" || continue
2825
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2828
# This is the source file.
2831
# We found the default executable, but exeext='' is most
2835
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2836
# FIXME: I believe we export ac_cv_exeext for Libtool,
2837
# but it would be cool to find out if it's true. Does anybody
2838
# maintain Libtool? --akim.
2846
echo "$as_me: failed program was:" >&5
2847
sed 's/^/| /' conftest.$ac_ext >&5
2849
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2850
See \`config.log' for more details." >&5
2851
echo "$as_me: error: C compiler cannot create executables
2852
See \`config.log' for more details." >&2;}
2853
{ (exit 77); exit 77; }; }
2856
ac_exeext=$ac_cv_exeext
2857
echo "$as_me:$LINENO: result: $ac_file" >&5
2858
echo "${ECHO_T}$ac_file" >&6
2860
# Check the compiler produces executables we can run. If not, either
2861
# the compiler is broken, or we cross compile.
2862
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2863
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2864
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2865
# If not cross compiling, check that we can run a simple program.
2866
if test "$cross_compiling" != yes; then
2867
if { ac_try='./$ac_file'
2868
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2871
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2872
(exit $ac_status); }; }; then
2875
if test "$cross_compiling" = maybe; then
2878
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2879
If you meant to cross compile, use \`--host'.
2880
See \`config.log' for more details." >&5
2881
echo "$as_me: error: cannot run C compiled programs.
2882
If you meant to cross compile, use \`--host'.
2883
See \`config.log' for more details." >&2;}
2884
{ (exit 1); exit 1; }; }
2888
echo "$as_me:$LINENO: result: yes" >&5
2889
echo "${ECHO_T}yes" >&6
2891
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2892
ac_clean_files=$ac_clean_files_save
2893
# Check the compiler produces executables we can run. If not, either
2894
# the compiler is broken, or we cross compile.
2895
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2896
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2897
echo "$as_me:$LINENO: result: $cross_compiling" >&5
2898
echo "${ECHO_T}$cross_compiling" >&6
2900
echo "$as_me:$LINENO: checking for suffix of executables" >&5
2901
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2902
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2903
(eval $ac_link) 2>&5
2905
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2906
(exit $ac_status); }; then
2907
# If both `conftest.exe' and `conftest' are `present' (well, observable)
2908
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2909
# work properly (i.e., refer to `conftest.exe'), while it won't with
2911
for ac_file in conftest.exe conftest conftest.*; do
2912
test -f "$ac_file" || continue
2914
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2915
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2922
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2923
See \`config.log' for more details." >&5
2924
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2925
See \`config.log' for more details." >&2;}
2926
{ (exit 1); exit 1; }; }
2929
rm -f conftest$ac_cv_exeext
2930
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2931
echo "${ECHO_T}$ac_cv_exeext" >&6
2933
rm -f conftest.$ac_ext
2934
EXEEXT=$ac_cv_exeext
2936
echo "$as_me:$LINENO: checking for suffix of object files" >&5
2937
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2938
if test "${ac_cv_objext+set}" = set; then
2939
echo $ECHO_N "(cached) $ECHO_C" >&6
2941
cat >conftest.$ac_ext <<_ACEOF
2944
cat confdefs.h >>conftest.$ac_ext
2945
cat >>conftest.$ac_ext <<_ACEOF
2946
/* end confdefs.h. */
2956
rm -f conftest.o conftest.obj
2957
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2958
(eval $ac_compile) 2>&5
2960
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2961
(exit $ac_status); }; then
2962
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2964
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2965
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2970
echo "$as_me: failed program was:" >&5
2971
sed 's/^/| /' conftest.$ac_ext >&5
2973
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2974
See \`config.log' for more details." >&5
2975
echo "$as_me: error: cannot compute suffix of object files: cannot compile
2976
See \`config.log' for more details." >&2;}
2977
{ (exit 1); exit 1; }; }
2980
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2982
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2983
echo "${ECHO_T}$ac_cv_objext" >&6
2984
OBJEXT=$ac_cv_objext
2986
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2987
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2988
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2989
echo $ECHO_N "(cached) $ECHO_C" >&6
2991
cat >conftest.$ac_ext <<_ACEOF
2994
cat confdefs.h >>conftest.$ac_ext
2995
cat >>conftest.$ac_ext <<_ACEOF
2996
/* end confdefs.h. */
3009
rm -f conftest.$ac_objext
3010
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3011
(eval $ac_compile) 2>conftest.er1
3013
grep -v '^ *+' conftest.er1 >conftest.err
3015
cat conftest.err >&5
3016
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3017
(exit $ac_status); } &&
3018
{ ac_try='test -z "$ac_c_werror_flag"
3019
|| test ! -s conftest.err'
3020
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3023
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3024
(exit $ac_status); }; } &&
3025
{ ac_try='test -s conftest.$ac_objext'
3026
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3029
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3030
(exit $ac_status); }; }; then
3033
echo "$as_me: failed program was:" >&5
3034
sed 's/^/| /' conftest.$ac_ext >&5
3038
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3039
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3042
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3043
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3044
GCC=`test $ac_compiler_gnu = yes && echo yes`
3045
ac_test_CFLAGS=${CFLAGS+set}
3046
ac_save_CFLAGS=$CFLAGS
3048
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3049
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3050
if test "${ac_cv_prog_cc_g+set}" = set; then
3051
echo $ECHO_N "(cached) $ECHO_C" >&6
3053
cat >conftest.$ac_ext <<_ACEOF
3056
cat confdefs.h >>conftest.$ac_ext
3057
cat >>conftest.$ac_ext <<_ACEOF
3058
/* end confdefs.h. */
3068
rm -f conftest.$ac_objext
3069
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3070
(eval $ac_compile) 2>conftest.er1
3072
grep -v '^ *+' conftest.er1 >conftest.err
3074
cat conftest.err >&5
3075
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3076
(exit $ac_status); } &&
3077
{ ac_try='test -z "$ac_c_werror_flag"
3078
|| test ! -s conftest.err'
3079
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3082
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3083
(exit $ac_status); }; } &&
3084
{ ac_try='test -s conftest.$ac_objext'
3085
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3088
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3089
(exit $ac_status); }; }; then
3092
echo "$as_me: failed program was:" >&5
3093
sed 's/^/| /' conftest.$ac_ext >&5
3097
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3099
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3100
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3101
if test "$ac_test_CFLAGS" = set; then
3102
CFLAGS=$ac_save_CFLAGS
3103
elif test $ac_cv_prog_cc_g = yes; then
3104
if test "$GCC" = yes; then
3110
if test "$GCC" = yes; then
3116
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3117
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3118
if test "${ac_cv_prog_cc_stdc+set}" = set; then
3119
echo $ECHO_N "(cached) $ECHO_C" >&6
3121
ac_cv_prog_cc_stdc=no
3123
cat >conftest.$ac_ext <<_ACEOF
3126
cat confdefs.h >>conftest.$ac_ext
3127
cat >>conftest.$ac_ext <<_ACEOF
3128
/* end confdefs.h. */
3131
#include <sys/types.h>
3132
#include <sys/stat.h>
3133
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3134
struct buf { int x; };
3135
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3136
static char *e (p, i)
3142
static char *f (char * (*g) (char **, int), char **p, ...)
3147
s = g (p, va_arg (v,int));
3152
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3153
function prototypes and stuff, but not '\xHH' hex character constants.
3154
These don't provoke an error unfortunately, instead are silently treated
3155
as 'x'. The following induces an error, until -std1 is added to get
3156
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3157
array size at least. It's necessary to write '\x00'==0 to get something
3158
that's true only with -std1. */
3159
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3161
int test (int i, double x);
3162
struct s1 {int (*f) (int a);};
3163
struct s2 {int (*f) (double a);};
3164
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3170
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3175
# Don't try gcc -ansi; that turns off useful extensions and
3176
# breaks some systems' header files.
3177
# AIX -qlanglvl=ansi
3178
# Ultrix and OSF/1 -std1
3179
# HP-UX 10.20 and later -Ae
3180
# HP-UX older versions -Aa -D_HPUX_SOURCE
3181
# SVR4 -Xc -D__EXTENSIONS__
3182
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3184
CC="$ac_save_CC $ac_arg"
3185
rm -f conftest.$ac_objext
3186
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3187
(eval $ac_compile) 2>conftest.er1
3189
grep -v '^ *+' conftest.er1 >conftest.err
3191
cat conftest.err >&5
3192
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3193
(exit $ac_status); } &&
3194
{ ac_try='test -z "$ac_c_werror_flag"
3195
|| test ! -s conftest.err'
3196
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3199
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3200
(exit $ac_status); }; } &&
3201
{ ac_try='test -s conftest.$ac_objext'
3202
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3205
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3206
(exit $ac_status); }; }; then
3207
ac_cv_prog_cc_stdc=$ac_arg
3210
echo "$as_me: failed program was:" >&5
3211
sed 's/^/| /' conftest.$ac_ext >&5
3214
rm -f conftest.err conftest.$ac_objext
3216
rm -f conftest.$ac_ext conftest.$ac_objext
3221
case "x$ac_cv_prog_cc_stdc" in
3223
echo "$as_me:$LINENO: result: none needed" >&5
3224
echo "${ECHO_T}none needed" >&6 ;;
3226
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3227
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3228
CC="$CC $ac_cv_prog_cc_stdc" ;;
3231
# Some people use a C++ compiler to compile C. Since we use `exit',
3232
# in C++ we need to declare it. In case someone uses the same compiler
3233
# for both compiling C and C++ we need to have the C++ compiler decide
3234
# the declaration of exit, since it's the most demanding environment.
3235
cat >conftest.$ac_ext <<_ACEOF
3240
rm -f conftest.$ac_objext
3241
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3242
(eval $ac_compile) 2>conftest.er1
3244
grep -v '^ *+' conftest.er1 >conftest.err
3246
cat conftest.err >&5
3247
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3248
(exit $ac_status); } &&
3249
{ ac_try='test -z "$ac_c_werror_flag"
3250
|| test ! -s conftest.err'
3251
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3254
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3255
(exit $ac_status); }; } &&
3256
{ ac_try='test -s conftest.$ac_objext'
3257
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3260
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3261
(exit $ac_status); }; }; then
3262
for ac_declaration in \
3264
'extern "C" void std::exit (int) throw (); using std::exit;' \
3265
'extern "C" void std::exit (int); using std::exit;' \
3266
'extern "C" void exit (int) throw ();' \
3267
'extern "C" void exit (int);' \
3270
cat >conftest.$ac_ext <<_ACEOF
3273
cat confdefs.h >>conftest.$ac_ext
3274
cat >>conftest.$ac_ext <<_ACEOF
3275
/* end confdefs.h. */
3286
rm -f conftest.$ac_objext
3287
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3288
(eval $ac_compile) 2>conftest.er1
3290
grep -v '^ *+' conftest.er1 >conftest.err
3292
cat conftest.err >&5
3293
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3294
(exit $ac_status); } &&
3295
{ ac_try='test -z "$ac_c_werror_flag"
3296
|| test ! -s conftest.err'
3297
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3300
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3301
(exit $ac_status); }; } &&
3302
{ ac_try='test -s conftest.$ac_objext'
3303
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3306
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3307
(exit $ac_status); }; }; then
3310
echo "$as_me: failed program was:" >&5
3311
sed 's/^/| /' conftest.$ac_ext >&5
3315
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3316
cat >conftest.$ac_ext <<_ACEOF
3319
cat confdefs.h >>conftest.$ac_ext
3320
cat >>conftest.$ac_ext <<_ACEOF
3321
/* end confdefs.h. */
3331
rm -f conftest.$ac_objext
3332
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3333
(eval $ac_compile) 2>conftest.er1
3335
grep -v '^ *+' conftest.er1 >conftest.err
3337
cat conftest.err >&5
3338
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3339
(exit $ac_status); } &&
3340
{ ac_try='test -z "$ac_c_werror_flag"
3341
|| test ! -s conftest.err'
3342
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3345
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3346
(exit $ac_status); }; } &&
3347
{ ac_try='test -s conftest.$ac_objext'
3348
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3351
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3352
(exit $ac_status); }; }; then
3355
echo "$as_me: failed program was:" >&5
3356
sed 's/^/| /' conftest.$ac_ext >&5
3359
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3362
if test -n "$ac_declaration"; then
3363
echo '#ifdef __cplusplus' >>confdefs.h
3364
echo $ac_declaration >>confdefs.h
3365
echo '#endif' >>confdefs.h
3369
echo "$as_me: failed program was:" >&5
3370
sed 's/^/| /' conftest.$ac_ext >&5
3373
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3375
ac_cpp='$CPP $CPPFLAGS'
3376
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3377
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3378
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3380
depcc="$CC" am_compiler_list=
3382
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3383
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3384
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3385
echo $ECHO_N "(cached) $ECHO_C" >&6
3387
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3388
# We make a subdir and do the tests there. Otherwise we can end up
3389
# making bogus files that we don't know about and never remove. For
3390
# instance it was reported that on HP-UX the gcc test will end up
3391
# making a dummy file named `D' -- because `-MD' means `put the output
3394
# Copy depcomp to subdir because otherwise we won't find it if we're
3395
# using a relative directory.
3396
cp "$am_depcomp" conftest.dir
3398
# We will build objects and dependencies in a subdirectory because
3399
# it helps to detect inapplicable dependency modes. For instance
3400
# both Tru64's cc and ICC support -MD to output dependencies as a
3401
# side effect of compilation, but ICC will put the dependencies in
3402
# the current directory while Tru64 will put them in the object
3406
am_cv_CC_dependencies_compiler_type=none
3407
if test "$am_compiler_list" = ""; then
3408
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3410
for depmode in $am_compiler_list; do
3411
# Setup a source with many dependencies, because some compilers
3412
# like to wrap large dependency lists on column 80 (with \), and
3413
# we should not choose a depcomp mode which is confused by this.
3415
# We need to recreate these files for each test, as the compiler may
3416
# overwrite some of them when testing with obscure command lines.
3417
# This happens at least with the AIX C compiler.
3419
for i in 1 2 3 4 5 6; do
3420
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3421
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3422
# Solaris 8's {/usr,}/bin/sh.
3423
touch sub/conftst$i.h
3425
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3429
# after this tag, mechanisms are not by side-effect, so they'll
3430
# only be used when explicitly requested
3431
if test "x$enable_dependency_tracking" = xyes; then
3439
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3440
# mode. It turns out that the SunPro C++ compiler does not properly
3441
# handle `-M -o', and we need to detect this.
3442
if depmode=$depmode \
3443
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3444
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3445
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3446
>/dev/null 2>conftest.err &&
3447
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3448
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3449
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3450
# icc doesn't choke on unknown options, it will just issue warnings
3451
# or remarks (even with -Werror). So we grep stderr for any message
3452
# that says an option was ignored or not supported.
3453
# When given -MP, icc 7.0 and 7.1 complain thusly:
3454
# icc: Command line warning: ignoring option '-M'; no argument required
3455
# The diagnosis changed in icc 8.0:
3456
# icc: Command line remark: option '-MP' not supported
3457
if (grep 'ignoring option' conftest.err ||
3458
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3459
am_cv_CC_dependencies_compiler_type=$depmode
3468
am_cv_CC_dependencies_compiler_type=none
3472
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3473
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3474
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3479
test "x$enable_dependency_tracking" != xno \
3480
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3482
am__fastdepCC_FALSE='#'
3484
am__fastdepCC_TRUE='#'
3485
am__fastdepCC_FALSE=
3491
ac_cpp='$CPP $CPPFLAGS'
3492
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3493
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3494
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3495
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3496
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3497
# On Suns, sometimes $CPP names a directory.
3498
if test -n "$CPP" && test -d "$CPP"; then
3501
if test -z "$CPP"; then
3502
if test "${ac_cv_prog_CPP+set}" = set; then
3503
echo $ECHO_N "(cached) $ECHO_C" >&6
3505
# Double quotes because CPP needs to be expanded
3506
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3509
for ac_c_preproc_warn_flag in '' yes
3511
# Use a header file that comes with gcc, so configuring glibc
3512
# with a fresh cross-compiler works.
3513
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3514
# <limits.h> exists even on freestanding compilers.
3515
# On the NeXT, cc -E runs the code through the compiler's parser,
3516
# not just through cpp. "Syntax error" is here to catch this case.
3517
cat >conftest.$ac_ext <<_ACEOF
3520
cat confdefs.h >>conftest.$ac_ext
3521
cat >>conftest.$ac_ext <<_ACEOF
3522
/* end confdefs.h. */
3524
# include <limits.h>
3526
# include <assert.h>
3530
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3531
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3533
grep -v '^ *+' conftest.er1 >conftest.err
3535
cat conftest.err >&5
3536
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3537
(exit $ac_status); } >/dev/null; then
3538
if test -s conftest.err; then
3539
ac_cpp_err=$ac_c_preproc_warn_flag
3540
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3547
if test -z "$ac_cpp_err"; then
3550
echo "$as_me: failed program was:" >&5
3551
sed 's/^/| /' conftest.$ac_ext >&5
3553
# Broken: fails on valid input.
3556
rm -f conftest.err conftest.$ac_ext
3558
# OK, works on sane cases. Now check whether non-existent headers
3559
# can be detected and how.
3560
cat >conftest.$ac_ext <<_ACEOF
3563
cat confdefs.h >>conftest.$ac_ext
3564
cat >>conftest.$ac_ext <<_ACEOF
3565
/* end confdefs.h. */
3566
#include <ac_nonexistent.h>
3568
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3569
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3571
grep -v '^ *+' conftest.er1 >conftest.err
3573
cat conftest.err >&5
3574
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3575
(exit $ac_status); } >/dev/null; then
3576
if test -s conftest.err; then
3577
ac_cpp_err=$ac_c_preproc_warn_flag
3578
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3585
if test -z "$ac_cpp_err"; then
3586
# Broken: success on invalid input.
3589
echo "$as_me: failed program was:" >&5
3590
sed 's/^/| /' conftest.$ac_ext >&5
3592
# Passes both tests.
3596
rm -f conftest.err conftest.$ac_ext
3599
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3600
rm -f conftest.err conftest.$ac_ext
3601
if $ac_preproc_ok; then
3613
echo "$as_me:$LINENO: result: $CPP" >&5
3614
echo "${ECHO_T}$CPP" >&6
3616
for ac_c_preproc_warn_flag in '' yes
3618
# Use a header file that comes with gcc, so configuring glibc
3619
# with a fresh cross-compiler works.
3620
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3621
# <limits.h> exists even on freestanding compilers.
3622
# On the NeXT, cc -E runs the code through the compiler's parser,
3623
# not just through cpp. "Syntax error" is here to catch this case.
3624
cat >conftest.$ac_ext <<_ACEOF
3627
cat confdefs.h >>conftest.$ac_ext
3628
cat >>conftest.$ac_ext <<_ACEOF
3629
/* end confdefs.h. */
3631
# include <limits.h>
3633
# include <assert.h>
3637
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3638
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3640
grep -v '^ *+' conftest.er1 >conftest.err
3642
cat conftest.err >&5
3643
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3644
(exit $ac_status); } >/dev/null; then
3645
if test -s conftest.err; then
3646
ac_cpp_err=$ac_c_preproc_warn_flag
3647
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3654
if test -z "$ac_cpp_err"; then
3657
echo "$as_me: failed program was:" >&5
3658
sed 's/^/| /' conftest.$ac_ext >&5
3660
# Broken: fails on valid input.
3663
rm -f conftest.err conftest.$ac_ext
3665
# OK, works on sane cases. Now check whether non-existent headers
3666
# can be detected and how.
3667
cat >conftest.$ac_ext <<_ACEOF
3670
cat confdefs.h >>conftest.$ac_ext
3671
cat >>conftest.$ac_ext <<_ACEOF
3672
/* end confdefs.h. */
3673
#include <ac_nonexistent.h>
3675
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3676
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3678
grep -v '^ *+' conftest.er1 >conftest.err
3680
cat conftest.err >&5
3681
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3682
(exit $ac_status); } >/dev/null; then
3683
if test -s conftest.err; then
3684
ac_cpp_err=$ac_c_preproc_warn_flag
3685
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3692
if test -z "$ac_cpp_err"; then
3693
# Broken: success on invalid input.
3696
echo "$as_me: failed program was:" >&5
3697
sed 's/^/| /' conftest.$ac_ext >&5
3699
# Passes both tests.
3703
rm -f conftest.err conftest.$ac_ext
3706
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3707
rm -f conftest.err conftest.$ac_ext
3708
if $ac_preproc_ok; then
3711
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3712
See \`config.log' for more details." >&5
3713
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3714
See \`config.log' for more details." >&2;}
3715
{ (exit 1); exit 1; }; }
3719
ac_cpp='$CPP $CPPFLAGS'
3720
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3721
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3722
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3725
if test "$GCC" = "yes"; then
3726
if test "$kde_use_debug_code" != "no"; then
3727
if test $kde_use_debug_code = "full"; then
3728
CFLAGS="-g3 -fno-inline $CFLAGS"
3730
CFLAGS="-g -O2 $CFLAGS"
3733
CFLAGS="-O2 $CFLAGS"
3737
if test "$kde_use_debug_define" = "yes"; then
3738
CFLAGS="-DNDEBUG $CFLAGS"
3743
*-*-sysv4.2uw*) CFLAGS="-D_UNIXWARE $CFLAGS";;
3744
*-*-sysv5uw7*) CFLAGS="-D_UNIXWARE7 $CFLAGS";;
3747
if test -z "$LDFLAGS" && test "$kde_use_debug_code" = "no" && test "$GCC" = "yes"; then
3751
CXXFLAGS=" $CXXFLAGS"
3754
ac_cpp='$CXXCPP $CPPFLAGS'
3755
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3756
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3757
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3758
if test -n "$ac_tool_prefix"; then
3759
for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3761
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3762
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3763
echo "$as_me:$LINENO: checking for $ac_word" >&5
3764
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3765
if test "${ac_cv_prog_CXX+set}" = set; then
3766
echo $ECHO_N "(cached) $ECHO_C" >&6
3768
if test -n "$CXX"; then
3769
ac_cv_prog_CXX="$CXX" # Let the user override the test.
3771
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3775
test -z "$as_dir" && as_dir=.
3776
for ac_exec_ext in '' $ac_executable_extensions; do
3777
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3778
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3779
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3788
if test -n "$CXX"; then
3789
echo "$as_me:$LINENO: result: $CXX" >&5
3790
echo "${ECHO_T}$CXX" >&6
3792
echo "$as_me:$LINENO: result: no" >&5
3793
echo "${ECHO_T}no" >&6
3796
test -n "$CXX" && break
3799
if test -z "$CXX"; then
3801
for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3803
# Extract the first word of "$ac_prog", so it can be a program name with args.
3804
set dummy $ac_prog; ac_word=$2
3805
echo "$as_me:$LINENO: checking for $ac_word" >&5
3806
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3807
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3808
echo $ECHO_N "(cached) $ECHO_C" >&6
3810
if test -n "$ac_ct_CXX"; then
3811
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3813
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3817
test -z "$as_dir" && as_dir=.
3818
for ac_exec_ext in '' $ac_executable_extensions; do
3819
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3820
ac_cv_prog_ac_ct_CXX="$ac_prog"
3821
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3829
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3830
if test -n "$ac_ct_CXX"; then
3831
echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3832
echo "${ECHO_T}$ac_ct_CXX" >&6
3834
echo "$as_me:$LINENO: result: no" >&5
3835
echo "${ECHO_T}no" >&6
3838
test -n "$ac_ct_CXX" && break
3840
test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3846
# Provide some information about the compiler.
3847
echo "$as_me:$LINENO:" \
3848
"checking for C++ compiler version" >&5
3849
ac_compiler=`set X $ac_compile; echo $2`
3850
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3851
(eval $ac_compiler --version </dev/null >&5) 2>&5
3853
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3854
(exit $ac_status); }
3855
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3856
(eval $ac_compiler -v </dev/null >&5) 2>&5
3858
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3859
(exit $ac_status); }
3860
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3861
(eval $ac_compiler -V </dev/null >&5) 2>&5
3863
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3864
(exit $ac_status); }
3866
echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3867
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3868
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3869
echo $ECHO_N "(cached) $ECHO_C" >&6
3871
cat >conftest.$ac_ext <<_ACEOF
3874
cat confdefs.h >>conftest.$ac_ext
3875
cat >>conftest.$ac_ext <<_ACEOF
3876
/* end confdefs.h. */
3889
rm -f conftest.$ac_objext
3890
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3891
(eval $ac_compile) 2>conftest.er1
3893
grep -v '^ *+' conftest.er1 >conftest.err
3895
cat conftest.err >&5
3896
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3897
(exit $ac_status); } &&
3898
{ ac_try='test -z "$ac_cxx_werror_flag"
3899
|| test ! -s conftest.err'
3900
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3903
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3904
(exit $ac_status); }; } &&
3905
{ ac_try='test -s conftest.$ac_objext'
3906
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3909
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3910
(exit $ac_status); }; }; then
3913
echo "$as_me: failed program was:" >&5
3914
sed 's/^/| /' conftest.$ac_ext >&5
3918
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3919
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3922
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3923
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3924
GXX=`test $ac_compiler_gnu = yes && echo yes`
3925
ac_test_CXXFLAGS=${CXXFLAGS+set}
3926
ac_save_CXXFLAGS=$CXXFLAGS
3928
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3929
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3930
if test "${ac_cv_prog_cxx_g+set}" = set; then
3931
echo $ECHO_N "(cached) $ECHO_C" >&6
3933
cat >conftest.$ac_ext <<_ACEOF
3936
cat confdefs.h >>conftest.$ac_ext
3937
cat >>conftest.$ac_ext <<_ACEOF
3938
/* end confdefs.h. */
3948
rm -f conftest.$ac_objext
3949
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3950
(eval $ac_compile) 2>conftest.er1
3952
grep -v '^ *+' conftest.er1 >conftest.err
3954
cat conftest.err >&5
3955
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3956
(exit $ac_status); } &&
3957
{ ac_try='test -z "$ac_cxx_werror_flag"
3958
|| test ! -s conftest.err'
3959
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3962
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3963
(exit $ac_status); }; } &&
3964
{ ac_try='test -s conftest.$ac_objext'
3965
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3968
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3969
(exit $ac_status); }; }; then
3970
ac_cv_prog_cxx_g=yes
3972
echo "$as_me: failed program was:" >&5
3973
sed 's/^/| /' conftest.$ac_ext >&5
3977
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3979
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3980
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3981
if test "$ac_test_CXXFLAGS" = set; then
3982
CXXFLAGS=$ac_save_CXXFLAGS
3983
elif test $ac_cv_prog_cxx_g = yes; then
3984
if test "$GXX" = yes; then
3990
if test "$GXX" = yes; then
3996
for ac_declaration in \
3998
'extern "C" void std::exit (int) throw (); using std::exit;' \
3999
'extern "C" void std::exit (int); using std::exit;' \
4000
'extern "C" void exit (int) throw ();' \
4001
'extern "C" void exit (int);' \
4004
cat >conftest.$ac_ext <<_ACEOF
4007
cat confdefs.h >>conftest.$ac_ext
4008
cat >>conftest.$ac_ext <<_ACEOF
4009
/* end confdefs.h. */
4020
rm -f conftest.$ac_objext
4021
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4022
(eval $ac_compile) 2>conftest.er1
4024
grep -v '^ *+' conftest.er1 >conftest.err
4026
cat conftest.err >&5
4027
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4028
(exit $ac_status); } &&
4029
{ ac_try='test -z "$ac_cxx_werror_flag"
4030
|| test ! -s conftest.err'
4031
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4034
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4035
(exit $ac_status); }; } &&
4036
{ ac_try='test -s conftest.$ac_objext'
4037
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4040
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4041
(exit $ac_status); }; }; then
4044
echo "$as_me: failed program was:" >&5
4045
sed 's/^/| /' conftest.$ac_ext >&5
4049
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4050
cat >conftest.$ac_ext <<_ACEOF
4053
cat confdefs.h >>conftest.$ac_ext
4054
cat >>conftest.$ac_ext <<_ACEOF
4055
/* end confdefs.h. */
4065
rm -f conftest.$ac_objext
4066
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4067
(eval $ac_compile) 2>conftest.er1
4069
grep -v '^ *+' conftest.er1 >conftest.err
4071
cat conftest.err >&5
4072
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4073
(exit $ac_status); } &&
4074
{ ac_try='test -z "$ac_cxx_werror_flag"
4075
|| test ! -s conftest.err'
4076
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4079
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4080
(exit $ac_status); }; } &&
4081
{ ac_try='test -s conftest.$ac_objext'
4082
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4085
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4086
(exit $ac_status); }; }; then
4089
echo "$as_me: failed program was:" >&5
4090
sed 's/^/| /' conftest.$ac_ext >&5
4093
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4096
if test -n "$ac_declaration"; then
4097
echo '#ifdef __cplusplus' >>confdefs.h
4098
echo $ac_declaration >>confdefs.h
4099
echo '#endif' >>confdefs.h
4103
ac_cpp='$CPP $CPPFLAGS'
4104
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4105
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4106
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4108
depcc="$CXX" am_compiler_list=
4110
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4111
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
4112
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
4113
echo $ECHO_N "(cached) $ECHO_C" >&6
4115
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4116
# We make a subdir and do the tests there. Otherwise we can end up
4117
# making bogus files that we don't know about and never remove. For
4118
# instance it was reported that on HP-UX the gcc test will end up
4119
# making a dummy file named `D' -- because `-MD' means `put the output
4122
# Copy depcomp to subdir because otherwise we won't find it if we're
4123
# using a relative directory.
4124
cp "$am_depcomp" conftest.dir
4126
# We will build objects and dependencies in a subdirectory because
4127
# it helps to detect inapplicable dependency modes. For instance
4128
# both Tru64's cc and ICC support -MD to output dependencies as a
4129
# side effect of compilation, but ICC will put the dependencies in
4130
# the current directory while Tru64 will put them in the object
4134
am_cv_CXX_dependencies_compiler_type=none
4135
if test "$am_compiler_list" = ""; then
4136
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4138
for depmode in $am_compiler_list; do
4139
# Setup a source with many dependencies, because some compilers
4140
# like to wrap large dependency lists on column 80 (with \), and
4141
# we should not choose a depcomp mode which is confused by this.
4143
# We need to recreate these files for each test, as the compiler may
4144
# overwrite some of them when testing with obscure command lines.
4145
# This happens at least with the AIX C compiler.
4147
for i in 1 2 3 4 5 6; do
4148
echo '#include "conftst'$i'.h"' >> sub/conftest.c
4149
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4150
# Solaris 8's {/usr,}/bin/sh.
4151
touch sub/conftst$i.h
4153
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4157
# after this tag, mechanisms are not by side-effect, so they'll
4158
# only be used when explicitly requested
4159
if test "x$enable_dependency_tracking" = xyes; then
4167
# We check with `-c' and `-o' for the sake of the "dashmstdout"
4168
# mode. It turns out that the SunPro C++ compiler does not properly
4169
# handle `-M -o', and we need to detect this.
4170
if depmode=$depmode \
4171
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4172
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4173
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4174
>/dev/null 2>conftest.err &&
4175
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4176
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4177
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4178
# icc doesn't choke on unknown options, it will just issue warnings
4179
# or remarks (even with -Werror). So we grep stderr for any message
4180
# that says an option was ignored or not supported.
4181
# When given -MP, icc 7.0 and 7.1 complain thusly:
4182
# icc: Command line warning: ignoring option '-M'; no argument required
4183
# The diagnosis changed in icc 8.0:
4184
# icc: Command line remark: option '-MP' not supported
4185
if (grep 'ignoring option' conftest.err ||
4186
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4187
am_cv_CXX_dependencies_compiler_type=$depmode
4196
am_cv_CXX_dependencies_compiler_type=none
4200
echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
4201
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
4202
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4207
test "x$enable_dependency_tracking" != xno \
4208
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4209
am__fastdepCXX_TRUE=
4210
am__fastdepCXX_FALSE='#'
4212
am__fastdepCXX_TRUE='#'
4213
am__fastdepCXX_FALSE=
4219
echo "$as_me:$LINENO: checking whether $CC is blacklisted" >&5
4220
echo $ECHO_N "checking whether $CC is blacklisted... $ECHO_C" >&6
4223
cat >conftest.$ac_ext <<_ACEOF
4226
cat confdefs.h >>conftest.$ac_ext
4227
cat >>conftest.$ac_ext <<_ACEOF
4228
/* end confdefs.h. */
4231
#if __GNUC__ == 4 && __GNUC_MINOR__ == 0 && __GNUC_PATCHLEVEL__ == 0
4244
rm -f conftest.$ac_objext
4245
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4246
(eval $ac_compile) 2>conftest.er1
4248
grep -v '^ *+' conftest.er1 >conftest.err
4250
cat conftest.err >&5
4251
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4252
(exit $ac_status); } &&
4253
{ ac_try='test -z "$ac_c_werror_flag"
4254
|| test ! -s conftest.err'
4255
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4258
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4259
(exit $ac_status); }; } &&
4260
{ ac_try='test -s conftest.$ac_objext'
4261
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4264
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4265
(exit $ac_status); }; }; then
4268
echo "$as_me: failed program was:" >&5
4269
sed 's/^/| /' conftest.$ac_ext >&5
4271
kde_bad_compiler=yes
4274
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4276
echo "$as_me:$LINENO: result: $kde_bad_compiler" >&5
4277
echo "${ECHO_T}$kde_bad_compiler" >&6
4279
if test "$kde_bad_compiler" = "yes"; then
4280
{ { echo "$as_me:$LINENO: error:
4282
This particular compiler version is blacklisted because it
4283
is known to miscompile KDE. Please use a newer version, or
4284
if that is not yet available, choose an older version.
4286
Please do not report a bug or bother us reporting this
4287
configure error. We know about it, and we introduced
4288
it by intention to avoid untraceable bugs or crashes in KDE.
4291
echo "$as_me: error:
4293
This particular compiler version is blacklisted because it
4294
is known to miscompile KDE. Please use a newer version, or
4295
if that is not yet available, choose an older version.
4297
Please do not report a bug or bother us reporting this
4298
configure error. We know about it, and we introduced
4299
it by intention to avoid untraceable bugs or crashes in KDE.
4302
{ (exit 1); exit 1; }; }
4307
if test "$GXX" = "yes" || test "$CXX" = "KCC"; then
4308
if test "$kde_use_debug_code" != "no"; then
4309
if test "$CXX" = "KCC"; then
4310
CXXFLAGS="+K0 -Wall -pedantic -W -Wpointer-arith -Wwrite-strings $CXXFLAGS"
4312
if test "$kde_use_debug_code" = "full"; then
4313
CXXFLAGS="-g3 -fno-inline $CXXFLAGS"
4315
CXXFLAGS="-g -O2 $CXXFLAGS"
4319
echo "$as_me:$LINENO: checking whether $CXX supports -fno-builtin" >&5
4320
echo $ECHO_N "checking whether $CXX supports -fno-builtin... $ECHO_C" >&6
4321
kde_cache=`echo fno-builtin | sed 'y% .=/+-,%____p__%'`
4322
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
4323
echo $ECHO_N "(cached) $ECHO_C" >&6
4330
ac_cpp='$CXXCPP $CPPFLAGS'
4331
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4332
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4333
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4335
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4339
save_CXXFLAGS="$CXXFLAGS"
4340
CXXFLAGS="$CXXFLAGS -fno-builtin"
4341
cat >conftest.$ac_ext <<_ACEOF
4344
cat confdefs.h >>conftest.$ac_ext
4345
cat >>conftest.$ac_ext <<_ACEOF
4346
/* end confdefs.h. */
4356
rm -f conftest.$ac_objext conftest$ac_exeext
4357
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4358
(eval $ac_link) 2>conftest.er1
4360
grep -v '^ *+' conftest.er1 >conftest.err
4362
cat conftest.err >&5
4363
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4364
(exit $ac_status); } &&
4365
{ ac_try='test -z "$ac_cxx_werror_flag"
4366
|| test ! -s conftest.err'
4367
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4370
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4371
(exit $ac_status); }; } &&
4372
{ ac_try='test -s conftest$ac_exeext'
4373
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4376
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4377
(exit $ac_status); }; }; then
4378
eval "kde_cv_prog_cxx_$kde_cache=yes"
4380
echo "$as_me: failed program was:" >&5
4381
sed 's/^/| /' conftest.$ac_ext >&5
4384
rm -f conftest.err conftest.$ac_objext \
4385
conftest$ac_exeext conftest.$ac_ext
4386
CXXFLAGS="$save_CXXFLAGS"
4388
ac_cpp='$CPP $CPPFLAGS'
4389
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4390
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4391
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4396
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
4397
echo "$as_me:$LINENO: result: yes" >&5
4398
echo "${ECHO_T}yes" >&6
4400
CXXFLAGS="-fno-builtin $CXXFLAGS"
4402
echo "$as_me:$LINENO: result: no" >&5
4403
echo "${ECHO_T}no" >&6
4410
echo "$as_me:$LINENO: checking whether $CXX supports -Woverloaded-virtual" >&5
4411
echo $ECHO_N "checking whether $CXX supports -Woverloaded-virtual... $ECHO_C" >&6
4412
kde_cache=`echo Woverloaded-virtual | sed 'y% .=/+-,%____p__%'`
4413
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
4414
echo $ECHO_N "(cached) $ECHO_C" >&6
4420
ac_cpp='$CXXCPP $CPPFLAGS'
4421
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4422
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4423
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4425
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4428
save_CXXFLAGS="$CXXFLAGS"
4429
CXXFLAGS="$CXXFLAGS -Woverloaded-virtual"
4430
cat >conftest.$ac_ext <<_ACEOF
4433
cat confdefs.h >>conftest.$ac_ext
4434
cat >>conftest.$ac_ext <<_ACEOF
4435
/* end confdefs.h. */
4445
rm -f conftest.$ac_objext conftest$ac_exeext
4446
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4447
(eval $ac_link) 2>conftest.er1
4449
grep -v '^ *+' conftest.er1 >conftest.err
4451
cat conftest.err >&5
4452
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4453
(exit $ac_status); } &&
4454
{ ac_try='test -z "$ac_cxx_werror_flag"
4455
|| test ! -s conftest.err'
4456
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4459
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4460
(exit $ac_status); }; } &&
4461
{ ac_try='test -s conftest$ac_exeext'
4462
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4465
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4466
(exit $ac_status); }; }; then
4467
eval "kde_cv_prog_cxx_$kde_cache=yes"
4469
echo "$as_me: failed program was:" >&5
4470
sed 's/^/| /' conftest.$ac_ext >&5
4473
rm -f conftest.err conftest.$ac_objext \
4474
conftest$ac_exeext conftest.$ac_ext
4475
CXXFLAGS="$save_CXXFLAGS"
4477
ac_cpp='$CPP $CPPFLAGS'
4478
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4479
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4480
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4485
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
4486
echo "$as_me:$LINENO: result: yes" >&5
4487
echo "${ECHO_T}yes" >&6
4489
WOVERLOADED_VIRTUAL="-Woverloaded-virtual"
4491
echo "$as_me:$LINENO: result: no" >&5
4492
echo "${ECHO_T}no" >&6
4494
WOVERLOADED_VRITUAL=""
4499
if test "$CXX" = "KCC"; then
4500
CXXFLAGS="+K3 $CXXFLAGS"
4502
CXXFLAGS="-O2 $CXXFLAGS"
4507
if test "$kde_use_debug_define" = "yes"; then
4508
CXXFLAGS="-DNDEBUG -DNO_DEBUG $CXXFLAGS"
4511
if test "$kde_use_profiling" = "yes"; then
4513
echo "$as_me:$LINENO: checking whether $CXX supports -pg" >&5
4514
echo $ECHO_N "checking whether $CXX supports -pg... $ECHO_C" >&6
4515
kde_cache=`echo pg | sed 'y% .=/+-,%____p__%'`
4516
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
4517
echo $ECHO_N "(cached) $ECHO_C" >&6
4523
ac_cpp='$CXXCPP $CPPFLAGS'
4524
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4525
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4526
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4528
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4531
save_CXXFLAGS="$CXXFLAGS"
4532
CXXFLAGS="$CXXFLAGS -pg"
4533
cat >conftest.$ac_ext <<_ACEOF
4536
cat confdefs.h >>conftest.$ac_ext
4537
cat >>conftest.$ac_ext <<_ACEOF
4538
/* end confdefs.h. */
4548
rm -f conftest.$ac_objext conftest$ac_exeext
4549
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4550
(eval $ac_link) 2>conftest.er1
4552
grep -v '^ *+' conftest.er1 >conftest.err
4554
cat conftest.err >&5
4555
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4556
(exit $ac_status); } &&
4557
{ ac_try='test -z "$ac_cxx_werror_flag"
4558
|| test ! -s conftest.err'
4559
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4562
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4563
(exit $ac_status); }; } &&
4564
{ ac_try='test -s conftest$ac_exeext'
4565
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4568
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4569
(exit $ac_status); }; }; then
4570
eval "kde_cv_prog_cxx_$kde_cache=yes"
4572
echo "$as_me: failed program was:" >&5
4573
sed 's/^/| /' conftest.$ac_ext >&5
4576
rm -f conftest.err conftest.$ac_objext \
4577
conftest$ac_exeext conftest.$ac_ext
4578
CXXFLAGS="$save_CXXFLAGS"
4580
ac_cpp='$CPP $CPPFLAGS'
4581
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4582
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4583
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4588
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
4589
echo "$as_me:$LINENO: result: yes" >&5
4590
echo "${ECHO_T}yes" >&6
4593
CFLAGS="-pg $CFLAGS"
4594
CXXFLAGS="-pg $CXXFLAGS"
4597
echo "$as_me:$LINENO: result: no" >&5
4598
echo "${ECHO_T}no" >&6
4605
if test "$kde_use_warnings" = "yes"; then
4606
if test "$GCC" = "yes"; then
4607
CXXFLAGS="-Wall -W -Wpointer-arith -Wno-non-virtual-dtor $CXXFLAGS"
4610
CFLAGS="-std=iso9899:1990 -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE $CFLAGS"
4611
CXXFLAGS="-ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts $CXXFLAGS"
4613
echo "$as_me:$LINENO: checking whether $CXX supports -Wmissing-format-attribute" >&5
4614
echo $ECHO_N "checking whether $CXX supports -Wmissing-format-attribute... $ECHO_C" >&6
4615
kde_cache=`echo Wmissing-format-attribute | sed 'y% .=/+-,%____p__%'`
4616
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
4617
echo $ECHO_N "(cached) $ECHO_C" >&6
4623
ac_cpp='$CXXCPP $CPPFLAGS'
4624
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4625
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4626
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4628
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4631
save_CXXFLAGS="$CXXFLAGS"
4632
CXXFLAGS="$CXXFLAGS -Wmissing-format-attribute"
4633
cat >conftest.$ac_ext <<_ACEOF
4636
cat confdefs.h >>conftest.$ac_ext
4637
cat >>conftest.$ac_ext <<_ACEOF
4638
/* end confdefs.h. */
4648
rm -f conftest.$ac_objext conftest$ac_exeext
4649
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4650
(eval $ac_link) 2>conftest.er1
4652
grep -v '^ *+' conftest.er1 >conftest.err
4654
cat conftest.err >&5
4655
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4656
(exit $ac_status); } &&
4657
{ ac_try='test -z "$ac_cxx_werror_flag"
4658
|| test ! -s conftest.err'
4659
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4662
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4663
(exit $ac_status); }; } &&
4664
{ ac_try='test -s conftest$ac_exeext'
4665
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4668
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4669
(exit $ac_status); }; }; then
4670
eval "kde_cv_prog_cxx_$kde_cache=yes"
4672
echo "$as_me: failed program was:" >&5
4673
sed 's/^/| /' conftest.$ac_ext >&5
4676
rm -f conftest.err conftest.$ac_objext \
4677
conftest$ac_exeext conftest.$ac_ext
4678
CXXFLAGS="$save_CXXFLAGS"
4680
ac_cpp='$CPP $CPPFLAGS'
4681
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4682
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4683
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4688
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
4689
echo "$as_me:$LINENO: result: yes" >&5
4690
echo "${ECHO_T}yes" >&6
4692
CXXFLAGS="$CXXFLAGS -Wformat-security -Wmissing-format-attribute"
4694
echo "$as_me:$LINENO: result: no" >&5
4695
echo "${ECHO_T}no" >&6
4701
echo "$as_me:$LINENO: checking whether $CC supports -Wmissing-format-attribute" >&5
4702
echo $ECHO_N "checking whether $CC supports -Wmissing-format-attribute... $ECHO_C" >&6
4703
kde_cache=`echo Wmissing-format-attribute | sed 'y% .=/+-,%____p__%'`
4704
if eval "test \"\${kde_cv_prog_cc_$kde_cache+set}\" = set"; then
4705
echo $ECHO_N "(cached) $ECHO_C" >&6
4711
ac_cpp='$CPP $CPPFLAGS'
4712
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4713
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4714
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4716
save_CFLAGS="$CFLAGS"
4717
CFLAGS="$CFLAGS -Wmissing-format-attribute"
4718
cat >conftest.$ac_ext <<_ACEOF
4721
cat confdefs.h >>conftest.$ac_ext
4722
cat >>conftest.$ac_ext <<_ACEOF
4723
/* end confdefs.h. */
4733
rm -f conftest.$ac_objext conftest$ac_exeext
4734
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4735
(eval $ac_link) 2>conftest.er1
4737
grep -v '^ *+' conftest.er1 >conftest.err
4739
cat conftest.err >&5
4740
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4741
(exit $ac_status); } &&
4742
{ ac_try='test -z "$ac_c_werror_flag"
4743
|| test ! -s conftest.err'
4744
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4747
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4748
(exit $ac_status); }; } &&
4749
{ ac_try='test -s conftest$ac_exeext'
4750
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4753
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4754
(exit $ac_status); }; }; then
4755
eval "kde_cv_prog_cc_$kde_cache=yes"
4757
echo "$as_me: failed program was:" >&5
4758
sed 's/^/| /' conftest.$ac_ext >&5
4761
rm -f conftest.err conftest.$ac_objext \
4762
conftest$ac_exeext conftest.$ac_ext
4763
CFLAGS="$save_CFLAGS"
4765
ac_cpp='$CPP $CPPFLAGS'
4766
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4767
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4768
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4773
if eval "test \"`echo '$kde_cv_prog_cc_'$kde_cache`\" = yes"; then
4774
echo "$as_me:$LINENO: result: yes" >&5
4775
echo "${ECHO_T}yes" >&6
4777
CFLAGS="$CFLAGS -Wformat-security -Wmissing-format-attribute"
4779
echo "$as_me:$LINENO: result: no" >&5
4780
echo "${ECHO_T}no" >&6
4788
echo "$as_me:$LINENO: checking whether $CXX supports -Wundef" >&5
4789
echo $ECHO_N "checking whether $CXX supports -Wundef... $ECHO_C" >&6
4790
kde_cache=`echo Wundef | sed 'y% .=/+-,%____p__%'`
4791
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
4792
echo $ECHO_N "(cached) $ECHO_C" >&6
4798
ac_cpp='$CXXCPP $CPPFLAGS'
4799
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4800
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4801
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4803
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4806
save_CXXFLAGS="$CXXFLAGS"
4807
CXXFLAGS="$CXXFLAGS -Wundef"
4808
cat >conftest.$ac_ext <<_ACEOF
4811
cat confdefs.h >>conftest.$ac_ext
4812
cat >>conftest.$ac_ext <<_ACEOF
4813
/* end confdefs.h. */
4823
rm -f conftest.$ac_objext conftest$ac_exeext
4824
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4825
(eval $ac_link) 2>conftest.er1
4827
grep -v '^ *+' conftest.er1 >conftest.err
4829
cat conftest.err >&5
4830
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4831
(exit $ac_status); } &&
4832
{ ac_try='test -z "$ac_cxx_werror_flag"
4833
|| test ! -s conftest.err'
4834
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4837
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4838
(exit $ac_status); }; } &&
4839
{ ac_try='test -s conftest$ac_exeext'
4840
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4843
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4844
(exit $ac_status); }; }; then
4845
eval "kde_cv_prog_cxx_$kde_cache=yes"
4847
echo "$as_me: failed program was:" >&5
4848
sed 's/^/| /' conftest.$ac_ext >&5
4851
rm -f conftest.err conftest.$ac_objext \
4852
conftest$ac_exeext conftest.$ac_ext
4853
CXXFLAGS="$save_CXXFLAGS"
4855
ac_cpp='$CPP $CPPFLAGS'
4856
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4857
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4858
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4863
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
4864
echo "$as_me:$LINENO: result: yes" >&5
4865
echo "${ECHO_T}yes" >&6
4867
CXXFLAGS="-Wundef $CXXFLAGS"
4869
echo "$as_me:$LINENO: result: no" >&5
4870
echo "${ECHO_T}no" >&6
4876
echo "$as_me:$LINENO: checking whether $CXX supports -Wno-long-long" >&5
4877
echo $ECHO_N "checking whether $CXX supports -Wno-long-long... $ECHO_C" >&6
4878
kde_cache=`echo Wno-long-long | sed 'y% .=/+-,%____p__%'`
4879
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
4880
echo $ECHO_N "(cached) $ECHO_C" >&6
4886
ac_cpp='$CXXCPP $CPPFLAGS'
4887
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4888
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4889
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4891
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4894
save_CXXFLAGS="$CXXFLAGS"
4895
CXXFLAGS="$CXXFLAGS -Wno-long-long"
4896
cat >conftest.$ac_ext <<_ACEOF
4899
cat confdefs.h >>conftest.$ac_ext
4900
cat >>conftest.$ac_ext <<_ACEOF
4901
/* end confdefs.h. */
4911
rm -f conftest.$ac_objext conftest$ac_exeext
4912
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4913
(eval $ac_link) 2>conftest.er1
4915
grep -v '^ *+' conftest.er1 >conftest.err
4917
cat conftest.err >&5
4918
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4919
(exit $ac_status); } &&
4920
{ ac_try='test -z "$ac_cxx_werror_flag"
4921
|| test ! -s conftest.err'
4922
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4925
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4926
(exit $ac_status); }; } &&
4927
{ ac_try='test -s conftest$ac_exeext'
4928
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4931
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4932
(exit $ac_status); }; }; then
4933
eval "kde_cv_prog_cxx_$kde_cache=yes"
4935
echo "$as_me: failed program was:" >&5
4936
sed 's/^/| /' conftest.$ac_ext >&5
4939
rm -f conftest.err conftest.$ac_objext \
4940
conftest$ac_exeext conftest.$ac_ext
4941
CXXFLAGS="$save_CXXFLAGS"
4943
ac_cpp='$CPP $CPPFLAGS'
4944
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4945
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4946
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4951
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
4952
echo "$as_me:$LINENO: result: yes" >&5
4953
echo "${ECHO_T}yes" >&6
4955
CXXFLAGS="-Wno-long-long $CXXFLAGS"
4957
echo "$as_me:$LINENO: result: no" >&5
4958
echo "${ECHO_T}no" >&6
4964
echo "$as_me:$LINENO: checking whether $CXX supports -Wnon-virtual-dtor" >&5
4965
echo $ECHO_N "checking whether $CXX supports -Wnon-virtual-dtor... $ECHO_C" >&6
4966
kde_cache=`echo Wnon-virtual-dtor | sed 'y% .=/+-,%____p__%'`
4967
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
4968
echo $ECHO_N "(cached) $ECHO_C" >&6
4974
ac_cpp='$CXXCPP $CPPFLAGS'
4975
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4976
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4977
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4979
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4982
save_CXXFLAGS="$CXXFLAGS"
4983
CXXFLAGS="$CXXFLAGS -Wnon-virtual-dtor"
4984
cat >conftest.$ac_ext <<_ACEOF
4987
cat confdefs.h >>conftest.$ac_ext
4988
cat >>conftest.$ac_ext <<_ACEOF
4989
/* end confdefs.h. */
4999
rm -f conftest.$ac_objext conftest$ac_exeext
5000
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5001
(eval $ac_link) 2>conftest.er1
5003
grep -v '^ *+' conftest.er1 >conftest.err
5005
cat conftest.err >&5
5006
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5007
(exit $ac_status); } &&
5008
{ ac_try='test -z "$ac_cxx_werror_flag"
5009
|| test ! -s conftest.err'
5010
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5013
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5014
(exit $ac_status); }; } &&
5015
{ ac_try='test -s conftest$ac_exeext'
5016
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5019
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5020
(exit $ac_status); }; }; then
5021
eval "kde_cv_prog_cxx_$kde_cache=yes"
5023
echo "$as_me: failed program was:" >&5
5024
sed 's/^/| /' conftest.$ac_ext >&5
5027
rm -f conftest.err conftest.$ac_objext \
5028
conftest$ac_exeext conftest.$ac_ext
5029
CXXFLAGS="$save_CXXFLAGS"
5031
ac_cpp='$CPP $CPPFLAGS'
5032
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5033
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5034
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5039
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5040
echo "$as_me:$LINENO: result: yes" >&5
5041
echo "${ECHO_T}yes" >&6
5043
CXXFLAGS="-Wnon-virtual-dtor $CXXFLAGS"
5045
echo "$as_me:$LINENO: result: no" >&5
5046
echo "${ECHO_T}no" >&6
5054
if test "$GXX" = "yes" && test "$kde_use_strict_options" = "yes"; then
5055
CXXFLAGS="-Wcast-qual -Wshadow -Wcast-align $CXXFLAGS"
5058
# Check whether --enable-pch or --disable-pch was given.
5059
if test "${enable_pch+set}" = set; then
5060
enableval="$enable_pch"
5061
kde_use_pch=$enableval
5066
HAVE_GCC_VISIBILITY=0
5069
if test "$GXX" = "yes"; then
5071
echo "$as_me:$LINENO: checking whether $CXX supports -fno-exceptions" >&5
5072
echo $ECHO_N "checking whether $CXX supports -fno-exceptions... $ECHO_C" >&6
5073
kde_cache=`echo fno-exceptions | sed 'y% .=/+-,%____p__%'`
5074
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
5075
echo $ECHO_N "(cached) $ECHO_C" >&6
5081
ac_cpp='$CXXCPP $CPPFLAGS'
5082
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5083
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5084
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5086
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5089
save_CXXFLAGS="$CXXFLAGS"
5090
CXXFLAGS="$CXXFLAGS -fno-exceptions"
5091
cat >conftest.$ac_ext <<_ACEOF
5094
cat confdefs.h >>conftest.$ac_ext
5095
cat >>conftest.$ac_ext <<_ACEOF
5096
/* end confdefs.h. */
5106
rm -f conftest.$ac_objext conftest$ac_exeext
5107
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5108
(eval $ac_link) 2>conftest.er1
5110
grep -v '^ *+' conftest.er1 >conftest.err
5112
cat conftest.err >&5
5113
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5114
(exit $ac_status); } &&
5115
{ ac_try='test -z "$ac_cxx_werror_flag"
5116
|| test ! -s conftest.err'
5117
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5120
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5121
(exit $ac_status); }; } &&
5122
{ ac_try='test -s conftest$ac_exeext'
5123
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5126
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5127
(exit $ac_status); }; }; then
5128
eval "kde_cv_prog_cxx_$kde_cache=yes"
5130
echo "$as_me: failed program was:" >&5
5131
sed 's/^/| /' conftest.$ac_ext >&5
5134
rm -f conftest.err conftest.$ac_objext \
5135
conftest$ac_exeext conftest.$ac_ext
5136
CXXFLAGS="$save_CXXFLAGS"
5138
ac_cpp='$CPP $CPPFLAGS'
5139
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5140
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5141
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5146
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5147
echo "$as_me:$LINENO: result: yes" >&5
5148
echo "${ECHO_T}yes" >&6
5150
CXXFLAGS="$CXXFLAGS -fno-exceptions"
5152
echo "$as_me:$LINENO: result: no" >&5
5153
echo "${ECHO_T}no" >&6
5159
echo "$as_me:$LINENO: checking whether $CXX supports -fno-check-new" >&5
5160
echo $ECHO_N "checking whether $CXX supports -fno-check-new... $ECHO_C" >&6
5161
kde_cache=`echo fno-check-new | sed 'y% .=/+-,%____p__%'`
5162
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
5163
echo $ECHO_N "(cached) $ECHO_C" >&6
5169
ac_cpp='$CXXCPP $CPPFLAGS'
5170
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5171
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5172
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5174
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5177
save_CXXFLAGS="$CXXFLAGS"
5178
CXXFLAGS="$CXXFLAGS -fno-check-new"
5179
cat >conftest.$ac_ext <<_ACEOF
5182
cat confdefs.h >>conftest.$ac_ext
5183
cat >>conftest.$ac_ext <<_ACEOF
5184
/* end confdefs.h. */
5194
rm -f conftest.$ac_objext conftest$ac_exeext
5195
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5196
(eval $ac_link) 2>conftest.er1
5198
grep -v '^ *+' conftest.er1 >conftest.err
5200
cat conftest.err >&5
5201
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5202
(exit $ac_status); } &&
5203
{ ac_try='test -z "$ac_cxx_werror_flag"
5204
|| test ! -s conftest.err'
5205
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5208
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5209
(exit $ac_status); }; } &&
5210
{ ac_try='test -s conftest$ac_exeext'
5211
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5214
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5215
(exit $ac_status); }; }; then
5216
eval "kde_cv_prog_cxx_$kde_cache=yes"
5218
echo "$as_me: failed program was:" >&5
5219
sed 's/^/| /' conftest.$ac_ext >&5
5222
rm -f conftest.err conftest.$ac_objext \
5223
conftest$ac_exeext conftest.$ac_ext
5224
CXXFLAGS="$save_CXXFLAGS"
5226
ac_cpp='$CPP $CPPFLAGS'
5227
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5228
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5229
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5234
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5235
echo "$as_me:$LINENO: result: yes" >&5
5236
echo "${ECHO_T}yes" >&6
5238
CXXFLAGS="$CXXFLAGS -fno-check-new"
5240
echo "$as_me:$LINENO: result: no" >&5
5241
echo "${ECHO_T}no" >&6
5247
echo "$as_me:$LINENO: checking whether $CXX supports -fno-common" >&5
5248
echo $ECHO_N "checking whether $CXX supports -fno-common... $ECHO_C" >&6
5249
kde_cache=`echo fno-common | sed 'y% .=/+-,%____p__%'`
5250
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
5251
echo $ECHO_N "(cached) $ECHO_C" >&6
5257
ac_cpp='$CXXCPP $CPPFLAGS'
5258
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5259
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5260
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5262
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5265
save_CXXFLAGS="$CXXFLAGS"
5266
CXXFLAGS="$CXXFLAGS -fno-common"
5267
cat >conftest.$ac_ext <<_ACEOF
5270
cat confdefs.h >>conftest.$ac_ext
5271
cat >>conftest.$ac_ext <<_ACEOF
5272
/* end confdefs.h. */
5282
rm -f conftest.$ac_objext conftest$ac_exeext
5283
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5284
(eval $ac_link) 2>conftest.er1
5286
grep -v '^ *+' conftest.er1 >conftest.err
5288
cat conftest.err >&5
5289
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5290
(exit $ac_status); } &&
5291
{ ac_try='test -z "$ac_cxx_werror_flag"
5292
|| test ! -s conftest.err'
5293
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5296
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5297
(exit $ac_status); }; } &&
5298
{ ac_try='test -s conftest$ac_exeext'
5299
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5302
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5303
(exit $ac_status); }; }; then
5304
eval "kde_cv_prog_cxx_$kde_cache=yes"
5306
echo "$as_me: failed program was:" >&5
5307
sed 's/^/| /' conftest.$ac_ext >&5
5310
rm -f conftest.err conftest.$ac_objext \
5311
conftest$ac_exeext conftest.$ac_ext
5312
CXXFLAGS="$save_CXXFLAGS"
5314
ac_cpp='$CPP $CPPFLAGS'
5315
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5316
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5317
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5322
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5323
echo "$as_me:$LINENO: result: yes" >&5
5324
echo "${ECHO_T}yes" >&6
5326
CXXFLAGS="$CXXFLAGS -fno-common"
5328
echo "$as_me:$LINENO: result: no" >&5
5329
echo "${ECHO_T}no" >&6
5335
echo "$as_me:$LINENO: checking whether $CXX supports -fexceptions" >&5
5336
echo $ECHO_N "checking whether $CXX supports -fexceptions... $ECHO_C" >&6
5337
kde_cache=`echo fexceptions | sed 'y% .=/+-,%____p__%'`
5338
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
5339
echo $ECHO_N "(cached) $ECHO_C" >&6
5345
ac_cpp='$CXXCPP $CPPFLAGS'
5346
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5347
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5348
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5350
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5353
save_CXXFLAGS="$CXXFLAGS"
5354
CXXFLAGS="$CXXFLAGS -fexceptions"
5355
cat >conftest.$ac_ext <<_ACEOF
5358
cat confdefs.h >>conftest.$ac_ext
5359
cat >>conftest.$ac_ext <<_ACEOF
5360
/* end confdefs.h. */
5370
rm -f conftest.$ac_objext conftest$ac_exeext
5371
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5372
(eval $ac_link) 2>conftest.er1
5374
grep -v '^ *+' conftest.er1 >conftest.err
5376
cat conftest.err >&5
5377
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5378
(exit $ac_status); } &&
5379
{ ac_try='test -z "$ac_cxx_werror_flag"
5380
|| test ! -s conftest.err'
5381
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5384
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5385
(exit $ac_status); }; } &&
5386
{ ac_try='test -s conftest$ac_exeext'
5387
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5390
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5391
(exit $ac_status); }; }; then
5392
eval "kde_cv_prog_cxx_$kde_cache=yes"
5394
echo "$as_me: failed program was:" >&5
5395
sed 's/^/| /' conftest.$ac_ext >&5
5398
rm -f conftest.err conftest.$ac_objext \
5399
conftest$ac_exeext conftest.$ac_ext
5400
CXXFLAGS="$save_CXXFLAGS"
5402
ac_cpp='$CPP $CPPFLAGS'
5403
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5404
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5405
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5410
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5411
echo "$as_me:$LINENO: result: yes" >&5
5412
echo "${ECHO_T}yes" >&6
5414
USE_EXCEPTIONS="-fexceptions"
5416
echo "$as_me:$LINENO: result: no" >&5
5417
echo "${ECHO_T}no" >&6
5422
ENABLE_PERMISSIVE_FLAG="-fpermissive"
5424
if test "$kde_use_pch" = "yes"; then
5425
echo "$as_me:$LINENO: checking whether gcc supports precompiling c header files" >&5
5426
echo $ECHO_N "checking whether gcc supports precompiling c header files... $ECHO_C" >&6
5428
if $CC -x c-header conftest.h >/dev/null 2>/dev/null; then
5429
kde_gcc_supports_pch=yes
5430
echo "$as_me:$LINENO: result: yes" >&5
5431
echo "${ECHO_T}yes" >&6
5433
kde_gcc_supports_pch=no
5434
echo "$as_me:$LINENO: result: no" >&5
5435
echo "${ECHO_T}no" >&6
5437
if test "$kde_gcc_supports_pch" = "yes"; then
5438
echo "$as_me:$LINENO: checking whether gcc supports precompiling c++ header files" >&5
5439
echo $ECHO_N "checking whether gcc supports precompiling c++ header files... $ECHO_C" >&6
5440
if $CXX -x c++-header conftest.h >/dev/null 2>/dev/null; then
5441
kde_gcc_supports_pch=yes
5442
echo "$as_me:$LINENO: result: yes" >&5
5443
echo "${ECHO_T}yes" >&6
5445
kde_gcc_supports_pch=no
5446
echo "$as_me:$LINENO: result: no" >&5
5447
echo "${ECHO_T}no" >&6
5450
rm -f conftest.h conftest.h.gch
5455
if test "$kde_use_pch" = "yes" && test "$kde_gcc_supports_pch" = "yes"; then
5456
unsermake_enable_pch_TRUE=
5457
unsermake_enable_pch_FALSE='#'
5459
unsermake_enable_pch_TRUE='#'
5460
unsermake_enable_pch_FALSE=
5463
if test "$CXX" = "KCC"; then
5465
if test "$kde_use_pch" = "yes"; then
5467
echo "$as_me:$LINENO: checking whether $CXX supports --pch" >&5
5468
echo $ECHO_N "checking whether $CXX supports --pch... $ECHO_C" >&6
5469
kde_cache=`echo -pch | sed 'y% .=/+-,%____p__%'`
5470
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
5471
echo $ECHO_N "(cached) $ECHO_C" >&6
5477
ac_cpp='$CXXCPP $CPPFLAGS'
5478
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5479
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5480
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5482
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5485
save_CXXFLAGS="$CXXFLAGS"
5486
CXXFLAGS="$CXXFLAGS --pch"
5487
cat >conftest.$ac_ext <<_ACEOF
5490
cat confdefs.h >>conftest.$ac_ext
5491
cat >>conftest.$ac_ext <<_ACEOF
5492
/* end confdefs.h. */
5502
rm -f conftest.$ac_objext conftest$ac_exeext
5503
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5504
(eval $ac_link) 2>conftest.er1
5506
grep -v '^ *+' conftest.er1 >conftest.err
5508
cat conftest.err >&5
5509
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5510
(exit $ac_status); } &&
5511
{ ac_try='test -z "$ac_cxx_werror_flag"
5512
|| test ! -s conftest.err'
5513
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5516
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5517
(exit $ac_status); }; } &&
5518
{ ac_try='test -s conftest$ac_exeext'
5519
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5522
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5523
(exit $ac_status); }; }; then
5524
eval "kde_cv_prog_cxx_$kde_cache=yes"
5526
echo "$as_me: failed program was:" >&5
5527
sed 's/^/| /' conftest.$ac_ext >&5
5530
rm -f conftest.err conftest.$ac_objext \
5531
conftest$ac_exeext conftest.$ac_ext
5532
CXXFLAGS="$save_CXXFLAGS"
5534
ac_cpp='$CPP $CPPFLAGS'
5535
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5536
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5537
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5542
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5543
echo "$as_me:$LINENO: result: yes" >&5
5544
echo "${ECHO_T}yes" >&6
5546
CXXFLAGS="$CXXFLAGS --pch"
5548
echo "$as_me:$LINENO: result: no" >&5
5549
echo "${ECHO_T}no" >&6
5556
echo "$as_me:$LINENO: checking whether $CXX supports --inline_keyword_space_time=6" >&5
5557
echo $ECHO_N "checking whether $CXX supports --inline_keyword_space_time=6... $ECHO_C" >&6
5558
kde_cache=`echo -inline_keyword_space_time=6 | sed 'y% .=/+-,%____p__%'`
5559
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
5560
echo $ECHO_N "(cached) $ECHO_C" >&6
5566
ac_cpp='$CXXCPP $CPPFLAGS'
5567
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5568
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5569
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5571
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5574
save_CXXFLAGS="$CXXFLAGS"
5575
CXXFLAGS="$CXXFLAGS --inline_keyword_space_time=6"
5576
cat >conftest.$ac_ext <<_ACEOF
5579
cat confdefs.h >>conftest.$ac_ext
5580
cat >>conftest.$ac_ext <<_ACEOF
5581
/* end confdefs.h. */
5591
rm -f conftest.$ac_objext conftest$ac_exeext
5592
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5593
(eval $ac_link) 2>conftest.er1
5595
grep -v '^ *+' conftest.er1 >conftest.err
5597
cat conftest.err >&5
5598
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5599
(exit $ac_status); } &&
5600
{ ac_try='test -z "$ac_cxx_werror_flag"
5601
|| test ! -s conftest.err'
5602
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5605
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5606
(exit $ac_status); }; } &&
5607
{ ac_try='test -s conftest$ac_exeext'
5608
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5611
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5612
(exit $ac_status); }; }; then
5613
eval "kde_cv_prog_cxx_$kde_cache=yes"
5615
echo "$as_me: failed program was:" >&5
5616
sed 's/^/| /' conftest.$ac_ext >&5
5619
rm -f conftest.err conftest.$ac_objext \
5620
conftest$ac_exeext conftest.$ac_ext
5621
CXXFLAGS="$save_CXXFLAGS"
5623
ac_cpp='$CPP $CPPFLAGS'
5624
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5625
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5626
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5631
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5632
echo "$as_me:$LINENO: result: yes" >&5
5633
echo "${ECHO_T}yes" >&6
5635
CXXFLAGS="$CXXFLAGS --inline_keyword_space_time=6"
5637
echo "$as_me:$LINENO: result: no" >&5
5638
echo "${ECHO_T}no" >&6
5644
echo "$as_me:$LINENO: checking whether $CXX supports --inline_auto_space_time=2" >&5
5645
echo $ECHO_N "checking whether $CXX supports --inline_auto_space_time=2... $ECHO_C" >&6
5646
kde_cache=`echo -inline_auto_space_time=2 | sed 'y% .=/+-,%____p__%'`
5647
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
5648
echo $ECHO_N "(cached) $ECHO_C" >&6
5654
ac_cpp='$CXXCPP $CPPFLAGS'
5655
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5656
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5657
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5659
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5662
save_CXXFLAGS="$CXXFLAGS"
5663
CXXFLAGS="$CXXFLAGS --inline_auto_space_time=2"
5664
cat >conftest.$ac_ext <<_ACEOF
5667
cat confdefs.h >>conftest.$ac_ext
5668
cat >>conftest.$ac_ext <<_ACEOF
5669
/* end confdefs.h. */
5679
rm -f conftest.$ac_objext conftest$ac_exeext
5680
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5681
(eval $ac_link) 2>conftest.er1
5683
grep -v '^ *+' conftest.er1 >conftest.err
5685
cat conftest.err >&5
5686
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5687
(exit $ac_status); } &&
5688
{ ac_try='test -z "$ac_cxx_werror_flag"
5689
|| test ! -s conftest.err'
5690
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5693
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5694
(exit $ac_status); }; } &&
5695
{ ac_try='test -s conftest$ac_exeext'
5696
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5699
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5700
(exit $ac_status); }; }; then
5701
eval "kde_cv_prog_cxx_$kde_cache=yes"
5703
echo "$as_me: failed program was:" >&5
5704
sed 's/^/| /' conftest.$ac_ext >&5
5707
rm -f conftest.err conftest.$ac_objext \
5708
conftest$ac_exeext conftest.$ac_ext
5709
CXXFLAGS="$save_CXXFLAGS"
5711
ac_cpp='$CPP $CPPFLAGS'
5712
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5713
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5714
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5719
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5720
echo "$as_me:$LINENO: result: yes" >&5
5721
echo "${ECHO_T}yes" >&6
5723
CXXFLAGS="$CXXFLAGS --inline_auto_space_time=2"
5725
echo "$as_me:$LINENO: result: no" >&5
5726
echo "${ECHO_T}no" >&6
5732
echo "$as_me:$LINENO: checking whether $CXX supports --inline_implicit_space_time=2.0" >&5
5733
echo $ECHO_N "checking whether $CXX supports --inline_implicit_space_time=2.0... $ECHO_C" >&6
5734
kde_cache=`echo -inline_implicit_space_time=2.0 | sed 'y% .=/+-,%____p__%'`
5735
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
5736
echo $ECHO_N "(cached) $ECHO_C" >&6
5742
ac_cpp='$CXXCPP $CPPFLAGS'
5743
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5744
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5745
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5747
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5750
save_CXXFLAGS="$CXXFLAGS"
5751
CXXFLAGS="$CXXFLAGS --inline_implicit_space_time=2.0"
5752
cat >conftest.$ac_ext <<_ACEOF
5755
cat confdefs.h >>conftest.$ac_ext
5756
cat >>conftest.$ac_ext <<_ACEOF
5757
/* end confdefs.h. */
5767
rm -f conftest.$ac_objext conftest$ac_exeext
5768
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5769
(eval $ac_link) 2>conftest.er1
5771
grep -v '^ *+' conftest.er1 >conftest.err
5773
cat conftest.err >&5
5774
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5775
(exit $ac_status); } &&
5776
{ ac_try='test -z "$ac_cxx_werror_flag"
5777
|| test ! -s conftest.err'
5778
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5781
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5782
(exit $ac_status); }; } &&
5783
{ ac_try='test -s conftest$ac_exeext'
5784
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5787
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5788
(exit $ac_status); }; }; then
5789
eval "kde_cv_prog_cxx_$kde_cache=yes"
5791
echo "$as_me: failed program was:" >&5
5792
sed 's/^/| /' conftest.$ac_ext >&5
5795
rm -f conftest.err conftest.$ac_objext \
5796
conftest$ac_exeext conftest.$ac_ext
5797
CXXFLAGS="$save_CXXFLAGS"
5799
ac_cpp='$CPP $CPPFLAGS'
5800
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5801
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5802
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5807
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5808
echo "$as_me:$LINENO: result: yes" >&5
5809
echo "${ECHO_T}yes" >&6
5811
CXXFLAGS="$CXXFLAGS --inline_implicit_space_time=2.0"
5813
echo "$as_me:$LINENO: result: no" >&5
5814
echo "${ECHO_T}no" >&6
5820
echo "$as_me:$LINENO: checking whether $CXX supports --inline_generated_space_time=2.0" >&5
5821
echo $ECHO_N "checking whether $CXX supports --inline_generated_space_time=2.0... $ECHO_C" >&6
5822
kde_cache=`echo -inline_generated_space_time=2.0 | sed 'y% .=/+-,%____p__%'`
5823
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
5824
echo $ECHO_N "(cached) $ECHO_C" >&6
5830
ac_cpp='$CXXCPP $CPPFLAGS'
5831
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5832
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5833
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5835
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5838
save_CXXFLAGS="$CXXFLAGS"
5839
CXXFLAGS="$CXXFLAGS --inline_generated_space_time=2.0"
5840
cat >conftest.$ac_ext <<_ACEOF
5843
cat confdefs.h >>conftest.$ac_ext
5844
cat >>conftest.$ac_ext <<_ACEOF
5845
/* end confdefs.h. */
5855
rm -f conftest.$ac_objext conftest$ac_exeext
5856
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5857
(eval $ac_link) 2>conftest.er1
5859
grep -v '^ *+' conftest.er1 >conftest.err
5861
cat conftest.err >&5
5862
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5863
(exit $ac_status); } &&
5864
{ ac_try='test -z "$ac_cxx_werror_flag"
5865
|| test ! -s conftest.err'
5866
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5869
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5870
(exit $ac_status); }; } &&
5871
{ ac_try='test -s conftest$ac_exeext'
5872
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5875
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5876
(exit $ac_status); }; }; then
5877
eval "kde_cv_prog_cxx_$kde_cache=yes"
5879
echo "$as_me: failed program was:" >&5
5880
sed 's/^/| /' conftest.$ac_ext >&5
5883
rm -f conftest.err conftest.$ac_objext \
5884
conftest$ac_exeext conftest.$ac_ext
5885
CXXFLAGS="$save_CXXFLAGS"
5887
ac_cpp='$CPP $CPPFLAGS'
5888
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5889
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5890
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5895
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5896
echo "$as_me:$LINENO: result: yes" >&5
5897
echo "${ECHO_T}yes" >&6
5899
CXXFLAGS="$CXXFLAGS --inline_generated_space_time=2.0"
5901
echo "$as_me:$LINENO: result: no" >&5
5902
echo "${ECHO_T}no" >&6
5908
echo "$as_me:$LINENO: checking whether $CXX supports --one_per" >&5
5909
echo $ECHO_N "checking whether $CXX supports --one_per... $ECHO_C" >&6
5910
kde_cache=`echo -one_per | sed 'y% .=/+-,%____p__%'`
5911
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
5912
echo $ECHO_N "(cached) $ECHO_C" >&6
5918
ac_cpp='$CXXCPP $CPPFLAGS'
5919
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5920
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5921
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5923
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5926
save_CXXFLAGS="$CXXFLAGS"
5927
CXXFLAGS="$CXXFLAGS --one_per"
5928
cat >conftest.$ac_ext <<_ACEOF
5931
cat confdefs.h >>conftest.$ac_ext
5932
cat >>conftest.$ac_ext <<_ACEOF
5933
/* end confdefs.h. */
5943
rm -f conftest.$ac_objext conftest$ac_exeext
5944
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5945
(eval $ac_link) 2>conftest.er1
5947
grep -v '^ *+' conftest.er1 >conftest.err
5949
cat conftest.err >&5
5950
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5951
(exit $ac_status); } &&
5952
{ ac_try='test -z "$ac_cxx_werror_flag"
5953
|| test ! -s conftest.err'
5954
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5957
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5958
(exit $ac_status); }; } &&
5959
{ ac_try='test -s conftest$ac_exeext'
5960
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5963
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5964
(exit $ac_status); }; }; then
5965
eval "kde_cv_prog_cxx_$kde_cache=yes"
5967
echo "$as_me: failed program was:" >&5
5968
sed 's/^/| /' conftest.$ac_ext >&5
5971
rm -f conftest.err conftest.$ac_objext \
5972
conftest$ac_exeext conftest.$ac_ext
5973
CXXFLAGS="$save_CXXFLAGS"
5975
ac_cpp='$CPP $CPPFLAGS'
5976
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5977
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5978
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5983
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5984
echo "$as_me:$LINENO: result: yes" >&5
5985
echo "${ECHO_T}yes" >&6
5987
CXXFLAGS="$CXXFLAGS --one_per"
5989
echo "$as_me:$LINENO: result: no" >&5
5990
echo "${ECHO_T}no" >&6
6001
*-*-irix*) test "$GXX" = yes && CXXFLAGS="-D_LANGUAGE_C_PLUS_PLUS -D__LANGUAGE_C_PLUS_PLUS $CXXFLAGS" ;;
6002
*-*-sysv4.2uw*) CXXFLAGS="-D_UNIXWARE $CXXFLAGS";;
6003
*-*-sysv5uw7*) CXXFLAGS="-D_UNIXWARE7 $CXXFLAGS";;
6005
if test "$GXX" = yes; then
6006
libstdcpp=`$CXX -print-file-name=libstdc++.so`
6007
if test ! -f $libstdcpp; then
6008
{ { 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
6009
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;}
6010
{ (exit 1); exit 1; }; }
6016
if test "x$kde_use_qt_emb" != "xyes"; then
6018
__forbid=" -fno-rtti -rpath "
6019
if test -n "$__val"; then
6025
*" $i "*) { echo "$as_me:$LINENO: WARNING: found forbidden $i in CXX, removing it" >&5
6026
echo "$as_me: WARNING: found forbidden $i in CXX, removing it" >&2;} ;;
6027
*) # Careful to not add spaces, where there were none, because otherwise
6028
# libtool gets confused, if we change e.g. CXX
6029
if test -z "$__new" ; then __new=$i ; else __new="$__new $i" ; fi ;;
6037
__forbid=" -fno-rtti -rpath "
6038
if test -n "$__val"; then
6044
*" $i "*) { echo "$as_me:$LINENO: WARNING: found forbidden $i in CXXFLAGS, removing it" >&5
6045
echo "$as_me: WARNING: found forbidden $i in CXXFLAGS, removing it" >&2;} ;;
6046
*) # Careful to not add spaces, where there were none, because otherwise
6047
# libtool gets confused, if we change e.g. CXX
6048
if test -z "$__new" ; then __new=$i ; else __new="$__new $i" ; fi ;;
6058
if test -n "$__val"; then
6064
*" $i "*) { echo "$as_me:$LINENO: WARNING: found forbidden $i in CXX, removing it" >&5
6065
echo "$as_me: WARNING: found forbidden $i in CXX, removing it" >&2;} ;;
6066
*) # Careful to not add spaces, where there were none, because otherwise
6067
# libtool gets confused, if we change e.g. CXX
6068
if test -z "$__new" ; then __new=$i ; else __new="$__new $i" ; fi ;;
6077
if test -n "$__val"; then
6083
*" $i "*) { echo "$as_me:$LINENO: WARNING: found forbidden $i in CXXFLAGS, removing it" >&5
6084
echo "$as_me: WARNING: found forbidden $i in CXXFLAGS, removing it" >&2;} ;;
6085
*) # Careful to not add spaces, where there were none, because otherwise
6086
# libtool gets confused, if we change e.g. CXX
6087
if test -z "$__new" ; then __new=$i ; else __new="$__new $i" ; fi ;;
6098
ac_cpp='$CXXCPP $CPPFLAGS'
6099
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6100
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6101
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6102
echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6103
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
6104
if test -z "$CXXCPP"; then
6105
if test "${ac_cv_prog_CXXCPP+set}" = set; then
6106
echo $ECHO_N "(cached) $ECHO_C" >&6
6108
# Double quotes because CXXCPP needs to be expanded
6109
for CXXCPP in "$CXX -E" "/lib/cpp"
6112
for ac_cxx_preproc_warn_flag in '' yes
6114
# Use a header file that comes with gcc, so configuring glibc
6115
# with a fresh cross-compiler works.
6116
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6117
# <limits.h> exists even on freestanding compilers.
6118
# On the NeXT, cc -E runs the code through the compiler's parser,
6119
# not just through cpp. "Syntax error" is here to catch this case.
6120
cat >conftest.$ac_ext <<_ACEOF
6123
cat confdefs.h >>conftest.$ac_ext
6124
cat >>conftest.$ac_ext <<_ACEOF
6125
/* end confdefs.h. */
6127
# include <limits.h>
6129
# include <assert.h>
6133
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6134
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6136
grep -v '^ *+' conftest.er1 >conftest.err
6138
cat conftest.err >&5
6139
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6140
(exit $ac_status); } >/dev/null; then
6141
if test -s conftest.err; then
6142
ac_cpp_err=$ac_cxx_preproc_warn_flag
6143
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6150
if test -z "$ac_cpp_err"; then
6153
echo "$as_me: failed program was:" >&5
6154
sed 's/^/| /' conftest.$ac_ext >&5
6156
# Broken: fails on valid input.
6159
rm -f conftest.err conftest.$ac_ext
6161
# OK, works on sane cases. Now check whether non-existent headers
6162
# can be detected and how.
6163
cat >conftest.$ac_ext <<_ACEOF
6166
cat confdefs.h >>conftest.$ac_ext
6167
cat >>conftest.$ac_ext <<_ACEOF
6168
/* end confdefs.h. */
6169
#include <ac_nonexistent.h>
6171
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6172
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6174
grep -v '^ *+' conftest.er1 >conftest.err
6176
cat conftest.err >&5
6177
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6178
(exit $ac_status); } >/dev/null; then
6179
if test -s conftest.err; then
6180
ac_cpp_err=$ac_cxx_preproc_warn_flag
6181
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6188
if test -z "$ac_cpp_err"; then
6189
# Broken: success on invalid input.
6192
echo "$as_me: failed program was:" >&5
6193
sed 's/^/| /' conftest.$ac_ext >&5
6195
# Passes both tests.
6199
rm -f conftest.err conftest.$ac_ext
6202
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6203
rm -f conftest.err conftest.$ac_ext
6204
if $ac_preproc_ok; then
6209
ac_cv_prog_CXXCPP=$CXXCPP
6212
CXXCPP=$ac_cv_prog_CXXCPP
6214
ac_cv_prog_CXXCPP=$CXXCPP
6216
echo "$as_me:$LINENO: result: $CXXCPP" >&5
6217
echo "${ECHO_T}$CXXCPP" >&6
6219
for ac_cxx_preproc_warn_flag in '' yes
6221
# Use a header file that comes with gcc, so configuring glibc
6222
# with a fresh cross-compiler works.
6223
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6224
# <limits.h> exists even on freestanding compilers.
6225
# On the NeXT, cc -E runs the code through the compiler's parser,
6226
# not just through cpp. "Syntax error" is here to catch this case.
6227
cat >conftest.$ac_ext <<_ACEOF
6230
cat confdefs.h >>conftest.$ac_ext
6231
cat >>conftest.$ac_ext <<_ACEOF
6232
/* end confdefs.h. */
6234
# include <limits.h>
6236
# include <assert.h>
6240
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6241
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6243
grep -v '^ *+' conftest.er1 >conftest.err
6245
cat conftest.err >&5
6246
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6247
(exit $ac_status); } >/dev/null; then
6248
if test -s conftest.err; then
6249
ac_cpp_err=$ac_cxx_preproc_warn_flag
6250
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6257
if test -z "$ac_cpp_err"; then
6260
echo "$as_me: failed program was:" >&5
6261
sed 's/^/| /' conftest.$ac_ext >&5
6263
# Broken: fails on valid input.
6266
rm -f conftest.err conftest.$ac_ext
6268
# OK, works on sane cases. Now check whether non-existent headers
6269
# can be detected and how.
6270
cat >conftest.$ac_ext <<_ACEOF
6273
cat confdefs.h >>conftest.$ac_ext
6274
cat >>conftest.$ac_ext <<_ACEOF
6275
/* end confdefs.h. */
6276
#include <ac_nonexistent.h>
6278
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6279
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6281
grep -v '^ *+' conftest.er1 >conftest.err
6283
cat conftest.err >&5
6284
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6285
(exit $ac_status); } >/dev/null; then
6286
if test -s conftest.err; then
6287
ac_cpp_err=$ac_cxx_preproc_warn_flag
6288
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6295
if test -z "$ac_cpp_err"; then
6296
# Broken: success on invalid input.
6299
echo "$as_me: failed program was:" >&5
6300
sed 's/^/| /' conftest.$ac_ext >&5
6302
# Passes both tests.
6306
rm -f conftest.err conftest.$ac_ext
6309
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6310
rm -f conftest.err conftest.$ac_ext
6311
if $ac_preproc_ok; then
6314
{ { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6315
See \`config.log' for more details." >&5
6316
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6317
See \`config.log' for more details." >&2;}
6318
{ (exit 1); exit 1; }; }
6322
ac_cpp='$CPP $CPPFLAGS'
6323
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6324
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6325
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6328
if test "$GCC" = yes; then
6332
echo "$as_me:$LINENO: checking whether $CXX supports -O0" >&5
6333
echo $ECHO_N "checking whether $CXX supports -O0... $ECHO_C" >&6
6334
kde_cache=`echo O0 | sed 'y% .=/+-,%____p__%'`
6335
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
6336
echo $ECHO_N "(cached) $ECHO_C" >&6
6342
ac_cpp='$CXXCPP $CPPFLAGS'
6343
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6344
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6345
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6347
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6350
save_CXXFLAGS="$CXXFLAGS"
6351
CXXFLAGS="$CXXFLAGS -O0"
6352
cat >conftest.$ac_ext <<_ACEOF
6355
cat confdefs.h >>conftest.$ac_ext
6356
cat >>conftest.$ac_ext <<_ACEOF
6357
/* end confdefs.h. */
6367
rm -f conftest.$ac_objext conftest$ac_exeext
6368
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6369
(eval $ac_link) 2>conftest.er1
6371
grep -v '^ *+' conftest.er1 >conftest.err
6373
cat conftest.err >&5
6374
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6375
(exit $ac_status); } &&
6376
{ ac_try='test -z "$ac_cxx_werror_flag"
6377
|| test ! -s conftest.err'
6378
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6381
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6382
(exit $ac_status); }; } &&
6383
{ ac_try='test -s conftest$ac_exeext'
6384
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6387
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6388
(exit $ac_status); }; }; then
6389
eval "kde_cv_prog_cxx_$kde_cache=yes"
6391
echo "$as_me: failed program was:" >&5
6392
sed 's/^/| /' conftest.$ac_ext >&5
6395
rm -f conftest.err conftest.$ac_objext \
6396
conftest$ac_exeext conftest.$ac_ext
6397
CXXFLAGS="$save_CXXFLAGS"
6399
ac_cpp='$CPP $CPPFLAGS'
6400
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6401
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6402
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6407
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6408
echo "$as_me:$LINENO: result: yes" >&5
6409
echo "${ECHO_T}yes" >&6
6413
echo "$as_me:$LINENO: result: no" >&5
6414
echo "${ECHO_T}no" >&6
6420
# Check whether --enable-coverage or --disable-coverage was given.
6421
if test "${enable_coverage+set}" = set; then
6422
enableval="$enable_coverage"
6424
if test "$am_cv_CC_dependencies_compiler_type" = "gcc3"; then
6425
ac_coverage_compiler="-fprofile-arcs -ftest-coverage"
6426
ac_coverage_linker="-lgcc"
6427
elif test "$am_cv_CC_dependencies_compiler_type" = "gcc"; then
6428
ac_coverage_compiler="-fprofile-arcs -ftest-coverage"
6429
ac_coverage_linker=""
6431
{ { echo "$as_me:$LINENO: error: coverage with your compiler is not supported" >&5
6432
echo "$as_me: error: coverage with your compiler is not supported" >&2;}
6433
{ (exit 1); exit 1; }; }
6435
CFLAGS="$CFLAGS $ac_coverage_compiler"
6436
CXXFLAGS="$CXXFLAGS $ac_coverage_compiler"
6437
LDFLAGS="$LDFLAGS $ac_coverage_linker"
6446
# Check whether --enable-new_ldflags or --disable-new_ldflags was given.
6447
if test "${enable_new_ldflags+set}" = set; then
6448
enableval="$enable_new_ldflags"
6449
kde_use_new_ldflags=$enableval
6451
kde_use_new_ldflags=no
6454
LDFLAGS_AS_NEEDED=""
6455
LDFLAGS_NEW_DTAGS=""
6456
if test "x$kde_use_new_ldflags" = "xyes"; then
6457
LDFLAGS_NEW_DTAGS=""
6459
echo "$as_me:$LINENO: checking whether $CXX supports -Wl,--enable-new-dtags" >&5
6460
echo $ECHO_N "checking whether $CXX supports -Wl,--enable-new-dtags... $ECHO_C" >&6
6461
kde_cache=`echo Wl,--enable-new-dtags | sed 'y% .=/+-,%____p__%'`
6462
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
6463
echo $ECHO_N "(cached) $ECHO_C" >&6
6469
ac_cpp='$CXXCPP $CPPFLAGS'
6470
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6471
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6472
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6474
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6477
save_CXXFLAGS="$CXXFLAGS"
6478
CXXFLAGS="$CXXFLAGS -Wl,--enable-new-dtags"
6479
cat >conftest.$ac_ext <<_ACEOF
6482
cat confdefs.h >>conftest.$ac_ext
6483
cat >>conftest.$ac_ext <<_ACEOF
6484
/* end confdefs.h. */
6494
rm -f conftest.$ac_objext conftest$ac_exeext
6495
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6496
(eval $ac_link) 2>conftest.er1
6498
grep -v '^ *+' conftest.er1 >conftest.err
6500
cat conftest.err >&5
6501
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6502
(exit $ac_status); } &&
6503
{ ac_try='test -z "$ac_cxx_werror_flag"
6504
|| test ! -s conftest.err'
6505
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6508
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6509
(exit $ac_status); }; } &&
6510
{ ac_try='test -s conftest$ac_exeext'
6511
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6514
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6515
(exit $ac_status); }; }; then
6516
eval "kde_cv_prog_cxx_$kde_cache=yes"
6518
echo "$as_me: failed program was:" >&5
6519
sed 's/^/| /' conftest.$ac_ext >&5
6522
rm -f conftest.err conftest.$ac_objext \
6523
conftest$ac_exeext conftest.$ac_ext
6524
CXXFLAGS="$save_CXXFLAGS"
6526
ac_cpp='$CPP $CPPFLAGS'
6527
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6528
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6529
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6534
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6535
echo "$as_me:$LINENO: result: yes" >&5
6536
echo "${ECHO_T}yes" >&6
6538
LDFLAGS_NEW_DTAGS="-Wl,--enable-new-dtags"
6540
echo "$as_me:$LINENO: result: no" >&5
6541
echo "${ECHO_T}no" >&6
6548
echo "$as_me:$LINENO: checking whether $CXX supports -Wl,--as-needed" >&5
6549
echo $ECHO_N "checking whether $CXX supports -Wl,--as-needed... $ECHO_C" >&6
6550
kde_cache=`echo Wl,--as-needed | sed 'y% .=/+-,%____p__%'`
6551
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
6552
echo $ECHO_N "(cached) $ECHO_C" >&6
6558
ac_cpp='$CXXCPP $CPPFLAGS'
6559
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6560
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6561
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6563
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6566
save_CXXFLAGS="$CXXFLAGS"
6567
CXXFLAGS="$CXXFLAGS -Wl,--as-needed"
6568
cat >conftest.$ac_ext <<_ACEOF
6571
cat confdefs.h >>conftest.$ac_ext
6572
cat >>conftest.$ac_ext <<_ACEOF
6573
/* end confdefs.h. */
6583
rm -f conftest.$ac_objext conftest$ac_exeext
6584
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6585
(eval $ac_link) 2>conftest.er1
6587
grep -v '^ *+' conftest.er1 >conftest.err
6589
cat conftest.err >&5
6590
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6591
(exit $ac_status); } &&
6592
{ ac_try='test -z "$ac_cxx_werror_flag"
6593
|| test ! -s conftest.err'
6594
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6597
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6598
(exit $ac_status); }; } &&
6599
{ ac_try='test -s conftest$ac_exeext'
6600
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6603
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6604
(exit $ac_status); }; }; then
6605
eval "kde_cv_prog_cxx_$kde_cache=yes"
6607
echo "$as_me: failed program was:" >&5
6608
sed 's/^/| /' conftest.$ac_ext >&5
6611
rm -f conftest.err conftest.$ac_objext \
6612
conftest$ac_exeext conftest.$ac_ext
6613
CXXFLAGS="$save_CXXFLAGS"
6615
ac_cpp='$CPP $CPPFLAGS'
6616
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6617
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6618
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6623
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6624
echo "$as_me:$LINENO: result: yes" >&5
6625
echo "${ECHO_T}yes" >&6
6627
LDFLAGS_AS_NEEDED="-Wl,--as-needed"
6629
echo "$as_me:$LINENO: result: no" >&5
6630
echo "${ECHO_T}no" >&6
6640
# Check whether --enable-final or --disable-final was given.
6641
if test "${enable_final+set}" = set; then
6642
enableval="$enable_final"
6643
kde_use_final=$enableval
6648
if test "x$kde_use_final" = "xyes"; then
6649
KDE_USE_FINAL_TRUE=""
6650
KDE_USE_FINAL_FALSE="#"
6652
KDE_USE_FINAL_TRUE="#"
6653
KDE_USE_FINAL_FALSE=""
6659
# Check whether --enable-closure or --disable-closure was given.
6660
if test "${enable_closure+set}" = set; then
6661
enableval="$enable_closure"
6662
kde_use_closure=$enableval
6668
if test "x$kde_use_closure" = "xyes"; then
6669
KDE_USE_CLOSURE_TRUE=""
6670
KDE_USE_CLOSURE_FALSE="#"
6671
# CXXFLAGS="$CXXFLAGS $REPO"
6673
KDE_USE_CLOSURE_TRUE="#"
6674
KDE_USE_CLOSURE_FALSE=""
6679
echo "$as_me:$LINENO: checking whether $CXX supports -Wl,--no-undefined" >&5
6680
echo $ECHO_N "checking whether $CXX supports -Wl,--no-undefined... $ECHO_C" >&6
6681
kde_cache=`echo Wl,--no-undefined | sed 'y% .=/+-,%____p__%'`
6682
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
6683
echo $ECHO_N "(cached) $ECHO_C" >&6
6689
ac_cpp='$CXXCPP $CPPFLAGS'
6690
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6691
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6692
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6694
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6697
save_CXXFLAGS="$CXXFLAGS"
6698
CXXFLAGS="$CXXFLAGS -Wl,--no-undefined"
6699
cat >conftest.$ac_ext <<_ACEOF
6702
cat confdefs.h >>conftest.$ac_ext
6703
cat >>conftest.$ac_ext <<_ACEOF
6704
/* end confdefs.h. */
6714
rm -f conftest.$ac_objext conftest$ac_exeext
6715
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6716
(eval $ac_link) 2>conftest.er1
6718
grep -v '^ *+' conftest.er1 >conftest.err
6720
cat conftest.err >&5
6721
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6722
(exit $ac_status); } &&
6723
{ ac_try='test -z "$ac_cxx_werror_flag"
6724
|| test ! -s conftest.err'
6725
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6728
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6729
(exit $ac_status); }; } &&
6730
{ ac_try='test -s conftest$ac_exeext'
6731
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6734
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6735
(exit $ac_status); }; }; then
6736
eval "kde_cv_prog_cxx_$kde_cache=yes"
6738
echo "$as_me: failed program was:" >&5
6739
sed 's/^/| /' conftest.$ac_ext >&5
6742
rm -f conftest.err conftest.$ac_objext \
6743
conftest$ac_exeext conftest.$ac_ext
6744
CXXFLAGS="$save_CXXFLAGS"
6746
ac_cpp='$CPP $CPPFLAGS'
6747
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6748
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6749
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6754
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6755
echo "$as_me:$LINENO: result: yes" >&5
6756
echo "${ECHO_T}yes" >&6
6759
echo "$as_me:$LINENO: checking whether $CXX supports -Wl,--allow-shlib-undefined" >&5
6760
echo $ECHO_N "checking whether $CXX supports -Wl,--allow-shlib-undefined... $ECHO_C" >&6
6761
kde_cache=`echo Wl,--allow-shlib-undefined | sed 'y% .=/+-,%____p__%'`
6762
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
6763
echo $ECHO_N "(cached) $ECHO_C" >&6
6769
ac_cpp='$CXXCPP $CPPFLAGS'
6770
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6771
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6772
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6774
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6777
save_CXXFLAGS="$CXXFLAGS"
6778
CXXFLAGS="$CXXFLAGS -Wl,--allow-shlib-undefined"
6779
cat >conftest.$ac_ext <<_ACEOF
6782
cat confdefs.h >>conftest.$ac_ext
6783
cat >>conftest.$ac_ext <<_ACEOF
6784
/* end confdefs.h. */
6794
rm -f conftest.$ac_objext conftest$ac_exeext
6795
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6796
(eval $ac_link) 2>conftest.er1
6798
grep -v '^ *+' conftest.er1 >conftest.err
6800
cat conftest.err >&5
6801
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6802
(exit $ac_status); } &&
6803
{ ac_try='test -z "$ac_cxx_werror_flag"
6804
|| test ! -s conftest.err'
6805
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6808
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6809
(exit $ac_status); }; } &&
6810
{ ac_try='test -s conftest$ac_exeext'
6811
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6814
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6815
(exit $ac_status); }; }; then
6816
eval "kde_cv_prog_cxx_$kde_cache=yes"
6818
echo "$as_me: failed program was:" >&5
6819
sed 's/^/| /' conftest.$ac_ext >&5
6822
rm -f conftest.err conftest.$ac_objext \
6823
conftest$ac_exeext conftest.$ac_ext
6824
CXXFLAGS="$save_CXXFLAGS"
6826
ac_cpp='$CPP $CPPFLAGS'
6827
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6828
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6829
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6834
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6835
echo "$as_me:$LINENO: result: yes" >&5
6836
echo "${ECHO_T}yes" >&6
6838
KDE_NO_UNDEFINED="-Wl,--no-undefined -Wl,--allow-shlib-undefined"
6840
echo "$as_me:$LINENO: result: no" >&5
6841
echo "${ECHO_T}no" >&6
6847
echo "$as_me:$LINENO: result: no" >&5
6848
echo "${ECHO_T}no" >&6
6861
# Check whether --enable-nmcheck or --disable-nmcheck was given.
6862
if test "${enable_nmcheck+set}" = set; then
6863
enableval="$enable_nmcheck"
6864
kde_use_nmcheck=$enableval
6869
if test "$kde_use_nmcheck" = "yes"; then
6870
KDE_USE_NMCHECK_TRUE=""
6871
KDE_USE_NMCHECK_FALSE="#"
6873
KDE_USE_NMCHECK_TRUE="#"
6874
KDE_USE_NMCHECK_FALSE=""
6882
# Check whether --enable-shared or --disable-shared was given.
6883
if test "${enable_shared+set}" = set; then
6884
enableval="$enable_shared"
6885
p=${PACKAGE-default}
6887
yes) enable_shared=yes ;;
6888
no) enable_shared=no ;;
6891
# Look at the argument we got. We use all the common list separators.
6892
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6893
for pkg in $enableval; do
6895
if test "X$pkg" = "X$p"; then
6906
# Check whether --enable-static or --disable-static was given.
6907
if test "${enable_static+set}" = set; then
6908
enableval="$enable_static"
6909
p=${PACKAGE-default}
6911
yes) enable_static=yes ;;
6912
no) enable_static=no ;;
6915
# Look at the argument we got. We use all the common list separators.
6916
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6917
for pkg in $enableval; do
6919
if test "X$pkg" = "X$p"; then
6933
kdelibsuff="$kde_libs_suffix"
6934
if test -z "$kdelibsuff"; then
6937
# Check whether --enable-libsuffix or --disable-libsuffix was given.
6938
if test "${enable_libsuffix+set}" = set; then
6939
enableval="$enable_libsuffix"
6940
kdelibsuff=$enableval
6942
# TODO: add an auto case that compiles a little C app to check
6943
# where the glibc is
6944
if test "$kdelibsuff" = "no"; then
6947
if test -z "$kdelibsuff"; then
6948
echo "$as_me:$LINENO: result: not using lib directory suffix" >&5
6949
echo "${ECHO_T}not using lib directory suffix" >&6
6951
cat >>confdefs.h <<\_ACEOF
6952
#define KDELIBSUFF ""
6956
if test "$libdir" = '${exec_prefix}/lib'; then
6957
libdir="$libdir${kdelibsuff}"
6961
cat >>confdefs.h <<_ACEOF
6962
#define KDELIBSUFF "${kdelibsuff}"
6965
echo "$as_me:$LINENO: result: using lib directory suffix $kdelibsuff" >&5
6966
echo "${ECHO_T}using lib directory suffix $kdelibsuff" >&6
6969
# Check whether --enable-fast-install or --disable-fast-install was given.
6970
if test "${enable_fast_install+set}" = set; then
6971
enableval="$enable_fast_install"
6972
p=${PACKAGE-default}
6974
yes) enable_fast_install=yes ;;
6975
no) enable_fast_install=no ;;
6977
enable_fast_install=no
6978
# Look at the argument we got. We use all the common list separators.
6979
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6980
for pkg in $enableval; do
6982
if test "X$pkg" = "X$p"; then
6983
enable_fast_install=yes
6990
enable_fast_install=yes
6993
echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
6994
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
6995
if test "${lt_cv_path_SED+set}" = set; then
6996
echo $ECHO_N "(cached) $ECHO_C" >&6
6998
# Loop through the user's path and test for sed and gsed.
6999
# Then use that list of sed's as ones to test for truncation.
7000
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7004
test -z "$as_dir" && as_dir=.
7005
for lt_ac_prog in sed gsed; do
7006
for ac_exec_ext in '' $ac_executable_extensions; do
7007
if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
7008
lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
7015
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
7016
# along with /bin/sed that truncates output.
7017
for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
7018
test ! -f $lt_ac_sed && break
7019
cat /dev/null > conftest.in
7021
echo $ECHO_N "0123456789$ECHO_C" >conftest.in
7022
# Check for GNU sed and select it if it is found.
7023
if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
7024
lt_cv_path_SED=$lt_ac_sed
7028
cat conftest.in conftest.in >conftest.tmp
7029
mv conftest.tmp conftest.in
7030
cp conftest.in conftest.nl
7032
$lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
7033
cmp -s conftest.out conftest.nl || break
7034
# 10000 chars as input seems more than enough
7035
test $lt_ac_count -gt 10 && break
7036
lt_ac_count=`expr $lt_ac_count + 1`
7037
if test $lt_ac_count -gt $lt_ac_max; then
7038
lt_ac_max=$lt_ac_count
7039
lt_cv_path_SED=$lt_ac_sed
7047
echo "$as_me:$LINENO: result: $SED" >&5
7048
echo "${ECHO_T}$SED" >&6
7050
echo "$as_me:$LINENO: checking for egrep" >&5
7051
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
7052
if test "${ac_cv_prog_egrep+set}" = set; then
7053
echo $ECHO_N "(cached) $ECHO_C" >&6
7055
if echo a | (grep -E '(a|b)') >/dev/null 2>&1
7056
then ac_cv_prog_egrep='grep -E'
7057
else ac_cv_prog_egrep='egrep'
7060
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
7061
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
7062
EGREP=$ac_cv_prog_egrep
7066
# Check whether --with-gnu-ld or --without-gnu-ld was given.
7067
if test "${with_gnu_ld+set}" = set; then
7068
withval="$with_gnu_ld"
7069
test "$withval" = no || with_gnu_ld=yes
7074
if test "$GCC" = yes; then
7075
# Check if gcc -print-prog-name=ld gives a path.
7076
echo "$as_me:$LINENO: checking for ld used by $CC" >&5
7077
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
7080
# gcc leaves a trailing carriage return which upsets mingw
7081
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7083
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
7086
# Accept absolute paths.
7088
re_direlt='/[^/][^/]*/\.\./'
7089
# Canonicalize the pathname of ld
7090
ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
7091
while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
7092
ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
7094
test -z "$LD" && LD="$ac_prog"
7097
# If it fails, then pretend we aren't using GCC.
7101
# If it is relative, then search for the first ld in PATH.
7105
elif test "$with_gnu_ld" = yes; then
7106
echo "$as_me:$LINENO: checking for GNU ld" >&5
7107
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
7109
echo "$as_me:$LINENO: checking for non-GNU ld" >&5
7110
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
7112
if test "${lt_cv_path_LD+set}" = set; then
7113
echo $ECHO_N "(cached) $ECHO_C" >&6
7115
if test -z "$LD"; then
7116
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7117
for ac_dir in $PATH; do
7119
test -z "$ac_dir" && ac_dir=.
7120
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
7121
lt_cv_path_LD="$ac_dir/$ac_prog"
7122
# Check to see if the program is GNU ld. I'd rather use --version,
7123
# but apparently some GNU ld's only accept -v.
7124
# Break only if it was the GNU/non-GNU ld that we prefer.
7125
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
7126
*GNU* | *'with BFD'*)
7127
test "$with_gnu_ld" != no && break
7130
test "$with_gnu_ld" != yes && break
7137
lt_cv_path_LD="$LD" # Let the user override the test with a path.
7142
if test -n "$LD"; then
7143
echo "$as_me:$LINENO: result: $LD" >&5
7144
echo "${ECHO_T}$LD" >&6
7146
echo "$as_me:$LINENO: result: no" >&5
7147
echo "${ECHO_T}no" >&6
7149
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
7150
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
7151
{ (exit 1); exit 1; }; }
7152
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
7153
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
7154
if test "${lt_cv_prog_gnu_ld+set}" = set; then
7155
echo $ECHO_N "(cached) $ECHO_C" >&6
7157
# I'd rather use --version here, but apparently some GNU ld's only accept -v.
7158
case `$LD -v 2>&1 </dev/null` in
7159
*GNU* | *'with BFD'*)
7160
lt_cv_prog_gnu_ld=yes
7163
lt_cv_prog_gnu_ld=no
7167
echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
7168
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
7169
with_gnu_ld=$lt_cv_prog_gnu_ld
7172
echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
7173
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
7174
if test "${lt_cv_ld_reload_flag+set}" = set; then
7175
echo $ECHO_N "(cached) $ECHO_C" >&6
7177
lt_cv_ld_reload_flag='-r'
7179
echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
7180
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
7181
reload_flag=$lt_cv_ld_reload_flag
7182
case $reload_flag in
7184
*) reload_flag=" $reload_flag" ;;
7186
reload_cmds='$LD$reload_flag -o $output$reload_objs'
7188
echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
7189
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
7190
if test "${lt_cv_path_NM+set}" = set; then
7191
echo $ECHO_N "(cached) $ECHO_C" >&6
7193
if test -n "$NM"; then
7194
# Let the user override the test.
7197
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7198
for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
7200
test -z "$ac_dir" && ac_dir=.
7201
tmp_nm="$ac_dir/${ac_tool_prefix}nm"
7202
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
7203
# Check to see if the nm accepts a BSD-compat flag.
7204
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
7205
# nm: unknown option "B" ignored
7206
# Tru64's nm complains that /dev/null is an invalid object file
7207
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
7208
*/dev/null* | *'Invalid file or object type'*)
7209
lt_cv_path_NM="$tmp_nm -B"
7213
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
7215
lt_cv_path_NM="$tmp_nm -p"
7219
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
7220
continue # so that we can try to find one that supports BSD flags
7227
test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
7230
echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
7231
echo "${ECHO_T}$lt_cv_path_NM" >&6
7234
echo "$as_me:$LINENO: checking whether ln -s works" >&5
7235
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
7237
if test "$LN_S" = "ln -s"; then
7238
echo "$as_me:$LINENO: result: yes" >&5
7239
echo "${ECHO_T}yes" >&6
7241
echo "$as_me:$LINENO: result: no, using $LN_S" >&5
7242
echo "${ECHO_T}no, using $LN_S" >&6
7245
echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
7246
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
7247
if test "${lt_cv_deplibs_check_method+set}" = set; then
7248
echo $ECHO_N "(cached) $ECHO_C" >&6
7250
lt_cv_file_magic_cmd='$MAGIC_CMD'
7251
lt_cv_file_magic_test_file=
7252
lt_cv_deplibs_check_method='unknown'
7253
# Need to set the preceding variable on all platforms that support
7254
# interlibrary dependencies.
7255
# 'none' -- dependencies not supported.
7256
# `unknown' -- same as none, but documents that we really don't know.
7257
# 'pass_all' -- all dependencies passed with no checks.
7258
# 'test_compile' -- check by making test program.
7259
# 'file_magic [[regex]]' -- check by looking for files in library path
7260
# which responds to the $file_magic_cmd with a given extended regex.
7261
# If you have `file' or equivalent on your system and you're not sure
7262
# whether `pass_all' will *always* work, you probably want this one.
7266
lt_cv_deplibs_check_method=pass_all
7270
lt_cv_deplibs_check_method=pass_all
7274
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7275
lt_cv_file_magic_cmd='/usr/bin/file -L'
7276
lt_cv_file_magic_test_file=/shlib/libc.so
7280
lt_cv_deplibs_check_method=pass_all
7284
# win32_libid is a shell function defined in ltmain.sh
7285
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7286
lt_cv_file_magic_cmd='win32_libid'
7289
darwin* | rhapsody*)
7290
# this will be overwritten by pass_all, but leave it in just in case
7291
lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
7292
lt_cv_file_magic_cmd='/usr/bin/file -L'
7294
rhapsody* | darwin1.[012])
7295
lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System`
7298
lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
7301
lt_cv_deplibs_check_method=pass_all
7305
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
7308
# Not sure whether the presence of OpenBSD here was a mistake.
7309
# Let's accept both of them until this is cleared up.
7310
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
7311
lt_cv_file_magic_cmd=/usr/bin/file
7312
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7316
lt_cv_deplibs_check_method=pass_all
7321
lt_cv_deplibs_check_method=pass_all
7324
hpux10.20* | hpux11*)
7325
lt_cv_file_magic_cmd=/usr/bin/file
7328
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7329
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7332
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]'
7333
lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7336
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
7337
lt_cv_file_magic_test_file=/usr/lib/libc.sl
7342
irix5* | irix6* | nonstopux*)
7344
irix5* | nonstopux*)
7345
# this will be overridden with pass_all, but let us keep it just in case
7346
lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
7350
*-32|*"-32 ") libmagic=32-bit;;
7351
*-n32|*"-n32 ") libmagic=N32;;
7352
*-64|*"-64 ") libmagic=64-bit;;
7353
*) libmagic=never-match;;
7355
# this will be overridden with pass_all, but let us keep it just in case
7356
lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
7359
lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
7360
lt_cv_deplibs_check_method=pass_all
7363
# This must be Linux ELF.
7366
alpha* | hppa* | i*86 | ia64* | m68* | mips* | powerpc* | sparc* | s390* | sh* | x86_64* )
7367
lt_cv_deplibs_check_method=pass_all ;;
7368
# the debian people say, arm and glibc 2.3.1 works for them with pass_all
7370
lt_cv_deplibs_check_method=pass_all ;;
7372
# glibc up to 2.1.1 does not perform some relocations on ARM
7373
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
7375
lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
7379
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
7380
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7382
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7387
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7388
lt_cv_file_magic_cmd=/usr/bin/file
7389
lt_cv_file_magic_test_file=/usr/lib/libnls.so
7393
lt_cv_deplibs_check_method=unknown
7397
lt_cv_file_magic_cmd=/usr/bin/file
7398
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7399
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7400
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
7402
lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
7406
osf3* | osf4* | osf5*)
7407
# this will be overridden with pass_all, but let us keep it just in case
7408
lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
7409
lt_cv_file_magic_test_file=/shlib/libc.so
7410
lt_cv_deplibs_check_method=pass_all
7414
lt_cv_deplibs_check_method=pass_all
7418
lt_cv_deplibs_check_method=pass_all
7419
lt_cv_file_magic_test_file=/lib/libc.so
7422
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
7423
case $host_vendor in
7425
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]'
7426
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7429
lt_cv_deplibs_check_method=pass_all
7432
lt_cv_file_magic_cmd='/bin/file'
7433
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7436
lt_cv_file_magic_cmd='/bin/file'
7437
lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7438
lt_cv_file_magic_test_file=/lib/libc.so
7441
lt_cv_deplibs_check_method=pass_all
7446
sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
7447
lt_cv_deplibs_check_method=pass_all
7452
echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
7453
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
7454
file_magic_cmd=$lt_cv_file_magic_cmd
7455
deplibs_check_method=$lt_cv_deplibs_check_method
7456
test -z "$deplibs_check_method" && deplibs_check_method=unknown
7459
# If no C compiler was specified, use CC.
7462
# Allow CC to be a program name with arguments.
7465
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
7466
if test "${enable_libtool_lock+set}" = set; then
7467
enableval="$enable_libtool_lock"
7470
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7472
# Some flags need to be propagated to the compiler or linker for good
7476
# Find out which ABI we are using.
7477
echo 'int i;' > conftest.$ac_ext
7478
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7479
(eval $ac_compile) 2>&5
7481
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7482
(exit $ac_status); }; then
7483
case `/usr/bin/file conftest.$ac_objext` in
7495
# Find out which ABI we are using.
7496
echo '#line 7496 "configure"' > conftest.$ac_ext
7497
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7498
(eval $ac_compile) 2>&5
7500
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7501
(exit $ac_status); }; then
7502
if test "$lt_cv_prog_gnu_ld" = yes; then
7503
case `/usr/bin/file conftest.$ac_objext` in
7505
LD="${LD-ld} -melf32bsmip"
7508
LD="${LD-ld} -melf32bmipn32"
7511
LD="${LD-ld} -melf64bmip"
7515
case `/usr/bin/file conftest.$ac_objext` in
7531
x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
7532
# Find out which ABI we are using.
7533
echo 'int i;' > conftest.$ac_ext
7534
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7535
(eval $ac_compile) 2>&5
7537
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7538
(exit $ac_status); }; then
7539
case "`/usr/bin/file conftest.o`" in
7544
LD="${LD-ld} -m elf_i386"
7547
LD="${LD-ld} -m elf32ppclinux"
7550
LD="${LD-ld} -m elf_s390"
7553
LD="${LD-ld} -m elf32_sparc"
7561
LD="${LD-ld} -m elf_x86_64"
7563
ppc*-*linux*|powerpc*-*linux*)
7564
LD="${LD-ld} -m elf64ppc"
7567
LD="${LD-ld} -m elf64_s390"
7570
LD="${LD-ld} -m elf64_sparc"
7580
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
7581
SAVE_CFLAGS="$CFLAGS"
7582
CFLAGS="$CFLAGS -belf"
7583
echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
7584
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
7585
if test "${lt_cv_cc_needs_belf+set}" = set; then
7586
echo $ECHO_N "(cached) $ECHO_C" >&6
7589
ac_cpp='$CPP $CPPFLAGS'
7590
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7591
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7592
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7594
cat >conftest.$ac_ext <<_ACEOF
7597
cat confdefs.h >>conftest.$ac_ext
7598
cat >>conftest.$ac_ext <<_ACEOF
7599
/* end confdefs.h. */
7609
rm -f conftest.$ac_objext conftest$ac_exeext
7610
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7611
(eval $ac_link) 2>conftest.er1
7613
grep -v '^ *+' conftest.er1 >conftest.err
7615
cat conftest.err >&5
7616
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7617
(exit $ac_status); } &&
7618
{ ac_try='test -z "$ac_c_werror_flag"
7619
|| test ! -s conftest.err'
7620
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7623
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7624
(exit $ac_status); }; } &&
7625
{ ac_try='test -s conftest$ac_exeext'
7626
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7629
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7630
(exit $ac_status); }; }; then
7631
lt_cv_cc_needs_belf=yes
7633
echo "$as_me: failed program was:" >&5
7634
sed 's/^/| /' conftest.$ac_ext >&5
7636
lt_cv_cc_needs_belf=no
7638
rm -f conftest.err conftest.$ac_objext \
7639
conftest$ac_exeext conftest.$ac_ext
7641
ac_cpp='$CPP $CPPFLAGS'
7642
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7643
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7644
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7647
echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
7648
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
7649
if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7650
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7651
CFLAGS="$SAVE_CFLAGS"
7657
need_locks="$enable_libtool_lock"
7661
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7662
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
7663
if test "${ac_cv_header_stdc+set}" = set; then
7664
echo $ECHO_N "(cached) $ECHO_C" >&6
7666
cat >conftest.$ac_ext <<_ACEOF
7669
cat confdefs.h >>conftest.$ac_ext
7670
cat >>conftest.$ac_ext <<_ACEOF
7671
/* end confdefs.h. */
7685
rm -f conftest.$ac_objext
7686
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7687
(eval $ac_compile) 2>conftest.er1
7689
grep -v '^ *+' conftest.er1 >conftest.err
7691
cat conftest.err >&5
7692
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7693
(exit $ac_status); } &&
7694
{ ac_try='test -z "$ac_c_werror_flag"
7695
|| test ! -s conftest.err'
7696
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7699
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7700
(exit $ac_status); }; } &&
7701
{ ac_try='test -s conftest.$ac_objext'
7702
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7705
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7706
(exit $ac_status); }; }; then
7707
ac_cv_header_stdc=yes
7709
echo "$as_me: failed program was:" >&5
7710
sed 's/^/| /' conftest.$ac_ext >&5
7712
ac_cv_header_stdc=no
7714
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7716
if test $ac_cv_header_stdc = yes; then
7717
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7718
cat >conftest.$ac_ext <<_ACEOF
7721
cat confdefs.h >>conftest.$ac_ext
7722
cat >>conftest.$ac_ext <<_ACEOF
7723
/* end confdefs.h. */
7727
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7728
$EGREP "memchr" >/dev/null 2>&1; then
7731
ac_cv_header_stdc=no
7737
if test $ac_cv_header_stdc = yes; then
7738
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7739
cat >conftest.$ac_ext <<_ACEOF
7742
cat confdefs.h >>conftest.$ac_ext
7743
cat >>conftest.$ac_ext <<_ACEOF
7744
/* end confdefs.h. */
7748
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7749
$EGREP "free" >/dev/null 2>&1; then
7752
ac_cv_header_stdc=no
7758
if test $ac_cv_header_stdc = yes; then
7759
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7760
if test "$cross_compiling" = yes; then
7763
cat >conftest.$ac_ext <<_ACEOF
7766
cat confdefs.h >>conftest.$ac_ext
7767
cat >>conftest.$ac_ext <<_ACEOF
7768
/* end confdefs.h. */
7770
#if ((' ' & 0x0FF) == 0x020)
7771
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7772
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7774
# define ISLOWER(c) \
7775
(('a' <= (c) && (c) <= 'i') \
7776
|| ('j' <= (c) && (c) <= 'r') \
7777
|| ('s' <= (c) && (c) <= 'z'))
7778
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7781
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7786
for (i = 0; i < 256; i++)
7787
if (XOR (islower (i), ISLOWER (i))
7788
|| toupper (i) != TOUPPER (i))
7793
rm -f conftest$ac_exeext
7794
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7795
(eval $ac_link) 2>&5
7797
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7798
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7799
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7802
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7803
(exit $ac_status); }; }; then
7806
echo "$as_me: program exited with status $ac_status" >&5
7807
echo "$as_me: failed program was:" >&5
7808
sed 's/^/| /' conftest.$ac_ext >&5
7811
ac_cv_header_stdc=no
7813
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7817
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7818
echo "${ECHO_T}$ac_cv_header_stdc" >&6
7819
if test $ac_cv_header_stdc = yes; then
7821
cat >>confdefs.h <<\_ACEOF
7822
#define STDC_HEADERS 1
7827
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7837
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7838
inttypes.h stdint.h unistd.h
7840
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7841
echo "$as_me:$LINENO: checking for $ac_header" >&5
7842
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7843
if eval "test \"\${$as_ac_Header+set}\" = set"; then
7844
echo $ECHO_N "(cached) $ECHO_C" >&6
7846
cat >conftest.$ac_ext <<_ACEOF
7849
cat confdefs.h >>conftest.$ac_ext
7850
cat >>conftest.$ac_ext <<_ACEOF
7851
/* end confdefs.h. */
7852
$ac_includes_default
7854
#include <$ac_header>
7856
rm -f conftest.$ac_objext
7857
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7858
(eval $ac_compile) 2>conftest.er1
7860
grep -v '^ *+' conftest.er1 >conftest.err
7862
cat conftest.err >&5
7863
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7864
(exit $ac_status); } &&
7865
{ ac_try='test -z "$ac_c_werror_flag"
7866
|| test ! -s conftest.err'
7867
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7870
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7871
(exit $ac_status); }; } &&
7872
{ ac_try='test -s conftest.$ac_objext'
7873
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7876
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7877
(exit $ac_status); }; }; then
7878
eval "$as_ac_Header=yes"
7880
echo "$as_me: failed program was:" >&5
7881
sed 's/^/| /' conftest.$ac_ext >&5
7883
eval "$as_ac_Header=no"
7885
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7887
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7888
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7889
if test `eval echo '${'$as_ac_Header'}'` = yes; then
7890
cat >>confdefs.h <<_ACEOF
7891
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7900
for ac_header in dlfcn.h
7902
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7903
if eval "test \"\${$as_ac_Header+set}\" = set"; then
7904
echo "$as_me:$LINENO: checking for $ac_header" >&5
7905
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7906
if eval "test \"\${$as_ac_Header+set}\" = set"; then
7907
echo $ECHO_N "(cached) $ECHO_C" >&6
7909
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7910
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7912
# Is the header compilable?
7913
echo "$as_me:$LINENO: checking $ac_header usability" >&5
7914
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7915
cat >conftest.$ac_ext <<_ACEOF
7918
cat confdefs.h >>conftest.$ac_ext
7919
cat >>conftest.$ac_ext <<_ACEOF
7920
/* end confdefs.h. */
7921
$ac_includes_default
7922
#include <$ac_header>
7924
rm -f conftest.$ac_objext
7925
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7926
(eval $ac_compile) 2>conftest.er1
7928
grep -v '^ *+' conftest.er1 >conftest.err
7930
cat conftest.err >&5
7931
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7932
(exit $ac_status); } &&
7933
{ ac_try='test -z "$ac_c_werror_flag"
7934
|| test ! -s conftest.err'
7935
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7938
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7939
(exit $ac_status); }; } &&
7940
{ ac_try='test -s conftest.$ac_objext'
7941
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7944
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7945
(exit $ac_status); }; }; then
7946
ac_header_compiler=yes
7948
echo "$as_me: failed program was:" >&5
7949
sed 's/^/| /' conftest.$ac_ext >&5
7951
ac_header_compiler=no
7953
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7954
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7955
echo "${ECHO_T}$ac_header_compiler" >&6
7957
# Is the header present?
7958
echo "$as_me:$LINENO: checking $ac_header presence" >&5
7959
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7960
cat >conftest.$ac_ext <<_ACEOF
7963
cat confdefs.h >>conftest.$ac_ext
7964
cat >>conftest.$ac_ext <<_ACEOF
7965
/* end confdefs.h. */
7966
#include <$ac_header>
7968
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7969
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7971
grep -v '^ *+' conftest.er1 >conftest.err
7973
cat conftest.err >&5
7974
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7975
(exit $ac_status); } >/dev/null; then
7976
if test -s conftest.err; then
7977
ac_cpp_err=$ac_c_preproc_warn_flag
7978
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7985
if test -z "$ac_cpp_err"; then
7986
ac_header_preproc=yes
7988
echo "$as_me: failed program was:" >&5
7989
sed 's/^/| /' conftest.$ac_ext >&5
7991
ac_header_preproc=no
7993
rm -f conftest.err conftest.$ac_ext
7994
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7995
echo "${ECHO_T}$ac_header_preproc" >&6
7997
# So? What about this header?
7998
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8000
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8001
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8002
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8003
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8004
ac_header_preproc=yes
8007
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8008
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8009
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8010
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8011
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8012
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8013
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8014
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8015
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8016
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8017
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8018
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8021
## ------------------------------------------ ##
8022
## Report this to the AC_PACKAGE_NAME lists. ##
8023
## ------------------------------------------ ##
8026
sed "s/^/$as_me: WARNING: /" >&2
8029
echo "$as_me:$LINENO: checking for $ac_header" >&5
8030
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8031
if eval "test \"\${$as_ac_Header+set}\" = set"; then
8032
echo $ECHO_N "(cached) $ECHO_C" >&6
8034
eval "$as_ac_Header=\$ac_header_preproc"
8036
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8037
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8040
if test `eval echo '${'$as_ac_Header'}'` = yes; then
8041
cat >>confdefs.h <<_ACEOF
8042
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8050
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
8051
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8052
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
8053
if test -n "$ac_tool_prefix"; then
8054
for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
8056
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8057
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8058
echo "$as_me:$LINENO: checking for $ac_word" >&5
8059
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8060
if test "${ac_cv_prog_F77+set}" = set; then
8061
echo $ECHO_N "(cached) $ECHO_C" >&6
8063
if test -n "$F77"; then
8064
ac_cv_prog_F77="$F77" # Let the user override the test.
8066
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8070
test -z "$as_dir" && as_dir=.
8071
for ac_exec_ext in '' $ac_executable_extensions; do
8072
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8073
ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
8074
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8083
if test -n "$F77"; then
8084
echo "$as_me:$LINENO: result: $F77" >&5
8085
echo "${ECHO_T}$F77" >&6
8087
echo "$as_me:$LINENO: result: no" >&5
8088
echo "${ECHO_T}no" >&6
8091
test -n "$F77" && break
8094
if test -z "$F77"; then
8096
for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
8098
# Extract the first word of "$ac_prog", so it can be a program name with args.
8099
set dummy $ac_prog; ac_word=$2
8100
echo "$as_me:$LINENO: checking for $ac_word" >&5
8101
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8102
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
8103
echo $ECHO_N "(cached) $ECHO_C" >&6
8105
if test -n "$ac_ct_F77"; then
8106
ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
8108
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8112
test -z "$as_dir" && as_dir=.
8113
for ac_exec_ext in '' $ac_executable_extensions; do
8114
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8115
ac_cv_prog_ac_ct_F77="$ac_prog"
8116
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8124
ac_ct_F77=$ac_cv_prog_ac_ct_F77
8125
if test -n "$ac_ct_F77"; then
8126
echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
8127
echo "${ECHO_T}$ac_ct_F77" >&6
8129
echo "$as_me:$LINENO: result: no" >&5
8130
echo "${ECHO_T}no" >&6
8133
test -n "$ac_ct_F77" && break
8140
# Provide some information about the compiler.
8141
echo "$as_me:8141:" \
8142
"checking for Fortran 77 compiler version" >&5
8143
ac_compiler=`set X $ac_compile; echo $2`
8144
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
8145
(eval $ac_compiler --version </dev/null >&5) 2>&5
8147
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8148
(exit $ac_status); }
8149
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
8150
(eval $ac_compiler -v </dev/null >&5) 2>&5
8152
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8153
(exit $ac_status); }
8154
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
8155
(eval $ac_compiler -V </dev/null >&5) 2>&5
8157
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8158
(exit $ac_status); }
8161
# If we don't use `.F' as extension, the preprocessor is not run on the
8162
# input file. (Note that this only needs to work for GNU compilers.)
8165
echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
8166
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
8167
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
8168
echo $ECHO_N "(cached) $ECHO_C" >&6
8170
cat >conftest.$ac_ext <<_ACEOF
8178
rm -f conftest.$ac_objext
8179
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8180
(eval $ac_compile) 2>conftest.er1
8182
grep -v '^ *+' conftest.er1 >conftest.err
8184
cat conftest.err >&5
8185
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8186
(exit $ac_status); } &&
8187
{ ac_try='test -z "$ac_f77_werror_flag"
8188
|| test ! -s conftest.err'
8189
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8192
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8193
(exit $ac_status); }; } &&
8194
{ ac_try='test -s conftest.$ac_objext'
8195
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8198
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8199
(exit $ac_status); }; }; then
8202
echo "$as_me: failed program was:" >&5
8203
sed 's/^/| /' conftest.$ac_ext >&5
8207
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8208
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
8211
echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
8212
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
8214
ac_test_FFLAGS=${FFLAGS+set}
8215
ac_save_FFLAGS=$FFLAGS
8217
echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
8218
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
8219
if test "${ac_cv_prog_f77_g+set}" = set; then
8220
echo $ECHO_N "(cached) $ECHO_C" >&6
8223
cat >conftest.$ac_ext <<_ACEOF
8228
rm -f conftest.$ac_objext
8229
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8230
(eval $ac_compile) 2>conftest.er1
8232
grep -v '^ *+' conftest.er1 >conftest.err
8234
cat conftest.err >&5
8235
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8236
(exit $ac_status); } &&
8237
{ ac_try='test -z "$ac_f77_werror_flag"
8238
|| test ! -s conftest.err'
8239
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8242
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8243
(exit $ac_status); }; } &&
8244
{ ac_try='test -s conftest.$ac_objext'
8245
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8248
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8249
(exit $ac_status); }; }; then
8250
ac_cv_prog_f77_g=yes
8252
echo "$as_me: failed program was:" >&5
8253
sed 's/^/| /' conftest.$ac_ext >&5
8257
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8260
echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
8261
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
8262
if test "$ac_test_FFLAGS" = set; then
8263
FFLAGS=$ac_save_FFLAGS
8264
elif test $ac_cv_prog_f77_g = yes; then
8265
if test "x$ac_cv_f77_compiler_gnu" = xyes; then
8271
if test "x$ac_cv_f77_compiler_gnu" = xyes; then
8278
G77=`test $ac_compiler_gnu = yes && echo yes`
8280
ac_cpp='$CPP $CPPFLAGS'
8281
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8282
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8283
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8287
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
8289
# find the maximum length of command line arguments
8290
echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
8291
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
8292
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
8293
echo $ECHO_N "(cached) $ECHO_C" >&6
8300
# On DJGPP, this test can blow up pretty badly due to problems in libc
8301
# (any single argument exceeding 2000 bytes causes a buffer overrun
8302
# during glob expansion). Even if it were fixed, the result of this
8303
# check would be larger than it should be.
8304
lt_cv_sys_max_cmd_len=12288; # 12K is about right
8308
# Under GNU Hurd, this test is not required because there is
8309
# no limit to the length of command line arguments.
8310
# Libtool will interpret -1 as no limit whatsoever
8311
lt_cv_sys_max_cmd_len=-1;
8315
# On Win9x/ME, this test blows up -- it succeeds, but takes
8316
# about 5 minutes as the teststring grows exponentially.
8317
# Worse, since 9x/ME are not pre-emptively multitasking,
8318
# you end up with a "frozen" computer, even though with patience
8319
# the test eventually succeeds (with a max line length of 256k).
8320
# Instead, let's just punt: use the minimum linelength reported by
8321
# all of the supported platforms: 8192 (on NT/2K/XP).
8322
lt_cv_sys_max_cmd_len=8192;
8326
# If test is not a shell built-in, we'll probably end up computing a
8327
# maximum length that is only half of the actual maximum length, but
8329
while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \
8330
= "XX$testring") >/dev/null 2>&1 &&
8331
new_result=`expr "X$testring" : ".*" 2>&1` &&
8332
lt_cv_sys_max_cmd_len=$new_result &&
8333
test $i != 17 # 1/2 MB should be enough
8336
testring=$testring$testring
8339
# Add a significant safety factor because C++ compilers can tack on massive
8340
# amounts of additional arguments before passing them to the linker.
8341
# It appears as though 1/2 is a usable value.
8342
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
8348
if test -n $lt_cv_sys_max_cmd_len ; then
8349
echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
8350
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
8352
echo "$as_me:$LINENO: result: none" >&5
8353
echo "${ECHO_T}none" >&6
8359
# Check for command to grab the raw symbol name followed by C symbol from nm.
8360
echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
8361
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
8362
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
8363
echo $ECHO_N "(cached) $ECHO_C" >&6
8366
# These are sane defaults that work on at least a few old systems.
8367
# [They come from Ultrix. What could be older than Ultrix?!! ;)]
8369
# Character class describing NM global symbol codes.
8370
symcode='[BCDEGRST]'
8372
# Regexp to match symbols that can be accessed directly from C.
8373
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
8375
# Transform the above into a raw symbol and a C symbol.
8376
symxfrm='\1 \2\3 \3'
8378
# Transform an extracted symbol line into a proper C declaration
8379
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
8381
# Transform an extracted symbol line into symbol name and symbol address
8382
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'"
8384
# Define system-specific variables.
8389
cygwin* | mingw* | pw32*)
8390
symcode='[ABCDGISTW]'
8392
hpux*) # Its linker distinguishes data from code symbols
8393
if test "$host_cpu" = ia64; then
8394
symcode='[ABCDEGRST]'
8396
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8397
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'"
8400
symcode='[BCDEGRST]'
8403
symcode='[BCDEGQRST]'
8413
# Handle CRLF in mingw tool chain
8417
opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8421
# If we're using GNU nm, then use its standard symbol codes.
8422
case `$NM -V 2>&1` in
8423
*GNU* | *'with BFD'*)
8424
symcode='[ABCDGISTW]' ;;
8427
# Try without a prefix undercore, then with it.
8428
for ac_symprfx in "" "_"; do
8430
# Write the raw and C identifiers.
8431
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
8433
# Check to see that the pipe works correctly.
8437
cat > conftest.$ac_ext <<EOF
8442
void nm_test_func(){}
8446
int main(){nm_test_var='a';nm_test_func();return(0);}
8449
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8450
(eval $ac_compile) 2>&5
8452
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8453
(exit $ac_status); }; then
8454
# Now try to grab the symbols.
8456
if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
8457
(eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
8459
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8460
(exit $ac_status); } && test -s "$nlist"; then
8461
# Try sorting and uniquifying the output.
8462
if sort "$nlist" | uniq > "$nlist"T; then
8463
mv -f "$nlist"T "$nlist"
8468
# Make sure that we snagged all the symbols we need.
8469
if grep ' nm_test_var$' "$nlist" >/dev/null; then
8470
if grep ' nm_test_func$' "$nlist" >/dev/null; then
8471
cat <<EOF > conftest.$ac_ext
8477
# Now generate the symbol file.
8478
eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
8480
cat <<EOF >> conftest.$ac_ext
8481
#if defined (__STDC__) && __STDC__
8482
# define lt_ptr_t void *
8484
# define lt_ptr_t char *
8488
/* The mapping between symbol names and symbols. */
8493
lt_preloaded_symbols[] =
8496
$SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
8497
cat <<\EOF >> conftest.$ac_ext
8505
# Now try linking the two files.
8506
mv conftest.$ac_objext conftstm.$ac_objext
8507
lt_save_LIBS="$LIBS"
8508
lt_save_CFLAGS="$CFLAGS"
8509
LIBS="conftstm.$ac_objext"
8510
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8511
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8512
(eval $ac_link) 2>&5
8514
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8515
(exit $ac_status); } && test -s conftest${ac_exeext}; then
8518
LIBS="$lt_save_LIBS"
8519
CFLAGS="$lt_save_CFLAGS"
8521
echo "cannot find nm_test_func in $nlist" >&5
8524
echo "cannot find nm_test_var in $nlist" >&5
8527
echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8530
echo "$progname: failed program was:" >&5
8531
cat conftest.$ac_ext >&5
8533
rm -f conftest* conftst*
8535
# Do not use the global_symbol_pipe unless it works.
8536
if test "$pipe_works" = yes; then
8539
lt_cv_sys_global_symbol_pipe=
8545
if test -z "$lt_cv_sys_global_symbol_pipe"; then
8546
lt_cv_sys_global_symbol_to_cdecl=
8548
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8549
echo "$as_me:$LINENO: result: failed" >&5
8550
echo "${ECHO_T}failed" >&6
8552
echo "$as_me:$LINENO: result: ok" >&5
8553
echo "${ECHO_T}ok" >&6
8556
echo "$as_me:$LINENO: checking for objdir" >&5
8557
echo $ECHO_N "checking for objdir... $ECHO_C" >&6
8558
if test "${lt_cv_objdir+set}" = set; then
8559
echo $ECHO_N "(cached) $ECHO_C" >&6
8561
rm -f .libs 2>/dev/null
8562
mkdir .libs 2>/dev/null
8563
if test -d .libs; then
8566
# MS-DOS does not allow filenames that begin with a dot.
8569
rmdir .libs 2>/dev/null
8571
echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
8572
echo "${ECHO_T}$lt_cv_objdir" >&6
8573
objdir=$lt_cv_objdir
8581
# AIX sometimes has problems with the GCC collect2 program. For some
8582
# reason, if we set the COLLECT_NAMES environment variable, the problems
8583
# vanish in a puff of smoke.
8584
if test "X${COLLECT_NAMES+set}" != Xset; then
8586
export COLLECT_NAMES
8591
# Sed substitution that helps us do robust quoting. It backslashifies
8592
# metacharacters that are still active within double-quoted strings.
8593
Xsed='sed -e s/^X//'
8594
sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
8596
# Same as above, but do not quote variable references.
8597
double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
8599
# Sed substitution to delay expansion of an escaped shell variable in a
8600
# double_quote_subst'ed string.
8601
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
8603
# Sed substitution to avoid accidental globbing in evaled expressions
8604
no_glob_subst='s/\*/\\\*/g'
8610
default_ofile=libtool
8611
can_build_shared=yes
8613
# All known linkers require a `.a' archive for static linking (except M$VC,
8614
# which needs '.lib').
8616
ltmain="$ac_aux_dir/ltmain.sh"
8617
ofile="$default_ofile"
8618
with_gnu_ld="$lt_cv_prog_gnu_ld"
8620
if test -n "$ac_tool_prefix"; then
8621
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8622
set dummy ${ac_tool_prefix}ar; ac_word=$2
8623
echo "$as_me:$LINENO: checking for $ac_word" >&5
8624
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8625
if test "${ac_cv_prog_AR+set}" = set; then
8626
echo $ECHO_N "(cached) $ECHO_C" >&6
8628
if test -n "$AR"; then
8629
ac_cv_prog_AR="$AR" # Let the user override the test.
8631
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8635
test -z "$as_dir" && as_dir=.
8636
for ac_exec_ext in '' $ac_executable_extensions; do
8637
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8638
ac_cv_prog_AR="${ac_tool_prefix}ar"
8639
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8648
if test -n "$AR"; then
8649
echo "$as_me:$LINENO: result: $AR" >&5
8650
echo "${ECHO_T}$AR" >&6
8652
echo "$as_me:$LINENO: result: no" >&5
8653
echo "${ECHO_T}no" >&6
8657
if test -z "$ac_cv_prog_AR"; then
8659
# Extract the first word of "ar", so it can be a program name with args.
8660
set dummy ar; ac_word=$2
8661
echo "$as_me:$LINENO: checking for $ac_word" >&5
8662
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8663
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
8664
echo $ECHO_N "(cached) $ECHO_C" >&6
8666
if test -n "$ac_ct_AR"; then
8667
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
8669
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8673
test -z "$as_dir" && as_dir=.
8674
for ac_exec_ext in '' $ac_executable_extensions; do
8675
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8676
ac_cv_prog_ac_ct_AR="ar"
8677
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8683
test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
8686
ac_ct_AR=$ac_cv_prog_ac_ct_AR
8687
if test -n "$ac_ct_AR"; then
8688
echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
8689
echo "${ECHO_T}$ac_ct_AR" >&6
8691
echo "$as_me:$LINENO: result: no" >&5
8692
echo "${ECHO_T}no" >&6
8700
if test -n "$ac_tool_prefix"; then
8701
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8702
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
8703
echo "$as_me:$LINENO: checking for $ac_word" >&5
8704
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8705
if test "${ac_cv_prog_RANLIB+set}" = set; then
8706
echo $ECHO_N "(cached) $ECHO_C" >&6
8708
if test -n "$RANLIB"; then
8709
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8711
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8715
test -z "$as_dir" && as_dir=.
8716
for ac_exec_ext in '' $ac_executable_extensions; do
8717
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8718
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
8719
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8727
RANLIB=$ac_cv_prog_RANLIB
8728
if test -n "$RANLIB"; then
8729
echo "$as_me:$LINENO: result: $RANLIB" >&5
8730
echo "${ECHO_T}$RANLIB" >&6
8732
echo "$as_me:$LINENO: result: no" >&5
8733
echo "${ECHO_T}no" >&6
8737
if test -z "$ac_cv_prog_RANLIB"; then
8738
ac_ct_RANLIB=$RANLIB
8739
# Extract the first word of "ranlib", so it can be a program name with args.
8740
set dummy ranlib; ac_word=$2
8741
echo "$as_me:$LINENO: checking for $ac_word" >&5
8742
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8743
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
8744
echo $ECHO_N "(cached) $ECHO_C" >&6
8746
if test -n "$ac_ct_RANLIB"; then
8747
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
8749
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8753
test -z "$as_dir" && as_dir=.
8754
for ac_exec_ext in '' $ac_executable_extensions; do
8755
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8756
ac_cv_prog_ac_ct_RANLIB="ranlib"
8757
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8763
test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
8766
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8767
if test -n "$ac_ct_RANLIB"; then
8768
echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
8769
echo "${ECHO_T}$ac_ct_RANLIB" >&6
8771
echo "$as_me:$LINENO: result: no" >&5
8772
echo "${ECHO_T}no" >&6
8775
RANLIB=$ac_ct_RANLIB
8777
RANLIB="$ac_cv_prog_RANLIB"
8780
if test -n "$ac_tool_prefix"; then
8781
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
8782
set dummy ${ac_tool_prefix}strip; ac_word=$2
8783
echo "$as_me:$LINENO: checking for $ac_word" >&5
8784
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8785
if test "${ac_cv_prog_STRIP+set}" = set; then
8786
echo $ECHO_N "(cached) $ECHO_C" >&6
8788
if test -n "$STRIP"; then
8789
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8791
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8795
test -z "$as_dir" && as_dir=.
8796
for ac_exec_ext in '' $ac_executable_extensions; do
8797
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8798
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
8799
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8807
STRIP=$ac_cv_prog_STRIP
8808
if test -n "$STRIP"; then
8809
echo "$as_me:$LINENO: result: $STRIP" >&5
8810
echo "${ECHO_T}$STRIP" >&6
8812
echo "$as_me:$LINENO: result: no" >&5
8813
echo "${ECHO_T}no" >&6
8817
if test -z "$ac_cv_prog_STRIP"; then
8819
# Extract the first word of "strip", so it can be a program name with args.
8820
set dummy strip; ac_word=$2
8821
echo "$as_me:$LINENO: checking for $ac_word" >&5
8822
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8823
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
8824
echo $ECHO_N "(cached) $ECHO_C" >&6
8826
if test -n "$ac_ct_STRIP"; then
8827
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
8829
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8833
test -z "$as_dir" && as_dir=.
8834
for ac_exec_ext in '' $ac_executable_extensions; do
8835
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8836
ac_cv_prog_ac_ct_STRIP="strip"
8837
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8843
test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
8846
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
8847
if test -n "$ac_ct_STRIP"; then
8848
echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
8849
echo "${ECHO_T}$ac_ct_STRIP" >&6
8851
echo "$as_me:$LINENO: result: no" >&5
8852
echo "${ECHO_T}no" >&6
8857
STRIP="$ac_cv_prog_STRIP"
8862
old_CFLAGS="$CFLAGS"
8864
# Set sane defaults for various variables
8865
test -z "$AR" && AR=ar
8866
test -z "$AR_FLAGS" && AR_FLAGS=cru
8867
test -z "$AS" && AS=as
8868
test -z "$CC" && CC=cc
8869
test -z "$LTCC" && LTCC=$CC
8870
test -z "$DLLTOOL" && DLLTOOL=dlltool
8871
test -z "$LD" && LD=ld
8872
test -z "$LN_S" && LN_S="ln -s"
8873
test -z "$MAGIC_CMD" && MAGIC_CMD=file
8874
test -z "$NM" && NM=nm
8875
test -z "$SED" && SED=sed
8876
test -z "$OBJDUMP" && OBJDUMP=objdump
8877
test -z "$RANLIB" && RANLIB=:
8878
test -z "$STRIP" && STRIP=:
8879
test -z "$ac_objext" && ac_objext=o
8881
# Determine commands to create old-style static archives.
8882
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
8883
old_postinstall_cmds='chmod 644 $oldlib'
8884
old_postuninstall_cmds=
8886
if test -n "$RANLIB"; then
8889
old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
8892
old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
8895
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
8898
# Only perform the check for file, if the check method requires it
8899
case $deplibs_check_method in
8901
if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8902
echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
8903
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
8904
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8905
echo $ECHO_N "(cached) $ECHO_C" >&6
8909
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8912
lt_save_MAGIC_CMD="$MAGIC_CMD"
8913
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8914
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8915
for ac_dir in $ac_dummy; do
8917
test -z "$ac_dir" && ac_dir=.
8918
if test -f $ac_dir/${ac_tool_prefix}file; then
8919
lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8920
if test -n "$file_magic_test_file"; then
8921
case $deplibs_check_method in
8923
file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
8924
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8925
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8926
$EGREP "$file_magic_regex" > /dev/null; then
8931
*** Warning: the command libtool uses to detect shared libraries,
8932
*** $file_magic_cmd, produces output that libtool cannot recognize.
8933
*** The result is that libtool may fail to recognize shared libraries
8934
*** as such. This will affect the creation of libtool libraries that
8935
*** depend on shared libraries, but programs linked with such libtool
8936
*** libraries will work regardless of this problem. Nevertheless, you
8937
*** may want to report the problem to your system manager and/or to
8938
*** bug-libtool@gnu.org
8948
MAGIC_CMD="$lt_save_MAGIC_CMD"
8953
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8954
if test -n "$MAGIC_CMD"; then
8955
echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8956
echo "${ECHO_T}$MAGIC_CMD" >&6
8958
echo "$as_me:$LINENO: result: no" >&5
8959
echo "${ECHO_T}no" >&6
8962
if test -z "$lt_cv_path_MAGIC_CMD"; then
8963
if test -n "$ac_tool_prefix"; then
8964
echo "$as_me:$LINENO: checking for file" >&5
8965
echo $ECHO_N "checking for file... $ECHO_C" >&6
8966
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8967
echo $ECHO_N "(cached) $ECHO_C" >&6
8971
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8974
lt_save_MAGIC_CMD="$MAGIC_CMD"
8975
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8976
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8977
for ac_dir in $ac_dummy; do
8979
test -z "$ac_dir" && ac_dir=.
8980
if test -f $ac_dir/file; then
8981
lt_cv_path_MAGIC_CMD="$ac_dir/file"
8982
if test -n "$file_magic_test_file"; then
8983
case $deplibs_check_method in
8985
file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
8986
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8987
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8988
$EGREP "$file_magic_regex" > /dev/null; then
8993
*** Warning: the command libtool uses to detect shared libraries,
8994
*** $file_magic_cmd, produces output that libtool cannot recognize.
8995
*** The result is that libtool may fail to recognize shared libraries
8996
*** as such. This will affect the creation of libtool libraries that
8997
*** depend on shared libraries, but programs linked with such libtool
8998
*** libraries will work regardless of this problem. Nevertheless, you
8999
*** may want to report the problem to your system manager and/or to
9000
*** bug-libtool@gnu.org
9010
MAGIC_CMD="$lt_save_MAGIC_CMD"
9015
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9016
if test -n "$MAGIC_CMD"; then
9017
echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
9018
echo "${ECHO_T}$MAGIC_CMD" >&6
9020
echo "$as_me:$LINENO: result: no" >&5
9021
echo "${ECHO_T}no" >&6
9036
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
9037
if test "${enable_libtool_lock+set}" = set; then
9038
enableval="$enable_libtool_lock"
9041
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
9044
# Check whether --with-pic or --without-pic was given.
9045
if test "${with_pic+set}" = set; then
9051
test -z "$pic_mode" && pic_mode=default
9053
# Use C for the default configuration in the libtool script
9057
ac_cpp='$CPP $CPPFLAGS'
9058
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9059
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9060
ac_compiler_gnu=$ac_cv_c_compiler_gnu
9063
# Source file extension for C test sources.
9066
# Object file extension for compiled C test sources.
9070
# Code to be used in simple compile tests
9071
lt_simple_compile_test_code="int some_variable = 0;\n"
9073
# Code to be used in simple link tests
9074
lt_simple_link_test_code='int main(){return(0);}\n'
9077
# If no C compiler was specified, use CC.
9080
# Allow CC to be a program name with arguments.
9085
# Check for any special shared library compilation flags.
9088
if test "$GCC" = no; then
9091
lt_prog_cc_shlib='-belf'
9095
if test -n "$lt_prog_cc_shlib"; then
9096
{ echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
9097
echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
9098
if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then :
9100
{ echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
9101
echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
9102
lt_cv_prog_cc_can_build_shared=no
9108
# Check to make sure the static flag actually works.
9110
echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
9111
echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
9112
if test "${lt_prog_compiler_static_works+set}" = set; then
9113
echo $ECHO_N "(cached) $ECHO_C" >&6
9115
lt_prog_compiler_static_works=no
9116
save_LDFLAGS="$LDFLAGS"
9117
LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
9118
printf "$lt_simple_link_test_code" > conftest.$ac_ext
9119
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9120
# The compiler can only warn and ignore the option if not recognized
9121
# So say no if there are warnings
9122
if test -s conftest.err; then
9123
# Append any errors to the config.log.
9124
cat conftest.err 1>&5
9126
lt_prog_compiler_static_works=yes
9130
LDFLAGS="$save_LDFLAGS"
9133
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
9134
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
9136
if test x"$lt_prog_compiler_static_works" = xyes; then
9139
lt_prog_compiler_static=
9145
## There is no encapsulation within the following macros, do not change
9146
## the running order or otherwise move them around unless you know exactly
9147
## what you are doing...
9149
lt_prog_compiler_no_builtin_flag=
9151
if test "$GCC" = yes; then
9152
lt_prog_compiler_no_builtin_flag=' -fno-builtin'
9155
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9156
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
9157
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
9158
echo $ECHO_N "(cached) $ECHO_C" >&6
9160
lt_cv_prog_compiler_rtti_exceptions=no
9161
ac_outfile=conftest.$ac_objext
9162
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
9163
lt_compiler_flag="-fno-rtti -fno-exceptions"
9164
# Insert the option either (1) after the last *FLAGS variable, or
9165
# (2) before a word containing "conftest.", or (3) at the end.
9166
# Note that $ac_compile itself does not contain backslashes and begins
9167
# with a dollar sign (not a hyphen), so the echo should work correctly.
9168
# The option is referenced via a variable to avoid confusing sed.
9169
lt_compile=`echo "$ac_compile" | $SED \
9170
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
9171
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9172
-e 's:$: $lt_compiler_flag:'`
9173
(eval echo "\"\$as_me:9173: $lt_compile\"" >&5)
9174
(eval "$lt_compile" 2>conftest.err)
9176
cat conftest.err >&5
9177
echo "$as_me:9177: \$? = $ac_status" >&5
9178
if (exit $ac_status) && test -s "$ac_outfile"; then
9179
# The compiler can only warn and ignore the option if not recognized
9180
# So say no if there are warnings
9181
if test ! -s conftest.err; then
9182
lt_cv_prog_compiler_rtti_exceptions=yes
9188
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9189
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
9191
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9192
lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9199
lt_prog_compiler_wl=
9200
lt_prog_compiler_pic=
9201
lt_prog_compiler_static=
9203
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
9204
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
9206
if test "$GCC" = yes; then
9207
lt_prog_compiler_wl='-Wl,'
9208
lt_prog_compiler_static='-static'
9212
# All AIX code is PIC.
9213
if test "$host_cpu" = ia64; then
9214
# AIX 5 now supports IA64 processor
9215
lt_prog_compiler_static='-Bstatic'
9220
# FIXME: we need at least 68020 code to build shared libraries, but
9221
# adding the `-m68020' flag to GCC prevents building anything better,
9223
lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9226
beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9227
# PIC is the default for these OSes.
9230
mingw* | pw32* | os2*)
9231
# This hack is so that the source file can tell whether it is being
9232
# built for inclusion in a dll (and should export symbols for example).
9233
lt_prog_compiler_pic='-DDLL_EXPORT'
9236
darwin* | rhapsody*)
9237
# PIC is the default on this platform
9238
# Common symbols not allowed in MH_DYLIB files
9239
lt_prog_compiler_pic='-fno-common'
9243
# Just because we use GCC doesn't mean we suddenly get shared libraries
9244
# on systems that don't support them.
9245
lt_prog_compiler_can_build_shared=no
9250
if test -d /usr/nec; then
9251
lt_prog_compiler_pic=-Kconform_pic
9256
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9263
lt_prog_compiler_pic='-fPIC'
9269
lt_prog_compiler_pic='-fPIC'
9273
# PORTME Check for flag to pass linker flags through the system compiler.
9276
lt_prog_compiler_wl='-Wl,'
9277
if test "$host_cpu" = ia64; then
9278
# AIX 5 now supports IA64 processor
9279
lt_prog_compiler_static='-Bstatic'
9281
lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9285
mingw* | pw32* | os2*)
9286
# This hack is so that the source file can tell whether it is being
9287
# built for inclusion in a dll (and should export symbols for example).
9288
lt_prog_compiler_pic='-DDLL_EXPORT'
9291
hpux9* | hpux10* | hpux11*)
9292
lt_prog_compiler_wl='-Wl,'
9293
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9300
lt_prog_compiler_pic='+Z'
9303
# Is there a better lt_prog_compiler_static that works with the bundled CC?
9304
lt_prog_compiler_static='${wl}-a ${wl}archive'
9307
irix5* | irix6* | nonstopux*)
9308
lt_prog_compiler_wl='-Wl,'
9309
# PIC (with -KPIC) is the default.
9310
lt_prog_compiler_static='-non_shared'
9314
lt_prog_compiler_pic='-KPIC'
9315
lt_prog_compiler_static='-Bstatic'
9321
lt_prog_compiler_wl='-Wl,'
9322
lt_prog_compiler_pic='-KPIC'
9323
lt_prog_compiler_static='-static'
9326
lt_prog_compiler_wl='-Wl,'
9327
# All Alpha code is PIC.
9328
lt_prog_compiler_static='-non_shared'
9333
osf3* | osf4* | osf5*)
9334
lt_prog_compiler_wl='-Wl,'
9335
# All OSF/1 code is PIC.
9336
lt_prog_compiler_static='-non_shared'
9340
lt_prog_compiler_pic='-Kpic'
9341
lt_prog_compiler_static='-dn'
9345
lt_prog_compiler_wl='-Wl,'
9346
lt_prog_compiler_pic='-KPIC'
9347
lt_prog_compiler_static='-Bstatic'
9351
lt_prog_compiler_wl='-Qoption ld '
9352
lt_prog_compiler_pic='-PIC'
9353
lt_prog_compiler_static='-Bstatic'
9356
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9357
lt_prog_compiler_wl='-Wl,'
9358
lt_prog_compiler_pic='-KPIC'
9359
lt_prog_compiler_static='-Bstatic'
9363
if test -d /usr/nec ;then
9364
lt_prog_compiler_pic='-Kconform_pic'
9365
lt_prog_compiler_static='-Bstatic'
9370
lt_prog_compiler_pic='-pic'
9371
lt_prog_compiler_static='-Bstatic'
9375
lt_prog_compiler_can_build_shared=no
9380
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
9381
echo "${ECHO_T}$lt_prog_compiler_pic" >&6
9384
# Check to make sure the PIC flag actually works.
9386
if test -n "$lt_prog_compiler_pic"; then
9388
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9389
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
9390
if test "${lt_prog_compiler_pic_works+set}" = set; then
9391
echo $ECHO_N "(cached) $ECHO_C" >&6
9393
lt_prog_compiler_pic_works=no
9394
ac_outfile=conftest.$ac_objext
9395
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
9396
lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9397
# Insert the option either (1) after the last *FLAGS variable, or
9398
# (2) before a word containing "conftest.", or (3) at the end.
9399
# Note that $ac_compile itself does not contain backslashes and begins
9400
# with a dollar sign (not a hyphen), so the echo should work correctly.
9401
# The option is referenced via a variable to avoid confusing sed.
9402
lt_compile=`echo "$ac_compile" | $SED \
9403
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
9404
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9405
-e 's:$: $lt_compiler_flag:'`
9406
(eval echo "\"\$as_me:9406: $lt_compile\"" >&5)
9407
(eval "$lt_compile" 2>conftest.err)
9409
cat conftest.err >&5
9410
echo "$as_me:9410: \$? = $ac_status" >&5
9411
if (exit $ac_status) && test -s "$ac_outfile"; then
9412
# The compiler can only warn and ignore the option if not recognized
9413
# So say no if there are warnings
9414
if test ! -s conftest.err; then
9415
lt_prog_compiler_pic_works=yes
9421
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
9422
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
9424
if test x"$lt_prog_compiler_pic_works" = xyes; then
9425
case $lt_prog_compiler_pic in
9427
*) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9430
lt_prog_compiler_pic=
9431
lt_prog_compiler_can_build_shared=no
9436
# For platforms which do not support PIC, -DPIC is meaningless:
9438
lt_prog_compiler_pic=
9441
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9445
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9446
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
9447
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9448
echo $ECHO_N "(cached) $ECHO_C" >&6
9450
lt_cv_prog_compiler_c_o=no
9451
$rm -r conftest 2>/dev/null
9455
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
9457
# According to Tom Tromey, Ian Lance Taylor reported there are C compilers
9458
# that will create temporary files in the current directory regardless of
9459
# the output directory. Thus, making CWD read-only will cause this test
9460
# to fail, enabling locking or at least warning the user not to do parallel
9464
lt_compiler_flag="-o out/conftest2.$ac_objext"
9465
# Insert the option either (1) after the last *FLAGS variable, or
9466
# (2) before a word containing "conftest.", or (3) at the end.
9467
# Note that $ac_compile itself does not contain backslashes and begins
9468
# with a dollar sign (not a hyphen), so the echo should work correctly.
9469
lt_compile=`echo "$ac_compile" | $SED \
9470
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
9471
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9472
-e 's:$: $lt_compiler_flag:'`
9473
(eval echo "\"\$as_me:9473: $lt_compile\"" >&5)
9474
(eval "$lt_compile" 2>out/conftest.err)
9476
cat out/conftest.err >&5
9477
echo "$as_me:9477: \$? = $ac_status" >&5
9478
if (exit $ac_status) && test -s out/conftest2.$ac_objext
9480
# The compiler can only warn and ignore the option if not recognized
9481
# So say no if there are warnings
9482
if test ! -s out/conftest.err; then
9483
lt_cv_prog_compiler_c_o=yes
9494
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9495
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
9498
hard_links="nottested"
9499
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9500
# do not overwrite the value of need_locks provided by the user
9501
echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
9502
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
9505
ln conftest.a conftest.b 2>/dev/null && hard_links=no
9507
ln conftest.a conftest.b 2>&5 || hard_links=no
9508
ln conftest.a conftest.b 2>/dev/null && hard_links=no
9509
echo "$as_me:$LINENO: result: $hard_links" >&5
9510
echo "${ECHO_T}$hard_links" >&6
9511
if test "$hard_links" = no; then
9512
{ echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9513
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9520
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9521
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
9524
allow_undefined_flag=
9525
enable_shared_with_static_runtimes=no
9527
archive_expsym_cmds=
9528
old_archive_From_new_cmds=
9529
old_archive_from_expsyms_cmds=
9530
export_dynamic_flag_spec=
9531
whole_archive_flag_spec=
9532
thread_safe_flag_spec=
9533
hardcode_libdir_flag_spec=
9534
hardcode_libdir_flag_spec_ld=
9535
hardcode_libdir_separator=
9538
hardcode_shlibpath_var=unsupported
9539
link_all_deplibs=unknown
9540
hardcode_automatic=no
9543
always_export_symbols=no
9544
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9545
# include_expsyms should be a list of space-separated symbols to be *always*
9546
# included in the symbol list
9548
# exclude_expsyms can be an extended regexp of symbols to exclude
9549
# it will be wrapped by ` (' and `)$', so one must not match beginning or
9550
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9551
# as well as any symbol that contains `d'.
9552
exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
9553
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9554
# platforms (ab)use it in PIC code, but their linkers get confused if
9555
# the symbol is explicitly referenced. Since portable code cannot
9556
# rely on this symbol name, it's probably fine to never include it in
9557
# preloaded symbol tables.
9558
extract_expsyms_cmds=
9561
cygwin* | mingw* | pw32*)
9562
# FIXME: the MSVC++ port hasn't been tested in a loooong time
9563
# When not using gcc, we currently assume that we are using
9564
# Microsoft Visual C++.
9565
if test "$GCC" != yes; then
9575
if test "$with_gnu_ld" = yes; then
9576
# If archive_cmds runs LD, not CC, wlarc should be empty
9579
# See if GNU ld supports shared libraries.
9581
aix3* | aix4* | aix5*)
9582
# On AIX/PPC, the GNU linker is very broken
9583
if test "$host_cpu" != ia64; then
9587
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
9588
*** to be unable to reliably create shared libraries on AIX.
9589
*** Therefore, libtool is disabling shared libraries support. If you
9590
*** really care for shared libraries, you may want to modify your PATH
9591
*** so that a non-GNU linker is found, and then restart.
9598
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)'
9599
hardcode_libdir_flag_spec='-L$libdir'
9600
hardcode_minus_L=yes
9602
# Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
9603
# that the semantics of dynamic libraries on AmigaOS, at least up
9604
# to version 4, is to share data among multiple programs linked
9605
# with the same dynamic library. Since this doesn't match the
9606
# behavior of shared libraries on other platforms, we can't use
9612
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
9613
allow_undefined_flag=unsupported
9614
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9615
# support --undefined. This deserves some investigation. FIXME
9616
archive_cmds='$CC -nostart $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
9622
cygwin* | mingw* | pw32*)
9623
# _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9624
# as there is no search path for DLLs.
9625
hardcode_libdir_flag_spec='-L$libdir'
9626
allow_undefined_flag=no
9627
always_export_symbols=no
9628
enable_shared_with_static_runtimes=yes
9629
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
9631
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
9632
archive_cmds='$CC -shared $compiler_flags $libobjs $deplibs -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
9633
# If the export-symbols file already is a .def file (1st line
9634
# is EXPORTS), use it as is; otherwise, prepend...
9635
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9636
cp $export_symbols $output_objdir/$soname.def;
9638
echo EXPORTS > $output_objdir/$soname.def;
9639
cat $export_symbols >> $output_objdir/$soname.def;
9641
$CC -shared $output_objdir/$soname.def $compiler_flags $libobjs $deplibs -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
9648
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
9649
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9652
archive_cmds='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
9653
archive_expsym_cmds='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9658
if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
9662
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9663
*** create shared libraries on Solaris systems. Therefore, libtool
9664
*** is disabling shared libraries support. We urge you to upgrade GNU
9665
*** binutils to release 2.9.1 or newer. Another option is to modify
9666
*** your PATH or compiler configuration so that the native linker is
9667
*** used, and then restart.
9670
elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
9671
archive_cmds='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
9672
archive_expsym_cmds='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9679
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9682
hardcode_shlibpath_var=no
9686
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
9687
archive_cmds='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
9688
archive_expsym_cmds='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9695
if test "$ld_shlibs" = yes; then
9696
runpath_var=LD_RUN_PATH
9697
hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
9698
export_dynamic_flag_spec='${wl}--export-dynamic'
9699
# ancient GNU ld didn't support --whole-archive et. al.
9700
if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
9701
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9703
whole_archive_flag_spec=
9707
# PORTME fill in a description of your system's linker (not GNU ld)
9710
allow_undefined_flag=unsupported
9711
always_export_symbols=yes
9712
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'
9713
# Note: this linker hardcodes the directories in LIBPATH if there
9714
# are no directories specified by -L.
9715
hardcode_minus_L=yes
9716
if test "$GCC" = yes && test -z "$link_static_flag"; then
9717
# Neither direct hardcoding nor static linking is supported with a
9719
hardcode_direct=unsupported
9724
if test "$host_cpu" = ia64; then
9725
# On IA64, the linker does run time linking by default, so we don't
9726
# have to do anything special.
9727
aix_use_runtimelinking=no
9728
exp_sym_flag='-Bexport'
9731
# If we're using GNU nm, then we don't want the "-C" option.
9732
# -C means demangle to AIX nm, but means don't demangle with GNU nm
9733
if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
9734
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'
9736
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'
9739
# KDE requires run time linking. Make it the default.
9740
aix_use_runtimelinking=yes
9741
exp_sym_flag='-bexport'
9742
no_entry_flag='-bnoentry'
9745
# When large executables or shared objects are built, AIX ld can
9746
# have problems creating the table of contents. If linking a library
9747
# or program results in "error TOC overflow" add -mminimal-toc to
9748
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9749
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9753
hardcode_libdir_separator=':'
9754
link_all_deplibs=yes
9756
if test "$GCC" = yes; then
9757
case $host_os in aix4.012|aix4.012.*)
9758
# We only want to do this on AIX 4.2 and lower, the check
9759
# below for broken collect2 doesn't work under 4.3+
9760
collect2name=`${CC} -print-prog-name=collect2`
9761
if test -f "$collect2name" && \
9762
strings "$collect2name" | grep resolve_lib_name >/dev/null
9764
# We have reworked collect2
9767
# We have old collect2
9768
hardcode_direct=unsupported
9769
# It fails to find uninstalled libraries when the uninstalled
9770
# path is not listed in the libpath. Setting hardcode_minus_L
9771
# to unsupported forces relinking
9772
hardcode_minus_L=yes
9773
hardcode_libdir_flag_spec='-L$libdir'
9774
hardcode_libdir_separator=
9777
shared_flag='-shared'
9780
if test "$host_cpu" = ia64; then
9781
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9782
# chokes on -Wl,-G. The following line is correct:
9785
if test "$aix_use_runtimelinking" = yes; then
9786
shared_flag='-qmkshrobj ${wl}-G'
9788
shared_flag='-qmkshrobj'
9793
# Let the compiler handle the export list.
9794
always_export_symbols=no
9795
if test "$aix_use_runtimelinking" = yes; then
9796
# Warning - without using the other runtime loading flags (-brtl),
9797
# -berok will link without error, but may produce a broken library.
9798
allow_undefined_flag='-berok'
9799
# Determine the default libpath from the value encoded in an empty executable.
9800
cat >conftest.$ac_ext <<_ACEOF
9803
cat confdefs.h >>conftest.$ac_ext
9804
cat >>conftest.$ac_ext <<_ACEOF
9805
/* end confdefs.h. */
9815
rm -f conftest.$ac_objext conftest$ac_exeext
9816
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9817
(eval $ac_link) 2>conftest.er1
9819
grep -v '^ *+' conftest.er1 >conftest.err
9821
cat conftest.err >&5
9822
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9823
(exit $ac_status); } &&
9824
{ ac_try='test -z "$ac_c_werror_flag"
9825
|| test ! -s conftest.err'
9826
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9829
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9830
(exit $ac_status); }; } &&
9831
{ ac_try='test -s conftest$ac_exeext'
9832
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9835
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9836
(exit $ac_status); }; }; then
9838
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9840
# Check for a 64-bit object if we didn't find anything.
9841
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; }
9844
echo "$as_me: failed program was:" >&5
9845
sed 's/^/| /' conftest.$ac_ext >&5
9848
rm -f conftest.err conftest.$ac_objext \
9849
conftest$ac_exeext conftest.$ac_ext
9850
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9852
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9853
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"
9854
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"
9856
if test "$host_cpu" = ia64; then
9857
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9858
allow_undefined_flag="-z nodefs"
9859
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"
9861
# Determine the default libpath from the value encoded in an empty executable.
9862
cat >conftest.$ac_ext <<_ACEOF
9865
cat confdefs.h >>conftest.$ac_ext
9866
cat >>conftest.$ac_ext <<_ACEOF
9867
/* end confdefs.h. */
9877
rm -f conftest.$ac_objext conftest$ac_exeext
9878
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9879
(eval $ac_link) 2>conftest.er1
9881
grep -v '^ *+' conftest.er1 >conftest.err
9883
cat conftest.err >&5
9884
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9885
(exit $ac_status); } &&
9886
{ ac_try='test -z "$ac_c_werror_flag"
9887
|| test ! -s conftest.err'
9888
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9891
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9892
(exit $ac_status); }; } &&
9893
{ ac_try='test -s conftest$ac_exeext'
9894
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9897
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9898
(exit $ac_status); }; }; then
9900
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9902
# Check for a 64-bit object if we didn't find anything.
9903
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; }
9906
echo "$as_me: failed program was:" >&5
9907
sed 's/^/| /' conftest.$ac_ext >&5
9910
rm -f conftest.err conftest.$ac_objext \
9911
conftest$ac_exeext conftest.$ac_ext
9912
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9914
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9915
# Warning - without using the other run time loading flags,
9916
# -berok will link without error, but may produce a broken library.
9917
no_undefined_flag=' ${wl}-bernotok'
9918
allow_undefined_flag=' ${wl}-berok'
9919
# -bexpall does not export symbols beginning with underscore (_)
9920
always_export_symbols=yes
9921
# Exported symbols can be pulled into shared objects from archives
9922
whole_archive_flag_spec=' '
9923
archive_cmds_need_lc=yes
9924
# This is similar to how AIX traditionally builds it's shared libraries.
9925
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'
9931
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)'
9932
hardcode_libdir_flag_spec='-L$libdir'
9933
hardcode_minus_L=yes
9934
# see comment about different semantics on the GNU ld section
9939
export_dynamic_flag_spec=-rdynamic
9942
cygwin* | mingw* | pw32*)
9943
# When not using gcc, we currently assume that we are using
9944
# Microsoft Visual C++.
9945
# hardcode_libdir_flag_spec is actually meaningless, as there is
9946
# no search path for DLLs.
9947
hardcode_libdir_flag_spec=' '
9948
allow_undefined_flag=no
9949
# Tell ltmain to make .lib files, not .a files.
9951
# Tell ltmain to make .dll files, not .so files.
9953
# FIXME: Setting linknames here is a bad hack.
9954
archive_cmds='$CC -o $lib $compiler_flags $libobjs `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
9955
# The linker will automatically build a .lib file if we build a DLL.
9956
old_archive_From_new_cmds='true'
9957
# FIXME: Should let the user specify the lib program.
9958
old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
9959
fix_srcfile_path='`cygpath -w "$srcfile"`'
9960
enable_shared_with_static_runtimes=yes
9963
darwin* | rhapsody*)
9964
if test "$GXX" = yes ; then
9965
archive_cmds_need_lc=no
9967
rhapsody* | darwin1.[012])
9968
allow_undefined_flag='-Wl,-undefined -Wl,suppress'
9971
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
9972
allow_undefined_flag='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
9974
case ${MACOSX_DEPLOYMENT_TARGET} in
9976
allow_undefined_flag='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
9979
allow_undefined_flag='-Wl,-undefined -Wl,dynamic_lookup'
9985
lt_int_apple_cc_single_mod=no
9986
output_verbose_link_cmd='echo'
9987
if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
9988
lt_int_apple_cc_single_mod=yes
9990
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
9991
archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring'
9993
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'
9995
module_cmds='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs'
9996
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
9997
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
9998
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}'
10000
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}'
10002
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}'
10004
hardcode_automatic=yes
10005
hardcode_shlibpath_var=unsupported
10006
whole_archive_flag_spec='-all_load $convenience'
10007
link_all_deplibs=yes
10014
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10015
hardcode_libdir_flag_spec='-L$libdir'
10016
hardcode_shlibpath_var=no
10023
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10024
# support. Future versions do this automatically, but an explicit c++rt0.o
10025
# does not break anything, and helps significantly (at the cost of a little
10028
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10029
hardcode_libdir_flag_spec='-R$libdir'
10030
hardcode_direct=yes
10031
hardcode_shlibpath_var=no
10034
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
10036
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10037
hardcode_direct=yes
10038
hardcode_minus_L=yes
10039
hardcode_shlibpath_var=no
10042
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10044
archive_cmds='$CC -shared -o $lib $compiler_flags $libobjs $deplibs'
10045
hardcode_libdir_flag_spec='-R$libdir'
10046
hardcode_direct=yes
10047
hardcode_shlibpath_var=no
10051
if test "$GCC" = yes; then
10052
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'
10054
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'
10056
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10057
hardcode_libdir_separator=:
10058
hardcode_direct=yes
10060
# hardcode_minus_L: Not really in the search PATH,
10061
# but as the default location of the library.
10062
hardcode_minus_L=yes
10063
export_dynamic_flag_spec='${wl}-E'
10067
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10068
case "$host_cpu" in
10070
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
10073
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $compiler_flags $libobjs $deplibs'
10077
case "$host_cpu" in
10079
archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
10082
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10086
if test "$with_gnu_ld" = no; then
10087
case "$host_cpu" in
10089
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10090
hardcode_libdir_flag_spec_ld='+b $libdir'
10091
hardcode_libdir_separator=:
10093
hardcode_shlibpath_var=no
10096
hardcode_libdir_flag_spec='-L$libdir'
10098
hardcode_shlibpath_var=no
10100
# hardcode_minus_L: Not really in the search PATH,
10101
# but as the default location of the library.
10102
hardcode_minus_L=yes
10105
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10106
hardcode_libdir_separator=:
10107
hardcode_direct=yes
10108
export_dynamic_flag_spec='${wl}-E'
10110
# hardcode_minus_L: Not really in the search PATH,
10111
# but as the default location of the library.
10112
hardcode_minus_L=yes
10118
irix5* | irix6* | nonstopux*)
10119
if test "$GCC" = yes; then
10120
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'
10122
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'
10123
hardcode_libdir_flag_spec_ld='-rpath $libdir'
10125
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10126
hardcode_libdir_separator=:
10127
link_all_deplibs=yes
10131
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10132
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10134
archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10136
hardcode_libdir_flag_spec='-R$libdir'
10137
hardcode_direct=yes
10138
hardcode_shlibpath_var=no
10142
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10143
hardcode_direct=yes
10144
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10145
hardcode_libdir_separator=:
10146
hardcode_shlibpath_var=no
10150
hardcode_direct=yes
10151
hardcode_shlibpath_var=no
10152
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10153
archive_cmds='$CC -shared $pic_flag -o $lib $compiler_flags $libobjs $deplibs'
10154
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10155
export_dynamic_flag_spec='${wl}-E'
10158
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10159
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10160
hardcode_libdir_flag_spec='-R$libdir'
10163
archive_cmds='$CC -shared $pic_flag -o $lib $compiler_flags $libobjs $deplibs'
10164
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10171
hardcode_libdir_flag_spec='-L$libdir'
10172
hardcode_minus_L=yes
10173
allow_undefined_flag=unsupported
10174
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'
10175
old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10179
if test "$GCC" = yes; then
10180
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10181
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'
10183
allow_undefined_flag=' -expect_unresolved \*'
10184
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'
10186
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10187
hardcode_libdir_separator=:
10190
osf4* | osf5*) # as osf3* with the addition of -msym flag
10191
if test "$GCC" = yes; then
10192
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10193
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'
10194
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10196
allow_undefined_flag=' -expect_unresolved \*'
10197
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'
10198
archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
10199
$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'
10201
# Both c and cxx compiler support -rpath directly
10202
hardcode_libdir_flag_spec='-rpath $libdir'
10204
hardcode_libdir_separator=:
10208
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10209
hardcode_shlibpath_var=no
10210
export_dynamic_flag_spec='${wl}-Bexport'
10211
runpath_var=LD_RUN_PATH
10212
hardcode_runpath_var=yes
10216
no_undefined_flag=' -z text'
10217
if test "$GCC" = yes; then
10218
archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
10219
archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10220
$CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs~$rm $lib.exp'
10222
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10223
archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10224
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
10226
hardcode_libdir_flag_spec='-R$libdir'
10227
hardcode_shlibpath_var=no
10229
solaris2.[0-5] | solaris2.[0-5].*) ;;
10230
*) # Supported since Solaris 2.6 (maybe 2.5.1?)
10231
whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
10233
link_all_deplibs=yes
10237
if test "x$host_vendor" = xsequent; then
10238
# Use $CC to link under sequent, because it throws in some extra .o
10239
# files that make .init and .fini sections work.
10240
archive_cmds='$CC -G ${wl}-h $soname -o $lib $compiler_flags $libobjs $deplibs'
10242
archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10244
hardcode_libdir_flag_spec='-L$libdir'
10245
hardcode_direct=yes
10246
hardcode_minus_L=yes
10247
hardcode_shlibpath_var=no
10251
case $host_vendor in
10253
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10254
hardcode_direct=yes # is this really true???
10257
## LD is ld it makes a PLAMLIB
10258
## CC just makes a GrossModule.
10259
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10260
reload_cmds='$CC -r -o $output$reload_objs'
10264
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10265
hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10268
runpath_var='LD_RUN_PATH'
10269
hardcode_shlibpath_var=no
10273
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10274
hardcode_shlibpath_var=no
10275
export_dynamic_flag_spec='-Bexport'
10279
if test -d /usr/nec; then
10280
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10281
hardcode_shlibpath_var=no
10282
runpath_var=LD_RUN_PATH
10283
hardcode_runpath_var=yes
10289
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10290
hardcode_direct=yes
10291
hardcode_minus_L=no
10292
hardcode_shlibpath_var=no
10293
hardcode_runpath_var=yes
10294
runpath_var=LD_RUN_PATH
10297
sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
10298
no_undefined_flag='${wl}-z ${wl}text'
10299
if test "$GCC" = yes; then
10300
archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
10302
archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
10304
runpath_var='LD_RUN_PATH'
10305
hardcode_shlibpath_var=no
10309
no_undefined_flag=' -z text'
10310
# $CC -shared without GNU ld will not create a library from C++
10311
# object files and a static libstdc++, better avoid it by now
10312
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10313
archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10314
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
10315
hardcode_libdir_flag_spec=
10316
hardcode_shlibpath_var=no
10317
runpath_var='LD_RUN_PATH'
10321
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10322
hardcode_libdir_flag_spec='-L$libdir'
10323
hardcode_shlibpath_var=no
10332
echo "$as_me:$LINENO: result: $ld_shlibs" >&5
10333
echo "${ECHO_T}$ld_shlibs" >&6
10334
test "$ld_shlibs" = no && can_build_shared=no
10336
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10337
if test "$GCC" = yes; then
10338
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10342
# Do we need to explicitly link libc?
10344
case "x$archive_cmds_need_lc" in
10346
# Assume -lc should be added
10347
archive_cmds_need_lc=yes
10349
if test "$enable_shared" = yes && test "$GCC" = yes; then
10350
case $archive_cmds in
10352
# FIXME: we may have to deal with multi-command sequences.
10355
# Test whether the compiler implicitly links with -lc since on some
10356
# systems, -lgcc has to come before -lc. If gcc already passes -lc
10357
# to ld, don't add -lc before -lgcc.
10358
echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10359
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
10361
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10363
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10364
(eval $ac_compile) 2>&5
10366
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10367
(exit $ac_status); } 2>conftest.err; then
10370
libobjs=conftest.$ac_objext
10372
wl=$lt_prog_compiler_wl
10378
lt_save_allow_undefined_flag=$allow_undefined_flag
10379
allow_undefined_flag=
10380
if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
10381
(eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
10383
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10384
(exit $ac_status); }
10386
archive_cmds_need_lc=no
10388
archive_cmds_need_lc=yes
10390
allow_undefined_flag=$lt_save_allow_undefined_flag
10392
cat conftest.err 1>&5
10395
echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
10396
echo "${ECHO_T}$archive_cmds_need_lc" >&6
10403
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
10404
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
10405
library_names_spec=
10406
libname_spec='lib$name'
10410
postuninstall_cmds=
10414
shlibpath_overrides_runpath=unknown
10416
dynamic_linker="$host_os ld.so"
10417
sys_lib_dlsearch_path_spec="/lib /usr/lib"
10418
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10419
need_lib_prefix=unknown
10420
hardcode_into_libs=no
10422
# when you set need_version to no, make sure it does not cause -set_version
10423
# flags to be left without arguments
10424
need_version=unknown
10429
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10430
shlibpath_var=LIBPATH
10432
# AIX 3 has no versioning support, so we append a major version to the name.
10433
soname_spec='${libname}${release}${shared_ext}$major'
10440
hardcode_into_libs=yes
10441
if test "$host_cpu" = ia64; then
10442
# AIX 5 supports IA64
10443
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10444
shlibpath_var=LD_LIBRARY_PATH
10446
# With GCC up to 2.95.x, collect2 would create an import file
10447
# for dependence libraries. The import file would start with
10448
# the line `#! .'. This would cause the generated library to
10449
# depend on `.', always an invalid library. This was fixed in
10450
# development snapshots of GCC prior to 3.0.
10452
aix4 | aix4.[01] | aix4.[01].*)
10453
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10455
echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
10458
can_build_shared=no
10462
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10463
# soname into executable. Probably we can add versioning support to
10464
# collect2, so additional links can be useful in future.
10465
if test "$aix_use_runtimelinking" = yes; then
10466
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
10467
# instead of lib<name>.a to let people know that these are not
10468
# typical AIX shared libraries.
10469
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10471
# We preserve .a as extension for shared libraries through AIX4.2
10472
# and later when we are not doing run time linking.
10473
library_names_spec='${libname}${release}.a $libname.a'
10474
soname_spec='${libname}${release}${shared_ext}$major'
10476
shlibpath_var=LIBPATH
10481
library_names_spec='$libname.ixlibrary $libname.a'
10482
# Create ${libname}_ixlibrary.a entries in /sys/libs.
10483
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'
10487
library_names_spec='${libname}${shared_ext}'
10488
dynamic_linker="$host_os ld.so"
10489
shlibpath_var=LIBRARY_PATH
10495
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10496
soname_spec='${libname}${release}${shared_ext}$major'
10497
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10498
shlibpath_var=LD_LIBRARY_PATH
10499
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10500
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10501
# the default ld.so.conf also contains /usr/contrib/lib and
10502
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10503
# libtool to hard-code these into programs
10506
cygwin* | mingw* | pw32*)
10507
version_type=windows
10512
case $GCC,$host_os in
10513
yes,cygwin* | yes,mingw* | yes,pw32*)
10514
library_names_spec='$libname.dll.a'
10515
# DLL is installed to $(libdir)/../bin by postinstall_cmds
10516
postinstall_cmds='base_file=`basename \${file}`~
10517
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
10518
dldir=$destdir/`dirname \$dlpath`~
10519
test -d \$dldir || mkdir -p \$dldir~
10520
$install_prog $dir/$dlname \$dldir/$dlname'
10521
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10522
dlpath=$dir/\$dldll~
10524
shlibpath_overrides_runpath=yes
10528
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
10529
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10530
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10533
# MinGW DLLs use traditional 'lib' prefix
10534
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10535
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10536
if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
10537
# It is most probably a Windows format PATH printed by
10538
# mingw gcc, but we are running on Cygwin. Gcc prints its search
10539
# path with ; separators, and with drive letters. We can handle the
10540
# drive letters (cygwin fileutils understands them), so leave them,
10541
# especially as we might pass files found there to a mingw objdump,
10542
# which wouldn't understand a cygwinified path. Ahh.
10543
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10545
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10549
# pw32 DLLs use 'pw' prefix rather than 'lib'
10550
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
10556
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10559
dynamic_linker='Win32 ld.exe'
10560
# FIXME: first we should search . and the directory the executable is in
10564
darwin* | rhapsody*)
10565
dynamic_linker="$host_os dyld"
10566
version_type=darwin
10569
library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10570
soname_spec='${libname}${release}${major}$shared_ext'
10571
shlibpath_overrides_runpath=yes
10572
shlibpath_var=DYLD_LIBRARY_PATH
10573
shrext='$(test .$module = .yes && echo .so || echo .dylib)'
10574
# Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
10575
if test "$GCC" = yes; then
10576
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"`
10578
sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
10580
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10587
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10588
soname_spec='${libname}${release}${shared_ext}$major'
10589
shlibpath_var=LD_LIBRARY_PATH
10600
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10601
soname_spec='${libname}${release}${shared_ext}$major'
10602
shlibpath_var=LD_LIBRARY_PATH
10603
shlibpath_overrides_runpath=no
10604
hardcode_into_libs=yes
10605
dynamic_linker='GNU ld.so'
10609
objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
10610
version_type=freebsd-$objformat
10611
case $version_type in
10613
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10618
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10622
shlibpath_var=LD_LIBRARY_PATH
10625
shlibpath_overrides_runpath=yes
10627
freebsd3.01* | freebsdelf3.01*)
10628
shlibpath_overrides_runpath=yes
10629
hardcode_into_libs=yes
10632
shlibpath_overrides_runpath=no
10633
hardcode_into_libs=yes
10642
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10643
soname_spec='${libname}${release}${shared_ext}$major'
10644
shlibpath_var=LD_LIBRARY_PATH
10645
hardcode_into_libs=yes
10648
hpux9* | hpux10* | hpux11*)
10649
# Give a soname corresponding to the major version so that dld.sl refuses to
10650
# link against other versions.
10654
case "$host_cpu" in
10657
hardcode_into_libs=yes
10658
dynamic_linker="$host_os dld.so"
10659
shlibpath_var=LD_LIBRARY_PATH
10660
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10661
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10662
soname_spec='${libname}${release}${shared_ext}$major'
10663
if test "X$HPUX_IA64_MODE" = X32; then
10664
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10666
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10668
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10672
hardcode_into_libs=yes
10673
dynamic_linker="$host_os dld.sl"
10674
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10675
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10676
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10677
soname_spec='${libname}${release}${shared_ext}$major'
10678
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10679
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10683
dynamic_linker="$host_os dld.sl"
10684
shlibpath_var=SHLIB_PATH
10685
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10686
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10687
soname_spec='${libname}${release}${shared_ext}$major'
10690
# HP-UX runs *really* slowly unless shared libraries are mode 555.
10691
postinstall_cmds='chmod 555 $lib'
10694
irix5* | irix6* | nonstopux*)
10696
nonstopux*) version_type=nonstopux ;;
10698
if test "$lt_cv_prog_gnu_ld" = yes; then
10706
soname_spec='${libname}${release}${shared_ext}$major'
10707
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10709
irix5* | nonstopux*)
10710
libsuff= shlibsuff=
10713
case $LD in # libtool.m4 will add one of these switches to LD
10714
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10715
libsuff= shlibsuff= libmagic=32-bit;;
10716
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10717
libsuff=32 shlibsuff=N32 libmagic=N32;;
10718
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10719
libsuff=64 shlibsuff=64 libmagic=64-bit;;
10720
*) libsuff= shlibsuff= libmagic=never-match;;
10724
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10725
shlibpath_overrides_runpath=no
10726
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10727
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10728
hardcode_into_libs=yes
10731
# No shared lib support for Linux oldld, aout, or coff.
10732
linux*oldld* | linux*aout* | linux*coff*)
10736
# This must be Linux ELF.
10741
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10742
soname_spec='${libname}${release}${shared_ext}$major'
10743
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10745
if test "x$LINUX_64_MODE" = x64; then
10746
# Some platforms are per default 64-bit, so there's no /lib64
10747
if test -d /lib64; then
10751
shlibpath_var=LD_LIBRARY_PATH
10752
shlibpath_overrides_runpath=no
10753
sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
10754
sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
10755
# This implies no fast_install, which is unacceptable.
10756
# Some rework will be needed to allow for fast_install
10757
# before this can be enabled.
10758
hardcode_into_libs=yes
10760
# We used to test for /lib/ld.so.1 and disable shared libraries on
10761
# powerpc, because MkLinux only supported shared libraries with the
10762
# GNU dynamic linker. Since this was broken with cross compilers,
10763
# most powerpc-linux boxes support dynamic linking these days and
10764
# people can always --disable-shared, the test was removed, and we
10765
# assume the GNU/Linux dynamic linker is in use.
10766
dynamic_linker='GNU/Linux ld.so'
10773
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10774
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10775
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10776
dynamic_linker='NetBSD (a.out) ld.so'
10778
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
10779
soname_spec='${libname}${release}${shared_ext}$major'
10780
dynamic_linker='NetBSD ld.elf_so'
10782
shlibpath_var=LD_LIBRARY_PATH
10783
shlibpath_overrides_runpath=yes
10784
hardcode_into_libs=yes
10789
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10790
shlibpath_var=LD_LIBRARY_PATH
10791
shlibpath_overrides_runpath=yes
10798
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10799
soname_spec='${libname}${release}${shared_ext}$major'
10800
shlibpath_var=LD_LIBRARY_PATH
10801
shlibpath_overrides_runpath=yes
10808
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10809
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10810
shlibpath_var=LD_LIBRARY_PATH
10811
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10813
openbsd2.[89] | openbsd2.[89].*)
10814
shlibpath_overrides_runpath=no
10817
shlibpath_overrides_runpath=yes
10821
shlibpath_overrides_runpath=yes
10826
libname_spec='$name'
10829
library_names_spec='$libname${shared_ext} $libname.a'
10830
dynamic_linker='OS/2 ld.exe'
10831
shlibpath_var=LIBPATH
10834
osf3* | osf4* | osf5*)
10838
soname_spec='${libname}${release}${shared_ext}$major'
10839
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10840
shlibpath_var=LD_LIBRARY_PATH
10841
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10842
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10847
soname_spec='${libname}${release}${shared_ext}$major'
10848
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10849
shlibpath_var=LD_LIBRARY_PATH
10856
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10857
soname_spec='${libname}${release}${shared_ext}$major'
10858
shlibpath_var=LD_LIBRARY_PATH
10859
shlibpath_overrides_runpath=yes
10860
hardcode_into_libs=yes
10861
# ldd complains unless libraries are executable
10862
postinstall_cmds='chmod +x $lib'
10867
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10868
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10869
shlibpath_var=LD_LIBRARY_PATH
10870
shlibpath_overrides_runpath=yes
10871
if test "$with_gnu_ld" = yes; then
10877
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10879
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10880
soname_spec='${libname}${release}${shared_ext}$major'
10881
shlibpath_var=LD_LIBRARY_PATH
10882
case $host_vendor in
10884
shlibpath_overrides_runpath=no
10886
export_dynamic_flag_spec='${wl}-Blargedynsym'
10887
runpath_var=LD_RUN_PATH
10895
shlibpath_overrides_runpath=no
10896
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10902
if test -d /usr/nec ;then
10904
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10905
soname_spec='$libname${shared_ext}.$major'
10906
shlibpath_var=LD_LIBRARY_PATH
10912
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10913
soname_spec='${libname}${release}${shared_ext}$major'
10914
shlibpath_var=LD_LIBRARY_PATH
10921
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10922
echo "${ECHO_T}$dynamic_linker" >&6
10923
test "$dynamic_linker" = no && can_build_shared=no
10925
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10926
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
10928
if test -n "$hardcode_libdir_flag_spec" || \
10929
test -n "$runpath_var " || \
10930
test "X$hardcode_automatic"="Xyes" ; then
10932
# We can hardcode non-existant directories.
10933
if test "$hardcode_direct" != no &&
10934
# If the only mechanism to avoid hardcoding is shlibpath_var, we
10935
# have to relink, otherwise we might link with an installed library
10936
# when we should be linking with a yet-to-be-installed one
10937
## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
10938
test "$hardcode_minus_L" != no; then
10939
# Linking always hardcodes the temporary library directory.
10940
hardcode_action=relink
10942
# We can link without hardcoding, and we can hardcode nonexisting dirs.
10943
hardcode_action=immediate
10946
# We cannot hardcode anything, or else we can only hardcode existing
10948
hardcode_action=unsupported
10950
echo "$as_me:$LINENO: result: $hardcode_action" >&5
10951
echo "${ECHO_T}$hardcode_action" >&6
10953
if test "$hardcode_action" = relink; then
10954
# Fast installation is not supported
10955
enable_fast_install=no
10956
elif test "$shlibpath_overrides_runpath" = yes ||
10957
test "$enable_shared" = no; then
10958
# Fast installation is not necessary
10959
enable_fast_install=needless
10964
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10965
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
10966
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
10967
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10968
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10969
echo "$as_me:$LINENO: result: yes" >&5
10970
echo "${ECHO_T}yes" >&6
10972
# FIXME - insert some real tests, host_os isn't really good enough
10975
if test -n "$STRIP" ; then
10976
striplib="$STRIP -x"
10977
echo "$as_me:$LINENO: result: yes" >&5
10978
echo "${ECHO_T}yes" >&6
10980
echo "$as_me:$LINENO: result: no" >&5
10981
echo "${ECHO_T}no" >&6
10985
echo "$as_me:$LINENO: result: no" >&5
10986
echo "${ECHO_T}no" >&6
10991
if test "x$enable_dlopen" != xyes; then
10992
enable_dlopen=unknown
10993
enable_dlopen_self=unknown
10994
enable_dlopen_self_static=unknown
11001
lt_cv_dlopen="load_add_on"
11003
lt_cv_dlopen_self=yes
11007
lt_cv_dlopen="LoadLibrary"
11012
lt_cv_dlopen="dlopen"
11017
# if libdl is installed we need to link against it
11018
echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11019
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11020
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11021
echo $ECHO_N "(cached) $ECHO_C" >&6
11023
ac_check_lib_save_LIBS=$LIBS
11025
cat >conftest.$ac_ext <<_ACEOF
11028
cat confdefs.h >>conftest.$ac_ext
11029
cat >>conftest.$ac_ext <<_ACEOF
11030
/* end confdefs.h. */
11032
/* Override any gcc2 internal prototype to avoid an error. */
11036
/* We use char because int might match the return type of a gcc2
11037
builtin and then its argument prototype would still apply. */
11047
rm -f conftest.$ac_objext conftest$ac_exeext
11048
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11049
(eval $ac_link) 2>conftest.er1
11051
grep -v '^ *+' conftest.er1 >conftest.err
11053
cat conftest.err >&5
11054
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11055
(exit $ac_status); } &&
11056
{ ac_try='test -z "$ac_c_werror_flag"
11057
|| test ! -s conftest.err'
11058
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11059
(eval $ac_try) 2>&5
11061
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11062
(exit $ac_status); }; } &&
11063
{ ac_try='test -s conftest$ac_exeext'
11064
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11065
(eval $ac_try) 2>&5
11067
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11068
(exit $ac_status); }; }; then
11069
ac_cv_lib_dl_dlopen=yes
11071
echo "$as_me: failed program was:" >&5
11072
sed 's/^/| /' conftest.$ac_ext >&5
11074
ac_cv_lib_dl_dlopen=no
11076
rm -f conftest.err conftest.$ac_objext \
11077
conftest$ac_exeext conftest.$ac_ext
11078
LIBS=$ac_check_lib_save_LIBS
11080
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11081
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11082
if test $ac_cv_lib_dl_dlopen = yes; then
11083
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11086
lt_cv_dlopen="dyld"
11088
lt_cv_dlopen_self=yes
11095
echo "$as_me:$LINENO: checking for shl_load" >&5
11096
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
11097
if test "${ac_cv_func_shl_load+set}" = set; then
11098
echo $ECHO_N "(cached) $ECHO_C" >&6
11100
cat >conftest.$ac_ext <<_ACEOF
11103
cat confdefs.h >>conftest.$ac_ext
11104
cat >>conftest.$ac_ext <<_ACEOF
11105
/* end confdefs.h. */
11106
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
11107
For example, HP-UX 11i <limits.h> declares gettimeofday. */
11108
#define shl_load innocuous_shl_load
11110
/* System header to define __stub macros and hopefully few prototypes,
11111
which can conflict with char shl_load (); below.
11112
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11113
<limits.h> exists even on freestanding compilers. */
11116
# include <limits.h>
11118
# include <assert.h>
11123
/* Override any gcc2 internal prototype to avoid an error. */
11128
/* We use char because int might match the return type of a gcc2
11129
builtin and then its argument prototype would still apply. */
11131
/* The GNU C library defines this for functions which it implements
11132
to always fail with ENOSYS. Some functions are actually named
11133
something starting with __ and the normal name is an alias. */
11134
#if defined (__stub_shl_load) || defined (__stub___shl_load)
11137
char (*f) () = shl_load;
11146
return f != shl_load;
11151
rm -f conftest.$ac_objext conftest$ac_exeext
11152
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11153
(eval $ac_link) 2>conftest.er1
11155
grep -v '^ *+' conftest.er1 >conftest.err
11157
cat conftest.err >&5
11158
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11159
(exit $ac_status); } &&
11160
{ ac_try='test -z "$ac_c_werror_flag"
11161
|| test ! -s conftest.err'
11162
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11163
(eval $ac_try) 2>&5
11165
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11166
(exit $ac_status); }; } &&
11167
{ ac_try='test -s conftest$ac_exeext'
11168
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11169
(eval $ac_try) 2>&5
11171
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11172
(exit $ac_status); }; }; then
11173
ac_cv_func_shl_load=yes
11175
echo "$as_me: failed program was:" >&5
11176
sed 's/^/| /' conftest.$ac_ext >&5
11178
ac_cv_func_shl_load=no
11180
rm -f conftest.err conftest.$ac_objext \
11181
conftest$ac_exeext conftest.$ac_ext
11183
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11184
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
11185
if test $ac_cv_func_shl_load = yes; then
11186
lt_cv_dlopen="shl_load"
11188
echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11189
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
11190
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11191
echo $ECHO_N "(cached) $ECHO_C" >&6
11193
ac_check_lib_save_LIBS=$LIBS
11195
cat >conftest.$ac_ext <<_ACEOF
11198
cat confdefs.h >>conftest.$ac_ext
11199
cat >>conftest.$ac_ext <<_ACEOF
11200
/* end confdefs.h. */
11202
/* Override any gcc2 internal prototype to avoid an error. */
11206
/* We use char because int might match the return type of a gcc2
11207
builtin and then its argument prototype would still apply. */
11217
rm -f conftest.$ac_objext conftest$ac_exeext
11218
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11219
(eval $ac_link) 2>conftest.er1
11221
grep -v '^ *+' conftest.er1 >conftest.err
11223
cat conftest.err >&5
11224
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11225
(exit $ac_status); } &&
11226
{ ac_try='test -z "$ac_c_werror_flag"
11227
|| test ! -s conftest.err'
11228
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11229
(eval $ac_try) 2>&5
11231
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11232
(exit $ac_status); }; } &&
11233
{ ac_try='test -s conftest$ac_exeext'
11234
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11235
(eval $ac_try) 2>&5
11237
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11238
(exit $ac_status); }; }; then
11239
ac_cv_lib_dld_shl_load=yes
11241
echo "$as_me: failed program was:" >&5
11242
sed 's/^/| /' conftest.$ac_ext >&5
11244
ac_cv_lib_dld_shl_load=no
11246
rm -f conftest.err conftest.$ac_objext \
11247
conftest$ac_exeext conftest.$ac_ext
11248
LIBS=$ac_check_lib_save_LIBS
11250
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11251
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
11252
if test $ac_cv_lib_dld_shl_load = yes; then
11253
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
11255
echo "$as_me:$LINENO: checking for dlopen" >&5
11256
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
11257
if test "${ac_cv_func_dlopen+set}" = set; then
11258
echo $ECHO_N "(cached) $ECHO_C" >&6
11260
cat >conftest.$ac_ext <<_ACEOF
11263
cat confdefs.h >>conftest.$ac_ext
11264
cat >>conftest.$ac_ext <<_ACEOF
11265
/* end confdefs.h. */
11266
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
11267
For example, HP-UX 11i <limits.h> declares gettimeofday. */
11268
#define dlopen innocuous_dlopen
11270
/* System header to define __stub macros and hopefully few prototypes,
11271
which can conflict with char dlopen (); below.
11272
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11273
<limits.h> exists even on freestanding compilers. */
11276
# include <limits.h>
11278
# include <assert.h>
11283
/* Override any gcc2 internal prototype to avoid an error. */
11288
/* We use char because int might match the return type of a gcc2
11289
builtin and then its argument prototype would still apply. */
11291
/* The GNU C library defines this for functions which it implements
11292
to always fail with ENOSYS. Some functions are actually named
11293
something starting with __ and the normal name is an alias. */
11294
#if defined (__stub_dlopen) || defined (__stub___dlopen)
11297
char (*f) () = dlopen;
11306
return f != dlopen;
11311
rm -f conftest.$ac_objext conftest$ac_exeext
11312
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11313
(eval $ac_link) 2>conftest.er1
11315
grep -v '^ *+' conftest.er1 >conftest.err
11317
cat conftest.err >&5
11318
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11319
(exit $ac_status); } &&
11320
{ ac_try='test -z "$ac_c_werror_flag"
11321
|| test ! -s conftest.err'
11322
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11323
(eval $ac_try) 2>&5
11325
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11326
(exit $ac_status); }; } &&
11327
{ ac_try='test -s conftest$ac_exeext'
11328
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11329
(eval $ac_try) 2>&5
11331
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11332
(exit $ac_status); }; }; then
11333
ac_cv_func_dlopen=yes
11335
echo "$as_me: failed program was:" >&5
11336
sed 's/^/| /' conftest.$ac_ext >&5
11338
ac_cv_func_dlopen=no
11340
rm -f conftest.err conftest.$ac_objext \
11341
conftest$ac_exeext conftest.$ac_ext
11343
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11344
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
11345
if test $ac_cv_func_dlopen = yes; then
11346
lt_cv_dlopen="dlopen"
11348
echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11349
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11350
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11351
echo $ECHO_N "(cached) $ECHO_C" >&6
11353
ac_check_lib_save_LIBS=$LIBS
11355
cat >conftest.$ac_ext <<_ACEOF
11358
cat confdefs.h >>conftest.$ac_ext
11359
cat >>conftest.$ac_ext <<_ACEOF
11360
/* end confdefs.h. */
11362
/* Override any gcc2 internal prototype to avoid an error. */
11366
/* We use char because int might match the return type of a gcc2
11367
builtin and then its argument prototype would still apply. */
11377
rm -f conftest.$ac_objext conftest$ac_exeext
11378
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11379
(eval $ac_link) 2>conftest.er1
11381
grep -v '^ *+' conftest.er1 >conftest.err
11383
cat conftest.err >&5
11384
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11385
(exit $ac_status); } &&
11386
{ ac_try='test -z "$ac_c_werror_flag"
11387
|| test ! -s conftest.err'
11388
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11389
(eval $ac_try) 2>&5
11391
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11392
(exit $ac_status); }; } &&
11393
{ ac_try='test -s conftest$ac_exeext'
11394
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11395
(eval $ac_try) 2>&5
11397
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11398
(exit $ac_status); }; }; then
11399
ac_cv_lib_dl_dlopen=yes
11401
echo "$as_me: failed program was:" >&5
11402
sed 's/^/| /' conftest.$ac_ext >&5
11404
ac_cv_lib_dl_dlopen=no
11406
rm -f conftest.err conftest.$ac_objext \
11407
conftest$ac_exeext conftest.$ac_ext
11408
LIBS=$ac_check_lib_save_LIBS
11410
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11411
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11412
if test $ac_cv_lib_dl_dlopen = yes; then
11413
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11415
echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11416
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
11417
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11418
echo $ECHO_N "(cached) $ECHO_C" >&6
11420
ac_check_lib_save_LIBS=$LIBS
11421
LIBS="-lsvld $LIBS"
11422
cat >conftest.$ac_ext <<_ACEOF
11425
cat confdefs.h >>conftest.$ac_ext
11426
cat >>conftest.$ac_ext <<_ACEOF
11427
/* end confdefs.h. */
11429
/* Override any gcc2 internal prototype to avoid an error. */
11433
/* We use char because int might match the return type of a gcc2
11434
builtin and then its argument prototype would still apply. */
11444
rm -f conftest.$ac_objext conftest$ac_exeext
11445
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11446
(eval $ac_link) 2>conftest.er1
11448
grep -v '^ *+' conftest.er1 >conftest.err
11450
cat conftest.err >&5
11451
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11452
(exit $ac_status); } &&
11453
{ ac_try='test -z "$ac_c_werror_flag"
11454
|| test ! -s conftest.err'
11455
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11456
(eval $ac_try) 2>&5
11458
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11459
(exit $ac_status); }; } &&
11460
{ ac_try='test -s conftest$ac_exeext'
11461
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11462
(eval $ac_try) 2>&5
11464
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11465
(exit $ac_status); }; }; then
11466
ac_cv_lib_svld_dlopen=yes
11468
echo "$as_me: failed program was:" >&5
11469
sed 's/^/| /' conftest.$ac_ext >&5
11471
ac_cv_lib_svld_dlopen=no
11473
rm -f conftest.err conftest.$ac_objext \
11474
conftest$ac_exeext conftest.$ac_ext
11475
LIBS=$ac_check_lib_save_LIBS
11477
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11478
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
11479
if test $ac_cv_lib_svld_dlopen = yes; then
11480
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11482
echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11483
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
11484
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11485
echo $ECHO_N "(cached) $ECHO_C" >&6
11487
ac_check_lib_save_LIBS=$LIBS
11489
cat >conftest.$ac_ext <<_ACEOF
11492
cat confdefs.h >>conftest.$ac_ext
11493
cat >>conftest.$ac_ext <<_ACEOF
11494
/* end confdefs.h. */
11496
/* Override any gcc2 internal prototype to avoid an error. */
11500
/* We use char because int might match the return type of a gcc2
11501
builtin and then its argument prototype would still apply. */
11511
rm -f conftest.$ac_objext conftest$ac_exeext
11512
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11513
(eval $ac_link) 2>conftest.er1
11515
grep -v '^ *+' conftest.er1 >conftest.err
11517
cat conftest.err >&5
11518
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11519
(exit $ac_status); } &&
11520
{ ac_try='test -z "$ac_c_werror_flag"
11521
|| test ! -s conftest.err'
11522
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11523
(eval $ac_try) 2>&5
11525
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11526
(exit $ac_status); }; } &&
11527
{ ac_try='test -s conftest$ac_exeext'
11528
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11529
(eval $ac_try) 2>&5
11531
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11532
(exit $ac_status); }; }; then
11533
ac_cv_lib_dld_dld_link=yes
11535
echo "$as_me: failed program was:" >&5
11536
sed 's/^/| /' conftest.$ac_ext >&5
11538
ac_cv_lib_dld_dld_link=no
11540
rm -f conftest.err conftest.$ac_objext \
11541
conftest$ac_exeext conftest.$ac_ext
11542
LIBS=$ac_check_lib_save_LIBS
11544
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11545
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
11546
if test $ac_cv_lib_dld_dld_link = yes; then
11547
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
11568
if test "x$lt_cv_dlopen" != xno; then
11574
case $lt_cv_dlopen in
11576
save_CPPFLAGS="$CPPFLAGS"
11577
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11579
save_LDFLAGS="$LDFLAGS"
11580
eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11583
LIBS="$lt_cv_dlopen_libs $LIBS"
11585
echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
11586
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
11587
if test "${lt_cv_dlopen_self+set}" = set; then
11588
echo $ECHO_N "(cached) $ECHO_C" >&6
11590
if test "$cross_compiling" = yes; then :
11591
lt_cv_dlopen_self=cross
11593
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11594
lt_status=$lt_dlunknown
11595
cat > conftest.$ac_ext <<EOF
11596
#line 11596 "configure"
11597
#include "confdefs.h"
11606
# define LT_DLGLOBAL RTLD_GLOBAL
11609
# define LT_DLGLOBAL DL_GLOBAL
11611
# define LT_DLGLOBAL 0
11615
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11616
find out it does not work in some platform. */
11617
#ifndef LT_DLLAZY_OR_NOW
11619
# define LT_DLLAZY_OR_NOW RTLD_LAZY
11622
# define LT_DLLAZY_OR_NOW DL_LAZY
11625
# define LT_DLLAZY_OR_NOW RTLD_NOW
11628
# define LT_DLLAZY_OR_NOW DL_NOW
11630
# define LT_DLLAZY_OR_NOW 0
11638
extern "C" void exit (int);
11641
void fnord() { int i=42;}
11644
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11645
int status = $lt_dlunknown;
11649
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11650
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11651
/* dlclose (self); */
11657
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11658
(eval $ac_link) 2>&5
11660
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11661
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11662
(./conftest; exit; ) 2>/dev/null
11664
case x$lt_status in
11665
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11666
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11667
x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
11670
# compilation failed
11671
lt_cv_dlopen_self=no
11678
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11679
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
11681
if test "x$lt_cv_dlopen_self" = xyes; then
11682
LDFLAGS="$LDFLAGS $link_static_flag"
11683
echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11684
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
11685
if test "${lt_cv_dlopen_self_static+set}" = set; then
11686
echo $ECHO_N "(cached) $ECHO_C" >&6
11688
if test "$cross_compiling" = yes; then :
11689
lt_cv_dlopen_self_static=cross
11691
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11692
lt_status=$lt_dlunknown
11693
cat > conftest.$ac_ext <<EOF
11694
#line 11694 "configure"
11695
#include "confdefs.h"
11704
# define LT_DLGLOBAL RTLD_GLOBAL
11707
# define LT_DLGLOBAL DL_GLOBAL
11709
# define LT_DLGLOBAL 0
11713
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11714
find out it does not work in some platform. */
11715
#ifndef LT_DLLAZY_OR_NOW
11717
# define LT_DLLAZY_OR_NOW RTLD_LAZY
11720
# define LT_DLLAZY_OR_NOW DL_LAZY
11723
# define LT_DLLAZY_OR_NOW RTLD_NOW
11726
# define LT_DLLAZY_OR_NOW DL_NOW
11728
# define LT_DLLAZY_OR_NOW 0
11736
extern "C" void exit (int);
11739
void fnord() { int i=42;}
11742
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11743
int status = $lt_dlunknown;
11747
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11748
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11749
/* dlclose (self); */
11755
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11756
(eval $ac_link) 2>&5
11758
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11759
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11760
(./conftest; exit; ) 2>/dev/null
11762
case x$lt_status in
11763
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11764
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11765
x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
11768
# compilation failed
11769
lt_cv_dlopen_self_static=no
11776
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11777
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
11780
CPPFLAGS="$save_CPPFLAGS"
11781
LDFLAGS="$save_LDFLAGS"
11786
case $lt_cv_dlopen_self in
11787
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11788
*) enable_dlopen_self=unknown ;;
11791
case $lt_cv_dlopen_self_static in
11792
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11793
*) enable_dlopen_self_static=unknown ;;
11798
# Report which librarie types wil actually be built
11799
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11800
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
11801
echo "$as_me:$LINENO: result: $can_build_shared" >&5
11802
echo "${ECHO_T}$can_build_shared" >&6
11804
echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11805
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
11806
test "$can_build_shared" = "no" && enable_shared=no
11808
# On AIX, shared libraries and static libraries use the same namespace, and
11809
# are all built from PIC.
11812
test "$enable_shared" = yes && enable_static=no
11813
if test -n "$RANLIB"; then
11814
archive_cmds="$archive_cmds~\$RANLIB \$lib"
11815
postinstall_cmds='$RANLIB $lib'
11820
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11821
test "$enable_shared" = yes && enable_static=no
11824
darwin* | rhapsody*)
11825
if test "$GCC" = yes; then
11826
archive_cmds_need_lc=no
11828
rhapsody* | darwin1.[012])
11829
allow_undefined_flag='-Wl,-undefined -Wl,suppress'
11832
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
11833
allow_undefined_flag='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
11835
case ${MACOSX_DEPLOYMENT_TARGET} in
11837
allow_undefined_flag='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
11840
allow_undefined_flag='-Wl,-undefined -Wl,dynamic_lookup'
11846
output_verbose_link_cmd='echo'
11847
archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring'
11848
module_cmds='$CC $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs'
11849
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
11850
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}'
11851
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}'
11853
hardcode_automatic=yes
11854
hardcode_shlibpath_var=unsupported
11855
whole_archive_flag_spec='-all_load $convenience'
11856
link_all_deplibs=yes
11862
echo "$as_me:$LINENO: result: $enable_shared" >&5
11863
echo "${ECHO_T}$enable_shared" >&6
11865
echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11866
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
11867
# Make sure either enable_shared or enable_static is yes.
11868
test "$enable_shared" = yes || enable_static=yes
11869
echo "$as_me:$LINENO: result: $enable_static" >&5
11870
echo "${ECHO_T}$enable_static" >&6
11872
# The else clause should only fire when bootstrapping the
11873
# libtool distribution, otherwise you forgot to ship ltmain.sh
11874
# with your package, and you will get complaints that there are
11875
# no rules to generate ltmain.sh.
11876
if test -f "$ltmain"; then
11877
# See if we are running on zsh, and set the options which allow our commands through
11878
# without removal of \ escapes.
11879
if test -n "${ZSH_VERSION+set}" ; then
11880
setopt NO_GLOB_SUBST
11882
# Now quote all the things that may contain metacharacters while being
11883
# careful not to overquote the AC_SUBSTed values. We take copies of the
11884
# variables and quote the copies for generation of the libtool script.
11885
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
11886
libname_spec library_names_spec soname_spec extract_expsyms_cmds \
11887
old_striplib striplib file_magic_cmd finish_cmds finish_eval \
11888
deplibs_check_method reload_flag reload_cmds need_locks \
11889
lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
11890
lt_cv_sys_global_symbol_to_c_name_address \
11891
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
11892
old_postinstall_cmds old_postuninstall_cmds \
11896
lt_prog_compiler_wl \
11897
lt_prog_compiler_pic \
11898
lt_prog_compiler_static \
11899
lt_prog_compiler_no_builtin_flag \
11900
export_dynamic_flag_spec \
11901
thread_safe_flag_spec \
11902
whole_archive_flag_spec \
11903
enable_shared_with_static_runtimes \
11905
old_archive_from_new_cmds \
11910
compiler_lib_search_path \
11912
archive_expsym_cmds \
11914
postuninstall_cmds \
11915
old_archive_from_expsyms_cmds \
11916
allow_undefined_flag \
11917
no_undefined_flag \
11918
export_symbols_cmds \
11919
hardcode_libdir_flag_spec \
11920
hardcode_libdir_flag_spec_ld \
11921
hardcode_libdir_separator \
11922
hardcode_automatic \
11924
module_expsym_cmds \
11925
lt_cv_prog_compiler_c_o \
11927
include_expsyms; do
11930
old_archive_cmds | \
11931
old_archive_from_new_cmds | \
11933
archive_expsym_cmds | \
11935
module_expsym_cmds | \
11936
old_archive_from_expsyms_cmds | \
11937
export_symbols_cmds | \
11938
extract_expsyms_cmds | reload_cmds | finish_cmds | \
11939
postinstall_cmds | postuninstall_cmds | \
11940
old_postinstall_cmds | old_postuninstall_cmds | \
11941
sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
11942
# Double-quote double-evaled strings.
11943
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
11946
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
11952
*'\$0 --fallback-echo"')
11953
lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
11957
cfgfile="${ofile}T"
11958
trap "$rm \"$cfgfile\"; exit 1" 1 2 15
11960
{ echo "$as_me:$LINENO: creating $ofile" >&5
11961
echo "$as_me: creating $ofile" >&6;}
11963
cat <<__EOF__ >> "$cfgfile"
11966
# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
11967
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
11968
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
11970
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
11971
# Free Software Foundation, Inc.
11973
# This file is part of GNU Libtool:
11974
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
11976
# This program is free software; you can redistribute it and/or modify
11977
# it under the terms of the GNU General Public License as published by
11978
# the Free Software Foundation; either version 2 of the License, or
11979
# (at your option) any later version.
11981
# This program is distributed in the hope that it will be useful, but
11982
# WITHOUT ANY WARRANTY; without even the implied warranty of
11983
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11984
# General Public License for more details.
11986
# You should have received a copy of the GNU General Public License
11987
# along with this program; if not, write to the Free Software
11988
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
11990
# As a special exception to the GNU General Public License, if you
11991
# distribute this file as part of a program that contains a
11992
# configuration script generated by Autoconf, you may include it under
11993
# the same distribution terms that you use for the rest of that program.
11995
# A sed program that does not truncate output.
11998
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
11999
Xsed="$SED -e s/^X//"
12001
# The HP-UX ksh and POSIX shell print the target directory to stdout
12002
# if CDPATH is set.
12003
if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
12005
# The names of the tagged configurations supported by this script.
12008
# ### BEGIN LIBTOOL CONFIG
12010
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12012
# Shell to use when invoking shell scripts.
12015
# Whether or not to build shared libraries.
12016
build_libtool_libs=$enable_shared
12018
# Whether or not to build static libraries.
12019
build_old_libs=$enable_static
12021
# Whether or not to add -lc for building shared libraries.
12022
build_libtool_need_lc=$archive_cmds_need_lc
12024
# Whether or not to disallow shared libs when runtime libs are static
12025
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
12027
# Whether or not to optimize for fast installation.
12028
fast_install=$enable_fast_install
12031
host_alias=$host_alias
12034
# An echo program that does not interpret backslashes.
12039
AR_FLAGS=$lt_AR_FLAGS
12044
# A language-specific compiler.
12047
# Is the compiler the GNU C compiler?
12053
# The linker used to build libraries.
12056
# Whether we need hard or soft links.
12059
# A BSD-compatible nm program.
12062
# A symbol stripping program
12065
# Used to examine libraries when file_magic_cmd begins "file"
12066
MAGIC_CMD=$MAGIC_CMD
12068
# Used on cygwin: DLL creation program.
12071
# Used on cygwin: object dumper.
12074
# Used on cygwin: assembler.
12077
# The name of the directory that contains temporary libtool files.
12080
# How to create reloadable object files.
12081
reload_flag=$lt_reload_flag
12082
reload_cmds=$lt_reload_cmds
12084
# How to pass a linker flag through the compiler.
12085
wl=$lt_lt_prog_compiler_wl
12087
# Object file suffix (normally "o").
12088
objext="$ac_objext"
12090
# Old archive suffix (normally "a").
12093
# Shared library suffix (normally ".so").
12096
# Executable file suffix (normally "").
12099
# Additional compiler flags for building library objects.
12100
pic_flag=$lt_lt_prog_compiler_pic
12103
# What is the maximum length of a command?
12104
max_cmd_len=$lt_cv_sys_max_cmd_len
12106
# Does compiler simultaneously support -c and -o options?
12107
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
12109
# Must we lock files when doing compilation ?
12110
need_locks=$lt_need_locks
12112
# Do we need the lib prefix for modules?
12113
need_lib_prefix=$need_lib_prefix
12115
# Do we need a version for libraries?
12116
need_version=$need_version
12118
# Whether dlopen is supported.
12119
dlopen_support=$enable_dlopen
12121
# Whether dlopen of programs is supported.
12122
dlopen_self=$enable_dlopen_self
12124
# Whether dlopen of statically linked programs is supported.
12125
dlopen_self_static=$enable_dlopen_self_static
12127
# Compiler flag to prevent dynamic linking.
12128
link_static_flag=$lt_lt_prog_compiler_static
12130
# Compiler flag to turn off builtin functions.
12131
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
12133
# Compiler flag to allow reflexive dlopens.
12134
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
12136
# Compiler flag to generate shared objects directly from archives.
12137
whole_archive_flag_spec=$lt_whole_archive_flag_spec
12139
# Compiler flag to generate thread-safe objects.
12140
thread_safe_flag_spec=$lt_thread_safe_flag_spec
12142
# Library versioning type.
12143
version_type=$version_type
12145
# Format of library name prefix.
12146
libname_spec=$lt_libname_spec
12148
# List of archive names. First name is the real one, the rest are links.
12149
# The last name is the one that the linker finds with -lNAME.
12150
library_names_spec=$lt_library_names_spec
12152
# The coded name of the library, if different from the real name.
12153
soname_spec=$lt_soname_spec
12155
# Commands used to build and install an old-style archive.
12157
old_archive_cmds=$lt_old_archive_cmds
12158
old_postinstall_cmds=$lt_old_postinstall_cmds
12159
old_postuninstall_cmds=$lt_old_postuninstall_cmds
12161
# Create an old-style archive from a shared archive.
12162
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
12164
# Create a temporary old-style archive to link instead of a shared archive.
12165
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
12167
# Commands used to build and install a shared archive.
12168
archive_cmds=$lt_archive_cmds
12169
archive_expsym_cmds=$lt_archive_expsym_cmds
12170
postinstall_cmds=$lt_postinstall_cmds
12171
postuninstall_cmds=$lt_postuninstall_cmds
12173
# Commands used to build a loadable module (assumed same as above if empty)
12174
module_cmds=$lt_module_cmds
12175
module_expsym_cmds=$lt_module_expsym_cmds
12177
# Commands to strip libraries.
12178
old_striplib=$lt_old_striplib
12179
striplib=$lt_striplib
12181
# Dependencies to place before the objects being linked to create a
12183
predep_objects=$lt_predep_objects
12185
# Dependencies to place after the objects being linked to create a
12187
postdep_objects=$lt_postdep_objects
12189
# Dependencies to place before the objects being linked to create a
12191
predeps=$lt_predeps
12193
# Dependencies to place after the objects being linked to create a
12195
postdeps=$lt_postdeps
12197
# The library search path used internally by the compiler when linking
12198
# a shared library.
12199
compiler_lib_search_path=$lt_compiler_lib_search_path
12201
# Method to check whether dependent libraries are shared objects.
12202
deplibs_check_method=$lt_deplibs_check_method
12204
# Command to use when deplibs_check_method == file_magic.
12205
file_magic_cmd=$lt_file_magic_cmd
12207
# Flag that allows shared libraries with undefined symbols to be built.
12208
allow_undefined_flag=$lt_allow_undefined_flag
12210
# Flag that forces no undefined symbols.
12211
no_undefined_flag=$lt_no_undefined_flag
12213
# Commands used to finish a libtool library installation in a directory.
12214
finish_cmds=$lt_finish_cmds
12216
# Same as above, but a single script fragment to be evaled but not shown.
12217
finish_eval=$lt_finish_eval
12219
# Take the output of nm and produce a listing of raw symbols and C names.
12220
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12222
# Transform the output of nm in a proper C declaration
12223
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12225
# Transform the output of nm in a C name address pair
12226
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12228
# This is the shared library runtime path variable.
12229
runpath_var=$runpath_var
12231
# This is the shared library path variable.
12232
shlibpath_var=$shlibpath_var
12234
# Is shlibpath searched before the hard-coded library search path?
12235
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12237
# How to hardcode a shared library path into an executable.
12238
hardcode_action=$hardcode_action
12240
# Whether we should hardcode library paths into libraries.
12241
hardcode_into_libs=$hardcode_into_libs
12243
# Flag to hardcode \$libdir into a binary during linking.
12244
# This must work even if \$libdir does not exist.
12245
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
12247
# If ld is used when linking, flag to hardcode \$libdir into
12248
# a binary during linking. This must work even if \$libdir does
12250
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
12252
# Whether we need a single -rpath flag with a separated argument.
12253
hardcode_libdir_separator=$lt_hardcode_libdir_separator
12255
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
12256
# resulting binary.
12257
hardcode_direct=$hardcode_direct
12259
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
12260
# resulting binary.
12261
hardcode_minus_L=$hardcode_minus_L
12263
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
12264
# the resulting binary.
12265
hardcode_shlibpath_var=$hardcode_shlibpath_var
12267
# Set to yes if building a shared library automatically hardcodes DIR into the library
12268
# and all subsequent libraries and executables linked against it.
12269
hardcode_automatic=$hardcode_automatic
12271
# Variables whose values should be saved in libtool wrapper scripts and
12272
# restored at relink time.
12273
variables_saved_for_relink="$variables_saved_for_relink"
12275
# Whether libtool must link a program against all its dependency libraries.
12276
link_all_deplibs=$link_all_deplibs
12278
# Compile-time system search path for libraries
12279
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12281
# Run-time system search path for libraries
12282
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12284
# Fix the shell variable \$srcfile for the compiler.
12285
fix_srcfile_path="$fix_srcfile_path"
12287
# Set to yes if exported symbols are required.
12288
always_export_symbols=$always_export_symbols
12290
# The commands to list exported symbols.
12291
export_symbols_cmds=$lt_export_symbols_cmds
12293
# The commands to extract the exported symbol list from a shared archive.
12294
extract_expsyms_cmds=$lt_extract_expsyms_cmds
12296
# Symbols that should not be listed in the preloaded symbols.
12297
exclude_expsyms=$lt_exclude_expsyms
12299
# Symbols that must always be exported.
12300
include_expsyms=$lt_include_expsyms
12302
# ### END LIBTOOL CONFIG
12309
cat <<\EOF >> "$cfgfile"
12311
# AIX sometimes has problems with the GCC collect2 program. For some
12312
# reason, if we set the COLLECT_NAMES environment variable, the problems
12313
# vanish in a puff of smoke.
12314
if test "X${COLLECT_NAMES+set}" != Xset; then
12316
export COLLECT_NAMES
12322
# We use sed instead of cat because bash on DJGPP gets confused if
12323
# if finds mixed CR/LF and LF-only lines. Since sed operates in
12324
# text mode, it properly converts lines to CR/LF. This bash problem
12325
# is reportedly fixed, but why not run on old versions too?
12326
sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
12328
mv -f "$cfgfile" "$ofile" || \
12329
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
12333
# If there is no Makefile yet, we rely on a make rule to execute
12334
# `config.status --recheck' to rerun these tests and create the
12335
# libtool script then.
12336
test -f Makefile && make "$ltmain"
12341
ac_cpp='$CPP $CPPFLAGS'
12342
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12343
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12344
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12349
# Check whether --with-tags or --without-tags was given.
12350
if test "${with_tags+set}" = set; then
12351
withval="$with_tags"
12352
tagnames="$withval"
12355
if test -f "$ltmain" && test -n "$tagnames"; then
12356
if test ! -f "${ofile}"; then
12357
{ echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
12358
echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
12361
if test -z "$LTCC"; then
12362
eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
12363
if test -z "$LTCC"; then
12364
{ echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
12365
echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
12367
{ echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
12368
echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
12372
# Extract list of available tagged configurations in $ofile.
12373
# Note that this assumes the entire list is on one line.
12374
available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
12376
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
12377
for tagname in $tagnames; do
12379
# Check whether tagname contains only valid characters
12380
case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
12382
*) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
12383
echo "$as_me: error: invalid tag name: $tagname" >&2;}
12384
{ (exit 1); exit 1; }; }
12388
if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
12390
{ { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
12391
echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
12392
{ (exit 1); exit 1; }; }
12395
# Update the list of available tags.
12396
if test -n "$tagname"; then
12397
echo appending configuration tag \"$tagname\" to $ofile
12401
if test -n "$CXX" && test "X$CXX" != "Xno"; then
12403
ac_cpp='$CXXCPP $CPPFLAGS'
12404
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12405
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12406
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12411
archive_cmds_need_lc_CXX=no
12412
allow_undefined_flag_CXX=
12413
always_export_symbols_CXX=no
12414
archive_expsym_cmds_CXX=
12415
export_dynamic_flag_spec_CXX=
12416
hardcode_direct_CXX=no
12417
hardcode_libdir_flag_spec_CXX=
12418
hardcode_libdir_flag_spec_ld_CXX=
12419
hardcode_libdir_separator_CXX=
12420
hardcode_minus_L_CXX=no
12421
hardcode_automatic_CXX=no
12423
module_expsym_cmds_CXX=
12424
link_all_deplibs_CXX=unknown
12425
old_archive_cmds_CXX=$old_archive_cmds
12426
no_undefined_flag_CXX=
12427
whole_archive_flag_spec_CXX=
12428
enable_shared_with_static_runtimes_CXX=no
12430
# Dependencies to place before and after the object being linked:
12431
predep_objects_CXX=
12432
postdep_objects_CXX=
12435
compiler_lib_search_path_CXX=
12437
# Source file extension for C++ test sources.
12440
# Object file extension for compiled C++ test sources.
12444
# Code to be used in simple compile tests
12445
lt_simple_compile_test_code="int some_variable = 0;\n"
12447
# Code to be used in simple link tests
12448
lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
12450
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
12452
# If no C compiler was specified, use CC.
12455
# Allow CC to be a program name with arguments.
12459
# Allow CC to be a program name with arguments.
12464
lt_save_with_gnu_ld=$with_gnu_ld
12465
lt_save_path_LD=$lt_cv_path_LD
12466
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12467
lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12469
unset lt_cv_prog_gnu_ld
12471
if test -n "${lt_cv_path_LDCXX+set}"; then
12472
lt_cv_path_LD=$lt_cv_path_LDCXX
12474
unset lt_cv_path_LD
12476
test -z "${LDCXX+set}" || LD=$LDCXX
12480
cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
12482
# We don't want -fno-exception wen compiling C++ code, so set the
12483
# no_builtin_flag separately
12484
if test "$GXX" = yes; then
12485
lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12487
lt_prog_compiler_no_builtin_flag_CXX=
12490
if test "$GXX" = yes; then
12491
# Set up default GNU C++ configuration
12494
# Check whether --with-gnu-ld or --without-gnu-ld was given.
12495
if test "${with_gnu_ld+set}" = set; then
12496
withval="$with_gnu_ld"
12497
test "$withval" = no || with_gnu_ld=yes
12502
if test "$GCC" = yes; then
12503
# Check if gcc -print-prog-name=ld gives a path.
12504
echo "$as_me:$LINENO: checking for ld used by $CC" >&5
12505
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
12508
# gcc leaves a trailing carriage return which upsets mingw
12509
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12511
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12514
# Accept absolute paths.
12516
re_direlt='/[^/][^/]*/\.\./'
12517
# Canonicalize the pathname of ld
12518
ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
12519
while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
12520
ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
12522
test -z "$LD" && LD="$ac_prog"
12525
# If it fails, then pretend we aren't using GCC.
12529
# If it is relative, then search for the first ld in PATH.
12530
with_gnu_ld=unknown
12533
elif test "$with_gnu_ld" = yes; then
12534
echo "$as_me:$LINENO: checking for GNU ld" >&5
12535
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
12537
echo "$as_me:$LINENO: checking for non-GNU ld" >&5
12538
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
12540
if test "${lt_cv_path_LD+set}" = set; then
12541
echo $ECHO_N "(cached) $ECHO_C" >&6
12543
if test -z "$LD"; then
12544
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12545
for ac_dir in $PATH; do
12547
test -z "$ac_dir" && ac_dir=.
12548
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12549
lt_cv_path_LD="$ac_dir/$ac_prog"
12550
# Check to see if the program is GNU ld. I'd rather use --version,
12551
# but apparently some GNU ld's only accept -v.
12552
# Break only if it was the GNU/non-GNU ld that we prefer.
12553
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12554
*GNU* | *'with BFD'*)
12555
test "$with_gnu_ld" != no && break
12558
test "$with_gnu_ld" != yes && break
12565
lt_cv_path_LD="$LD" # Let the user override the test with a path.
12569
LD="$lt_cv_path_LD"
12570
if test -n "$LD"; then
12571
echo "$as_me:$LINENO: result: $LD" >&5
12572
echo "${ECHO_T}$LD" >&6
12574
echo "$as_me:$LINENO: result: no" >&5
12575
echo "${ECHO_T}no" >&6
12577
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
12578
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
12579
{ (exit 1); exit 1; }; }
12580
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
12581
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
12582
if test "${lt_cv_prog_gnu_ld+set}" = set; then
12583
echo $ECHO_N "(cached) $ECHO_C" >&6
12585
# I'd rather use --version here, but apparently some GNU ld's only accept -v.
12586
case `$LD -v 2>&1 </dev/null` in
12587
*GNU* | *'with BFD'*)
12588
lt_cv_prog_gnu_ld=yes
12591
lt_cv_prog_gnu_ld=no
12595
echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
12596
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
12597
with_gnu_ld=$lt_cv_prog_gnu_ld
12601
# Check if GNU C++ uses GNU ld as the underlying linker, since the
12602
# archiving commands below assume that GNU ld is being used.
12603
if test "$with_gnu_ld" = yes; then
12604
archive_cmds_CXX='$CC -shared -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $wl$soname -o $lib'
12605
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'
12607
hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12608
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12610
# If archive_cmds runs LD, not CC, wlarc should be empty
12611
# XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12612
# investigate it a little bit more. (MM)
12615
# ancient GNU ld didn't support --whole-archive et. al.
12616
if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
12617
grep 'no-whole-archive' > /dev/null; then
12618
whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12620
whole_archive_flag_spec_CXX=
12626
# A generic and very simple default shared library creation
12627
# command for GNU C++ for the case where it uses the native
12628
# linker, instead of GNU ld. If possible, this setting should
12629
# overridden to take advantage of the native linker features on
12630
# the platform it is being used on.
12631
archive_cmds_CXX='$CC -shared -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects -o $lib'
12634
# Commands to make compiler produce verbose output that lists
12635
# what "hidden" libraries, object files and flags are used when
12636
# linking a shared library.
12637
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12645
# PORTME: fill in a description of your system's C++ link characteristics
12646
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12647
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
12651
# FIXME: insert proper C++ library support
12655
if test "$host_cpu" = ia64; then
12656
# On IA64, the linker does run time linking by default, so we don't
12657
# have to do anything special.
12658
aix_use_runtimelinking=no
12659
exp_sym_flag='-Bexport'
12662
# KDE requires run time linking. Make it the default.
12663
aix_use_runtimelinking=yes
12664
exp_sym_flag='-bexport'
12665
no_entry_flag='-bnoentry'
12668
# When large executables or shared objects are built, AIX ld can
12669
# have problems creating the table of contents. If linking a library
12670
# or program results in "error TOC overflow" add -mminimal-toc to
12671
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12672
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12674
archive_cmds_CXX=''
12675
hardcode_direct_CXX=yes
12676
hardcode_libdir_separator_CXX=':'
12677
link_all_deplibs_CXX=yes
12679
if test "$GXX" = yes; then
12680
case $host_os in aix4.012|aix4.012.*)
12681
# We only want to do this on AIX 4.2 and lower, the check
12682
# below for broken collect2 doesn't work under 4.3+
12683
collect2name=`${CC} -print-prog-name=collect2`
12684
if test -f "$collect2name" && \
12685
strings "$collect2name" | grep resolve_lib_name >/dev/null
12687
# We have reworked collect2
12688
hardcode_direct_CXX=yes
12690
# We have old collect2
12691
hardcode_direct_CXX=unsupported
12692
# It fails to find uninstalled libraries when the uninstalled
12693
# path is not listed in the libpath. Setting hardcode_minus_L
12694
# to unsupported forces relinking
12695
hardcode_minus_L_CXX=yes
12696
hardcode_libdir_flag_spec_CXX='-L$libdir'
12697
hardcode_libdir_separator_CXX=
12700
shared_flag='-shared'
12703
if test "$host_cpu" = ia64; then
12704
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12705
# chokes on -Wl,-G. The following line is correct:
12708
if test "$aix_use_runtimelinking" = yes; then
12709
shared_flag='-qmkshrobj ${wl}-G'
12711
shared_flag='-qmkshrobj'
12716
# Let the compiler handle the export list.
12717
always_export_symbols_CXX=no
12718
if test "$aix_use_runtimelinking" = yes; then
12719
# Warning - without using the other runtime loading flags (-brtl),
12720
# -berok will link without error, but may produce a broken library.
12721
allow_undefined_flag_CXX='-berok'
12722
# Determine the default libpath from the value encoded in an empty executable.
12723
cat >conftest.$ac_ext <<_ACEOF
12726
cat confdefs.h >>conftest.$ac_ext
12727
cat >>conftest.$ac_ext <<_ACEOF
12728
/* end confdefs.h. */
12738
rm -f conftest.$ac_objext conftest$ac_exeext
12739
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12740
(eval $ac_link) 2>conftest.er1
12742
grep -v '^ *+' conftest.er1 >conftest.err
12744
cat conftest.err >&5
12745
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12746
(exit $ac_status); } &&
12747
{ ac_try='test -z "$ac_cxx_werror_flag"
12748
|| test ! -s conftest.err'
12749
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12750
(eval $ac_try) 2>&5
12752
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12753
(exit $ac_status); }; } &&
12754
{ ac_try='test -s conftest$ac_exeext'
12755
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12756
(eval $ac_try) 2>&5
12758
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12759
(exit $ac_status); }; }; then
12761
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
12763
# Check for a 64-bit object if we didn't find anything.
12764
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; }
12767
echo "$as_me: failed program was:" >&5
12768
sed 's/^/| /' conftest.$ac_ext >&5
12771
rm -f conftest.err conftest.$ac_objext \
12772
conftest$ac_exeext conftest.$ac_ext
12773
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12775
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12777
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"
12778
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"
12780
if test "$host_cpu" = ia64; then
12781
hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12782
allow_undefined_flag_CXX="-z nodefs"
12783
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"
12785
# Determine the default libpath from the value encoded in an empty executable.
12786
cat >conftest.$ac_ext <<_ACEOF
12789
cat confdefs.h >>conftest.$ac_ext
12790
cat >>conftest.$ac_ext <<_ACEOF
12791
/* end confdefs.h. */
12801
rm -f conftest.$ac_objext conftest$ac_exeext
12802
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12803
(eval $ac_link) 2>conftest.er1
12805
grep -v '^ *+' conftest.er1 >conftest.err
12807
cat conftest.err >&5
12808
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12809
(exit $ac_status); } &&
12810
{ ac_try='test -z "$ac_cxx_werror_flag"
12811
|| test ! -s conftest.err'
12812
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12813
(eval $ac_try) 2>&5
12815
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12816
(exit $ac_status); }; } &&
12817
{ ac_try='test -s conftest$ac_exeext'
12818
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12819
(eval $ac_try) 2>&5
12821
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12822
(exit $ac_status); }; }; then
12824
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
12826
# Check for a 64-bit object if we didn't find anything.
12827
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; }
12830
echo "$as_me: failed program was:" >&5
12831
sed 's/^/| /' conftest.$ac_ext >&5
12834
rm -f conftest.err conftest.$ac_objext \
12835
conftest$ac_exeext conftest.$ac_ext
12836
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12838
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12839
# Warning - without using the other run time loading flags,
12840
# -berok will link without error, but may produce a broken library.
12841
no_undefined_flag_CXX=' ${wl}-bernotok'
12842
allow_undefined_flag_CXX=' ${wl}-berok'
12843
# -bexpall does not export symbols beginning with underscore (_)
12844
always_export_symbols_CXX=yes
12845
# Exported symbols can be pulled into shared objects from archives
12846
whole_archive_flag_spec_CXX=' '
12847
archive_cmds_need_lc_CXX=yes
12848
# This is similar to how AIX traditionally builds it's shared libraries.
12849
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'
12854
case $cc_basename in
12856
# FIXME: insert proper C++ library support
12862
cygwin* | mingw* | pw32*)
12863
# _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12864
# as there is no search path for DLLs.
12865
hardcode_libdir_flag_spec_CXX='-L$libdir'
12866
allow_undefined_flag_CXX=no
12867
always_export_symbols_CXX=no
12868
enable_shared_with_static_runtimes_CXX=yes
12870
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
12871
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'
12872
# If the export-symbols file already is a .def file (1st line
12873
# is EXPORTS), use it as is; otherwise, prepend...
12874
archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12875
cp $export_symbols $output_objdir/$soname.def;
12877
echo EXPORTS > $output_objdir/$soname.def;
12878
cat $export_symbols >> $output_objdir/$soname.def;
12880
$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'
12886
darwin* | rhapsody*)
12887
if test "$GXX" = yes; then
12888
archive_cmds_need_lc_CXX=no
12890
rhapsody* | darwin1.[012])
12891
allow_undefined_flag_CXX='-Wl,-undefined -Wl,suppress'
12894
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
12895
allow_undefined_flag_CXX='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
12897
case ${MACOSX_DEPLOYMENT_TARGET} in
12899
allow_undefined_flag_CXX='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
12902
allow_undefined_flag_CXX='-Wl,-undefined -Wl,dynamic_lookup'
12908
lt_int_apple_cc_single_mod=no
12909
output_verbose_link_cmd='echo'
12910
if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
12911
lt_int_apple_cc_single_mod=yes
12913
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
12914
archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring'
12916
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'
12918
module_cmds_CXX='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs'
12920
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
12921
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
12922
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}'
12924
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}'
12926
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}'
12927
hardcode_direct_CXX=no
12928
hardcode_automatic_CXX=yes
12929
hardcode_shlibpath_var_CXX=unsupported
12930
whole_archive_flag_spec_CXX='-all_load $convenience'
12931
link_all_deplibs_CXX=yes
12938
case $cc_basename in
12940
# FIXME: insert proper C++ library support
12944
# Green Hills C++ Compiler
12945
# FIXME: insert proper C++ library support
12949
# FIXME: insert proper C++ library support
12955
# C++ shared libraries reported to be fairly broken before switch to ELF
12959
archive_cmds_need_lc_CXX=no
12962
# FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12969
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12970
hardcode_libdir_separator_CXX=:
12971
export_dynamic_flag_spec_CXX='${wl}-E'
12972
hardcode_direct_CXX=yes
12973
hardcode_minus_L_CXX=yes # Not in the search PATH,
12974
# but as the default
12975
# location of the library.
12977
case $cc_basename in
12979
# FIXME: insert proper C++ library support
12983
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'
12984
# Commands to make compiler produce verbose output that lists
12985
# what "hidden" libraries, object files and flags are used when
12986
# linking a shared library.
12988
# There doesn't appear to be a way to prevent this compiler from
12989
# explicitly linking system object files so we need to strip them
12990
# from the output so that they don't get included in the library
12992
output_verbose_link_cmd='templist=`($CC -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'
12995
if test "$GXX" = yes; then
12996
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'
12998
# FIXME: insert proper C++ library support
13005
if test $with_gnu_ld = no; then
13006
case "$host_cpu" in
13008
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13009
hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
13010
hardcode_libdir_separator_CXX=:
13013
hardcode_libdir_flag_spec_CXX='-L$libdir'
13016
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13017
hardcode_libdir_separator_CXX=:
13018
export_dynamic_flag_spec_CXX='${wl}-E'
13022
case "$host_cpu" in
13024
hardcode_direct_CXX=no
13025
hardcode_shlibpath_var_CXX=no
13028
hardcode_direct_CXX=no
13029
hardcode_shlibpath_var_CXX=no
13030
hardcode_minus_L_CXX=yes # Not in the search PATH,
13031
# but as the default
13032
# location of the library.
13035
hardcode_direct_CXX=yes
13036
hardcode_minus_L_CXX=yes # Not in the search PATH,
13037
# but as the default
13038
# location of the library.
13042
case $cc_basename in
13044
# FIXME: insert proper C++ library support
13048
case "$host_cpu" in
13050
archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
13053
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects'
13056
# Commands to make compiler produce verbose output that lists
13057
# what "hidden" libraries, object files and flags are used when
13058
# linking a shared library.
13060
# There doesn't appear to be a way to prevent this compiler from
13061
# explicitly linking system object files so we need to strip them
13062
# from the output so that they don't get included in the library
13064
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'
13067
if test "$GXX" = yes; then
13068
if test $with_gnu_ld = no; then
13069
case "$host_cpu" in
13071
archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
13074
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'
13079
# FIXME: insert proper C++ library support
13086
case $cc_basename in
13089
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'
13091
# Archives containing C++ object files must be created using
13092
# "CC -ar", where "CC" is the IRIX C++ compiler. This is
13093
# necessary to make sure instantiated templates are included
13095
old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13098
if test "$GXX" = yes; then
13099
if test "$with_gnu_ld" = no; then
13100
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'
13102
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'
13105
link_all_deplibs_CXX=yes
13108
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13109
hardcode_libdir_separator_CXX=:
13112
case $cc_basename in
13114
# Kuck and Associates, Inc. (KAI) C++ Compiler
13116
# KCC will only create a shared library if the output file
13117
# ends with ".so" (or ".sl" for HP-UX), so rename the library
13118
# to its proper name (with version) after linking.
13119
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'
13120
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'
13121
# Commands to make compiler produce verbose output that lists
13122
# what "hidden" libraries, object files and flags are used when
13123
# linking a shared library.
13125
# There doesn't appear to be a way to prevent this compiler from
13126
# explicitly linking system object files so we need to strip them
13127
# from the output so that they don't get included in the library
13129
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'
13131
hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
13132
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13134
# Archives containing C++ object files must be created using
13135
# "CC -Bstatic", where "CC" is the KAI C++ compiler.
13136
old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13141
archive_cmds_need_lc_CXX=no
13142
archive_cmds_CXX='$CC -shared $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $wl$soname -o $lib'
13143
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'
13144
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13145
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13146
whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13150
archive_cmds_CXX='$CC -shared $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $wl$soname -o $lib'
13151
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'
13153
runpath_var=LD_RUN_PATH
13154
hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13155
hardcode_libdir_separator_CXX=:
13157
# Commands to make compiler produce verbose output that lists
13158
# what "hidden" libraries, object files and flags are used when
13159
# linking a shared library.
13161
# There doesn't appear to be a way to prevent this compiler from
13162
# explicitly linking system object files so we need to strip them
13163
# from the output so that they don't get included in the library
13165
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'
13170
# FIXME: insert proper C++ library support
13174
# FIXME: insert proper C++ library support
13178
case $cc_basename in
13180
# FIXME: insert proper C++ library support
13184
# FIXME: insert proper C++ library support
13190
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13191
archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13193
hardcode_libdir_flag_spec_CXX='-R$libdir'
13194
hardcode_direct_CXX=yes
13195
hardcode_shlibpath_var_CXX=no
13197
# Workaround some broken pre-1.5 toolchains
13198
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13201
case $cc_basename in
13203
# Kuck and Associates, Inc. (KAI) C++ Compiler
13205
# KCC will only create a shared library if the output file
13206
# ends with ".so" (or ".sl" for HP-UX), so rename the library
13207
# to its proper name (with version) after linking.
13208
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'
13210
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13211
hardcode_libdir_separator_CXX=:
13213
# Archives containing C++ object files must be created using
13214
# "CC -Bstatic", where "CC" is the KAI C++ compiler.
13215
old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13219
# Rational C++ 2.4.1
13220
# FIXME: insert proper C++ library support
13224
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13225
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'
13227
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13228
hardcode_libdir_separator_CXX=:
13230
# Commands to make compiler produce verbose output that lists
13231
# what "hidden" libraries, object files and flags are used when
13232
# linking a shared library.
13234
# There doesn't appear to be a way to prevent this compiler from
13235
# explicitly linking system object files so we need to strip them
13236
# from the output so that they don't get included in the library
13238
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'
13241
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13242
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13243
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'
13245
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13246
hardcode_libdir_separator_CXX=:
13248
# Commands to make compiler produce verbose output that lists
13249
# what "hidden" libraries, object files and flags are used when
13250
# linking a shared library.
13251
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
13254
# FIXME: insert proper C++ library support
13261
case $cc_basename in
13263
# Kuck and Associates, Inc. (KAI) C++ Compiler
13265
# KCC will only create a shared library if the output file
13266
# ends with ".so" (or ".sl" for HP-UX), so rename the library
13267
# to its proper name (with version) after linking.
13268
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'
13270
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13271
hardcode_libdir_separator_CXX=:
13273
# Archives containing C++ object files must be created using
13274
# the KAI C++ compiler.
13275
old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
13278
# Rational C++ 2.4.1
13279
# FIXME: insert proper C++ library support
13283
allow_undefined_flag_CXX=' -expect_unresolved \*'
13284
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'
13285
archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13286
echo "-hidden">> $lib.exp~
13287
$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~
13290
hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13291
hardcode_libdir_separator_CXX=:
13293
# Commands to make compiler produce verbose output that lists
13294
# what "hidden" libraries, object files and flags are used when
13295
# linking a shared library.
13297
# There doesn't appear to be a way to prevent this compiler from
13298
# explicitly linking system object files so we need to strip them
13299
# from the output so that they don't get included in the library
13301
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'
13304
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13305
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13306
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'
13308
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13309
hardcode_libdir_separator_CXX=:
13311
# Commands to make compiler produce verbose output that lists
13312
# what "hidden" libraries, object files and flags are used when
13313
# linking a shared library.
13314
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
13317
# FIXME: insert proper C++ library support
13324
# FIXME: insert proper C++ library support
13328
archive_cmds_need_lc_CXX=no
13329
case $cc_basename in
13331
# FIXME: insert proper C++ library support
13335
# FIXME: insert proper C++ library support
13341
case $cc_basename in
13344
# FIXME: insert proper C++ library support
13349
# FIXME: insert proper C++ library support
13353
# FIXME: insert proper C++ library support
13359
case $cc_basename in
13361
# Sun C++ 4.2, 5.x and Centerline C++
13362
no_undefined_flag_CXX=' -zdefs'
13363
archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects'
13364
archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13365
$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'
13367
hardcode_libdir_flag_spec_CXX='-R$libdir'
13368
hardcode_shlibpath_var_CXX=no
13370
solaris2.0-5 | solaris2.0-5.*) ;;
13372
# The C++ compiler is used as linker so we must use $wl
13373
# flag to pass the commands to the underlying system
13375
# Supported since Solaris 2.6 (maybe 2.5.1?)
13376
whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13379
link_all_deplibs_CXX=yes
13381
# Commands to make compiler produce verbose output that lists
13382
# what "hidden" libraries, object files and flags are used when
13383
# linking a shared library.
13385
# There doesn't appear to be a way to prevent this compiler from
13386
# explicitly linking system object files so we need to strip them
13387
# from the output so that they don't get included in the library
13389
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'
13391
# Archives containing C++ object files must be created using
13392
# "CC -xar", where "CC" is the Sun C++ compiler. This is
13393
# necessary to make sure instantiated templates are included
13395
old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13398
# Green Hills C++ Compiler
13399
archive_cmds_CXX='$CC -shared $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-h $wl$soname -o $lib'
13401
# The C++ compiler must be used to create the archive.
13402
old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13405
# GNU C++ compiler with Solaris linker
13406
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13407
no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13408
if $CC --version | grep -v '^2\.7' > /dev/null; then
13409
archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-h $wl$soname -o $lib'
13410
archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13411
$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects~$rm $lib.exp'
13413
# Commands to make compiler produce verbose output that lists
13414
# what "hidden" libraries, object files and flags are used when
13415
# linking a shared library.
13416
output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
13418
# g++ 2.7 appears to require `-G' NOT `-shared' on this
13420
archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-h $wl$soname -o $lib'
13421
archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13422
$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects~$rm $lib.exp'
13424
# Commands to make compiler produce verbose output that lists
13425
# what "hidden" libraries, object files and flags are used when
13426
# linking a shared library.
13427
output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
13430
hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13435
sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
13436
archive_cmds_need_lc_CXX=no
13439
case $cc_basename in
13441
# NonStop-UX NCC 3.20
13442
# FIXME: insert proper C++ library support
13446
# FIXME: insert proper C++ library support
13452
# FIXME: insert proper C++ library support
13456
# FIXME: insert proper C++ library support
13460
echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13461
echo "${ECHO_T}$ld_shlibs_CXX" >&6
13462
test "$ld_shlibs_CXX" = no && can_build_shared=no
13468
## There is no encapsulation within the following macros, do not change
13469
## the running order or otherwise move them around unless you know exactly
13470
## what you are doing...
13472
cat > conftest.$ac_ext <<EOF
13476
Foo (void) { a = 0; }
13482
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13483
(eval $ac_compile) 2>&5
13485
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13486
(exit $ac_status); }; then
13487
# Parse the compiler output and extract the necessary
13488
# objects, libraries and library flags.
13490
# Sentinel used to keep track of whether or not we are before
13491
# the conftest object file.
13492
pre_test_object_deps_done=no
13494
# The `*' in the case matches for architectures that use `case' in
13495
# $output_verbose_cmd can trigger glob expansion during the loop
13496
# eval without this substitution.
13497
output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
13499
for p in `eval $output_verbose_link_cmd`; do
13503
# Some compilers place space between "-{L,R}" and the path.
13504
# Remove the space.
13505
if test $p = "-L" \
13506
|| test $p = "-R"; then
13513
if test "$pre_test_object_deps_done" = no; then
13516
# Internal compiler library paths should come after those
13517
# provided the user. The postdeps already come after the
13518
# user supplied libs so there is no need to process them.
13519
if test -z "$compiler_lib_search_path_CXX"; then
13520
compiler_lib_search_path_CXX="${prev}${p}"
13522
compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13525
# The "-l" case would never come before the object being
13526
# linked, so don't bother handling this case.
13529
if test -z "$postdeps_CXX"; then
13530
postdeps_CXX="${prev}${p}"
13532
postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13537
*.$objext|*.$libext)
13538
# This assumes that the test object file only shows up
13539
# once in the compiler output.
13540
if test "$p" = "conftest.$objext"; then
13541
pre_test_object_deps_done=yes
13545
if test "$pre_test_object_deps_done" = no; then
13546
if test -z "$predep_objects_CXX"; then
13547
predep_objects_CXX="$p"
13549
predep_objects_CXX="$predep_objects_CXX $p"
13552
if test -z "$postdep_objects_CXX"; then
13553
postdep_objects_CXX="$p"
13555
postdep_objects_CXX="$postdep_objects_CXX $p"
13560
*) ;; # Ignore the rest.
13568
echo "libtool.m4: error: problem compiling CXX test program"
13571
$rm -f confest.$objext
13573
case " $postdeps_CXX " in
13574
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
13577
lt_prog_compiler_wl_CXX=
13578
lt_prog_compiler_pic_CXX=
13579
lt_prog_compiler_static_CXX=
13581
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13582
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
13584
# C++ specific cases for pic, static, wl, etc.
13585
if test "$GXX" = yes; then
13586
lt_prog_compiler_wl_CXX='-Wl,'
13587
lt_prog_compiler_static_CXX='-static'
13591
# All AIX code is PIC.
13592
if test "$host_cpu" = ia64; then
13593
# AIX 5 now supports IA64 processor
13594
lt_prog_compiler_static_CXX='-Bstatic'
13598
# FIXME: we need at least 68020 code to build shared libraries, but
13599
# adding the `-m68020' flag to GCC prevents building anything better,
13601
lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13603
beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13604
# PIC is the default for these OSes.
13606
mingw* | os2* | pw32*)
13607
# This hack is so that the source file can tell whether it is being
13608
# built for inclusion in a dll (and should export symbols for example).
13609
lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13611
darwin* | rhapsody*)
13612
# PIC is the default on this platform
13613
# Common symbols not allowed in MH_DYLIB files
13614
lt_prog_compiler_pic_CXX='-fno-common'
13617
# DJGPP does not support shared libraries at all
13618
lt_prog_compiler_pic_CXX=
13621
if test -d /usr/nec; then
13622
lt_prog_compiler_pic_CXX=-Kconform_pic
13626
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13627
# not for PA HP-UX.
13628
case "$host_cpu" in
13632
lt_prog_compiler_pic_CXX='-fPIC'
13637
lt_prog_compiler_pic_CXX='-fPIC'
13643
# All AIX code is PIC.
13644
if test "$host_cpu" = ia64; then
13645
# AIX 5 now supports IA64 processor
13646
lt_prog_compiler_static_CXX='-Bstatic'
13648
lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13652
case $cc_basename in
13654
# Green Hills C++ Compiler
13655
# _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"
13660
case $cc_basename in
13662
lt_prog_compiler_pic_CXX='-KPIC'
13665
# Green Hills C++ Compiler
13666
lt_prog_compiler_pic_CXX='-pic'
13673
# FreeBSD uses GNU C++
13675
hpux9* | hpux10* | hpux11*)
13676
case $cc_basename in
13678
lt_prog_compiler_wl_CXX='-Wl,'
13679
lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
13680
if test "$host_cpu" != ia64; then
13681
lt_prog_compiler_pic_CXX='+Z'
13685
lt_prog_compiler_wl_CXX='-Wl,'
13686
lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
13687
case "$host_cpu" in
13692
lt_prog_compiler_pic_CXX='+Z'
13700
irix5* | irix6* | nonstopux*)
13701
case $cc_basename in
13703
lt_prog_compiler_wl_CXX='-Wl,'
13704
lt_prog_compiler_static_CXX='-non_shared'
13705
# CC pic flag -KPIC is the default.
13712
case $cc_basename in
13715
lt_prog_compiler_wl_CXX='--backend -Wl,'
13716
lt_prog_compiler_pic_CXX='-fPIC'
13720
lt_prog_compiler_wl_CXX='-Wl,'
13721
lt_prog_compiler_pic_CXX='-KPIC'
13722
lt_prog_compiler_static_CXX='-static'
13726
# Make sure the PIC flag is empty. It appears that all Alpha
13727
# Linux and Compaq Tru64 Unix objects are PIC.
13728
lt_prog_compiler_pic_CXX=
13729
lt_prog_compiler_static_CXX='-non_shared'
13740
case $cc_basename in
13742
lt_prog_compiler_pic_CXX='-W c,exportall'
13750
osf3* | osf4* | osf5*)
13751
case $cc_basename in
13753
lt_prog_compiler_wl_CXX='--backend -Wl,'
13756
# Rational C++ 2.4.1
13757
lt_prog_compiler_pic_CXX='-pic'
13760
# Digital/Compaq C++
13761
lt_prog_compiler_wl_CXX='-Wl,'
13762
# Make sure the PIC flag is empty. It appears that all Alpha
13763
# Linux and Compaq Tru64 Unix objects are PIC.
13764
lt_prog_compiler_pic_CXX=
13765
lt_prog_compiler_static_CXX='-non_shared'
13774
case $cc_basename in
13776
lt_prog_compiler_pic_CXX='-fPIC'
13783
case $cc_basename in
13785
# Sun C++ 4.2, 5.x and Centerline C++
13786
lt_prog_compiler_pic_CXX='-KPIC'
13787
lt_prog_compiler_static_CXX='-Bstatic'
13788
lt_prog_compiler_wl_CXX='-Qoption ld '
13791
# Green Hills C++ Compiler
13792
lt_prog_compiler_pic_CXX='-PIC'
13799
case $cc_basename in
13802
lt_prog_compiler_pic_CXX='-pic'
13803
lt_prog_compiler_static_CXX='-Bstatic'
13807
lt_prog_compiler_pic_CXX='-pic'
13814
case $cc_basename in
13816
# NonStop-UX NCC 3.20
13817
lt_prog_compiler_pic_CXX='-KPIC'
13828
lt_prog_compiler_can_build_shared_CXX=no
13833
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
13834
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
13837
# Check to make sure the PIC flag actually works.
13839
if test -n "$lt_prog_compiler_pic_CXX"; then
13841
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13842
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
13843
if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
13844
echo $ECHO_N "(cached) $ECHO_C" >&6
13846
lt_prog_compiler_pic_works_CXX=no
13847
ac_outfile=conftest.$ac_objext
13848
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13849
lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13850
# Insert the option either (1) after the last *FLAGS variable, or
13851
# (2) before a word containing "conftest.", or (3) at the end.
13852
# Note that $ac_compile itself does not contain backslashes and begins
13853
# with a dollar sign (not a hyphen), so the echo should work correctly.
13854
# The option is referenced via a variable to avoid confusing sed.
13855
lt_compile=`echo "$ac_compile" | $SED \
13856
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13857
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13858
-e 's:$: $lt_compiler_flag:'`
13859
(eval echo "\"\$as_me:13859: $lt_compile\"" >&5)
13860
(eval "$lt_compile" 2>conftest.err)
13862
cat conftest.err >&5
13863
echo "$as_me:13863: \$? = $ac_status" >&5
13864
if (exit $ac_status) && test -s "$ac_outfile"; then
13865
# The compiler can only warn and ignore the option if not recognized
13866
# So say no if there are warnings
13867
if test ! -s conftest.err; then
13868
lt_prog_compiler_pic_works_CXX=yes
13874
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
13875
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
13877
if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
13878
case $lt_prog_compiler_pic_CXX in
13880
*) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13883
lt_prog_compiler_pic_CXX=
13884
lt_prog_compiler_can_build_shared_CXX=no
13889
# For platforms which do not support PIC, -DPIC is meaningless:
13891
lt_prog_compiler_pic_CXX=
13894
lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13898
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13899
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13900
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
13901
echo $ECHO_N "(cached) $ECHO_C" >&6
13903
lt_cv_prog_compiler_c_o_CXX=no
13904
$rm -r conftest 2>/dev/null
13908
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13910
# According to Tom Tromey, Ian Lance Taylor reported there are C compilers
13911
# that will create temporary files in the current directory regardless of
13912
# the output directory. Thus, making CWD read-only will cause this test
13913
# to fail, enabling locking or at least warning the user not to do parallel
13917
lt_compiler_flag="-o out/conftest2.$ac_objext"
13918
# Insert the option either (1) after the last *FLAGS variable, or
13919
# (2) before a word containing "conftest.", or (3) at the end.
13920
# Note that $ac_compile itself does not contain backslashes and begins
13921
# with a dollar sign (not a hyphen), so the echo should work correctly.
13922
lt_compile=`echo "$ac_compile" | $SED \
13923
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13924
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13925
-e 's:$: $lt_compiler_flag:'`
13926
(eval echo "\"\$as_me:13926: $lt_compile\"" >&5)
13927
(eval "$lt_compile" 2>out/conftest.err)
13929
cat out/conftest.err >&5
13930
echo "$as_me:13930: \$? = $ac_status" >&5
13931
if (exit $ac_status) && test -s out/conftest2.$ac_objext
13933
# The compiler can only warn and ignore the option if not recognized
13934
# So say no if there are warnings
13935
if test ! -s out/conftest.err; then
13936
lt_cv_prog_compiler_c_o_CXX=yes
13940
$rm conftest* out/*
13947
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13948
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
13951
hard_links="nottested"
13952
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13953
# do not overwrite the value of need_locks provided by the user
13954
echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13955
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13958
ln conftest.a conftest.b 2>/dev/null && hard_links=no
13960
ln conftest.a conftest.b 2>&5 || hard_links=no
13961
ln conftest.a conftest.b 2>/dev/null && hard_links=no
13962
echo "$as_me:$LINENO: result: $hard_links" >&5
13963
echo "${ECHO_T}$hard_links" >&6
13964
if test "$hard_links" = no; then
13965
{ echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13966
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13973
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13974
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13976
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13979
# If we're using GNU nm, then we don't want the "-C" option.
13980
# -C means demangle to AIX nm, but means don't demangle with GNU nm
13981
if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
13982
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'
13984
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'
13988
export_symbols_cmds_CXX="$ltdll_cmds"
13991
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
13994
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13998
echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13999
echo "${ECHO_T}$ld_shlibs_CXX" >&6
14000
test "$ld_shlibs_CXX" = no && can_build_shared=no
14002
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14003
if test "$GCC" = yes; then
14004
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14008
# Do we need to explicitly link libc?
14010
case "x$archive_cmds_need_lc_CXX" in
14012
# Assume -lc should be added
14013
archive_cmds_need_lc_CXX=yes
14015
if test "$enable_shared" = yes && test "$GCC" = yes; then
14016
case $archive_cmds_CXX in
14018
# FIXME: we may have to deal with multi-command sequences.
14021
# Test whether the compiler implicitly links with -lc since on some
14022
# systems, -lgcc has to come before -lc. If gcc already passes -lc
14023
# to ld, don't add -lc before -lgcc.
14024
echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14025
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
14027
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14029
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14030
(eval $ac_compile) 2>&5
14032
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14033
(exit $ac_status); } 2>conftest.err; then
14036
libobjs=conftest.$ac_objext
14038
wl=$lt_prog_compiler_wl_CXX
14044
lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14045
allow_undefined_flag_CXX=
14046
if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
14047
(eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
14049
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14050
(exit $ac_status); }
14052
archive_cmds_need_lc_CXX=no
14054
archive_cmds_need_lc_CXX=yes
14056
allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14058
cat conftest.err 1>&5
14061
echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
14062
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
14069
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14070
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
14071
library_names_spec=
14072
libname_spec='lib$name'
14076
postuninstall_cmds=
14080
shlibpath_overrides_runpath=unknown
14082
dynamic_linker="$host_os ld.so"
14083
sys_lib_dlsearch_path_spec="/lib /usr/lib"
14084
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
14085
need_lib_prefix=unknown
14086
hardcode_into_libs=no
14088
# when you set need_version to no, make sure it does not cause -set_version
14089
# flags to be left without arguments
14090
need_version=unknown
14095
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14096
shlibpath_var=LIBPATH
14098
# AIX 3 has no versioning support, so we append a major version to the name.
14099
soname_spec='${libname}${release}${shared_ext}$major'
14106
hardcode_into_libs=yes
14107
if test "$host_cpu" = ia64; then
14108
# AIX 5 supports IA64
14109
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14110
shlibpath_var=LD_LIBRARY_PATH
14112
# With GCC up to 2.95.x, collect2 would create an import file
14113
# for dependence libraries. The import file would start with
14114
# the line `#! .'. This would cause the generated library to
14115
# depend on `.', always an invalid library. This was fixed in
14116
# development snapshots of GCC prior to 3.0.
14118
aix4 | aix4.[01] | aix4.[01].*)
14119
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14121
echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
14124
can_build_shared=no
14128
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14129
# soname into executable. Probably we can add versioning support to
14130
# collect2, so additional links can be useful in future.
14131
if test "$aix_use_runtimelinking" = yes; then
14132
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
14133
# instead of lib<name>.a to let people know that these are not
14134
# typical AIX shared libraries.
14135
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14137
# We preserve .a as extension for shared libraries through AIX4.2
14138
# and later when we are not doing run time linking.
14139
library_names_spec='${libname}${release}.a $libname.a'
14140
soname_spec='${libname}${release}${shared_ext}$major'
14142
shlibpath_var=LIBPATH
14147
library_names_spec='$libname.ixlibrary $libname.a'
14148
# Create ${libname}_ixlibrary.a entries in /sys/libs.
14149
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'
14153
library_names_spec='${libname}${shared_ext}'
14154
dynamic_linker="$host_os ld.so"
14155
shlibpath_var=LIBRARY_PATH
14161
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14162
soname_spec='${libname}${release}${shared_ext}$major'
14163
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14164
shlibpath_var=LD_LIBRARY_PATH
14165
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14166
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14167
# the default ld.so.conf also contains /usr/contrib/lib and
14168
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14169
# libtool to hard-code these into programs
14172
cygwin* | mingw* | pw32*)
14173
version_type=windows
14178
case $GCC,$host_os in
14179
yes,cygwin* | yes,mingw* | yes,pw32*)
14180
library_names_spec='$libname.dll.a'
14181
# DLL is installed to $(libdir)/../bin by postinstall_cmds
14182
postinstall_cmds='base_file=`basename \${file}`~
14183
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14184
dldir=$destdir/`dirname \$dlpath`~
14185
test -d \$dldir || mkdir -p \$dldir~
14186
$install_prog $dir/$dlname \$dldir/$dlname'
14187
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14188
dlpath=$dir/\$dldll~
14190
shlibpath_overrides_runpath=yes
14194
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
14195
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14196
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
14199
# MinGW DLLs use traditional 'lib' prefix
14200
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14201
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14202
if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
14203
# It is most probably a Windows format PATH printed by
14204
# mingw gcc, but we are running on Cygwin. Gcc prints its search
14205
# path with ; separators, and with drive letters. We can handle the
14206
# drive letters (cygwin fileutils understands them), so leave them,
14207
# especially as we might pass files found there to a mingw objdump,
14208
# which wouldn't understand a cygwinified path. Ahh.
14209
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14211
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14215
# pw32 DLLs use 'pw' prefix rather than 'lib'
14216
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
14222
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14225
dynamic_linker='Win32 ld.exe'
14226
# FIXME: first we should search . and the directory the executable is in
14230
darwin* | rhapsody*)
14231
dynamic_linker="$host_os dyld"
14232
version_type=darwin
14235
library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14236
soname_spec='${libname}${release}${major}$shared_ext'
14237
shlibpath_overrides_runpath=yes
14238
shlibpath_var=DYLD_LIBRARY_PATH
14239
shrext='$(test .$module = .yes && echo .so || echo .dylib)'
14240
# Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14241
if test "$GCC" = yes; then
14242
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"`
14244
sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
14246
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14253
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14254
soname_spec='${libname}${release}${shared_ext}$major'
14255
shlibpath_var=LD_LIBRARY_PATH
14266
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14267
soname_spec='${libname}${release}${shared_ext}$major'
14268
shlibpath_var=LD_LIBRARY_PATH
14269
shlibpath_overrides_runpath=no
14270
hardcode_into_libs=yes
14271
dynamic_linker='GNU ld.so'
14275
objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
14276
version_type=freebsd-$objformat
14277
case $version_type in
14279
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14284
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14288
shlibpath_var=LD_LIBRARY_PATH
14291
shlibpath_overrides_runpath=yes
14293
freebsd3.01* | freebsdelf3.01*)
14294
shlibpath_overrides_runpath=yes
14295
hardcode_into_libs=yes
14298
shlibpath_overrides_runpath=no
14299
hardcode_into_libs=yes
14308
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14309
soname_spec='${libname}${release}${shared_ext}$major'
14310
shlibpath_var=LD_LIBRARY_PATH
14311
hardcode_into_libs=yes
14314
hpux9* | hpux10* | hpux11*)
14315
# Give a soname corresponding to the major version so that dld.sl refuses to
14316
# link against other versions.
14320
case "$host_cpu" in
14323
hardcode_into_libs=yes
14324
dynamic_linker="$host_os dld.so"
14325
shlibpath_var=LD_LIBRARY_PATH
14326
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14327
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14328
soname_spec='${libname}${release}${shared_ext}$major'
14329
if test "X$HPUX_IA64_MODE" = X32; then
14330
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14332
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14334
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14338
hardcode_into_libs=yes
14339
dynamic_linker="$host_os dld.sl"
14340
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14341
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14342
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14343
soname_spec='${libname}${release}${shared_ext}$major'
14344
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14345
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14349
dynamic_linker="$host_os dld.sl"
14350
shlibpath_var=SHLIB_PATH
14351
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14352
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14353
soname_spec='${libname}${release}${shared_ext}$major'
14356
# HP-UX runs *really* slowly unless shared libraries are mode 555.
14357
postinstall_cmds='chmod 555 $lib'
14360
irix5* | irix6* | nonstopux*)
14362
nonstopux*) version_type=nonstopux ;;
14364
if test "$lt_cv_prog_gnu_ld" = yes; then
14372
soname_spec='${libname}${release}${shared_ext}$major'
14373
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14375
irix5* | nonstopux*)
14376
libsuff= shlibsuff=
14379
case $LD in # libtool.m4 will add one of these switches to LD
14380
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14381
libsuff= shlibsuff= libmagic=32-bit;;
14382
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14383
libsuff=32 shlibsuff=N32 libmagic=N32;;
14384
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14385
libsuff=64 shlibsuff=64 libmagic=64-bit;;
14386
*) libsuff= shlibsuff= libmagic=never-match;;
14390
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14391
shlibpath_overrides_runpath=no
14392
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14393
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14394
hardcode_into_libs=yes
14397
# No shared lib support for Linux oldld, aout, or coff.
14398
linux*oldld* | linux*aout* | linux*coff*)
14402
# This must be Linux ELF.
14407
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14408
soname_spec='${libname}${release}${shared_ext}$major'
14409
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14411
if test "x$LINUX_64_MODE" = x64; then
14412
# Some platforms are per default 64-bit, so there's no /lib64
14413
if test -d /lib64; then
14417
shlibpath_var=LD_LIBRARY_PATH
14418
shlibpath_overrides_runpath=no
14419
sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
14420
sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
14421
# This implies no fast_install, which is unacceptable.
14422
# Some rework will be needed to allow for fast_install
14423
# before this can be enabled.
14424
hardcode_into_libs=yes
14426
# We used to test for /lib/ld.so.1 and disable shared libraries on
14427
# powerpc, because MkLinux only supported shared libraries with the
14428
# GNU dynamic linker. Since this was broken with cross compilers,
14429
# most powerpc-linux boxes support dynamic linking these days and
14430
# people can always --disable-shared, the test was removed, and we
14431
# assume the GNU/Linux dynamic linker is in use.
14432
dynamic_linker='GNU/Linux ld.so'
14439
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14440
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14441
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14442
dynamic_linker='NetBSD (a.out) ld.so'
14444
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
14445
soname_spec='${libname}${release}${shared_ext}$major'
14446
dynamic_linker='NetBSD ld.elf_so'
14448
shlibpath_var=LD_LIBRARY_PATH
14449
shlibpath_overrides_runpath=yes
14450
hardcode_into_libs=yes
14455
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14456
shlibpath_var=LD_LIBRARY_PATH
14457
shlibpath_overrides_runpath=yes
14464
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14465
soname_spec='${libname}${release}${shared_ext}$major'
14466
shlibpath_var=LD_LIBRARY_PATH
14467
shlibpath_overrides_runpath=yes
14474
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14475
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14476
shlibpath_var=LD_LIBRARY_PATH
14477
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14479
openbsd2.[89] | openbsd2.[89].*)
14480
shlibpath_overrides_runpath=no
14483
shlibpath_overrides_runpath=yes
14487
shlibpath_overrides_runpath=yes
14492
libname_spec='$name'
14495
library_names_spec='$libname${shared_ext} $libname.a'
14496
dynamic_linker='OS/2 ld.exe'
14497
shlibpath_var=LIBPATH
14500
osf3* | osf4* | osf5*)
14504
soname_spec='${libname}${release}${shared_ext}$major'
14505
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14506
shlibpath_var=LD_LIBRARY_PATH
14507
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14508
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14513
soname_spec='${libname}${release}${shared_ext}$major'
14514
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14515
shlibpath_var=LD_LIBRARY_PATH
14522
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14523
soname_spec='${libname}${release}${shared_ext}$major'
14524
shlibpath_var=LD_LIBRARY_PATH
14525
shlibpath_overrides_runpath=yes
14526
hardcode_into_libs=yes
14527
# ldd complains unless libraries are executable
14528
postinstall_cmds='chmod +x $lib'
14533
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14534
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14535
shlibpath_var=LD_LIBRARY_PATH
14536
shlibpath_overrides_runpath=yes
14537
if test "$with_gnu_ld" = yes; then
14543
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
14545
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14546
soname_spec='${libname}${release}${shared_ext}$major'
14547
shlibpath_var=LD_LIBRARY_PATH
14548
case $host_vendor in
14550
shlibpath_overrides_runpath=no
14552
export_dynamic_flag_spec='${wl}-Blargedynsym'
14553
runpath_var=LD_RUN_PATH
14561
shlibpath_overrides_runpath=no
14562
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14568
if test -d /usr/nec ;then
14570
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14571
soname_spec='$libname${shared_ext}.$major'
14572
shlibpath_var=LD_LIBRARY_PATH
14578
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14579
soname_spec='${libname}${release}${shared_ext}$major'
14580
shlibpath_var=LD_LIBRARY_PATH
14587
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14588
echo "${ECHO_T}$dynamic_linker" >&6
14589
test "$dynamic_linker" = no && can_build_shared=no
14591
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14592
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
14593
hardcode_action_CXX=
14594
if test -n "$hardcode_libdir_flag_spec_CXX" || \
14595
test -n "$runpath_var CXX" || \
14596
test "X$hardcode_automatic_CXX"="Xyes" ; then
14598
# We can hardcode non-existant directories.
14599
if test "$hardcode_direct_CXX" != no &&
14600
# If the only mechanism to avoid hardcoding is shlibpath_var, we
14601
# have to relink, otherwise we might link with an installed library
14602
# when we should be linking with a yet-to-be-installed one
14603
## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14604
test "$hardcode_minus_L_CXX" != no; then
14605
# Linking always hardcodes the temporary library directory.
14606
hardcode_action_CXX=relink
14608
# We can link without hardcoding, and we can hardcode nonexisting dirs.
14609
hardcode_action_CXX=immediate
14612
# We cannot hardcode anything, or else we can only hardcode existing
14614
hardcode_action_CXX=unsupported
14616
echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
14617
echo "${ECHO_T}$hardcode_action_CXX" >&6
14619
if test "$hardcode_action_CXX" = relink; then
14620
# Fast installation is not supported
14621
enable_fast_install=no
14622
elif test "$shlibpath_overrides_runpath" = yes ||
14623
test "$enable_shared" = no; then
14624
# Fast installation is not necessary
14625
enable_fast_install=needless
14630
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
14631
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
14632
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
14633
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
14634
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
14635
echo "$as_me:$LINENO: result: yes" >&5
14636
echo "${ECHO_T}yes" >&6
14638
# FIXME - insert some real tests, host_os isn't really good enough
14641
if test -n "$STRIP" ; then
14642
striplib="$STRIP -x"
14643
echo "$as_me:$LINENO: result: yes" >&5
14644
echo "${ECHO_T}yes" >&6
14646
echo "$as_me:$LINENO: result: no" >&5
14647
echo "${ECHO_T}no" >&6
14651
echo "$as_me:$LINENO: result: no" >&5
14652
echo "${ECHO_T}no" >&6
14657
if test "x$enable_dlopen" != xyes; then
14658
enable_dlopen=unknown
14659
enable_dlopen_self=unknown
14660
enable_dlopen_self_static=unknown
14667
lt_cv_dlopen="load_add_on"
14669
lt_cv_dlopen_self=yes
14673
lt_cv_dlopen="LoadLibrary"
14678
lt_cv_dlopen="dlopen"
14683
# if libdl is installed we need to link against it
14684
echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
14685
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
14686
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
14687
echo $ECHO_N "(cached) $ECHO_C" >&6
14689
ac_check_lib_save_LIBS=$LIBS
14691
cat >conftest.$ac_ext <<_ACEOF
14694
cat confdefs.h >>conftest.$ac_ext
14695
cat >>conftest.$ac_ext <<_ACEOF
14696
/* end confdefs.h. */
14698
/* Override any gcc2 internal prototype to avoid an error. */
14702
/* We use char because int might match the return type of a gcc2
14703
builtin and then its argument prototype would still apply. */
14713
rm -f conftest.$ac_objext conftest$ac_exeext
14714
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14715
(eval $ac_link) 2>conftest.er1
14717
grep -v '^ *+' conftest.er1 >conftest.err
14719
cat conftest.err >&5
14720
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14721
(exit $ac_status); } &&
14722
{ ac_try='test -z "$ac_cxx_werror_flag"
14723
|| test ! -s conftest.err'
14724
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14725
(eval $ac_try) 2>&5
14727
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14728
(exit $ac_status); }; } &&
14729
{ ac_try='test -s conftest$ac_exeext'
14730
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14731
(eval $ac_try) 2>&5
14733
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14734
(exit $ac_status); }; }; then
14735
ac_cv_lib_dl_dlopen=yes
14737
echo "$as_me: failed program was:" >&5
14738
sed 's/^/| /' conftest.$ac_ext >&5
14740
ac_cv_lib_dl_dlopen=no
14742
rm -f conftest.err conftest.$ac_objext \
14743
conftest$ac_exeext conftest.$ac_ext
14744
LIBS=$ac_check_lib_save_LIBS
14746
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
14747
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
14748
if test $ac_cv_lib_dl_dlopen = yes; then
14749
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
14752
lt_cv_dlopen="dyld"
14754
lt_cv_dlopen_self=yes
14761
echo "$as_me:$LINENO: checking for shl_load" >&5
14762
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
14763
if test "${ac_cv_func_shl_load+set}" = set; then
14764
echo $ECHO_N "(cached) $ECHO_C" >&6
14766
cat >conftest.$ac_ext <<_ACEOF
14769
cat confdefs.h >>conftest.$ac_ext
14770
cat >>conftest.$ac_ext <<_ACEOF
14771
/* end confdefs.h. */
14772
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
14773
For example, HP-UX 11i <limits.h> declares gettimeofday. */
14774
#define shl_load innocuous_shl_load
14776
/* System header to define __stub macros and hopefully few prototypes,
14777
which can conflict with char shl_load (); below.
14778
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14779
<limits.h> exists even on freestanding compilers. */
14782
# include <limits.h>
14784
# include <assert.h>
14789
/* Override any gcc2 internal prototype to avoid an error. */
14794
/* We use char because int might match the return type of a gcc2
14795
builtin and then its argument prototype would still apply. */
14797
/* The GNU C library defines this for functions which it implements
14798
to always fail with ENOSYS. Some functions are actually named
14799
something starting with __ and the normal name is an alias. */
14800
#if defined (__stub_shl_load) || defined (__stub___shl_load)
14803
char (*f) () = shl_load;
14812
return f != shl_load;
14817
rm -f conftest.$ac_objext conftest$ac_exeext
14818
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14819
(eval $ac_link) 2>conftest.er1
14821
grep -v '^ *+' conftest.er1 >conftest.err
14823
cat conftest.err >&5
14824
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14825
(exit $ac_status); } &&
14826
{ ac_try='test -z "$ac_cxx_werror_flag"
14827
|| test ! -s conftest.err'
14828
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14829
(eval $ac_try) 2>&5
14831
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14832
(exit $ac_status); }; } &&
14833
{ ac_try='test -s conftest$ac_exeext'
14834
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14835
(eval $ac_try) 2>&5
14837
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14838
(exit $ac_status); }; }; then
14839
ac_cv_func_shl_load=yes
14841
echo "$as_me: failed program was:" >&5
14842
sed 's/^/| /' conftest.$ac_ext >&5
14844
ac_cv_func_shl_load=no
14846
rm -f conftest.err conftest.$ac_objext \
14847
conftest$ac_exeext conftest.$ac_ext
14849
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
14850
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
14851
if test $ac_cv_func_shl_load = yes; then
14852
lt_cv_dlopen="shl_load"
14854
echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
14855
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
14856
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
14857
echo $ECHO_N "(cached) $ECHO_C" >&6
14859
ac_check_lib_save_LIBS=$LIBS
14861
cat >conftest.$ac_ext <<_ACEOF
14864
cat confdefs.h >>conftest.$ac_ext
14865
cat >>conftest.$ac_ext <<_ACEOF
14866
/* end confdefs.h. */
14868
/* Override any gcc2 internal prototype to avoid an error. */
14872
/* We use char because int might match the return type of a gcc2
14873
builtin and then its argument prototype would still apply. */
14883
rm -f conftest.$ac_objext conftest$ac_exeext
14884
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14885
(eval $ac_link) 2>conftest.er1
14887
grep -v '^ *+' conftest.er1 >conftest.err
14889
cat conftest.err >&5
14890
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14891
(exit $ac_status); } &&
14892
{ ac_try='test -z "$ac_cxx_werror_flag"
14893
|| test ! -s conftest.err'
14894
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14895
(eval $ac_try) 2>&5
14897
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14898
(exit $ac_status); }; } &&
14899
{ ac_try='test -s conftest$ac_exeext'
14900
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14901
(eval $ac_try) 2>&5
14903
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14904
(exit $ac_status); }; }; then
14905
ac_cv_lib_dld_shl_load=yes
14907
echo "$as_me: failed program was:" >&5
14908
sed 's/^/| /' conftest.$ac_ext >&5
14910
ac_cv_lib_dld_shl_load=no
14912
rm -f conftest.err conftest.$ac_objext \
14913
conftest$ac_exeext conftest.$ac_ext
14914
LIBS=$ac_check_lib_save_LIBS
14916
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
14917
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
14918
if test $ac_cv_lib_dld_shl_load = yes; then
14919
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
14921
echo "$as_me:$LINENO: checking for dlopen" >&5
14922
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
14923
if test "${ac_cv_func_dlopen+set}" = set; then
14924
echo $ECHO_N "(cached) $ECHO_C" >&6
14926
cat >conftest.$ac_ext <<_ACEOF
14929
cat confdefs.h >>conftest.$ac_ext
14930
cat >>conftest.$ac_ext <<_ACEOF
14931
/* end confdefs.h. */
14932
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
14933
For example, HP-UX 11i <limits.h> declares gettimeofday. */
14934
#define dlopen innocuous_dlopen
14936
/* System header to define __stub macros and hopefully few prototypes,
14937
which can conflict with char dlopen (); below.
14938
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14939
<limits.h> exists even on freestanding compilers. */
14942
# include <limits.h>
14944
# include <assert.h>
14949
/* Override any gcc2 internal prototype to avoid an error. */
14954
/* We use char because int might match the return type of a gcc2
14955
builtin and then its argument prototype would still apply. */
14957
/* The GNU C library defines this for functions which it implements
14958
to always fail with ENOSYS. Some functions are actually named
14959
something starting with __ and the normal name is an alias. */
14960
#if defined (__stub_dlopen) || defined (__stub___dlopen)
14963
char (*f) () = dlopen;
14972
return f != dlopen;
14977
rm -f conftest.$ac_objext conftest$ac_exeext
14978
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14979
(eval $ac_link) 2>conftest.er1
14981
grep -v '^ *+' conftest.er1 >conftest.err
14983
cat conftest.err >&5
14984
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14985
(exit $ac_status); } &&
14986
{ ac_try='test -z "$ac_cxx_werror_flag"
14987
|| test ! -s conftest.err'
14988
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14989
(eval $ac_try) 2>&5
14991
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14992
(exit $ac_status); }; } &&
14993
{ ac_try='test -s conftest$ac_exeext'
14994
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14995
(eval $ac_try) 2>&5
14997
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14998
(exit $ac_status); }; }; then
14999
ac_cv_func_dlopen=yes
15001
echo "$as_me: failed program was:" >&5
15002
sed 's/^/| /' conftest.$ac_ext >&5
15004
ac_cv_func_dlopen=no
15006
rm -f conftest.err conftest.$ac_objext \
15007
conftest$ac_exeext conftest.$ac_ext
15009
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
15010
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
15011
if test $ac_cv_func_dlopen = yes; then
15012
lt_cv_dlopen="dlopen"
15014
echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
15015
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
15016
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
15017
echo $ECHO_N "(cached) $ECHO_C" >&6
15019
ac_check_lib_save_LIBS=$LIBS
15021
cat >conftest.$ac_ext <<_ACEOF
15024
cat confdefs.h >>conftest.$ac_ext
15025
cat >>conftest.$ac_ext <<_ACEOF
15026
/* end confdefs.h. */
15028
/* Override any gcc2 internal prototype to avoid an error. */
15032
/* We use char because int might match the return type of a gcc2
15033
builtin and then its argument prototype would still apply. */
15043
rm -f conftest.$ac_objext conftest$ac_exeext
15044
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15045
(eval $ac_link) 2>conftest.er1
15047
grep -v '^ *+' conftest.er1 >conftest.err
15049
cat conftest.err >&5
15050
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15051
(exit $ac_status); } &&
15052
{ ac_try='test -z "$ac_cxx_werror_flag"
15053
|| test ! -s conftest.err'
15054
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15055
(eval $ac_try) 2>&5
15057
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15058
(exit $ac_status); }; } &&
15059
{ ac_try='test -s conftest$ac_exeext'
15060
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15061
(eval $ac_try) 2>&5
15063
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15064
(exit $ac_status); }; }; then
15065
ac_cv_lib_dl_dlopen=yes
15067
echo "$as_me: failed program was:" >&5
15068
sed 's/^/| /' conftest.$ac_ext >&5
15070
ac_cv_lib_dl_dlopen=no
15072
rm -f conftest.err conftest.$ac_objext \
15073
conftest$ac_exeext conftest.$ac_ext
15074
LIBS=$ac_check_lib_save_LIBS
15076
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
15077
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
15078
if test $ac_cv_lib_dl_dlopen = yes; then
15079
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
15081
echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
15082
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
15083
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
15084
echo $ECHO_N "(cached) $ECHO_C" >&6
15086
ac_check_lib_save_LIBS=$LIBS
15087
LIBS="-lsvld $LIBS"
15088
cat >conftest.$ac_ext <<_ACEOF
15091
cat confdefs.h >>conftest.$ac_ext
15092
cat >>conftest.$ac_ext <<_ACEOF
15093
/* end confdefs.h. */
15095
/* Override any gcc2 internal prototype to avoid an error. */
15099
/* We use char because int might match the return type of a gcc2
15100
builtin and then its argument prototype would still apply. */
15110
rm -f conftest.$ac_objext conftest$ac_exeext
15111
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15112
(eval $ac_link) 2>conftest.er1
15114
grep -v '^ *+' conftest.er1 >conftest.err
15116
cat conftest.err >&5
15117
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15118
(exit $ac_status); } &&
15119
{ ac_try='test -z "$ac_cxx_werror_flag"
15120
|| test ! -s conftest.err'
15121
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15122
(eval $ac_try) 2>&5
15124
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15125
(exit $ac_status); }; } &&
15126
{ ac_try='test -s conftest$ac_exeext'
15127
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15128
(eval $ac_try) 2>&5
15130
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15131
(exit $ac_status); }; }; then
15132
ac_cv_lib_svld_dlopen=yes
15134
echo "$as_me: failed program was:" >&5
15135
sed 's/^/| /' conftest.$ac_ext >&5
15137
ac_cv_lib_svld_dlopen=no
15139
rm -f conftest.err conftest.$ac_objext \
15140
conftest$ac_exeext conftest.$ac_ext
15141
LIBS=$ac_check_lib_save_LIBS
15143
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
15144
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
15145
if test $ac_cv_lib_svld_dlopen = yes; then
15146
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
15148
echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
15149
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
15150
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
15151
echo $ECHO_N "(cached) $ECHO_C" >&6
15153
ac_check_lib_save_LIBS=$LIBS
15155
cat >conftest.$ac_ext <<_ACEOF
15158
cat confdefs.h >>conftest.$ac_ext
15159
cat >>conftest.$ac_ext <<_ACEOF
15160
/* end confdefs.h. */
15162
/* Override any gcc2 internal prototype to avoid an error. */
15166
/* We use char because int might match the return type of a gcc2
15167
builtin and then its argument prototype would still apply. */
15177
rm -f conftest.$ac_objext conftest$ac_exeext
15178
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15179
(eval $ac_link) 2>conftest.er1
15181
grep -v '^ *+' conftest.er1 >conftest.err
15183
cat conftest.err >&5
15184
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15185
(exit $ac_status); } &&
15186
{ ac_try='test -z "$ac_cxx_werror_flag"
15187
|| test ! -s conftest.err'
15188
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15189
(eval $ac_try) 2>&5
15191
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15192
(exit $ac_status); }; } &&
15193
{ ac_try='test -s conftest$ac_exeext'
15194
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15195
(eval $ac_try) 2>&5
15197
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15198
(exit $ac_status); }; }; then
15199
ac_cv_lib_dld_dld_link=yes
15201
echo "$as_me: failed program was:" >&5
15202
sed 's/^/| /' conftest.$ac_ext >&5
15204
ac_cv_lib_dld_dld_link=no
15206
rm -f conftest.err conftest.$ac_objext \
15207
conftest$ac_exeext conftest.$ac_ext
15208
LIBS=$ac_check_lib_save_LIBS
15210
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
15211
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
15212
if test $ac_cv_lib_dld_dld_link = yes; then
15213
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
15234
if test "x$lt_cv_dlopen" != xno; then
15240
case $lt_cv_dlopen in
15242
save_CPPFLAGS="$CPPFLAGS"
15243
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
15245
save_LDFLAGS="$LDFLAGS"
15246
eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
15249
LIBS="$lt_cv_dlopen_libs $LIBS"
15251
echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
15252
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
15253
if test "${lt_cv_dlopen_self+set}" = set; then
15254
echo $ECHO_N "(cached) $ECHO_C" >&6
15256
if test "$cross_compiling" = yes; then :
15257
lt_cv_dlopen_self=cross
15259
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
15260
lt_status=$lt_dlunknown
15261
cat > conftest.$ac_ext <<EOF
15262
#line 15262 "configure"
15263
#include "confdefs.h"
15272
# define LT_DLGLOBAL RTLD_GLOBAL
15275
# define LT_DLGLOBAL DL_GLOBAL
15277
# define LT_DLGLOBAL 0
15281
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
15282
find out it does not work in some platform. */
15283
#ifndef LT_DLLAZY_OR_NOW
15285
# define LT_DLLAZY_OR_NOW RTLD_LAZY
15288
# define LT_DLLAZY_OR_NOW DL_LAZY
15291
# define LT_DLLAZY_OR_NOW RTLD_NOW
15294
# define LT_DLLAZY_OR_NOW DL_NOW
15296
# define LT_DLLAZY_OR_NOW 0
15304
extern "C" void exit (int);
15307
void fnord() { int i=42;}
15310
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
15311
int status = $lt_dlunknown;
15315
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
15316
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
15317
/* dlclose (self); */
15323
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15324
(eval $ac_link) 2>&5
15326
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15327
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
15328
(./conftest; exit; ) 2>/dev/null
15330
case x$lt_status in
15331
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
15332
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
15333
x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
15336
# compilation failed
15337
lt_cv_dlopen_self=no
15344
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
15345
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
15347
if test "x$lt_cv_dlopen_self" = xyes; then
15348
LDFLAGS="$LDFLAGS $link_static_flag"
15349
echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
15350
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
15351
if test "${lt_cv_dlopen_self_static+set}" = set; then
15352
echo $ECHO_N "(cached) $ECHO_C" >&6
15354
if test "$cross_compiling" = yes; then :
15355
lt_cv_dlopen_self_static=cross
15357
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
15358
lt_status=$lt_dlunknown
15359
cat > conftest.$ac_ext <<EOF
15360
#line 15360 "configure"
15361
#include "confdefs.h"
15370
# define LT_DLGLOBAL RTLD_GLOBAL
15373
# define LT_DLGLOBAL DL_GLOBAL
15375
# define LT_DLGLOBAL 0
15379
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
15380
find out it does not work in some platform. */
15381
#ifndef LT_DLLAZY_OR_NOW
15383
# define LT_DLLAZY_OR_NOW RTLD_LAZY
15386
# define LT_DLLAZY_OR_NOW DL_LAZY
15389
# define LT_DLLAZY_OR_NOW RTLD_NOW
15392
# define LT_DLLAZY_OR_NOW DL_NOW
15394
# define LT_DLLAZY_OR_NOW 0
15402
extern "C" void exit (int);
15405
void fnord() { int i=42;}
15408
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
15409
int status = $lt_dlunknown;
15413
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
15414
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
15415
/* dlclose (self); */
15421
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15422
(eval $ac_link) 2>&5
15424
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15425
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
15426
(./conftest; exit; ) 2>/dev/null
15428
case x$lt_status in
15429
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
15430
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
15431
x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
15434
# compilation failed
15435
lt_cv_dlopen_self_static=no
15442
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
15443
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
15446
CPPFLAGS="$save_CPPFLAGS"
15447
LDFLAGS="$save_LDFLAGS"
15452
case $lt_cv_dlopen_self in
15453
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
15454
*) enable_dlopen_self=unknown ;;
15457
case $lt_cv_dlopen_self_static in
15458
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
15459
*) enable_dlopen_self_static=unknown ;;
15464
# The else clause should only fire when bootstrapping the
15465
# libtool distribution, otherwise you forgot to ship ltmain.sh
15466
# with your package, and you will get complaints that there are
15467
# no rules to generate ltmain.sh.
15468
if test -f "$ltmain"; then
15469
# See if we are running on zsh, and set the options which allow our commands through
15470
# without removal of \ escapes.
15471
if test -n "${ZSH_VERSION+set}" ; then
15472
setopt NO_GLOB_SUBST
15474
# Now quote all the things that may contain metacharacters while being
15475
# careful not to overquote the AC_SUBSTed values. We take copies of the
15476
# variables and quote the copies for generation of the libtool script.
15477
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
15478
libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15479
old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15480
deplibs_check_method reload_flag reload_cmds need_locks \
15481
lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15482
lt_cv_sys_global_symbol_to_c_name_address \
15483
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15484
old_postinstall_cmds old_postuninstall_cmds \
15488
lt_prog_compiler_wl_CXX \
15489
lt_prog_compiler_pic_CXX \
15490
lt_prog_compiler_static_CXX \
15491
lt_prog_compiler_no_builtin_flag_CXX \
15492
export_dynamic_flag_spec_CXX \
15493
thread_safe_flag_spec_CXX \
15494
whole_archive_flag_spec_CXX \
15495
enable_shared_with_static_runtimes_CXX \
15496
old_archive_cmds_CXX \
15497
old_archive_from_new_cmds_CXX \
15498
predep_objects_CXX \
15499
postdep_objects_CXX \
15502
compiler_lib_search_path_CXX \
15504
archive_expsym_cmds_CXX \
15505
postinstall_cmds_CXX \
15506
postuninstall_cmds_CXX \
15507
old_archive_from_expsyms_cmds_CXX \
15508
allow_undefined_flag_CXX \
15509
no_undefined_flag_CXX \
15510
export_symbols_cmds_CXX \
15511
hardcode_libdir_flag_spec_CXX \
15512
hardcode_libdir_flag_spec_ld_CXX \
15513
hardcode_libdir_separator_CXX \
15514
hardcode_automatic_CXX \
15516
module_expsym_cmds_CXX \
15517
lt_cv_prog_compiler_c_o_CXX \
15518
exclude_expsyms_CXX \
15519
include_expsyms_CXX; do
15522
old_archive_cmds_CXX | \
15523
old_archive_from_new_cmds_CXX | \
15524
archive_cmds_CXX | \
15525
archive_expsym_cmds_CXX | \
15526
module_cmds_CXX | \
15527
module_expsym_cmds_CXX | \
15528
old_archive_from_expsyms_cmds_CXX | \
15529
export_symbols_cmds_CXX | \
15530
extract_expsyms_cmds | reload_cmds | finish_cmds | \
15531
postinstall_cmds | postuninstall_cmds | \
15532
old_postinstall_cmds | old_postuninstall_cmds | \
15533
sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
15534
# Double-quote double-evaled strings.
15535
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
15538
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
15544
*'\$0 --fallback-echo"')
15545
lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
15551
cat <<__EOF__ >> "$cfgfile"
15552
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
15554
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15556
# Shell to use when invoking shell scripts.
15559
# Whether or not to build shared libraries.
15560
build_libtool_libs=$enable_shared
15562
# Whether or not to build static libraries.
15563
build_old_libs=$enable_static
15565
# Whether or not to add -lc for building shared libraries.
15566
build_libtool_need_lc=$archive_cmds_need_lc_CXX
15568
# Whether or not to disallow shared libs when runtime libs are static
15569
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
15571
# Whether or not to optimize for fast installation.
15572
fast_install=$enable_fast_install
15575
host_alias=$host_alias
15578
# An echo program that does not interpret backslashes.
15583
AR_FLAGS=$lt_AR_FLAGS
15588
# A language-specific compiler.
15589
CC=$lt_compiler_CXX
15591
# Is the compiler the GNU C compiler?
15597
# The linker used to build libraries.
15600
# Whether we need hard or soft links.
15603
# A BSD-compatible nm program.
15606
# A symbol stripping program
15609
# Used to examine libraries when file_magic_cmd begins "file"
15610
MAGIC_CMD=$MAGIC_CMD
15612
# Used on cygwin: DLL creation program.
15615
# Used on cygwin: object dumper.
15618
# Used on cygwin: assembler.
15621
# The name of the directory that contains temporary libtool files.
15624
# How to create reloadable object files.
15625
reload_flag=$lt_reload_flag
15626
reload_cmds=$lt_reload_cmds
15628
# How to pass a linker flag through the compiler.
15629
wl=$lt_lt_prog_compiler_wl_CXX
15631
# Object file suffix (normally "o").
15632
objext="$ac_objext"
15634
# Old archive suffix (normally "a").
15637
# Shared library suffix (normally ".so").
15640
# Executable file suffix (normally "").
15643
# Additional compiler flags for building library objects.
15644
pic_flag=$lt_lt_prog_compiler_pic_CXX
15647
# What is the maximum length of a command?
15648
max_cmd_len=$lt_cv_sys_max_cmd_len
15650
# Does compiler simultaneously support -c and -o options?
15651
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
15653
# Must we lock files when doing compilation ?
15654
need_locks=$lt_need_locks
15656
# Do we need the lib prefix for modules?
15657
need_lib_prefix=$need_lib_prefix
15659
# Do we need a version for libraries?
15660
need_version=$need_version
15662
# Whether dlopen is supported.
15663
dlopen_support=$enable_dlopen
15665
# Whether dlopen of programs is supported.
15666
dlopen_self=$enable_dlopen_self
15668
# Whether dlopen of statically linked programs is supported.
15669
dlopen_self_static=$enable_dlopen_self_static
15671
# Compiler flag to prevent dynamic linking.
15672
link_static_flag=$lt_lt_prog_compiler_static_CXX
15674
# Compiler flag to turn off builtin functions.
15675
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
15677
# Compiler flag to allow reflexive dlopens.
15678
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
15680
# Compiler flag to generate shared objects directly from archives.
15681
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
15683
# Compiler flag to generate thread-safe objects.
15684
thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
15686
# Library versioning type.
15687
version_type=$version_type
15689
# Format of library name prefix.
15690
libname_spec=$lt_libname_spec
15692
# List of archive names. First name is the real one, the rest are links.
15693
# The last name is the one that the linker finds with -lNAME.
15694
library_names_spec=$lt_library_names_spec
15696
# The coded name of the library, if different from the real name.
15697
soname_spec=$lt_soname_spec
15699
# Commands used to build and install an old-style archive.
15701
old_archive_cmds=$lt_old_archive_cmds_CXX
15702
old_postinstall_cmds=$lt_old_postinstall_cmds
15703
old_postuninstall_cmds=$lt_old_postuninstall_cmds
15705
# Create an old-style archive from a shared archive.
15706
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
15708
# Create a temporary old-style archive to link instead of a shared archive.
15709
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
15711
# Commands used to build and install a shared archive.
15712
archive_cmds=$lt_archive_cmds_CXX
15713
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
15714
postinstall_cmds=$lt_postinstall_cmds
15715
postuninstall_cmds=$lt_postuninstall_cmds
15717
# Commands used to build a loadable module (assumed same as above if empty)
15718
module_cmds=$lt_module_cmds_CXX
15719
module_expsym_cmds=$lt_module_expsym_cmds_CXX
15721
# Commands to strip libraries.
15722
old_striplib=$lt_old_striplib
15723
striplib=$lt_striplib
15725
# Dependencies to place before the objects being linked to create a
15727
predep_objects=$lt_predep_objects_CXX
15729
# Dependencies to place after the objects being linked to create a
15731
postdep_objects=$lt_postdep_objects_CXX
15733
# Dependencies to place before the objects being linked to create a
15735
predeps=$lt_predeps_CXX
15737
# Dependencies to place after the objects being linked to create a
15739
postdeps=$lt_postdeps_CXX
15741
# The library search path used internally by the compiler when linking
15742
# a shared library.
15743
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
15745
# Method to check whether dependent libraries are shared objects.
15746
deplibs_check_method=$lt_deplibs_check_method
15748
# Command to use when deplibs_check_method == file_magic.
15749
file_magic_cmd=$lt_file_magic_cmd
15751
# Flag that allows shared libraries with undefined symbols to be built.
15752
allow_undefined_flag=$lt_allow_undefined_flag_CXX
15754
# Flag that forces no undefined symbols.
15755
no_undefined_flag=$lt_no_undefined_flag_CXX
15757
# Commands used to finish a libtool library installation in a directory.
15758
finish_cmds=$lt_finish_cmds
15760
# Same as above, but a single script fragment to be evaled but not shown.
15761
finish_eval=$lt_finish_eval
15763
# Take the output of nm and produce a listing of raw symbols and C names.
15764
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15766
# Transform the output of nm in a proper C declaration
15767
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15769
# Transform the output of nm in a C name address pair
15770
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15772
# This is the shared library runtime path variable.
15773
runpath_var=$runpath_var
15775
# This is the shared library path variable.
15776
shlibpath_var=$shlibpath_var
15778
# Is shlibpath searched before the hard-coded library search path?
15779
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15781
# How to hardcode a shared library path into an executable.
15782
hardcode_action=$hardcode_action_CXX
15784
# Whether we should hardcode library paths into libraries.
15785
hardcode_into_libs=$hardcode_into_libs
15787
# Flag to hardcode \$libdir into a binary during linking.
15788
# This must work even if \$libdir does not exist.
15789
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
15791
# If ld is used when linking, flag to hardcode \$libdir into
15792
# a binary during linking. This must work even if \$libdir does
15794
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
15796
# Whether we need a single -rpath flag with a separated argument.
15797
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
15799
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
15800
# resulting binary.
15801
hardcode_direct=$hardcode_direct_CXX
15803
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
15804
# resulting binary.
15805
hardcode_minus_L=$hardcode_minus_L_CXX
15807
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
15808
# the resulting binary.
15809
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
15811
# Set to yes if building a shared library automatically hardcodes DIR into the library
15812
# and all subsequent libraries and executables linked against it.
15813
hardcode_automatic=$hardcode_automatic_CXX
15815
# Variables whose values should be saved in libtool wrapper scripts and
15816
# restored at relink time.
15817
variables_saved_for_relink="$variables_saved_for_relink"
15819
# Whether libtool must link a program against all its dependency libraries.
15820
link_all_deplibs=$link_all_deplibs_CXX
15822
# Compile-time system search path for libraries
15823
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15825
# Run-time system search path for libraries
15826
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15828
# Fix the shell variable \$srcfile for the compiler.
15829
fix_srcfile_path="$fix_srcfile_path_CXX"
15831
# Set to yes if exported symbols are required.
15832
always_export_symbols=$always_export_symbols_CXX
15834
# The commands to list exported symbols.
15835
export_symbols_cmds=$lt_export_symbols_cmds_CXX
15837
# The commands to extract the exported symbol list from a shared archive.
15838
extract_expsyms_cmds=$lt_extract_expsyms_cmds
15840
# Symbols that should not be listed in the preloaded symbols.
15841
exclude_expsyms=$lt_exclude_expsyms_CXX
15843
# Symbols that must always be exported.
15844
include_expsyms=$lt_include_expsyms_CXX
15846
# ### END LIBTOOL TAG CONFIG: $tagname
15852
# If there is no Makefile yet, we rely on a make rule to execute
15853
# `config.status --recheck' to rerun these tests and create the
15854
# libtool script then.
15855
test -f Makefile && make "$ltmain"
15860
ac_cpp='$CPP $CPPFLAGS'
15861
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15862
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15863
ac_compiler_gnu=$ac_cv_c_compiler_gnu
15869
with_gnu_ldcxx=$with_gnu_ld
15870
with_gnu_ld=$lt_save_with_gnu_ld
15871
lt_cv_path_LDCXX=$lt_cv_path_LD
15872
lt_cv_path_LD=$lt_save_path_LD
15873
lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15874
lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15882
if test -n "$F77" && test "X$F77" != "Xno"; then
15885
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
15886
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15887
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
15890
archive_cmds_need_lc_F77=no
15891
allow_undefined_flag_F77=
15892
always_export_symbols_F77=no
15893
archive_expsym_cmds_F77=
15894
export_dynamic_flag_spec_F77=
15895
hardcode_direct_F77=no
15896
hardcode_libdir_flag_spec_F77=
15897
hardcode_libdir_flag_spec_ld_F77=
15898
hardcode_libdir_separator_F77=
15899
hardcode_minus_L_F77=no
15900
hardcode_automatic_F77=no
15902
module_expsym_cmds_F77=
15903
link_all_deplibs_F77=unknown
15904
old_archive_cmds_F77=$old_archive_cmds
15905
no_undefined_flag_F77=
15906
whole_archive_flag_spec_F77=
15907
enable_shared_with_static_runtimes_F77=no
15909
# Source file extension for f77 test sources.
15912
# Object file extension for compiled f77 test sources.
15916
# Code to be used in simple compile tests
15917
lt_simple_compile_test_code=" subroutine t\n return\n end\n"
15919
# Code to be used in simple link tests
15920
lt_simple_link_test_code=" program t\n end\n"
15922
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
15924
# If no C compiler was specified, use CC.
15927
# Allow CC to be a program name with arguments.
15931
# Allow CC to be a program name with arguments.
15936
cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
15938
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
15939
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
15940
echo "$as_me:$LINENO: result: $can_build_shared" >&5
15941
echo "${ECHO_T}$can_build_shared" >&6
15943
echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
15944
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
15945
test "$can_build_shared" = "no" && enable_shared=no
15947
# On AIX, shared libraries and static libraries use the same namespace, and
15948
# are all built from PIC.
15951
test "$enable_shared" = yes && enable_static=no
15952
if test -n "$RANLIB"; then
15953
archive_cmds="$archive_cmds~\$RANLIB \$lib"
15954
postinstall_cmds='$RANLIB $lib'
15958
test "$enable_shared" = yes && enable_static=no
15961
echo "$as_me:$LINENO: result: $enable_shared" >&5
15962
echo "${ECHO_T}$enable_shared" >&6
15964
echo "$as_me:$LINENO: checking whether to build static libraries" >&5
15965
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
15966
# Make sure either enable_shared or enable_static is yes.
15967
test "$enable_shared" = yes || enable_static=yes
15968
echo "$as_me:$LINENO: result: $enable_static" >&5
15969
echo "${ECHO_T}$enable_static" >&6
15971
test "$ld_shlibs_F77" = no && can_build_shared=no
15976
lt_prog_compiler_wl_F77=
15977
lt_prog_compiler_pic_F77=
15978
lt_prog_compiler_static_F77=
15980
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15981
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
15983
if test "$GCC" = yes; then
15984
lt_prog_compiler_wl_F77='-Wl,'
15985
lt_prog_compiler_static_F77='-static'
15989
# All AIX code is PIC.
15990
if test "$host_cpu" = ia64; then
15991
# AIX 5 now supports IA64 processor
15992
lt_prog_compiler_static_F77='-Bstatic'
15997
# FIXME: we need at least 68020 code to build shared libraries, but
15998
# adding the `-m68020' flag to GCC prevents building anything better,
16000
lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
16003
beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16004
# PIC is the default for these OSes.
16007
mingw* | pw32* | os2*)
16008
# This hack is so that the source file can tell whether it is being
16009
# built for inclusion in a dll (and should export symbols for example).
16010
lt_prog_compiler_pic_F77='-DDLL_EXPORT'
16013
darwin* | rhapsody*)
16014
# PIC is the default on this platform
16015
# Common symbols not allowed in MH_DYLIB files
16016
lt_prog_compiler_pic_F77='-fno-common'
16020
# Just because we use GCC doesn't mean we suddenly get shared libraries
16021
# on systems that don't support them.
16022
lt_prog_compiler_can_build_shared_F77=no
16027
if test -d /usr/nec; then
16028
lt_prog_compiler_pic_F77=-Kconform_pic
16033
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16034
# not for PA HP-UX.
16035
case "$host_cpu" in
16040
lt_prog_compiler_pic_F77='-fPIC'
16046
lt_prog_compiler_pic_F77='-fPIC'
16050
# PORTME Check for flag to pass linker flags through the system compiler.
16053
lt_prog_compiler_wl_F77='-Wl,'
16054
if test "$host_cpu" = ia64; then
16055
# AIX 5 now supports IA64 processor
16056
lt_prog_compiler_static_F77='-Bstatic'
16058
lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
16062
mingw* | pw32* | os2*)
16063
# This hack is so that the source file can tell whether it is being
16064
# built for inclusion in a dll (and should export symbols for example).
16065
lt_prog_compiler_pic_F77='-DDLL_EXPORT'
16068
hpux9* | hpux10* | hpux11*)
16069
lt_prog_compiler_wl_F77='-Wl,'
16070
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16071
# not for PA HP-UX.
16072
case "$host_cpu" in
16077
lt_prog_compiler_pic_F77='+Z'
16080
# Is there a better lt_prog_compiler_static that works with the bundled CC?
16081
lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
16084
irix5* | irix6* | nonstopux*)
16085
lt_prog_compiler_wl_F77='-Wl,'
16086
# PIC (with -KPIC) is the default.
16087
lt_prog_compiler_static_F77='-non_shared'
16091
lt_prog_compiler_pic_F77='-KPIC'
16092
lt_prog_compiler_static_F77='-Bstatic'
16098
lt_prog_compiler_wl_F77='-Wl,'
16099
lt_prog_compiler_pic_F77='-KPIC'
16100
lt_prog_compiler_static_F77='-static'
16103
lt_prog_compiler_wl_F77='-Wl,'
16104
# All Alpha code is PIC.
16105
lt_prog_compiler_static_F77='-non_shared'
16110
osf3* | osf4* | osf5*)
16111
lt_prog_compiler_wl_F77='-Wl,'
16112
# All OSF/1 code is PIC.
16113
lt_prog_compiler_static_F77='-non_shared'
16117
lt_prog_compiler_pic_F77='-Kpic'
16118
lt_prog_compiler_static_F77='-dn'
16122
lt_prog_compiler_wl_F77='-Wl,'
16123
lt_prog_compiler_pic_F77='-KPIC'
16124
lt_prog_compiler_static_F77='-Bstatic'
16128
lt_prog_compiler_wl_F77='-Qoption ld '
16129
lt_prog_compiler_pic_F77='-PIC'
16130
lt_prog_compiler_static_F77='-Bstatic'
16133
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
16134
lt_prog_compiler_wl_F77='-Wl,'
16135
lt_prog_compiler_pic_F77='-KPIC'
16136
lt_prog_compiler_static_F77='-Bstatic'
16140
if test -d /usr/nec ;then
16141
lt_prog_compiler_pic_F77='-Kconform_pic'
16142
lt_prog_compiler_static_F77='-Bstatic'
16147
lt_prog_compiler_pic_F77='-pic'
16148
lt_prog_compiler_static_F77='-Bstatic'
16152
lt_prog_compiler_can_build_shared_F77=no
16157
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
16158
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
16161
# Check to make sure the PIC flag actually works.
16163
if test -n "$lt_prog_compiler_pic_F77"; then
16165
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
16166
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
16167
if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
16168
echo $ECHO_N "(cached) $ECHO_C" >&6
16170
lt_prog_compiler_pic_works_F77=no
16171
ac_outfile=conftest.$ac_objext
16172
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16173
lt_compiler_flag="$lt_prog_compiler_pic_F77"
16174
# Insert the option either (1) after the last *FLAGS variable, or
16175
# (2) before a word containing "conftest.", or (3) at the end.
16176
# Note that $ac_compile itself does not contain backslashes and begins
16177
# with a dollar sign (not a hyphen), so the echo should work correctly.
16178
# The option is referenced via a variable to avoid confusing sed.
16179
lt_compile=`echo "$ac_compile" | $SED \
16180
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
16181
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16182
-e 's:$: $lt_compiler_flag:'`
16183
(eval echo "\"\$as_me:16183: $lt_compile\"" >&5)
16184
(eval "$lt_compile" 2>conftest.err)
16186
cat conftest.err >&5
16187
echo "$as_me:16187: \$? = $ac_status" >&5
16188
if (exit $ac_status) && test -s "$ac_outfile"; then
16189
# The compiler can only warn and ignore the option if not recognized
16190
# So say no if there are warnings
16191
if test ! -s conftest.err; then
16192
lt_prog_compiler_pic_works_F77=yes
16198
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
16199
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
16201
if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
16202
case $lt_prog_compiler_pic_F77 in
16204
*) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
16207
lt_prog_compiler_pic_F77=
16208
lt_prog_compiler_can_build_shared_F77=no
16213
# For platforms which do not support PIC, -DPIC is meaningless:
16215
lt_prog_compiler_pic_F77=
16218
lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
16222
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16223
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
16224
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
16225
echo $ECHO_N "(cached) $ECHO_C" >&6
16227
lt_cv_prog_compiler_c_o_F77=no
16228
$rm -r conftest 2>/dev/null
16232
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16234
# According to Tom Tromey, Ian Lance Taylor reported there are C compilers
16235
# that will create temporary files in the current directory regardless of
16236
# the output directory. Thus, making CWD read-only will cause this test
16237
# to fail, enabling locking or at least warning the user not to do parallel
16241
lt_compiler_flag="-o out/conftest2.$ac_objext"
16242
# Insert the option either (1) after the last *FLAGS variable, or
16243
# (2) before a word containing "conftest.", or (3) at the end.
16244
# Note that $ac_compile itself does not contain backslashes and begins
16245
# with a dollar sign (not a hyphen), so the echo should work correctly.
16246
lt_compile=`echo "$ac_compile" | $SED \
16247
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
16248
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16249
-e 's:$: $lt_compiler_flag:'`
16250
(eval echo "\"\$as_me:16250: $lt_compile\"" >&5)
16251
(eval "$lt_compile" 2>out/conftest.err)
16253
cat out/conftest.err >&5
16254
echo "$as_me:16254: \$? = $ac_status" >&5
16255
if (exit $ac_status) && test -s out/conftest2.$ac_objext
16257
# The compiler can only warn and ignore the option if not recognized
16258
# So say no if there are warnings
16259
if test ! -s out/conftest.err; then
16260
lt_cv_prog_compiler_c_o_F77=yes
16264
$rm conftest* out/*
16271
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
16272
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
16275
hard_links="nottested"
16276
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
16277
# do not overwrite the value of need_locks provided by the user
16278
echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16279
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
16282
ln conftest.a conftest.b 2>/dev/null && hard_links=no
16284
ln conftest.a conftest.b 2>&5 || hard_links=no
16285
ln conftest.a conftest.b 2>/dev/null && hard_links=no
16286
echo "$as_me:$LINENO: result: $hard_links" >&5
16287
echo "${ECHO_T}$hard_links" >&6
16288
if test "$hard_links" = no; then
16289
{ echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16290
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16297
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16298
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
16301
allow_undefined_flag_F77=
16302
enable_shared_with_static_runtimes_F77=no
16304
archive_expsym_cmds_F77=
16305
old_archive_From_new_cmds_F77=
16306
old_archive_from_expsyms_cmds_F77=
16307
export_dynamic_flag_spec_F77=
16308
whole_archive_flag_spec_F77=
16309
thread_safe_flag_spec_F77=
16310
hardcode_libdir_flag_spec_F77=
16311
hardcode_libdir_flag_spec_ld_F77=
16312
hardcode_libdir_separator_F77=
16313
hardcode_direct_F77=no
16314
hardcode_minus_L_F77=no
16315
hardcode_shlibpath_var_F77=unsupported
16316
link_all_deplibs_F77=unknown
16317
hardcode_automatic_F77=no
16319
module_expsym_cmds_F77=
16320
always_export_symbols_F77=no
16321
export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16322
# include_expsyms should be a list of space-separated symbols to be *always*
16323
# included in the symbol list
16324
include_expsyms_F77=
16325
# exclude_expsyms can be an extended regexp of symbols to exclude
16326
# it will be wrapped by ` (' and `)$', so one must not match beginning or
16327
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16328
# as well as any symbol that contains `d'.
16329
exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
16330
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16331
# platforms (ab)use it in PIC code, but their linkers get confused if
16332
# the symbol is explicitly referenced. Since portable code cannot
16333
# rely on this symbol name, it's probably fine to never include it in
16334
# preloaded symbol tables.
16335
extract_expsyms_cmds=
16338
cygwin* | mingw* | pw32*)
16339
# FIXME: the MSVC++ port hasn't been tested in a loooong time
16340
# When not using gcc, we currently assume that we are using
16341
# Microsoft Visual C++.
16342
if test "$GCC" != yes; then
16352
if test "$with_gnu_ld" = yes; then
16353
# If archive_cmds runs LD, not CC, wlarc should be empty
16356
# See if GNU ld supports shared libraries.
16358
aix3* | aix4* | aix5*)
16359
# On AIX/PPC, the GNU linker is very broken
16360
if test "$host_cpu" != ia64; then
16364
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
16365
*** to be unable to reliably create shared libraries on AIX.
16366
*** Therefore, libtool is disabling shared libraries support. If you
16367
*** really care for shared libraries, you may want to modify your PATH
16368
*** so that a non-GNU linker is found, and then restart.
16375
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)'
16376
hardcode_libdir_flag_spec_F77='-L$libdir'
16377
hardcode_minus_L_F77=yes
16379
# Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16380
# that the semantics of dynamic libraries on AmigaOS, at least up
16381
# to version 4, is to share data among multiple programs linked
16382
# with the same dynamic library. Since this doesn't match the
16383
# behavior of shared libraries on other platforms, we can't use
16389
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16390
allow_undefined_flag_F77=unsupported
16391
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16392
# support --undefined. This deserves some investigation. FIXME
16393
archive_cmds_F77='$CC -nostart $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
16399
cygwin* | mingw* | pw32*)
16400
# _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
16401
# as there is no search path for DLLs.
16402
hardcode_libdir_flag_spec_F77='-L$libdir'
16403
allow_undefined_flag_F77=no
16404
always_export_symbols_F77=no
16405
enable_shared_with_static_runtimes_F77=yes
16406
export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
16408
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
16409
archive_cmds_F77='$CC -shared $compiler_flags $libobjs $deplibs -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
16410
# If the export-symbols file already is a .def file (1st line
16411
# is EXPORTS), use it as is; otherwise, prepend...
16412
archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16413
cp $export_symbols $output_objdir/$soname.def;
16415
echo EXPORTS > $output_objdir/$soname.def;
16416
cat $export_symbols >> $output_objdir/$soname.def;
16418
$CC -shared $output_objdir/$soname.def $compiler_flags $libobjs $deplibs -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
16425
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16426
archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16429
archive_cmds_F77='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
16430
archive_expsym_cmds_F77='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16435
if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
16439
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
16440
*** create shared libraries on Solaris systems. Therefore, libtool
16441
*** is disabling shared libraries support. We urge you to upgrade GNU
16442
*** binutils to release 2.9.1 or newer. Another option is to modify
16443
*** your PATH or compiler configuration so that the native linker is
16444
*** used, and then restart.
16447
elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16448
archive_cmds_F77='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
16449
archive_expsym_cmds_F77='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16456
archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16458
hardcode_direct_F77=yes
16459
hardcode_shlibpath_var_F77=no
16463
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16464
archive_cmds_F77='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
16465
archive_expsym_cmds_F77='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16472
if test "$ld_shlibs_F77" = yes; then
16473
runpath_var=LD_RUN_PATH
16474
hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
16475
export_dynamic_flag_spec_F77='${wl}--export-dynamic'
16476
# ancient GNU ld didn't support --whole-archive et. al.
16477
if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
16478
whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16480
whole_archive_flag_spec_F77=
16484
# PORTME fill in a description of your system's linker (not GNU ld)
16487
allow_undefined_flag_F77=unsupported
16488
always_export_symbols_F77=yes
16489
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'
16490
# Note: this linker hardcodes the directories in LIBPATH if there
16491
# are no directories specified by -L.
16492
hardcode_minus_L_F77=yes
16493
if test "$GCC" = yes && test -z "$link_static_flag"; then
16494
# Neither direct hardcoding nor static linking is supported with a
16496
hardcode_direct_F77=unsupported
16501
if test "$host_cpu" = ia64; then
16502
# On IA64, the linker does run time linking by default, so we don't
16503
# have to do anything special.
16504
aix_use_runtimelinking=no
16505
exp_sym_flag='-Bexport'
16508
# If we're using GNU nm, then we don't want the "-C" option.
16509
# -C means demangle to AIX nm, but means don't demangle with GNU nm
16510
if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
16511
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'
16513
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'
16516
# KDE requires run time linking. Make it the default.
16517
aix_use_runtimelinking=yes
16518
exp_sym_flag='-bexport'
16519
no_entry_flag='-bnoentry'
16522
# When large executables or shared objects are built, AIX ld can
16523
# have problems creating the table of contents. If linking a library
16524
# or program results in "error TOC overflow" add -mminimal-toc to
16525
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
16526
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
16528
archive_cmds_F77=''
16529
hardcode_direct_F77=yes
16530
hardcode_libdir_separator_F77=':'
16531
link_all_deplibs_F77=yes
16533
if test "$GCC" = yes; then
16534
case $host_os in aix4.012|aix4.012.*)
16535
# We only want to do this on AIX 4.2 and lower, the check
16536
# below for broken collect2 doesn't work under 4.3+
16537
collect2name=`${CC} -print-prog-name=collect2`
16538
if test -f "$collect2name" && \
16539
strings "$collect2name" | grep resolve_lib_name >/dev/null
16541
# We have reworked collect2
16542
hardcode_direct_F77=yes
16544
# We have old collect2
16545
hardcode_direct_F77=unsupported
16546
# It fails to find uninstalled libraries when the uninstalled
16547
# path is not listed in the libpath. Setting hardcode_minus_L
16548
# to unsupported forces relinking
16549
hardcode_minus_L_F77=yes
16550
hardcode_libdir_flag_spec_F77='-L$libdir'
16551
hardcode_libdir_separator_F77=
16554
shared_flag='-shared'
16557
if test "$host_cpu" = ia64; then
16558
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16559
# chokes on -Wl,-G. The following line is correct:
16562
if test "$aix_use_runtimelinking" = yes; then
16563
shared_flag='-qmkshrobj ${wl}-G'
16565
shared_flag='-qmkshrobj'
16570
# Let the compiler handle the export list.
16571
always_export_symbols_F77=no
16572
if test "$aix_use_runtimelinking" = yes; then
16573
# Warning - without using the other runtime loading flags (-brtl),
16574
# -berok will link without error, but may produce a broken library.
16575
allow_undefined_flag_F77='-berok'
16576
# Determine the default libpath from the value encoded in an empty executable.
16577
cat >conftest.$ac_ext <<_ACEOF
16582
rm -f conftest.$ac_objext conftest$ac_exeext
16583
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16584
(eval $ac_link) 2>conftest.er1
16586
grep -v '^ *+' conftest.er1 >conftest.err
16588
cat conftest.err >&5
16589
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16590
(exit $ac_status); } &&
16591
{ ac_try='test -z "$ac_f77_werror_flag"
16592
|| test ! -s conftest.err'
16593
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16594
(eval $ac_try) 2>&5
16596
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16597
(exit $ac_status); }; } &&
16598
{ ac_try='test -s conftest$ac_exeext'
16599
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16600
(eval $ac_try) 2>&5
16602
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16603
(exit $ac_status); }; }; then
16605
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16607
# Check for a 64-bit object if we didn't find anything.
16608
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; }
16611
echo "$as_me: failed program was:" >&5
16612
sed 's/^/| /' conftest.$ac_ext >&5
16615
rm -f conftest.err conftest.$ac_objext \
16616
conftest$ac_exeext conftest.$ac_ext
16617
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16619
hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
16620
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"
16621
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"
16623
if test "$host_cpu" = ia64; then
16624
hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
16625
allow_undefined_flag_F77="-z nodefs"
16626
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"
16628
# Determine the default libpath from the value encoded in an empty executable.
16629
cat >conftest.$ac_ext <<_ACEOF
16634
rm -f conftest.$ac_objext conftest$ac_exeext
16635
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16636
(eval $ac_link) 2>conftest.er1
16638
grep -v '^ *+' conftest.er1 >conftest.err
16640
cat conftest.err >&5
16641
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16642
(exit $ac_status); } &&
16643
{ ac_try='test -z "$ac_f77_werror_flag"
16644
|| test ! -s conftest.err'
16645
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16646
(eval $ac_try) 2>&5
16648
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16649
(exit $ac_status); }; } &&
16650
{ ac_try='test -s conftest$ac_exeext'
16651
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16652
(eval $ac_try) 2>&5
16654
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16655
(exit $ac_status); }; }; then
16657
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16659
# Check for a 64-bit object if we didn't find anything.
16660
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; }
16663
echo "$as_me: failed program was:" >&5
16664
sed 's/^/| /' conftest.$ac_ext >&5
16667
rm -f conftest.err conftest.$ac_objext \
16668
conftest$ac_exeext conftest.$ac_ext
16669
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16671
hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
16672
# Warning - without using the other run time loading flags,
16673
# -berok will link without error, but may produce a broken library.
16674
no_undefined_flag_F77=' ${wl}-bernotok'
16675
allow_undefined_flag_F77=' ${wl}-berok'
16676
# -bexpall does not export symbols beginning with underscore (_)
16677
always_export_symbols_F77=yes
16678
# Exported symbols can be pulled into shared objects from archives
16679
whole_archive_flag_spec_F77=' '
16680
archive_cmds_need_lc_F77=yes
16681
# This is similar to how AIX traditionally builds it's shared libraries.
16682
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'
16688
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)'
16689
hardcode_libdir_flag_spec_F77='-L$libdir'
16690
hardcode_minus_L_F77=yes
16691
# see comment about different semantics on the GNU ld section
16696
export_dynamic_flag_spec_F77=-rdynamic
16699
cygwin* | mingw* | pw32*)
16700
# When not using gcc, we currently assume that we are using
16701
# Microsoft Visual C++.
16702
# hardcode_libdir_flag_spec is actually meaningless, as there is
16703
# no search path for DLLs.
16704
hardcode_libdir_flag_spec_F77=' '
16705
allow_undefined_flag_F77=no
16706
# Tell ltmain to make .lib files, not .a files.
16708
# Tell ltmain to make .dll files, not .so files.
16710
# FIXME: Setting linknames here is a bad hack.
16711
archive_cmds_F77='$CC -o $lib $compiler_flags $libobjs `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
16712
# The linker will automatically build a .lib file if we build a DLL.
16713
old_archive_From_new_cmds_F77='true'
16714
# FIXME: Should let the user specify the lib program.
16715
old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
16716
fix_srcfile_path='`cygpath -w "$srcfile"`'
16717
enable_shared_with_static_runtimes_F77=yes
16720
darwin* | rhapsody*)
16721
if test "$GXX" = yes ; then
16722
archive_cmds_need_lc_F77=no
16724
rhapsody* | darwin1.[012])
16725
allow_undefined_flag_F77='-Wl,-undefined -Wl,suppress'
16728
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
16729
allow_undefined_flag_F77='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
16731
case ${MACOSX_DEPLOYMENT_TARGET} in
16733
allow_undefined_flag_F77='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
16736
allow_undefined_flag_F77='-Wl,-undefined -Wl,dynamic_lookup'
16742
lt_int_apple_cc_single_mod=no
16743
output_verbose_link_cmd='echo'
16744
if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
16745
lt_int_apple_cc_single_mod=yes
16747
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
16748
archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring'
16750
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'
16752
module_cmds_F77='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs'
16753
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
16754
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
16755
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}'
16757
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}'
16759
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}'
16760
hardcode_direct_F77=no
16761
hardcode_automatic_F77=yes
16762
hardcode_shlibpath_var_F77=unsupported
16763
whole_archive_flag_spec_F77='-all_load $convenience'
16764
link_all_deplibs_F77=yes
16771
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16772
hardcode_libdir_flag_spec_F77='-L$libdir'
16773
hardcode_shlibpath_var_F77=no
16780
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
16781
# support. Future versions do this automatically, but an explicit c++rt0.o
16782
# does not break anything, and helps significantly (at the cost of a little
16785
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
16786
hardcode_libdir_flag_spec_F77='-R$libdir'
16787
hardcode_direct_F77=yes
16788
hardcode_shlibpath_var_F77=no
16791
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
16793
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16794
hardcode_direct_F77=yes
16795
hardcode_minus_L_F77=yes
16796
hardcode_shlibpath_var_F77=no
16799
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16801
archive_cmds_F77='$CC -shared -o $lib $compiler_flags $libobjs $deplibs'
16802
hardcode_libdir_flag_spec_F77='-R$libdir'
16803
hardcode_direct_F77=yes
16804
hardcode_shlibpath_var_F77=no
16808
if test "$GCC" = yes; then
16809
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'
16811
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'
16813
hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
16814
hardcode_libdir_separator_F77=:
16815
hardcode_direct_F77=yes
16817
# hardcode_minus_L: Not really in the search PATH,
16818
# but as the default location of the library.
16819
hardcode_minus_L_F77=yes
16820
export_dynamic_flag_spec_F77='${wl}-E'
16824
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
16825
case "$host_cpu" in
16827
archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
16830
archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $compiler_flags $libobjs $deplibs'
16834
case "$host_cpu" in
16836
archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
16839
archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
16843
if test "$with_gnu_ld" = no; then
16844
case "$host_cpu" in
16846
hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
16847
hardcode_libdir_flag_spec_ld_F77='+b $libdir'
16848
hardcode_libdir_separator_F77=:
16849
hardcode_direct_F77=no
16850
hardcode_shlibpath_var_F77=no
16853
hardcode_libdir_flag_spec_F77='-L$libdir'
16854
hardcode_direct_F77=no
16855
hardcode_shlibpath_var_F77=no
16857
# hardcode_minus_L: Not really in the search PATH,
16858
# but as the default location of the library.
16859
hardcode_minus_L_F77=yes
16862
hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
16863
hardcode_libdir_separator_F77=:
16864
hardcode_direct_F77=yes
16865
export_dynamic_flag_spec_F77='${wl}-E'
16867
# hardcode_minus_L: Not really in the search PATH,
16868
# but as the default location of the library.
16869
hardcode_minus_L_F77=yes
16875
irix5* | irix6* | nonstopux*)
16876
if test "$GCC" = yes; then
16877
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'
16879
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'
16880
hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
16882
hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
16883
hardcode_libdir_separator_F77=:
16884
link_all_deplibs_F77=yes
16888
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16889
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
16891
archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
16893
hardcode_libdir_flag_spec_F77='-R$libdir'
16894
hardcode_direct_F77=yes
16895
hardcode_shlibpath_var_F77=no
16899
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16900
hardcode_direct_F77=yes
16901
hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
16902
hardcode_libdir_separator_F77=:
16903
hardcode_shlibpath_var_F77=no
16907
hardcode_direct_F77=yes
16908
hardcode_shlibpath_var_F77=no
16909
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16910
archive_cmds_F77='$CC -shared $pic_flag -o $lib $compiler_flags $libobjs $deplibs'
16911
hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
16912
export_dynamic_flag_spec_F77='${wl}-E'
16915
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
16916
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16917
hardcode_libdir_flag_spec_F77='-R$libdir'
16920
archive_cmds_F77='$CC -shared $pic_flag -o $lib $compiler_flags $libobjs $deplibs'
16921
hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
16928
hardcode_libdir_flag_spec_F77='-L$libdir'
16929
hardcode_minus_L_F77=yes
16930
allow_undefined_flag_F77=unsupported
16931
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'
16932
old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16936
if test "$GCC" = yes; then
16937
allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
16938
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'
16940
allow_undefined_flag_F77=' -expect_unresolved \*'
16941
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'
16943
hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
16944
hardcode_libdir_separator_F77=:
16947
osf4* | osf5*) # as osf3* with the addition of -msym flag
16948
if test "$GCC" = yes; then
16949
allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
16950
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'
16951
hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
16953
allow_undefined_flag_F77=' -expect_unresolved \*'
16954
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'
16955
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~
16956
$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'
16958
# Both c and cxx compiler support -rpath directly
16959
hardcode_libdir_flag_spec_F77='-rpath $libdir'
16961
hardcode_libdir_separator_F77=:
16965
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16966
hardcode_shlibpath_var_F77=no
16967
export_dynamic_flag_spec_F77='${wl}-Bexport'
16968
runpath_var=LD_RUN_PATH
16969
hardcode_runpath_var=yes
16973
no_undefined_flag_F77=' -z text'
16974
if test "$GCC" = yes; then
16975
archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
16976
archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16977
$CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs~$rm $lib.exp'
16979
archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16980
archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16981
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16983
hardcode_libdir_flag_spec_F77='-R$libdir'
16984
hardcode_shlibpath_var_F77=no
16986
solaris2.[0-5] | solaris2.[0-5].*) ;;
16987
*) # Supported since Solaris 2.6 (maybe 2.5.1?)
16988
whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
16990
link_all_deplibs_F77=yes
16994
if test "x$host_vendor" = xsequent; then
16995
# Use $CC to link under sequent, because it throws in some extra .o
16996
# files that make .init and .fini sections work.
16997
archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $compiler_flags $libobjs $deplibs'
16999
archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17001
hardcode_libdir_flag_spec_F77='-L$libdir'
17002
hardcode_direct_F77=yes
17003
hardcode_minus_L_F77=yes
17004
hardcode_shlibpath_var_F77=no
17008
case $host_vendor in
17010
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17011
hardcode_direct_F77=yes # is this really true???
17014
## LD is ld it makes a PLAMLIB
17015
## CC just makes a GrossModule.
17016
archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17017
reload_cmds_F77='$CC -r -o $output$reload_objs'
17018
hardcode_direct_F77=no
17021
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17022
hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
17025
runpath_var='LD_RUN_PATH'
17026
hardcode_shlibpath_var_F77=no
17030
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17031
hardcode_shlibpath_var_F77=no
17032
export_dynamic_flag_spec_F77='-Bexport'
17036
if test -d /usr/nec; then
17037
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17038
hardcode_shlibpath_var_F77=no
17039
runpath_var=LD_RUN_PATH
17040
hardcode_runpath_var=yes
17046
archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17047
hardcode_direct_F77=yes
17048
hardcode_minus_L_F77=no
17049
hardcode_shlibpath_var_F77=no
17050
hardcode_runpath_var=yes
17051
runpath_var=LD_RUN_PATH
17054
sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
17055
no_undefined_flag_F77='${wl}-z ${wl}text'
17056
if test "$GCC" = yes; then
17057
archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
17059
archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
17061
runpath_var='LD_RUN_PATH'
17062
hardcode_shlibpath_var_F77=no
17066
no_undefined_flag_F77=' -z text'
17067
# $CC -shared without GNU ld will not create a library from C++
17068
# object files and a static libstdc++, better avoid it by now
17069
archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17070
archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17071
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17072
hardcode_libdir_flag_spec_F77=
17073
hardcode_shlibpath_var_F77=no
17074
runpath_var='LD_RUN_PATH'
17078
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17079
hardcode_libdir_flag_spec_F77='-L$libdir'
17080
hardcode_shlibpath_var_F77=no
17089
echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
17090
echo "${ECHO_T}$ld_shlibs_F77" >&6
17091
test "$ld_shlibs_F77" = no && can_build_shared=no
17093
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17094
if test "$GCC" = yes; then
17095
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17099
# Do we need to explicitly link libc?
17101
case "x$archive_cmds_need_lc_F77" in
17103
# Assume -lc should be added
17104
archive_cmds_need_lc_F77=yes
17106
if test "$enable_shared" = yes && test "$GCC" = yes; then
17107
case $archive_cmds_F77 in
17109
# FIXME: we may have to deal with multi-command sequences.
17112
# Test whether the compiler implicitly links with -lc since on some
17113
# systems, -lgcc has to come before -lc. If gcc already passes -lc
17114
# to ld, don't add -lc before -lgcc.
17115
echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17116
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
17118
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17120
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17121
(eval $ac_compile) 2>&5
17123
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17124
(exit $ac_status); } 2>conftest.err; then
17127
libobjs=conftest.$ac_objext
17129
wl=$lt_prog_compiler_wl_F77
17135
lt_save_allow_undefined_flag=$allow_undefined_flag_F77
17136
allow_undefined_flag_F77=
17137
if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
17138
(eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
17140
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17141
(exit $ac_status); }
17143
archive_cmds_need_lc_F77=no
17145
archive_cmds_need_lc_F77=yes
17147
allow_undefined_flag_F77=$lt_save_allow_undefined_flag
17149
cat conftest.err 1>&5
17152
echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
17153
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
17160
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17161
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
17162
library_names_spec=
17163
libname_spec='lib$name'
17167
postuninstall_cmds=
17171
shlibpath_overrides_runpath=unknown
17173
dynamic_linker="$host_os ld.so"
17174
sys_lib_dlsearch_path_spec="/lib /usr/lib"
17175
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
17176
need_lib_prefix=unknown
17177
hardcode_into_libs=no
17179
# when you set need_version to no, make sure it does not cause -set_version
17180
# flags to be left without arguments
17181
need_version=unknown
17186
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
17187
shlibpath_var=LIBPATH
17189
# AIX 3 has no versioning support, so we append a major version to the name.
17190
soname_spec='${libname}${release}${shared_ext}$major'
17197
hardcode_into_libs=yes
17198
if test "$host_cpu" = ia64; then
17199
# AIX 5 supports IA64
17200
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17201
shlibpath_var=LD_LIBRARY_PATH
17203
# With GCC up to 2.95.x, collect2 would create an import file
17204
# for dependence libraries. The import file would start with
17205
# the line `#! .'. This would cause the generated library to
17206
# depend on `.', always an invalid library. This was fixed in
17207
# development snapshots of GCC prior to 3.0.
17209
aix4 | aix4.[01] | aix4.[01].*)
17210
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17212
echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
17215
can_build_shared=no
17219
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17220
# soname into executable. Probably we can add versioning support to
17221
# collect2, so additional links can be useful in future.
17222
if test "$aix_use_runtimelinking" = yes; then
17223
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
17224
# instead of lib<name>.a to let people know that these are not
17225
# typical AIX shared libraries.
17226
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17228
# We preserve .a as extension for shared libraries through AIX4.2
17229
# and later when we are not doing run time linking.
17230
library_names_spec='${libname}${release}.a $libname.a'
17231
soname_spec='${libname}${release}${shared_ext}$major'
17233
shlibpath_var=LIBPATH
17238
library_names_spec='$libname.ixlibrary $libname.a'
17239
# Create ${libname}_ixlibrary.a entries in /sys/libs.
17240
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'
17244
library_names_spec='${libname}${shared_ext}'
17245
dynamic_linker="$host_os ld.so"
17246
shlibpath_var=LIBRARY_PATH
17252
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17253
soname_spec='${libname}${release}${shared_ext}$major'
17254
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
17255
shlibpath_var=LD_LIBRARY_PATH
17256
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17257
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
17258
# the default ld.so.conf also contains /usr/contrib/lib and
17259
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17260
# libtool to hard-code these into programs
17263
cygwin* | mingw* | pw32*)
17264
version_type=windows
17269
case $GCC,$host_os in
17270
yes,cygwin* | yes,mingw* | yes,pw32*)
17271
library_names_spec='$libname.dll.a'
17272
# DLL is installed to $(libdir)/../bin by postinstall_cmds
17273
postinstall_cmds='base_file=`basename \${file}`~
17274
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
17275
dldir=$destdir/`dirname \$dlpath`~
17276
test -d \$dldir || mkdir -p \$dldir~
17277
$install_prog $dir/$dlname \$dldir/$dlname'
17278
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17279
dlpath=$dir/\$dldll~
17281
shlibpath_overrides_runpath=yes
17285
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
17286
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17287
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
17290
# MinGW DLLs use traditional 'lib' prefix
17291
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17292
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17293
if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
17294
# It is most probably a Windows format PATH printed by
17295
# mingw gcc, but we are running on Cygwin. Gcc prints its search
17296
# path with ; separators, and with drive letters. We can handle the
17297
# drive letters (cygwin fileutils understands them), so leave them,
17298
# especially as we might pass files found there to a mingw objdump,
17299
# which wouldn't understand a cygwinified path. Ahh.
17300
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17302
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17306
# pw32 DLLs use 'pw' prefix rather than 'lib'
17307
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
17313
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17316
dynamic_linker='Win32 ld.exe'
17317
# FIXME: first we should search . and the directory the executable is in
17321
darwin* | rhapsody*)
17322
dynamic_linker="$host_os dyld"
17323
version_type=darwin
17326
library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17327
soname_spec='${libname}${release}${major}$shared_ext'
17328
shlibpath_overrides_runpath=yes
17329
shlibpath_var=DYLD_LIBRARY_PATH
17330
shrext='$(test .$module = .yes && echo .so || echo .dylib)'
17331
# Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
17332
if test "$GCC" = yes; then
17333
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"`
17335
sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
17337
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
17344
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17345
soname_spec='${libname}${release}${shared_ext}$major'
17346
shlibpath_var=LD_LIBRARY_PATH
17357
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17358
soname_spec='${libname}${release}${shared_ext}$major'
17359
shlibpath_var=LD_LIBRARY_PATH
17360
shlibpath_overrides_runpath=no
17361
hardcode_into_libs=yes
17362
dynamic_linker='GNU ld.so'
17366
objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
17367
version_type=freebsd-$objformat
17368
case $version_type in
17370
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17375
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17379
shlibpath_var=LD_LIBRARY_PATH
17382
shlibpath_overrides_runpath=yes
17384
freebsd3.01* | freebsdelf3.01*)
17385
shlibpath_overrides_runpath=yes
17386
hardcode_into_libs=yes
17389
shlibpath_overrides_runpath=no
17390
hardcode_into_libs=yes
17399
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17400
soname_spec='${libname}${release}${shared_ext}$major'
17401
shlibpath_var=LD_LIBRARY_PATH
17402
hardcode_into_libs=yes
17405
hpux9* | hpux10* | hpux11*)
17406
# Give a soname corresponding to the major version so that dld.sl refuses to
17407
# link against other versions.
17411
case "$host_cpu" in
17414
hardcode_into_libs=yes
17415
dynamic_linker="$host_os dld.so"
17416
shlibpath_var=LD_LIBRARY_PATH
17417
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17418
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17419
soname_spec='${libname}${release}${shared_ext}$major'
17420
if test "X$HPUX_IA64_MODE" = X32; then
17421
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17423
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
17425
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17429
hardcode_into_libs=yes
17430
dynamic_linker="$host_os dld.sl"
17431
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
17432
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17433
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17434
soname_spec='${libname}${release}${shared_ext}$major'
17435
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17436
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17440
dynamic_linker="$host_os dld.sl"
17441
shlibpath_var=SHLIB_PATH
17442
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
17443
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17444
soname_spec='${libname}${release}${shared_ext}$major'
17447
# HP-UX runs *really* slowly unless shared libraries are mode 555.
17448
postinstall_cmds='chmod 555 $lib'
17451
irix5* | irix6* | nonstopux*)
17453
nonstopux*) version_type=nonstopux ;;
17455
if test "$lt_cv_prog_gnu_ld" = yes; then
17463
soname_spec='${libname}${release}${shared_ext}$major'
17464
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17466
irix5* | nonstopux*)
17467
libsuff= shlibsuff=
17470
case $LD in # libtool.m4 will add one of these switches to LD
17471
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
17472
libsuff= shlibsuff= libmagic=32-bit;;
17473
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
17474
libsuff=32 shlibsuff=N32 libmagic=N32;;
17475
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
17476
libsuff=64 shlibsuff=64 libmagic=64-bit;;
17477
*) libsuff= shlibsuff= libmagic=never-match;;
17481
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
17482
shlibpath_overrides_runpath=no
17483
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17484
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
17485
hardcode_into_libs=yes
17488
# No shared lib support for Linux oldld, aout, or coff.
17489
linux*oldld* | linux*aout* | linux*coff*)
17493
# This must be Linux ELF.
17498
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17499
soname_spec='${libname}${release}${shared_ext}$major'
17500
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17502
if test "x$LINUX_64_MODE" = x64; then
17503
# Some platforms are per default 64-bit, so there's no /lib64
17504
if test -d /lib64; then
17508
shlibpath_var=LD_LIBRARY_PATH
17509
shlibpath_overrides_runpath=no
17510
sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
17511
sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
17512
# This implies no fast_install, which is unacceptable.
17513
# Some rework will be needed to allow for fast_install
17514
# before this can be enabled.
17515
hardcode_into_libs=yes
17517
# We used to test for /lib/ld.so.1 and disable shared libraries on
17518
# powerpc, because MkLinux only supported shared libraries with the
17519
# GNU dynamic linker. Since this was broken with cross compilers,
17520
# most powerpc-linux boxes support dynamic linking these days and
17521
# people can always --disable-shared, the test was removed, and we
17522
# assume the GNU/Linux dynamic linker is in use.
17523
dynamic_linker='GNU/Linux ld.so'
17530
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17531
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17532
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17533
dynamic_linker='NetBSD (a.out) ld.so'
17535
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
17536
soname_spec='${libname}${release}${shared_ext}$major'
17537
dynamic_linker='NetBSD ld.elf_so'
17539
shlibpath_var=LD_LIBRARY_PATH
17540
shlibpath_overrides_runpath=yes
17541
hardcode_into_libs=yes
17546
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17547
shlibpath_var=LD_LIBRARY_PATH
17548
shlibpath_overrides_runpath=yes
17555
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17556
soname_spec='${libname}${release}${shared_ext}$major'
17557
shlibpath_var=LD_LIBRARY_PATH
17558
shlibpath_overrides_runpath=yes
17565
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17566
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17567
shlibpath_var=LD_LIBRARY_PATH
17568
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17570
openbsd2.[89] | openbsd2.[89].*)
17571
shlibpath_overrides_runpath=no
17574
shlibpath_overrides_runpath=yes
17578
shlibpath_overrides_runpath=yes
17583
libname_spec='$name'
17586
library_names_spec='$libname${shared_ext} $libname.a'
17587
dynamic_linker='OS/2 ld.exe'
17588
shlibpath_var=LIBPATH
17591
osf3* | osf4* | osf5*)
17595
soname_spec='${libname}${release}${shared_ext}$major'
17596
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17597
shlibpath_var=LD_LIBRARY_PATH
17598
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17599
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
17604
soname_spec='${libname}${release}${shared_ext}$major'
17605
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17606
shlibpath_var=LD_LIBRARY_PATH
17613
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17614
soname_spec='${libname}${release}${shared_ext}$major'
17615
shlibpath_var=LD_LIBRARY_PATH
17616
shlibpath_overrides_runpath=yes
17617
hardcode_into_libs=yes
17618
# ldd complains unless libraries are executable
17619
postinstall_cmds='chmod +x $lib'
17624
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17625
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17626
shlibpath_var=LD_LIBRARY_PATH
17627
shlibpath_overrides_runpath=yes
17628
if test "$with_gnu_ld" = yes; then
17634
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
17636
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17637
soname_spec='${libname}${release}${shared_ext}$major'
17638
shlibpath_var=LD_LIBRARY_PATH
17639
case $host_vendor in
17641
shlibpath_overrides_runpath=no
17643
export_dynamic_flag_spec='${wl}-Blargedynsym'
17644
runpath_var=LD_RUN_PATH
17652
shlibpath_overrides_runpath=no
17653
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
17659
if test -d /usr/nec ;then
17661
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17662
soname_spec='$libname${shared_ext}.$major'
17663
shlibpath_var=LD_LIBRARY_PATH
17669
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17670
soname_spec='${libname}${release}${shared_ext}$major'
17671
shlibpath_var=LD_LIBRARY_PATH
17678
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17679
echo "${ECHO_T}$dynamic_linker" >&6
17680
test "$dynamic_linker" = no && can_build_shared=no
17682
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17683
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
17684
hardcode_action_F77=
17685
if test -n "$hardcode_libdir_flag_spec_F77" || \
17686
test -n "$runpath_var F77" || \
17687
test "X$hardcode_automatic_F77"="Xyes" ; then
17689
# We can hardcode non-existant directories.
17690
if test "$hardcode_direct_F77" != no &&
17691
# If the only mechanism to avoid hardcoding is shlibpath_var, we
17692
# have to relink, otherwise we might link with an installed library
17693
# when we should be linking with a yet-to-be-installed one
17694
## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
17695
test "$hardcode_minus_L_F77" != no; then
17696
# Linking always hardcodes the temporary library directory.
17697
hardcode_action_F77=relink
17699
# We can link without hardcoding, and we can hardcode nonexisting dirs.
17700
hardcode_action_F77=immediate
17703
# We cannot hardcode anything, or else we can only hardcode existing
17705
hardcode_action_F77=unsupported
17707
echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
17708
echo "${ECHO_T}$hardcode_action_F77" >&6
17710
if test "$hardcode_action_F77" = relink; then
17711
# Fast installation is not supported
17712
enable_fast_install=no
17713
elif test "$shlibpath_overrides_runpath" = yes ||
17714
test "$enable_shared" = no; then
17715
# Fast installation is not necessary
17716
enable_fast_install=needless
17721
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
17722
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
17723
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
17724
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
17725
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
17726
echo "$as_me:$LINENO: result: yes" >&5
17727
echo "${ECHO_T}yes" >&6
17729
# FIXME - insert some real tests, host_os isn't really good enough
17732
if test -n "$STRIP" ; then
17733
striplib="$STRIP -x"
17734
echo "$as_me:$LINENO: result: yes" >&5
17735
echo "${ECHO_T}yes" >&6
17737
echo "$as_me:$LINENO: result: no" >&5
17738
echo "${ECHO_T}no" >&6
17742
echo "$as_me:$LINENO: result: no" >&5
17743
echo "${ECHO_T}no" >&6
17750
# The else clause should only fire when bootstrapping the
17751
# libtool distribution, otherwise you forgot to ship ltmain.sh
17752
# with your package, and you will get complaints that there are
17753
# no rules to generate ltmain.sh.
17754
if test -f "$ltmain"; then
17755
# See if we are running on zsh, and set the options which allow our commands through
17756
# without removal of \ escapes.
17757
if test -n "${ZSH_VERSION+set}" ; then
17758
setopt NO_GLOB_SUBST
17760
# Now quote all the things that may contain metacharacters while being
17761
# careful not to overquote the AC_SUBSTed values. We take copies of the
17762
# variables and quote the copies for generation of the libtool script.
17763
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
17764
libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17765
old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17766
deplibs_check_method reload_flag reload_cmds need_locks \
17767
lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17768
lt_cv_sys_global_symbol_to_c_name_address \
17769
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17770
old_postinstall_cmds old_postuninstall_cmds \
17774
lt_prog_compiler_wl_F77 \
17775
lt_prog_compiler_pic_F77 \
17776
lt_prog_compiler_static_F77 \
17777
lt_prog_compiler_no_builtin_flag_F77 \
17778
export_dynamic_flag_spec_F77 \
17779
thread_safe_flag_spec_F77 \
17780
whole_archive_flag_spec_F77 \
17781
enable_shared_with_static_runtimes_F77 \
17782
old_archive_cmds_F77 \
17783
old_archive_from_new_cmds_F77 \
17784
predep_objects_F77 \
17785
postdep_objects_F77 \
17788
compiler_lib_search_path_F77 \
17790
archive_expsym_cmds_F77 \
17791
postinstall_cmds_F77 \
17792
postuninstall_cmds_F77 \
17793
old_archive_from_expsyms_cmds_F77 \
17794
allow_undefined_flag_F77 \
17795
no_undefined_flag_F77 \
17796
export_symbols_cmds_F77 \
17797
hardcode_libdir_flag_spec_F77 \
17798
hardcode_libdir_flag_spec_ld_F77 \
17799
hardcode_libdir_separator_F77 \
17800
hardcode_automatic_F77 \
17802
module_expsym_cmds_F77 \
17803
lt_cv_prog_compiler_c_o_F77 \
17804
exclude_expsyms_F77 \
17805
include_expsyms_F77; do
17808
old_archive_cmds_F77 | \
17809
old_archive_from_new_cmds_F77 | \
17810
archive_cmds_F77 | \
17811
archive_expsym_cmds_F77 | \
17812
module_cmds_F77 | \
17813
module_expsym_cmds_F77 | \
17814
old_archive_from_expsyms_cmds_F77 | \
17815
export_symbols_cmds_F77 | \
17816
extract_expsyms_cmds | reload_cmds | finish_cmds | \
17817
postinstall_cmds | postuninstall_cmds | \
17818
old_postinstall_cmds | old_postuninstall_cmds | \
17819
sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
17820
# Double-quote double-evaled strings.
17821
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17824
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17830
*'\$0 --fallback-echo"')
17831
lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17837
cat <<__EOF__ >> "$cfgfile"
17838
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
17840
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17842
# Shell to use when invoking shell scripts.
17845
# Whether or not to build shared libraries.
17846
build_libtool_libs=$enable_shared
17848
# Whether or not to build static libraries.
17849
build_old_libs=$enable_static
17851
# Whether or not to add -lc for building shared libraries.
17852
build_libtool_need_lc=$archive_cmds_need_lc_F77
17854
# Whether or not to disallow shared libs when runtime libs are static
17855
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
17857
# Whether or not to optimize for fast installation.
17858
fast_install=$enable_fast_install
17861
host_alias=$host_alias
17864
# An echo program that does not interpret backslashes.
17869
AR_FLAGS=$lt_AR_FLAGS
17874
# A language-specific compiler.
17875
CC=$lt_compiler_F77
17877
# Is the compiler the GNU C compiler?
17883
# The linker used to build libraries.
17886
# Whether we need hard or soft links.
17889
# A BSD-compatible nm program.
17892
# A symbol stripping program
17895
# Used to examine libraries when file_magic_cmd begins "file"
17896
MAGIC_CMD=$MAGIC_CMD
17898
# Used on cygwin: DLL creation program.
17901
# Used on cygwin: object dumper.
17904
# Used on cygwin: assembler.
17907
# The name of the directory that contains temporary libtool files.
17910
# How to create reloadable object files.
17911
reload_flag=$lt_reload_flag
17912
reload_cmds=$lt_reload_cmds
17914
# How to pass a linker flag through the compiler.
17915
wl=$lt_lt_prog_compiler_wl_F77
17917
# Object file suffix (normally "o").
17918
objext="$ac_objext"
17920
# Old archive suffix (normally "a").
17923
# Shared library suffix (normally ".so").
17926
# Executable file suffix (normally "").
17929
# Additional compiler flags for building library objects.
17930
pic_flag=$lt_lt_prog_compiler_pic_F77
17933
# What is the maximum length of a command?
17934
max_cmd_len=$lt_cv_sys_max_cmd_len
17936
# Does compiler simultaneously support -c and -o options?
17937
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
17939
# Must we lock files when doing compilation ?
17940
need_locks=$lt_need_locks
17942
# Do we need the lib prefix for modules?
17943
need_lib_prefix=$need_lib_prefix
17945
# Do we need a version for libraries?
17946
need_version=$need_version
17948
# Whether dlopen is supported.
17949
dlopen_support=$enable_dlopen
17951
# Whether dlopen of programs is supported.
17952
dlopen_self=$enable_dlopen_self
17954
# Whether dlopen of statically linked programs is supported.
17955
dlopen_self_static=$enable_dlopen_self_static
17957
# Compiler flag to prevent dynamic linking.
17958
link_static_flag=$lt_lt_prog_compiler_static_F77
17960
# Compiler flag to turn off builtin functions.
17961
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
17963
# Compiler flag to allow reflexive dlopens.
17964
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
17966
# Compiler flag to generate shared objects directly from archives.
17967
whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
17969
# Compiler flag to generate thread-safe objects.
17970
thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
17972
# Library versioning type.
17973
version_type=$version_type
17975
# Format of library name prefix.
17976
libname_spec=$lt_libname_spec
17978
# List of archive names. First name is the real one, the rest are links.
17979
# The last name is the one that the linker finds with -lNAME.
17980
library_names_spec=$lt_library_names_spec
17982
# The coded name of the library, if different from the real name.
17983
soname_spec=$lt_soname_spec
17985
# Commands used to build and install an old-style archive.
17987
old_archive_cmds=$lt_old_archive_cmds_F77
17988
old_postinstall_cmds=$lt_old_postinstall_cmds
17989
old_postuninstall_cmds=$lt_old_postuninstall_cmds
17991
# Create an old-style archive from a shared archive.
17992
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
17994
# Create a temporary old-style archive to link instead of a shared archive.
17995
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
17997
# Commands used to build and install a shared archive.
17998
archive_cmds=$lt_archive_cmds_F77
17999
archive_expsym_cmds=$lt_archive_expsym_cmds_F77
18000
postinstall_cmds=$lt_postinstall_cmds
18001
postuninstall_cmds=$lt_postuninstall_cmds
18003
# Commands used to build a loadable module (assumed same as above if empty)
18004
module_cmds=$lt_module_cmds_F77
18005
module_expsym_cmds=$lt_module_expsym_cmds_F77
18007
# Commands to strip libraries.
18008
old_striplib=$lt_old_striplib
18009
striplib=$lt_striplib
18011
# Dependencies to place before the objects being linked to create a
18013
predep_objects=$lt_predep_objects_F77
18015
# Dependencies to place after the objects being linked to create a
18017
postdep_objects=$lt_postdep_objects_F77
18019
# Dependencies to place before the objects being linked to create a
18021
predeps=$lt_predeps_F77
18023
# Dependencies to place after the objects being linked to create a
18025
postdeps=$lt_postdeps_F77
18027
# The library search path used internally by the compiler when linking
18028
# a shared library.
18029
compiler_lib_search_path=$lt_compiler_lib_search_path_F77
18031
# Method to check whether dependent libraries are shared objects.
18032
deplibs_check_method=$lt_deplibs_check_method
18034
# Command to use when deplibs_check_method == file_magic.
18035
file_magic_cmd=$lt_file_magic_cmd
18037
# Flag that allows shared libraries with undefined symbols to be built.
18038
allow_undefined_flag=$lt_allow_undefined_flag_F77
18040
# Flag that forces no undefined symbols.
18041
no_undefined_flag=$lt_no_undefined_flag_F77
18043
# Commands used to finish a libtool library installation in a directory.
18044
finish_cmds=$lt_finish_cmds
18046
# Same as above, but a single script fragment to be evaled but not shown.
18047
finish_eval=$lt_finish_eval
18049
# Take the output of nm and produce a listing of raw symbols and C names.
18050
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18052
# Transform the output of nm in a proper C declaration
18053
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18055
# Transform the output of nm in a C name address pair
18056
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18058
# This is the shared library runtime path variable.
18059
runpath_var=$runpath_var
18061
# This is the shared library path variable.
18062
shlibpath_var=$shlibpath_var
18064
# Is shlibpath searched before the hard-coded library search path?
18065
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18067
# How to hardcode a shared library path into an executable.
18068
hardcode_action=$hardcode_action_F77
18070
# Whether we should hardcode library paths into libraries.
18071
hardcode_into_libs=$hardcode_into_libs
18073
# Flag to hardcode \$libdir into a binary during linking.
18074
# This must work even if \$libdir does not exist.
18075
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
18077
# If ld is used when linking, flag to hardcode \$libdir into
18078
# a binary during linking. This must work even if \$libdir does
18080
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
18082
# Whether we need a single -rpath flag with a separated argument.
18083
hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
18085
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18086
# resulting binary.
18087
hardcode_direct=$hardcode_direct_F77
18089
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18090
# resulting binary.
18091
hardcode_minus_L=$hardcode_minus_L_F77
18093
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18094
# the resulting binary.
18095
hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
18097
# Set to yes if building a shared library automatically hardcodes DIR into the library
18098
# and all subsequent libraries and executables linked against it.
18099
hardcode_automatic=$hardcode_automatic_F77
18101
# Variables whose values should be saved in libtool wrapper scripts and
18102
# restored at relink time.
18103
variables_saved_for_relink="$variables_saved_for_relink"
18105
# Whether libtool must link a program against all its dependency libraries.
18106
link_all_deplibs=$link_all_deplibs_F77
18108
# Compile-time system search path for libraries
18109
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18111
# Run-time system search path for libraries
18112
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18114
# Fix the shell variable \$srcfile for the compiler.
18115
fix_srcfile_path="$fix_srcfile_path_F77"
18117
# Set to yes if exported symbols are required.
18118
always_export_symbols=$always_export_symbols_F77
18120
# The commands to list exported symbols.
18121
export_symbols_cmds=$lt_export_symbols_cmds_F77
18123
# The commands to extract the exported symbol list from a shared archive.
18124
extract_expsyms_cmds=$lt_extract_expsyms_cmds
18126
# Symbols that should not be listed in the preloaded symbols.
18127
exclude_expsyms=$lt_exclude_expsyms_F77
18129
# Symbols that must always be exported.
18130
include_expsyms=$lt_include_expsyms_F77
18132
# ### END LIBTOOL TAG CONFIG: $tagname
18138
# If there is no Makefile yet, we rely on a make rule to execute
18139
# `config.status --recheck' to rerun these tests and create the
18140
# libtool script then.
18141
test -f Makefile && make "$ltmain"
18146
ac_cpp='$CPP $CPPFLAGS'
18147
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18148
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18149
ac_compiler_gnu=$ac_cv_c_compiler_gnu
18159
if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
18163
# Source file extension for Java test sources.
18166
# Object file extension for compiled Java test sources.
18170
# Code to be used in simple compile tests
18171
lt_simple_compile_test_code="class foo {}\n"
18173
# Code to be used in simple link tests
18174
lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n'
18176
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
18178
# If no C compiler was specified, use CC.
18181
# Allow CC to be a program name with arguments.
18185
# Allow CC to be a program name with arguments.
18191
# GCJ did not exist at the time GCC didn't implicitly link libc in.
18192
archive_cmds_need_lc_GCJ=no
18195
## There is no encapsulation within the following macros, do not change
18196
## the running order or otherwise move them around unless you know exactly
18197
## what you are doing...
18199
lt_prog_compiler_no_builtin_flag_GCJ=
18201
if test "$GCC" = yes; then
18202
lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
18205
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
18206
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
18207
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
18208
echo $ECHO_N "(cached) $ECHO_C" >&6
18210
lt_cv_prog_compiler_rtti_exceptions=no
18211
ac_outfile=conftest.$ac_objext
18212
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
18213
lt_compiler_flag="-fno-rtti -fno-exceptions"
18214
# Insert the option either (1) after the last *FLAGS variable, or
18215
# (2) before a word containing "conftest.", or (3) at the end.
18216
# Note that $ac_compile itself does not contain backslashes and begins
18217
# with a dollar sign (not a hyphen), so the echo should work correctly.
18218
# The option is referenced via a variable to avoid confusing sed.
18219
lt_compile=`echo "$ac_compile" | $SED \
18220
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
18221
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18222
-e 's:$: $lt_compiler_flag:'`
18223
(eval echo "\"\$as_me:18223: $lt_compile\"" >&5)
18224
(eval "$lt_compile" 2>conftest.err)
18226
cat conftest.err >&5
18227
echo "$as_me:18227: \$? = $ac_status" >&5
18228
if (exit $ac_status) && test -s "$ac_outfile"; then
18229
# The compiler can only warn and ignore the option if not recognized
18230
# So say no if there are warnings
18231
if test ! -s conftest.err; then
18232
lt_cv_prog_compiler_rtti_exceptions=yes
18238
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
18239
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
18241
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
18242
lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
18249
lt_prog_compiler_wl_GCJ=
18250
lt_prog_compiler_pic_GCJ=
18251
lt_prog_compiler_static_GCJ=
18253
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
18254
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
18256
if test "$GCC" = yes; then
18257
lt_prog_compiler_wl_GCJ='-Wl,'
18258
lt_prog_compiler_static_GCJ='-static'
18262
# All AIX code is PIC.
18263
if test "$host_cpu" = ia64; then
18264
# AIX 5 now supports IA64 processor
18265
lt_prog_compiler_static_GCJ='-Bstatic'
18270
# FIXME: we need at least 68020 code to build shared libraries, but
18271
# adding the `-m68020' flag to GCC prevents building anything better,
18273
lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
18276
beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
18277
# PIC is the default for these OSes.
18280
mingw* | pw32* | os2*)
18281
# This hack is so that the source file can tell whether it is being
18282
# built for inclusion in a dll (and should export symbols for example).
18283
lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
18286
darwin* | rhapsody*)
18287
# PIC is the default on this platform
18288
# Common symbols not allowed in MH_DYLIB files
18289
lt_prog_compiler_pic_GCJ='-fno-common'
18293
# Just because we use GCC doesn't mean we suddenly get shared libraries
18294
# on systems that don't support them.
18295
lt_prog_compiler_can_build_shared_GCJ=no
18300
if test -d /usr/nec; then
18301
lt_prog_compiler_pic_GCJ=-Kconform_pic
18306
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
18307
# not for PA HP-UX.
18308
case "$host_cpu" in
18313
lt_prog_compiler_pic_GCJ='-fPIC'
18319
lt_prog_compiler_pic_GCJ='-fPIC'
18323
# PORTME Check for flag to pass linker flags through the system compiler.
18326
lt_prog_compiler_wl_GCJ='-Wl,'
18327
if test "$host_cpu" = ia64; then
18328
# AIX 5 now supports IA64 processor
18329
lt_prog_compiler_static_GCJ='-Bstatic'
18331
lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
18335
mingw* | pw32* | os2*)
18336
# This hack is so that the source file can tell whether it is being
18337
# built for inclusion in a dll (and should export symbols for example).
18338
lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
18341
hpux9* | hpux10* | hpux11*)
18342
lt_prog_compiler_wl_GCJ='-Wl,'
18343
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
18344
# not for PA HP-UX.
18345
case "$host_cpu" in
18350
lt_prog_compiler_pic_GCJ='+Z'
18353
# Is there a better lt_prog_compiler_static that works with the bundled CC?
18354
lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
18357
irix5* | irix6* | nonstopux*)
18358
lt_prog_compiler_wl_GCJ='-Wl,'
18359
# PIC (with -KPIC) is the default.
18360
lt_prog_compiler_static_GCJ='-non_shared'
18364
lt_prog_compiler_pic_GCJ='-KPIC'
18365
lt_prog_compiler_static_GCJ='-Bstatic'
18371
lt_prog_compiler_wl_GCJ='-Wl,'
18372
lt_prog_compiler_pic_GCJ='-KPIC'
18373
lt_prog_compiler_static_GCJ='-static'
18376
lt_prog_compiler_wl_GCJ='-Wl,'
18377
# All Alpha code is PIC.
18378
lt_prog_compiler_static_GCJ='-non_shared'
18383
osf3* | osf4* | osf5*)
18384
lt_prog_compiler_wl_GCJ='-Wl,'
18385
# All OSF/1 code is PIC.
18386
lt_prog_compiler_static_GCJ='-non_shared'
18390
lt_prog_compiler_pic_GCJ='-Kpic'
18391
lt_prog_compiler_static_GCJ='-dn'
18395
lt_prog_compiler_wl_GCJ='-Wl,'
18396
lt_prog_compiler_pic_GCJ='-KPIC'
18397
lt_prog_compiler_static_GCJ='-Bstatic'
18401
lt_prog_compiler_wl_GCJ='-Qoption ld '
18402
lt_prog_compiler_pic_GCJ='-PIC'
18403
lt_prog_compiler_static_GCJ='-Bstatic'
18406
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
18407
lt_prog_compiler_wl_GCJ='-Wl,'
18408
lt_prog_compiler_pic_GCJ='-KPIC'
18409
lt_prog_compiler_static_GCJ='-Bstatic'
18413
if test -d /usr/nec ;then
18414
lt_prog_compiler_pic_GCJ='-Kconform_pic'
18415
lt_prog_compiler_static_GCJ='-Bstatic'
18420
lt_prog_compiler_pic_GCJ='-pic'
18421
lt_prog_compiler_static_GCJ='-Bstatic'
18425
lt_prog_compiler_can_build_shared_GCJ=no
18430
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
18431
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
18434
# Check to make sure the PIC flag actually works.
18436
if test -n "$lt_prog_compiler_pic_GCJ"; then
18438
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
18439
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
18440
if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
18441
echo $ECHO_N "(cached) $ECHO_C" >&6
18443
lt_prog_compiler_pic_works_GCJ=no
18444
ac_outfile=conftest.$ac_objext
18445
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
18446
lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
18447
# Insert the option either (1) after the last *FLAGS variable, or
18448
# (2) before a word containing "conftest.", or (3) at the end.
18449
# Note that $ac_compile itself does not contain backslashes and begins
18450
# with a dollar sign (not a hyphen), so the echo should work correctly.
18451
# The option is referenced via a variable to avoid confusing sed.
18452
lt_compile=`echo "$ac_compile" | $SED \
18453
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
18454
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18455
-e 's:$: $lt_compiler_flag:'`
18456
(eval echo "\"\$as_me:18456: $lt_compile\"" >&5)
18457
(eval "$lt_compile" 2>conftest.err)
18459
cat conftest.err >&5
18460
echo "$as_me:18460: \$? = $ac_status" >&5
18461
if (exit $ac_status) && test -s "$ac_outfile"; then
18462
# The compiler can only warn and ignore the option if not recognized
18463
# So say no if there are warnings
18464
if test ! -s conftest.err; then
18465
lt_prog_compiler_pic_works_GCJ=yes
18471
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
18472
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
18474
if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
18475
case $lt_prog_compiler_pic_GCJ in
18477
*) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
18480
lt_prog_compiler_pic_GCJ=
18481
lt_prog_compiler_can_build_shared_GCJ=no
18486
# For platforms which do not support PIC, -DPIC is meaningless:
18488
lt_prog_compiler_pic_GCJ=
18491
lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
18495
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
18496
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
18497
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
18498
echo $ECHO_N "(cached) $ECHO_C" >&6
18500
lt_cv_prog_compiler_c_o_GCJ=no
18501
$rm -r conftest 2>/dev/null
18505
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
18507
# According to Tom Tromey, Ian Lance Taylor reported there are C compilers
18508
# that will create temporary files in the current directory regardless of
18509
# the output directory. Thus, making CWD read-only will cause this test
18510
# to fail, enabling locking or at least warning the user not to do parallel
18514
lt_compiler_flag="-o out/conftest2.$ac_objext"
18515
# Insert the option either (1) after the last *FLAGS variable, or
18516
# (2) before a word containing "conftest.", or (3) at the end.
18517
# Note that $ac_compile itself does not contain backslashes and begins
18518
# with a dollar sign (not a hyphen), so the echo should work correctly.
18519
lt_compile=`echo "$ac_compile" | $SED \
18520
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
18521
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18522
-e 's:$: $lt_compiler_flag:'`
18523
(eval echo "\"\$as_me:18523: $lt_compile\"" >&5)
18524
(eval "$lt_compile" 2>out/conftest.err)
18526
cat out/conftest.err >&5
18527
echo "$as_me:18527: \$? = $ac_status" >&5
18528
if (exit $ac_status) && test -s out/conftest2.$ac_objext
18530
# The compiler can only warn and ignore the option if not recognized
18531
# So say no if there are warnings
18532
if test ! -s out/conftest.err; then
18533
lt_cv_prog_compiler_c_o_GCJ=yes
18537
$rm conftest* out/*
18544
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
18545
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
18548
hard_links="nottested"
18549
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
18550
# do not overwrite the value of need_locks provided by the user
18551
echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
18552
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
18555
ln conftest.a conftest.b 2>/dev/null && hard_links=no
18557
ln conftest.a conftest.b 2>&5 || hard_links=no
18558
ln conftest.a conftest.b 2>/dev/null && hard_links=no
18559
echo "$as_me:$LINENO: result: $hard_links" >&5
18560
echo "${ECHO_T}$hard_links" >&6
18561
if test "$hard_links" = no; then
18562
{ echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
18563
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
18570
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
18571
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
18574
allow_undefined_flag_GCJ=
18575
enable_shared_with_static_runtimes_GCJ=no
18577
archive_expsym_cmds_GCJ=
18578
old_archive_From_new_cmds_GCJ=
18579
old_archive_from_expsyms_cmds_GCJ=
18580
export_dynamic_flag_spec_GCJ=
18581
whole_archive_flag_spec_GCJ=
18582
thread_safe_flag_spec_GCJ=
18583
hardcode_libdir_flag_spec_GCJ=
18584
hardcode_libdir_flag_spec_ld_GCJ=
18585
hardcode_libdir_separator_GCJ=
18586
hardcode_direct_GCJ=no
18587
hardcode_minus_L_GCJ=no
18588
hardcode_shlibpath_var_GCJ=unsupported
18589
link_all_deplibs_GCJ=unknown
18590
hardcode_automatic_GCJ=no
18592
module_expsym_cmds_GCJ=
18593
always_export_symbols_GCJ=no
18594
export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
18595
# include_expsyms should be a list of space-separated symbols to be *always*
18596
# included in the symbol list
18597
include_expsyms_GCJ=
18598
# exclude_expsyms can be an extended regexp of symbols to exclude
18599
# it will be wrapped by ` (' and `)$', so one must not match beginning or
18600
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
18601
# as well as any symbol that contains `d'.
18602
exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
18603
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
18604
# platforms (ab)use it in PIC code, but their linkers get confused if
18605
# the symbol is explicitly referenced. Since portable code cannot
18606
# rely on this symbol name, it's probably fine to never include it in
18607
# preloaded symbol tables.
18608
extract_expsyms_cmds=
18611
cygwin* | mingw* | pw32*)
18612
# FIXME: the MSVC++ port hasn't been tested in a loooong time
18613
# When not using gcc, we currently assume that we are using
18614
# Microsoft Visual C++.
18615
if test "$GCC" != yes; then
18625
if test "$with_gnu_ld" = yes; then
18626
# If archive_cmds runs LD, not CC, wlarc should be empty
18629
# See if GNU ld supports shared libraries.
18631
aix3* | aix4* | aix5*)
18632
# On AIX/PPC, the GNU linker is very broken
18633
if test "$host_cpu" != ia64; then
18637
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
18638
*** to be unable to reliably create shared libraries on AIX.
18639
*** Therefore, libtool is disabling shared libraries support. If you
18640
*** really care for shared libraries, you may want to modify your PATH
18641
*** so that a non-GNU linker is found, and then restart.
18648
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)'
18649
hardcode_libdir_flag_spec_GCJ='-L$libdir'
18650
hardcode_minus_L_GCJ=yes
18652
# Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
18653
# that the semantics of dynamic libraries on AmigaOS, at least up
18654
# to version 4, is to share data among multiple programs linked
18655
# with the same dynamic library. Since this doesn't match the
18656
# behavior of shared libraries on other platforms, we can't use
18662
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18663
allow_undefined_flag_GCJ=unsupported
18664
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
18665
# support --undefined. This deserves some investigation. FIXME
18666
archive_cmds_GCJ='$CC -nostart $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
18672
cygwin* | mingw* | pw32*)
18673
# _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
18674
# as there is no search path for DLLs.
18675
hardcode_libdir_flag_spec_GCJ='-L$libdir'
18676
allow_undefined_flag_GCJ=no
18677
always_export_symbols_GCJ=no
18678
enable_shared_with_static_runtimes_GCJ=yes
18679
export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
18681
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
18682
archive_cmds_GCJ='$CC -shared $compiler_flags $libobjs $deplibs -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
18683
# If the export-symbols file already is a .def file (1st line
18684
# is EXPORTS), use it as is; otherwise, prepend...
18685
archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
18686
cp $export_symbols $output_objdir/$soname.def;
18688
echo EXPORTS > $output_objdir/$soname.def;
18689
cat $export_symbols >> $output_objdir/$soname.def;
18691
$CC -shared $output_objdir/$soname.def $compiler_flags $libobjs $deplibs -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
18698
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18699
archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
18702
archive_cmds_GCJ='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
18703
archive_expsym_cmds_GCJ='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18708
if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
18712
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
18713
*** create shared libraries on Solaris systems. Therefore, libtool
18714
*** is disabling shared libraries support. We urge you to upgrade GNU
18715
*** binutils to release 2.9.1 or newer. Another option is to modify
18716
*** your PATH or compiler configuration so that the native linker is
18717
*** used, and then restart.
18720
elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18721
archive_cmds_GCJ='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
18722
archive_expsym_cmds_GCJ='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18729
archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18731
hardcode_direct_GCJ=yes
18732
hardcode_shlibpath_var_GCJ=no
18736
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18737
archive_cmds_GCJ='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
18738
archive_expsym_cmds_GCJ='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18745
if test "$ld_shlibs_GCJ" = yes; then
18746
runpath_var=LD_RUN_PATH
18747
hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
18748
export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
18749
# ancient GNU ld didn't support --whole-archive et. al.
18750
if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
18751
whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18753
whole_archive_flag_spec_GCJ=
18757
# PORTME fill in a description of your system's linker (not GNU ld)
18760
allow_undefined_flag_GCJ=unsupported
18761
always_export_symbols_GCJ=yes
18762
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'
18763
# Note: this linker hardcodes the directories in LIBPATH if there
18764
# are no directories specified by -L.
18765
hardcode_minus_L_GCJ=yes
18766
if test "$GCC" = yes && test -z "$link_static_flag"; then
18767
# Neither direct hardcoding nor static linking is supported with a
18769
hardcode_direct_GCJ=unsupported
18774
if test "$host_cpu" = ia64; then
18775
# On IA64, the linker does run time linking by default, so we don't
18776
# have to do anything special.
18777
aix_use_runtimelinking=no
18778
exp_sym_flag='-Bexport'
18781
# If we're using GNU nm, then we don't want the "-C" option.
18782
# -C means demangle to AIX nm, but means don't demangle with GNU nm
18783
if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
18784
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'
18786
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'
18789
# KDE requires run time linking. Make it the default.
18790
aix_use_runtimelinking=yes
18791
exp_sym_flag='-bexport'
18792
no_entry_flag='-bnoentry'
18795
# When large executables or shared objects are built, AIX ld can
18796
# have problems creating the table of contents. If linking a library
18797
# or program results in "error TOC overflow" add -mminimal-toc to
18798
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
18799
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
18801
archive_cmds_GCJ=''
18802
hardcode_direct_GCJ=yes
18803
hardcode_libdir_separator_GCJ=':'
18804
link_all_deplibs_GCJ=yes
18806
if test "$GCC" = yes; then
18807
case $host_os in aix4.012|aix4.012.*)
18808
# We only want to do this on AIX 4.2 and lower, the check
18809
# below for broken collect2 doesn't work under 4.3+
18810
collect2name=`${CC} -print-prog-name=collect2`
18811
if test -f "$collect2name" && \
18812
strings "$collect2name" | grep resolve_lib_name >/dev/null
18814
# We have reworked collect2
18815
hardcode_direct_GCJ=yes
18817
# We have old collect2
18818
hardcode_direct_GCJ=unsupported
18819
# It fails to find uninstalled libraries when the uninstalled
18820
# path is not listed in the libpath. Setting hardcode_minus_L
18821
# to unsupported forces relinking
18822
hardcode_minus_L_GCJ=yes
18823
hardcode_libdir_flag_spec_GCJ='-L$libdir'
18824
hardcode_libdir_separator_GCJ=
18827
shared_flag='-shared'
18830
if test "$host_cpu" = ia64; then
18831
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
18832
# chokes on -Wl,-G. The following line is correct:
18835
if test "$aix_use_runtimelinking" = yes; then
18836
shared_flag='-qmkshrobj ${wl}-G'
18838
shared_flag='-qmkshrobj'
18843
# Let the compiler handle the export list.
18844
always_export_symbols_GCJ=no
18845
if test "$aix_use_runtimelinking" = yes; then
18846
# Warning - without using the other runtime loading flags (-brtl),
18847
# -berok will link without error, but may produce a broken library.
18848
allow_undefined_flag_GCJ='-berok'
18849
# Determine the default libpath from the value encoded in an empty executable.
18850
cat >conftest.$ac_ext <<_ACEOF
18853
cat confdefs.h >>conftest.$ac_ext
18854
cat >>conftest.$ac_ext <<_ACEOF
18855
/* end confdefs.h. */
18865
rm -f conftest.$ac_objext conftest$ac_exeext
18866
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18867
(eval $ac_link) 2>conftest.er1
18869
grep -v '^ *+' conftest.er1 >conftest.err
18871
cat conftest.err >&5
18872
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18873
(exit $ac_status); } &&
18874
{ ac_try='test -z "$ac_c_werror_flag"
18875
|| test ! -s conftest.err'
18876
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18877
(eval $ac_try) 2>&5
18879
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18880
(exit $ac_status); }; } &&
18881
{ ac_try='test -s conftest$ac_exeext'
18882
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18883
(eval $ac_try) 2>&5
18885
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18886
(exit $ac_status); }; }; then
18888
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
18890
# Check for a 64-bit object if we didn't find anything.
18891
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; }
18894
echo "$as_me: failed program was:" >&5
18895
sed 's/^/| /' conftest.$ac_ext >&5
18898
rm -f conftest.err conftest.$ac_objext \
18899
conftest$ac_exeext conftest.$ac_ext
18900
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18902
hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
18903
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"
18904
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"
18906
if test "$host_cpu" = ia64; then
18907
hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
18908
allow_undefined_flag_GCJ="-z nodefs"
18909
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"
18911
# Determine the default libpath from the value encoded in an empty executable.
18912
cat >conftest.$ac_ext <<_ACEOF
18915
cat confdefs.h >>conftest.$ac_ext
18916
cat >>conftest.$ac_ext <<_ACEOF
18917
/* end confdefs.h. */
18927
rm -f conftest.$ac_objext conftest$ac_exeext
18928
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18929
(eval $ac_link) 2>conftest.er1
18931
grep -v '^ *+' conftest.er1 >conftest.err
18933
cat conftest.err >&5
18934
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18935
(exit $ac_status); } &&
18936
{ ac_try='test -z "$ac_c_werror_flag"
18937
|| test ! -s conftest.err'
18938
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18939
(eval $ac_try) 2>&5
18941
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18942
(exit $ac_status); }; } &&
18943
{ ac_try='test -s conftest$ac_exeext'
18944
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18945
(eval $ac_try) 2>&5
18947
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18948
(exit $ac_status); }; }; then
18950
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
18952
# Check for a 64-bit object if we didn't find anything.
18953
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; }
18956
echo "$as_me: failed program was:" >&5
18957
sed 's/^/| /' conftest.$ac_ext >&5
18960
rm -f conftest.err conftest.$ac_objext \
18961
conftest$ac_exeext conftest.$ac_ext
18962
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18964
hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
18965
# Warning - without using the other run time loading flags,
18966
# -berok will link without error, but may produce a broken library.
18967
no_undefined_flag_GCJ=' ${wl}-bernotok'
18968
allow_undefined_flag_GCJ=' ${wl}-berok'
18969
# -bexpall does not export symbols beginning with underscore (_)
18970
always_export_symbols_GCJ=yes
18971
# Exported symbols can be pulled into shared objects from archives
18972
whole_archive_flag_spec_GCJ=' '
18973
archive_cmds_need_lc_GCJ=yes
18974
# This is similar to how AIX traditionally builds it's shared libraries.
18975
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'
18981
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)'
18982
hardcode_libdir_flag_spec_GCJ='-L$libdir'
18983
hardcode_minus_L_GCJ=yes
18984
# see comment about different semantics on the GNU ld section
18989
export_dynamic_flag_spec_GCJ=-rdynamic
18992
cygwin* | mingw* | pw32*)
18993
# When not using gcc, we currently assume that we are using
18994
# Microsoft Visual C++.
18995
# hardcode_libdir_flag_spec is actually meaningless, as there is
18996
# no search path for DLLs.
18997
hardcode_libdir_flag_spec_GCJ=' '
18998
allow_undefined_flag_GCJ=no
18999
# Tell ltmain to make .lib files, not .a files.
19001
# Tell ltmain to make .dll files, not .so files.
19003
# FIXME: Setting linknames here is a bad hack.
19004
archive_cmds_GCJ='$CC -o $lib $compiler_flags $libobjs `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
19005
# The linker will automatically build a .lib file if we build a DLL.
19006
old_archive_From_new_cmds_GCJ='true'
19007
# FIXME: Should let the user specify the lib program.
19008
old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
19009
fix_srcfile_path='`cygpath -w "$srcfile"`'
19010
enable_shared_with_static_runtimes_GCJ=yes
19013
darwin* | rhapsody*)
19014
if test "$GXX" = yes ; then
19015
archive_cmds_need_lc_GCJ=no
19017
rhapsody* | darwin1.[012])
19018
allow_undefined_flag_GCJ='-Wl,-undefined -Wl,suppress'
19021
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
19022
allow_undefined_flag_GCJ='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
19024
case ${MACOSX_DEPLOYMENT_TARGET} in
19026
allow_undefined_flag_GCJ='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
19029
allow_undefined_flag_GCJ='-Wl,-undefined -Wl,dynamic_lookup'
19035
lt_int_apple_cc_single_mod=no
19036
output_verbose_link_cmd='echo'
19037
if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
19038
lt_int_apple_cc_single_mod=yes
19040
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
19041
archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring'
19043
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'
19045
module_cmds_GCJ='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs'
19046
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
19047
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
19048
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}'
19050
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}'
19052
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}'
19053
hardcode_direct_GCJ=no
19054
hardcode_automatic_GCJ=yes
19055
hardcode_shlibpath_var_GCJ=unsupported
19056
whole_archive_flag_spec_GCJ='-all_load $convenience'
19057
link_all_deplibs_GCJ=yes
19064
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19065
hardcode_libdir_flag_spec_GCJ='-L$libdir'
19066
hardcode_shlibpath_var_GCJ=no
19073
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
19074
# support. Future versions do this automatically, but an explicit c++rt0.o
19075
# does not break anything, and helps significantly (at the cost of a little
19078
archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
19079
hardcode_libdir_flag_spec_GCJ='-R$libdir'
19080
hardcode_direct_GCJ=yes
19081
hardcode_shlibpath_var_GCJ=no
19084
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
19086
archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19087
hardcode_direct_GCJ=yes
19088
hardcode_minus_L_GCJ=yes
19089
hardcode_shlibpath_var_GCJ=no
19092
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
19094
archive_cmds_GCJ='$CC -shared -o $lib $compiler_flags $libobjs $deplibs'
19095
hardcode_libdir_flag_spec_GCJ='-R$libdir'
19096
hardcode_direct_GCJ=yes
19097
hardcode_shlibpath_var_GCJ=no
19101
if test "$GCC" = yes; then
19102
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'
19104
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'
19106
hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
19107
hardcode_libdir_separator_GCJ=:
19108
hardcode_direct_GCJ=yes
19110
# hardcode_minus_L: Not really in the search PATH,
19111
# but as the default location of the library.
19112
hardcode_minus_L_GCJ=yes
19113
export_dynamic_flag_spec_GCJ='${wl}-E'
19117
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
19118
case "$host_cpu" in
19120
archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
19123
archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $compiler_flags $libobjs $deplibs'
19127
case "$host_cpu" in
19129
archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
19132
archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
19136
if test "$with_gnu_ld" = no; then
19137
case "$host_cpu" in
19139
hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
19140
hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
19141
hardcode_libdir_separator_GCJ=:
19142
hardcode_direct_GCJ=no
19143
hardcode_shlibpath_var_GCJ=no
19146
hardcode_libdir_flag_spec_GCJ='-L$libdir'
19147
hardcode_direct_GCJ=no
19148
hardcode_shlibpath_var_GCJ=no
19150
# hardcode_minus_L: Not really in the search PATH,
19151
# but as the default location of the library.
19152
hardcode_minus_L_GCJ=yes
19155
hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
19156
hardcode_libdir_separator_GCJ=:
19157
hardcode_direct_GCJ=yes
19158
export_dynamic_flag_spec_GCJ='${wl}-E'
19160
# hardcode_minus_L: Not really in the search PATH,
19161
# but as the default location of the library.
19162
hardcode_minus_L_GCJ=yes
19168
irix5* | irix6* | nonstopux*)
19169
if test "$GCC" = yes; then
19170
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'
19172
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'
19173
hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
19175
hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
19176
hardcode_libdir_separator_GCJ=:
19177
link_all_deplibs_GCJ=yes
19181
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
19182
archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
19184
archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
19186
hardcode_libdir_flag_spec_GCJ='-R$libdir'
19187
hardcode_direct_GCJ=yes
19188
hardcode_shlibpath_var_GCJ=no
19192
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19193
hardcode_direct_GCJ=yes
19194
hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
19195
hardcode_libdir_separator_GCJ=:
19196
hardcode_shlibpath_var_GCJ=no
19200
hardcode_direct_GCJ=yes
19201
hardcode_shlibpath_var_GCJ=no
19202
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19203
archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $compiler_flags $libobjs $deplibs'
19204
hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
19205
export_dynamic_flag_spec_GCJ='${wl}-E'
19208
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
19209
archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19210
hardcode_libdir_flag_spec_GCJ='-R$libdir'
19213
archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $compiler_flags $libobjs $deplibs'
19214
hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
19221
hardcode_libdir_flag_spec_GCJ='-L$libdir'
19222
hardcode_minus_L_GCJ=yes
19223
allow_undefined_flag_GCJ=unsupported
19224
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'
19225
old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
19229
if test "$GCC" = yes; then
19230
allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
19231
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'
19233
allow_undefined_flag_GCJ=' -expect_unresolved \*'
19234
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'
19236
hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
19237
hardcode_libdir_separator_GCJ=:
19240
osf4* | osf5*) # as osf3* with the addition of -msym flag
19241
if test "$GCC" = yes; then
19242
allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
19243
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'
19244
hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
19246
allow_undefined_flag_GCJ=' -expect_unresolved \*'
19247
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'
19248
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~
19249
$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'
19251
# Both c and cxx compiler support -rpath directly
19252
hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
19254
hardcode_libdir_separator_GCJ=:
19258
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19259
hardcode_shlibpath_var_GCJ=no
19260
export_dynamic_flag_spec_GCJ='${wl}-Bexport'
19261
runpath_var=LD_RUN_PATH
19262
hardcode_runpath_var=yes
19266
no_undefined_flag_GCJ=' -z text'
19267
if test "$GCC" = yes; then
19268
archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
19269
archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19270
$CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs~$rm $lib.exp'
19272
archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
19273
archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19274
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
19276
hardcode_libdir_flag_spec_GCJ='-R$libdir'
19277
hardcode_shlibpath_var_GCJ=no
19279
solaris2.[0-5] | solaris2.[0-5].*) ;;
19280
*) # Supported since Solaris 2.6 (maybe 2.5.1?)
19281
whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
19283
link_all_deplibs_GCJ=yes
19287
if test "x$host_vendor" = xsequent; then
19288
# Use $CC to link under sequent, because it throws in some extra .o
19289
# files that make .init and .fini sections work.
19290
archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $compiler_flags $libobjs $deplibs'
19292
archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
19294
hardcode_libdir_flag_spec_GCJ='-L$libdir'
19295
hardcode_direct_GCJ=yes
19296
hardcode_minus_L_GCJ=yes
19297
hardcode_shlibpath_var_GCJ=no
19301
case $host_vendor in
19303
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19304
hardcode_direct_GCJ=yes # is this really true???
19307
## LD is ld it makes a PLAMLIB
19308
## CC just makes a GrossModule.
19309
archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
19310
reload_cmds_GCJ='$CC -r -o $output$reload_objs'
19311
hardcode_direct_GCJ=no
19314
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19315
hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
19318
runpath_var='LD_RUN_PATH'
19319
hardcode_shlibpath_var_GCJ=no
19323
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19324
hardcode_shlibpath_var_GCJ=no
19325
export_dynamic_flag_spec_GCJ='-Bexport'
19329
if test -d /usr/nec; then
19330
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19331
hardcode_shlibpath_var_GCJ=no
19332
runpath_var=LD_RUN_PATH
19333
hardcode_runpath_var=yes
19339
archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
19340
hardcode_direct_GCJ=yes
19341
hardcode_minus_L_GCJ=no
19342
hardcode_shlibpath_var_GCJ=no
19343
hardcode_runpath_var=yes
19344
runpath_var=LD_RUN_PATH
19347
sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
19348
no_undefined_flag_GCJ='${wl}-z ${wl}text'
19349
if test "$GCC" = yes; then
19350
archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
19352
archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
19354
runpath_var='LD_RUN_PATH'
19355
hardcode_shlibpath_var_GCJ=no
19359
no_undefined_flag_GCJ=' -z text'
19360
# $CC -shared without GNU ld will not create a library from C++
19361
# object files and a static libstdc++, better avoid it by now
19362
archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
19363
archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19364
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
19365
hardcode_libdir_flag_spec_GCJ=
19366
hardcode_shlibpath_var_GCJ=no
19367
runpath_var='LD_RUN_PATH'
19371
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19372
hardcode_libdir_flag_spec_GCJ='-L$libdir'
19373
hardcode_shlibpath_var_GCJ=no
19382
echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
19383
echo "${ECHO_T}$ld_shlibs_GCJ" >&6
19384
test "$ld_shlibs_GCJ" = no && can_build_shared=no
19386
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
19387
if test "$GCC" = yes; then
19388
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
19392
# Do we need to explicitly link libc?
19394
case "x$archive_cmds_need_lc_GCJ" in
19396
# Assume -lc should be added
19397
archive_cmds_need_lc_GCJ=yes
19399
if test "$enable_shared" = yes && test "$GCC" = yes; then
19400
case $archive_cmds_GCJ in
19402
# FIXME: we may have to deal with multi-command sequences.
19405
# Test whether the compiler implicitly links with -lc since on some
19406
# systems, -lgcc has to come before -lc. If gcc already passes -lc
19407
# to ld, don't add -lc before -lgcc.
19408
echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
19409
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
19411
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
19413
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19414
(eval $ac_compile) 2>&5
19416
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19417
(exit $ac_status); } 2>conftest.err; then
19420
libobjs=conftest.$ac_objext
19422
wl=$lt_prog_compiler_wl_GCJ
19428
lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
19429
allow_undefined_flag_GCJ=
19430
if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
19431
(eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
19433
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19434
(exit $ac_status); }
19436
archive_cmds_need_lc_GCJ=no
19438
archive_cmds_need_lc_GCJ=yes
19440
allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
19442
cat conftest.err 1>&5
19445
echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
19446
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
19453
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
19454
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
19455
library_names_spec=
19456
libname_spec='lib$name'
19460
postuninstall_cmds=
19464
shlibpath_overrides_runpath=unknown
19466
dynamic_linker="$host_os ld.so"
19467
sys_lib_dlsearch_path_spec="/lib /usr/lib"
19468
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
19469
need_lib_prefix=unknown
19470
hardcode_into_libs=no
19472
# when you set need_version to no, make sure it does not cause -set_version
19473
# flags to be left without arguments
19474
need_version=unknown
19479
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
19480
shlibpath_var=LIBPATH
19482
# AIX 3 has no versioning support, so we append a major version to the name.
19483
soname_spec='${libname}${release}${shared_ext}$major'
19490
hardcode_into_libs=yes
19491
if test "$host_cpu" = ia64; then
19492
# AIX 5 supports IA64
19493
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
19494
shlibpath_var=LD_LIBRARY_PATH
19496
# With GCC up to 2.95.x, collect2 would create an import file
19497
# for dependence libraries. The import file would start with
19498
# the line `#! .'. This would cause the generated library to
19499
# depend on `.', always an invalid library. This was fixed in
19500
# development snapshots of GCC prior to 3.0.
19502
aix4 | aix4.[01] | aix4.[01].*)
19503
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
19505
echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
19508
can_build_shared=no
19512
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
19513
# soname into executable. Probably we can add versioning support to
19514
# collect2, so additional links can be useful in future.
19515
if test "$aix_use_runtimelinking" = yes; then
19516
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
19517
# instead of lib<name>.a to let people know that these are not
19518
# typical AIX shared libraries.
19519
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19521
# We preserve .a as extension for shared libraries through AIX4.2
19522
# and later when we are not doing run time linking.
19523
library_names_spec='${libname}${release}.a $libname.a'
19524
soname_spec='${libname}${release}${shared_ext}$major'
19526
shlibpath_var=LIBPATH
19531
library_names_spec='$libname.ixlibrary $libname.a'
19532
# Create ${libname}_ixlibrary.a entries in /sys/libs.
19533
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'
19537
library_names_spec='${libname}${shared_ext}'
19538
dynamic_linker="$host_os ld.so"
19539
shlibpath_var=LIBRARY_PATH
19545
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19546
soname_spec='${libname}${release}${shared_ext}$major'
19547
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
19548
shlibpath_var=LD_LIBRARY_PATH
19549
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
19550
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
19551
# the default ld.so.conf also contains /usr/contrib/lib and
19552
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
19553
# libtool to hard-code these into programs
19556
cygwin* | mingw* | pw32*)
19557
version_type=windows
19562
case $GCC,$host_os in
19563
yes,cygwin* | yes,mingw* | yes,pw32*)
19564
library_names_spec='$libname.dll.a'
19565
# DLL is installed to $(libdir)/../bin by postinstall_cmds
19566
postinstall_cmds='base_file=`basename \${file}`~
19567
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
19568
dldir=$destdir/`dirname \$dlpath`~
19569
test -d \$dldir || mkdir -p \$dldir~
19570
$install_prog $dir/$dlname \$dldir/$dlname'
19571
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
19572
dlpath=$dir/\$dldll~
19574
shlibpath_overrides_runpath=yes
19578
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
19579
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19580
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
19583
# MinGW DLLs use traditional 'lib' prefix
19584
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19585
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
19586
if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
19587
# It is most probably a Windows format PATH printed by
19588
# mingw gcc, but we are running on Cygwin. Gcc prints its search
19589
# path with ; separators, and with drive letters. We can handle the
19590
# drive letters (cygwin fileutils understands them), so leave them,
19591
# especially as we might pass files found there to a mingw objdump,
19592
# which wouldn't understand a cygwinified path. Ahh.
19593
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
19595
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
19599
# pw32 DLLs use 'pw' prefix rather than 'lib'
19600
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
19606
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
19609
dynamic_linker='Win32 ld.exe'
19610
# FIXME: first we should search . and the directory the executable is in
19614
darwin* | rhapsody*)
19615
dynamic_linker="$host_os dyld"
19616
version_type=darwin
19619
library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
19620
soname_spec='${libname}${release}${major}$shared_ext'
19621
shlibpath_overrides_runpath=yes
19622
shlibpath_var=DYLD_LIBRARY_PATH
19623
shrext='$(test .$module = .yes && echo .so || echo .dylib)'
19624
# Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
19625
if test "$GCC" = yes; then
19626
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"`
19628
sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
19630
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
19637
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
19638
soname_spec='${libname}${release}${shared_ext}$major'
19639
shlibpath_var=LD_LIBRARY_PATH
19650
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19651
soname_spec='${libname}${release}${shared_ext}$major'
19652
shlibpath_var=LD_LIBRARY_PATH
19653
shlibpath_overrides_runpath=no
19654
hardcode_into_libs=yes
19655
dynamic_linker='GNU ld.so'
19659
objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
19660
version_type=freebsd-$objformat
19661
case $version_type in
19663
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19668
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
19672
shlibpath_var=LD_LIBRARY_PATH
19675
shlibpath_overrides_runpath=yes
19677
freebsd3.01* | freebsdelf3.01*)
19678
shlibpath_overrides_runpath=yes
19679
hardcode_into_libs=yes
19682
shlibpath_overrides_runpath=no
19683
hardcode_into_libs=yes
19692
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
19693
soname_spec='${libname}${release}${shared_ext}$major'
19694
shlibpath_var=LD_LIBRARY_PATH
19695
hardcode_into_libs=yes
19698
hpux9* | hpux10* | hpux11*)
19699
# Give a soname corresponding to the major version so that dld.sl refuses to
19700
# link against other versions.
19704
case "$host_cpu" in
19707
hardcode_into_libs=yes
19708
dynamic_linker="$host_os dld.so"
19709
shlibpath_var=LD_LIBRARY_PATH
19710
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
19711
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19712
soname_spec='${libname}${release}${shared_ext}$major'
19713
if test "X$HPUX_IA64_MODE" = X32; then
19714
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
19716
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
19718
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
19722
hardcode_into_libs=yes
19723
dynamic_linker="$host_os dld.sl"
19724
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
19725
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
19726
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19727
soname_spec='${libname}${release}${shared_ext}$major'
19728
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
19729
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
19733
dynamic_linker="$host_os dld.sl"
19734
shlibpath_var=SHLIB_PATH
19735
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
19736
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19737
soname_spec='${libname}${release}${shared_ext}$major'
19740
# HP-UX runs *really* slowly unless shared libraries are mode 555.
19741
postinstall_cmds='chmod 555 $lib'
19744
irix5* | irix6* | nonstopux*)
19746
nonstopux*) version_type=nonstopux ;;
19748
if test "$lt_cv_prog_gnu_ld" = yes; then
19756
soname_spec='${libname}${release}${shared_ext}$major'
19757
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
19759
irix5* | nonstopux*)
19760
libsuff= shlibsuff=
19763
case $LD in # libtool.m4 will add one of these switches to LD
19764
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
19765
libsuff= shlibsuff= libmagic=32-bit;;
19766
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
19767
libsuff=32 shlibsuff=N32 libmagic=N32;;
19768
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
19769
libsuff=64 shlibsuff=64 libmagic=64-bit;;
19770
*) libsuff= shlibsuff= libmagic=never-match;;
19774
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
19775
shlibpath_overrides_runpath=no
19776
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
19777
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
19778
hardcode_into_libs=yes
19781
# No shared lib support for Linux oldld, aout, or coff.
19782
linux*oldld* | linux*aout* | linux*coff*)
19786
# This must be Linux ELF.
19791
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19792
soname_spec='${libname}${release}${shared_ext}$major'
19793
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
19795
if test "x$LINUX_64_MODE" = x64; then
19796
# Some platforms are per default 64-bit, so there's no /lib64
19797
if test -d /lib64; then
19801
shlibpath_var=LD_LIBRARY_PATH
19802
shlibpath_overrides_runpath=no
19803
sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
19804
sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
19805
# This implies no fast_install, which is unacceptable.
19806
# Some rework will be needed to allow for fast_install
19807
# before this can be enabled.
19808
hardcode_into_libs=yes
19810
# We used to test for /lib/ld.so.1 and disable shared libraries on
19811
# powerpc, because MkLinux only supported shared libraries with the
19812
# GNU dynamic linker. Since this was broken with cross compilers,
19813
# most powerpc-linux boxes support dynamic linking these days and
19814
# people can always --disable-shared, the test was removed, and we
19815
# assume the GNU/Linux dynamic linker is in use.
19816
dynamic_linker='GNU/Linux ld.so'
19823
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
19824
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19825
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19826
dynamic_linker='NetBSD (a.out) ld.so'
19828
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
19829
soname_spec='${libname}${release}${shared_ext}$major'
19830
dynamic_linker='NetBSD ld.elf_so'
19832
shlibpath_var=LD_LIBRARY_PATH
19833
shlibpath_overrides_runpath=yes
19834
hardcode_into_libs=yes
19839
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19840
shlibpath_var=LD_LIBRARY_PATH
19841
shlibpath_overrides_runpath=yes
19848
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19849
soname_spec='${libname}${release}${shared_ext}$major'
19850
shlibpath_var=LD_LIBRARY_PATH
19851
shlibpath_overrides_runpath=yes
19858
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19859
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19860
shlibpath_var=LD_LIBRARY_PATH
19861
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19863
openbsd2.[89] | openbsd2.[89].*)
19864
shlibpath_overrides_runpath=no
19867
shlibpath_overrides_runpath=yes
19871
shlibpath_overrides_runpath=yes
19876
libname_spec='$name'
19879
library_names_spec='$libname${shared_ext} $libname.a'
19880
dynamic_linker='OS/2 ld.exe'
19881
shlibpath_var=LIBPATH
19884
osf3* | osf4* | osf5*)
19888
soname_spec='${libname}${release}${shared_ext}$major'
19889
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19890
shlibpath_var=LD_LIBRARY_PATH
19891
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
19892
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
19897
soname_spec='${libname}${release}${shared_ext}$major'
19898
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19899
shlibpath_var=LD_LIBRARY_PATH
19906
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19907
soname_spec='${libname}${release}${shared_ext}$major'
19908
shlibpath_var=LD_LIBRARY_PATH
19909
shlibpath_overrides_runpath=yes
19910
hardcode_into_libs=yes
19911
# ldd complains unless libraries are executable
19912
postinstall_cmds='chmod +x $lib'
19917
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19918
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
19919
shlibpath_var=LD_LIBRARY_PATH
19920
shlibpath_overrides_runpath=yes
19921
if test "$with_gnu_ld" = yes; then
19927
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
19929
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19930
soname_spec='${libname}${release}${shared_ext}$major'
19931
shlibpath_var=LD_LIBRARY_PATH
19932
case $host_vendor in
19934
shlibpath_overrides_runpath=no
19936
export_dynamic_flag_spec='${wl}-Blargedynsym'
19937
runpath_var=LD_RUN_PATH
19945
shlibpath_overrides_runpath=no
19946
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
19952
if test -d /usr/nec ;then
19954
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
19955
soname_spec='$libname${shared_ext}.$major'
19956
shlibpath_var=LD_LIBRARY_PATH
19962
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19963
soname_spec='${libname}${release}${shared_ext}$major'
19964
shlibpath_var=LD_LIBRARY_PATH
19971
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
19972
echo "${ECHO_T}$dynamic_linker" >&6
19973
test "$dynamic_linker" = no && can_build_shared=no
19975
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
19976
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
19977
hardcode_action_GCJ=
19978
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
19979
test -n "$runpath_var GCJ" || \
19980
test "X$hardcode_automatic_GCJ"="Xyes" ; then
19982
# We can hardcode non-existant directories.
19983
if test "$hardcode_direct_GCJ" != no &&
19984
# If the only mechanism to avoid hardcoding is shlibpath_var, we
19985
# have to relink, otherwise we might link with an installed library
19986
# when we should be linking with a yet-to-be-installed one
19987
## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
19988
test "$hardcode_minus_L_GCJ" != no; then
19989
# Linking always hardcodes the temporary library directory.
19990
hardcode_action_GCJ=relink
19992
# We can link without hardcoding, and we can hardcode nonexisting dirs.
19993
hardcode_action_GCJ=immediate
19996
# We cannot hardcode anything, or else we can only hardcode existing
19998
hardcode_action_GCJ=unsupported
20000
echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
20001
echo "${ECHO_T}$hardcode_action_GCJ" >&6
20003
if test "$hardcode_action_GCJ" = relink; then
20004
# Fast installation is not supported
20005
enable_fast_install=no
20006
elif test "$shlibpath_overrides_runpath" = yes ||
20007
test "$enable_shared" = no; then
20008
# Fast installation is not necessary
20009
enable_fast_install=needless
20014
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
20015
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
20016
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
20017
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
20018
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
20019
echo "$as_me:$LINENO: result: yes" >&5
20020
echo "${ECHO_T}yes" >&6
20022
# FIXME - insert some real tests, host_os isn't really good enough
20025
if test -n "$STRIP" ; then
20026
striplib="$STRIP -x"
20027
echo "$as_me:$LINENO: result: yes" >&5
20028
echo "${ECHO_T}yes" >&6
20030
echo "$as_me:$LINENO: result: no" >&5
20031
echo "${ECHO_T}no" >&6
20035
echo "$as_me:$LINENO: result: no" >&5
20036
echo "${ECHO_T}no" >&6
20041
if test "x$enable_dlopen" != xyes; then
20042
enable_dlopen=unknown
20043
enable_dlopen_self=unknown
20044
enable_dlopen_self_static=unknown
20051
lt_cv_dlopen="load_add_on"
20053
lt_cv_dlopen_self=yes
20057
lt_cv_dlopen="LoadLibrary"
20062
lt_cv_dlopen="dlopen"
20067
# if libdl is installed we need to link against it
20068
echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
20069
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
20070
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
20071
echo $ECHO_N "(cached) $ECHO_C" >&6
20073
ac_check_lib_save_LIBS=$LIBS
20075
cat >conftest.$ac_ext <<_ACEOF
20078
cat confdefs.h >>conftest.$ac_ext
20079
cat >>conftest.$ac_ext <<_ACEOF
20080
/* end confdefs.h. */
20082
/* Override any gcc2 internal prototype to avoid an error. */
20086
/* We use char because int might match the return type of a gcc2
20087
builtin and then its argument prototype would still apply. */
20097
rm -f conftest.$ac_objext conftest$ac_exeext
20098
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20099
(eval $ac_link) 2>conftest.er1
20101
grep -v '^ *+' conftest.er1 >conftest.err
20103
cat conftest.err >&5
20104
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20105
(exit $ac_status); } &&
20106
{ ac_try='test -z "$ac_c_werror_flag"
20107
|| test ! -s conftest.err'
20108
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20109
(eval $ac_try) 2>&5
20111
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20112
(exit $ac_status); }; } &&
20113
{ ac_try='test -s conftest$ac_exeext'
20114
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20115
(eval $ac_try) 2>&5
20117
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20118
(exit $ac_status); }; }; then
20119
ac_cv_lib_dl_dlopen=yes
20121
echo "$as_me: failed program was:" >&5
20122
sed 's/^/| /' conftest.$ac_ext >&5
20124
ac_cv_lib_dl_dlopen=no
20126
rm -f conftest.err conftest.$ac_objext \
20127
conftest$ac_exeext conftest.$ac_ext
20128
LIBS=$ac_check_lib_save_LIBS
20130
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
20131
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
20132
if test $ac_cv_lib_dl_dlopen = yes; then
20133
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
20136
lt_cv_dlopen="dyld"
20138
lt_cv_dlopen_self=yes
20145
echo "$as_me:$LINENO: checking for shl_load" >&5
20146
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
20147
if test "${ac_cv_func_shl_load+set}" = set; then
20148
echo $ECHO_N "(cached) $ECHO_C" >&6
20150
cat >conftest.$ac_ext <<_ACEOF
20153
cat confdefs.h >>conftest.$ac_ext
20154
cat >>conftest.$ac_ext <<_ACEOF
20155
/* end confdefs.h. */
20156
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
20157
For example, HP-UX 11i <limits.h> declares gettimeofday. */
20158
#define shl_load innocuous_shl_load
20160
/* System header to define __stub macros and hopefully few prototypes,
20161
which can conflict with char shl_load (); below.
20162
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20163
<limits.h> exists even on freestanding compilers. */
20166
# include <limits.h>
20168
# include <assert.h>
20173
/* Override any gcc2 internal prototype to avoid an error. */
20178
/* We use char because int might match the return type of a gcc2
20179
builtin and then its argument prototype would still apply. */
20181
/* The GNU C library defines this for functions which it implements
20182
to always fail with ENOSYS. Some functions are actually named
20183
something starting with __ and the normal name is an alias. */
20184
#if defined (__stub_shl_load) || defined (__stub___shl_load)
20187
char (*f) () = shl_load;
20196
return f != shl_load;
20201
rm -f conftest.$ac_objext conftest$ac_exeext
20202
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20203
(eval $ac_link) 2>conftest.er1
20205
grep -v '^ *+' conftest.er1 >conftest.err
20207
cat conftest.err >&5
20208
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20209
(exit $ac_status); } &&
20210
{ ac_try='test -z "$ac_c_werror_flag"
20211
|| test ! -s conftest.err'
20212
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20213
(eval $ac_try) 2>&5
20215
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20216
(exit $ac_status); }; } &&
20217
{ ac_try='test -s conftest$ac_exeext'
20218
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20219
(eval $ac_try) 2>&5
20221
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20222
(exit $ac_status); }; }; then
20223
ac_cv_func_shl_load=yes
20225
echo "$as_me: failed program was:" >&5
20226
sed 's/^/| /' conftest.$ac_ext >&5
20228
ac_cv_func_shl_load=no
20230
rm -f conftest.err conftest.$ac_objext \
20231
conftest$ac_exeext conftest.$ac_ext
20233
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
20234
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
20235
if test $ac_cv_func_shl_load = yes; then
20236
lt_cv_dlopen="shl_load"
20238
echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
20239
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
20240
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
20241
echo $ECHO_N "(cached) $ECHO_C" >&6
20243
ac_check_lib_save_LIBS=$LIBS
20245
cat >conftest.$ac_ext <<_ACEOF
20248
cat confdefs.h >>conftest.$ac_ext
20249
cat >>conftest.$ac_ext <<_ACEOF
20250
/* end confdefs.h. */
20252
/* Override any gcc2 internal prototype to avoid an error. */
20256
/* We use char because int might match the return type of a gcc2
20257
builtin and then its argument prototype would still apply. */
20267
rm -f conftest.$ac_objext conftest$ac_exeext
20268
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20269
(eval $ac_link) 2>conftest.er1
20271
grep -v '^ *+' conftest.er1 >conftest.err
20273
cat conftest.err >&5
20274
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20275
(exit $ac_status); } &&
20276
{ ac_try='test -z "$ac_c_werror_flag"
20277
|| test ! -s conftest.err'
20278
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20279
(eval $ac_try) 2>&5
20281
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20282
(exit $ac_status); }; } &&
20283
{ ac_try='test -s conftest$ac_exeext'
20284
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20285
(eval $ac_try) 2>&5
20287
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20288
(exit $ac_status); }; }; then
20289
ac_cv_lib_dld_shl_load=yes
20291
echo "$as_me: failed program was:" >&5
20292
sed 's/^/| /' conftest.$ac_ext >&5
20294
ac_cv_lib_dld_shl_load=no
20296
rm -f conftest.err conftest.$ac_objext \
20297
conftest$ac_exeext conftest.$ac_ext
20298
LIBS=$ac_check_lib_save_LIBS
20300
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
20301
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
20302
if test $ac_cv_lib_dld_shl_load = yes; then
20303
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
20305
echo "$as_me:$LINENO: checking for dlopen" >&5
20306
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
20307
if test "${ac_cv_func_dlopen+set}" = set; then
20308
echo $ECHO_N "(cached) $ECHO_C" >&6
20310
cat >conftest.$ac_ext <<_ACEOF
20313
cat confdefs.h >>conftest.$ac_ext
20314
cat >>conftest.$ac_ext <<_ACEOF
20315
/* end confdefs.h. */
20316
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
20317
For example, HP-UX 11i <limits.h> declares gettimeofday. */
20318
#define dlopen innocuous_dlopen
20320
/* System header to define __stub macros and hopefully few prototypes,
20321
which can conflict with char dlopen (); below.
20322
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20323
<limits.h> exists even on freestanding compilers. */
20326
# include <limits.h>
20328
# include <assert.h>
20333
/* Override any gcc2 internal prototype to avoid an error. */
20338
/* We use char because int might match the return type of a gcc2
20339
builtin and then its argument prototype would still apply. */
20341
/* The GNU C library defines this for functions which it implements
20342
to always fail with ENOSYS. Some functions are actually named
20343
something starting with __ and the normal name is an alias. */
20344
#if defined (__stub_dlopen) || defined (__stub___dlopen)
20347
char (*f) () = dlopen;
20356
return f != dlopen;
20361
rm -f conftest.$ac_objext conftest$ac_exeext
20362
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20363
(eval $ac_link) 2>conftest.er1
20365
grep -v '^ *+' conftest.er1 >conftest.err
20367
cat conftest.err >&5
20368
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20369
(exit $ac_status); } &&
20370
{ ac_try='test -z "$ac_c_werror_flag"
20371
|| test ! -s conftest.err'
20372
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20373
(eval $ac_try) 2>&5
20375
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20376
(exit $ac_status); }; } &&
20377
{ ac_try='test -s conftest$ac_exeext'
20378
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20379
(eval $ac_try) 2>&5
20381
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20382
(exit $ac_status); }; }; then
20383
ac_cv_func_dlopen=yes
20385
echo "$as_me: failed program was:" >&5
20386
sed 's/^/| /' conftest.$ac_ext >&5
20388
ac_cv_func_dlopen=no
20390
rm -f conftest.err conftest.$ac_objext \
20391
conftest$ac_exeext conftest.$ac_ext
20393
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
20394
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
20395
if test $ac_cv_func_dlopen = yes; then
20396
lt_cv_dlopen="dlopen"
20398
echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
20399
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
20400
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
20401
echo $ECHO_N "(cached) $ECHO_C" >&6
20403
ac_check_lib_save_LIBS=$LIBS
20405
cat >conftest.$ac_ext <<_ACEOF
20408
cat confdefs.h >>conftest.$ac_ext
20409
cat >>conftest.$ac_ext <<_ACEOF
20410
/* end confdefs.h. */
20412
/* Override any gcc2 internal prototype to avoid an error. */
20416
/* We use char because int might match the return type of a gcc2
20417
builtin and then its argument prototype would still apply. */
20427
rm -f conftest.$ac_objext conftest$ac_exeext
20428
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20429
(eval $ac_link) 2>conftest.er1
20431
grep -v '^ *+' conftest.er1 >conftest.err
20433
cat conftest.err >&5
20434
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20435
(exit $ac_status); } &&
20436
{ ac_try='test -z "$ac_c_werror_flag"
20437
|| test ! -s conftest.err'
20438
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20439
(eval $ac_try) 2>&5
20441
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20442
(exit $ac_status); }; } &&
20443
{ ac_try='test -s conftest$ac_exeext'
20444
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20445
(eval $ac_try) 2>&5
20447
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20448
(exit $ac_status); }; }; then
20449
ac_cv_lib_dl_dlopen=yes
20451
echo "$as_me: failed program was:" >&5
20452
sed 's/^/| /' conftest.$ac_ext >&5
20454
ac_cv_lib_dl_dlopen=no
20456
rm -f conftest.err conftest.$ac_objext \
20457
conftest$ac_exeext conftest.$ac_ext
20458
LIBS=$ac_check_lib_save_LIBS
20460
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
20461
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
20462
if test $ac_cv_lib_dl_dlopen = yes; then
20463
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
20465
echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
20466
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
20467
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
20468
echo $ECHO_N "(cached) $ECHO_C" >&6
20470
ac_check_lib_save_LIBS=$LIBS
20471
LIBS="-lsvld $LIBS"
20472
cat >conftest.$ac_ext <<_ACEOF
20475
cat confdefs.h >>conftest.$ac_ext
20476
cat >>conftest.$ac_ext <<_ACEOF
20477
/* end confdefs.h. */
20479
/* Override any gcc2 internal prototype to avoid an error. */
20483
/* We use char because int might match the return type of a gcc2
20484
builtin and then its argument prototype would still apply. */
20494
rm -f conftest.$ac_objext conftest$ac_exeext
20495
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20496
(eval $ac_link) 2>conftest.er1
20498
grep -v '^ *+' conftest.er1 >conftest.err
20500
cat conftest.err >&5
20501
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20502
(exit $ac_status); } &&
20503
{ ac_try='test -z "$ac_c_werror_flag"
20504
|| test ! -s conftest.err'
20505
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20506
(eval $ac_try) 2>&5
20508
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20509
(exit $ac_status); }; } &&
20510
{ ac_try='test -s conftest$ac_exeext'
20511
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20512
(eval $ac_try) 2>&5
20514
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20515
(exit $ac_status); }; }; then
20516
ac_cv_lib_svld_dlopen=yes
20518
echo "$as_me: failed program was:" >&5
20519
sed 's/^/| /' conftest.$ac_ext >&5
20521
ac_cv_lib_svld_dlopen=no
20523
rm -f conftest.err conftest.$ac_objext \
20524
conftest$ac_exeext conftest.$ac_ext
20525
LIBS=$ac_check_lib_save_LIBS
20527
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
20528
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
20529
if test $ac_cv_lib_svld_dlopen = yes; then
20530
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
20532
echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
20533
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
20534
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
20535
echo $ECHO_N "(cached) $ECHO_C" >&6
20537
ac_check_lib_save_LIBS=$LIBS
20539
cat >conftest.$ac_ext <<_ACEOF
20542
cat confdefs.h >>conftest.$ac_ext
20543
cat >>conftest.$ac_ext <<_ACEOF
20544
/* end confdefs.h. */
20546
/* Override any gcc2 internal prototype to avoid an error. */
20550
/* We use char because int might match the return type of a gcc2
20551
builtin and then its argument prototype would still apply. */
20561
rm -f conftest.$ac_objext conftest$ac_exeext
20562
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20563
(eval $ac_link) 2>conftest.er1
20565
grep -v '^ *+' conftest.er1 >conftest.err
20567
cat conftest.err >&5
20568
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20569
(exit $ac_status); } &&
20570
{ ac_try='test -z "$ac_c_werror_flag"
20571
|| test ! -s conftest.err'
20572
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20573
(eval $ac_try) 2>&5
20575
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20576
(exit $ac_status); }; } &&
20577
{ ac_try='test -s conftest$ac_exeext'
20578
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20579
(eval $ac_try) 2>&5
20581
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20582
(exit $ac_status); }; }; then
20583
ac_cv_lib_dld_dld_link=yes
20585
echo "$as_me: failed program was:" >&5
20586
sed 's/^/| /' conftest.$ac_ext >&5
20588
ac_cv_lib_dld_dld_link=no
20590
rm -f conftest.err conftest.$ac_objext \
20591
conftest$ac_exeext conftest.$ac_ext
20592
LIBS=$ac_check_lib_save_LIBS
20594
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
20595
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
20596
if test $ac_cv_lib_dld_dld_link = yes; then
20597
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
20618
if test "x$lt_cv_dlopen" != xno; then
20624
case $lt_cv_dlopen in
20626
save_CPPFLAGS="$CPPFLAGS"
20627
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
20629
save_LDFLAGS="$LDFLAGS"
20630
eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
20633
LIBS="$lt_cv_dlopen_libs $LIBS"
20635
echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
20636
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
20637
if test "${lt_cv_dlopen_self+set}" = set; then
20638
echo $ECHO_N "(cached) $ECHO_C" >&6
20640
if test "$cross_compiling" = yes; then :
20641
lt_cv_dlopen_self=cross
20643
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
20644
lt_status=$lt_dlunknown
20645
cat > conftest.$ac_ext <<EOF
20646
#line 20646 "configure"
20647
#include "confdefs.h"
20656
# define LT_DLGLOBAL RTLD_GLOBAL
20659
# define LT_DLGLOBAL DL_GLOBAL
20661
# define LT_DLGLOBAL 0
20665
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
20666
find out it does not work in some platform. */
20667
#ifndef LT_DLLAZY_OR_NOW
20669
# define LT_DLLAZY_OR_NOW RTLD_LAZY
20672
# define LT_DLLAZY_OR_NOW DL_LAZY
20675
# define LT_DLLAZY_OR_NOW RTLD_NOW
20678
# define LT_DLLAZY_OR_NOW DL_NOW
20680
# define LT_DLLAZY_OR_NOW 0
20688
extern "C" void exit (int);
20691
void fnord() { int i=42;}
20694
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
20695
int status = $lt_dlunknown;
20699
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
20700
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
20701
/* dlclose (self); */
20707
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20708
(eval $ac_link) 2>&5
20710
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20711
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
20712
(./conftest; exit; ) 2>/dev/null
20714
case x$lt_status in
20715
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
20716
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
20717
x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
20720
# compilation failed
20721
lt_cv_dlopen_self=no
20728
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
20729
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
20731
if test "x$lt_cv_dlopen_self" = xyes; then
20732
LDFLAGS="$LDFLAGS $link_static_flag"
20733
echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
20734
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
20735
if test "${lt_cv_dlopen_self_static+set}" = set; then
20736
echo $ECHO_N "(cached) $ECHO_C" >&6
20738
if test "$cross_compiling" = yes; then :
20739
lt_cv_dlopen_self_static=cross
20741
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
20742
lt_status=$lt_dlunknown
20743
cat > conftest.$ac_ext <<EOF
20744
#line 20744 "configure"
20745
#include "confdefs.h"
20754
# define LT_DLGLOBAL RTLD_GLOBAL
20757
# define LT_DLGLOBAL DL_GLOBAL
20759
# define LT_DLGLOBAL 0
20763
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
20764
find out it does not work in some platform. */
20765
#ifndef LT_DLLAZY_OR_NOW
20767
# define LT_DLLAZY_OR_NOW RTLD_LAZY
20770
# define LT_DLLAZY_OR_NOW DL_LAZY
20773
# define LT_DLLAZY_OR_NOW RTLD_NOW
20776
# define LT_DLLAZY_OR_NOW DL_NOW
20778
# define LT_DLLAZY_OR_NOW 0
20786
extern "C" void exit (int);
20789
void fnord() { int i=42;}
20792
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
20793
int status = $lt_dlunknown;
20797
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
20798
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
20799
/* dlclose (self); */
20805
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20806
(eval $ac_link) 2>&5
20808
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20809
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
20810
(./conftest; exit; ) 2>/dev/null
20812
case x$lt_status in
20813
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
20814
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
20815
x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
20818
# compilation failed
20819
lt_cv_dlopen_self_static=no
20826
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
20827
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
20830
CPPFLAGS="$save_CPPFLAGS"
20831
LDFLAGS="$save_LDFLAGS"
20836
case $lt_cv_dlopen_self in
20837
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
20838
*) enable_dlopen_self=unknown ;;
20841
case $lt_cv_dlopen_self_static in
20842
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
20843
*) enable_dlopen_self_static=unknown ;;
20848
# The else clause should only fire when bootstrapping the
20849
# libtool distribution, otherwise you forgot to ship ltmain.sh
20850
# with your package, and you will get complaints that there are
20851
# no rules to generate ltmain.sh.
20852
if test -f "$ltmain"; then
20853
# See if we are running on zsh, and set the options which allow our commands through
20854
# without removal of \ escapes.
20855
if test -n "${ZSH_VERSION+set}" ; then
20856
setopt NO_GLOB_SUBST
20858
# Now quote all the things that may contain metacharacters while being
20859
# careful not to overquote the AC_SUBSTed values. We take copies of the
20860
# variables and quote the copies for generation of the libtool script.
20861
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
20862
libname_spec library_names_spec soname_spec extract_expsyms_cmds \
20863
old_striplib striplib file_magic_cmd finish_cmds finish_eval \
20864
deplibs_check_method reload_flag reload_cmds need_locks \
20865
lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
20866
lt_cv_sys_global_symbol_to_c_name_address \
20867
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
20868
old_postinstall_cmds old_postuninstall_cmds \
20872
lt_prog_compiler_wl_GCJ \
20873
lt_prog_compiler_pic_GCJ \
20874
lt_prog_compiler_static_GCJ \
20875
lt_prog_compiler_no_builtin_flag_GCJ \
20876
export_dynamic_flag_spec_GCJ \
20877
thread_safe_flag_spec_GCJ \
20878
whole_archive_flag_spec_GCJ \
20879
enable_shared_with_static_runtimes_GCJ \
20880
old_archive_cmds_GCJ \
20881
old_archive_from_new_cmds_GCJ \
20882
predep_objects_GCJ \
20883
postdep_objects_GCJ \
20886
compiler_lib_search_path_GCJ \
20888
archive_expsym_cmds_GCJ \
20889
postinstall_cmds_GCJ \
20890
postuninstall_cmds_GCJ \
20891
old_archive_from_expsyms_cmds_GCJ \
20892
allow_undefined_flag_GCJ \
20893
no_undefined_flag_GCJ \
20894
export_symbols_cmds_GCJ \
20895
hardcode_libdir_flag_spec_GCJ \
20896
hardcode_libdir_flag_spec_ld_GCJ \
20897
hardcode_libdir_separator_GCJ \
20898
hardcode_automatic_GCJ \
20900
module_expsym_cmds_GCJ \
20901
lt_cv_prog_compiler_c_o_GCJ \
20902
exclude_expsyms_GCJ \
20903
include_expsyms_GCJ; do
20906
old_archive_cmds_GCJ | \
20907
old_archive_from_new_cmds_GCJ | \
20908
archive_cmds_GCJ | \
20909
archive_expsym_cmds_GCJ | \
20910
module_cmds_GCJ | \
20911
module_expsym_cmds_GCJ | \
20912
old_archive_from_expsyms_cmds_GCJ | \
20913
export_symbols_cmds_GCJ | \
20914
extract_expsyms_cmds | reload_cmds | finish_cmds | \
20915
postinstall_cmds | postuninstall_cmds | \
20916
old_postinstall_cmds | old_postuninstall_cmds | \
20917
sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
20918
# Double-quote double-evaled strings.
20919
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
20922
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
20928
*'\$0 --fallback-echo"')
20929
lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
20935
cat <<__EOF__ >> "$cfgfile"
20936
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
20938
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20940
# Shell to use when invoking shell scripts.
20943
# Whether or not to build shared libraries.
20944
build_libtool_libs=$enable_shared
20946
# Whether or not to build static libraries.
20947
build_old_libs=$enable_static
20949
# Whether or not to add -lc for building shared libraries.
20950
build_libtool_need_lc=$archive_cmds_need_lc_GCJ
20952
# Whether or not to disallow shared libs when runtime libs are static
20953
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
20955
# Whether or not to optimize for fast installation.
20956
fast_install=$enable_fast_install
20959
host_alias=$host_alias
20962
# An echo program that does not interpret backslashes.
20967
AR_FLAGS=$lt_AR_FLAGS
20972
# A language-specific compiler.
20973
CC=$lt_compiler_GCJ
20975
# Is the compiler the GNU C compiler?
20981
# The linker used to build libraries.
20984
# Whether we need hard or soft links.
20987
# A BSD-compatible nm program.
20990
# A symbol stripping program
20993
# Used to examine libraries when file_magic_cmd begins "file"
20994
MAGIC_CMD=$MAGIC_CMD
20996
# Used on cygwin: DLL creation program.
20999
# Used on cygwin: object dumper.
21002
# Used on cygwin: assembler.
21005
# The name of the directory that contains temporary libtool files.
21008
# How to create reloadable object files.
21009
reload_flag=$lt_reload_flag
21010
reload_cmds=$lt_reload_cmds
21012
# How to pass a linker flag through the compiler.
21013
wl=$lt_lt_prog_compiler_wl_GCJ
21015
# Object file suffix (normally "o").
21016
objext="$ac_objext"
21018
# Old archive suffix (normally "a").
21021
# Shared library suffix (normally ".so").
21024
# Executable file suffix (normally "").
21027
# Additional compiler flags for building library objects.
21028
pic_flag=$lt_lt_prog_compiler_pic_GCJ
21031
# What is the maximum length of a command?
21032
max_cmd_len=$lt_cv_sys_max_cmd_len
21034
# Does compiler simultaneously support -c and -o options?
21035
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
21037
# Must we lock files when doing compilation ?
21038
need_locks=$lt_need_locks
21040
# Do we need the lib prefix for modules?
21041
need_lib_prefix=$need_lib_prefix
21043
# Do we need a version for libraries?
21044
need_version=$need_version
21046
# Whether dlopen is supported.
21047
dlopen_support=$enable_dlopen
21049
# Whether dlopen of programs is supported.
21050
dlopen_self=$enable_dlopen_self
21052
# Whether dlopen of statically linked programs is supported.
21053
dlopen_self_static=$enable_dlopen_self_static
21055
# Compiler flag to prevent dynamic linking.
21056
link_static_flag=$lt_lt_prog_compiler_static_GCJ
21058
# Compiler flag to turn off builtin functions.
21059
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
21061
# Compiler flag to allow reflexive dlopens.
21062
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
21064
# Compiler flag to generate shared objects directly from archives.
21065
whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
21067
# Compiler flag to generate thread-safe objects.
21068
thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
21070
# Library versioning type.
21071
version_type=$version_type
21073
# Format of library name prefix.
21074
libname_spec=$lt_libname_spec
21076
# List of archive names. First name is the real one, the rest are links.
21077
# The last name is the one that the linker finds with -lNAME.
21078
library_names_spec=$lt_library_names_spec
21080
# The coded name of the library, if different from the real name.
21081
soname_spec=$lt_soname_spec
21083
# Commands used to build and install an old-style archive.
21085
old_archive_cmds=$lt_old_archive_cmds_GCJ
21086
old_postinstall_cmds=$lt_old_postinstall_cmds
21087
old_postuninstall_cmds=$lt_old_postuninstall_cmds
21089
# Create an old-style archive from a shared archive.
21090
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
21092
# Create a temporary old-style archive to link instead of a shared archive.
21093
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
21095
# Commands used to build and install a shared archive.
21096
archive_cmds=$lt_archive_cmds_GCJ
21097
archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
21098
postinstall_cmds=$lt_postinstall_cmds
21099
postuninstall_cmds=$lt_postuninstall_cmds
21101
# Commands used to build a loadable module (assumed same as above if empty)
21102
module_cmds=$lt_module_cmds_GCJ
21103
module_expsym_cmds=$lt_module_expsym_cmds_GCJ
21105
# Commands to strip libraries.
21106
old_striplib=$lt_old_striplib
21107
striplib=$lt_striplib
21109
# Dependencies to place before the objects being linked to create a
21111
predep_objects=$lt_predep_objects_GCJ
21113
# Dependencies to place after the objects being linked to create a
21115
postdep_objects=$lt_postdep_objects_GCJ
21117
# Dependencies to place before the objects being linked to create a
21119
predeps=$lt_predeps_GCJ
21121
# Dependencies to place after the objects being linked to create a
21123
postdeps=$lt_postdeps_GCJ
21125
# The library search path used internally by the compiler when linking
21126
# a shared library.
21127
compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
21129
# Method to check whether dependent libraries are shared objects.
21130
deplibs_check_method=$lt_deplibs_check_method
21132
# Command to use when deplibs_check_method == file_magic.
21133
file_magic_cmd=$lt_file_magic_cmd
21135
# Flag that allows shared libraries with undefined symbols to be built.
21136
allow_undefined_flag=$lt_allow_undefined_flag_GCJ
21138
# Flag that forces no undefined symbols.
21139
no_undefined_flag=$lt_no_undefined_flag_GCJ
21141
# Commands used to finish a libtool library installation in a directory.
21142
finish_cmds=$lt_finish_cmds
21144
# Same as above, but a single script fragment to be evaled but not shown.
21145
finish_eval=$lt_finish_eval
21147
# Take the output of nm and produce a listing of raw symbols and C names.
21148
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21150
# Transform the output of nm in a proper C declaration
21151
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21153
# Transform the output of nm in a C name address pair
21154
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21156
# This is the shared library runtime path variable.
21157
runpath_var=$runpath_var
21159
# This is the shared library path variable.
21160
shlibpath_var=$shlibpath_var
21162
# Is shlibpath searched before the hard-coded library search path?
21163
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21165
# How to hardcode a shared library path into an executable.
21166
hardcode_action=$hardcode_action_GCJ
21168
# Whether we should hardcode library paths into libraries.
21169
hardcode_into_libs=$hardcode_into_libs
21171
# Flag to hardcode \$libdir into a binary during linking.
21172
# This must work even if \$libdir does not exist.
21173
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
21175
# If ld is used when linking, flag to hardcode \$libdir into
21176
# a binary during linking. This must work even if \$libdir does
21178
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
21180
# Whether we need a single -rpath flag with a separated argument.
21181
hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
21183
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
21184
# resulting binary.
21185
hardcode_direct=$hardcode_direct_GCJ
21187
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
21188
# resulting binary.
21189
hardcode_minus_L=$hardcode_minus_L_GCJ
21191
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
21192
# the resulting binary.
21193
hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
21195
# Set to yes if building a shared library automatically hardcodes DIR into the library
21196
# and all subsequent libraries and executables linked against it.
21197
hardcode_automatic=$hardcode_automatic_GCJ
21199
# Variables whose values should be saved in libtool wrapper scripts and
21200
# restored at relink time.
21201
variables_saved_for_relink="$variables_saved_for_relink"
21203
# Whether libtool must link a program against all its dependency libraries.
21204
link_all_deplibs=$link_all_deplibs_GCJ
21206
# Compile-time system search path for libraries
21207
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21209
# Run-time system search path for libraries
21210
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21212
# Fix the shell variable \$srcfile for the compiler.
21213
fix_srcfile_path="$fix_srcfile_path_GCJ"
21215
# Set to yes if exported symbols are required.
21216
always_export_symbols=$always_export_symbols_GCJ
21218
# The commands to list exported symbols.
21219
export_symbols_cmds=$lt_export_symbols_cmds_GCJ
21221
# The commands to extract the exported symbol list from a shared archive.
21222
extract_expsyms_cmds=$lt_extract_expsyms_cmds
21224
# Symbols that should not be listed in the preloaded symbols.
21225
exclude_expsyms=$lt_exclude_expsyms_GCJ
21227
# Symbols that must always be exported.
21228
include_expsyms=$lt_include_expsyms_GCJ
21230
# ### END LIBTOOL TAG CONFIG: $tagname
21236
# If there is no Makefile yet, we rely on a make rule to execute
21237
# `config.status --recheck' to rerun these tests and create the
21238
# libtool script then.
21239
test -f Makefile && make "$ltmain"
21244
ac_cpp='$CPP $CPPFLAGS'
21245
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21246
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21247
ac_compiler_gnu=$ac_cv_c_compiler_gnu
21260
# Source file extension for RC test sources.
21263
# Object file extension for compiled RC test sources.
21267
# Code to be used in simple compile tests
21268
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
21270
# Code to be used in simple link tests
21271
lt_simple_link_test_code="$lt_simple_compile_test_code"
21273
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
21275
# If no C compiler was specified, use CC.
21278
# Allow CC to be a program name with arguments.
21282
# Allow CC to be a program name with arguments.
21287
lt_cv_prog_compiler_c_o_RC=yes
21289
# The else clause should only fire when bootstrapping the
21290
# libtool distribution, otherwise you forgot to ship ltmain.sh
21291
# with your package, and you will get complaints that there are
21292
# no rules to generate ltmain.sh.
21293
if test -f "$ltmain"; then
21294
# See if we are running on zsh, and set the options which allow our commands through
21295
# without removal of \ escapes.
21296
if test -n "${ZSH_VERSION+set}" ; then
21297
setopt NO_GLOB_SUBST
21299
# Now quote all the things that may contain metacharacters while being
21300
# careful not to overquote the AC_SUBSTed values. We take copies of the
21301
# variables and quote the copies for generation of the libtool script.
21302
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
21303
libname_spec library_names_spec soname_spec extract_expsyms_cmds \
21304
old_striplib striplib file_magic_cmd finish_cmds finish_eval \
21305
deplibs_check_method reload_flag reload_cmds need_locks \
21306
lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
21307
lt_cv_sys_global_symbol_to_c_name_address \
21308
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
21309
old_postinstall_cmds old_postuninstall_cmds \
21313
lt_prog_compiler_wl_RC \
21314
lt_prog_compiler_pic_RC \
21315
lt_prog_compiler_static_RC \
21316
lt_prog_compiler_no_builtin_flag_RC \
21317
export_dynamic_flag_spec_RC \
21318
thread_safe_flag_spec_RC \
21319
whole_archive_flag_spec_RC \
21320
enable_shared_with_static_runtimes_RC \
21321
old_archive_cmds_RC \
21322
old_archive_from_new_cmds_RC \
21323
predep_objects_RC \
21324
postdep_objects_RC \
21327
compiler_lib_search_path_RC \
21329
archive_expsym_cmds_RC \
21330
postinstall_cmds_RC \
21331
postuninstall_cmds_RC \
21332
old_archive_from_expsyms_cmds_RC \
21333
allow_undefined_flag_RC \
21334
no_undefined_flag_RC \
21335
export_symbols_cmds_RC \
21336
hardcode_libdir_flag_spec_RC \
21337
hardcode_libdir_flag_spec_ld_RC \
21338
hardcode_libdir_separator_RC \
21339
hardcode_automatic_RC \
21341
module_expsym_cmds_RC \
21342
lt_cv_prog_compiler_c_o_RC \
21343
exclude_expsyms_RC \
21344
include_expsyms_RC; do
21347
old_archive_cmds_RC | \
21348
old_archive_from_new_cmds_RC | \
21349
archive_cmds_RC | \
21350
archive_expsym_cmds_RC | \
21352
module_expsym_cmds_RC | \
21353
old_archive_from_expsyms_cmds_RC | \
21354
export_symbols_cmds_RC | \
21355
extract_expsyms_cmds | reload_cmds | finish_cmds | \
21356
postinstall_cmds | postuninstall_cmds | \
21357
old_postinstall_cmds | old_postuninstall_cmds | \
21358
sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
21359
# Double-quote double-evaled strings.
21360
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
21363
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
21369
*'\$0 --fallback-echo"')
21370
lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
21376
cat <<__EOF__ >> "$cfgfile"
21377
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
21379
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21381
# Shell to use when invoking shell scripts.
21384
# Whether or not to build shared libraries.
21385
build_libtool_libs=$enable_shared
21387
# Whether or not to build static libraries.
21388
build_old_libs=$enable_static
21390
# Whether or not to add -lc for building shared libraries.
21391
build_libtool_need_lc=$archive_cmds_need_lc_RC
21393
# Whether or not to disallow shared libs when runtime libs are static
21394
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
21396
# Whether or not to optimize for fast installation.
21397
fast_install=$enable_fast_install
21400
host_alias=$host_alias
21403
# An echo program that does not interpret backslashes.
21408
AR_FLAGS=$lt_AR_FLAGS
21413
# A language-specific compiler.
21416
# Is the compiler the GNU C compiler?
21422
# The linker used to build libraries.
21425
# Whether we need hard or soft links.
21428
# A BSD-compatible nm program.
21431
# A symbol stripping program
21434
# Used to examine libraries when file_magic_cmd begins "file"
21435
MAGIC_CMD=$MAGIC_CMD
21437
# Used on cygwin: DLL creation program.
21440
# Used on cygwin: object dumper.
21443
# Used on cygwin: assembler.
21446
# The name of the directory that contains temporary libtool files.
21449
# How to create reloadable object files.
21450
reload_flag=$lt_reload_flag
21451
reload_cmds=$lt_reload_cmds
21453
# How to pass a linker flag through the compiler.
21454
wl=$lt_lt_prog_compiler_wl_RC
21456
# Object file suffix (normally "o").
21457
objext="$ac_objext"
21459
# Old archive suffix (normally "a").
21462
# Shared library suffix (normally ".so").
21465
# Executable file suffix (normally "").
21468
# Additional compiler flags for building library objects.
21469
pic_flag=$lt_lt_prog_compiler_pic_RC
21472
# What is the maximum length of a command?
21473
max_cmd_len=$lt_cv_sys_max_cmd_len
21475
# Does compiler simultaneously support -c and -o options?
21476
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
21478
# Must we lock files when doing compilation ?
21479
need_locks=$lt_need_locks
21481
# Do we need the lib prefix for modules?
21482
need_lib_prefix=$need_lib_prefix
21484
# Do we need a version for libraries?
21485
need_version=$need_version
21487
# Whether dlopen is supported.
21488
dlopen_support=$enable_dlopen
21490
# Whether dlopen of programs is supported.
21491
dlopen_self=$enable_dlopen_self
21493
# Whether dlopen of statically linked programs is supported.
21494
dlopen_self_static=$enable_dlopen_self_static
21496
# Compiler flag to prevent dynamic linking.
21497
link_static_flag=$lt_lt_prog_compiler_static_RC
21499
# Compiler flag to turn off builtin functions.
21500
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
21502
# Compiler flag to allow reflexive dlopens.
21503
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
21505
# Compiler flag to generate shared objects directly from archives.
21506
whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
21508
# Compiler flag to generate thread-safe objects.
21509
thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
21511
# Library versioning type.
21512
version_type=$version_type
21514
# Format of library name prefix.
21515
libname_spec=$lt_libname_spec
21517
# List of archive names. First name is the real one, the rest are links.
21518
# The last name is the one that the linker finds with -lNAME.
21519
library_names_spec=$lt_library_names_spec
21521
# The coded name of the library, if different from the real name.
21522
soname_spec=$lt_soname_spec
21524
# Commands used to build and install an old-style archive.
21526
old_archive_cmds=$lt_old_archive_cmds_RC
21527
old_postinstall_cmds=$lt_old_postinstall_cmds
21528
old_postuninstall_cmds=$lt_old_postuninstall_cmds
21530
# Create an old-style archive from a shared archive.
21531
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
21533
# Create a temporary old-style archive to link instead of a shared archive.
21534
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
21536
# Commands used to build and install a shared archive.
21537
archive_cmds=$lt_archive_cmds_RC
21538
archive_expsym_cmds=$lt_archive_expsym_cmds_RC
21539
postinstall_cmds=$lt_postinstall_cmds
21540
postuninstall_cmds=$lt_postuninstall_cmds
21542
# Commands used to build a loadable module (assumed same as above if empty)
21543
module_cmds=$lt_module_cmds_RC
21544
module_expsym_cmds=$lt_module_expsym_cmds_RC
21546
# Commands to strip libraries.
21547
old_striplib=$lt_old_striplib
21548
striplib=$lt_striplib
21550
# Dependencies to place before the objects being linked to create a
21552
predep_objects=$lt_predep_objects_RC
21554
# Dependencies to place after the objects being linked to create a
21556
postdep_objects=$lt_postdep_objects_RC
21558
# Dependencies to place before the objects being linked to create a
21560
predeps=$lt_predeps_RC
21562
# Dependencies to place after the objects being linked to create a
21564
postdeps=$lt_postdeps_RC
21566
# The library search path used internally by the compiler when linking
21567
# a shared library.
21568
compiler_lib_search_path=$lt_compiler_lib_search_path_RC
21570
# Method to check whether dependent libraries are shared objects.
21571
deplibs_check_method=$lt_deplibs_check_method
21573
# Command to use when deplibs_check_method == file_magic.
21574
file_magic_cmd=$lt_file_magic_cmd
21576
# Flag that allows shared libraries with undefined symbols to be built.
21577
allow_undefined_flag=$lt_allow_undefined_flag_RC
21579
# Flag that forces no undefined symbols.
21580
no_undefined_flag=$lt_no_undefined_flag_RC
21582
# Commands used to finish a libtool library installation in a directory.
21583
finish_cmds=$lt_finish_cmds
21585
# Same as above, but a single script fragment to be evaled but not shown.
21586
finish_eval=$lt_finish_eval
21588
# Take the output of nm and produce a listing of raw symbols and C names.
21589
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21591
# Transform the output of nm in a proper C declaration
21592
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21594
# Transform the output of nm in a C name address pair
21595
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21597
# This is the shared library runtime path variable.
21598
runpath_var=$runpath_var
21600
# This is the shared library path variable.
21601
shlibpath_var=$shlibpath_var
21603
# Is shlibpath searched before the hard-coded library search path?
21604
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21606
# How to hardcode a shared library path into an executable.
21607
hardcode_action=$hardcode_action_RC
21609
# Whether we should hardcode library paths into libraries.
21610
hardcode_into_libs=$hardcode_into_libs
21612
# Flag to hardcode \$libdir into a binary during linking.
21613
# This must work even if \$libdir does not exist.
21614
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
21616
# If ld is used when linking, flag to hardcode \$libdir into
21617
# a binary during linking. This must work even if \$libdir does
21619
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
21621
# Whether we need a single -rpath flag with a separated argument.
21622
hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
21624
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
21625
# resulting binary.
21626
hardcode_direct=$hardcode_direct_RC
21628
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
21629
# resulting binary.
21630
hardcode_minus_L=$hardcode_minus_L_RC
21632
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
21633
# the resulting binary.
21634
hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
21636
# Set to yes if building a shared library automatically hardcodes DIR into the library
21637
# and all subsequent libraries and executables linked against it.
21638
hardcode_automatic=$hardcode_automatic_RC
21640
# Variables whose values should be saved in libtool wrapper scripts and
21641
# restored at relink time.
21642
variables_saved_for_relink="$variables_saved_for_relink"
21644
# Whether libtool must link a program against all its dependency libraries.
21645
link_all_deplibs=$link_all_deplibs_RC
21647
# Compile-time system search path for libraries
21648
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21650
# Run-time system search path for libraries
21651
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21653
# Fix the shell variable \$srcfile for the compiler.
21654
fix_srcfile_path="$fix_srcfile_path_RC"
21656
# Set to yes if exported symbols are required.
21657
always_export_symbols=$always_export_symbols_RC
21659
# The commands to list exported symbols.
21660
export_symbols_cmds=$lt_export_symbols_cmds_RC
21662
# The commands to extract the exported symbol list from a shared archive.
21663
extract_expsyms_cmds=$lt_extract_expsyms_cmds
21665
# Symbols that should not be listed in the preloaded symbols.
21666
exclude_expsyms=$lt_exclude_expsyms_RC
21668
# Symbols that must always be exported.
21669
include_expsyms=$lt_include_expsyms_RC
21671
# ### END LIBTOOL TAG CONFIG: $tagname
21677
# If there is no Makefile yet, we rely on a make rule to execute
21678
# `config.status --recheck' to rerun these tests and create the
21679
# libtool script then.
21680
test -f Makefile && make "$ltmain"
21685
ac_cpp='$CPP $CPPFLAGS'
21686
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21687
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21688
ac_compiler_gnu=$ac_cv_c_compiler_gnu
21695
{ { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
21696
echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
21697
{ (exit 1); exit 1; }; }
21701
# Append the new tag name to the list of available tags.
21702
if test -n "$tagname" ; then
21703
available_tags="$available_tags $tagname"
21709
# Now substitute the updated list of available tags.
21710
if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
21711
mv "${ofile}T" "$ofile"
21715
{ { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
21716
echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
21717
{ (exit 1); exit 1; }; }
21723
# This can be used to rebuild libtool when needed
21724
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
21726
# Always use our own libtool.
21727
LIBTOOL='$(SHELL) $(top_builddir)/libtool --silent'
21729
# Prevent multiple expansion
21764
LIBTOOL_SHELL="/bin/sh ./libtool"
21765
# LIBTOOL="$LIBTOOL --silent"
21766
KDE_PLUGIN="-avoid-version -module -no-undefined \$(KDE_NO_UNDEFINED) \$(KDE_RPATH) \$(KDE_MT_LDFLAGS)"
21769
# This hack ensures that libtool creates shared libs for kunittest plugins. By default check_LTLIBRARIES makes static libs.
21770
KDE_CHECK_PLUGIN="\$(KDE_PLUGIN) -rpath \$(libdir)"
21773
# we patch configure quite some so we better keep that consistent for incremental runs
21774
AUTOCONF='$(SHELL) $(top_srcdir)/admin/cvs.sh configure || touch configure'
21780
# Extract the first word of "msgfmt", so it can be a program name with args.
21781
set dummy msgfmt; ac_word=$2
21782
echo "$as_me:$LINENO: checking for $ac_word" >&5
21783
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21784
if test "${ac_cv_path_MSGFMT+set}" = set; then
21785
echo $ECHO_N "(cached) $ECHO_C" >&6
21789
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
21792
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
21793
for ac_dir in $PATH; do
21794
test -z "$ac_dir" && ac_dir=.
21795
if test -f $ac_dir/$ac_word; then
21796
if test -n "`$ac_dir/$ac_word --version 2>&1 | grep 'GNU gettext'`"; then
21797
ac_cv_path_MSGFMT="$ac_dir/$ac_word"
21803
test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="msgfmt"
21807
MSGFMT="$ac_cv_path_MSGFMT"
21808
if test -n "$MSGFMT"; then
21809
echo "$as_me:$LINENO: result: $MSGFMT" >&5
21810
echo "${ECHO_T}$MSGFMT" >&6
21812
echo "$as_me:$LINENO: result: no" >&5
21813
echo "${ECHO_T}no" >&6
21816
# Extract the first word of "gmsgfmt", so it can be a program name with args.
21817
set dummy gmsgfmt; ac_word=$2
21818
echo "$as_me:$LINENO: checking for $ac_word" >&5
21819
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21820
if test "${ac_cv_path_GMSGFMT+set}" = set; then
21821
echo $ECHO_N "(cached) $ECHO_C" >&6
21825
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
21828
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21829
for as_dir in $PATH
21832
test -z "$as_dir" && as_dir=.
21833
for ac_exec_ext in '' $ac_executable_extensions; do
21834
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21835
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
21836
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21842
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
21846
GMSGFMT=$ac_cv_path_GMSGFMT
21848
if test -n "$GMSGFMT"; then
21849
echo "$as_me:$LINENO: result: $GMSGFMT" >&5
21850
echo "${ECHO_T}$GMSGFMT" >&6
21852
echo "$as_me:$LINENO: result: no" >&5
21853
echo "${ECHO_T}no" >&6
21857
if test -z "`$GMSGFMT --version 2>&1 | grep 'GNU gettext'`"; then
21858
echo "$as_me:$LINENO: result: found msgfmt program is not GNU msgfmt; ignore it" >&5
21859
echo "${ECHO_T}found msgfmt program is not GNU msgfmt; ignore it" >&6
21866
# Extract the first word of "xgettext", so it can be a program name with args.
21867
set dummy xgettext; ac_word=$2
21868
echo "$as_me:$LINENO: checking for $ac_word" >&5
21869
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21870
if test "${ac_cv_path_XGETTEXT+set}" = set; then
21871
echo $ECHO_N "(cached) $ECHO_C" >&6
21873
case "$XGETTEXT" in
21875
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
21878
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
21879
for ac_dir in $PATH; do
21880
test -z "$ac_dir" && ac_dir=.
21881
if test -f $ac_dir/$ac_word; then
21882
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
21883
ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
21889
test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
21893
XGETTEXT="$ac_cv_path_XGETTEXT"
21894
if test -n "$XGETTEXT"; then
21895
echo "$as_me:$LINENO: result: $XGETTEXT" >&5
21896
echo "${ECHO_T}$XGETTEXT" >&6
21898
echo "$as_me:$LINENO: result: no" >&5
21899
echo "${ECHO_T}no" >&6
21903
if test "$XGETTEXT" != ":"; then
21904
if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
21907
echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
21908
echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6
21917
if test -z "3.2"; then
21918
# Current default Qt version: 3.3
21922
kde_qtsubver=`echo "3.2" | sed -e 's#[0-9][0-9]*\.\([0-9][0-9]*\).*#\1#'`
21923
# following is the check if subversion isnt found in passed argument
21924
if test "$kde_qtsubver" = "3.2"; then
21927
kde_qtver=`echo "3.2" | sed -e 's#^\([0-9][0-9]*\)\..*#\1#'`
21928
if test "$kde_qtver" = "1"; then
21933
if test -z ""; then
21934
if test "$kde_qtver" = "2"; then
21935
if test $kde_qtsubver -gt 0; then
21936
kde_qt_minversion=">= Qt 2.2.2"
21938
kde_qt_minversion=">= Qt 2.0.2"
21941
if test "$kde_qtver" = "3"; then
21942
if test $kde_qtsubver -gt 0; then
21943
if test $kde_qtsubver -gt 1; then
21944
if test $kde_qtsubver -gt 2; then
21945
kde_qt_minversion=">= Qt 3.3"
21947
kde_qt_minversion=">= Qt 3.2"
21950
kde_qt_minversion=">= Qt 3.1 (20021021)"
21953
kde_qt_minversion=">= Qt 3.0"
21956
if test "$kde_qtver" = "1"; then
21957
kde_qt_minversion=">= 1.42 and < 2.0"
21960
kde_qt_minversion=""
21963
if test -z ""; then
21964
if test $kde_qtver = 3; then
21965
if test $kde_qtsubver -gt 0; then
21966
kde_qt_verstring="QT_VERSION >= 0x03@VER@00 && QT_VERSION < 0x040000"
21967
qtsubver=`echo "00$kde_qtsubver" | sed -e 's,.*\(..\)$,\1,'`
21968
kde_qt_verstring=`echo $kde_qt_verstring | sed -e "s,@VER@,$qtsubver,"`
21970
kde_qt_verstring="QT_VERSION >= 300 && QT_VERSION < 0x040000"
21973
if test $kde_qtver = 2; then
21974
if test $kde_qtsubver -gt 0; then
21975
kde_qt_verstring="QT_VERSION >= 222"
21977
kde_qt_verstring="QT_VERSION >= 200"
21980
if test $kde_qtver = 1; then
21981
kde_qt_verstring="QT_VERSION >= 142 && QT_VERSION < 200"
21984
kde_qt_verstring=""
21987
if test $kde_qtver = 3; then
21988
kde_qt_dirs="$QTDIR /usr/lib/qt3 /usr/lib/qt /usr/share/qt3"
21990
if test $kde_qtver = 2; then
21991
kde_qt_dirs="$QTDIR /usr/lib/qt2 /usr/lib/qt"
21993
if test $kde_qtver = 1; then
21994
kde_qt_dirs="$QTDIR /usr/lib/qt"
22001
ac_cpp='$CXXCPP $CPPFLAGS'
22002
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22003
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22004
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22006
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22009
ac_save_CXXFLAGS="$CXXFLAGS"
22010
CXXFLAGS="`echo $CXXFLAGS | sed s/-fno-exceptions//`"
22012
echo "$as_me:$LINENO: checking if C++ programs can be compiled" >&5
22013
echo $ECHO_N "checking if C++ programs can be compiled... $ECHO_C" >&6
22014
if test "${kde_cv_stl_works+set}" = set; then
22015
echo $ECHO_N "(cached) $ECHO_C" >&6
22018
cat >conftest.$ac_ext <<_ACEOF
22021
cat confdefs.h >>conftest.$ac_ext
22022
cat >>conftest.$ac_ext <<_ACEOF
22023
/* end confdefs.h. */
22026
using namespace std;
22032
string astring="Hallo Welt.";
22033
astring.erase(0, 6); // now astring is "Welt"
22040
rm -f conftest.$ac_objext
22041
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22042
(eval $ac_compile) 2>conftest.er1
22044
grep -v '^ *+' conftest.er1 >conftest.err
22046
cat conftest.err >&5
22047
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22048
(exit $ac_status); } &&
22049
{ ac_try='test -z "$ac_cxx_werror_flag"
22050
|| test ! -s conftest.err'
22051
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22052
(eval $ac_try) 2>&5
22054
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22055
(exit $ac_status); }; } &&
22056
{ ac_try='test -s conftest.$ac_objext'
22057
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22058
(eval $ac_try) 2>&5
22060
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22061
(exit $ac_status); }; }; then
22062
kde_cv_stl_works=yes
22064
echo "$as_me: failed program was:" >&5
22065
sed 's/^/| /' conftest.$ac_ext >&5
22067
kde_cv_stl_works=no
22069
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22074
echo "$as_me:$LINENO: result: $kde_cv_stl_works" >&5
22075
echo "${ECHO_T}$kde_cv_stl_works" >&6
22077
if test "$kde_cv_stl_works" = "yes"; then
22080
cat >>confdefs.h <<_ACEOF
22081
#define HAVE_SGI_STL 1
22085
{ { echo "$as_me:$LINENO: error: Your Installation isn't able to compile simple C++ programs.
22086
Check config.log for details - if you're using a Linux distribution you might miss
22087
a package named similar to libstdc++-dev." >&5
22088
echo "$as_me: error: Your Installation isn't able to compile simple C++ programs.
22089
Check config.log for details - if you're using a Linux distribution you might miss
22090
a package named similar to libstdc++-dev." >&2;}
22091
{ (exit 1); exit 1; }; }
22094
CXXFLAGS="$ac_save_CXXFLAGS"
22096
ac_cpp='$CPP $CPPFLAGS'
22097
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22098
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22099
ac_compiler_gnu=$ac_cv_c_compiler_gnu
22104
echo "$as_me:$LINENO: checking for strlcat" >&5
22105
echo $ECHO_N "checking for strlcat... $ECHO_C" >&6
22106
if test "${kde_cv_func_strlcat+set}" = set; then
22107
echo $ECHO_N "(cached) $ECHO_C" >&6
22113
ac_cpp='$CXXCPP $CPPFLAGS'
22114
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22115
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22116
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22118
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22121
save_CXXFLAGS="$CXXFLAGS"
22122
kde_safe_LIBS="$LIBS"
22123
LIBS="$LIBS $X_EXTRA_LIBS"
22124
if test "$GXX" = "yes"; then
22125
CXXFLAGS="$CXXFLAGS -pedantic-errors"
22127
cat >conftest.$ac_ext <<_ACEOF
22130
cat confdefs.h >>conftest.$ac_ext
22131
cat >>conftest.$ac_ext <<_ACEOF
22132
/* end confdefs.h. */
22135
#include <string.h>
22144
strlcat(buf, "KDE function test", sizeof(buf));
22151
rm -f conftest.$ac_objext
22152
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22153
(eval $ac_compile) 2>conftest.er1
22155
grep -v '^ *+' conftest.er1 >conftest.err
22157
cat conftest.err >&5
22158
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22159
(exit $ac_status); } &&
22160
{ ac_try='test -z "$ac_cxx_werror_flag"
22161
|| test ! -s conftest.err'
22162
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22163
(eval $ac_try) 2>&5
22165
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22166
(exit $ac_status); }; } &&
22167
{ ac_try='test -s conftest.$ac_objext'
22168
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22169
(eval $ac_try) 2>&5
22171
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22172
(exit $ac_status); }; }; then
22173
kde_cv_func_strlcat=yes
22175
echo "$as_me: failed program was:" >&5
22176
sed 's/^/| /' conftest.$ac_ext >&5
22178
kde_cv_func_strlcat=no
22180
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22181
CXXFLAGS="$save_CXXFLAGS"
22182
LIBS="$kde_safe_LIBS"
22184
ac_cpp='$CPP $CPPFLAGS'
22185
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22186
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22187
ac_compiler_gnu=$ac_cv_c_compiler_gnu
22193
echo "$as_me:$LINENO: result: $kde_cv_func_strlcat" >&5
22194
echo "${ECHO_T}$kde_cv_func_strlcat" >&6
22196
echo "$as_me:$LINENO: checking if strlcat needs custom prototype" >&5
22197
echo $ECHO_N "checking if strlcat needs custom prototype... $ECHO_C" >&6
22198
if test "${kde_cv_proto_strlcat+set}" = set; then
22199
echo $ECHO_N "(cached) $ECHO_C" >&6
22202
if test "x$kde_cv_func_strlcat" = xyes; then
22203
kde_cv_proto_strlcat=no
22206
setenv|unsetenv|usleep|random|srandom|seteuid|mkstemps|mkstemp|revoke|vsnprintf|strlcpy|strlcat)
22207
kde_cv_proto_strlcat="yes - in libkdefakes"
22210
kde_cv_proto_strlcat=unknown
22215
if test "x$kde_cv_proto_strlcat" = xunknown; then
22220
ac_cpp='$CXXCPP $CPPFLAGS'
22221
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22222
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22223
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22225
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22228
kde_safe_libs=$LIBS
22229
LIBS="$LIBS $X_EXTRA_LIBS"
22230
cat >conftest.$ac_ext <<_ACEOF
22233
cat confdefs.h >>conftest.$ac_ext
22234
cat >>conftest.$ac_ext <<_ACEOF
22235
/* end confdefs.h. */
22238
#include <string.h>
22241
extern "C" unsigned long strlcat(char*, const char*, unsigned long);
22249
strlcat(buf, "KDE function test", sizeof(buf));
22256
rm -f conftest.$ac_objext conftest$ac_exeext
22257
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22258
(eval $ac_link) 2>conftest.er1
22260
grep -v '^ *+' conftest.er1 >conftest.err
22262
cat conftest.err >&5
22263
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22264
(exit $ac_status); } &&
22265
{ ac_try='test -z "$ac_cxx_werror_flag"
22266
|| test ! -s conftest.err'
22267
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22268
(eval $ac_try) 2>&5
22270
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22271
(exit $ac_status); }; } &&
22272
{ ac_try='test -s conftest$ac_exeext'
22273
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22274
(eval $ac_try) 2>&5
22276
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22277
(exit $ac_status); }; }; then
22278
kde_cv_func_strlcat=yes
22279
kde_cv_proto_strlcat=yes
22281
echo "$as_me: failed program was:" >&5
22282
sed 's/^/| /' conftest.$ac_ext >&5
22284
kde_cv_proto_strlcat="strlcat unavailable"
22287
rm -f conftest.err conftest.$ac_objext \
22288
conftest$ac_exeext conftest.$ac_ext
22289
LIBS=$kde_safe_libs
22291
ac_cpp='$CPP $CPPFLAGS'
22292
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22293
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22294
ac_compiler_gnu=$ac_cv_c_compiler_gnu
22300
echo "$as_me:$LINENO: result: $kde_cv_proto_strlcat" >&5
22301
echo "${ECHO_T}$kde_cv_proto_strlcat" >&6
22303
if test "x$kde_cv_func_strlcat" = xyes; then
22305
cat >>confdefs.h <<\_ACEOF
22306
#define HAVE_STRLCAT 1
22311
if test "x$kde_cv_proto_strlcat" = xno; then
22313
cat >>confdefs.h <<\_ACEOF
22314
#define HAVE_STRLCAT_PROTO 1
22325
echo "$as_me:$LINENO: checking for strlcpy" >&5
22326
echo $ECHO_N "checking for strlcpy... $ECHO_C" >&6
22327
if test "${kde_cv_func_strlcpy+set}" = set; then
22328
echo $ECHO_N "(cached) $ECHO_C" >&6
22334
ac_cpp='$CXXCPP $CPPFLAGS'
22335
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22336
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22337
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22339
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22342
save_CXXFLAGS="$CXXFLAGS"
22343
kde_safe_LIBS="$LIBS"
22344
LIBS="$LIBS $X_EXTRA_LIBS"
22345
if test "$GXX" = "yes"; then
22346
CXXFLAGS="$CXXFLAGS -pedantic-errors"
22348
cat >conftest.$ac_ext <<_ACEOF
22351
cat confdefs.h >>conftest.$ac_ext
22352
cat >>conftest.$ac_ext <<_ACEOF
22353
/* end confdefs.h. */
22356
#include <string.h>
22364
strlcpy(buf, "KDE function test", sizeof(buf));
22371
rm -f conftest.$ac_objext
22372
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22373
(eval $ac_compile) 2>conftest.er1
22375
grep -v '^ *+' conftest.er1 >conftest.err
22377
cat conftest.err >&5
22378
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22379
(exit $ac_status); } &&
22380
{ ac_try='test -z "$ac_cxx_werror_flag"
22381
|| test ! -s conftest.err'
22382
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22383
(eval $ac_try) 2>&5
22385
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22386
(exit $ac_status); }; } &&
22387
{ ac_try='test -s conftest.$ac_objext'
22388
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22389
(eval $ac_try) 2>&5
22391
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22392
(exit $ac_status); }; }; then
22393
kde_cv_func_strlcpy=yes
22395
echo "$as_me: failed program was:" >&5
22396
sed 's/^/| /' conftest.$ac_ext >&5
22398
kde_cv_func_strlcpy=no
22400
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22401
CXXFLAGS="$save_CXXFLAGS"
22402
LIBS="$kde_safe_LIBS"
22404
ac_cpp='$CPP $CPPFLAGS'
22405
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22406
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22407
ac_compiler_gnu=$ac_cv_c_compiler_gnu
22413
echo "$as_me:$LINENO: result: $kde_cv_func_strlcpy" >&5
22414
echo "${ECHO_T}$kde_cv_func_strlcpy" >&6
22416
echo "$as_me:$LINENO: checking if strlcpy needs custom prototype" >&5
22417
echo $ECHO_N "checking if strlcpy needs custom prototype... $ECHO_C" >&6
22418
if test "${kde_cv_proto_strlcpy+set}" = set; then
22419
echo $ECHO_N "(cached) $ECHO_C" >&6
22422
if test "x$kde_cv_func_strlcpy" = xyes; then
22423
kde_cv_proto_strlcpy=no
22426
setenv|unsetenv|usleep|random|srandom|seteuid|mkstemps|mkstemp|revoke|vsnprintf|strlcpy|strlcat)
22427
kde_cv_proto_strlcpy="yes - in libkdefakes"
22430
kde_cv_proto_strlcpy=unknown
22435
if test "x$kde_cv_proto_strlcpy" = xunknown; then
22440
ac_cpp='$CXXCPP $CPPFLAGS'
22441
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22442
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22443
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22445
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22448
kde_safe_libs=$LIBS
22449
LIBS="$LIBS $X_EXTRA_LIBS"
22450
cat >conftest.$ac_ext <<_ACEOF
22453
cat confdefs.h >>conftest.$ac_ext
22454
cat >>conftest.$ac_ext <<_ACEOF
22455
/* end confdefs.h. */
22458
#include <string.h>
22461
extern "C" unsigned long strlcpy(char*, const char*, unsigned long);
22468
strlcpy(buf, "KDE function test", sizeof(buf));
22475
rm -f conftest.$ac_objext conftest$ac_exeext
22476
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22477
(eval $ac_link) 2>conftest.er1
22479
grep -v '^ *+' conftest.er1 >conftest.err
22481
cat conftest.err >&5
22482
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22483
(exit $ac_status); } &&
22484
{ ac_try='test -z "$ac_cxx_werror_flag"
22485
|| test ! -s conftest.err'
22486
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22487
(eval $ac_try) 2>&5
22489
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22490
(exit $ac_status); }; } &&
22491
{ ac_try='test -s conftest$ac_exeext'
22492
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22493
(eval $ac_try) 2>&5
22495
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22496
(exit $ac_status); }; }; then
22497
kde_cv_func_strlcpy=yes
22498
kde_cv_proto_strlcpy=yes
22500
echo "$as_me: failed program was:" >&5
22501
sed 's/^/| /' conftest.$ac_ext >&5
22503
kde_cv_proto_strlcpy="strlcpy unavailable"
22506
rm -f conftest.err conftest.$ac_objext \
22507
conftest$ac_exeext conftest.$ac_ext
22508
LIBS=$kde_safe_libs
22510
ac_cpp='$CPP $CPPFLAGS'
22511
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22512
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22513
ac_compiler_gnu=$ac_cv_c_compiler_gnu
22519
echo "$as_me:$LINENO: result: $kde_cv_proto_strlcpy" >&5
22520
echo "${ECHO_T}$kde_cv_proto_strlcpy" >&6
22522
if test "x$kde_cv_func_strlcpy" = xyes; then
22524
cat >>confdefs.h <<\_ACEOF
22525
#define HAVE_STRLCPY 1
22530
if test "x$kde_cv_proto_strlcpy" = xno; then
22532
cat >>confdefs.h <<\_ACEOF
22533
#define HAVE_STRLCPY_PROTO 1
22543
echo "$as_me:$LINENO: checking for main in -lutil" >&5
22544
echo $ECHO_N "checking for main in -lutil... $ECHO_C" >&6
22545
if test "${ac_cv_lib_util_main+set}" = set; then
22546
echo $ECHO_N "(cached) $ECHO_C" >&6
22548
ac_check_lib_save_LIBS=$LIBS
22549
LIBS="-lutil $LIBS"
22550
cat >conftest.$ac_ext <<_ACEOF
22553
cat confdefs.h >>conftest.$ac_ext
22554
cat >>conftest.$ac_ext <<_ACEOF
22555
/* end confdefs.h. */
22566
rm -f conftest.$ac_objext conftest$ac_exeext
22567
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22568
(eval $ac_link) 2>conftest.er1
22570
grep -v '^ *+' conftest.er1 >conftest.err
22572
cat conftest.err >&5
22573
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22574
(exit $ac_status); } &&
22575
{ ac_try='test -z "$ac_c_werror_flag"
22576
|| test ! -s conftest.err'
22577
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22578
(eval $ac_try) 2>&5
22580
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22581
(exit $ac_status); }; } &&
22582
{ ac_try='test -s conftest$ac_exeext'
22583
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22584
(eval $ac_try) 2>&5
22586
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22587
(exit $ac_status); }; }; then
22588
ac_cv_lib_util_main=yes
22590
echo "$as_me: failed program was:" >&5
22591
sed 's/^/| /' conftest.$ac_ext >&5
22593
ac_cv_lib_util_main=no
22595
rm -f conftest.err conftest.$ac_objext \
22596
conftest$ac_exeext conftest.$ac_ext
22597
LIBS=$ac_check_lib_save_LIBS
22599
echo "$as_me:$LINENO: result: $ac_cv_lib_util_main" >&5
22600
echo "${ECHO_T}$ac_cv_lib_util_main" >&6
22601
if test $ac_cv_lib_util_main = yes; then
22605
echo "$as_me:$LINENO: checking for main in -lcompat" >&5
22606
echo $ECHO_N "checking for main in -lcompat... $ECHO_C" >&6
22607
if test "${ac_cv_lib_compat_main+set}" = set; then
22608
echo $ECHO_N "(cached) $ECHO_C" >&6
22610
ac_check_lib_save_LIBS=$LIBS
22611
LIBS="-lcompat $LIBS"
22612
cat >conftest.$ac_ext <<_ACEOF
22615
cat confdefs.h >>conftest.$ac_ext
22616
cat >>conftest.$ac_ext <<_ACEOF
22617
/* end confdefs.h. */
22628
rm -f conftest.$ac_objext conftest$ac_exeext
22629
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22630
(eval $ac_link) 2>conftest.er1
22632
grep -v '^ *+' conftest.er1 >conftest.err
22634
cat conftest.err >&5
22635
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22636
(exit $ac_status); } &&
22637
{ ac_try='test -z "$ac_c_werror_flag"
22638
|| test ! -s conftest.err'
22639
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22640
(eval $ac_try) 2>&5
22642
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22643
(exit $ac_status); }; } &&
22644
{ ac_try='test -s conftest$ac_exeext'
22645
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22646
(eval $ac_try) 2>&5
22648
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22649
(exit $ac_status); }; }; then
22650
ac_cv_lib_compat_main=yes
22652
echo "$as_me: failed program was:" >&5
22653
sed 's/^/| /' conftest.$ac_ext >&5
22655
ac_cv_lib_compat_main=no
22657
rm -f conftest.err conftest.$ac_objext \
22658
conftest$ac_exeext conftest.$ac_ext
22659
LIBS=$ac_check_lib_save_LIBS
22661
echo "$as_me:$LINENO: result: $ac_cv_lib_compat_main" >&5
22662
echo "${ECHO_T}$ac_cv_lib_compat_main" >&6
22663
if test $ac_cv_lib_compat_main = yes; then
22664
LIBCOMPAT="-lcompat"
22668
echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5
22669
echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6
22670
if test "${ac_cv_lib_crypt_crypt+set}" = set; then
22671
echo $ECHO_N "(cached) $ECHO_C" >&6
22673
ac_check_lib_save_LIBS=$LIBS
22674
LIBS="-lcrypt $LIBS"
22675
cat >conftest.$ac_ext <<_ACEOF
22678
cat confdefs.h >>conftest.$ac_ext
22679
cat >>conftest.$ac_ext <<_ACEOF
22680
/* end confdefs.h. */
22682
/* Override any gcc2 internal prototype to avoid an error. */
22686
/* We use char because int might match the return type of a gcc2
22687
builtin and then its argument prototype would still apply. */
22697
rm -f conftest.$ac_objext conftest$ac_exeext
22698
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22699
(eval $ac_link) 2>conftest.er1
22701
grep -v '^ *+' conftest.er1 >conftest.err
22703
cat conftest.err >&5
22704
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22705
(exit $ac_status); } &&
22706
{ ac_try='test -z "$ac_c_werror_flag"
22707
|| test ! -s conftest.err'
22708
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22709
(eval $ac_try) 2>&5
22711
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22712
(exit $ac_status); }; } &&
22713
{ ac_try='test -s conftest$ac_exeext'
22714
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22715
(eval $ac_try) 2>&5
22717
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22718
(exit $ac_status); }; }; then
22719
ac_cv_lib_crypt_crypt=yes
22721
echo "$as_me: failed program was:" >&5
22722
sed 's/^/| /' conftest.$ac_ext >&5
22724
ac_cv_lib_crypt_crypt=no
22726
rm -f conftest.err conftest.$ac_objext \
22727
conftest$ac_exeext conftest.$ac_ext
22728
LIBS=$ac_check_lib_save_LIBS
22730
echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
22731
echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6
22732
if test $ac_cv_lib_crypt_crypt = yes; then
22733
LIBCRYPT="-lcrypt"; kde_have_crypt=yes
22735
echo "$as_me:$LINENO: checking for crypt in -lc" >&5
22736
echo $ECHO_N "checking for crypt in -lc... $ECHO_C" >&6
22737
if test "${ac_cv_lib_c_crypt+set}" = set; then
22738
echo $ECHO_N "(cached) $ECHO_C" >&6
22740
ac_check_lib_save_LIBS=$LIBS
22742
cat >conftest.$ac_ext <<_ACEOF
22745
cat confdefs.h >>conftest.$ac_ext
22746
cat >>conftest.$ac_ext <<_ACEOF
22747
/* end confdefs.h. */
22749
/* Override any gcc2 internal prototype to avoid an error. */
22753
/* We use char because int might match the return type of a gcc2
22754
builtin and then its argument prototype would still apply. */
22764
rm -f conftest.$ac_objext conftest$ac_exeext
22765
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22766
(eval $ac_link) 2>conftest.er1
22768
grep -v '^ *+' conftest.er1 >conftest.err
22770
cat conftest.err >&5
22771
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22772
(exit $ac_status); } &&
22773
{ ac_try='test -z "$ac_c_werror_flag"
22774
|| test ! -s conftest.err'
22775
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22776
(eval $ac_try) 2>&5
22778
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22779
(exit $ac_status); }; } &&
22780
{ ac_try='test -s conftest$ac_exeext'
22781
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22782
(eval $ac_try) 2>&5
22784
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22785
(exit $ac_status); }; }; then
22786
ac_cv_lib_c_crypt=yes
22788
echo "$as_me: failed program was:" >&5
22789
sed 's/^/| /' conftest.$ac_ext >&5
22791
ac_cv_lib_c_crypt=no
22793
rm -f conftest.err conftest.$ac_objext \
22794
conftest$ac_exeext conftest.$ac_ext
22795
LIBS=$ac_check_lib_save_LIBS
22797
echo "$as_me:$LINENO: result: $ac_cv_lib_c_crypt" >&5
22798
echo "${ECHO_T}$ac_cv_lib_c_crypt" >&6
22799
if test $ac_cv_lib_c_crypt = yes; then
22803
{ echo "$as_me:$LINENO: WARNING: you have no crypt in either libcrypt or libc.
22804
You should install libcrypt from another source or configure with PAM
22806
echo "$as_me: WARNING: you have no crypt in either libcrypt or libc.
22807
You should install libcrypt from another source or configure with PAM
22816
if test $kde_have_crypt = yes; then
22818
cat >>confdefs.h <<_ACEOF
22819
#define HAVE_CRYPT 1
22824
echo "$as_me:$LINENO: checking for socklen_t" >&5
22825
echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
22826
if test "${kde_cv_socklen_t+set}" = set; then
22827
echo $ECHO_N "(cached) $ECHO_C" >&6
22831
ac_cpp='$CXXCPP $CPPFLAGS'
22832
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22833
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22834
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22836
kde_cv_socklen_t=no
22837
cat >conftest.$ac_ext <<_ACEOF
22840
cat confdefs.h >>conftest.$ac_ext
22841
cat >>conftest.$ac_ext <<_ACEOF
22842
/* end confdefs.h. */
22844
#include <sys/types.h>
22845
#include <sys/socket.h>
22852
getpeername(0,0,&len);
22858
rm -f conftest.$ac_objext
22859
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22860
(eval $ac_compile) 2>conftest.er1
22862
grep -v '^ *+' conftest.er1 >conftest.err
22864
cat conftest.err >&5
22865
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22866
(exit $ac_status); } &&
22867
{ ac_try='test -z "$ac_cxx_werror_flag"
22868
|| test ! -s conftest.err'
22869
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22870
(eval $ac_try) 2>&5
22872
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22873
(exit $ac_status); }; } &&
22874
{ ac_try='test -s conftest.$ac_objext'
22875
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22876
(eval $ac_try) 2>&5
22878
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22879
(exit $ac_status); }; }; then
22881
kde_cv_socklen_t=yes
22882
kde_cv_socklen_t_equiv=socklen_t
22885
echo "$as_me: failed program was:" >&5
22886
sed 's/^/| /' conftest.$ac_ext >&5
22889
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22891
ac_cpp='$CPP $CPPFLAGS'
22892
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22893
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22894
ac_compiler_gnu=$ac_cv_c_compiler_gnu
22899
echo "$as_me:$LINENO: result: $kde_cv_socklen_t" >&5
22900
echo "${ECHO_T}$kde_cv_socklen_t" >&6
22901
if test $kde_cv_socklen_t = no; then
22902
echo "$as_me:$LINENO: checking for socklen_t equivalent for socket functions" >&5
22903
echo $ECHO_N "checking for socklen_t equivalent for socket functions... $ECHO_C" >&6
22904
if test "${kde_cv_socklen_t_equiv+set}" = set; then
22905
echo $ECHO_N "(cached) $ECHO_C" >&6
22908
kde_cv_socklen_t_equiv=int
22910
ac_cpp='$CXXCPP $CPPFLAGS'
22911
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22912
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22913
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22915
for t in int size_t unsigned long "unsigned long"; do
22916
cat >conftest.$ac_ext <<_ACEOF
22919
cat confdefs.h >>conftest.$ac_ext
22920
cat >>conftest.$ac_ext <<_ACEOF
22921
/* end confdefs.h. */
22923
#include <sys/types.h>
22924
#include <sys/socket.h>
22931
getpeername(0,0,&len);
22937
rm -f conftest.$ac_objext
22938
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22939
(eval $ac_compile) 2>conftest.er1
22941
grep -v '^ *+' conftest.er1 >conftest.err
22943
cat conftest.err >&5
22944
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22945
(exit $ac_status); } &&
22946
{ ac_try='test -z "$ac_cxx_werror_flag"
22947
|| test ! -s conftest.err'
22948
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22949
(eval $ac_try) 2>&5
22951
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22952
(exit $ac_status); }; } &&
22953
{ ac_try='test -s conftest.$ac_objext'
22954
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22955
(eval $ac_try) 2>&5
22957
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22958
(exit $ac_status); }; }; then
22960
kde_cv_socklen_t_equiv="$t"
22964
echo "$as_me: failed program was:" >&5
22965
sed 's/^/| /' conftest.$ac_ext >&5
22968
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22971
ac_cpp='$CPP $CPPFLAGS'
22972
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22973
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22974
ac_compiler_gnu=$ac_cv_c_compiler_gnu
22979
echo "$as_me:$LINENO: result: $kde_cv_socklen_t_equiv" >&5
22980
echo "${ECHO_T}$kde_cv_socklen_t_equiv" >&6
22983
cat >>confdefs.h <<_ACEOF
22984
#define kde_socklen_t $kde_cv_socklen_t_equiv
22988
cat >>confdefs.h <<_ACEOF
22989
#define ksize_t $kde_cv_socklen_t_equiv
22993
echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
22994
echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
22995
if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
22996
echo $ECHO_N "(cached) $ECHO_C" >&6
22998
ac_check_lib_save_LIBS=$LIBS
22999
LIBS="-ldnet $LIBS"
23000
cat >conftest.$ac_ext <<_ACEOF
23003
cat confdefs.h >>conftest.$ac_ext
23004
cat >>conftest.$ac_ext <<_ACEOF
23005
/* end confdefs.h. */
23007
/* Override any gcc2 internal prototype to avoid an error. */
23011
/* We use char because int might match the return type of a gcc2
23012
builtin and then its argument prototype would still apply. */
23022
rm -f conftest.$ac_objext conftest$ac_exeext
23023
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23024
(eval $ac_link) 2>conftest.er1
23026
grep -v '^ *+' conftest.er1 >conftest.err
23028
cat conftest.err >&5
23029
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23030
(exit $ac_status); } &&
23031
{ ac_try='test -z "$ac_c_werror_flag"
23032
|| test ! -s conftest.err'
23033
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23034
(eval $ac_try) 2>&5
23036
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23037
(exit $ac_status); }; } &&
23038
{ ac_try='test -s conftest$ac_exeext'
23039
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23040
(eval $ac_try) 2>&5
23042
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23043
(exit $ac_status); }; }; then
23044
ac_cv_lib_dnet_dnet_ntoa=yes
23046
echo "$as_me: failed program was:" >&5
23047
sed 's/^/| /' conftest.$ac_ext >&5
23049
ac_cv_lib_dnet_dnet_ntoa=no
23051
rm -f conftest.err conftest.$ac_objext \
23052
conftest$ac_exeext conftest.$ac_ext
23053
LIBS=$ac_check_lib_save_LIBS
23055
echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
23056
echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
23057
if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
23058
X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
23061
if test $ac_cv_lib_dnet_dnet_ntoa = no; then
23062
echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
23063
echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
23064
if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
23065
echo $ECHO_N "(cached) $ECHO_C" >&6
23067
ac_check_lib_save_LIBS=$LIBS
23068
LIBS="-ldnet_stub $LIBS"
23069
cat >conftest.$ac_ext <<_ACEOF
23072
cat confdefs.h >>conftest.$ac_ext
23073
cat >>conftest.$ac_ext <<_ACEOF
23074
/* end confdefs.h. */
23076
/* Override any gcc2 internal prototype to avoid an error. */
23080
/* We use char because int might match the return type of a gcc2
23081
builtin and then its argument prototype would still apply. */
23091
rm -f conftest.$ac_objext conftest$ac_exeext
23092
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23093
(eval $ac_link) 2>conftest.er1
23095
grep -v '^ *+' conftest.er1 >conftest.err
23097
cat conftest.err >&5
23098
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23099
(exit $ac_status); } &&
23100
{ ac_try='test -z "$ac_c_werror_flag"
23101
|| test ! -s conftest.err'
23102
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23103
(eval $ac_try) 2>&5
23105
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23106
(exit $ac_status); }; } &&
23107
{ ac_try='test -s conftest$ac_exeext'
23108
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23109
(eval $ac_try) 2>&5
23111
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23112
(exit $ac_status); }; }; then
23113
ac_cv_lib_dnet_stub_dnet_ntoa=yes
23115
echo "$as_me: failed program was:" >&5
23116
sed 's/^/| /' conftest.$ac_ext >&5
23118
ac_cv_lib_dnet_stub_dnet_ntoa=no
23120
rm -f conftest.err conftest.$ac_objext \
23121
conftest$ac_exeext conftest.$ac_ext
23122
LIBS=$ac_check_lib_save_LIBS
23124
echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23125
echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
23126
if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
23127
X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
23131
echo "$as_me:$LINENO: checking for inet_ntoa" >&5
23132
echo $ECHO_N "checking for inet_ntoa... $ECHO_C" >&6
23133
if test "${ac_cv_func_inet_ntoa+set}" = set; then
23134
echo $ECHO_N "(cached) $ECHO_C" >&6
23136
cat >conftest.$ac_ext <<_ACEOF
23139
cat confdefs.h >>conftest.$ac_ext
23140
cat >>conftest.$ac_ext <<_ACEOF
23141
/* end confdefs.h. */
23142
/* Define inet_ntoa to an innocuous variant, in case <limits.h> declares inet_ntoa.
23143
For example, HP-UX 11i <limits.h> declares gettimeofday. */
23144
#define inet_ntoa innocuous_inet_ntoa
23146
/* System header to define __stub macros and hopefully few prototypes,
23147
which can conflict with char inet_ntoa (); below.
23148
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23149
<limits.h> exists even on freestanding compilers. */
23152
# include <limits.h>
23154
# include <assert.h>
23159
/* Override any gcc2 internal prototype to avoid an error. */
23164
/* We use char because int might match the return type of a gcc2
23165
builtin and then its argument prototype would still apply. */
23167
/* The GNU C library defines this for functions which it implements
23168
to always fail with ENOSYS. Some functions are actually named
23169
something starting with __ and the normal name is an alias. */
23170
#if defined (__stub_inet_ntoa) || defined (__stub___inet_ntoa)
23173
char (*f) () = inet_ntoa;
23182
return f != inet_ntoa;
23187
rm -f conftest.$ac_objext conftest$ac_exeext
23188
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23189
(eval $ac_link) 2>conftest.er1
23191
grep -v '^ *+' conftest.er1 >conftest.err
23193
cat conftest.err >&5
23194
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23195
(exit $ac_status); } &&
23196
{ ac_try='test -z "$ac_c_werror_flag"
23197
|| test ! -s conftest.err'
23198
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23199
(eval $ac_try) 2>&5
23201
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23202
(exit $ac_status); }; } &&
23203
{ ac_try='test -s conftest$ac_exeext'
23204
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23205
(eval $ac_try) 2>&5
23207
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23208
(exit $ac_status); }; }; then
23209
ac_cv_func_inet_ntoa=yes
23211
echo "$as_me: failed program was:" >&5
23212
sed 's/^/| /' conftest.$ac_ext >&5
23214
ac_cv_func_inet_ntoa=no
23216
rm -f conftest.err conftest.$ac_objext \
23217
conftest$ac_exeext conftest.$ac_ext
23219
echo "$as_me:$LINENO: result: $ac_cv_func_inet_ntoa" >&5
23220
echo "${ECHO_T}$ac_cv_func_inet_ntoa" >&6
23222
if test $ac_cv_func_inet_ntoa = no; then
23223
echo "$as_me:$LINENO: checking for inet_ntoa in -lnsl" >&5
23224
echo $ECHO_N "checking for inet_ntoa in -lnsl... $ECHO_C" >&6
23225
if test "${ac_cv_lib_nsl_inet_ntoa+set}" = set; then
23226
echo $ECHO_N "(cached) $ECHO_C" >&6
23228
ac_check_lib_save_LIBS=$LIBS
23230
cat >conftest.$ac_ext <<_ACEOF
23233
cat confdefs.h >>conftest.$ac_ext
23234
cat >>conftest.$ac_ext <<_ACEOF
23235
/* end confdefs.h. */
23237
/* Override any gcc2 internal prototype to avoid an error. */
23241
/* We use char because int might match the return type of a gcc2
23242
builtin and then its argument prototype would still apply. */
23252
rm -f conftest.$ac_objext conftest$ac_exeext
23253
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23254
(eval $ac_link) 2>conftest.er1
23256
grep -v '^ *+' conftest.er1 >conftest.err
23258
cat conftest.err >&5
23259
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23260
(exit $ac_status); } &&
23261
{ ac_try='test -z "$ac_c_werror_flag"
23262
|| test ! -s conftest.err'
23263
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23264
(eval $ac_try) 2>&5
23266
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23267
(exit $ac_status); }; } &&
23268
{ ac_try='test -s conftest$ac_exeext'
23269
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23270
(eval $ac_try) 2>&5
23272
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23273
(exit $ac_status); }; }; then
23274
ac_cv_lib_nsl_inet_ntoa=yes
23276
echo "$as_me: failed program was:" >&5
23277
sed 's/^/| /' conftest.$ac_ext >&5
23279
ac_cv_lib_nsl_inet_ntoa=no
23281
rm -f conftest.err conftest.$ac_objext \
23282
conftest$ac_exeext conftest.$ac_ext
23283
LIBS=$ac_check_lib_save_LIBS
23285
echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_ntoa" >&5
23286
echo "${ECHO_T}$ac_cv_lib_nsl_inet_ntoa" >&6
23287
if test $ac_cv_lib_nsl_inet_ntoa = yes; then
23288
X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
23292
echo "$as_me:$LINENO: checking for connect" >&5
23293
echo $ECHO_N "checking for connect... $ECHO_C" >&6
23294
if test "${ac_cv_func_connect+set}" = set; then
23295
echo $ECHO_N "(cached) $ECHO_C" >&6
23297
cat >conftest.$ac_ext <<_ACEOF
23300
cat confdefs.h >>conftest.$ac_ext
23301
cat >>conftest.$ac_ext <<_ACEOF
23302
/* end confdefs.h. */
23303
/* Define connect to an innocuous variant, in case <limits.h> declares connect.
23304
For example, HP-UX 11i <limits.h> declares gettimeofday. */
23305
#define connect innocuous_connect
23307
/* System header to define __stub macros and hopefully few prototypes,
23308
which can conflict with char connect (); below.
23309
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23310
<limits.h> exists even on freestanding compilers. */
23313
# include <limits.h>
23315
# include <assert.h>
23320
/* Override any gcc2 internal prototype to avoid an error. */
23325
/* We use char because int might match the return type of a gcc2
23326
builtin and then its argument prototype would still apply. */
23328
/* The GNU C library defines this for functions which it implements
23329
to always fail with ENOSYS. Some functions are actually named
23330
something starting with __ and the normal name is an alias. */
23331
#if defined (__stub_connect) || defined (__stub___connect)
23334
char (*f) () = connect;
23343
return f != connect;
23348
rm -f conftest.$ac_objext conftest$ac_exeext
23349
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23350
(eval $ac_link) 2>conftest.er1
23352
grep -v '^ *+' conftest.er1 >conftest.err
23354
cat conftest.err >&5
23355
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23356
(exit $ac_status); } &&
23357
{ ac_try='test -z "$ac_c_werror_flag"
23358
|| test ! -s conftest.err'
23359
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23360
(eval $ac_try) 2>&5
23362
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23363
(exit $ac_status); }; } &&
23364
{ ac_try='test -s conftest$ac_exeext'
23365
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23366
(eval $ac_try) 2>&5
23368
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23369
(exit $ac_status); }; }; then
23370
ac_cv_func_connect=yes
23372
echo "$as_me: failed program was:" >&5
23373
sed 's/^/| /' conftest.$ac_ext >&5
23375
ac_cv_func_connect=no
23377
rm -f conftest.err conftest.$ac_objext \
23378
conftest$ac_exeext conftest.$ac_ext
23380
echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
23381
echo "${ECHO_T}$ac_cv_func_connect" >&6
23383
if test $ac_cv_func_connect = no; then
23384
echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
23385
echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
23386
if test "${ac_cv_lib_socket_connect+set}" = set; then
23387
echo $ECHO_N "(cached) $ECHO_C" >&6
23389
ac_check_lib_save_LIBS=$LIBS
23390
LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
23391
cat >conftest.$ac_ext <<_ACEOF
23394
cat confdefs.h >>conftest.$ac_ext
23395
cat >>conftest.$ac_ext <<_ACEOF
23396
/* end confdefs.h. */
23398
/* Override any gcc2 internal prototype to avoid an error. */
23402
/* We use char because int might match the return type of a gcc2
23403
builtin and then its argument prototype would still apply. */
23413
rm -f conftest.$ac_objext conftest$ac_exeext
23414
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23415
(eval $ac_link) 2>conftest.er1
23417
grep -v '^ *+' conftest.er1 >conftest.err
23419
cat conftest.err >&5
23420
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23421
(exit $ac_status); } &&
23422
{ ac_try='test -z "$ac_c_werror_flag"
23423
|| test ! -s conftest.err'
23424
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23425
(eval $ac_try) 2>&5
23427
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23428
(exit $ac_status); }; } &&
23429
{ ac_try='test -s conftest$ac_exeext'
23430
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23431
(eval $ac_try) 2>&5
23433
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23434
(exit $ac_status); }; }; then
23435
ac_cv_lib_socket_connect=yes
23437
echo "$as_me: failed program was:" >&5
23438
sed 's/^/| /' conftest.$ac_ext >&5
23440
ac_cv_lib_socket_connect=no
23442
rm -f conftest.err conftest.$ac_objext \
23443
conftest$ac_exeext conftest.$ac_ext
23444
LIBS=$ac_check_lib_save_LIBS
23446
echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
23447
echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
23448
if test $ac_cv_lib_socket_connect = yes; then
23449
X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
23454
echo "$as_me:$LINENO: checking for remove" >&5
23455
echo $ECHO_N "checking for remove... $ECHO_C" >&6
23456
if test "${ac_cv_func_remove+set}" = set; then
23457
echo $ECHO_N "(cached) $ECHO_C" >&6
23459
cat >conftest.$ac_ext <<_ACEOF
23462
cat confdefs.h >>conftest.$ac_ext
23463
cat >>conftest.$ac_ext <<_ACEOF
23464
/* end confdefs.h. */
23465
/* Define remove to an innocuous variant, in case <limits.h> declares remove.
23466
For example, HP-UX 11i <limits.h> declares gettimeofday. */
23467
#define remove innocuous_remove
23469
/* System header to define __stub macros and hopefully few prototypes,
23470
which can conflict with char remove (); below.
23471
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23472
<limits.h> exists even on freestanding compilers. */
23475
# include <limits.h>
23477
# include <assert.h>
23482
/* Override any gcc2 internal prototype to avoid an error. */
23487
/* We use char because int might match the return type of a gcc2
23488
builtin and then its argument prototype would still apply. */
23490
/* The GNU C library defines this for functions which it implements
23491
to always fail with ENOSYS. Some functions are actually named
23492
something starting with __ and the normal name is an alias. */
23493
#if defined (__stub_remove) || defined (__stub___remove)
23496
char (*f) () = remove;
23505
return f != remove;
23510
rm -f conftest.$ac_objext conftest$ac_exeext
23511
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23512
(eval $ac_link) 2>conftest.er1
23514
grep -v '^ *+' conftest.er1 >conftest.err
23516
cat conftest.err >&5
23517
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23518
(exit $ac_status); } &&
23519
{ ac_try='test -z "$ac_c_werror_flag"
23520
|| test ! -s conftest.err'
23521
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23522
(eval $ac_try) 2>&5
23524
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23525
(exit $ac_status); }; } &&
23526
{ ac_try='test -s conftest$ac_exeext'
23527
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23528
(eval $ac_try) 2>&5
23530
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23531
(exit $ac_status); }; }; then
23532
ac_cv_func_remove=yes
23534
echo "$as_me: failed program was:" >&5
23535
sed 's/^/| /' conftest.$ac_ext >&5
23537
ac_cv_func_remove=no
23539
rm -f conftest.err conftest.$ac_objext \
23540
conftest$ac_exeext conftest.$ac_ext
23542
echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
23543
echo "${ECHO_T}$ac_cv_func_remove" >&6
23545
if test $ac_cv_func_remove = no; then
23546
echo "$as_me:$LINENO: checking for remove in -lposix" >&5
23547
echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
23548
if test "${ac_cv_lib_posix_remove+set}" = set; then
23549
echo $ECHO_N "(cached) $ECHO_C" >&6
23551
ac_check_lib_save_LIBS=$LIBS
23552
LIBS="-lposix $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 gcc2 internal prototype to avoid an error. */
23564
/* We use char because int might match the return type of a gcc2
23565
builtin and then its argument prototype would still apply. */
23575
rm -f conftest.$ac_objext conftest$ac_exeext
23576
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23577
(eval $ac_link) 2>conftest.er1
23579
grep -v '^ *+' conftest.er1 >conftest.err
23581
cat conftest.err >&5
23582
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23583
(exit $ac_status); } &&
23584
{ ac_try='test -z "$ac_c_werror_flag"
23585
|| test ! -s conftest.err'
23586
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23587
(eval $ac_try) 2>&5
23589
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23590
(exit $ac_status); }; } &&
23591
{ ac_try='test -s conftest$ac_exeext'
23592
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23593
(eval $ac_try) 2>&5
23595
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23596
(exit $ac_status); }; }; then
23597
ac_cv_lib_posix_remove=yes
23599
echo "$as_me: failed program was:" >&5
23600
sed 's/^/| /' conftest.$ac_ext >&5
23602
ac_cv_lib_posix_remove=no
23604
rm -f conftest.err conftest.$ac_objext \
23605
conftest$ac_exeext conftest.$ac_ext
23606
LIBS=$ac_check_lib_save_LIBS
23608
echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
23609
echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
23610
if test $ac_cv_lib_posix_remove = yes; then
23611
X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
23616
# BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
23617
echo "$as_me:$LINENO: checking for shmat" >&5
23618
echo $ECHO_N "checking for shmat... $ECHO_C" >&6
23619
if test "${ac_cv_func_shmat+set}" = set; then
23620
echo $ECHO_N "(cached) $ECHO_C" >&6
23622
cat >conftest.$ac_ext <<_ACEOF
23625
cat confdefs.h >>conftest.$ac_ext
23626
cat >>conftest.$ac_ext <<_ACEOF
23627
/* end confdefs.h. */
23628
/* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
23629
For example, HP-UX 11i <limits.h> declares gettimeofday. */
23630
#define shmat innocuous_shmat
23632
/* System header to define __stub macros and hopefully few prototypes,
23633
which can conflict with char shmat (); below.
23634
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23635
<limits.h> exists even on freestanding compilers. */
23638
# include <limits.h>
23640
# include <assert.h>
23645
/* Override any gcc2 internal prototype to avoid an error. */
23650
/* We use char because int might match the return type of a gcc2
23651
builtin and then its argument prototype would still apply. */
23653
/* The GNU C library defines this for functions which it implements
23654
to always fail with ENOSYS. Some functions are actually named
23655
something starting with __ and the normal name is an alias. */
23656
#if defined (__stub_shmat) || defined (__stub___shmat)
23659
char (*f) () = shmat;
23673
rm -f conftest.$ac_objext conftest$ac_exeext
23674
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23675
(eval $ac_link) 2>conftest.er1
23677
grep -v '^ *+' conftest.er1 >conftest.err
23679
cat conftest.err >&5
23680
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23681
(exit $ac_status); } &&
23682
{ ac_try='test -z "$ac_c_werror_flag"
23683
|| test ! -s conftest.err'
23684
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23685
(eval $ac_try) 2>&5
23687
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23688
(exit $ac_status); }; } &&
23689
{ ac_try='test -s conftest$ac_exeext'
23690
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23691
(eval $ac_try) 2>&5
23693
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23694
(exit $ac_status); }; }; then
23695
ac_cv_func_shmat=yes
23697
echo "$as_me: failed program was:" >&5
23698
sed 's/^/| /' conftest.$ac_ext >&5
23700
ac_cv_func_shmat=no
23702
rm -f conftest.err conftest.$ac_objext \
23703
conftest$ac_exeext conftest.$ac_ext
23705
echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
23706
echo "${ECHO_T}$ac_cv_func_shmat" >&6
23707
if test $ac_cv_func_shmat = yes; then
23710
echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
23711
echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
23712
if test "${ac_cv_lib_ipc_shmat+set}" = set; then
23713
echo $ECHO_N "(cached) $ECHO_C" >&6
23715
ac_check_lib_save_LIBS=$LIBS
23717
cat >conftest.$ac_ext <<_ACEOF
23720
cat confdefs.h >>conftest.$ac_ext
23721
cat >>conftest.$ac_ext <<_ACEOF
23722
/* end confdefs.h. */
23724
/* Override any gcc2 internal prototype to avoid an error. */
23728
/* We use char because int might match the return type of a gcc2
23729
builtin and then its argument prototype would still apply. */
23739
rm -f conftest.$ac_objext conftest$ac_exeext
23740
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23741
(eval $ac_link) 2>conftest.er1
23743
grep -v '^ *+' conftest.er1 >conftest.err
23745
cat conftest.err >&5
23746
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23747
(exit $ac_status); } &&
23748
{ ac_try='test -z "$ac_c_werror_flag"
23749
|| test ! -s conftest.err'
23750
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23751
(eval $ac_try) 2>&5
23753
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23754
(exit $ac_status); }; } &&
23755
{ ac_try='test -s conftest$ac_exeext'
23756
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23757
(eval $ac_try) 2>&5
23759
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23760
(exit $ac_status); }; }; then
23761
ac_cv_lib_ipc_shmat=yes
23763
echo "$as_me: failed program was:" >&5
23764
sed 's/^/| /' conftest.$ac_ext >&5
23766
ac_cv_lib_ipc_shmat=no
23768
rm -f conftest.err conftest.$ac_objext \
23769
conftest$ac_exeext conftest.$ac_ext
23770
LIBS=$ac_check_lib_save_LIBS
23772
echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
23773
echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
23774
if test $ac_cv_lib_ipc_shmat = yes; then
23775
X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
23781
# more headers that need to be explicitly included on darwin
23784
for ac_header in sys/types.h stdint.h
23786
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23787
if eval "test \"\${$as_ac_Header+set}\" = set"; then
23788
echo "$as_me:$LINENO: checking for $ac_header" >&5
23789
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23790
if eval "test \"\${$as_ac_Header+set}\" = set"; then
23791
echo $ECHO_N "(cached) $ECHO_C" >&6
23793
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23794
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23796
# Is the header compilable?
23797
echo "$as_me:$LINENO: checking $ac_header usability" >&5
23798
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
23799
cat >conftest.$ac_ext <<_ACEOF
23802
cat confdefs.h >>conftest.$ac_ext
23803
cat >>conftest.$ac_ext <<_ACEOF
23804
/* end confdefs.h. */
23805
$ac_includes_default
23806
#include <$ac_header>
23808
rm -f conftest.$ac_objext
23809
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23810
(eval $ac_compile) 2>conftest.er1
23812
grep -v '^ *+' conftest.er1 >conftest.err
23814
cat conftest.err >&5
23815
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23816
(exit $ac_status); } &&
23817
{ ac_try='test -z "$ac_c_werror_flag"
23818
|| test ! -s conftest.err'
23819
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23820
(eval $ac_try) 2>&5
23822
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23823
(exit $ac_status); }; } &&
23824
{ ac_try='test -s conftest.$ac_objext'
23825
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23826
(eval $ac_try) 2>&5
23828
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23829
(exit $ac_status); }; }; then
23830
ac_header_compiler=yes
23832
echo "$as_me: failed program was:" >&5
23833
sed 's/^/| /' conftest.$ac_ext >&5
23835
ac_header_compiler=no
23837
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23838
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23839
echo "${ECHO_T}$ac_header_compiler" >&6
23841
# Is the header present?
23842
echo "$as_me:$LINENO: checking $ac_header presence" >&5
23843
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
23844
cat >conftest.$ac_ext <<_ACEOF
23847
cat confdefs.h >>conftest.$ac_ext
23848
cat >>conftest.$ac_ext <<_ACEOF
23849
/* end confdefs.h. */
23850
#include <$ac_header>
23852
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23853
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23855
grep -v '^ *+' conftest.er1 >conftest.err
23857
cat conftest.err >&5
23858
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23859
(exit $ac_status); } >/dev/null; then
23860
if test -s conftest.err; then
23861
ac_cpp_err=$ac_c_preproc_warn_flag
23862
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23869
if test -z "$ac_cpp_err"; then
23870
ac_header_preproc=yes
23872
echo "$as_me: failed program was:" >&5
23873
sed 's/^/| /' conftest.$ac_ext >&5
23875
ac_header_preproc=no
23877
rm -f conftest.err conftest.$ac_ext
23878
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23879
echo "${ECHO_T}$ac_header_preproc" >&6
23881
# So? What about this header?
23882
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23884
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23885
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23886
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23887
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23888
ac_header_preproc=yes
23891
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23892
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23893
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23894
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23895
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23896
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23897
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23898
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23899
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23900
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23901
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23902
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23905
## ------------------------------------------ ##
23906
## Report this to the AC_PACKAGE_NAME lists. ##
23907
## ------------------------------------------ ##
23910
sed "s/^/$as_me: WARNING: /" >&2
23913
echo "$as_me:$LINENO: checking for $ac_header" >&5
23914
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23915
if eval "test \"\${$as_ac_Header+set}\" = set"; then
23916
echo $ECHO_N "(cached) $ECHO_C" >&6
23918
eval "$as_ac_Header=\$ac_header_preproc"
23920
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23921
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23924
if test `eval echo '${'$as_ac_Header'}'` = yes; then
23925
cat >>confdefs.h <<_ACEOF
23926
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23934
# sys/bitypes.h is needed for uint32_t and friends on Tru64
23936
for ac_header in sys/bitypes.h
23938
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23939
if eval "test \"\${$as_ac_Header+set}\" = set"; then
23940
echo "$as_me:$LINENO: checking for $ac_header" >&5
23941
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23942
if eval "test \"\${$as_ac_Header+set}\" = set"; then
23943
echo $ECHO_N "(cached) $ECHO_C" >&6
23945
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23946
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23948
# Is the header compilable?
23949
echo "$as_me:$LINENO: checking $ac_header usability" >&5
23950
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
23951
cat >conftest.$ac_ext <<_ACEOF
23954
cat confdefs.h >>conftest.$ac_ext
23955
cat >>conftest.$ac_ext <<_ACEOF
23956
/* end confdefs.h. */
23957
$ac_includes_default
23958
#include <$ac_header>
23960
rm -f conftest.$ac_objext
23961
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23962
(eval $ac_compile) 2>conftest.er1
23964
grep -v '^ *+' conftest.er1 >conftest.err
23966
cat conftest.err >&5
23967
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23968
(exit $ac_status); } &&
23969
{ ac_try='test -z "$ac_c_werror_flag"
23970
|| test ! -s conftest.err'
23971
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23972
(eval $ac_try) 2>&5
23974
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23975
(exit $ac_status); }; } &&
23976
{ ac_try='test -s conftest.$ac_objext'
23977
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23978
(eval $ac_try) 2>&5
23980
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23981
(exit $ac_status); }; }; then
23982
ac_header_compiler=yes
23984
echo "$as_me: failed program was:" >&5
23985
sed 's/^/| /' conftest.$ac_ext >&5
23987
ac_header_compiler=no
23989
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23990
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23991
echo "${ECHO_T}$ac_header_compiler" >&6
23993
# Is the header present?
23994
echo "$as_me:$LINENO: checking $ac_header presence" >&5
23995
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
23996
cat >conftest.$ac_ext <<_ACEOF
23999
cat confdefs.h >>conftest.$ac_ext
24000
cat >>conftest.$ac_ext <<_ACEOF
24001
/* end confdefs.h. */
24002
#include <$ac_header>
24004
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24005
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24007
grep -v '^ *+' conftest.er1 >conftest.err
24009
cat conftest.err >&5
24010
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24011
(exit $ac_status); } >/dev/null; then
24012
if test -s conftest.err; then
24013
ac_cpp_err=$ac_c_preproc_warn_flag
24014
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
24021
if test -z "$ac_cpp_err"; then
24022
ac_header_preproc=yes
24024
echo "$as_me: failed program was:" >&5
24025
sed 's/^/| /' conftest.$ac_ext >&5
24027
ac_header_preproc=no
24029
rm -f conftest.err conftest.$ac_ext
24030
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24031
echo "${ECHO_T}$ac_header_preproc" >&6
24033
# So? What about this header?
24034
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24036
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24037
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24038
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24039
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24040
ac_header_preproc=yes
24043
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24044
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24045
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24046
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24047
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24048
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24049
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
24050
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
24051
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24052
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24053
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24054
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24057
## ------------------------------------------ ##
24058
## Report this to the AC_PACKAGE_NAME lists. ##
24059
## ------------------------------------------ ##
24062
sed "s/^/$as_me: WARNING: /" >&2
24065
echo "$as_me:$LINENO: checking for $ac_header" >&5
24066
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24067
if eval "test \"\${$as_ac_Header+set}\" = set"; then
24068
echo $ECHO_N "(cached) $ECHO_C" >&6
24070
eval "$as_ac_Header=\$ac_header_preproc"
24072
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24073
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24076
if test `eval echo '${'$as_ac_Header'}'` = yes; then
24077
cat >>confdefs.h <<_ACEOF
24078
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24086
# darwin requires a poll emulation library
24087
echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
24088
echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6
24089
if test "${ac_cv_lib_poll_poll+set}" = set; then
24090
echo $ECHO_N "(cached) $ECHO_C" >&6
24092
ac_check_lib_save_LIBS=$LIBS
24093
LIBS="-lpoll $LIBS"
24094
cat >conftest.$ac_ext <<_ACEOF
24097
cat confdefs.h >>conftest.$ac_ext
24098
cat >>conftest.$ac_ext <<_ACEOF
24099
/* end confdefs.h. */
24101
/* Override any gcc2 internal prototype to avoid an error. */
24105
/* We use char because int might match the return type of a gcc2
24106
builtin and then its argument prototype would still apply. */
24116
rm -f conftest.$ac_objext conftest$ac_exeext
24117
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24118
(eval $ac_link) 2>conftest.er1
24120
grep -v '^ *+' conftest.er1 >conftest.err
24122
cat conftest.err >&5
24123
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24124
(exit $ac_status); } &&
24125
{ ac_try='test -z "$ac_c_werror_flag"
24126
|| test ! -s conftest.err'
24127
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24128
(eval $ac_try) 2>&5
24130
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24131
(exit $ac_status); }; } &&
24132
{ ac_try='test -s conftest$ac_exeext'
24133
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24134
(eval $ac_try) 2>&5
24136
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24137
(exit $ac_status); }; }; then
24138
ac_cv_lib_poll_poll=yes
24140
echo "$as_me: failed program was:" >&5
24141
sed 's/^/| /' conftest.$ac_ext >&5
24143
ac_cv_lib_poll_poll=no
24145
rm -f conftest.err conftest.$ac_objext \
24146
conftest$ac_exeext conftest.$ac_ext
24147
LIBS=$ac_check_lib_save_LIBS
24149
echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
24150
echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6
24151
if test $ac_cv_lib_poll_poll = yes; then
24156
# for some image handling on Mac OS X
24158
for ac_header in Carbon/Carbon.h
24160
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24161
if eval "test \"\${$as_ac_Header+set}\" = set"; then
24162
echo "$as_me:$LINENO: checking for $ac_header" >&5
24163
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24164
if eval "test \"\${$as_ac_Header+set}\" = set"; then
24165
echo $ECHO_N "(cached) $ECHO_C" >&6
24167
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24168
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24170
# Is the header compilable?
24171
echo "$as_me:$LINENO: checking $ac_header usability" >&5
24172
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
24173
cat >conftest.$ac_ext <<_ACEOF
24176
cat confdefs.h >>conftest.$ac_ext
24177
cat >>conftest.$ac_ext <<_ACEOF
24178
/* end confdefs.h. */
24179
$ac_includes_default
24180
#include <$ac_header>
24182
rm -f conftest.$ac_objext
24183
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24184
(eval $ac_compile) 2>conftest.er1
24186
grep -v '^ *+' conftest.er1 >conftest.err
24188
cat conftest.err >&5
24189
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24190
(exit $ac_status); } &&
24191
{ ac_try='test -z "$ac_c_werror_flag"
24192
|| test ! -s conftest.err'
24193
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24194
(eval $ac_try) 2>&5
24196
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24197
(exit $ac_status); }; } &&
24198
{ ac_try='test -s conftest.$ac_objext'
24199
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24200
(eval $ac_try) 2>&5
24202
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24203
(exit $ac_status); }; }; then
24204
ac_header_compiler=yes
24206
echo "$as_me: failed program was:" >&5
24207
sed 's/^/| /' conftest.$ac_ext >&5
24209
ac_header_compiler=no
24211
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24212
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24213
echo "${ECHO_T}$ac_header_compiler" >&6
24215
# Is the header present?
24216
echo "$as_me:$LINENO: checking $ac_header presence" >&5
24217
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
24218
cat >conftest.$ac_ext <<_ACEOF
24221
cat confdefs.h >>conftest.$ac_ext
24222
cat >>conftest.$ac_ext <<_ACEOF
24223
/* end confdefs.h. */
24224
#include <$ac_header>
24226
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24227
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24229
grep -v '^ *+' conftest.er1 >conftest.err
24231
cat conftest.err >&5
24232
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24233
(exit $ac_status); } >/dev/null; then
24234
if test -s conftest.err; then
24235
ac_cpp_err=$ac_c_preproc_warn_flag
24236
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
24243
if test -z "$ac_cpp_err"; then
24244
ac_header_preproc=yes
24246
echo "$as_me: failed program was:" >&5
24247
sed 's/^/| /' conftest.$ac_ext >&5
24249
ac_header_preproc=no
24251
rm -f conftest.err conftest.$ac_ext
24252
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24253
echo "${ECHO_T}$ac_header_preproc" >&6
24255
# So? What about this header?
24256
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24258
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24259
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24260
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24261
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24262
ac_header_preproc=yes
24265
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24266
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24267
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24268
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24269
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24270
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24271
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
24272
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
24273
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24274
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24275
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24276
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24279
## ------------------------------------------ ##
24280
## Report this to the AC_PACKAGE_NAME lists. ##
24281
## ------------------------------------------ ##
24284
sed "s/^/$as_me: WARNING: /" >&2
24287
echo "$as_me:$LINENO: checking for $ac_header" >&5
24288
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24289
if eval "test \"\${$as_ac_Header+set}\" = set"; then
24290
echo $ECHO_N "(cached) $ECHO_C" >&6
24292
eval "$as_ac_Header=\$ac_header_preproc"
24294
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24295
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24298
if test `eval echo '${'$as_ac_Header'}'` = yes; then
24299
cat >>confdefs.h <<_ACEOF
24300
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24308
# CoreAudio framework
24309
if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
24310
echo "$as_me:$LINENO: checking for CoreAudio/CoreAudio.h" >&5
24311
echo $ECHO_N "checking for CoreAudio/CoreAudio.h... $ECHO_C" >&6
24312
if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
24313
echo $ECHO_N "(cached) $ECHO_C" >&6
24315
echo "$as_me:$LINENO: result: $ac_cv_header_CoreAudio_CoreAudio_h" >&5
24316
echo "${ECHO_T}$ac_cv_header_CoreAudio_CoreAudio_h" >&6
24318
# Is the header compilable?
24319
echo "$as_me:$LINENO: checking CoreAudio/CoreAudio.h usability" >&5
24320
echo $ECHO_N "checking CoreAudio/CoreAudio.h usability... $ECHO_C" >&6
24321
cat >conftest.$ac_ext <<_ACEOF
24324
cat confdefs.h >>conftest.$ac_ext
24325
cat >>conftest.$ac_ext <<_ACEOF
24326
/* end confdefs.h. */
24327
$ac_includes_default
24328
#include <CoreAudio/CoreAudio.h>
24330
rm -f conftest.$ac_objext
24331
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24332
(eval $ac_compile) 2>conftest.er1
24334
grep -v '^ *+' conftest.er1 >conftest.err
24336
cat conftest.err >&5
24337
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24338
(exit $ac_status); } &&
24339
{ ac_try='test -z "$ac_c_werror_flag"
24340
|| test ! -s conftest.err'
24341
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24342
(eval $ac_try) 2>&5
24344
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24345
(exit $ac_status); }; } &&
24346
{ ac_try='test -s conftest.$ac_objext'
24347
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24348
(eval $ac_try) 2>&5
24350
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24351
(exit $ac_status); }; }; then
24352
ac_header_compiler=yes
24354
echo "$as_me: failed program was:" >&5
24355
sed 's/^/| /' conftest.$ac_ext >&5
24357
ac_header_compiler=no
24359
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24360
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24361
echo "${ECHO_T}$ac_header_compiler" >&6
24363
# Is the header present?
24364
echo "$as_me:$LINENO: checking CoreAudio/CoreAudio.h presence" >&5
24365
echo $ECHO_N "checking CoreAudio/CoreAudio.h presence... $ECHO_C" >&6
24366
cat >conftest.$ac_ext <<_ACEOF
24369
cat confdefs.h >>conftest.$ac_ext
24370
cat >>conftest.$ac_ext <<_ACEOF
24371
/* end confdefs.h. */
24372
#include <CoreAudio/CoreAudio.h>
24374
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24375
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24377
grep -v '^ *+' conftest.er1 >conftest.err
24379
cat conftest.err >&5
24380
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24381
(exit $ac_status); } >/dev/null; then
24382
if test -s conftest.err; then
24383
ac_cpp_err=$ac_c_preproc_warn_flag
24384
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
24391
if test -z "$ac_cpp_err"; then
24392
ac_header_preproc=yes
24394
echo "$as_me: failed program was:" >&5
24395
sed 's/^/| /' conftest.$ac_ext >&5
24397
ac_header_preproc=no
24399
rm -f conftest.err conftest.$ac_ext
24400
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24401
echo "${ECHO_T}$ac_header_preproc" >&6
24403
# So? What about this header?
24404
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24406
{ echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: accepted by the compiler, rejected by the preprocessor!" >&5
24407
echo "$as_me: WARNING: CoreAudio/CoreAudio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24408
{ echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: proceeding with the compiler's result" >&5
24409
echo "$as_me: WARNING: CoreAudio/CoreAudio.h: proceeding with the compiler's result" >&2;}
24410
ac_header_preproc=yes
24413
{ echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: present but cannot be compiled" >&5
24414
echo "$as_me: WARNING: CoreAudio/CoreAudio.h: present but cannot be compiled" >&2;}
24415
{ echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: check for missing prerequisite headers?" >&5
24416
echo "$as_me: WARNING: CoreAudio/CoreAudio.h: check for missing prerequisite headers?" >&2;}
24417
{ echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: see the Autoconf documentation" >&5
24418
echo "$as_me: WARNING: CoreAudio/CoreAudio.h: see the Autoconf documentation" >&2;}
24419
{ echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: section \"Present But Cannot Be Compiled\"" >&5
24420
echo "$as_me: WARNING: CoreAudio/CoreAudio.h: section \"Present But Cannot Be Compiled\"" >&2;}
24421
{ echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: proceeding with the preprocessor's result" >&5
24422
echo "$as_me: WARNING: CoreAudio/CoreAudio.h: proceeding with the preprocessor's result" >&2;}
24423
{ echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: in the future, the compiler will take precedence" >&5
24424
echo "$as_me: WARNING: CoreAudio/CoreAudio.h: in the future, the compiler will take precedence" >&2;}
24427
## ------------------------------------------ ##
24428
## Report this to the AC_PACKAGE_NAME lists. ##
24429
## ------------------------------------------ ##
24432
sed "s/^/$as_me: WARNING: /" >&2
24435
echo "$as_me:$LINENO: checking for CoreAudio/CoreAudio.h" >&5
24436
echo $ECHO_N "checking for CoreAudio/CoreAudio.h... $ECHO_C" >&6
24437
if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
24438
echo $ECHO_N "(cached) $ECHO_C" >&6
24440
ac_cv_header_CoreAudio_CoreAudio_h=$ac_header_preproc
24442
echo "$as_me:$LINENO: result: $ac_cv_header_CoreAudio_CoreAudio_h" >&5
24443
echo "${ECHO_T}$ac_cv_header_CoreAudio_CoreAudio_h" >&6
24446
if test $ac_cv_header_CoreAudio_CoreAudio_h = yes; then
24449
cat >>confdefs.h <<\_ACEOF
24450
#define HAVE_COREAUDIO 1
24453
FRAMEWORK_COREAUDIO="-Xlinker -framework -Xlinker CoreAudio"
24460
echo "$as_me:$LINENO: checking if res_init needs -lresolv" >&5
24461
echo $ECHO_N "checking if res_init needs -lresolv... $ECHO_C" >&6
24462
kde_libs_safe="$LIBS"
24463
LIBS="$LIBS $X_EXTRA_LIBS -lresolv"
24464
cat >conftest.$ac_ext <<_ACEOF
24467
cat confdefs.h >>conftest.$ac_ext
24468
cat >>conftest.$ac_ext <<_ACEOF
24469
/* end confdefs.h. */
24471
#include <sys/types.h>
24472
#include <netinet/in.h>
24473
#include <arpa/nameser.h>
24474
#include <resolv.h>
24486
rm -f conftest.$ac_objext conftest$ac_exeext
24487
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24488
(eval $ac_link) 2>conftest.er1
24490
grep -v '^ *+' conftest.er1 >conftest.err
24492
cat conftest.err >&5
24493
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24494
(exit $ac_status); } &&
24495
{ ac_try='test -z "$ac_c_werror_flag"
24496
|| test ! -s conftest.err'
24497
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24498
(eval $ac_try) 2>&5
24500
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24501
(exit $ac_status); }; } &&
24502
{ ac_try='test -s conftest$ac_exeext'
24503
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24504
(eval $ac_try) 2>&5
24506
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24507
(exit $ac_status); }; }; then
24509
LIBRESOLV="-lresolv"
24510
echo "$as_me:$LINENO: result: yes" >&5
24511
echo "${ECHO_T}yes" >&6
24513
cat >>confdefs.h <<\_ACEOF
24514
#define HAVE_RES_INIT 1
24519
echo "$as_me: failed program was:" >&5
24520
sed 's/^/| /' conftest.$ac_ext >&5
24522
echo "$as_me:$LINENO: result: no" >&5
24523
echo "${ECHO_T}no" >&6
24526
rm -f conftest.err conftest.$ac_objext \
24527
conftest$ac_exeext conftest.$ac_ext
24528
LIBS=$kde_libs_safe
24532
echo "$as_me:$LINENO: checking for res_init" >&5
24533
echo $ECHO_N "checking for res_init... $ECHO_C" >&6
24534
if test "${kde_cv_func_res_init+set}" = set; then
24535
echo $ECHO_N "(cached) $ECHO_C" >&6
24541
ac_cpp='$CXXCPP $CPPFLAGS'
24542
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24543
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24544
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24546
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
24549
save_CXXFLAGS="$CXXFLAGS"
24550
kde_safe_LIBS="$LIBS"
24551
LIBS="$LIBS $X_EXTRA_LIBS"
24552
if test "$GXX" = "yes"; then
24553
CXXFLAGS="$CXXFLAGS -pedantic-errors"
24555
cat >conftest.$ac_ext <<_ACEOF
24558
cat confdefs.h >>conftest.$ac_ext
24559
cat >>conftest.$ac_ext <<_ACEOF
24560
/* end confdefs.h. */
24563
#include <sys/types.h>
24564
#include <netinet/in.h>
24565
#include <arpa/nameser.h>
24566
#include <resolv.h>
24579
rm -f conftest.$ac_objext
24580
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24581
(eval $ac_compile) 2>conftest.er1
24583
grep -v '^ *+' conftest.er1 >conftest.err
24585
cat conftest.err >&5
24586
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24587
(exit $ac_status); } &&
24588
{ ac_try='test -z "$ac_cxx_werror_flag"
24589
|| test ! -s conftest.err'
24590
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24591
(eval $ac_try) 2>&5
24593
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24594
(exit $ac_status); }; } &&
24595
{ ac_try='test -s conftest.$ac_objext'
24596
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24597
(eval $ac_try) 2>&5
24599
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24600
(exit $ac_status); }; }; then
24601
kde_cv_func_res_init=yes
24603
echo "$as_me: failed program was:" >&5
24604
sed 's/^/| /' conftest.$ac_ext >&5
24606
kde_cv_func_res_init=no
24608
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24609
CXXFLAGS="$save_CXXFLAGS"
24610
LIBS="$kde_safe_LIBS"
24612
ac_cpp='$CPP $CPPFLAGS'
24613
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24614
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24615
ac_compiler_gnu=$ac_cv_c_compiler_gnu
24621
echo "$as_me:$LINENO: result: $kde_cv_func_res_init" >&5
24622
echo "${ECHO_T}$kde_cv_func_res_init" >&6
24624
echo "$as_me:$LINENO: checking if res_init needs custom prototype" >&5
24625
echo $ECHO_N "checking if res_init needs custom prototype... $ECHO_C" >&6
24626
if test "${kde_cv_proto_res_init+set}" = set; then
24627
echo $ECHO_N "(cached) $ECHO_C" >&6
24630
if test "x$kde_cv_func_res_init" = xyes; then
24631
kde_cv_proto_res_init=no
24634
setenv|unsetenv|usleep|random|srandom|seteuid|mkstemps|mkstemp|revoke|vsnprintf|strlcpy|strlcat)
24635
kde_cv_proto_res_init="yes - in libkdefakes"
24638
kde_cv_proto_res_init=unknown
24643
if test "x$kde_cv_proto_res_init" = xunknown; then
24648
ac_cpp='$CXXCPP $CPPFLAGS'
24649
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24650
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24651
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24653
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
24656
kde_safe_libs=$LIBS
24657
LIBS="$LIBS $X_EXTRA_LIBS"
24658
cat >conftest.$ac_ext <<_ACEOF
24661
cat confdefs.h >>conftest.$ac_ext
24662
cat >>conftest.$ac_ext <<_ACEOF
24663
/* end confdefs.h. */
24666
#include <sys/types.h>
24667
#include <netinet/in.h>
24668
#include <arpa/nameser.h>
24669
#include <resolv.h>
24672
extern "C" int res_init(void);
24684
rm -f conftest.$ac_objext conftest$ac_exeext
24685
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24686
(eval $ac_link) 2>conftest.er1
24688
grep -v '^ *+' conftest.er1 >conftest.err
24690
cat conftest.err >&5
24691
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24692
(exit $ac_status); } &&
24693
{ ac_try='test -z "$ac_cxx_werror_flag"
24694
|| test ! -s conftest.err'
24695
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24696
(eval $ac_try) 2>&5
24698
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24699
(exit $ac_status); }; } &&
24700
{ ac_try='test -s conftest$ac_exeext'
24701
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24702
(eval $ac_try) 2>&5
24704
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24705
(exit $ac_status); }; }; then
24706
kde_cv_func_res_init=yes
24707
kde_cv_proto_res_init=yes
24709
echo "$as_me: failed program was:" >&5
24710
sed 's/^/| /' conftest.$ac_ext >&5
24712
kde_cv_proto_res_init="res_init unavailable"
24715
rm -f conftest.err conftest.$ac_objext \
24716
conftest$ac_exeext conftest.$ac_ext
24717
LIBS=$kde_safe_libs
24719
ac_cpp='$CPP $CPPFLAGS'
24720
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24721
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24722
ac_compiler_gnu=$ac_cv_c_compiler_gnu
24728
echo "$as_me:$LINENO: result: $kde_cv_proto_res_init" >&5
24729
echo "${ECHO_T}$kde_cv_proto_res_init" >&6
24731
if test "x$kde_cv_func_res_init" = xyes; then
24733
cat >>confdefs.h <<\_ACEOF
24734
#define HAVE_RES_INIT 1
24739
if test "x$kde_cv_proto_res_init" = xno; then
24741
cat >>confdefs.h <<\_ACEOF
24742
#define HAVE_RES_INIT_PROTO 1
24753
LIBSOCKET="$X_EXTRA_LIBS"
24756
echo "$as_me:$LINENO: checking for killpg in -lucb" >&5
24757
echo $ECHO_N "checking for killpg in -lucb... $ECHO_C" >&6
24758
if test "${ac_cv_lib_ucb_killpg+set}" = set; then
24759
echo $ECHO_N "(cached) $ECHO_C" >&6
24761
ac_check_lib_save_LIBS=$LIBS
24763
cat >conftest.$ac_ext <<_ACEOF
24766
cat confdefs.h >>conftest.$ac_ext
24767
cat >>conftest.$ac_ext <<_ACEOF
24768
/* end confdefs.h. */
24770
/* Override any gcc2 internal prototype to avoid an error. */
24774
/* We use char because int might match the return type of a gcc2
24775
builtin and then its argument prototype would still apply. */
24785
rm -f conftest.$ac_objext conftest$ac_exeext
24786
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24787
(eval $ac_link) 2>conftest.er1
24789
grep -v '^ *+' conftest.er1 >conftest.err
24791
cat conftest.err >&5
24792
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24793
(exit $ac_status); } &&
24794
{ ac_try='test -z "$ac_c_werror_flag"
24795
|| test ! -s conftest.err'
24796
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24797
(eval $ac_try) 2>&5
24799
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24800
(exit $ac_status); }; } &&
24801
{ ac_try='test -s conftest$ac_exeext'
24802
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24803
(eval $ac_try) 2>&5
24805
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24806
(exit $ac_status); }; }; then
24807
ac_cv_lib_ucb_killpg=yes
24809
echo "$as_me: failed program was:" >&5
24810
sed 's/^/| /' conftest.$ac_ext >&5
24812
ac_cv_lib_ucb_killpg=no
24814
rm -f conftest.err conftest.$ac_objext \
24815
conftest$ac_exeext conftest.$ac_ext
24816
LIBS=$ac_check_lib_save_LIBS
24818
echo "$as_me:$LINENO: result: $ac_cv_lib_ucb_killpg" >&5
24819
echo "${ECHO_T}$ac_cv_lib_ucb_killpg" >&6
24820
if test $ac_cv_lib_ucb_killpg = yes; then
24825
case $host in *-*-lynxos* )
24826
echo "$as_me:$LINENO: checking LynxOS header file wrappers" >&5
24827
echo $ECHO_N "checking LynxOS header file wrappers... $ECHO_C" >&6
24828
CFLAGS="$CFLAGS -D__NO_INCLUDE_WARN__"
24829
echo "$as_me:$LINENO: result: disabled" >&5
24830
echo "${ECHO_T}disabled" >&6
24831
echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
24832
echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
24833
if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
24834
echo $ECHO_N "(cached) $ECHO_C" >&6
24836
ac_check_lib_save_LIBS=$LIBS
24838
cat >conftest.$ac_ext <<_ACEOF
24841
cat confdefs.h >>conftest.$ac_ext
24842
cat >>conftest.$ac_ext <<_ACEOF
24843
/* end confdefs.h. */
24845
/* Override any gcc2 internal prototype to avoid an error. */
24849
/* We use char because int might match the return type of a gcc2
24850
builtin and then its argument prototype would still apply. */
24851
char gethostbyname ();
24860
rm -f conftest.$ac_objext conftest$ac_exeext
24861
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24862
(eval $ac_link) 2>conftest.er1
24864
grep -v '^ *+' conftest.er1 >conftest.err
24866
cat conftest.err >&5
24867
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24868
(exit $ac_status); } &&
24869
{ ac_try='test -z "$ac_c_werror_flag"
24870
|| test ! -s conftest.err'
24871
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24872
(eval $ac_try) 2>&5
24874
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24875
(exit $ac_status); }; } &&
24876
{ ac_try='test -s conftest$ac_exeext'
24877
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24878
(eval $ac_try) 2>&5
24880
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24881
(exit $ac_status); }; }; then
24882
ac_cv_lib_bsd_gethostbyname=yes
24884
echo "$as_me: failed program was:" >&5
24885
sed 's/^/| /' conftest.$ac_ext >&5
24887
ac_cv_lib_bsd_gethostbyname=no
24889
rm -f conftest.err conftest.$ac_objext \
24890
conftest$ac_exeext conftest.$ac_ext
24891
LIBS=$ac_check_lib_save_LIBS
24893
echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
24894
echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
24895
if test $ac_cv_lib_bsd_gethostbyname = yes; then
24901
echo "$as_me:$LINENO: checking for int" >&5
24902
echo $ECHO_N "checking for int... $ECHO_C" >&6
24903
if test "${ac_cv_type_int+set}" = set; then
24904
echo $ECHO_N "(cached) $ECHO_C" >&6
24906
cat >conftest.$ac_ext <<_ACEOF
24909
cat confdefs.h >>conftest.$ac_ext
24910
cat >>conftest.$ac_ext <<_ACEOF
24911
/* end confdefs.h. */
24912
$ac_includes_default
24924
rm -f conftest.$ac_objext
24925
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24926
(eval $ac_compile) 2>conftest.er1
24928
grep -v '^ *+' conftest.er1 >conftest.err
24930
cat conftest.err >&5
24931
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24932
(exit $ac_status); } &&
24933
{ ac_try='test -z "$ac_c_werror_flag"
24934
|| test ! -s conftest.err'
24935
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24936
(eval $ac_try) 2>&5
24938
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24939
(exit $ac_status); }; } &&
24940
{ ac_try='test -s conftest.$ac_objext'
24941
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24942
(eval $ac_try) 2>&5
24944
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24945
(exit $ac_status); }; }; then
24948
echo "$as_me: failed program was:" >&5
24949
sed 's/^/| /' conftest.$ac_ext >&5
24953
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24955
echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
24956
echo "${ECHO_T}$ac_cv_type_int" >&6
24958
echo "$as_me:$LINENO: checking size of int" >&5
24959
echo $ECHO_N "checking size of int... $ECHO_C" >&6
24960
if test "${ac_cv_sizeof_int+set}" = set; then
24961
echo $ECHO_N "(cached) $ECHO_C" >&6
24963
if test "$ac_cv_type_int" = yes; then
24964
# The cast to unsigned long works around a bug in the HP C Compiler
24965
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24966
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24967
# This bug is HP SR number 8606223364.
24968
if test "$cross_compiling" = yes; then
24969
# Depending upon the size, compute the lo and hi bounds.
24970
cat >conftest.$ac_ext <<_ACEOF
24973
cat confdefs.h >>conftest.$ac_ext
24974
cat >>conftest.$ac_ext <<_ACEOF
24975
/* end confdefs.h. */
24976
$ac_includes_default
24980
static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
24987
rm -f conftest.$ac_objext
24988
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24989
(eval $ac_compile) 2>conftest.er1
24991
grep -v '^ *+' conftest.er1 >conftest.err
24993
cat conftest.err >&5
24994
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24995
(exit $ac_status); } &&
24996
{ ac_try='test -z "$ac_c_werror_flag"
24997
|| test ! -s conftest.err'
24998
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24999
(eval $ac_try) 2>&5
25001
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25002
(exit $ac_status); }; } &&
25003
{ ac_try='test -s conftest.$ac_objext'
25004
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25005
(eval $ac_try) 2>&5
25007
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25008
(exit $ac_status); }; }; then
25011
cat >conftest.$ac_ext <<_ACEOF
25014
cat confdefs.h >>conftest.$ac_ext
25015
cat >>conftest.$ac_ext <<_ACEOF
25016
/* end confdefs.h. */
25017
$ac_includes_default
25021
static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
25028
rm -f conftest.$ac_objext
25029
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25030
(eval $ac_compile) 2>conftest.er1
25032
grep -v '^ *+' conftest.er1 >conftest.err
25034
cat conftest.err >&5
25035
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25036
(exit $ac_status); } &&
25037
{ ac_try='test -z "$ac_c_werror_flag"
25038
|| test ! -s conftest.err'
25039
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25040
(eval $ac_try) 2>&5
25042
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25043
(exit $ac_status); }; } &&
25044
{ ac_try='test -s conftest.$ac_objext'
25045
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25046
(eval $ac_try) 2>&5
25048
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25049
(exit $ac_status); }; }; then
25050
ac_hi=$ac_mid; break
25052
echo "$as_me: failed program was:" >&5
25053
sed 's/^/| /' conftest.$ac_ext >&5
25055
ac_lo=`expr $ac_mid + 1`
25056
if test $ac_lo -le $ac_mid; then
25060
ac_mid=`expr 2 '*' $ac_mid + 1`
25062
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25065
echo "$as_me: failed program was:" >&5
25066
sed 's/^/| /' conftest.$ac_ext >&5
25068
cat >conftest.$ac_ext <<_ACEOF
25071
cat confdefs.h >>conftest.$ac_ext
25072
cat >>conftest.$ac_ext <<_ACEOF
25073
/* end confdefs.h. */
25074
$ac_includes_default
25078
static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
25085
rm -f conftest.$ac_objext
25086
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25087
(eval $ac_compile) 2>conftest.er1
25089
grep -v '^ *+' conftest.er1 >conftest.err
25091
cat conftest.err >&5
25092
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25093
(exit $ac_status); } &&
25094
{ ac_try='test -z "$ac_c_werror_flag"
25095
|| test ! -s conftest.err'
25096
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25097
(eval $ac_try) 2>&5
25099
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25100
(exit $ac_status); }; } &&
25101
{ ac_try='test -s conftest.$ac_objext'
25102
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25103
(eval $ac_try) 2>&5
25105
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25106
(exit $ac_status); }; }; then
25109
cat >conftest.$ac_ext <<_ACEOF
25112
cat confdefs.h >>conftest.$ac_ext
25113
cat >>conftest.$ac_ext <<_ACEOF
25114
/* end confdefs.h. */
25115
$ac_includes_default
25119
static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
25126
rm -f conftest.$ac_objext
25127
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25128
(eval $ac_compile) 2>conftest.er1
25130
grep -v '^ *+' conftest.er1 >conftest.err
25132
cat conftest.err >&5
25133
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25134
(exit $ac_status); } &&
25135
{ ac_try='test -z "$ac_c_werror_flag"
25136
|| test ! -s conftest.err'
25137
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25138
(eval $ac_try) 2>&5
25140
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25141
(exit $ac_status); }; } &&
25142
{ ac_try='test -s conftest.$ac_objext'
25143
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25144
(eval $ac_try) 2>&5
25146
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25147
(exit $ac_status); }; }; then
25148
ac_lo=$ac_mid; break
25150
echo "$as_me: failed program was:" >&5
25151
sed 's/^/| /' conftest.$ac_ext >&5
25153
ac_hi=`expr '(' $ac_mid ')' - 1`
25154
if test $ac_mid -le $ac_hi; then
25158
ac_mid=`expr 2 '*' $ac_mid`
25160
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25163
echo "$as_me: failed program was:" >&5
25164
sed 's/^/| /' conftest.$ac_ext >&5
25168
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25170
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25171
# Binary search between lo and hi bounds.
25172
while test "x$ac_lo" != "x$ac_hi"; do
25173
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25174
cat >conftest.$ac_ext <<_ACEOF
25177
cat confdefs.h >>conftest.$ac_ext
25178
cat >>conftest.$ac_ext <<_ACEOF
25179
/* end confdefs.h. */
25180
$ac_includes_default
25184
static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
25191
rm -f conftest.$ac_objext
25192
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25193
(eval $ac_compile) 2>conftest.er1
25195
grep -v '^ *+' conftest.er1 >conftest.err
25197
cat conftest.err >&5
25198
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25199
(exit $ac_status); } &&
25200
{ ac_try='test -z "$ac_c_werror_flag"
25201
|| test ! -s conftest.err'
25202
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25203
(eval $ac_try) 2>&5
25205
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25206
(exit $ac_status); }; } &&
25207
{ ac_try='test -s conftest.$ac_objext'
25208
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25209
(eval $ac_try) 2>&5
25211
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25212
(exit $ac_status); }; }; then
25215
echo "$as_me: failed program was:" >&5
25216
sed 's/^/| /' conftest.$ac_ext >&5
25218
ac_lo=`expr '(' $ac_mid ')' + 1`
25220
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25223
?*) ac_cv_sizeof_int=$ac_lo;;
25224
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
25225
See \`config.log' for more details." >&5
25226
echo "$as_me: error: cannot compute sizeof (int), 77
25227
See \`config.log' for more details." >&2;}
25228
{ (exit 1); exit 1; }; } ;;
25231
if test "$cross_compiling" = yes; then
25232
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
25233
See \`config.log' for more details." >&5
25234
echo "$as_me: error: cannot run test program while cross compiling
25235
See \`config.log' for more details." >&2;}
25236
{ (exit 1); exit 1; }; }
25238
cat >conftest.$ac_ext <<_ACEOF
25241
cat confdefs.h >>conftest.$ac_ext
25242
cat >>conftest.$ac_ext <<_ACEOF
25243
/* end confdefs.h. */
25244
$ac_includes_default
25245
long longval () { return (long) (sizeof (int)); }
25246
unsigned long ulongval () { return (long) (sizeof (int)); }
25248
#include <stdlib.h>
25253
FILE *f = fopen ("conftest.val", "w");
25256
if (((long) (sizeof (int))) < 0)
25258
long i = longval ();
25259
if (i != ((long) (sizeof (int))))
25261
fprintf (f, "%ld\n", i);
25265
unsigned long i = ulongval ();
25266
if (i != ((long) (sizeof (int))))
25268
fprintf (f, "%lu\n", i);
25270
exit (ferror (f) || fclose (f) != 0);
25276
rm -f conftest$ac_exeext
25277
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25278
(eval $ac_link) 2>&5
25280
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25281
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25282
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25283
(eval $ac_try) 2>&5
25285
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25286
(exit $ac_status); }; }; then
25287
ac_cv_sizeof_int=`cat conftest.val`
25289
echo "$as_me: program exited with status $ac_status" >&5
25290
echo "$as_me: failed program was:" >&5
25291
sed 's/^/| /' conftest.$ac_ext >&5
25293
( exit $ac_status )
25294
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
25295
See \`config.log' for more details." >&5
25296
echo "$as_me: error: cannot compute sizeof (int), 77
25297
See \`config.log' for more details." >&2;}
25298
{ (exit 1); exit 1; }; }
25300
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25308
echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
25309
echo "${ECHO_T}$ac_cv_sizeof_int" >&6
25310
cat >>confdefs.h <<_ACEOF
25311
#define SIZEOF_INT $ac_cv_sizeof_int
25314
echo "$as_me:$LINENO: checking for short" >&5
25315
echo $ECHO_N "checking for short... $ECHO_C" >&6
25316
if test "${ac_cv_type_short+set}" = set; then
25317
echo $ECHO_N "(cached) $ECHO_C" >&6
25319
cat >conftest.$ac_ext <<_ACEOF
25322
cat confdefs.h >>conftest.$ac_ext
25323
cat >>conftest.$ac_ext <<_ACEOF
25324
/* end confdefs.h. */
25325
$ac_includes_default
25331
if (sizeof (short))
25337
rm -f conftest.$ac_objext
25338
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25339
(eval $ac_compile) 2>conftest.er1
25341
grep -v '^ *+' conftest.er1 >conftest.err
25343
cat conftest.err >&5
25344
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25345
(exit $ac_status); } &&
25346
{ ac_try='test -z "$ac_c_werror_flag"
25347
|| test ! -s conftest.err'
25348
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25349
(eval $ac_try) 2>&5
25351
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25352
(exit $ac_status); }; } &&
25353
{ ac_try='test -s conftest.$ac_objext'
25354
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25355
(eval $ac_try) 2>&5
25357
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25358
(exit $ac_status); }; }; then
25359
ac_cv_type_short=yes
25361
echo "$as_me: failed program was:" >&5
25362
sed 's/^/| /' conftest.$ac_ext >&5
25364
ac_cv_type_short=no
25366
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25368
echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
25369
echo "${ECHO_T}$ac_cv_type_short" >&6
25371
echo "$as_me:$LINENO: checking size of short" >&5
25372
echo $ECHO_N "checking size of short... $ECHO_C" >&6
25373
if test "${ac_cv_sizeof_short+set}" = set; then
25374
echo $ECHO_N "(cached) $ECHO_C" >&6
25376
if test "$ac_cv_type_short" = yes; then
25377
# The cast to unsigned long works around a bug in the HP C Compiler
25378
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25379
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25380
# This bug is HP SR number 8606223364.
25381
if test "$cross_compiling" = yes; then
25382
# Depending upon the size, compute the lo and hi bounds.
25383
cat >conftest.$ac_ext <<_ACEOF
25386
cat confdefs.h >>conftest.$ac_ext
25387
cat >>conftest.$ac_ext <<_ACEOF
25388
/* end confdefs.h. */
25389
$ac_includes_default
25393
static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
25400
rm -f conftest.$ac_objext
25401
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25402
(eval $ac_compile) 2>conftest.er1
25404
grep -v '^ *+' conftest.er1 >conftest.err
25406
cat conftest.err >&5
25407
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25408
(exit $ac_status); } &&
25409
{ ac_try='test -z "$ac_c_werror_flag"
25410
|| test ! -s conftest.err'
25411
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25412
(eval $ac_try) 2>&5
25414
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25415
(exit $ac_status); }; } &&
25416
{ ac_try='test -s conftest.$ac_objext'
25417
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25418
(eval $ac_try) 2>&5
25420
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25421
(exit $ac_status); }; }; then
25424
cat >conftest.$ac_ext <<_ACEOF
25427
cat confdefs.h >>conftest.$ac_ext
25428
cat >>conftest.$ac_ext <<_ACEOF
25429
/* end confdefs.h. */
25430
$ac_includes_default
25434
static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
25441
rm -f conftest.$ac_objext
25442
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25443
(eval $ac_compile) 2>conftest.er1
25445
grep -v '^ *+' conftest.er1 >conftest.err
25447
cat conftest.err >&5
25448
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25449
(exit $ac_status); } &&
25450
{ ac_try='test -z "$ac_c_werror_flag"
25451
|| test ! -s conftest.err'
25452
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25453
(eval $ac_try) 2>&5
25455
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25456
(exit $ac_status); }; } &&
25457
{ ac_try='test -s conftest.$ac_objext'
25458
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25459
(eval $ac_try) 2>&5
25461
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25462
(exit $ac_status); }; }; then
25463
ac_hi=$ac_mid; break
25465
echo "$as_me: failed program was:" >&5
25466
sed 's/^/| /' conftest.$ac_ext >&5
25468
ac_lo=`expr $ac_mid + 1`
25469
if test $ac_lo -le $ac_mid; then
25473
ac_mid=`expr 2 '*' $ac_mid + 1`
25475
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25478
echo "$as_me: failed program was:" >&5
25479
sed 's/^/| /' conftest.$ac_ext >&5
25481
cat >conftest.$ac_ext <<_ACEOF
25484
cat confdefs.h >>conftest.$ac_ext
25485
cat >>conftest.$ac_ext <<_ACEOF
25486
/* end confdefs.h. */
25487
$ac_includes_default
25491
static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
25498
rm -f conftest.$ac_objext
25499
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25500
(eval $ac_compile) 2>conftest.er1
25502
grep -v '^ *+' conftest.er1 >conftest.err
25504
cat conftest.err >&5
25505
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25506
(exit $ac_status); } &&
25507
{ ac_try='test -z "$ac_c_werror_flag"
25508
|| test ! -s conftest.err'
25509
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25510
(eval $ac_try) 2>&5
25512
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25513
(exit $ac_status); }; } &&
25514
{ ac_try='test -s conftest.$ac_objext'
25515
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25516
(eval $ac_try) 2>&5
25518
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25519
(exit $ac_status); }; }; then
25522
cat >conftest.$ac_ext <<_ACEOF
25525
cat confdefs.h >>conftest.$ac_ext
25526
cat >>conftest.$ac_ext <<_ACEOF
25527
/* end confdefs.h. */
25528
$ac_includes_default
25532
static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
25539
rm -f conftest.$ac_objext
25540
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25541
(eval $ac_compile) 2>conftest.er1
25543
grep -v '^ *+' conftest.er1 >conftest.err
25545
cat conftest.err >&5
25546
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25547
(exit $ac_status); } &&
25548
{ ac_try='test -z "$ac_c_werror_flag"
25549
|| test ! -s conftest.err'
25550
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25551
(eval $ac_try) 2>&5
25553
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25554
(exit $ac_status); }; } &&
25555
{ ac_try='test -s conftest.$ac_objext'
25556
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25557
(eval $ac_try) 2>&5
25559
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25560
(exit $ac_status); }; }; then
25561
ac_lo=$ac_mid; break
25563
echo "$as_me: failed program was:" >&5
25564
sed 's/^/| /' conftest.$ac_ext >&5
25566
ac_hi=`expr '(' $ac_mid ')' - 1`
25567
if test $ac_mid -le $ac_hi; then
25571
ac_mid=`expr 2 '*' $ac_mid`
25573
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25576
echo "$as_me: failed program was:" >&5
25577
sed 's/^/| /' conftest.$ac_ext >&5
25581
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25583
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25584
# Binary search between lo and hi bounds.
25585
while test "x$ac_lo" != "x$ac_hi"; do
25586
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25587
cat >conftest.$ac_ext <<_ACEOF
25590
cat confdefs.h >>conftest.$ac_ext
25591
cat >>conftest.$ac_ext <<_ACEOF
25592
/* end confdefs.h. */
25593
$ac_includes_default
25597
static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
25604
rm -f conftest.$ac_objext
25605
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25606
(eval $ac_compile) 2>conftest.er1
25608
grep -v '^ *+' conftest.er1 >conftest.err
25610
cat conftest.err >&5
25611
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25612
(exit $ac_status); } &&
25613
{ ac_try='test -z "$ac_c_werror_flag"
25614
|| test ! -s conftest.err'
25615
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25616
(eval $ac_try) 2>&5
25618
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25619
(exit $ac_status); }; } &&
25620
{ ac_try='test -s conftest.$ac_objext'
25621
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25622
(eval $ac_try) 2>&5
25624
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25625
(exit $ac_status); }; }; then
25628
echo "$as_me: failed program was:" >&5
25629
sed 's/^/| /' conftest.$ac_ext >&5
25631
ac_lo=`expr '(' $ac_mid ')' + 1`
25633
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25636
?*) ac_cv_sizeof_short=$ac_lo;;
25637
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
25638
See \`config.log' for more details." >&5
25639
echo "$as_me: error: cannot compute sizeof (short), 77
25640
See \`config.log' for more details." >&2;}
25641
{ (exit 1); exit 1; }; } ;;
25644
if test "$cross_compiling" = yes; then
25645
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
25646
See \`config.log' for more details." >&5
25647
echo "$as_me: error: cannot run test program while cross compiling
25648
See \`config.log' for more details." >&2;}
25649
{ (exit 1); exit 1; }; }
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
long longval () { return (long) (sizeof (short)); }
25659
unsigned long ulongval () { return (long) (sizeof (short)); }
25661
#include <stdlib.h>
25666
FILE *f = fopen ("conftest.val", "w");
25669
if (((long) (sizeof (short))) < 0)
25671
long i = longval ();
25672
if (i != ((long) (sizeof (short))))
25674
fprintf (f, "%ld\n", i);
25678
unsigned long i = ulongval ();
25679
if (i != ((long) (sizeof (short))))
25681
fprintf (f, "%lu\n", i);
25683
exit (ferror (f) || fclose (f) != 0);
25689
rm -f conftest$ac_exeext
25690
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25691
(eval $ac_link) 2>&5
25693
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25694
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25695
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25696
(eval $ac_try) 2>&5
25698
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25699
(exit $ac_status); }; }; then
25700
ac_cv_sizeof_short=`cat conftest.val`
25702
echo "$as_me: program exited with status $ac_status" >&5
25703
echo "$as_me: failed program was:" >&5
25704
sed 's/^/| /' conftest.$ac_ext >&5
25706
( exit $ac_status )
25707
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
25708
See \`config.log' for more details." >&5
25709
echo "$as_me: error: cannot compute sizeof (short), 77
25710
See \`config.log' for more details." >&2;}
25711
{ (exit 1); exit 1; }; }
25713
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25718
ac_cv_sizeof_short=0
25721
echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
25722
echo "${ECHO_T}$ac_cv_sizeof_short" >&6
25723
cat >>confdefs.h <<_ACEOF
25724
#define SIZEOF_SHORT $ac_cv_sizeof_short
25727
echo "$as_me:$LINENO: checking for long" >&5
25728
echo $ECHO_N "checking for long... $ECHO_C" >&6
25729
if test "${ac_cv_type_long+set}" = set; then
25730
echo $ECHO_N "(cached) $ECHO_C" >&6
25732
cat >conftest.$ac_ext <<_ACEOF
25735
cat confdefs.h >>conftest.$ac_ext
25736
cat >>conftest.$ac_ext <<_ACEOF
25737
/* end confdefs.h. */
25738
$ac_includes_default
25750
rm -f conftest.$ac_objext
25751
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25752
(eval $ac_compile) 2>conftest.er1
25754
grep -v '^ *+' conftest.er1 >conftest.err
25756
cat conftest.err >&5
25757
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25758
(exit $ac_status); } &&
25759
{ ac_try='test -z "$ac_c_werror_flag"
25760
|| test ! -s conftest.err'
25761
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25762
(eval $ac_try) 2>&5
25764
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25765
(exit $ac_status); }; } &&
25766
{ ac_try='test -s conftest.$ac_objext'
25767
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25768
(eval $ac_try) 2>&5
25770
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25771
(exit $ac_status); }; }; then
25772
ac_cv_type_long=yes
25774
echo "$as_me: failed program was:" >&5
25775
sed 's/^/| /' conftest.$ac_ext >&5
25779
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25781
echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
25782
echo "${ECHO_T}$ac_cv_type_long" >&6
25784
echo "$as_me:$LINENO: checking size of long" >&5
25785
echo $ECHO_N "checking size of long... $ECHO_C" >&6
25786
if test "${ac_cv_sizeof_long+set}" = set; then
25787
echo $ECHO_N "(cached) $ECHO_C" >&6
25789
if test "$ac_cv_type_long" = yes; then
25790
# The cast to unsigned long works around a bug in the HP C Compiler
25791
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25792
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25793
# This bug is HP SR number 8606223364.
25794
if test "$cross_compiling" = yes; then
25795
# Depending upon the size, compute the lo and hi bounds.
25796
cat >conftest.$ac_ext <<_ACEOF
25799
cat confdefs.h >>conftest.$ac_ext
25800
cat >>conftest.$ac_ext <<_ACEOF
25801
/* end confdefs.h. */
25802
$ac_includes_default
25806
static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
25813
rm -f conftest.$ac_objext
25814
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25815
(eval $ac_compile) 2>conftest.er1
25817
grep -v '^ *+' conftest.er1 >conftest.err
25819
cat conftest.err >&5
25820
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25821
(exit $ac_status); } &&
25822
{ ac_try='test -z "$ac_c_werror_flag"
25823
|| test ! -s conftest.err'
25824
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25825
(eval $ac_try) 2>&5
25827
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25828
(exit $ac_status); }; } &&
25829
{ ac_try='test -s conftest.$ac_objext'
25830
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25831
(eval $ac_try) 2>&5
25833
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25834
(exit $ac_status); }; }; then
25837
cat >conftest.$ac_ext <<_ACEOF
25840
cat confdefs.h >>conftest.$ac_ext
25841
cat >>conftest.$ac_ext <<_ACEOF
25842
/* end confdefs.h. */
25843
$ac_includes_default
25847
static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
25854
rm -f conftest.$ac_objext
25855
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25856
(eval $ac_compile) 2>conftest.er1
25858
grep -v '^ *+' conftest.er1 >conftest.err
25860
cat conftest.err >&5
25861
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25862
(exit $ac_status); } &&
25863
{ ac_try='test -z "$ac_c_werror_flag"
25864
|| test ! -s conftest.err'
25865
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25866
(eval $ac_try) 2>&5
25868
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25869
(exit $ac_status); }; } &&
25870
{ ac_try='test -s conftest.$ac_objext'
25871
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25872
(eval $ac_try) 2>&5
25874
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25875
(exit $ac_status); }; }; then
25876
ac_hi=$ac_mid; break
25878
echo "$as_me: failed program was:" >&5
25879
sed 's/^/| /' conftest.$ac_ext >&5
25881
ac_lo=`expr $ac_mid + 1`
25882
if test $ac_lo -le $ac_mid; then
25886
ac_mid=`expr 2 '*' $ac_mid + 1`
25888
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25891
echo "$as_me: failed program was:" >&5
25892
sed 's/^/| /' conftest.$ac_ext >&5
25894
cat >conftest.$ac_ext <<_ACEOF
25897
cat confdefs.h >>conftest.$ac_ext
25898
cat >>conftest.$ac_ext <<_ACEOF
25899
/* end confdefs.h. */
25900
$ac_includes_default
25904
static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
25911
rm -f conftest.$ac_objext
25912
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25913
(eval $ac_compile) 2>conftest.er1
25915
grep -v '^ *+' conftest.er1 >conftest.err
25917
cat conftest.err >&5
25918
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25919
(exit $ac_status); } &&
25920
{ ac_try='test -z "$ac_c_werror_flag"
25921
|| test ! -s conftest.err'
25922
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25923
(eval $ac_try) 2>&5
25925
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25926
(exit $ac_status); }; } &&
25927
{ ac_try='test -s conftest.$ac_objext'
25928
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25929
(eval $ac_try) 2>&5
25931
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25932
(exit $ac_status); }; }; then
25935
cat >conftest.$ac_ext <<_ACEOF
25938
cat confdefs.h >>conftest.$ac_ext
25939
cat >>conftest.$ac_ext <<_ACEOF
25940
/* end confdefs.h. */
25941
$ac_includes_default
25945
static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
25952
rm -f conftest.$ac_objext
25953
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25954
(eval $ac_compile) 2>conftest.er1
25956
grep -v '^ *+' conftest.er1 >conftest.err
25958
cat conftest.err >&5
25959
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25960
(exit $ac_status); } &&
25961
{ ac_try='test -z "$ac_c_werror_flag"
25962
|| test ! -s conftest.err'
25963
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25964
(eval $ac_try) 2>&5
25966
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25967
(exit $ac_status); }; } &&
25968
{ ac_try='test -s conftest.$ac_objext'
25969
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25970
(eval $ac_try) 2>&5
25972
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25973
(exit $ac_status); }; }; then
25974
ac_lo=$ac_mid; break
25976
echo "$as_me: failed program was:" >&5
25977
sed 's/^/| /' conftest.$ac_ext >&5
25979
ac_hi=`expr '(' $ac_mid ')' - 1`
25980
if test $ac_mid -le $ac_hi; then
25984
ac_mid=`expr 2 '*' $ac_mid`
25986
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25989
echo "$as_me: failed program was:" >&5
25990
sed 's/^/| /' conftest.$ac_ext >&5
25994
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25996
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25997
# Binary search between lo and hi bounds.
25998
while test "x$ac_lo" != "x$ac_hi"; do
25999
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26000
cat >conftest.$ac_ext <<_ACEOF
26003
cat confdefs.h >>conftest.$ac_ext
26004
cat >>conftest.$ac_ext <<_ACEOF
26005
/* end confdefs.h. */
26006
$ac_includes_default
26010
static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
26017
rm -f conftest.$ac_objext
26018
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26019
(eval $ac_compile) 2>conftest.er1
26021
grep -v '^ *+' conftest.er1 >conftest.err
26023
cat conftest.err >&5
26024
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26025
(exit $ac_status); } &&
26026
{ ac_try='test -z "$ac_c_werror_flag"
26027
|| test ! -s conftest.err'
26028
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26029
(eval $ac_try) 2>&5
26031
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26032
(exit $ac_status); }; } &&
26033
{ ac_try='test -s conftest.$ac_objext'
26034
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26035
(eval $ac_try) 2>&5
26037
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26038
(exit $ac_status); }; }; then
26041
echo "$as_me: failed program was:" >&5
26042
sed 's/^/| /' conftest.$ac_ext >&5
26044
ac_lo=`expr '(' $ac_mid ')' + 1`
26046
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26049
?*) ac_cv_sizeof_long=$ac_lo;;
26050
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
26051
See \`config.log' for more details." >&5
26052
echo "$as_me: error: cannot compute sizeof (long), 77
26053
See \`config.log' for more details." >&2;}
26054
{ (exit 1); exit 1; }; } ;;
26057
if test "$cross_compiling" = yes; then
26058
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
26059
See \`config.log' for more details." >&5
26060
echo "$as_me: error: cannot run test program while cross compiling
26061
See \`config.log' for more details." >&2;}
26062
{ (exit 1); exit 1; }; }
26064
cat >conftest.$ac_ext <<_ACEOF
26067
cat confdefs.h >>conftest.$ac_ext
26068
cat >>conftest.$ac_ext <<_ACEOF
26069
/* end confdefs.h. */
26070
$ac_includes_default
26071
long longval () { return (long) (sizeof (long)); }
26072
unsigned long ulongval () { return (long) (sizeof (long)); }
26074
#include <stdlib.h>
26079
FILE *f = fopen ("conftest.val", "w");
26082
if (((long) (sizeof (long))) < 0)
26084
long i = longval ();
26085
if (i != ((long) (sizeof (long))))
26087
fprintf (f, "%ld\n", i);
26091
unsigned long i = ulongval ();
26092
if (i != ((long) (sizeof (long))))
26094
fprintf (f, "%lu\n", i);
26096
exit (ferror (f) || fclose (f) != 0);
26102
rm -f conftest$ac_exeext
26103
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26104
(eval $ac_link) 2>&5
26106
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26107
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26108
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26109
(eval $ac_try) 2>&5
26111
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26112
(exit $ac_status); }; }; then
26113
ac_cv_sizeof_long=`cat conftest.val`
26115
echo "$as_me: program exited with status $ac_status" >&5
26116
echo "$as_me: failed program was:" >&5
26117
sed 's/^/| /' conftest.$ac_ext >&5
26119
( exit $ac_status )
26120
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
26121
See \`config.log' for more details." >&5
26122
echo "$as_me: error: cannot compute sizeof (long), 77
26123
See \`config.log' for more details." >&2;}
26124
{ (exit 1); exit 1; }; }
26126
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26131
ac_cv_sizeof_long=0
26134
echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
26135
echo "${ECHO_T}$ac_cv_sizeof_long" >&6
26136
cat >>confdefs.h <<_ACEOF
26137
#define SIZEOF_LONG $ac_cv_sizeof_long
26140
echo "$as_me:$LINENO: checking for char *" >&5
26141
echo $ECHO_N "checking for char *... $ECHO_C" >&6
26142
if test "${ac_cv_type_char_p+set}" = set; then
26143
echo $ECHO_N "(cached) $ECHO_C" >&6
26145
cat >conftest.$ac_ext <<_ACEOF
26148
cat confdefs.h >>conftest.$ac_ext
26149
cat >>conftest.$ac_ext <<_ACEOF
26150
/* end confdefs.h. */
26151
$ac_includes_default
26157
if (sizeof (char *))
26163
rm -f conftest.$ac_objext
26164
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26165
(eval $ac_compile) 2>conftest.er1
26167
grep -v '^ *+' conftest.er1 >conftest.err
26169
cat conftest.err >&5
26170
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26171
(exit $ac_status); } &&
26172
{ ac_try='test -z "$ac_c_werror_flag"
26173
|| test ! -s conftest.err'
26174
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26175
(eval $ac_try) 2>&5
26177
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26178
(exit $ac_status); }; } &&
26179
{ ac_try='test -s conftest.$ac_objext'
26180
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26181
(eval $ac_try) 2>&5
26183
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26184
(exit $ac_status); }; }; then
26185
ac_cv_type_char_p=yes
26187
echo "$as_me: failed program was:" >&5
26188
sed 's/^/| /' conftest.$ac_ext >&5
26190
ac_cv_type_char_p=no
26192
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26194
echo "$as_me:$LINENO: result: $ac_cv_type_char_p" >&5
26195
echo "${ECHO_T}$ac_cv_type_char_p" >&6
26197
echo "$as_me:$LINENO: checking size of char *" >&5
26198
echo $ECHO_N "checking size of char *... $ECHO_C" >&6
26199
if test "${ac_cv_sizeof_char_p+set}" = set; then
26200
echo $ECHO_N "(cached) $ECHO_C" >&6
26202
if test "$ac_cv_type_char_p" = yes; then
26203
# The cast to unsigned long works around a bug in the HP C Compiler
26204
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26205
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26206
# This bug is HP SR number 8606223364.
26207
if test "$cross_compiling" = yes; then
26208
# Depending upon the size, compute the lo and hi bounds.
26209
cat >conftest.$ac_ext <<_ACEOF
26212
cat confdefs.h >>conftest.$ac_ext
26213
cat >>conftest.$ac_ext <<_ACEOF
26214
/* end confdefs.h. */
26215
$ac_includes_default
26219
static int test_array [1 - 2 * !(((long) (sizeof (char *))) >= 0)];
26226
rm -f conftest.$ac_objext
26227
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26228
(eval $ac_compile) 2>conftest.er1
26230
grep -v '^ *+' conftest.er1 >conftest.err
26232
cat conftest.err >&5
26233
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26234
(exit $ac_status); } &&
26235
{ ac_try='test -z "$ac_c_werror_flag"
26236
|| test ! -s conftest.err'
26237
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26238
(eval $ac_try) 2>&5
26240
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26241
(exit $ac_status); }; } &&
26242
{ ac_try='test -s conftest.$ac_objext'
26243
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26244
(eval $ac_try) 2>&5
26246
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26247
(exit $ac_status); }; }; then
26250
cat >conftest.$ac_ext <<_ACEOF
26253
cat confdefs.h >>conftest.$ac_ext
26254
cat >>conftest.$ac_ext <<_ACEOF
26255
/* end confdefs.h. */
26256
$ac_includes_default
26260
static int test_array [1 - 2 * !(((long) (sizeof (char *))) <= $ac_mid)];
26267
rm -f conftest.$ac_objext
26268
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26269
(eval $ac_compile) 2>conftest.er1
26271
grep -v '^ *+' conftest.er1 >conftest.err
26273
cat conftest.err >&5
26274
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26275
(exit $ac_status); } &&
26276
{ ac_try='test -z "$ac_c_werror_flag"
26277
|| test ! -s conftest.err'
26278
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26279
(eval $ac_try) 2>&5
26281
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26282
(exit $ac_status); }; } &&
26283
{ ac_try='test -s conftest.$ac_objext'
26284
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26285
(eval $ac_try) 2>&5
26287
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26288
(exit $ac_status); }; }; then
26289
ac_hi=$ac_mid; break
26291
echo "$as_me: failed program was:" >&5
26292
sed 's/^/| /' conftest.$ac_ext >&5
26294
ac_lo=`expr $ac_mid + 1`
26295
if test $ac_lo -le $ac_mid; then
26299
ac_mid=`expr 2 '*' $ac_mid + 1`
26301
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26304
echo "$as_me: failed program was:" >&5
26305
sed 's/^/| /' conftest.$ac_ext >&5
26307
cat >conftest.$ac_ext <<_ACEOF
26310
cat confdefs.h >>conftest.$ac_ext
26311
cat >>conftest.$ac_ext <<_ACEOF
26312
/* end confdefs.h. */
26313
$ac_includes_default
26317
static int test_array [1 - 2 * !(((long) (sizeof (char *))) < 0)];
26324
rm -f conftest.$ac_objext
26325
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26326
(eval $ac_compile) 2>conftest.er1
26328
grep -v '^ *+' conftest.er1 >conftest.err
26330
cat conftest.err >&5
26331
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26332
(exit $ac_status); } &&
26333
{ ac_try='test -z "$ac_c_werror_flag"
26334
|| test ! -s conftest.err'
26335
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26336
(eval $ac_try) 2>&5
26338
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26339
(exit $ac_status); }; } &&
26340
{ ac_try='test -s conftest.$ac_objext'
26341
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26342
(eval $ac_try) 2>&5
26344
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26345
(exit $ac_status); }; }; then
26348
cat >conftest.$ac_ext <<_ACEOF
26351
cat confdefs.h >>conftest.$ac_ext
26352
cat >>conftest.$ac_ext <<_ACEOF
26353
/* end confdefs.h. */
26354
$ac_includes_default
26358
static int test_array [1 - 2 * !(((long) (sizeof (char *))) >= $ac_mid)];
26365
rm -f conftest.$ac_objext
26366
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26367
(eval $ac_compile) 2>conftest.er1
26369
grep -v '^ *+' conftest.er1 >conftest.err
26371
cat conftest.err >&5
26372
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26373
(exit $ac_status); } &&
26374
{ ac_try='test -z "$ac_c_werror_flag"
26375
|| test ! -s conftest.err'
26376
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26377
(eval $ac_try) 2>&5
26379
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26380
(exit $ac_status); }; } &&
26381
{ ac_try='test -s conftest.$ac_objext'
26382
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26383
(eval $ac_try) 2>&5
26385
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26386
(exit $ac_status); }; }; then
26387
ac_lo=$ac_mid; break
26389
echo "$as_me: failed program was:" >&5
26390
sed 's/^/| /' conftest.$ac_ext >&5
26392
ac_hi=`expr '(' $ac_mid ')' - 1`
26393
if test $ac_mid -le $ac_hi; then
26397
ac_mid=`expr 2 '*' $ac_mid`
26399
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26402
echo "$as_me: failed program was:" >&5
26403
sed 's/^/| /' conftest.$ac_ext >&5
26407
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26409
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26410
# Binary search between lo and hi bounds.
26411
while test "x$ac_lo" != "x$ac_hi"; do
26412
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26413
cat >conftest.$ac_ext <<_ACEOF
26416
cat confdefs.h >>conftest.$ac_ext
26417
cat >>conftest.$ac_ext <<_ACEOF
26418
/* end confdefs.h. */
26419
$ac_includes_default
26423
static int test_array [1 - 2 * !(((long) (sizeof (char *))) <= $ac_mid)];
26430
rm -f conftest.$ac_objext
26431
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26432
(eval $ac_compile) 2>conftest.er1
26434
grep -v '^ *+' conftest.er1 >conftest.err
26436
cat conftest.err >&5
26437
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26438
(exit $ac_status); } &&
26439
{ ac_try='test -z "$ac_c_werror_flag"
26440
|| test ! -s conftest.err'
26441
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26442
(eval $ac_try) 2>&5
26444
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26445
(exit $ac_status); }; } &&
26446
{ ac_try='test -s conftest.$ac_objext'
26447
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26448
(eval $ac_try) 2>&5
26450
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26451
(exit $ac_status); }; }; then
26454
echo "$as_me: failed program was:" >&5
26455
sed 's/^/| /' conftest.$ac_ext >&5
26457
ac_lo=`expr '(' $ac_mid ')' + 1`
26459
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26462
?*) ac_cv_sizeof_char_p=$ac_lo;;
26463
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char *), 77
26464
See \`config.log' for more details." >&5
26465
echo "$as_me: error: cannot compute sizeof (char *), 77
26466
See \`config.log' for more details." >&2;}
26467
{ (exit 1); exit 1; }; } ;;
26470
if test "$cross_compiling" = yes; then
26471
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
26472
See \`config.log' for more details." >&5
26473
echo "$as_me: error: cannot run test program while cross compiling
26474
See \`config.log' for more details." >&2;}
26475
{ (exit 1); exit 1; }; }
26477
cat >conftest.$ac_ext <<_ACEOF
26480
cat confdefs.h >>conftest.$ac_ext
26481
cat >>conftest.$ac_ext <<_ACEOF
26482
/* end confdefs.h. */
26483
$ac_includes_default
26484
long longval () { return (long) (sizeof (char *)); }
26485
unsigned long ulongval () { return (long) (sizeof (char *)); }
26487
#include <stdlib.h>
26492
FILE *f = fopen ("conftest.val", "w");
26495
if (((long) (sizeof (char *))) < 0)
26497
long i = longval ();
26498
if (i != ((long) (sizeof (char *))))
26500
fprintf (f, "%ld\n", i);
26504
unsigned long i = ulongval ();
26505
if (i != ((long) (sizeof (char *))))
26507
fprintf (f, "%lu\n", i);
26509
exit (ferror (f) || fclose (f) != 0);
26515
rm -f conftest$ac_exeext
26516
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26517
(eval $ac_link) 2>&5
26519
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26520
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26521
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26522
(eval $ac_try) 2>&5
26524
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26525
(exit $ac_status); }; }; then
26526
ac_cv_sizeof_char_p=`cat conftest.val`
26528
echo "$as_me: program exited with status $ac_status" >&5
26529
echo "$as_me: failed program was:" >&5
26530
sed 's/^/| /' conftest.$ac_ext >&5
26532
( exit $ac_status )
26533
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (char *), 77
26534
See \`config.log' for more details." >&5
26535
echo "$as_me: error: cannot compute sizeof (char *), 77
26536
See \`config.log' for more details." >&2;}
26537
{ (exit 1); exit 1; }; }
26539
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26544
ac_cv_sizeof_char_p=0
26547
echo "$as_me:$LINENO: result: $ac_cv_sizeof_char_p" >&5
26548
echo "${ECHO_T}$ac_cv_sizeof_char_p" >&6
26549
cat >>confdefs.h <<_ACEOF
26550
#define SIZEOF_CHAR_P $ac_cv_sizeof_char_p
26555
echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
26556
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
26557
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
26558
echo $ECHO_N "(cached) $ECHO_C" >&6
26560
ac_check_lib_save_LIBS=$LIBS
26562
cat >conftest.$ac_ext <<_ACEOF
26565
cat confdefs.h >>conftest.$ac_ext
26566
cat >>conftest.$ac_ext <<_ACEOF
26567
/* end confdefs.h. */
26569
/* Override any gcc2 internal prototype to avoid an error. */
26573
/* We use char because int might match the return type of a gcc2
26574
builtin and then its argument prototype would still apply. */
26584
rm -f conftest.$ac_objext conftest$ac_exeext
26585
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26586
(eval $ac_link) 2>conftest.er1
26588
grep -v '^ *+' conftest.er1 >conftest.err
26590
cat conftest.err >&5
26591
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26592
(exit $ac_status); } &&
26593
{ ac_try='test -z "$ac_c_werror_flag"
26594
|| test ! -s conftest.err'
26595
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26596
(eval $ac_try) 2>&5
26598
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26599
(exit $ac_status); }; } &&
26600
{ ac_try='test -s conftest$ac_exeext'
26601
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26602
(eval $ac_try) 2>&5
26604
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26605
(exit $ac_status); }; }; then
26606
ac_cv_lib_dl_dlopen=yes
26608
echo "$as_me: failed program was:" >&5
26609
sed 's/^/| /' conftest.$ac_ext >&5
26611
ac_cv_lib_dl_dlopen=no
26613
rm -f conftest.err conftest.$ac_objext \
26614
conftest$ac_exeext conftest.$ac_ext
26615
LIBS=$ac_check_lib_save_LIBS
26617
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
26618
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
26619
if test $ac_cv_lib_dl_dlopen = yes; then
26622
ac_cv_have_dlfcn=yes
26627
echo "$as_me:$LINENO: checking for shl_unload in -ldld" >&5
26628
echo $ECHO_N "checking for shl_unload in -ldld... $ECHO_C" >&6
26629
if test "${ac_cv_lib_dld_shl_unload+set}" = set; then
26630
echo $ECHO_N "(cached) $ECHO_C" >&6
26632
ac_check_lib_save_LIBS=$LIBS
26634
cat >conftest.$ac_ext <<_ACEOF
26637
cat confdefs.h >>conftest.$ac_ext
26638
cat >>conftest.$ac_ext <<_ACEOF
26639
/* end confdefs.h. */
26641
/* Override any gcc2 internal prototype to avoid an error. */
26645
/* We use char because int might match the return type of a gcc2
26646
builtin and then its argument prototype would still apply. */
26647
char shl_unload ();
26656
rm -f conftest.$ac_objext conftest$ac_exeext
26657
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26658
(eval $ac_link) 2>conftest.er1
26660
grep -v '^ *+' conftest.er1 >conftest.err
26662
cat conftest.err >&5
26663
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26664
(exit $ac_status); } &&
26665
{ ac_try='test -z "$ac_c_werror_flag"
26666
|| test ! -s conftest.err'
26667
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26668
(eval $ac_try) 2>&5
26670
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26671
(exit $ac_status); }; } &&
26672
{ ac_try='test -s conftest$ac_exeext'
26673
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26674
(eval $ac_try) 2>&5
26676
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26677
(exit $ac_status); }; }; then
26678
ac_cv_lib_dld_shl_unload=yes
26680
echo "$as_me: failed program was:" >&5
26681
sed 's/^/| /' conftest.$ac_ext >&5
26683
ac_cv_lib_dld_shl_unload=no
26685
rm -f conftest.err conftest.$ac_objext \
26686
conftest$ac_exeext conftest.$ac_ext
26687
LIBS=$ac_check_lib_save_LIBS
26689
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_unload" >&5
26690
echo "${ECHO_T}$ac_cv_lib_dld_shl_unload" >&6
26691
if test $ac_cv_lib_dld_shl_unload = yes; then
26694
ac_cv_have_shload=yes
26704
echo "$as_me:$LINENO: checking for size_t" >&5
26705
echo $ECHO_N "checking for size_t... $ECHO_C" >&6
26706
if test "${ac_cv_type_size_t+set}" = set; then
26707
echo $ECHO_N "(cached) $ECHO_C" >&6
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
26721
if (sizeof (size_t))
26727
rm -f conftest.$ac_objext
26728
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26729
(eval $ac_compile) 2>conftest.er1
26731
grep -v '^ *+' conftest.er1 >conftest.err
26733
cat conftest.err >&5
26734
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26735
(exit $ac_status); } &&
26736
{ ac_try='test -z "$ac_c_werror_flag"
26737
|| test ! -s conftest.err'
26738
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26739
(eval $ac_try) 2>&5
26741
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26742
(exit $ac_status); }; } &&
26743
{ ac_try='test -s conftest.$ac_objext'
26744
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26745
(eval $ac_try) 2>&5
26747
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26748
(exit $ac_status); }; }; then
26749
ac_cv_type_size_t=yes
26751
echo "$as_me: failed program was:" >&5
26752
sed 's/^/| /' conftest.$ac_ext >&5
26754
ac_cv_type_size_t=no
26756
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26758
echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
26759
echo "${ECHO_T}$ac_cv_type_size_t" >&6
26761
echo "$as_me:$LINENO: checking size of size_t" >&5
26762
echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
26763
if test "${ac_cv_sizeof_size_t+set}" = set; then
26764
echo $ECHO_N "(cached) $ECHO_C" >&6
26766
if test "$ac_cv_type_size_t" = yes; then
26767
# The cast to unsigned long works around a bug in the HP C Compiler
26768
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26769
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26770
# This bug is HP SR number 8606223364.
26771
if test "$cross_compiling" = yes; then
26772
# Depending upon the size, compute the lo and hi bounds.
26773
cat >conftest.$ac_ext <<_ACEOF
26776
cat confdefs.h >>conftest.$ac_ext
26777
cat >>conftest.$ac_ext <<_ACEOF
26778
/* end confdefs.h. */
26779
$ac_includes_default
26783
static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
26790
rm -f conftest.$ac_objext
26791
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26792
(eval $ac_compile) 2>conftest.er1
26794
grep -v '^ *+' conftest.er1 >conftest.err
26796
cat conftest.err >&5
26797
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26798
(exit $ac_status); } &&
26799
{ ac_try='test -z "$ac_c_werror_flag"
26800
|| test ! -s conftest.err'
26801
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26802
(eval $ac_try) 2>&5
26804
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26805
(exit $ac_status); }; } &&
26806
{ ac_try='test -s conftest.$ac_objext'
26807
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26808
(eval $ac_try) 2>&5
26810
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26811
(exit $ac_status); }; }; then
26814
cat >conftest.$ac_ext <<_ACEOF
26817
cat confdefs.h >>conftest.$ac_ext
26818
cat >>conftest.$ac_ext <<_ACEOF
26819
/* end confdefs.h. */
26820
$ac_includes_default
26824
static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
26831
rm -f conftest.$ac_objext
26832
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26833
(eval $ac_compile) 2>conftest.er1
26835
grep -v '^ *+' conftest.er1 >conftest.err
26837
cat conftest.err >&5
26838
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26839
(exit $ac_status); } &&
26840
{ ac_try='test -z "$ac_c_werror_flag"
26841
|| test ! -s conftest.err'
26842
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26843
(eval $ac_try) 2>&5
26845
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26846
(exit $ac_status); }; } &&
26847
{ ac_try='test -s conftest.$ac_objext'
26848
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26849
(eval $ac_try) 2>&5
26851
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26852
(exit $ac_status); }; }; then
26853
ac_hi=$ac_mid; break
26855
echo "$as_me: failed program was:" >&5
26856
sed 's/^/| /' conftest.$ac_ext >&5
26858
ac_lo=`expr $ac_mid + 1`
26859
if test $ac_lo -le $ac_mid; then
26863
ac_mid=`expr 2 '*' $ac_mid + 1`
26865
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26868
echo "$as_me: failed program was:" >&5
26869
sed 's/^/| /' conftest.$ac_ext >&5
26871
cat >conftest.$ac_ext <<_ACEOF
26874
cat confdefs.h >>conftest.$ac_ext
26875
cat >>conftest.$ac_ext <<_ACEOF
26876
/* end confdefs.h. */
26877
$ac_includes_default
26881
static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
26888
rm -f conftest.$ac_objext
26889
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26890
(eval $ac_compile) 2>conftest.er1
26892
grep -v '^ *+' conftest.er1 >conftest.err
26894
cat conftest.err >&5
26895
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26896
(exit $ac_status); } &&
26897
{ ac_try='test -z "$ac_c_werror_flag"
26898
|| test ! -s conftest.err'
26899
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26900
(eval $ac_try) 2>&5
26902
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26903
(exit $ac_status); }; } &&
26904
{ ac_try='test -s conftest.$ac_objext'
26905
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26906
(eval $ac_try) 2>&5
26908
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26909
(exit $ac_status); }; }; then
26912
cat >conftest.$ac_ext <<_ACEOF
26915
cat confdefs.h >>conftest.$ac_ext
26916
cat >>conftest.$ac_ext <<_ACEOF
26917
/* end confdefs.h. */
26918
$ac_includes_default
26922
static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
26929
rm -f conftest.$ac_objext
26930
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26931
(eval $ac_compile) 2>conftest.er1
26933
grep -v '^ *+' conftest.er1 >conftest.err
26935
cat conftest.err >&5
26936
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26937
(exit $ac_status); } &&
26938
{ ac_try='test -z "$ac_c_werror_flag"
26939
|| test ! -s conftest.err'
26940
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26941
(eval $ac_try) 2>&5
26943
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26944
(exit $ac_status); }; } &&
26945
{ ac_try='test -s conftest.$ac_objext'
26946
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26947
(eval $ac_try) 2>&5
26949
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26950
(exit $ac_status); }; }; then
26951
ac_lo=$ac_mid; break
26953
echo "$as_me: failed program was:" >&5
26954
sed 's/^/| /' conftest.$ac_ext >&5
26956
ac_hi=`expr '(' $ac_mid ')' - 1`
26957
if test $ac_mid -le $ac_hi; then
26961
ac_mid=`expr 2 '*' $ac_mid`
26963
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26966
echo "$as_me: failed program was:" >&5
26967
sed 's/^/| /' conftest.$ac_ext >&5
26971
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26973
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26974
# Binary search between lo and hi bounds.
26975
while test "x$ac_lo" != "x$ac_hi"; do
26976
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26977
cat >conftest.$ac_ext <<_ACEOF
26980
cat confdefs.h >>conftest.$ac_ext
26981
cat >>conftest.$ac_ext <<_ACEOF
26982
/* end confdefs.h. */
26983
$ac_includes_default
26987
static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
26994
rm -f conftest.$ac_objext
26995
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26996
(eval $ac_compile) 2>conftest.er1
26998
grep -v '^ *+' conftest.er1 >conftest.err
27000
cat conftest.err >&5
27001
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27002
(exit $ac_status); } &&
27003
{ ac_try='test -z "$ac_c_werror_flag"
27004
|| test ! -s conftest.err'
27005
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27006
(eval $ac_try) 2>&5
27008
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27009
(exit $ac_status); }; } &&
27010
{ ac_try='test -s conftest.$ac_objext'
27011
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27012
(eval $ac_try) 2>&5
27014
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27015
(exit $ac_status); }; }; then
27018
echo "$as_me: failed program was:" >&5
27019
sed 's/^/| /' conftest.$ac_ext >&5
27021
ac_lo=`expr '(' $ac_mid ')' + 1`
27023
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27026
?*) ac_cv_sizeof_size_t=$ac_lo;;
27027
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
27028
See \`config.log' for more details." >&5
27029
echo "$as_me: error: cannot compute sizeof (size_t), 77
27030
See \`config.log' for more details." >&2;}
27031
{ (exit 1); exit 1; }; } ;;
27034
if test "$cross_compiling" = yes; then
27035
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
27036
See \`config.log' for more details." >&5
27037
echo "$as_me: error: cannot run test program while cross compiling
27038
See \`config.log' for more details." >&2;}
27039
{ (exit 1); exit 1; }; }
27041
cat >conftest.$ac_ext <<_ACEOF
27044
cat confdefs.h >>conftest.$ac_ext
27045
cat >>conftest.$ac_ext <<_ACEOF
27046
/* end confdefs.h. */
27047
$ac_includes_default
27048
long longval () { return (long) (sizeof (size_t)); }
27049
unsigned long ulongval () { return (long) (sizeof (size_t)); }
27051
#include <stdlib.h>
27056
FILE *f = fopen ("conftest.val", "w");
27059
if (((long) (sizeof (size_t))) < 0)
27061
long i = longval ();
27062
if (i != ((long) (sizeof (size_t))))
27064
fprintf (f, "%ld\n", i);
27068
unsigned long i = ulongval ();
27069
if (i != ((long) (sizeof (size_t))))
27071
fprintf (f, "%lu\n", i);
27073
exit (ferror (f) || fclose (f) != 0);
27079
rm -f conftest$ac_exeext
27080
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27081
(eval $ac_link) 2>&5
27083
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27084
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27085
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27086
(eval $ac_try) 2>&5
27088
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27089
(exit $ac_status); }; }; then
27090
ac_cv_sizeof_size_t=`cat conftest.val`
27092
echo "$as_me: program exited with status $ac_status" >&5
27093
echo "$as_me: failed program was:" >&5
27094
sed 's/^/| /' conftest.$ac_ext >&5
27096
( exit $ac_status )
27097
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
27098
See \`config.log' for more details." >&5
27099
echo "$as_me: error: cannot compute sizeof (size_t), 77
27100
See \`config.log' for more details." >&2;}
27101
{ (exit 1); exit 1; }; }
27103
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27108
ac_cv_sizeof_size_t=0
27111
echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
27112
echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
27113
cat >>confdefs.h <<_ACEOF
27114
#define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
27118
echo "$as_me:$LINENO: checking for unsigned long" >&5
27119
echo $ECHO_N "checking for unsigned long... $ECHO_C" >&6
27120
if test "${ac_cv_type_unsigned_long+set}" = set; then
27121
echo $ECHO_N "(cached) $ECHO_C" >&6
27123
cat >conftest.$ac_ext <<_ACEOF
27126
cat confdefs.h >>conftest.$ac_ext
27127
cat >>conftest.$ac_ext <<_ACEOF
27128
/* end confdefs.h. */
27129
$ac_includes_default
27133
if ((unsigned long *) 0)
27135
if (sizeof (unsigned long))
27141
rm -f conftest.$ac_objext
27142
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27143
(eval $ac_compile) 2>conftest.er1
27145
grep -v '^ *+' conftest.er1 >conftest.err
27147
cat conftest.err >&5
27148
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27149
(exit $ac_status); } &&
27150
{ ac_try='test -z "$ac_c_werror_flag"
27151
|| test ! -s conftest.err'
27152
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27153
(eval $ac_try) 2>&5
27155
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27156
(exit $ac_status); }; } &&
27157
{ ac_try='test -s conftest.$ac_objext'
27158
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27159
(eval $ac_try) 2>&5
27161
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27162
(exit $ac_status); }; }; then
27163
ac_cv_type_unsigned_long=yes
27165
echo "$as_me: failed program was:" >&5
27166
sed 's/^/| /' conftest.$ac_ext >&5
27168
ac_cv_type_unsigned_long=no
27170
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27172
echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long" >&5
27173
echo "${ECHO_T}$ac_cv_type_unsigned_long" >&6
27175
echo "$as_me:$LINENO: checking size of unsigned long" >&5
27176
echo $ECHO_N "checking size of unsigned long... $ECHO_C" >&6
27177
if test "${ac_cv_sizeof_unsigned_long+set}" = set; then
27178
echo $ECHO_N "(cached) $ECHO_C" >&6
27180
if test "$ac_cv_type_unsigned_long" = yes; then
27181
# The cast to unsigned long works around a bug in the HP C Compiler
27182
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27183
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27184
# This bug is HP SR number 8606223364.
27185
if test "$cross_compiling" = yes; then
27186
# Depending upon the size, compute the lo and hi bounds.
27187
cat >conftest.$ac_ext <<_ACEOF
27190
cat confdefs.h >>conftest.$ac_ext
27191
cat >>conftest.$ac_ext <<_ACEOF
27192
/* end confdefs.h. */
27193
$ac_includes_default
27197
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) >= 0)];
27204
rm -f conftest.$ac_objext
27205
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27206
(eval $ac_compile) 2>conftest.er1
27208
grep -v '^ *+' conftest.er1 >conftest.err
27210
cat conftest.err >&5
27211
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27212
(exit $ac_status); } &&
27213
{ ac_try='test -z "$ac_c_werror_flag"
27214
|| test ! -s conftest.err'
27215
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27216
(eval $ac_try) 2>&5
27218
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27219
(exit $ac_status); }; } &&
27220
{ ac_try='test -s conftest.$ac_objext'
27221
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27222
(eval $ac_try) 2>&5
27224
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27225
(exit $ac_status); }; }; then
27228
cat >conftest.$ac_ext <<_ACEOF
27231
cat confdefs.h >>conftest.$ac_ext
27232
cat >>conftest.$ac_ext <<_ACEOF
27233
/* end confdefs.h. */
27234
$ac_includes_default
27238
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) <= $ac_mid)];
27245
rm -f conftest.$ac_objext
27246
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27247
(eval $ac_compile) 2>conftest.er1
27249
grep -v '^ *+' conftest.er1 >conftest.err
27251
cat conftest.err >&5
27252
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27253
(exit $ac_status); } &&
27254
{ ac_try='test -z "$ac_c_werror_flag"
27255
|| test ! -s conftest.err'
27256
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27257
(eval $ac_try) 2>&5
27259
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27260
(exit $ac_status); }; } &&
27261
{ ac_try='test -s conftest.$ac_objext'
27262
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27263
(eval $ac_try) 2>&5
27265
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27266
(exit $ac_status); }; }; then
27267
ac_hi=$ac_mid; break
27269
echo "$as_me: failed program was:" >&5
27270
sed 's/^/| /' conftest.$ac_ext >&5
27272
ac_lo=`expr $ac_mid + 1`
27273
if test $ac_lo -le $ac_mid; then
27277
ac_mid=`expr 2 '*' $ac_mid + 1`
27279
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27282
echo "$as_me: failed program was:" >&5
27283
sed 's/^/| /' conftest.$ac_ext >&5
27285
cat >conftest.$ac_ext <<_ACEOF
27288
cat confdefs.h >>conftest.$ac_ext
27289
cat >>conftest.$ac_ext <<_ACEOF
27290
/* end confdefs.h. */
27291
$ac_includes_default
27295
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) < 0)];
27302
rm -f conftest.$ac_objext
27303
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27304
(eval $ac_compile) 2>conftest.er1
27306
grep -v '^ *+' conftest.er1 >conftest.err
27308
cat conftest.err >&5
27309
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27310
(exit $ac_status); } &&
27311
{ ac_try='test -z "$ac_c_werror_flag"
27312
|| test ! -s conftest.err'
27313
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27314
(eval $ac_try) 2>&5
27316
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27317
(exit $ac_status); }; } &&
27318
{ ac_try='test -s conftest.$ac_objext'
27319
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27320
(eval $ac_try) 2>&5
27322
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27323
(exit $ac_status); }; }; then
27326
cat >conftest.$ac_ext <<_ACEOF
27329
cat confdefs.h >>conftest.$ac_ext
27330
cat >>conftest.$ac_ext <<_ACEOF
27331
/* end confdefs.h. */
27332
$ac_includes_default
27336
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) >= $ac_mid)];
27343
rm -f conftest.$ac_objext
27344
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27345
(eval $ac_compile) 2>conftest.er1
27347
grep -v '^ *+' conftest.er1 >conftest.err
27349
cat conftest.err >&5
27350
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27351
(exit $ac_status); } &&
27352
{ ac_try='test -z "$ac_c_werror_flag"
27353
|| test ! -s conftest.err'
27354
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27355
(eval $ac_try) 2>&5
27357
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27358
(exit $ac_status); }; } &&
27359
{ ac_try='test -s conftest.$ac_objext'
27360
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27361
(eval $ac_try) 2>&5
27363
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27364
(exit $ac_status); }; }; then
27365
ac_lo=$ac_mid; break
27367
echo "$as_me: failed program was:" >&5
27368
sed 's/^/| /' conftest.$ac_ext >&5
27370
ac_hi=`expr '(' $ac_mid ')' - 1`
27371
if test $ac_mid -le $ac_hi; then
27375
ac_mid=`expr 2 '*' $ac_mid`
27377
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27380
echo "$as_me: failed program was:" >&5
27381
sed 's/^/| /' conftest.$ac_ext >&5
27385
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27387
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27388
# Binary search between lo and hi bounds.
27389
while test "x$ac_lo" != "x$ac_hi"; do
27390
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27391
cat >conftest.$ac_ext <<_ACEOF
27394
cat confdefs.h >>conftest.$ac_ext
27395
cat >>conftest.$ac_ext <<_ACEOF
27396
/* end confdefs.h. */
27397
$ac_includes_default
27401
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) <= $ac_mid)];
27408
rm -f conftest.$ac_objext
27409
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27410
(eval $ac_compile) 2>conftest.er1
27412
grep -v '^ *+' conftest.er1 >conftest.err
27414
cat conftest.err >&5
27415
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27416
(exit $ac_status); } &&
27417
{ ac_try='test -z "$ac_c_werror_flag"
27418
|| test ! -s conftest.err'
27419
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27420
(eval $ac_try) 2>&5
27422
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27423
(exit $ac_status); }; } &&
27424
{ ac_try='test -s conftest.$ac_objext'
27425
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27426
(eval $ac_try) 2>&5
27428
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27429
(exit $ac_status); }; }; then
27432
echo "$as_me: failed program was:" >&5
27433
sed 's/^/| /' conftest.$ac_ext >&5
27435
ac_lo=`expr '(' $ac_mid ')' + 1`
27437
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27440
?*) ac_cv_sizeof_unsigned_long=$ac_lo;;
27441
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long), 77
27442
See \`config.log' for more details." >&5
27443
echo "$as_me: error: cannot compute sizeof (unsigned long), 77
27444
See \`config.log' for more details." >&2;}
27445
{ (exit 1); exit 1; }; } ;;
27448
if test "$cross_compiling" = yes; then
27449
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
27450
See \`config.log' for more details." >&5
27451
echo "$as_me: error: cannot run test program while cross compiling
27452
See \`config.log' for more details." >&2;}
27453
{ (exit 1); exit 1; }; }
27455
cat >conftest.$ac_ext <<_ACEOF
27458
cat confdefs.h >>conftest.$ac_ext
27459
cat >>conftest.$ac_ext <<_ACEOF
27460
/* end confdefs.h. */
27461
$ac_includes_default
27462
long longval () { return (long) (sizeof (unsigned long)); }
27463
unsigned long ulongval () { return (long) (sizeof (unsigned long)); }
27465
#include <stdlib.h>
27470
FILE *f = fopen ("conftest.val", "w");
27473
if (((long) (sizeof (unsigned long))) < 0)
27475
long i = longval ();
27476
if (i != ((long) (sizeof (unsigned long))))
27478
fprintf (f, "%ld\n", i);
27482
unsigned long i = ulongval ();
27483
if (i != ((long) (sizeof (unsigned long))))
27485
fprintf (f, "%lu\n", i);
27487
exit (ferror (f) || fclose (f) != 0);
27493
rm -f conftest$ac_exeext
27494
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27495
(eval $ac_link) 2>&5
27497
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27498
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27499
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27500
(eval $ac_try) 2>&5
27502
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27503
(exit $ac_status); }; }; then
27504
ac_cv_sizeof_unsigned_long=`cat conftest.val`
27506
echo "$as_me: program exited with status $ac_status" >&5
27507
echo "$as_me: failed program was:" >&5
27508
sed 's/^/| /' conftest.$ac_ext >&5
27510
( exit $ac_status )
27511
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long), 77
27512
See \`config.log' for more details." >&5
27513
echo "$as_me: error: cannot compute sizeof (unsigned long), 77
27514
See \`config.log' for more details." >&2;}
27515
{ (exit 1); exit 1; }; }
27517
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27522
ac_cv_sizeof_unsigned_long=0
27525
echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long" >&5
27526
echo "${ECHO_T}$ac_cv_sizeof_unsigned_long" >&6
27527
cat >>confdefs.h <<_ACEOF
27528
#define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
27533
echo "$as_me:$LINENO: checking sizeof size_t == sizeof unsigned long" >&5
27534
echo $ECHO_N "checking sizeof size_t == sizeof unsigned long... $ECHO_C" >&6
27535
cat >conftest.$ac_ext <<_ACEOF
27538
cat confdefs.h >>conftest.$ac_ext
27539
cat >>conftest.$ac_ext <<_ACEOF
27540
/* end confdefs.h. */
27546
#if SIZEOF_SIZE_T != SIZEOF_UNSIGNED_LONG
27554
rm -f conftest.$ac_objext
27555
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27556
(eval $ac_compile) 2>conftest.er1
27558
grep -v '^ *+' conftest.er1 >conftest.err
27560
cat conftest.err >&5
27561
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27562
(exit $ac_status); } &&
27563
{ ac_try='test -z "$ac_c_werror_flag"
27564
|| test ! -s conftest.err'
27565
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27566
(eval $ac_try) 2>&5
27568
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27569
(exit $ac_status); }; } &&
27570
{ ac_try='test -s conftest.$ac_objext'
27571
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27572
(eval $ac_try) 2>&5
27574
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27575
(exit $ac_status); }; }; then
27576
echo "$as_me:$LINENO: result: yes" >&5
27577
echo "${ECHO_T}yes" >&6
27579
echo "$as_me: failed program was:" >&5
27580
sed 's/^/| /' conftest.$ac_ext >&5
27583
echo "$as_me:$LINENO: result: no" >&5
27584
echo "${ECHO_T}no" >&6
27585
{ { echo "$as_me:$LINENO: error:
27586
Apparently on your system our assumption sizeof size_t == sizeof unsigned long
27587
does not apply. Please mail kde-devel@kde.org with a description of your system!
27589
echo "$as_me: error:
27590
Apparently on your system our assumption sizeof size_t == sizeof unsigned long
27591
does not apply. Please mail kde-devel@kde.org with a description of your system!
27593
{ (exit 1); exit 1; }; }
27596
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27599
# darwin needs this to initialize the environment
27601
for ac_header in crt_externs.h
27603
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27604
if eval "test \"\${$as_ac_Header+set}\" = set"; then
27605
echo "$as_me:$LINENO: checking for $ac_header" >&5
27606
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27607
if eval "test \"\${$as_ac_Header+set}\" = set"; then
27608
echo $ECHO_N "(cached) $ECHO_C" >&6
27610
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27611
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27613
# Is the header compilable?
27614
echo "$as_me:$LINENO: checking $ac_header usability" >&5
27615
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27616
cat >conftest.$ac_ext <<_ACEOF
27619
cat confdefs.h >>conftest.$ac_ext
27620
cat >>conftest.$ac_ext <<_ACEOF
27621
/* end confdefs.h. */
27622
$ac_includes_default
27623
#include <$ac_header>
27625
rm -f conftest.$ac_objext
27626
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27627
(eval $ac_compile) 2>conftest.er1
27629
grep -v '^ *+' conftest.er1 >conftest.err
27631
cat conftest.err >&5
27632
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27633
(exit $ac_status); } &&
27634
{ ac_try='test -z "$ac_c_werror_flag"
27635
|| test ! -s conftest.err'
27636
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27637
(eval $ac_try) 2>&5
27639
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27640
(exit $ac_status); }; } &&
27641
{ ac_try='test -s conftest.$ac_objext'
27642
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27643
(eval $ac_try) 2>&5
27645
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27646
(exit $ac_status); }; }; then
27647
ac_header_compiler=yes
27649
echo "$as_me: failed program was:" >&5
27650
sed 's/^/| /' conftest.$ac_ext >&5
27652
ac_header_compiler=no
27654
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27655
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27656
echo "${ECHO_T}$ac_header_compiler" >&6
27658
# Is the header present?
27659
echo "$as_me:$LINENO: checking $ac_header presence" >&5
27660
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27661
cat >conftest.$ac_ext <<_ACEOF
27664
cat confdefs.h >>conftest.$ac_ext
27665
cat >>conftest.$ac_ext <<_ACEOF
27666
/* end confdefs.h. */
27667
#include <$ac_header>
27669
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27670
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27672
grep -v '^ *+' conftest.er1 >conftest.err
27674
cat conftest.err >&5
27675
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27676
(exit $ac_status); } >/dev/null; then
27677
if test -s conftest.err; then
27678
ac_cpp_err=$ac_c_preproc_warn_flag
27679
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27686
if test -z "$ac_cpp_err"; then
27687
ac_header_preproc=yes
27689
echo "$as_me: failed program was:" >&5
27690
sed 's/^/| /' conftest.$ac_ext >&5
27692
ac_header_preproc=no
27694
rm -f conftest.err conftest.$ac_ext
27695
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27696
echo "${ECHO_T}$ac_header_preproc" >&6
27698
# So? What about this header?
27699
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27701
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27702
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27703
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27704
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27705
ac_header_preproc=yes
27708
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27709
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27710
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27711
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27712
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27713
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27714
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27715
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27716
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27717
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27718
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27719
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27722
## ------------------------------------------ ##
27723
## Report this to the AC_PACKAGE_NAME lists. ##
27724
## ------------------------------------------ ##
27727
sed "s/^/$as_me: WARNING: /" >&2
27730
echo "$as_me:$LINENO: checking for $ac_header" >&5
27731
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27732
if eval "test \"\${$as_ac_Header+set}\" = set"; then
27733
echo $ECHO_N "(cached) $ECHO_C" >&6
27735
eval "$as_ac_Header=\$ac_header_preproc"
27737
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27738
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27741
if test `eval echo '${'$as_ac_Header'}'` = yes; then
27742
cat >>confdefs.h <<_ACEOF
27743
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27750
echo "$as_me:$LINENO: checking for _NSGetEnviron" >&5
27751
echo $ECHO_N "checking for _NSGetEnviron... $ECHO_C" >&6
27752
if test "${ac_cv_func__NSGetEnviron+set}" = set; then
27753
echo $ECHO_N "(cached) $ECHO_C" >&6
27755
cat >conftest.$ac_ext <<_ACEOF
27758
cat confdefs.h >>conftest.$ac_ext
27759
cat >>conftest.$ac_ext <<_ACEOF
27760
/* end confdefs.h. */
27761
/* Define _NSGetEnviron to an innocuous variant, in case <limits.h> declares _NSGetEnviron.
27762
For example, HP-UX 11i <limits.h> declares gettimeofday. */
27763
#define _NSGetEnviron innocuous__NSGetEnviron
27765
/* System header to define __stub macros and hopefully few prototypes,
27766
which can conflict with char _NSGetEnviron (); below.
27767
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27768
<limits.h> exists even on freestanding compilers. */
27771
# include <limits.h>
27773
# include <assert.h>
27776
#undef _NSGetEnviron
27778
/* Override any gcc2 internal prototype to avoid an error. */
27783
/* We use char because int might match the return type of a gcc2
27784
builtin and then its argument prototype would still apply. */
27785
char _NSGetEnviron ();
27786
/* The GNU C library defines this for functions which it implements
27787
to always fail with ENOSYS. Some functions are actually named
27788
something starting with __ and the normal name is an alias. */
27789
#if defined (__stub__NSGetEnviron) || defined (__stub____NSGetEnviron)
27792
char (*f) () = _NSGetEnviron;
27801
return f != _NSGetEnviron;
27806
rm -f conftest.$ac_objext conftest$ac_exeext
27807
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27808
(eval $ac_link) 2>conftest.er1
27810
grep -v '^ *+' conftest.er1 >conftest.err
27812
cat conftest.err >&5
27813
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27814
(exit $ac_status); } &&
27815
{ ac_try='test -z "$ac_c_werror_flag"
27816
|| test ! -s conftest.err'
27817
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27818
(eval $ac_try) 2>&5
27820
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27821
(exit $ac_status); }; } &&
27822
{ ac_try='test -s conftest$ac_exeext'
27823
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27824
(eval $ac_try) 2>&5
27826
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27827
(exit $ac_status); }; }; then
27828
ac_cv_func__NSGetEnviron=yes
27830
echo "$as_me: failed program was:" >&5
27831
sed 's/^/| /' conftest.$ac_ext >&5
27833
ac_cv_func__NSGetEnviron=no
27835
rm -f conftest.err conftest.$ac_objext \
27836
conftest$ac_exeext conftest.$ac_ext
27838
echo "$as_me:$LINENO: result: $ac_cv_func__NSGetEnviron" >&5
27839
echo "${ECHO_T}$ac_cv_func__NSGetEnviron" >&6
27840
if test $ac_cv_func__NSGetEnviron = yes; then
27842
cat >>confdefs.h <<\_ACEOF
27843
#define HAVE_NSGETENVIRON 1
27857
for ac_func in vsnprintf snprintf
27859
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27860
echo "$as_me:$LINENO: checking for $ac_func" >&5
27861
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27862
if eval "test \"\${$as_ac_var+set}\" = set"; then
27863
echo $ECHO_N "(cached) $ECHO_C" >&6
27865
cat >conftest.$ac_ext <<_ACEOF
27868
cat confdefs.h >>conftest.$ac_ext
27869
cat >>conftest.$ac_ext <<_ACEOF
27870
/* end confdefs.h. */
27871
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27872
For example, HP-UX 11i <limits.h> declares gettimeofday. */
27873
#define $ac_func innocuous_$ac_func
27875
/* System header to define __stub macros and hopefully few prototypes,
27876
which can conflict with char $ac_func (); below.
27877
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27878
<limits.h> exists even on freestanding compilers. */
27881
# include <limits.h>
27883
# include <assert.h>
27888
/* Override any gcc2 internal prototype to avoid an error. */
27893
/* We use char because int might match the return type of a gcc2
27894
builtin and then its argument prototype would still apply. */
27896
/* The GNU C library defines this for functions which it implements
27897
to always fail with ENOSYS. Some functions are actually named
27898
something starting with __ and the normal name is an alias. */
27899
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27902
char (*f) () = $ac_func;
27911
return f != $ac_func;
27916
rm -f conftest.$ac_objext conftest$ac_exeext
27917
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27918
(eval $ac_link) 2>conftest.er1
27920
grep -v '^ *+' conftest.er1 >conftest.err
27922
cat conftest.err >&5
27923
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27924
(exit $ac_status); } &&
27925
{ ac_try='test -z "$ac_c_werror_flag"
27926
|| test ! -s conftest.err'
27927
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27928
(eval $ac_try) 2>&5
27930
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27931
(exit $ac_status); }; } &&
27932
{ ac_try='test -s conftest$ac_exeext'
27933
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27934
(eval $ac_try) 2>&5
27936
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27937
(exit $ac_status); }; }; then
27938
eval "$as_ac_var=yes"
27940
echo "$as_me: failed program was:" >&5
27941
sed 's/^/| /' conftest.$ac_ext >&5
27943
eval "$as_ac_var=no"
27945
rm -f conftest.err conftest.$ac_objext \
27946
conftest$ac_exeext conftest.$ac_ext
27948
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27949
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27950
if test `eval echo '${'$as_ac_var'}'` = yes; then
27951
cat >>confdefs.h <<_ACEOF
27952
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27966
# Check whether --enable-embedded or --disable-embedded was given.
27967
if test "${enable_embedded+set}" = set; then
27968
enableval="$enable_embedded"
27969
kde_use_qt_emb=$enableval
27975
# Check whether --enable-qtopia or --disable-qtopia was given.
27976
if test "${enable_qtopia+set}" = set; then
27977
enableval="$enable_qtopia"
27978
kde_use_qt_emb_palm=$enableval
27980
kde_use_qt_emb_palm=no
27984
# Check whether --enable-mac or --disable-mac was given.
27985
if test "${enable_mac+set}" = set; then
27986
enableval="$enable_mac"
27987
kde_use_qt_mac=$enableval
27993
# used to disable x11-specific stuff on special platforms
27996
if test "$kde_use_qt_emb" = "no" && test "$kde_use_qt_mac" = "no"; then
27998
include_x11_FALSE='#'
28000
include_x11_TRUE='#'
28005
if test "$kde_use_qt_emb" = "no" && test "$kde_use_qt_mac" = "no"; then
28007
echo "$as_me:$LINENO: checking for X" >&5
28008
echo $ECHO_N "checking for X... $ECHO_C" >&6
28010
if test "${kde_cv_have_x+set}" = set; then
28011
echo $ECHO_N "(cached) $ECHO_C" >&6
28013
# One or both of the vars are not set, and there is no cached value.
28014
if test "{$x_includes+set}" = set || test "$x_includes" = NONE; then
28017
kde_x_includes=$x_includes
28019
if test "{$x_libraries+set}" = set || test "$x_libraries" = NONE; then
28022
kde_x_libraries=$x_libraries
28025
# below we use the standard autoconf calls
28026
ac_x_libraries=$kde_x_libraries
28027
ac_x_includes=$kde_x_includes
28032
if test "$ac_x_includes" = NO; then
28033
# Guess where to find include files, by looking for this one X11 .h file.
28034
test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h
28036
# First, try using that file with no special directory specified.
28037
cat >conftest.$ac_ext <<_ACEOF
28040
cat confdefs.h >>conftest.$ac_ext
28041
cat >>conftest.$ac_ext <<_ACEOF
28042
/* end confdefs.h. */
28043
#include <$x_direct_test_include>
28045
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28046
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28048
grep -v '^ *+' conftest.er1 >conftest.err
28050
cat conftest.err >&5
28051
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28052
(exit $ac_status); } >/dev/null; then
28053
if test -s conftest.err; then
28054
ac_cpp_err=$ac_c_preproc_warn_flag
28055
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28062
if test -z "$ac_cpp_err"; then
28063
# We can compile using X headers with no special include directory.
28066
echo "$as_me: failed program was:" >&5
28067
sed 's/^/| /' conftest.$ac_ext >&5
28069
# Look for the header file in a standard set of common directories.
28070
# Check X11 before X11Rn because it is often a symlink to the current release.
28073
/usr/X11R6/include \
28074
/usr/X11R5/include \
28075
/usr/X11R4/include \
28078
/usr/include/X11R6 \
28079
/usr/include/X11R5 \
28080
/usr/include/X11R4 \
28082
/usr/local/X11/include \
28083
/usr/local/X11R6/include \
28084
/usr/local/X11R5/include \
28085
/usr/local/X11R4/include \
28087
/usr/local/include/X11 \
28088
/usr/local/include/X11R6 \
28089
/usr/local/include/X11R5 \
28090
/usr/local/include/X11R4 \
28092
/usr/X386/include \
28093
/usr/x386/include \
28094
/usr/XFree86/include/X11 \
28097
/usr/local/include \
28098
/usr/unsupported/include \
28099
/usr/athena/include \
28100
/usr/local/x11r5/include \
28101
/usr/lpp/Xamples/include \
28103
/usr/openwin/include \
28104
/usr/openwin/share/include \
28107
if test -r "$ac_dir/$x_direct_test_include"; then
28108
ac_x_includes=$ac_dir
28113
rm -f conftest.err conftest.$ac_ext
28114
fi # $ac_x_includes = NO
28116
if test "$ac_x_libraries" = NO; then
28117
# Check for the libraries.
28119
test -z "$x_direct_test_library" && x_direct_test_library=Xt
28120
test -z "$x_direct_test_function" && x_direct_test_function=XtMalloc
28122
# See if we find them without any special options.
28123
# Don't add to $LIBS permanently.
28124
ac_save_LIBS="$LIBS"
28125
LIBS="-l$x_direct_test_library $LIBS"
28126
cat >conftest.$ac_ext <<_ACEOF
28129
cat confdefs.h >>conftest.$ac_ext
28130
cat >>conftest.$ac_ext <<_ACEOF
28131
/* end confdefs.h. */
28132
#include <X11/Intrinsic.h>
28136
${x_direct_test_function}(1)
28141
rm -f conftest.$ac_objext conftest$ac_exeext
28142
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28143
(eval $ac_link) 2>conftest.er1
28145
grep -v '^ *+' conftest.er1 >conftest.err
28147
cat conftest.err >&5
28148
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28149
(exit $ac_status); } &&
28150
{ ac_try='test -z "$ac_c_werror_flag"
28151
|| test ! -s conftest.err'
28152
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28153
(eval $ac_try) 2>&5
28155
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28156
(exit $ac_status); }; } &&
28157
{ ac_try='test -s conftest$ac_exeext'
28158
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28159
(eval $ac_try) 2>&5
28161
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28162
(exit $ac_status); }; }; then
28163
LIBS="$ac_save_LIBS"
28164
# We can link X programs with no special library path.
28167
echo "$as_me: failed program was:" >&5
28168
sed 's/^/| /' conftest.$ac_ext >&5
28170
LIBS="$ac_save_LIBS"
28171
# First see if replacing the include by lib works.
28172
# Check X11 before X11Rn because it is often a symlink to the current release.
28173
for ac_dir in `echo "$ac_x_includes" | sed s/include/lib${kdelibsuff}/` \
28174
/usr/X11/lib${kdelibsuff} \
28175
/usr/X11R6/lib${kdelibsuff} \
28176
/usr/X11R5/lib${kdelibsuff} \
28177
/usr/X11R4/lib${kdelibsuff} \
28179
/usr/lib${kdelibsuff}/X11 \
28180
/usr/lib${kdelibsuff}/X11R6 \
28181
/usr/lib${kdelibsuff}/X11R5 \
28182
/usr/lib${kdelibsuff}/X11R4 \
28184
/usr/local/X11/lib${kdelibsuff} \
28185
/usr/local/X11R6/lib${kdelibsuff} \
28186
/usr/local/X11R5/lib${kdelibsuff} \
28187
/usr/local/X11R4/lib${kdelibsuff} \
28189
/usr/local/lib${kdelibsuff}/X11 \
28190
/usr/local/lib${kdelibsuff}/X11R6 \
28191
/usr/local/lib${kdelibsuff}/X11R5 \
28192
/usr/local/lib${kdelibsuff}/X11R4 \
28194
/usr/X386/lib${kdelibsuff} \
28195
/usr/x386/lib${kdelibsuff} \
28196
/usr/XFree86/lib${kdelibsuff}/X11 \
28198
/usr/lib${kdelibsuff} \
28199
/usr/local/lib${kdelibsuff} \
28200
/usr/unsupported/lib${kdelibsuff} \
28201
/usr/athena/lib${kdelibsuff} \
28202
/usr/local/x11r5/lib${kdelibsuff} \
28203
/usr/lpp/Xamples/lib${kdelibsuff} \
28204
/lib/usr/lib${kdelibsuff}/X11 \
28206
/usr/openwin/lib${kdelibsuff} \
28207
/usr/openwin/share/lib${kdelibsuff} \
28210
for ac_extension in a so sl; do
28211
if test -r $ac_dir/lib${x_direct_test_library}.$ac_extension; then
28212
ac_x_libraries=$ac_dir
28218
rm -f conftest.err conftest.$ac_objext \
28219
conftest$ac_exeext conftest.$ac_ext
28220
fi # $ac_x_libraries = NO
28228
rm -fr conftest.dir
28229
if mkdir conftest.dir; then
28231
# Make sure to not put "make" in the Imakefile rules, since we grep it out.
28232
cat >Imakefile <<'_ACEOF'
28234
@echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
28236
if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
28237
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
28238
eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
28239
# Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
28240
for ac_extension in a so sl; do
28241
if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
28242
test -f $ac_im_libdir/libX11.$ac_extension; then
28243
ac_im_usrlibdir=$ac_im_libdir; break
28246
# Screen out bogus values from the imake configuration. They are
28247
# bogus both because they are the default anyway, and because
28248
# using them would break gcc on systems where it needs fixed includes.
28249
case $ac_im_incroot in
28251
*) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
28253
case $ac_im_usrlibdir in
28254
/usr/lib | /lib) ;;
28255
*) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
28259
rm -fr conftest.dir
28262
if test -z "$ac_x_includes"; then
28265
if test -z "$ac_x_libraries"; then
28266
ac_x_libraries="/usr/lib${kdelibsuff}"
28269
#from now on we use our own again
28271
# when the user already gave --x-includes, we ignore
28272
# what the standard autoconf macros told us.
28273
if test "$kde_x_includes" = NO; then
28274
kde_x_includes=$ac_x_includes
28277
# for --x-libraries too
28278
if test "$kde_x_libraries" = NO; then
28279
kde_x_libraries=$ac_x_libraries
28282
if test "$kde_x_includes" = NO; then
28283
{ { echo "$as_me:$LINENO: error: Can't find X includes. Please check your installation and add the correct paths!" >&5
28284
echo "$as_me: error: Can't find X includes. Please check your installation and add the correct paths!" >&2;}
28285
{ (exit 1); exit 1; }; }
28288
if test "$kde_x_libraries" = NO; then
28289
{ { echo "$as_me:$LINENO: error: Can't find X libraries. Please check your installation and add the correct paths!" >&5
28290
echo "$as_me: error: Can't find X libraries. Please check your installation and add the correct paths!" >&2;}
28291
{ (exit 1); exit 1; }; }
28294
# Record where we found X for the cache.
28295
kde_cv_have_x="have_x=yes \
28296
kde_x_includes=$kde_x_includes kde_x_libraries=$kde_x_libraries"
28300
eval "$kde_cv_have_x"
28302
if test "$have_x" != yes; then
28303
echo "$as_me:$LINENO: result: $have_x" >&5
28304
echo "${ECHO_T}$have_x" >&6
28307
echo "$as_me:$LINENO: result: libraries $kde_x_libraries, headers $kde_x_includes" >&5
28308
echo "${ECHO_T}libraries $kde_x_libraries, headers $kde_x_includes" >&6
28311
if test -z "$kde_x_includes" || test "x$kde_x_includes" = xNONE; then
28313
x_includes="."; else
28314
x_includes=$kde_x_includes
28315
X_INCLUDES="-I$x_includes"
28318
if test -z "$kde_x_libraries" || test "x$kde_x_libraries" = xNONE; then
28320
x_libraries="/usr/lib"; else
28321
x_libraries=$kde_x_libraries
28322
X_LDFLAGS="-L$x_libraries"
28324
all_includes="$X_INCLUDES"
28325
all_libraries="$X_LDFLAGS $LDFLAGS_AS_NEEDED $LDFLAGS_NEW_DTAGS"
28327
# Check for libraries that X11R6 Xt/Xaw programs need.
28328
ac_save_LDFLAGS="$LDFLAGS"
28329
LDFLAGS="$LDFLAGS $X_LDFLAGS"
28330
# SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
28331
# check for ICE first), but we must link in the order -lSM -lICE or
28332
# we get undefined symbols. So assume we have SM if we have ICE.
28333
# These have to be linked with before -lX11, unlike the other
28334
# libraries we check for below, so use a different variable.
28335
# --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
28336
echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
28337
echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
28338
if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
28339
echo $ECHO_N "(cached) $ECHO_C" >&6
28341
ac_check_lib_save_LIBS=$LIBS
28342
LIBS="-lICE $X_EXTRA_LIBS $LIBS"
28343
cat >conftest.$ac_ext <<_ACEOF
28346
cat confdefs.h >>conftest.$ac_ext
28347
cat >>conftest.$ac_ext <<_ACEOF
28348
/* end confdefs.h. */
28350
/* Override any gcc2 internal prototype to avoid an error. */
28354
/* We use char because int might match the return type of a gcc2
28355
builtin and then its argument prototype would still apply. */
28356
char IceConnectionNumber ();
28360
IceConnectionNumber ();
28365
rm -f conftest.$ac_objext conftest$ac_exeext
28366
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28367
(eval $ac_link) 2>conftest.er1
28369
grep -v '^ *+' conftest.er1 >conftest.err
28371
cat conftest.err >&5
28372
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28373
(exit $ac_status); } &&
28374
{ ac_try='test -z "$ac_c_werror_flag"
28375
|| test ! -s conftest.err'
28376
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28377
(eval $ac_try) 2>&5
28379
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28380
(exit $ac_status); }; } &&
28381
{ ac_try='test -s conftest$ac_exeext'
28382
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28383
(eval $ac_try) 2>&5
28385
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28386
(exit $ac_status); }; }; then
28387
ac_cv_lib_ICE_IceConnectionNumber=yes
28389
echo "$as_me: failed program was:" >&5
28390
sed 's/^/| /' conftest.$ac_ext >&5
28392
ac_cv_lib_ICE_IceConnectionNumber=no
28394
rm -f conftest.err conftest.$ac_objext \
28395
conftest$ac_exeext conftest.$ac_ext
28396
LIBS=$ac_check_lib_save_LIBS
28398
echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
28399
echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
28400
if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
28404
LDFLAGS="$ac_save_LDFLAGS"
28406
LIB_X11='-lX11 $(LIBSOCKET)'
28408
echo "$as_me:$LINENO: checking for libXext" >&5
28409
echo $ECHO_N "checking for libXext... $ECHO_C" >&6
28410
if test "${kde_cv_have_libXext+set}" = set; then
28411
echo $ECHO_N "(cached) $ECHO_C" >&6
28414
kde_ldflags_safe="$LDFLAGS"
28415
kde_libs_safe="$LIBS"
28417
LDFLAGS="$LDFLAGS $X_LDFLAGS $USER_LDFLAGS"
28418
LIBS="-lXext -lX11 $LIBSOCKET"
28420
cat >conftest.$ac_ext <<_ACEOF
28423
cat confdefs.h >>conftest.$ac_ext
28424
cat >>conftest.$ac_ext <<_ACEOF
28425
/* end confdefs.h. */
28428
#ifdef STDC_HEADERS
28429
# include <stdlib.h>
28436
printf("hello Xext\n");
28442
rm -f conftest.$ac_objext conftest$ac_exeext
28443
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28444
(eval $ac_link) 2>conftest.er1
28446
grep -v '^ *+' conftest.er1 >conftest.err
28448
cat conftest.err >&5
28449
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28450
(exit $ac_status); } &&
28451
{ ac_try='test -z "$ac_c_werror_flag"
28452
|| test ! -s conftest.err'
28453
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28454
(eval $ac_try) 2>&5
28456
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28457
(exit $ac_status); }; } &&
28458
{ ac_try='test -s conftest$ac_exeext'
28459
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28460
(eval $ac_try) 2>&5
28462
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28463
(exit $ac_status); }; }; then
28464
kde_cv_have_libXext=yes
28466
echo "$as_me: failed program was:" >&5
28467
sed 's/^/| /' conftest.$ac_ext >&5
28469
kde_cv_have_libXext=no
28472
rm -f conftest.err conftest.$ac_objext \
28473
conftest$ac_exeext conftest.$ac_ext
28475
LDFLAGS=$kde_ldflags_safe
28476
LIBS=$kde_libs_safe
28481
echo "$as_me:$LINENO: result: $kde_cv_have_libXext" >&5
28482
echo "${ECHO_T}$kde_cv_have_libXext" >&6
28484
if test "$kde_cv_have_libXext" = "no"; then
28485
{ { echo "$as_me:$LINENO: error: We need a working libXext to proceed. Since configure
28486
can't find it itself, we stop here assuming that make wouldn't find
28488
echo "$as_me: error: We need a working libXext to proceed. Since configure
28489
can't find it itself, we stop here assuming that make wouldn't find
28490
them either." >&2;}
28491
{ (exit 1); exit 1; }; }
28497
elif test "$kde_use_qt_emb" = "yes"; then
28499
CXXFLAGS="$CXXFLAGS -fno-rtti"
28500
QTE_NORTTI="-fno-rtti -DQWS"
28510
elif test "$kde_use_qt_mac" = "yes"; then
28511
CXXFLAGS="$CXXFLAGS -DQT_MAC -no-cpp-precomp"
28512
CFLAGS="$CFLAGS -DQT_MAC -no-cpp-precomp"
28538
if test -n "$PTHREAD_LIBS"; then
28539
if test "x$PTHREAD_LIBS" = "x-pthread" ; then
28540
LIBPTHREAD="PTHREAD"
28542
PTHREAD_LIBS_save="$PTHREAD_LIBS"
28543
PTHREAD_LIBS=`echo "$PTHREAD_LIBS_save" | sed -e 's,^-l,,g'`
28544
echo "$as_me:$LINENO: checking for pthread_create in $PTHREAD_LIBS" >&5
28545
echo $ECHO_N "checking for pthread_create in $PTHREAD_LIBS... $ECHO_C" >&6
28547
kde_save_LDFLAGS="$LDFLAGS"
28548
kde_save_LIBS="$LIBS"
28549
LDFLAGS="$LDFLAGS $all_libraries"
28551
aix*) LDFLAGS="-brtl $LDFLAGS"
28552
test "$GCC" = yes && LDFLAGS="-Wl,$LDFLAGS"
28555
as_ac_Lib=`echo "ac_cv_lib_$PTHREAD_LIBS''_pthread_create" | $as_tr_sh`
28556
echo "$as_me:$LINENO: checking for pthread_create in -l$PTHREAD_LIBS" >&5
28557
echo $ECHO_N "checking for pthread_create in -l$PTHREAD_LIBS... $ECHO_C" >&6
28558
if eval "test \"\${$as_ac_Lib+set}\" = set"; then
28559
echo $ECHO_N "(cached) $ECHO_C" >&6
28561
ac_check_lib_save_LIBS=$LIBS
28562
LIBS="-l$PTHREAD_LIBS $LIBS"
28563
cat >conftest.$ac_ext <<_ACEOF
28566
cat confdefs.h >>conftest.$ac_ext
28567
cat >>conftest.$ac_ext <<_ACEOF
28568
/* end confdefs.h. */
28570
/* Override any gcc2 internal prototype to avoid an error. */
28574
/* We use char because int might match the return type of a gcc2
28575
builtin and then its argument prototype would still apply. */
28576
char pthread_create ();
28585
rm -f conftest.$ac_objext conftest$ac_exeext
28586
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28587
(eval $ac_link) 2>conftest.er1
28589
grep -v '^ *+' conftest.er1 >conftest.err
28591
cat conftest.err >&5
28592
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28593
(exit $ac_status); } &&
28594
{ ac_try='test -z "$ac_c_werror_flag"
28595
|| test ! -s conftest.err'
28596
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28597
(eval $ac_try) 2>&5
28599
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28600
(exit $ac_status); }; } &&
28601
{ ac_try='test -s conftest$ac_exeext'
28602
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28603
(eval $ac_try) 2>&5
28605
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28606
(exit $ac_status); }; }; then
28607
eval "$as_ac_Lib=yes"
28609
echo "$as_me: failed program was:" >&5
28610
sed 's/^/| /' conftest.$ac_ext >&5
28612
eval "$as_ac_Lib=no"
28614
rm -f conftest.err conftest.$ac_objext \
28615
conftest$ac_exeext conftest.$ac_ext
28616
LIBS=$ac_check_lib_save_LIBS
28618
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
28619
echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
28620
if test `eval echo '${'$as_ac_Lib'}'` = yes; then
28621
LIBPTHREAD="$PTHREAD_LIBS_save"
28624
LDFLAGS="$kde_save_LDFLAGS"
28625
LIBS="$kde_save_LIBS"
28627
PTHREAD_LIBS="$PTHREAD_LIBS_save"
28631
if test -z "$LIBPTHREAD"; then
28632
echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
28633
echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
28634
if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
28635
echo $ECHO_N "(cached) $ECHO_C" >&6
28637
ac_check_lib_save_LIBS=$LIBS
28638
LIBS="-lpthread $LIBS"
28639
cat >conftest.$ac_ext <<_ACEOF
28642
cat confdefs.h >>conftest.$ac_ext
28643
cat >>conftest.$ac_ext <<_ACEOF
28644
/* end confdefs.h. */
28646
/* Override any gcc2 internal prototype to avoid an error. */
28650
/* We use char because int might match the return type of a gcc2
28651
builtin and then its argument prototype would still apply. */
28652
char pthread_create ();
28661
rm -f conftest.$ac_objext conftest$ac_exeext
28662
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28663
(eval $ac_link) 2>conftest.er1
28665
grep -v '^ *+' conftest.er1 >conftest.err
28667
cat conftest.err >&5
28668
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28669
(exit $ac_status); } &&
28670
{ ac_try='test -z "$ac_c_werror_flag"
28671
|| test ! -s conftest.err'
28672
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28673
(eval $ac_try) 2>&5
28675
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28676
(exit $ac_status); }; } &&
28677
{ ac_try='test -s conftest$ac_exeext'
28678
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28679
(eval $ac_try) 2>&5
28681
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28682
(exit $ac_status); }; }; then
28683
ac_cv_lib_pthread_pthread_create=yes
28685
echo "$as_me: failed program was:" >&5
28686
sed 's/^/| /' conftest.$ac_ext >&5
28688
ac_cv_lib_pthread_pthread_create=no
28690
rm -f conftest.err conftest.$ac_objext \
28691
conftest$ac_exeext conftest.$ac_ext
28692
LIBS=$ac_check_lib_save_LIBS
28694
echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
28695
echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6
28696
if test $ac_cv_lib_pthread_pthread_create = yes; then
28697
LIBPTHREAD="-lpthread"
28702
if test -z "$LIBPTHREAD" ; then
28703
echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
28704
echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
28705
kde_safe_libs=$LIBS
28706
LIBS="$LIBS -lpthread"
28707
cat >conftest.$ac_ext <<_ACEOF
28710
cat confdefs.h >>conftest.$ac_ext
28711
cat >>conftest.$ac_ext <<_ACEOF
28712
/* end confdefs.h. */
28713
#include <pthread.h>
28717
(void)pthread_create(0,0,0,0);
28722
rm -f conftest.$ac_objext conftest$ac_exeext
28723
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28724
(eval $ac_link) 2>conftest.er1
28726
grep -v '^ *+' conftest.er1 >conftest.err
28728
cat conftest.err >&5
28729
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28730
(exit $ac_status); } &&
28731
{ ac_try='test -z "$ac_c_werror_flag"
28732
|| test ! -s conftest.err'
28733
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28734
(eval $ac_try) 2>&5
28736
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28737
(exit $ac_status); }; } &&
28738
{ ac_try='test -s conftest$ac_exeext'
28739
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28740
(eval $ac_try) 2>&5
28742
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28743
(exit $ac_status); }; }; then
28745
echo "$as_me:$LINENO: result: yes" >&5
28746
echo "${ECHO_T}yes" >&6
28747
LIBPTHREAD="-lpthread"
28749
echo "$as_me: failed program was:" >&5
28750
sed 's/^/| /' conftest.$ac_ext >&5
28753
echo "$as_me:$LINENO: result: no" >&5
28754
echo "${ECHO_T}no" >&6
28756
rm -f conftest.err conftest.$ac_objext \
28757
conftest$ac_exeext conftest.$ac_ext
28758
LIBS=$kde_safe_libs
28761
if test "x$LIBPTHREAD" = "xPTHREAD" ; then
28769
if test -z "$LIBPTHREAD"; then
28771
echo "$as_me:$LINENO: checking whether $CXX supports -pthread" >&5
28772
echo $ECHO_N "checking whether $CXX supports -pthread... $ECHO_C" >&6
28773
kde_cache=`echo pthread | sed 'y% .=/+-,%____p__%'`
28774
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
28775
echo $ECHO_N "(cached) $ECHO_C" >&6
28781
ac_cpp='$CXXCPP $CPPFLAGS'
28782
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28783
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28784
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28786
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
28789
save_CXXFLAGS="$CXXFLAGS"
28790
CXXFLAGS="$CXXFLAGS -pthread"
28791
cat >conftest.$ac_ext <<_ACEOF
28794
cat confdefs.h >>conftest.$ac_ext
28795
cat >>conftest.$ac_ext <<_ACEOF
28796
/* end confdefs.h. */
28806
rm -f conftest.$ac_objext conftest$ac_exeext
28807
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28808
(eval $ac_link) 2>conftest.er1
28810
grep -v '^ *+' conftest.er1 >conftest.err
28812
cat conftest.err >&5
28813
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28814
(exit $ac_status); } &&
28815
{ ac_try='test -z "$ac_cxx_werror_flag"
28816
|| test ! -s conftest.err'
28817
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28818
(eval $ac_try) 2>&5
28820
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28821
(exit $ac_status); }; } &&
28822
{ ac_try='test -s conftest$ac_exeext'
28823
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28824
(eval $ac_try) 2>&5
28826
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28827
(exit $ac_status); }; }; then
28828
eval "kde_cv_prog_cxx_$kde_cache=yes"
28830
echo "$as_me: failed program was:" >&5
28831
sed 's/^/| /' conftest.$ac_ext >&5
28834
rm -f conftest.err conftest.$ac_objext \
28835
conftest$ac_exeext conftest.$ac_ext
28836
CXXFLAGS="$save_CXXFLAGS"
28838
ac_cpp='$CPP $CPPFLAGS'
28839
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28840
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28841
ac_compiler_gnu=$ac_cv_c_compiler_gnu
28846
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
28847
echo "$as_me:$LINENO: result: yes" >&5
28848
echo "${ECHO_T}yes" >&6
28850
USE_THREADS="-D_THREAD_SAFE -pthread"
28852
echo "$as_me:$LINENO: result: no" >&5
28853
echo "${ECHO_T}no" >&6
28865
echo "$as_me:$LINENO: checking whether $CXX supports -mt" >&5
28866
echo $ECHO_N "checking whether $CXX supports -mt... $ECHO_C" >&6
28867
kde_cache=`echo mt | sed 'y% .=/+-,%____p__%'`
28868
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
28869
echo $ECHO_N "(cached) $ECHO_C" >&6
28875
ac_cpp='$CXXCPP $CPPFLAGS'
28876
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28877
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28878
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28880
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
28883
save_CXXFLAGS="$CXXFLAGS"
28884
CXXFLAGS="$CXXFLAGS -mt"
28885
cat >conftest.$ac_ext <<_ACEOF
28888
cat confdefs.h >>conftest.$ac_ext
28889
cat >>conftest.$ac_ext <<_ACEOF
28890
/* end confdefs.h. */
28900
rm -f conftest.$ac_objext conftest$ac_exeext
28901
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28902
(eval $ac_link) 2>conftest.er1
28904
grep -v '^ *+' conftest.er1 >conftest.err
28906
cat conftest.err >&5
28907
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28908
(exit $ac_status); } &&
28909
{ ac_try='test -z "$ac_cxx_werror_flag"
28910
|| test ! -s conftest.err'
28911
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28912
(eval $ac_try) 2>&5
28914
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28915
(exit $ac_status); }; } &&
28916
{ ac_try='test -s conftest$ac_exeext'
28917
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28918
(eval $ac_try) 2>&5
28920
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28921
(exit $ac_status); }; }; then
28922
eval "kde_cv_prog_cxx_$kde_cache=yes"
28924
echo "$as_me: failed program was:" >&5
28925
sed 's/^/| /' conftest.$ac_ext >&5
28928
rm -f conftest.err conftest.$ac_objext \
28929
conftest$ac_exeext conftest.$ac_ext
28930
CXXFLAGS="$save_CXXFLAGS"
28932
ac_cpp='$CPP $CPPFLAGS'
28933
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28934
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28935
ac_compiler_gnu=$ac_cv_c_compiler_gnu
28940
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
28941
echo "$as_me:$LINENO: result: yes" >&5
28942
echo "${ECHO_T}yes" >&6
28946
echo "$as_me:$LINENO: result: no" >&5
28947
echo "${ECHO_T}no" >&6
28952
CPPFLAGS="$CPPFLAGS -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DSVR4"
28955
CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE $PTHREAD_CFLAGS"
28958
CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE"
28959
LIBPTHREAD="$LIBPTHREAD -lc_r"
28961
linux*) CPPFLAGS="$CPPFLAGS -D_REENTRANT"
28962
if test "$CXX" = "KCC"; then
28963
CXXFLAGS="$CXXFLAGS --thread_safe"
28964
NOOPT_CXXFLAGS="$NOOPT_CXXFLAGS --thread_safe"
28974
echo "$as_me:$LINENO: checking for extra includes" >&5
28975
echo $ECHO_N "checking for extra includes... $ECHO_C" >&6
28977
# Check whether --with-extra-includes or --without-extra-includes was given.
28978
if test "${with_extra_includes+set}" = set; then
28979
withval="$with_extra_includes"
28980
kde_use_extra_includes="$withval"
28982
kde_use_extra_includes=NONE
28985
kde_extra_includes=
28986
if test -n "$kde_use_extra_includes" && \
28987
test "$kde_use_extra_includes" != "NONE"; then
28991
for dir in $kde_use_extra_includes; do
28992
kde_extra_includes="$kde_extra_includes $dir"
28993
USER_INCLUDES="$USER_INCLUDES -I$dir"
28996
kde_use_extra_includes="added"
28998
kde_use_extra_includes="no"
29002
echo "$as_me:$LINENO: result: $kde_use_extra_includes" >&5
29003
echo "${ECHO_T}$kde_use_extra_includes" >&6
29006
echo "$as_me:$LINENO: checking for extra libs" >&5
29007
echo $ECHO_N "checking for extra libs... $ECHO_C" >&6
29009
# Check whether --with-extra-libs or --without-extra-libs was given.
29010
if test "${with_extra_libs+set}" = set; then
29011
withval="$with_extra_libs"
29012
kde_use_extra_libs=$withval
29014
kde_use_extra_libs=NONE
29017
if test -n "$kde_use_extra_libs" && \
29018
test "$kde_use_extra_libs" != "NONE"; then
29022
for dir in $kde_use_extra_libs; do
29023
kde_extra_libs="$kde_extra_libs $dir"
29024
KDE_EXTRA_RPATH="$KDE_EXTRA_RPATH -R $dir"
29025
USER_LDFLAGS="$USER_LDFLAGS -L$dir"
29028
kde_use_extra_libs="added"
29030
kde_use_extra_libs="no"
29035
echo "$as_me:$LINENO: result: $kde_use_extra_libs" >&5
29036
echo "${ECHO_T}$kde_use_extra_libs" >&6
29041
echo "$as_me:$LINENO: checking for libz" >&5
29042
echo $ECHO_N "checking for libz... $ECHO_C" >&6
29043
if test "${ac_cv_lib_z+set}" = set; then
29044
echo $ECHO_N "(cached) $ECHO_C" >&6
29047
kde_save_LIBS="$LIBS"
29048
LIBS="$all_libraries $USER_LDFLAGS -lz $LIBSOCKET"
29049
kde_save_CFLAGS="$CFLAGS"
29050
CFLAGS="$CFLAGS $all_includes $USER_INCLUDES"
29051
cat >conftest.$ac_ext <<_ACEOF
29054
cat confdefs.h >>conftest.$ac_ext
29055
cat >>conftest.$ac_ext <<_ACEOF
29056
/* end confdefs.h. */
29065
gzFile f = (gzFile) 0;
29066
/* this would segfault.. but we only link, don't run */
29067
(void) gzgets(f, buf, sizeof(buf));
29069
return (zlibVersion() == ZLIB_VERSION);
29075
rm -f conftest.$ac_objext conftest$ac_exeext
29076
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29077
(eval $ac_link) 2>conftest.er1
29079
grep -v '^ *+' conftest.er1 >conftest.err
29081
cat conftest.err >&5
29082
echo "$as_me:$LINENO: \$? = $ac_status" >&5
29083
(exit $ac_status); } &&
29084
{ ac_try='test -z "$ac_c_werror_flag"
29085
|| test ! -s conftest.err'
29086
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29087
(eval $ac_try) 2>&5
29089
echo "$as_me:$LINENO: \$? = $ac_status" >&5
29090
(exit $ac_status); }; } &&
29091
{ ac_try='test -s conftest$ac_exeext'
29092
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29093
(eval $ac_try) 2>&5
29095
echo "$as_me:$LINENO: \$? = $ac_status" >&5
29096
(exit $ac_status); }; }; then
29097
eval "ac_cv_lib_z='-lz'"
29099
echo "$as_me: failed program was:" >&5
29100
sed 's/^/| /' conftest.$ac_ext >&5
29102
eval "ac_cv_lib_z=no"
29104
rm -f conftest.err conftest.$ac_objext \
29105
conftest$ac_exeext conftest.$ac_ext
29106
LIBS="$kde_save_LIBS"
29107
CFLAGS="$kde_save_CFLAGS"
29110
if test ! "$ac_cv_lib_z" = no; then
29112
cat >>confdefs.h <<_ACEOF
29113
#define HAVE_LIBZ 1
29116
LIBZ="$ac_cv_lib_z"
29117
echo "$as_me:$LINENO: result: $ac_cv_lib_z" >&5
29118
echo "${ECHO_T}$ac_cv_lib_z" >&6
29120
{ { echo "$as_me:$LINENO: error: not found.
29121
Possibly configure picks up an outdated version
29122
installed by XFree86. Remove it from your system.
29124
Check your installation and look into config.log" >&5
29125
echo "$as_me: error: not found.
29126
Possibly configure picks up an outdated version
29127
installed by XFree86. Remove it from your system.
29129
Check your installation and look into config.log" >&2;}
29130
{ (exit 1); exit 1; }; }
29138
echo "$as_me:$LINENO: checking for libpng" >&5
29139
echo $ECHO_N "checking for libpng... $ECHO_C" >&6
29140
if test "${ac_cv_lib_png+set}" = set; then
29141
echo $ECHO_N "(cached) $ECHO_C" >&6
29144
kde_save_LIBS="$LIBS"
29145
if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then
29146
LIBS="$LIBS $all_libraries $USER_LDFLAGS -lpng $LIBZ -lm -lX11 $LIBSOCKET"
29148
LIBS="$LIBS $all_libraries $USER_LDFLAGS -lpng $LIBZ -lm"
29150
kde_save_CFLAGS="$CFLAGS"
29151
CFLAGS="$CFLAGS $all_includes $USER_INCLUDES"
29153
cat >conftest.$ac_ext <<_ACEOF
29156
cat confdefs.h >>conftest.$ac_ext
29157
cat >>conftest.$ac_ext <<_ACEOF
29158
/* end confdefs.h. */
29166
png_structp png_ptr = png_create_read_struct( /* image ptr */
29167
PNG_LIBPNG_VER_STRING, 0, 0, 0 );
29168
return( png_ptr != 0 );
29174
rm -f conftest.$ac_objext conftest$ac_exeext
29175
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29176
(eval $ac_link) 2>conftest.er1
29178
grep -v '^ *+' conftest.er1 >conftest.err
29180
cat conftest.err >&5
29181
echo "$as_me:$LINENO: \$? = $ac_status" >&5
29182
(exit $ac_status); } &&
29183
{ ac_try='test -z "$ac_c_werror_flag"
29184
|| test ! -s conftest.err'
29185
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29186
(eval $ac_try) 2>&5
29188
echo "$as_me:$LINENO: \$? = $ac_status" >&5
29189
(exit $ac_status); }; } &&
29190
{ ac_try='test -s conftest$ac_exeext'
29191
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29192
(eval $ac_try) 2>&5
29194
echo "$as_me:$LINENO: \$? = $ac_status" >&5
29195
(exit $ac_status); }; }; then
29196
eval "ac_cv_lib_png='-lpng $LIBZ -lm'"
29198
echo "$as_me: failed program was:" >&5
29199
sed 's/^/| /' conftest.$ac_ext >&5
29201
eval "ac_cv_lib_png=no"
29204
rm -f conftest.err conftest.$ac_objext \
29205
conftest$ac_exeext conftest.$ac_ext
29206
LIBS="$kde_save_LIBS"
29207
CFLAGS="$kde_save_CFLAGS"
29210
if eval "test ! \"`echo $ac_cv_lib_png`\" = no"; then
29212
cat >>confdefs.h <<_ACEOF
29213
#define HAVE_LIBPNG 1
29216
LIBPNG="$ac_cv_lib_png"
29218
echo "$as_me:$LINENO: result: $ac_cv_lib_png" >&5
29219
echo "${ECHO_T}$ac_cv_lib_png" >&6
29221
echo "$as_me:$LINENO: result: no" >&5
29222
echo "${ECHO_T}no" >&6
29229
echo "$as_me:$LINENO: checking for libjpeg6b" >&5
29230
echo $ECHO_N "checking for libjpeg6b... $ECHO_C" >&6
29231
if test "${ac_cv_lib_jpeg_6b+set}" = set; then
29232
echo $ECHO_N "(cached) $ECHO_C" >&6
29235
ac_save_LIBS="$LIBS"
29236
LIBS="$all_libraries $USER_LDFLAGS -ljpeg6b -lm"
29237
ac_save_CFLAGS="$CFLAGS"
29238
CFLAGS="$CFLAGS $all_includes $USER_INCLUDES"
29239
cat >conftest.$ac_ext <<_ACEOF
29242
cat confdefs.h >>conftest.$ac_ext
29243
cat >>conftest.$ac_ext <<_ACEOF
29244
/* end confdefs.h. */
29245
/* Override any gcc2 internal prototype to avoid an error. */
29246
struct jpeg_decompress_struct;
29247
typedef struct jpeg_decompress_struct * j_decompress_ptr;
29248
typedef int size_t;
29252
void jpeg_CreateDecompress(j_decompress_ptr cinfo,
29253
int version, size_t structsize);
29257
/* We use char because int might match the return type of a gcc2
29258
builtin and then its argument prototype would still apply. */
29263
jpeg_CreateDecompress(0L, 0, 0);
29268
rm -f conftest.$ac_objext conftest$ac_exeext
29269
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29270
(eval $ac_link) 2>conftest.er1
29272
grep -v '^ *+' conftest.er1 >conftest.err
29274
cat conftest.err >&5
29275
echo "$as_me:$LINENO: \$? = $ac_status" >&5
29276
(exit $ac_status); } &&
29277
{ ac_try='test -z "$ac_c_werror_flag"
29278
|| test ! -s conftest.err'
29279
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29280
(eval $ac_try) 2>&5
29282
echo "$as_me:$LINENO: \$? = $ac_status" >&5
29283
(exit $ac_status); }; } &&
29284
{ ac_try='test -s conftest$ac_exeext'
29285
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29286
(eval $ac_try) 2>&5
29288
echo "$as_me:$LINENO: \$? = $ac_status" >&5
29289
(exit $ac_status); }; }; then
29290
eval "ac_cv_lib_jpeg_6b=-ljpeg6b"
29292
echo "$as_me: failed program was:" >&5
29293
sed 's/^/| /' conftest.$ac_ext >&5
29295
eval "ac_cv_lib_jpeg_6b=no"
29297
rm -f conftest.err conftest.$ac_objext \
29298
conftest$ac_exeext conftest.$ac_ext
29299
LIBS="$ac_save_LIBS"
29300
CFLAGS="$ac_save_CFLAGS"
29305
if eval "test ! \"`echo $ac_cv_lib_jpeg_6b`\" = no"; then
29306
LIBJPEG="$ac_cv_lib_jpeg_6b"
29307
echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_6b" >&5
29308
echo "${ECHO_T}$ac_cv_lib_jpeg_6b" >&6
29310
echo "$as_me:$LINENO: result: no" >&5
29311
echo "${ECHO_T}no" >&6
29313
echo "$as_me:$LINENO: checking for libjpeg" >&5
29314
echo $ECHO_N "checking for libjpeg... $ECHO_C" >&6
29315
if test "${ac_cv_lib_jpeg_normal+set}" = set; then
29316
echo $ECHO_N "(cached) $ECHO_C" >&6
29319
ac_save_LIBS="$LIBS"
29320
LIBS="$all_libraries $USER_LDFLAGS -ljpeg -lm"
29321
ac_save_CFLAGS="$CFLAGS"
29322
CFLAGS="$CFLAGS $all_includes $USER_INCLUDES"
29323
cat >conftest.$ac_ext <<_ACEOF
29326
cat confdefs.h >>conftest.$ac_ext
29327
cat >>conftest.$ac_ext <<_ACEOF
29328
/* end confdefs.h. */
29329
/* Override any gcc2 internal prototype to avoid an error. */
29330
struct jpeg_decompress_struct;
29331
typedef struct jpeg_decompress_struct * j_decompress_ptr;
29332
typedef int size_t;
29336
void jpeg_CreateDecompress(j_decompress_ptr cinfo,
29337
int version, size_t structsize);
29341
/* We use char because int might match the return type of a gcc2
29342
builtin and then its argument prototype would still apply. */
29347
jpeg_CreateDecompress(0L, 0, 0);
29352
rm -f conftest.$ac_objext conftest$ac_exeext
29353
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29354
(eval $ac_link) 2>conftest.er1
29356
grep -v '^ *+' conftest.er1 >conftest.err
29358
cat conftest.err >&5
29359
echo "$as_me:$LINENO: \$? = $ac_status" >&5
29360
(exit $ac_status); } &&
29361
{ ac_try='test -z "$ac_c_werror_flag"
29362
|| test ! -s conftest.err'
29363
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29364
(eval $ac_try) 2>&5
29366
echo "$as_me:$LINENO: \$? = $ac_status" >&5
29367
(exit $ac_status); }; } &&
29368
{ ac_try='test -s conftest$ac_exeext'
29369
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29370
(eval $ac_try) 2>&5
29372
echo "$as_me:$LINENO: \$? = $ac_status" >&5
29373
(exit $ac_status); }; }; then
29374
eval "ac_cv_lib_jpeg_normal=-ljpeg"
29376
echo "$as_me: failed program was:" >&5
29377
sed 's/^/| /' conftest.$ac_ext >&5
29379
eval "ac_cv_lib_jpeg_normal=no"
29381
rm -f conftest.err conftest.$ac_objext \
29382
conftest$ac_exeext conftest.$ac_ext
29383
LIBS="$ac_save_LIBS"
29384
CFLAGS="$ac_save_CFLAGS"
29389
if eval "test ! \"`echo $ac_cv_lib_jpeg_normal`\" = no"; then
29390
LIBJPEG="$ac_cv_lib_jpeg_normal"
29391
echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_normal" >&5
29392
echo "${ECHO_T}$ac_cv_lib_jpeg_normal" >&6
29394
echo "$as_me:$LINENO: result: no" >&5
29395
echo "${ECHO_T}no" >&6
29408
jpeg_incdirs="$includedir /usr/include /usr/local/include $kde_extra_includes"
29411
for i in $jpeg_incdirs;
29413
for j in jpeglib.h;
29415
echo "configure: 29415: $i/$j" >&5
29416
if test -r "$i/$j"; then
29417
echo "taking that" >&5
29424
test "x$jpeg_incdir" = xNO && jpeg_incdir=
29426
if test -n "$jpeg_incdir" && test -n "$LIBJPEG" ; then
29428
cat >>confdefs.h <<_ACEOF
29429
#define HAVE_LIBJPEG 1
29433
if test -n "$jpeg_incdir" || test -n "$LIBJPEG" ; then
29434
{ echo "$as_me:$LINENO: WARNING:
29435
There is an installation error in jpeg support. You seem to have only one
29436
of either the headers _or_ the libraries installed. You may need to either
29437
provide correct --with-extra-... options, or the development package of
29438
libjpeg6b. You can get a source package of libjpeg from http://www.ijg.org/
29439
Disabling JPEG support.
29441
echo "$as_me: WARNING:
29442
There is an installation error in jpeg support. You seem to have only one
29443
of either the headers _or_ the libraries installed. You may need to either
29444
provide correct --with-extra-... options, or the development package of
29445
libjpeg6b. You can get a source package of libjpeg from http://www.ijg.org/
29446
Disabling JPEG support.
29449
{ echo "$as_me:$LINENO: WARNING: libjpeg not found. disable JPEG support." >&5
29450
echo "$as_me: WARNING: libjpeg not found. disable JPEG support." >&2;}
29462
echo "$as_me:$LINENO: checking for perl" >&5
29463
echo $ECHO_N "checking for perl... $ECHO_C" >&6
29464
if test -n "$PERL"; then
29465
kde_cv_path="$PERL";
29467
kde_cache=`echo perl | sed 'y%./+-%__p_%'`
29469
if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
29470
echo $ECHO_N "(cached) $ECHO_C" >&6
29477
for dir in $PATH; do
29480
if test -z ""; then dirs="$bindir $exec_prefix/bin $prefix/bin $dirs"
29481
else dirs="$dirs $bindir $exec_prefix/bin $prefix/bin"
29485
for dir in $dirs; do
29486
if test -x "$dir/perl"; then
29489
evalstr="$dir/perl 2>&1 "
29490
if eval $evalstr; then
29491
kde_cv_path="$dir/perl"
29495
kde_cv_path="$dir/perl"
29501
eval "kde_cv_path_$kde_cache=$kde_cv_path"
29507
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
29511
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
29512
echo "$as_me:$LINENO: result: not found" >&5
29513
echo "${ECHO_T}not found" >&6
29515
{ { echo "$as_me:$LINENO: error: No Perl found in your $PATH.
29516
We need perl to generate some code." >&5
29517
echo "$as_me: error: No Perl found in your $PATH.
29518
We need perl to generate some code." >&2;}
29519
{ (exit 1); exit 1; }; }
29522
echo "$as_me:$LINENO: result: $kde_cv_path" >&5
29523
echo "${ECHO_T}$kde_cv_path" >&6
29537
# Check whether --enable-mt or --disable-mt was given.
29538
if test "${enable_mt+set}" = set; then
29539
enableval="$enable_mt"
29540
kde_use_qt_mt=$enableval
29543
if test $kde_qtver = 3; then
29557
if test "x$kde_use_qt_mt" = "xyes"; then
29561
if test -z "$LIBPTHREAD"; then
29562
if test -z "$USE_THREADS"; then
29563
kde_check_threading_default=no
29565
kde_check_threading_default=yes
29568
kde_check_threading_default=yes
29570
# Check whether --enable-threading or --disable-threading was given.
29571
if test "${enable_threading+set}" = set; then
29572
enableval="$enable_threading"
29573
kde_use_threading=$enableval
29575
kde_use_threading=$kde_check_threading_default
29577
if test "x$kde_use_threading" = "xyes"; then
29579
cat >>confdefs.h <<\_ACEOF
29580
#define HAVE_LIBPTHREAD 1
29585
if test "x$kde_use_threading" = "xyes"; then
29586
CPPFLAGS="$USE_THREADS -DQT_THREAD_SUPPORT $CPPFLAGS"
29587
KDE_MT_LDFLAGS="$USE_THREADS"
29588
KDE_MT_LIBS="$LIBPTHREAD"
29596
kde_qt_was_given=yes
29598
if test -z "$LIBQT_GLOB"; then
29599
if test "x$kde_use_qt_emb" = "xyes"; then
29600
LIBQT_GLOB="libqte.*"
29602
LIBQT_GLOB="libqt.*"
29606
if test "x$kde_use_qt_emb" = "xyes"; then
29612
kde_int_qt="-l$qtlib"
29614
if test -z "$LIBQPE"; then
29615
if test "x$kde_use_qt_emb" = "xyes"; then
29616
if test "x$kde_use_qt_emb_palm" = "xyes"; then
29627
if test "x$kde_use_qt_mt" = "xyes"; then
29628
LIBQT="-l$qtlib-mt"
29629
kde_int_qt="-l$qtlib-mt"
29630
LIBQT_GLOB="lib$qtlib-mt.*"
29631
USING_QT_MT="using -mt"
29636
if test $kde_qtver != 1; then
29640
LIBQT="$LIBQT $LIBPNG $LIBJPEG"
29643
if test $kde_qtver = 3; then
29645
LIBQT="$LIBQT $LIBDL"
29648
echo "$as_me:$LINENO: checking for Qt" >&5
29649
echo $ECHO_N "checking for Qt... $ECHO_C" >&6
29651
if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then
29652
LIBQT="$LIBQT $X_PRE_LIBS -lXext -lX11 $LIBSM $LIBSOCKET"
29654
ac_qt_includes=NO ac_qt_libraries=NO ac_qt_bindir=NO
29658
# Check whether --with-qt-dir or --without-qt-dir was given.
29659
if test "${with_qt_dir+set}" = set; then
29660
withval="$with_qt_dir"
29661
ac_qt_includes="$withval"/include
29662
ac_qt_libraries="$withval"/lib${kdelibsuff}
29663
ac_qt_bindir="$withval"/bin
29668
# Check whether --with-qt-includes or --without-qt-includes was given.
29669
if test "${with_qt_includes+set}" = set; then
29670
withval="$with_qt_includes"
29672
ac_qt_includes="$withval"
29676
kde_qt_libs_given=no
29679
# Check whether --with-qt-libraries or --without-qt-libraries was given.
29680
if test "${with_qt_libraries+set}" = set; then
29681
withval="$with_qt_libraries"
29682
ac_qt_libraries="$withval"
29683
kde_qt_libs_given=yes
29687
if test "${ac_cv_have_qt+set}" = set; then
29688
echo $ECHO_N "(cached) $ECHO_C" >&6
29690
#try to guess Qt locations
29693
for dir in $kde_qt_dirs; do
29694
qt_incdirs="$qt_incdirs $dir/include $dir"
29696
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"
29697
if test ! "$ac_qt_includes" = "NO"; then
29698
qt_incdirs="$ac_qt_includes $qt_incdirs"
29701
if test "$kde_qtver" != "1"; then
29702
kde_qt_header=qstyle.h
29704
kde_qt_header=qglobal.h
29709
for i in $qt_incdirs;
29711
for j in $kde_qt_header;
29713
echo "configure: 29713: $i/$j" >&5
29714
if test -r "$i/$j"; then
29715
echo "taking that" >&5
29722
ac_qt_includes="$qt_incdir"
29725
for dir in $kde_qt_dirs; do
29726
qt_libdirs="$qt_libdirs $dir/lib${kdelibsuff} $dir"
29728
qt_libdirs="$QTLIB $qt_libdirs /usr/X11R6/lib /usr/lib /usr/local/qt/lib $x_libraries"
29729
if test ! "$ac_qt_libraries" = "NO"; then
29730
qt_libdir=$ac_qt_libraries
29732
qt_libdirs="$ac_qt_libraries $qt_libdirs"
29733
# if the Qt was given, the chance is too big that libqt.* doesn't exist
29735
for dir in $qt_libdirs; do
29736
try="ls -1 $dir/${LIBQT_GLOB}"
29737
if test -n "`$try 2> /dev/null`"; then qt_libdir=$dir; break; else echo "tried $dir" >&5 ; fi
29740
for a in $qt_libdir/lib`echo ${kde_int_qt} | sed 's,^-l,,'`_incremental.*; do
29741
if test -e "$a"; then
29742
LIBQT="$LIBQT ${kde_int_qt}_incremental"
29747
ac_qt_libraries="$qt_libdir"
29752
ac_cpp='$CXXCPP $CPPFLAGS'
29753
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29754
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29755
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29757
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
29761
ac_cxxflags_safe="$CXXFLAGS"
29762
ac_ldflags_safe="$LDFLAGS"
29763
ac_libs_safe="$LIBS"
29765
CXXFLAGS="$CXXFLAGS -I$qt_incdir $all_includes"
29766
LDFLAGS="$LDFLAGS -L$qt_libdir $all_libraries $USER_LDFLAGS $KDE_MT_LDFLAGS"
29767
LIBS="$LIBS $LIBQT $KDE_MT_LIBS"
29771
cat > conftest.$ac_ext <<EOF
29772
#include "confdefs.h"
29773
#include <qglobal.h>
29774
#include <qapplication.h>
29776
if test "$kde_qtver" = "2"; then
29777
cat >> conftest.$ac_ext <<EOF
29778
#include <qevent.h>
29779
#include <qstring.h>
29780
#include <qstyle.h>
29783
if test $kde_qtsubver -gt 0; then
29784
cat >> conftest.$ac_ext <<EOF
29785
#if QT_VERSION < 210
29792
if test "$kde_qtver" = "3"; then
29793
cat >> conftest.$ac_ext <<EOF
29794
#include <qcursor.h>
29795
#include <qstylefactory.h>
29796
#include <private/qucomextra_p.h>
29800
echo "#if ! ($kde_qt_verstring)" >> conftest.$ac_ext
29801
cat >> conftest.$ac_ext <<EOF
29807
if test "$kde_qtver" = "2"; then
29808
cat >> conftest.$ac_ext <<EOF
29809
QStringList *t = new QStringList();
29812
if test $kde_qtsubver -gt 0; then
29813
cat >> conftest.$ac_ext <<EOF
29815
s.setLatin1("Elvis is alive", 14);
29819
if test "$kde_qtver" = "3"; then
29820
cat >> conftest.$ac_ext <<EOF
29821
(void)QStyleFactory::create(QString::null);
29822
QCursor c(Qt::WhatsThisCursor);
29825
cat >> conftest.$ac_ext <<EOF
29831
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29832
(eval $ac_link) 2>&5
29834
echo "$as_me:$LINENO: \$? = $ac_status" >&5
29835
(exit $ac_status); } && test -s conftest; then
29838
echo "configure: failed program was:" >&5
29839
cat conftest.$ac_ext >&5
29840
ac_qt_libraries="NO"
29843
CXXFLAGS="$ac_cxxflags_safe"
29844
LDFLAGS="$ac_ldflags_safe"
29845
LIBS="$ac_libs_safe"
29848
ac_cpp='$CPP $CPPFLAGS'
29849
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29850
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29851
ac_compiler_gnu=$ac_cv_c_compiler_gnu
29853
if test "$ac_qt_includes" = NO || test "$ac_qt_libraries" = NO; then
29854
ac_cv_have_qt="have_qt=no"
29857
if test "$ac_qt_includes" = NO; then
29858
if test "$ac_qt_libraries" = NO; then
29859
ac_qt_notfound="(headers and libraries)";
29861
ac_qt_notfound="(headers)";
29864
if test "x$kde_use_qt_mt" = "xyes"; then
29866
Make sure that you have compiled Qt with thread support!"
29867
ac_qt_notfound="(library $qtlib-mt)";
29869
ac_qt_notfound="(library $qtlib)";
29873
{ { echo "$as_me:$LINENO: error: Qt ($kde_qt_minversion) $ac_qt_notfound not found. Please check your installation!
29874
For more details about this problem, look at the end of config.log.$missing_qt_mt" >&5
29875
echo "$as_me: error: Qt ($kde_qt_minversion) $ac_qt_notfound not found. Please check your installation!
29876
For more details about this problem, look at the end of config.log.$missing_qt_mt" >&2;}
29877
{ (exit 1); exit 1; }; }
29885
eval "$ac_cv_have_qt"
29887
if test "$have_qt" != yes; then
29888
echo "$as_me:$LINENO: result: $have_qt" >&5
29889
echo "${ECHO_T}$have_qt" >&6;
29891
ac_cv_have_qt="have_qt=yes \
29892
ac_qt_includes=$ac_qt_includes ac_qt_libraries=$ac_qt_libraries"
29893
echo "$as_me:$LINENO: result: libraries $ac_qt_libraries, headers $ac_qt_includes $USING_QT_MT" >&5
29894
echo "${ECHO_T}libraries $ac_qt_libraries, headers $ac_qt_includes $USING_QT_MT" >&6
29896
qt_libraries="$ac_qt_libraries"
29897
qt_includes="$ac_qt_includes"
29900
if test ! "$kde_qt_libs_given" = "yes" && test ! "$kde_qtver" = 3; then
29903
echo "$as_me:$LINENO: checking if Qt compiles without flags" >&5
29904
echo $ECHO_N "checking if Qt compiles without flags... $ECHO_C" >&6
29905
if test "${kde_cv_qt_direct+set}" = set; then
29906
echo $ECHO_N "(cached) $ECHO_C" >&6
29912
ac_cpp='$CXXCPP $CPPFLAGS'
29913
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29914
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29915
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29917
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
29920
ac_LD_LIBRARY_PATH_safe=$LD_LIBRARY_PATH
29921
ac_LIBRARY_PATH="$LIBRARY_PATH"
29922
ac_cxxflags_safe="$CXXFLAGS"
29923
ac_ldflags_safe="$LDFLAGS"
29924
ac_libs_safe="$LIBS"
29926
CXXFLAGS="$CXXFLAGS -I$qt_includes"
29927
LDFLAGS="$LDFLAGS $X_LDFLAGS"
29928
if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then
29929
LIBS="$LIBQT -lXext -lX11 $LIBSOCKET"
29931
LIBS="$LIBQT $LIBSOCKET"
29934
export LD_LIBRARY_PATH
29936
export LIBRARY_PATH
29940
cat > conftest.$ac_ext <<EOF
29941
#include "confdefs.h"
29942
#include <qglobal.h>
29943
#include <qapplication.h>
29945
if test "$kde_qtver" = "2"; then
29946
cat >> conftest.$ac_ext <<EOF
29947
#include <qevent.h>
29948
#include <qstring.h>
29949
#include <qstyle.h>
29952
if test $kde_qtsubver -gt 0; then
29953
cat >> conftest.$ac_ext <<EOF
29954
#if QT_VERSION < 210
29961
if test "$kde_qtver" = "3"; then
29962
cat >> conftest.$ac_ext <<EOF
29963
#include <qcursor.h>
29964
#include <qstylefactory.h>
29965
#include <private/qucomextra_p.h>
29969
echo "#if ! ($kde_qt_verstring)" >> conftest.$ac_ext
29970
cat >> conftest.$ac_ext <<EOF
29976
if test "$kde_qtver" = "2"; then
29977
cat >> conftest.$ac_ext <<EOF
29978
QStringList *t = new QStringList();
29981
if test $kde_qtsubver -gt 0; then
29982
cat >> conftest.$ac_ext <<EOF
29984
s.setLatin1("Elvis is alive", 14);
29988
if test "$kde_qtver" = "3"; then
29989
cat >> conftest.$ac_ext <<EOF
29990
(void)QStyleFactory::create(QString::null);
29991
QCursor c(Qt::WhatsThisCursor);
29994
cat >> conftest.$ac_ext <<EOF
30000
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30001
(eval $ac_link) 2>&5
30003
echo "$as_me:$LINENO: \$? = $ac_status" >&5
30004
(exit $ac_status); } && test -s conftest; then
30005
kde_cv_qt_direct="yes"
30007
kde_cv_qt_direct="no"
30008
echo "configure: failed program was:" >&5
30009
cat conftest.$ac_ext >&5
30013
CXXFLAGS="$ac_cxxflags_safe"
30014
LDFLAGS="$ac_ldflags_safe"
30015
LIBS="$ac_libs_safe"
30017
LD_LIBRARY_PATH="$ac_LD_LIBRARY_PATH_safe"
30018
export LD_LIBRARY_PATH
30019
LIBRARY_PATH="$ac_LIBRARY_PATH"
30020
export LIBRARY_PATH
30022
ac_cpp='$CPP $CPPFLAGS'
30023
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30024
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30025
ac_compiler_gnu=$ac_cv_c_compiler_gnu
30031
if test "$kde_cv_qt_direct" = "yes"; then
30032
echo "$as_me:$LINENO: result: yes" >&5
30033
echo "${ECHO_T}yes" >&6
30036
echo "$as_me:$LINENO: result: no" >&5
30037
echo "${ECHO_T}no" >&6
30046
if test "$qt_includes" = "$x_includes" || test -z "$qt_includes"; then
30049
QT_INCLUDES="-I$qt_includes"
30050
all_includes="$QT_INCLUDES $all_includes"
30053
if test "$qt_libraries" = "$x_libraries" || test -z "$qt_libraries"; then
30056
QT_LDFLAGS="-L$qt_libraries"
30057
all_libraries="$QT_LDFLAGS $all_libraries"
30059
test -z "$KDE_MT_LDFLAGS" || all_libraries="$all_libraries $KDE_MT_LDFLAGS"
30066
for dir in $kde_qt_dirs; do
30067
qt_bindirs="$qt_bindirs $dir/bin $dir/src/moc"
30069
qt_bindirs="$qt_bindirs /usr/bin /usr/X11R6/bin /usr/local/qt/bin"
30070
if test ! "$ac_qt_bindir" = "NO"; then
30071
qt_bindirs="$ac_qt_bindir $qt_bindirs"
30075
echo "$as_me:$LINENO: checking for moc" >&5
30076
echo $ECHO_N "checking for moc... $ECHO_C" >&6
30077
if test -n "$MOC"; then
30078
kde_cv_path="$MOC";
30080
kde_cache=`echo moc | sed 'y%./+-%__p_%'`
30082
if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
30083
echo $ECHO_N "(cached) $ECHO_C" >&6
30090
for dir in $PATH; do
30093
if test -z ""; then dirs="$qt_bindirs $dirs"
30094
else dirs="$dirs $qt_bindirs"
30098
for dir in $dirs; do
30099
if test -x "$dir/moc"; then
30102
evalstr="$dir/moc 2>&1 "
30103
if eval $evalstr; then
30104
kde_cv_path="$dir/moc"
30108
kde_cv_path="$dir/moc"
30114
eval "kde_cv_path_$kde_cache=$kde_cv_path"
30120
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
30124
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
30125
echo "$as_me:$LINENO: result: not found" >&5
30126
echo "${ECHO_T}not found" >&6
30128
{ { echo "$as_me:$LINENO: error: No Qt meta object compiler (moc) found!
30129
Please check whether you installed Qt correctly.
30130
You need to have a running moc binary.
30131
configure tried to run $ac_cv_path_moc and the test didn't
30132
succeed. If configure shouldn't have tried this one, set
30133
the environment variable MOC to the right one before running
30136
echo "$as_me: error: No Qt meta object compiler (moc) found!
30137
Please check whether you installed Qt correctly.
30138
You need to have a running moc binary.
30139
configure tried to run $ac_cv_path_moc and the test didn't
30140
succeed. If configure shouldn't have tried this one, set
30141
the environment variable MOC to the right one before running
30144
{ (exit 1); exit 1; }; }
30147
echo "$as_me:$LINENO: result: $kde_cv_path" >&5
30148
echo "${ECHO_T}$kde_cv_path" >&6
30153
if test -z "$UIC_NOT_NEEDED"; then
30155
echo "$as_me:$LINENO: checking for uic" >&5
30156
echo $ECHO_N "checking for uic... $ECHO_C" >&6
30157
if test -n "$UIC_PATH"; then
30158
kde_cv_path="$UIC_PATH";
30160
kde_cache=`echo uic | sed 'y%./+-%__p_%'`
30162
if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
30163
echo $ECHO_N "(cached) $ECHO_C" >&6
30170
for dir in $PATH; do
30173
if test -z ""; then dirs="$qt_bindirs $dirs"
30174
else dirs="$dirs $qt_bindirs"
30178
for dir in $dirs; do
30179
if test -x "$dir/uic"; then
30182
evalstr="$dir/uic 2>&1 "
30183
if eval $evalstr; then
30184
kde_cv_path="$dir/uic"
30188
kde_cv_path="$dir/uic"
30194
eval "kde_cv_path_$kde_cache=$kde_cv_path"
30200
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
30204
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
30205
echo "$as_me:$LINENO: result: not found" >&5
30206
echo "${ECHO_T}not found" >&6
30209
echo "$as_me:$LINENO: result: $kde_cv_path" >&5
30210
echo "${ECHO_T}$kde_cv_path" >&6
30211
UIC_PATH=$kde_cv_path
30215
if test -z "$UIC_PATH" ; then
30217
{ echo "$as_me:$LINENO: WARNING: No Qt ui compiler (uic) found!
30218
Please check whether you installed Qt correctly.
30219
You need to have a running uic binary.
30220
configure tried to run $ac_cv_path_uic and the test didn't
30221
succeed. If configure shouldn't have tried this one, set
30222
the environment variable UIC to the right one before running
30225
echo "$as_me: WARNING: No Qt ui compiler (uic) found!
30226
Please check whether you installed Qt correctly.
30227
You need to have a running uic binary.
30228
configure tried to run $ac_cv_path_uic and the test didn't
30229
succeed. If configure shouldn't have tried this one, set
30230
the environment variable UIC to the right one before running
30238
if test $kde_qtver = 3; then
30240
echo "$as_me:$LINENO: checking whether uic supports -L " >&5
30241
echo $ECHO_N "checking whether uic supports -L ... $ECHO_C" >&6
30242
kde_cache=`echo L | sed 'y% .=/+-%____p_%'`
30243
if eval "test \"\${kde_cv_prog_uic_$kde_cache+set}\" = set"; then
30244
echo $ECHO_N "(cached) $ECHO_C" >&6
30247
cat >conftest.ui <<EOT
30248
<!DOCTYPE UI><UI version="3" stdsetdef="1"></UI>
30250
ac_uic_testrun="$UIC_PATH -L /nonexistent conftest.ui >/dev/null"
30251
if { (eval echo "$as_me:$LINENO: \"$ac_uic_testrun\"") >&5
30252
(eval $ac_uic_testrun) 2>&5
30254
echo "$as_me:$LINENO: \$? = $ac_status" >&5
30255
(exit $ac_status); }; then
30256
eval "kde_cv_prog_uic_$kde_cache=yes"
30258
eval "kde_cv_prog_uic_$kde_cache=no"
30265
if eval "test \"`echo '$kde_cv_prog_uic_'$kde_cache`\" = yes"; then
30266
echo "$as_me:$LINENO: result: yes" >&5
30267
echo "${ECHO_T}yes" >&6
30269
ac_uic_supports_libpath=yes
30271
echo "$as_me:$LINENO: result: no" >&5
30272
echo "${ECHO_T}no" >&6
30274
ac_uic_supports_libpath=no
30278
echo "$as_me:$LINENO: checking whether uic supports -nounload " >&5
30279
echo $ECHO_N "checking whether uic supports -nounload ... $ECHO_C" >&6
30280
kde_cache=`echo nounload | sed 'y% .=/+-%____p_%'`
30281
if eval "test \"\${kde_cv_prog_uic_$kde_cache+set}\" = set"; then
30282
echo $ECHO_N "(cached) $ECHO_C" >&6
30285
cat >conftest.ui <<EOT
30286
<!DOCTYPE UI><UI version="3" stdsetdef="1"></UI>
30288
ac_uic_testrun="$UIC_PATH -nounload conftest.ui >/dev/null"
30289
if { (eval echo "$as_me:$LINENO: \"$ac_uic_testrun\"") >&5
30290
(eval $ac_uic_testrun) 2>&5
30292
echo "$as_me:$LINENO: \$? = $ac_status" >&5
30293
(exit $ac_status); }; then
30294
eval "kde_cv_prog_uic_$kde_cache=yes"
30296
eval "kde_cv_prog_uic_$kde_cache=no"
30303
if eval "test \"`echo '$kde_cv_prog_uic_'$kde_cache`\" = yes"; then
30304
echo "$as_me:$LINENO: result: yes" >&5
30305
echo "${ECHO_T}yes" >&6
30307
ac_uic_supports_nounload=yes
30309
echo "$as_me:$LINENO: result: no" >&5
30310
echo "${ECHO_T}no" >&6
30312
ac_uic_supports_nounload=no
30316
if test x$ac_uic_supports_libpath = xyes; then
30317
UIC="$UIC -L \$(kde_widgetdir)"
30319
if test x$ac_uic_supports_nounload = xyes; then
30320
UIC="$UIC -nounload"
30325
UIC="echo uic not available: "
30332
if test $kde_qtver = 3; then
30340
if test -n "$LIBJPEG"; then
30341
echo "$as_me:$LINENO: checking if Qt needs $LIBJPEG" >&5
30342
echo $ECHO_N "checking if Qt needs $LIBJPEG... $ECHO_C" >&6
30343
if test "${kde_cv_qt_jpeg+set}" = set; then
30344
echo $ECHO_N "(cached) $ECHO_C" >&6
30350
ac_cpp='$CXXCPP $CPPFLAGS'
30351
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30352
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30353
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30355
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
30358
ac_save_LIBS="$LIBS"
30359
LIBS="$all_libraries $USER_LDFLAGS $LIBQT"
30360
LIBS=`echo $LIBS | sed "s/$LIBJPEG//"`
30361
ac_save_CXXFLAGS="$CXXFLAGS"
30362
CXXFLAGS="$CXXFLAGS $all_includes $USER_INCLUDES"
30363
cat >conftest.$ac_ext <<_ACEOF
30366
cat confdefs.h >>conftest.$ac_ext
30367
cat >>conftest.$ac_ext <<_ACEOF
30368
/* end confdefs.h. */
30369
#include <qapplication.h>
30376
QApplication app(argc, argv);
30381
rm -f conftest.$ac_objext conftest$ac_exeext
30382
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30383
(eval $ac_link) 2>conftest.er1
30385
grep -v '^ *+' conftest.er1 >conftest.err
30387
cat conftest.err >&5
30388
echo "$as_me:$LINENO: \$? = $ac_status" >&5
30389
(exit $ac_status); } &&
30390
{ ac_try='test -z "$ac_cxx_werror_flag"
30391
|| test ! -s conftest.err'
30392
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30393
(eval $ac_try) 2>&5
30395
echo "$as_me:$LINENO: \$? = $ac_status" >&5
30396
(exit $ac_status); }; } &&
30397
{ ac_try='test -s conftest$ac_exeext'
30398
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30399
(eval $ac_try) 2>&5
30401
echo "$as_me:$LINENO: \$? = $ac_status" >&5
30402
(exit $ac_status); }; }; then
30403
eval "kde_cv_qt_jpeg=no"
30405
echo "$as_me: failed program was:" >&5
30406
sed 's/^/| /' conftest.$ac_ext >&5
30408
eval "kde_cv_qt_jpeg=yes"
30410
rm -f conftest.err conftest.$ac_objext \
30411
conftest$ac_exeext conftest.$ac_ext
30412
LIBS="$ac_save_LIBS"
30413
CXXFLAGS="$ac_save_CXXFLAGS"
30415
ac_cpp='$CPP $CPPFLAGS'
30416
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30417
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30418
ac_compiler_gnu=$ac_cv_c_compiler_gnu
30425
if eval "test ! \"`echo $kde_cv_qt_jpeg`\" = no"; then
30426
echo "$as_me:$LINENO: result: yes" >&5
30427
echo "${ECHO_T}yes" >&6
30428
LIBJPEG_QT='$(LIBJPEG)'
30430
echo "$as_me:$LINENO: result: no" >&5
30431
echo "${ECHO_T}no" >&6
30437
if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then
30438
LIB_QT="$kde_int_qt $LIBJPEG_QT "'$(LIBZ) $(LIBPNG) -lXext $(LIB_X11) $(LIBSM)'
30440
LIB_QT="$kde_int_qt $LIBJPEG_QT "'$(LIBZ) $(LIBPNG)'
30442
test -z "$KDE_MT_LIBS" || LIB_QT="$LIB_QT $KDE_MT_LIBS"
30443
for a in $qt_libdir/lib`echo ${kde_int_qt} | sed 's,^-l,,'`_incremental.*; do
30444
if test -e "$a"; then
30445
LIB_QT="$LIB_QT ${kde_int_qt}_incremental"
30462
echo "$as_me:$LINENO: checking for rpath" >&5
30463
echo $ECHO_N "checking for rpath... $ECHO_C" >&6
30464
# Check whether --enable-rpath or --disable-rpath was given.
30465
if test "${enable_rpath+set}" = set; then
30466
enableval="$enable_rpath"
30467
USE_RPATH=$enableval
30472
if test -z "$KDE_RPATH" && test "$USE_RPATH" = "yes"; then
30474
KDE_RPATH="-R \$(libdir)"
30476
if test "$kde_libraries" != "$libdir"; then
30477
KDE_RPATH="$KDE_RPATH -R \$(kde_libraries)"
30480
if test -n "$qt_libraries"; then
30481
KDE_RPATH="$KDE_RPATH -R \$(qt_libraries)"
30483
if test -n "$X_LDFLAGS"; then
30484
X_RPATH="-R \$(x_libraries)"
30485
KDE_RPATH="$KDE_RPATH $X_RPATH"
30487
if test -n "$KDE_EXTRA_RPATH"; then
30488
KDE_RPATH="$KDE_RPATH \$(KDE_EXTRA_RPATH)"
30494
echo "$as_me:$LINENO: result: $USE_RPATH" >&5
30495
echo "${ECHO_T}$USE_RPATH" >&6
30497
echo "$as_me:$LINENO: checking for KDE" >&5
30498
echo $ECHO_N "checking for KDE... $ECHO_C" >&6
30500
if test "${prefix}" != NONE; then
30501
kde_includes=${includedir}
30504
test "x$exec_prefix" = xNONE && exec_prefix=$prefix
30506
while ac_kde_includes=`eval echo "$tmp"`; test "x$ac_kde_includes" != "x$tmp"; do tmp=$ac_kde_includes; done
30510
kde_libraries=${libdir}
30513
test "x$exec_prefix" = xNONE && exec_prefix=$prefix
30515
while ac_kde_libraries=`eval echo "$tmp"`; test "x$ac_kde_libraries" != "x$tmp"; do tmp=$ac_kde_libraries; done
30526
if test "${ac_cv_have_kde+set}" = set; then
30527
echo $ECHO_N "(cached) $ECHO_C" >&6
30529
#try to guess kde locations
30531
if test "$kde_qtver" = 1; then
30532
kde_check_header="ksock.h"
30533
kde_check_lib="libkdecore.la"
30535
kde_check_header="ksharedptr.h"
30536
kde_check_lib="libkio.la"
30539
if test -z ""; then
30541
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"
30542
test -n "$KDEDIR" && kde_incdirs="$KDEDIR/include $KDEDIR/include/kde $KDEDIR $kde_incdirs"
30543
kde_incdirs="$ac_kde_includes $kde_incdirs"
30546
for i in $kde_incdirs;
30548
for j in $kde_check_header;
30550
echo "configure: 30550: $i/$j" >&5
30551
if test -r "$i/$j"; then
30552
echo "taking that" >&5
30559
ac_kde_includes="$kde_incdir"
30561
if test -n "$ac_kde_includes" && test ! -r "$ac_kde_includes/$kde_check_header"; then
30562
{ { echo "$as_me:$LINENO: error:
30563
in the prefix, you've chosen, are no KDE headers installed. This will fail.
30564
So, check this please and use another prefix!" >&5
30565
echo "$as_me: error:
30566
in the prefix, you've chosen, are no KDE headers installed. This will fail.
30567
So, check this please and use another prefix!" >&2;}
30568
{ (exit 1); exit 1; }; }
30571
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}"
30572
test -n "$KDEDIR" && kde_libdirs="$KDEDIR/lib${kdelibsuff} $KDEDIR $kde_libdirs"
30573
kde_libdirs="$ac_kde_libraries $libdir $kde_libdirs"
30576
for i in $kde_libdirs;
30578
for j in $kde_check_lib;
30580
echo "configure: 30580: $i/$j" >&5
30581
if test -r "$i/$j"; then
30582
echo "taking that" >&5
30589
ac_kde_libraries="$kde_libdir"
30594
for i in $kde_libdirs;
30596
for j in "kde3/plugins/designer/kdewidgets.la";
30598
echo "configure: 30598: $i/$j" >&5
30599
if test -r "$i/$j"; then
30600
echo "taking that" >&5
30608
if test -n "$ac_kde_libraries" && test ! -r "$ac_kde_libraries/$kde_check_lib"; then
30609
{ { echo "$as_me:$LINENO: error:
30610
in the prefix, you've chosen, are no KDE libraries installed. This will fail.
30611
So, check this please and use another prefix!" >&5
30612
echo "$as_me: error:
30613
in the prefix, you've chosen, are no KDE libraries installed. This will fail.
30614
So, check this please and use another prefix!" >&2;}
30615
{ (exit 1); exit 1; }; }
30618
if test -n "$kde_widgetdir" && test ! -r "$kde_widgetdir/kde3/plugins/designer/kdewidgets.la"; then
30619
{ { echo "$as_me:$LINENO: error:
30620
I can't find the designer plugins. These are required and should have been installed
30622
echo "$as_me: error:
30623
I can't find the designer plugins. These are required and should have been installed
30625
{ (exit 1); exit 1; }; }
30628
if test -n "$kde_widgetdir"; then
30629
kde_widgetdir="$kde_widgetdir/kde3/plugins/designer"
30633
if test "$ac_kde_includes" = NO || test "$ac_kde_libraries" = NO || test "$kde_widgetdir" = NO; then
30634
ac_cv_have_kde="have_kde=no"
30636
ac_cv_have_kde="have_kde=yes \
30637
ac_kde_includes=$ac_kde_includes ac_kde_libraries=$ac_kde_libraries"
30641
ac_cv_have_kde="have_kde=no"
30647
eval "$ac_cv_have_kde"
30649
if test "$have_kde" != "yes"; then
30650
if test "${prefix}" = NONE; then
30651
ac_kde_prefix="$ac_default_prefix"
30653
ac_kde_prefix="$prefix"
30655
if test "$exec_prefix" = NONE; then
30656
ac_kde_exec_prefix="$ac_kde_prefix"
30657
echo "$as_me:$LINENO: result: will be installed in $ac_kde_prefix" >&5
30658
echo "${ECHO_T}will be installed in $ac_kde_prefix" >&6
30660
ac_kde_exec_prefix="$exec_prefix"
30661
echo "$as_me:$LINENO: result: will be installed in $ac_kde_prefix and $ac_kde_exec_prefix" >&5
30662
echo "${ECHO_T}will be installed in $ac_kde_prefix and $ac_kde_exec_prefix" >&6
30665
kde_libraries="${libdir}"
30666
kde_includes="${includedir}"
30669
ac_cv_have_kde="have_kde=yes \
30670
ac_kde_includes=$ac_kde_includes ac_kde_libraries=$ac_kde_libraries"
30671
echo "$as_me:$LINENO: result: libraries $ac_kde_libraries, headers $ac_kde_includes" >&5
30672
echo "${ECHO_T}libraries $ac_kde_libraries, headers $ac_kde_includes" >&6
30674
kde_libraries="$ac_kde_libraries"
30675
kde_includes="$ac_kde_includes"
30680
if test "$kde_includes" = "$x_includes" || test "$kde_includes" = "$qt_includes" || test "$kde_includes" = "/usr/include"; then
30683
KDE_INCLUDES="-I$kde_includes"
30684
all_includes="$KDE_INCLUDES $all_includes"
30687
KDE_DEFAULT_CXXFLAGS="-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION"
30689
KDE_LDFLAGS="-L$kde_libraries"
30690
if test ! "$kde_libraries" = "$x_libraries" && test ! "$kde_libraries" = "$qt_libraries" ; then
30691
all_libraries="$KDE_LDFLAGS $all_libraries"
30699
all_libraries="$all_libraries $USER_LDFLAGS"
30700
all_includes="$all_includes $USER_INCLUDES"
30704
if test -z ""; then
30708
if test x$ac_uic_supports_libpath = xyes; then
30710
echo "$as_me:$LINENO: checking if UIC has KDE plugins available" >&5
30711
echo $ECHO_N "checking if UIC has KDE plugins available... $ECHO_C" >&6
30712
if test "${kde_cv_uic_plugins+set}" = set; then
30713
echo $ECHO_N "(cached) $ECHO_C" >&6
30716
cat > actest.ui << EOF
30717
<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
30718
<class>NewConnectionDialog</class>
30719
<widget class="QDialog">
30720
<widget class="KLineEdit">
30721
<property name="name">
30722
<cstring>testInput</cstring>
30731
kde_cv_uic_plugins=no
30732
kde_line="$UIC_PATH -L $kde_widgetdir"
30733
if test x$ac_uic_supports_nounload = xyes; then
30734
kde_line="$kde_line -nounload"
30736
kde_line="$kde_line -impl actest.h actest.ui > actest.cpp"
30737
if { (eval echo "$as_me:$LINENO: \"$kde_line\"") >&5
30738
(eval $kde_line) 2>&5
30740
echo "$as_me:$LINENO: \$? = $ac_status" >&5
30741
(exit $ac_status); }; then
30742
# if you're trying to debug this check and think it's incorrect,
30743
# better check your installation. The check _is_ correct - your
30744
# installation is not.
30745
if test -f actest.cpp && grep klineedit actest.cpp > /dev/null; then
30746
kde_cv_uic_plugins=yes
30749
rm -f actest.ui actest.cpp
30754
echo "$as_me:$LINENO: result: $kde_cv_uic_plugins" >&5
30755
echo "${ECHO_T}$kde_cv_uic_plugins" >&6
30756
if test "$kde_cv_uic_plugins" != yes; then
30757
{ { echo "$as_me:$LINENO: error:
30758
you need to install kdelibs first.
30760
If you did install kdelibs, then the Qt version that is picked up by
30761
this configure is not the same version you used to compile kdelibs.
30762
The Qt Plugin installed by kdelibs is *ONLY* loadable if its the
30763
same Qt version, compiled with the same compiler and the same Qt
30764
configuration settings.
30766
echo "$as_me: error:
30767
you need to install kdelibs first.
30769
If you did install kdelibs, then the Qt version that is picked up by
30770
this configure is not the same version you used to compile kdelibs.
30771
The Qt Plugin installed by kdelibs is *ONLY* loadable if its the
30772
same Qt version, compiled with the same compiler and the same Qt
30773
configuration settings.
30775
{ (exit 1); exit 1; }; }
30781
ac_kde_libraries="$kde_libdir"
30787
# Check whether --enable-path-check or --disable-path-check was given.
30788
if test "${enable_path_check+set}" = set; then
30789
enableval="$enable_path_check"
30791
if test "$enableval" = "no";
30792
then ac_use_path_checking="default"
30793
else ac_use_path_checking=""
30798
if test "$kde_qtver" = 1;
30799
then ac_use_path_checking=""
30800
else ac_use_path_checking="default"
30809
echo "$as_me:$LINENO: checking for KDE paths" >&5
30810
echo $ECHO_N "checking for KDE paths... $ECHO_C" >&6
30812
kde_cached_paths=yes
30813
if test "${kde_cv_all_paths+set}" = set; then
30814
echo $ECHO_N "(cached) $ECHO_C" >&6
30818
if test "$ac_use_path_checking" = "default"; then
30820
if test -z "$kde_htmldir"; then
30821
kde_htmldir='\${datadir}/doc/HTML'
30823
if test -z "$kde_appsdir"; then
30824
kde_appsdir='\${datadir}/applnk'
30826
if test -z "$kde_icondir"; then
30827
kde_icondir='\${datadir}/icons'
30829
if test -z "$kde_sounddir"; then
30830
kde_sounddir='\${datadir}/sounds'
30832
if test -z "$kde_datadir"; then
30833
kde_datadir='\${datadir}/apps'
30835
if test -z "$kde_locale"; then
30836
kde_locale='\${datadir}/locale'
30838
if test -z "$kde_cgidir"; then
30839
kde_cgidir='\${exec_prefix}/cgi-bin'
30841
if test -z "$kde_confdir"; then
30842
kde_confdir='\${datadir}/config'
30844
if test -z "$kde_kcfgdir"; then
30845
kde_kcfgdir='\${datadir}/config.kcfg'
30847
if test -z "$kde_mimedir"; then
30848
kde_mimedir='\${datadir}/mimelnk'
30850
if test -z "$kde_toolbardir"; then
30851
kde_toolbardir='\${datadir}/toolbar'
30853
if test -z "$kde_wallpaperdir"; then
30854
kde_wallpaperdir='\${datadir}/wallpapers'
30856
if test -z "$kde_templatesdir"; then
30857
kde_templatesdir='\${datadir}/templates'
30859
if test -z "$kde_bindir"; then
30860
kde_bindir='\${exec_prefix}/bin'
30862
if test -z "$kde_servicesdir"; then
30863
kde_servicesdir='\${datadir}/services'
30865
if test -z "$kde_servicetypesdir"; then
30866
kde_servicetypesdir='\${datadir}/servicetypes'
30868
if test -z "$kde_moduledir"; then
30869
if test "$kde_qtver" = "2"; then
30870
kde_moduledir='\${libdir}/kde2'
30872
kde_moduledir='\${libdir}/kde3'
30875
if test -z "$kde_styledir"; then
30876
kde_styledir='\${libdir}/kde3/plugins/styles'
30878
if test -z "$kde_widgetdir"; then
30879
kde_widgetdir='\${libdir}/kde3/plugins/designer'
30881
if test -z "$xdg_appsdir"; then
30882
xdg_appsdir='\${datadir}/applications/kde'
30884
if test -z "$xdg_menudir"; then
30885
xdg_menudir='\${sysconfdir}/xdg/menus'
30887
if test -z "$xdg_directorydir"; then
30888
xdg_directorydir='\${datadir}/desktop-directories'
30892
kde_cv_all_paths="kde_have_all_paths=\"yes\" \
30893
kde_htmldir=\"$kde_htmldir\" \
30894
kde_appsdir=\"$kde_appsdir\" \
30895
kde_icondir=\"$kde_icondir\" \
30896
kde_sounddir=\"$kde_sounddir\" \
30897
kde_datadir=\"$kde_datadir\" \
30898
kde_locale=\"$kde_locale\" \
30899
kde_cgidir=\"$kde_cgidir\" \
30900
kde_confdir=\"$kde_confdir\" \
30901
kde_kcfgdir=\"$kde_kcfgdir\" \
30902
kde_mimedir=\"$kde_mimedir\" \
30903
kde_toolbardir=\"$kde_toolbardir\" \
30904
kde_wallpaperdir=\"$kde_wallpaperdir\" \
30905
kde_templatesdir=\"$kde_templatesdir\" \
30906
kde_bindir=\"$kde_bindir\" \
30907
kde_servicesdir=\"$kde_servicesdir\" \
30908
kde_servicetypesdir=\"$kde_servicetypesdir\" \
30909
kde_moduledir=\"$kde_moduledir\" \
30910
kde_styledir=\"$kde_styledir\" \
30911
kde_widgetdir=\"$kde_widgetdir\" \
30912
xdg_appsdir=\"$xdg_appsdir\" \
30913
xdg_menudir=\"$xdg_menudir\" \
30914
xdg_directorydir=\"$xdg_directorydir\" \
30915
kde_result=defaults"
30920
if test $kde_qtver = 1; then
30921
echo "$as_me:$LINENO: result: compiling" >&5
30922
echo "${ECHO_T}compiling" >&6
30925
echo "$as_me:$LINENO: checking for KDE headers installed" >&5
30926
echo $ECHO_N "checking for KDE headers installed... $ECHO_C" >&6
30930
ac_cpp='$CXXCPP $CPPFLAGS'
30931
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30932
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30933
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30935
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
30938
cat > conftest.$ac_ext <<EOF
30939
#ifdef STDC_HEADERS
30940
# include <stdlib.h>
30943
#include "confdefs.h"
30947
printf("kde_htmldir=\\"%s\\"\n", KApplication::kde_htmldir().data());
30948
printf("kde_appsdir=\\"%s\\"\n", KApplication::kde_appsdir().data());
30949
printf("kde_icondir=\\"%s\\"\n", KApplication::kde_icondir().data());
30950
printf("kde_sounddir=\\"%s\\"\n", KApplication::kde_sounddir().data());
30951
printf("kde_datadir=\\"%s\\"\n", KApplication::kde_datadir().data());
30952
printf("kde_locale=\\"%s\\"\n", KApplication::kde_localedir().data());
30953
printf("kde_cgidir=\\"%s\\"\n", KApplication::kde_cgidir().data());
30954
printf("kde_confdir=\\"%s\\"\n", KApplication::kde_configdir().data());
30955
printf("kde_mimedir=\\"%s\\"\n", KApplication::kde_mimedir().data());
30956
printf("kde_toolbardir=\\"%s\\"\n", KApplication::kde_toolbardir().data());
30957
printf("kde_wallpaperdir=\\"%s\\"\n",
30958
KApplication::kde_wallpaperdir().data());
30959
printf("kde_bindir=\\"%s\\"\n", KApplication::kde_bindir().data());
30960
printf("kde_partsdir=\\"%s\\"\n", KApplication::kde_partsdir().data());
30961
printf("kde_servicesdir=\\"/tmp/dummy\\"\n");
30962
printf("kde_servicetypesdir=\\"/tmp/dummy\\"\n");
30963
printf("kde_moduledir=\\"/tmp/dummy\\"\n");
30964
printf("kde_styledir=\\"/tmp/dummy\\"\n");
30965
printf("kde_widgetdir=\\"/tmp/dummy\\"\n");
30966
printf("xdg_appsdir=\\"/tmp/dummy\\"\n");
30967
printf("xdg_menudir=\\"/tmp/dummy\\"\n");
30968
printf("xdg_directorydir=\\"/tmp/dummy\\"\n");
30969
printf("kde_kcfgdir=\\"/tmp/dummy\\"\n");
30974
ac_save_CPPFLAGS=$CPPFLAGS
30975
CPPFLAGS="$all_includes $CPPFLAGS"
30976
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30977
(eval $ac_compile) 2>&5
30979
echo "$as_me:$LINENO: \$? = $ac_status" >&5
30980
(exit $ac_status); }; then
30981
echo "$as_me:$LINENO: result: yes" >&5
30982
echo "${ECHO_T}yes" >&6
30984
{ { echo "$as_me:$LINENO: error: your system is not able to compile a small KDE application!
30985
Check, if you installed the KDE header files correctly.
30986
For more details about this problem, look at the end of config.log." >&5
30987
echo "$as_me: error: your system is not able to compile a small KDE application!
30988
Check, if you installed the KDE header files correctly.
30989
For more details about this problem, look at the end of config.log." >&2;}
30990
{ (exit 1); exit 1; }; }
30992
CPPFLAGS=$ac_save_CPPFLAGS
30995
ac_cpp='$CPP $CPPFLAGS'
30996
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30997
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30998
ac_compiler_gnu=$ac_cv_c_compiler_gnu
31004
if test -n "$USE_RPATH"; then
31006
if test -n "$kde_libraries"; then
31007
KDE_TEST_RPATH="-R $kde_libraries"
31010
if test -n "$qt_libraries"; then
31011
KDE_TEST_RPATH="$KDE_TEST_RPATH -R $qt_libraries"
31014
if test -n "$x_libraries"; then
31015
KDE_TEST_RPATH="$KDE_TEST_RPATH -R $x_libraries"
31018
KDE_TEST_RPATH="$KDE_TEST_RPATH $KDE_EXTRA_RPATH"
31021
echo "$as_me:$LINENO: checking for KDE libraries installed" >&5
31022
echo $ECHO_N "checking for KDE libraries installed... $ECHO_C" >&6
31023
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'
31025
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31026
(eval $ac_link) 2>&5
31028
echo "$as_me:$LINENO: \$? = $ac_status" >&5
31029
(exit $ac_status); } && test -s conftest; then
31030
echo "$as_me:$LINENO: result: yes" >&5
31031
echo "${ECHO_T}yes" >&6
31033
{ { echo "$as_me:$LINENO: error: your system fails at linking a small KDE application!
31034
Check, if your compiler is installed correctly and if you have used the
31035
same compiler to compile Qt and kdelibs as you did use now.
31036
For more details about this problem, look at the end of config.log." >&5
31037
echo "$as_me: error: your system fails at linking a small KDE application!
31038
Check, if your compiler is installed correctly and if you have used the
31039
same compiler to compile Qt and kdelibs as you did use now.
31040
For more details about this problem, look at the end of config.log." >&2;}
31041
{ (exit 1); exit 1; }; }
31044
if eval `KDEDIR= ./conftest 2>&5`; then
31047
kde_result=problems
31050
KDEDIR= ./conftest 2> /dev/null >&5 # make an echo for config.log
31051
kde_have_all_paths=yes
31054
kde_cv_all_paths="kde_have_all_paths=\"yes\" \
31055
kde_htmldir=\"$kde_htmldir\" \
31056
kde_appsdir=\"$kde_appsdir\" \
31057
kde_icondir=\"$kde_icondir\" \
31058
kde_sounddir=\"$kde_sounddir\" \
31059
kde_datadir=\"$kde_datadir\" \
31060
kde_locale=\"$kde_locale\" \
31061
kde_cgidir=\"$kde_cgidir\" \
31062
kde_confdir=\"$kde_confdir\" \
31063
kde_kcfgdir=\"$kde_kcfgdir\" \
31064
kde_mimedir=\"$kde_mimedir\" \
31065
kde_toolbardir=\"$kde_toolbardir\" \
31066
kde_wallpaperdir=\"$kde_wallpaperdir\" \
31067
kde_templatesdir=\"$kde_templatesdir\" \
31068
kde_bindir=\"$kde_bindir\" \
31069
kde_servicesdir=\"$kde_servicesdir\" \
31070
kde_servicetypesdir=\"$kde_servicetypesdir\" \
31071
kde_moduledir=\"$kde_moduledir\" \
31072
kde_styledir=\"$kde_styledir\" \
31073
kde_widgetdir=\"$kde_widgetdir\" \
31074
xdg_appsdir=\"$xdg_appsdir\" \
31075
xdg_menudir=\"$xdg_menudir\" \
31076
xdg_directorydir=\"$xdg_directorydir\" \
31077
kde_result=$kde_result"
31082
{ { echo "$as_me:$LINENO: error: path checking not yet supported for KDE 2" >&5
31083
echo "$as_me: error: path checking not yet supported for KDE 2" >&2;}
31084
{ (exit 1); exit 1; }; }
31089
kde_cached_paths=no
31093
eval "$kde_cv_all_paths"
31094
if test -z "$kde_htmldir" || test -z "$kde_appsdir" ||
31095
test -z "$kde_icondir" || test -z "$kde_sounddir" ||
31096
test -z "$kde_datadir" || test -z "$kde_locale" ||
31097
test -z "$kde_cgidir" || test -z "$kde_confdir" ||
31098
test -z "$kde_kcfgdir" ||
31099
test -z "$kde_mimedir" || test -z "$kde_toolbardir" ||
31100
test -z "$kde_wallpaperdir" || test -z "$kde_templatesdir" ||
31101
test -z "$kde_bindir" || test -z "$kde_servicesdir" ||
31102
test -z "$kde_servicetypesdir" || test -z "$kde_moduledir" ||
31103
test -z "$kde_styledir" || test -z "kde_widgetdir" ||
31104
test -z "$xdg_appsdir" || test -z "$xdg_menudir" || test -z "$xdg_directorydir" ||
31105
test "x$kde_have_all_paths" != "xyes"; then
31106
kde_have_all_paths=no
31109
if test "$kde_have_all_paths" = "no" && test "$kde_cached_paths" = "yes"; then
31110
# wrong values were cached, may be, we can set better ones
31112
kde_htmldir= kde_appsdir= kde_icondir= kde_sounddir=
31113
kde_datadir= kde_locale= kde_cgidir= kde_confdir= kde_kcfgdir=
31114
kde_mimedir= kde_toolbardir= kde_wallpaperdir= kde_templatesdir=
31115
kde_bindir= kde_servicesdir= kde_servicetypesdir= kde_moduledir=
31116
kde_have_all_paths=
31119
xdg_appsdir = xdg_menudir= xdg_directorydir=
31121
if test "$ac_use_path_checking" = "default"; then
31123
if test -z "$kde_htmldir"; then
31124
kde_htmldir='\${datadir}/doc/HTML'
31126
if test -z "$kde_appsdir"; then
31127
kde_appsdir='\${datadir}/applnk'
31129
if test -z "$kde_icondir"; then
31130
kde_icondir='\${datadir}/icons'
31132
if test -z "$kde_sounddir"; then
31133
kde_sounddir='\${datadir}/sounds'
31135
if test -z "$kde_datadir"; then
31136
kde_datadir='\${datadir}/apps'
31138
if test -z "$kde_locale"; then
31139
kde_locale='\${datadir}/locale'
31141
if test -z "$kde_cgidir"; then
31142
kde_cgidir='\${exec_prefix}/cgi-bin'
31144
if test -z "$kde_confdir"; then
31145
kde_confdir='\${datadir}/config'
31147
if test -z "$kde_kcfgdir"; then
31148
kde_kcfgdir='\${datadir}/config.kcfg'
31150
if test -z "$kde_mimedir"; then
31151
kde_mimedir='\${datadir}/mimelnk'
31153
if test -z "$kde_toolbardir"; then
31154
kde_toolbardir='\${datadir}/toolbar'
31156
if test -z "$kde_wallpaperdir"; then
31157
kde_wallpaperdir='\${datadir}/wallpapers'
31159
if test -z "$kde_templatesdir"; then
31160
kde_templatesdir='\${datadir}/templates'
31162
if test -z "$kde_bindir"; then
31163
kde_bindir='\${exec_prefix}/bin'
31165
if test -z "$kde_servicesdir"; then
31166
kde_servicesdir='\${datadir}/services'
31168
if test -z "$kde_servicetypesdir"; then
31169
kde_servicetypesdir='\${datadir}/servicetypes'
31171
if test -z "$kde_moduledir"; then
31172
if test "$kde_qtver" = "2"; then
31173
kde_moduledir='\${libdir}/kde2'
31175
kde_moduledir='\${libdir}/kde3'
31178
if test -z "$kde_styledir"; then
31179
kde_styledir='\${libdir}/kde3/plugins/styles'
31181
if test -z "$kde_widgetdir"; then
31182
kde_widgetdir='\${libdir}/kde3/plugins/designer'
31184
if test -z "$xdg_appsdir"; then
31185
xdg_appsdir='\${datadir}/applications/kde'
31187
if test -z "$xdg_menudir"; then
31188
xdg_menudir='\${sysconfdir}/xdg/menus'
31190
if test -z "$xdg_directorydir"; then
31191
xdg_directorydir='\${datadir}/desktop-directories'
31195
kde_cv_all_paths="kde_have_all_paths=\"yes\" \
31196
kde_htmldir=\"$kde_htmldir\" \
31197
kde_appsdir=\"$kde_appsdir\" \
31198
kde_icondir=\"$kde_icondir\" \
31199
kde_sounddir=\"$kde_sounddir\" \
31200
kde_datadir=\"$kde_datadir\" \
31201
kde_locale=\"$kde_locale\" \
31202
kde_cgidir=\"$kde_cgidir\" \
31203
kde_confdir=\"$kde_confdir\" \
31204
kde_kcfgdir=\"$kde_kcfgdir\" \
31205
kde_mimedir=\"$kde_mimedir\" \
31206
kde_toolbardir=\"$kde_toolbardir\" \
31207
kde_wallpaperdir=\"$kde_wallpaperdir\" \
31208
kde_templatesdir=\"$kde_templatesdir\" \
31209
kde_bindir=\"$kde_bindir\" \
31210
kde_servicesdir=\"$kde_servicesdir\" \
31211
kde_servicetypesdir=\"$kde_servicetypesdir\" \
31212
kde_moduledir=\"$kde_moduledir\" \
31213
kde_styledir=\"$kde_styledir\" \
31214
kde_widgetdir=\"$kde_widgetdir\" \
31215
xdg_appsdir=\"$xdg_appsdir\" \
31216
xdg_menudir=\"$xdg_menudir\" \
31217
xdg_directorydir=\"$xdg_directorydir\" \
31218
kde_result=defaults"
31223
if test $kde_qtver = 1; then
31224
echo "$as_me:$LINENO: result: compiling" >&5
31225
echo "${ECHO_T}compiling" >&6
31228
echo "$as_me:$LINENO: checking for KDE headers installed" >&5
31229
echo $ECHO_N "checking for KDE headers installed... $ECHO_C" >&6
31233
ac_cpp='$CXXCPP $CPPFLAGS'
31234
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31235
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31236
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31238
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
31241
cat > conftest.$ac_ext <<EOF
31242
#ifdef STDC_HEADERS
31243
# include <stdlib.h>
31246
#include "confdefs.h"
31250
printf("kde_htmldir=\\"%s\\"\n", KApplication::kde_htmldir().data());
31251
printf("kde_appsdir=\\"%s\\"\n", KApplication::kde_appsdir().data());
31252
printf("kde_icondir=\\"%s\\"\n", KApplication::kde_icondir().data());
31253
printf("kde_sounddir=\\"%s\\"\n", KApplication::kde_sounddir().data());
31254
printf("kde_datadir=\\"%s\\"\n", KApplication::kde_datadir().data());
31255
printf("kde_locale=\\"%s\\"\n", KApplication::kde_localedir().data());
31256
printf("kde_cgidir=\\"%s\\"\n", KApplication::kde_cgidir().data());
31257
printf("kde_confdir=\\"%s\\"\n", KApplication::kde_configdir().data());
31258
printf("kde_mimedir=\\"%s\\"\n", KApplication::kde_mimedir().data());
31259
printf("kde_toolbardir=\\"%s\\"\n", KApplication::kde_toolbardir().data());
31260
printf("kde_wallpaperdir=\\"%s\\"\n",
31261
KApplication::kde_wallpaperdir().data());
31262
printf("kde_bindir=\\"%s\\"\n", KApplication::kde_bindir().data());
31263
printf("kde_partsdir=\\"%s\\"\n", KApplication::kde_partsdir().data());
31264
printf("kde_servicesdir=\\"/tmp/dummy\\"\n");
31265
printf("kde_servicetypesdir=\\"/tmp/dummy\\"\n");
31266
printf("kde_moduledir=\\"/tmp/dummy\\"\n");
31267
printf("kde_styledir=\\"/tmp/dummy\\"\n");
31268
printf("kde_widgetdir=\\"/tmp/dummy\\"\n");
31269
printf("xdg_appsdir=\\"/tmp/dummy\\"\n");
31270
printf("xdg_menudir=\\"/tmp/dummy\\"\n");
31271
printf("xdg_directorydir=\\"/tmp/dummy\\"\n");
31272
printf("kde_kcfgdir=\\"/tmp/dummy\\"\n");
31277
ac_save_CPPFLAGS=$CPPFLAGS
31278
CPPFLAGS="$all_includes $CPPFLAGS"
31279
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31280
(eval $ac_compile) 2>&5
31282
echo "$as_me:$LINENO: \$? = $ac_status" >&5
31283
(exit $ac_status); }; then
31284
echo "$as_me:$LINENO: result: yes" >&5
31285
echo "${ECHO_T}yes" >&6
31287
{ { echo "$as_me:$LINENO: error: your system is not able to compile a small KDE application!
31288
Check, if you installed the KDE header files correctly.
31289
For more details about this problem, look at the end of config.log." >&5
31290
echo "$as_me: error: your system is not able to compile a small KDE application!
31291
Check, if you installed the KDE header files correctly.
31292
For more details about this problem, look at the end of config.log." >&2;}
31293
{ (exit 1); exit 1; }; }
31295
CPPFLAGS=$ac_save_CPPFLAGS
31298
ac_cpp='$CPP $CPPFLAGS'
31299
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31300
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31301
ac_compiler_gnu=$ac_cv_c_compiler_gnu
31307
if test -n "$USE_RPATH"; then
31309
if test -n "$kde_libraries"; then
31310
KDE_TEST_RPATH="-R $kde_libraries"
31313
if test -n "$qt_libraries"; then
31314
KDE_TEST_RPATH="$KDE_TEST_RPATH -R $qt_libraries"
31317
if test -n "$x_libraries"; then
31318
KDE_TEST_RPATH="$KDE_TEST_RPATH -R $x_libraries"
31321
KDE_TEST_RPATH="$KDE_TEST_RPATH $KDE_EXTRA_RPATH"
31324
echo "$as_me:$LINENO: checking for KDE libraries installed" >&5
31325
echo $ECHO_N "checking for KDE libraries installed... $ECHO_C" >&6
31326
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'
31328
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31329
(eval $ac_link) 2>&5
31331
echo "$as_me:$LINENO: \$? = $ac_status" >&5
31332
(exit $ac_status); } && test -s conftest; then
31333
echo "$as_me:$LINENO: result: yes" >&5
31334
echo "${ECHO_T}yes" >&6
31336
{ { echo "$as_me:$LINENO: error: your system fails at linking a small KDE application!
31337
Check, if your compiler is installed correctly and if you have used the
31338
same compiler to compile Qt and kdelibs as you did use now.
31339
For more details about this problem, look at the end of config.log." >&5
31340
echo "$as_me: error: your system fails at linking a small KDE application!
31341
Check, if your compiler is installed correctly and if you have used the
31342
same compiler to compile Qt and kdelibs as you did use now.
31343
For more details about this problem, look at the end of config.log." >&2;}
31344
{ (exit 1); exit 1; }; }
31347
if eval `KDEDIR= ./conftest 2>&5`; then
31350
kde_result=problems
31353
KDEDIR= ./conftest 2> /dev/null >&5 # make an echo for config.log
31354
kde_have_all_paths=yes
31357
kde_cv_all_paths="kde_have_all_paths=\"yes\" \
31358
kde_htmldir=\"$kde_htmldir\" \
31359
kde_appsdir=\"$kde_appsdir\" \
31360
kde_icondir=\"$kde_icondir\" \
31361
kde_sounddir=\"$kde_sounddir\" \
31362
kde_datadir=\"$kde_datadir\" \
31363
kde_locale=\"$kde_locale\" \
31364
kde_cgidir=\"$kde_cgidir\" \
31365
kde_confdir=\"$kde_confdir\" \
31366
kde_kcfgdir=\"$kde_kcfgdir\" \
31367
kde_mimedir=\"$kde_mimedir\" \
31368
kde_toolbardir=\"$kde_toolbardir\" \
31369
kde_wallpaperdir=\"$kde_wallpaperdir\" \
31370
kde_templatesdir=\"$kde_templatesdir\" \
31371
kde_bindir=\"$kde_bindir\" \
31372
kde_servicesdir=\"$kde_servicesdir\" \
31373
kde_servicetypesdir=\"$kde_servicetypesdir\" \
31374
kde_moduledir=\"$kde_moduledir\" \
31375
kde_styledir=\"$kde_styledir\" \
31376
kde_widgetdir=\"$kde_widgetdir\" \
31377
xdg_appsdir=\"$xdg_appsdir\" \
31378
xdg_menudir=\"$xdg_menudir\" \
31379
xdg_directorydir=\"$xdg_directorydir\" \
31380
kde_result=$kde_result"
31385
{ { echo "$as_me:$LINENO: error: path checking not yet supported for KDE 2" >&5
31386
echo "$as_me: error: path checking not yet supported for KDE 2" >&2;}
31387
{ (exit 1); exit 1; }; }
31392
eval "$kde_cv_all_paths"
31393
if test -z "$kde_htmldir" || test -z "$kde_appsdir" ||
31394
test -z "$kde_icondir" || test -z "$kde_sounddir" ||
31395
test -z "$kde_datadir" || test -z "$kde_locale" ||
31396
test -z "$kde_cgidir" || test -z "$kde_confdir" ||
31397
test -z "$kde_kcfgdir" ||
31398
test -z "$kde_mimedir" || test -z "$kde_toolbardir" ||
31399
test -z "$kde_wallpaperdir" || test -z "$kde_templatesdir" ||
31400
test -z "$kde_bindir" || test -z "$kde_servicesdir" ||
31401
test -z "$kde_servicetypesdir" || test -z "$kde_moduledir" ||
31402
test -z "$kde_styledir" || test -z "kde_widgetdir" ||
31403
test -z "$xdg_appsdir" || test -z "$xdg_menudir" || test -z "$xdg_directorydir" ||
31404
test "x$kde_have_all_paths" != "xyes"; then
31405
kde_have_all_paths=no
31408
kde_result="$kde_result (cache overridden)"
31410
if test "$kde_have_all_paths" = "no"; then
31411
{ { echo "$as_me:$LINENO: error: configure could not run a little KDE program to test the environment.
31412
Since it had compiled and linked before, it must be a strange problem on your system.
31413
Look at config.log for details. If you are not able to fix this, look at
31414
http://www.kde.org/faq/installation.html or any www.kde.org mirror.
31415
(If you're using an egcs version on Linux, you may update binutils!)
31417
echo "$as_me: error: configure could not run a little KDE program to test the environment.
31418
Since it had compiled and linked before, it must be a strange problem on your system.
31419
Look at config.log for details. If you are not able to fix this, look at
31420
http://www.kde.org/faq/installation.html or any www.kde.org mirror.
31421
(If you're using an egcs version on Linux, you may update binutils!)
31423
{ (exit 1); exit 1; }; }
31426
echo "$as_me:$LINENO: result: $kde_result" >&5
31427
echo "${ECHO_T}$kde_result" >&6
31434
# Check whether --with-arts or --without-arts was given.
31435
if test "${with_arts+set}" = set; then
31436
withval="$with_arts"
31437
build_arts=$withval
31444
if test "$build_arts" '!=' "no"; then
31446
include_ARTS_FALSE='#'
31448
include_ARTS_TRUE='#'
31449
include_ARTS_FALSE=
31452
if test "$build_arts" = "no"; then
31454
cat >>confdefs.h <<\_ACEOF
31455
#define WITHOUT_ARTS 1
31461
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"
31462
test -n "$KDEDIR" && kde_default_bindirs="$KDEDIR/bin $kde_default_bindirs"
31463
if test -n "$KDEDIRS"; then
31466
for dir in $KDEDIRS; do
31467
kde_default_bindirs="$dir/bin $kde_default_bindirs "
31472
kde_default_bindirs="$exec_prefix/bin $prefix/bin $kde_libs_prefix/bin $kde_default_bindirs"
31474
echo "$as_me:$LINENO: checking for dcopidl" >&5
31475
echo $ECHO_N "checking for dcopidl... $ECHO_C" >&6
31476
if test -n "$DCOPIDL"; then
31477
kde_cv_path="$DCOPIDL";
31479
kde_cache=`echo dcopidl | sed 'y%./+-%__p_%'`
31481
if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
31482
echo $ECHO_N "(cached) $ECHO_C" >&6
31489
for dir in $PATH; do
31492
if test -z ""; then dirs="$kde_default_bindirs $dirs"
31493
else dirs="$dirs $kde_default_bindirs"
31497
for dir in $dirs; do
31498
if test -x "$dir/dcopidl"; then
31501
evalstr="$dir/dcopidl 2>&1 "
31502
if eval $evalstr; then
31503
kde_cv_path="$dir/dcopidl"
31507
kde_cv_path="$dir/dcopidl"
31513
eval "kde_cv_path_$kde_cache=$kde_cv_path"
31519
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
31523
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
31524
echo "$as_me:$LINENO: result: not found" >&5
31525
echo "${ECHO_T}not found" >&6
31527
{ { echo "$as_me:$LINENO: error: The important program dcopidl was not found!
31528
Please check whether you installed KDE correctly.
31530
echo "$as_me: error: The important program dcopidl was not found!
31531
Please check whether you installed KDE correctly.
31533
{ (exit 1); exit 1; }; }
31536
echo "$as_me:$LINENO: result: $kde_cv_path" >&5
31537
echo "${ECHO_T}$kde_cv_path" >&6
31538
DCOPIDL=$kde_cv_path
31543
echo "$as_me:$LINENO: checking for dcopidl2cpp" >&5
31544
echo $ECHO_N "checking for dcopidl2cpp... $ECHO_C" >&6
31545
if test -n "$DCOPIDL2CPP"; then
31546
kde_cv_path="$DCOPIDL2CPP";
31548
kde_cache=`echo dcopidl2cpp | sed 'y%./+-%__p_%'`
31550
if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
31551
echo $ECHO_N "(cached) $ECHO_C" >&6
31558
for dir in $PATH; do
31561
if test -z ""; then dirs="$kde_default_bindirs $dirs"
31562
else dirs="$dirs $kde_default_bindirs"
31566
for dir in $dirs; do
31567
if test -x "$dir/dcopidl2cpp"; then
31570
evalstr="$dir/dcopidl2cpp 2>&1 "
31571
if eval $evalstr; then
31572
kde_cv_path="$dir/dcopidl2cpp"
31576
kde_cv_path="$dir/dcopidl2cpp"
31582
eval "kde_cv_path_$kde_cache=$kde_cv_path"
31588
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
31592
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
31593
echo "$as_me:$LINENO: result: not found" >&5
31594
echo "${ECHO_T}not found" >&6
31596
{ { echo "$as_me:$LINENO: error: The important program dcopidl2cpp was not found!
31597
Please check whether you installed KDE correctly.
31599
echo "$as_me: error: The important program dcopidl2cpp was not found!
31600
Please check whether you installed KDE correctly.
31602
{ (exit 1); exit 1; }; }
31605
echo "$as_me:$LINENO: result: $kde_cv_path" >&5
31606
echo "${ECHO_T}$kde_cv_path" >&6
31607
DCOPIDL2CPP=$kde_cv_path
31611
if test "$build_arts" '!=' "no"; then
31613
echo "$as_me:$LINENO: checking for mcopidl" >&5
31614
echo $ECHO_N "checking for mcopidl... $ECHO_C" >&6
31615
if test -n "$MCOPIDL"; then
31616
kde_cv_path="$MCOPIDL";
31618
kde_cache=`echo mcopidl | sed 'y%./+-%__p_%'`
31620
if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
31621
echo $ECHO_N "(cached) $ECHO_C" >&6
31628
for dir in $PATH; do
31631
if test -z ""; then dirs="$kde_default_bindirs $dirs"
31632
else dirs="$dirs $kde_default_bindirs"
31636
for dir in $dirs; do
31637
if test -x "$dir/mcopidl"; then
31640
evalstr="$dir/mcopidl 2>&1 "
31641
if eval $evalstr; then
31642
kde_cv_path="$dir/mcopidl"
31646
kde_cv_path="$dir/mcopidl"
31652
eval "kde_cv_path_$kde_cache=$kde_cv_path"
31658
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
31662
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
31663
echo "$as_me:$LINENO: result: not found" >&5
31664
echo "${ECHO_T}not found" >&6
31666
{ { echo "$as_me:$LINENO: error: The important program mcopidl was not found!
31667
Please check whether you installed aRts correctly or use
31668
--without-arts to compile without aRts support (this will remove functionality).
31670
echo "$as_me: error: The important program mcopidl was not found!
31671
Please check whether you installed aRts correctly or use
31672
--without-arts to compile without aRts support (this will remove functionality).
31674
{ (exit 1); exit 1; }; }
31677
echo "$as_me:$LINENO: result: $kde_cv_path" >&5
31678
echo "${ECHO_T}$kde_cv_path" >&6
31679
MCOPIDL=$kde_cv_path
31684
echo "$as_me:$LINENO: checking for artsc-config" >&5
31685
echo $ECHO_N "checking for artsc-config... $ECHO_C" >&6
31686
if test -n "$ARTSCCONFIG"; then
31687
kde_cv_path="$ARTSCCONFIG";
31689
kde_cache=`echo artsc-config | sed 'y%./+-%__p_%'`
31691
if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
31692
echo $ECHO_N "(cached) $ECHO_C" >&6
31699
for dir in $PATH; do
31702
if test -z ""; then dirs="$kde_default_bindirs $dirs"
31703
else dirs="$dirs $kde_default_bindirs"
31707
for dir in $dirs; do
31708
if test -x "$dir/artsc-config"; then
31711
evalstr="$dir/artsc-config 2>&1 "
31712
if eval $evalstr; then
31713
kde_cv_path="$dir/artsc-config"
31717
kde_cv_path="$dir/artsc-config"
31723
eval "kde_cv_path_$kde_cache=$kde_cv_path"
31729
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
31733
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
31734
echo "$as_me:$LINENO: result: not found" >&5
31735
echo "${ECHO_T}not found" >&6
31737
{ { echo "$as_me:$LINENO: error: The important program artsc-config was not found!
31738
Please check whether you installed aRts correctly or use
31739
--without-arts to compile without aRts support (this will remove functionality).
31741
echo "$as_me: error: The important program artsc-config was not found!
31742
Please check whether you installed aRts correctly or use
31743
--without-arts to compile without aRts support (this will remove functionality).
31745
{ (exit 1); exit 1; }; }
31748
echo "$as_me:$LINENO: result: $kde_cv_path" >&5
31749
echo "${ECHO_T}$kde_cv_path" >&6
31750
ARTSCCONFIG=$kde_cv_path
31756
echo "$as_me:$LINENO: checking for meinproc" >&5
31757
echo $ECHO_N "checking for meinproc... $ECHO_C" >&6
31758
if test -n "$MEINPROC"; then
31759
kde_cv_path="$MEINPROC";
31761
kde_cache=`echo meinproc | sed 'y%./+-%__p_%'`
31763
if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
31764
echo $ECHO_N "(cached) $ECHO_C" >&6
31771
for dir in $PATH; do
31774
if test -z ""; then dirs="$kde_default_bindirs $dirs"
31775
else dirs="$dirs $kde_default_bindirs"
31779
for dir in $dirs; do
31780
if test -x "$dir/meinproc"; then
31783
evalstr="$dir/meinproc 2>&1 "
31784
if eval $evalstr; then
31785
kde_cv_path="$dir/meinproc"
31789
kde_cv_path="$dir/meinproc"
31795
eval "kde_cv_path_$kde_cache=$kde_cv_path"
31801
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
31805
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
31806
echo "$as_me:$LINENO: result: not found" >&5
31807
echo "${ECHO_T}not found" >&6
31810
echo "$as_me:$LINENO: result: $kde_cv_path" >&5
31811
echo "${ECHO_T}$kde_cv_path" >&6
31812
MEINPROC=$kde_cv_path
31819
if test -n "$kde_qtver" && test "$kde_qtver" -lt 3; then
31823
if test "$kde_qtver" = "3"; then
31824
if test "$kde_qtsubver" -le 1; then
31827
if test "$kde_qtsubver" -le 2 -o `kde-config --version | grep KDE | sed 's/KDE: \(...\).*/\1/'` == 3.2; then
31833
if test -n "$kde32ornewer"; then
31835
echo "$as_me:$LINENO: checking for kconfig_compiler" >&5
31836
echo $ECHO_N "checking for kconfig_compiler... $ECHO_C" >&6
31837
if test -n "$KCONFIG_COMPILER"; then
31838
kde_cv_path="$KCONFIG_COMPILER";
31840
kde_cache=`echo kconfig_compiler | sed 'y%./+-%__p_%'`
31842
if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
31843
echo $ECHO_N "(cached) $ECHO_C" >&6
31850
for dir in $PATH; do
31853
if test -z ""; then dirs="$kde_default_bindirs $dirs"
31854
else dirs="$dirs $kde_default_bindirs"
31858
for dir in $dirs; do
31859
if test -x "$dir/kconfig_compiler"; then
31862
evalstr="$dir/kconfig_compiler 2>&1 "
31863
if eval $evalstr; then
31864
kde_cv_path="$dir/kconfig_compiler"
31868
kde_cv_path="$dir/kconfig_compiler"
31874
eval "kde_cv_path_$kde_cache=$kde_cv_path"
31880
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
31884
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
31885
echo "$as_me:$LINENO: result: not found" >&5
31886
echo "${ECHO_T}not found" >&6
31888
{ { echo "$as_me:$LINENO: error: The important program kconfig_compiler was not found!
31889
Please check whether you installed KDE correctly.
31891
echo "$as_me: error: The important program kconfig_compiler was not found!
31892
Please check whether you installed KDE correctly.
31894
{ (exit 1); exit 1; }; }
31897
echo "$as_me:$LINENO: result: $kde_cv_path" >&5
31898
echo "${ECHO_T}$kde_cv_path" >&6
31899
KCONFIG_COMPILER=$kde_cv_path
31904
echo "$as_me:$LINENO: checking for dcopidlng" >&5
31905
echo $ECHO_N "checking for dcopidlng... $ECHO_C" >&6
31906
if test -n "$DCOPIDLNG"; then
31907
kde_cv_path="$DCOPIDLNG";
31909
kde_cache=`echo dcopidlng | sed 'y%./+-%__p_%'`
31911
if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
31912
echo $ECHO_N "(cached) $ECHO_C" >&6
31919
for dir in $PATH; do
31922
if test -z ""; then dirs="$kde_default_bindirs $dirs"
31923
else dirs="$dirs $kde_default_bindirs"
31927
for dir in $dirs; do
31928
if test -x "$dir/dcopidlng"; then
31931
evalstr="$dir/dcopidlng 2>&1 "
31932
if eval $evalstr; then
31933
kde_cv_path="$dir/dcopidlng"
31937
kde_cv_path="$dir/dcopidlng"
31943
eval "kde_cv_path_$kde_cache=$kde_cv_path"
31949
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
31953
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
31954
echo "$as_me:$LINENO: result: not found" >&5
31955
echo "${ECHO_T}not found" >&6
31957
{ { echo "$as_me:$LINENO: error: The important program dcopidlng was not found!
31958
Please check whether you installed KDE correctly.
31960
echo "$as_me: error: The important program dcopidlng was not found!
31961
Please check whether you installed KDE correctly.
31963
{ (exit 1); exit 1; }; }
31966
echo "$as_me:$LINENO: result: $kde_cv_path" >&5
31967
echo "${ECHO_T}$kde_cv_path" >&6
31968
DCOPIDLNG=$kde_cv_path
31973
if test -n "$kde33ornewer"; then
31975
echo "$as_me:$LINENO: checking for makekdewidgets" >&5
31976
echo $ECHO_N "checking for makekdewidgets... $ECHO_C" >&6
31977
if test -n "$MAKEKDEWIDGETS"; then
31978
kde_cv_path="$MAKEKDEWIDGETS";
31980
kde_cache=`echo makekdewidgets | sed 'y%./+-%__p_%'`
31982
if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
31983
echo $ECHO_N "(cached) $ECHO_C" >&6
31990
for dir in $PATH; do
31993
if test -z ""; then dirs="$kde_default_bindirs $dirs"
31994
else dirs="$dirs $kde_default_bindirs"
31998
for dir in $dirs; do
31999
if test -x "$dir/makekdewidgets"; then
32002
evalstr="$dir/makekdewidgets 2>&1 "
32003
if eval $evalstr; then
32004
kde_cv_path="$dir/makekdewidgets"
32008
kde_cv_path="$dir/makekdewidgets"
32014
eval "kde_cv_path_$kde_cache=$kde_cv_path"
32020
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
32024
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
32025
echo "$as_me:$LINENO: result: not found" >&5
32026
echo "${ECHO_T}not found" >&6
32028
{ { echo "$as_me:$LINENO: error: The important program makekdewidgets was not found!
32029
Please check whether you installed KDE correctly.
32031
echo "$as_me: error: The important program makekdewidgets was not found!
32032
Please check whether you installed KDE correctly.
32034
{ (exit 1); exit 1; }; }
32037
echo "$as_me:$LINENO: result: $kde_cv_path" >&5
32038
echo "${ECHO_T}$kde_cv_path" >&6
32039
MAKEKDEWIDGETS=$kde_cv_path
32046
echo "$as_me:$LINENO: checking for xmllint" >&5
32047
echo $ECHO_N "checking for xmllint... $ECHO_C" >&6
32048
if test -n "$XMLLINT"; then
32049
kde_cv_path="$XMLLINT";
32051
kde_cache=`echo xmllint | sed 'y%./+-%__p_%'`
32053
if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
32054
echo $ECHO_N "(cached) $ECHO_C" >&6
32061
for dir in $PATH; do
32064
if test -z ""; then dirs="${prefix}/bin ${exec_prefix}/bin $dirs"
32065
else dirs="$dirs ${prefix}/bin ${exec_prefix}/bin"
32069
for dir in $dirs; do
32070
if test -x "$dir/xmllint"; then
32073
evalstr="$dir/xmllint 2>&1 "
32074
if eval $evalstr; then
32075
kde_cv_path="$dir/xmllint"
32079
kde_cv_path="$dir/xmllint"
32085
eval "kde_cv_path_$kde_cache=$kde_cv_path"
32091
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
32095
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
32096
echo "$as_me:$LINENO: result: not found" >&5
32097
echo "${ECHO_T}not found" >&6
32100
echo "$as_me:$LINENO: result: $kde_cv_path" >&5
32101
echo "${ECHO_T}$kde_cv_path" >&6
32102
XMLLINT=$kde_cv_path
32107
if test -n "$MEINPROC" && test ! "$MEINPROC" = "compiled"; then
32108
kde_sharedirs="/usr/share/kde /usr/local/share /usr/share /opt/kde3/share /opt/kde/share $prefix/share"
32109
test -n "$KDEDIR" && kde_sharedirs="$KDEDIR/share $kde_sharedirs"
32111
KDE_XSL_STYLESHEET=NO
32112
for i in $kde_sharedirs;
32114
for j in apps/ksgmltools2/customization/kde-chunk.xsl;
32116
echo "configure: 32116: $i/$j" >&5
32117
if test -r "$i/$j"; then
32118
echo "taking that" >&5
32119
KDE_XSL_STYLESHEET=$i
32125
if test "$KDE_XSL_STYLESHEET" = "NO"; then
32126
KDE_XSL_STYLESHEET=""
32128
KDE_XSL_STYLESHEET="$KDE_XSL_STYLESHEET/apps/ksgmltools2/customization/kde-chunk.xsl"
32132
DCOP_DEPENDENCIES='$(DCOPIDL)'
32133
if test -n "$kde32ornewer"; then
32134
KCFG_DEPENDENCIES='$(KCONFIG_COMPILER)'
32135
DCOP_DEPENDENCIES='$(DCOPIDL) $(DCOPIDLNG)'
32171
kdeinitdir='$(kde_moduledir)'
32175
if test "$kde_qtver" = 1; then
32176
kde_minidir="$kde_icondir/mini"
32178
# for KDE 1 - this breaks KDE2 apps using minidir, but
32179
# that's the plan ;-/
32180
kde_minidir="/dev/null"
32188
if test $kde_qtver = 3; then
32190
*cygwin*) lib_kded="-lkdeinit_kded" ;;
32195
LIB_KDECORE="-lkdecore"
32197
LIB_KDEUI="-lkdeui"
32209
LIB_KHTML="-lkhtml"
32211
LIB_KSPELL="-lkspell"
32213
LIB_KPARTS="-lkparts"
32215
LIB_KDEPRINT="-lkdeprint"
32217
LIB_KUTILS="-lkutils"
32219
LIB_KDEPIM="-lkdepim"
32221
LIB_KIMPROXY="-lkimproxy"
32223
LIB_KNEWSTUFF="-lknewstuff"
32225
LIB_KDNSSD="-lkdnssd"
32227
LIB_KUNITTEST="-lkunittest"
32229
# these are for backward compatibility
32230
LIB_KSYCOCA="-lkio"
32234
elif test $kde_qtver = 2; then
32235
LIB_KDECORE="-lkdecore"
32237
LIB_KDEUI="-lkdeui"
32241
LIB_KSYCOCA="-lksycoca"
32245
LIB_KFILE="-lkfile"
32249
LIB_KHTML="-lkhtml"
32251
LIB_KSPELL="-lkspell"
32253
LIB_KPARTS="-lkparts"
32255
LIB_KDEPRINT="-lkdeprint"
32258
LIB_KDECORE="-lkdecore -lXext $(LIB_QT)"
32260
LIB_KDEUI="-lkdeui $(LIB_KDECORE)"
32262
LIB_KFM="-lkfm $(LIB_KDECORE)"
32264
LIB_KFILE="-lkfile $(LIB_KFM) $(LIB_KDEUI)"
32266
LIB_KAB="-lkab $(LIB_KIMGIO) $(LIB_KDECORE)"
32273
CXXFLAGS="$CXXFLAGS $KDE_DEFAULT_CXXFLAGS"
32275
if test "$build_arts" = "yes"; then
32277
cat >>confdefs.h <<\_ACEOF
32281
LIB_ARTS="-lartskde"
32286
echo "$as_me:$LINENO: checking for Qt docs" >&5
32287
echo $ECHO_N "checking for Qt docs... $ECHO_C" >&6
32289
if test "${with_qt_dir+set}" = set; then
32290
kde_qtdir="$with_qt_dir"
32295
for i in $kde_qtdir/doc/html $QTDIR/doc/html /usr/share/doc/packages/qt3/html /usr/lib/qt/doc /usr/lib/qt3/doc /usr/lib/qt3/doc/html /usr/doc/qt3/html /usr/doc/qt3 /usr/share/doc/qt3-doc /usr/share/qt3/doc/html /usr/X11R6/share/doc/qt/html ;
32297
for j in qsql.html;
32299
echo "configure: 32299: $i/$j" >&5
32300
if test -r "$i/$j"; then
32301
echo "taking that" >&5
32308
echo "$as_me:$LINENO: result: $QTDOCDIR" >&5
32309
echo "${ECHO_T}$QTDOCDIR" >&6
32314
echo "$as_me:$LINENO: checking for dot" >&5
32315
echo $ECHO_N "checking for dot... $ECHO_C" >&6
32316
if test -n "$DOT"; then
32317
kde_cv_path="$DOT";
32319
kde_cache=`echo dot | sed 'y%./+-%__p_%'`
32321
if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
32322
echo $ECHO_N "(cached) $ECHO_C" >&6
32329
for dir in $PATH; do
32332
if test -z ""; then dirs=" $dirs"
32337
for dir in $dirs; do
32338
if test -x "$dir/dot"; then
32341
evalstr="$dir/dot 2>&1 "
32342
if eval $evalstr; then
32343
kde_cv_path="$dir/dot"
32347
kde_cv_path="$dir/dot"
32353
eval "kde_cv_path_$kde_cache=$kde_cv_path"
32359
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
32363
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
32364
echo "$as_me:$LINENO: result: not found" >&5
32365
echo "${ECHO_T}not found" >&6
32368
echo "$as_me:$LINENO: result: $kde_cv_path" >&5
32369
echo "${ECHO_T}$kde_cv_path" >&6
32374
if test -n "$DOT"; then
32381
echo "$as_me:$LINENO: checking for doxygen" >&5
32382
echo $ECHO_N "checking for doxygen... $ECHO_C" >&6
32383
if test -n "$DOXYGEN"; then
32384
kde_cv_path="$DOXYGEN";
32386
kde_cache=`echo doxygen | sed 'y%./+-%__p_%'`
32388
if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
32389
echo $ECHO_N "(cached) $ECHO_C" >&6
32396
for dir in $PATH; do
32399
if test -z ""; then dirs=" $dirs"
32404
for dir in $dirs; do
32405
if test -x "$dir/doxygen"; then
32408
evalstr="$dir/doxygen 2>&1 "
32409
if eval $evalstr; then
32410
kde_cv_path="$dir/doxygen"
32414
kde_cv_path="$dir/doxygen"
32420
eval "kde_cv_path_$kde_cache=$kde_cv_path"
32426
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
32430
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
32431
echo "$as_me:$LINENO: result: not found" >&5
32432
echo "${ECHO_T}not found" >&6
32435
echo "$as_me:$LINENO: result: $kde_cv_path" >&5
32436
echo "${ECHO_T}$kde_cv_path" >&6
32437
DOXYGEN=$kde_cv_path
32443
DOXYGEN_PROJECT_NAME="The API Reference"
32444
DOXYGEN_PROJECT_NUMBER="Version $VERSION"
32449
if test -n "$DOXYGEN" && test -x "$DOXYGEN" && test -f $QTDOCDIR/qsql.html; then
32450
KDE_HAS_DOXYGEN=yes
32457
echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
32458
echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
32459
if test "${ac_cv_c_bigendian+set}" = set; then
32460
echo $ECHO_N "(cached) $ECHO_C" >&6
32462
# See if sys/param.h defines the BYTE_ORDER macro.
32463
cat >conftest.$ac_ext <<_ACEOF
32466
cat confdefs.h >>conftest.$ac_ext
32467
cat >>conftest.$ac_ext <<_ACEOF
32468
/* end confdefs.h. */
32469
#include <sys/types.h>
32470
#include <sys/param.h>
32475
#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
32476
bogus endian macros
32483
rm -f conftest.$ac_objext
32484
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32485
(eval $ac_compile) 2>conftest.er1
32487
grep -v '^ *+' conftest.er1 >conftest.err
32489
cat conftest.err >&5
32490
echo "$as_me:$LINENO: \$? = $ac_status" >&5
32491
(exit $ac_status); } &&
32492
{ ac_try='test -z "$ac_c_werror_flag"
32493
|| test ! -s conftest.err'
32494
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32495
(eval $ac_try) 2>&5
32497
echo "$as_me:$LINENO: \$? = $ac_status" >&5
32498
(exit $ac_status); }; } &&
32499
{ ac_try='test -s conftest.$ac_objext'
32500
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32501
(eval $ac_try) 2>&5
32503
echo "$as_me:$LINENO: \$? = $ac_status" >&5
32504
(exit $ac_status); }; }; then
32505
# It does; now see whether it defined to BIG_ENDIAN or not.
32506
cat >conftest.$ac_ext <<_ACEOF
32509
cat confdefs.h >>conftest.$ac_ext
32510
cat >>conftest.$ac_ext <<_ACEOF
32511
/* end confdefs.h. */
32512
#include <sys/types.h>
32513
#include <sys/param.h>
32518
#if BYTE_ORDER != BIG_ENDIAN
32526
rm -f conftest.$ac_objext
32527
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32528
(eval $ac_compile) 2>conftest.er1
32530
grep -v '^ *+' conftest.er1 >conftest.err
32532
cat conftest.err >&5
32533
echo "$as_me:$LINENO: \$? = $ac_status" >&5
32534
(exit $ac_status); } &&
32535
{ ac_try='test -z "$ac_c_werror_flag"
32536
|| test ! -s conftest.err'
32537
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32538
(eval $ac_try) 2>&5
32540
echo "$as_me:$LINENO: \$? = $ac_status" >&5
32541
(exit $ac_status); }; } &&
32542
{ ac_try='test -s conftest.$ac_objext'
32543
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32544
(eval $ac_try) 2>&5
32546
echo "$as_me:$LINENO: \$? = $ac_status" >&5
32547
(exit $ac_status); }; }; then
32548
ac_cv_c_bigendian=yes
32550
echo "$as_me: failed program was:" >&5
32551
sed 's/^/| /' conftest.$ac_ext >&5
32553
ac_cv_c_bigendian=no
32555
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32557
echo "$as_me: failed program was:" >&5
32558
sed 's/^/| /' conftest.$ac_ext >&5
32560
# It does not; compile a test program.
32561
if test "$cross_compiling" = yes; then
32562
# try to guess the endianness by grepping values into an object file
32563
ac_cv_c_bigendian=unknown
32564
cat >conftest.$ac_ext <<_ACEOF
32567
cat confdefs.h >>conftest.$ac_ext
32568
cat >>conftest.$ac_ext <<_ACEOF
32569
/* end confdefs.h. */
32570
short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
32571
short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
32572
void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
32573
short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
32574
short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
32575
void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
32579
_ascii (); _ebcdic ();
32584
rm -f conftest.$ac_objext
32585
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32586
(eval $ac_compile) 2>conftest.er1
32588
grep -v '^ *+' conftest.er1 >conftest.err
32590
cat conftest.err >&5
32591
echo "$as_me:$LINENO: \$? = $ac_status" >&5
32592
(exit $ac_status); } &&
32593
{ ac_try='test -z "$ac_c_werror_flag"
32594
|| test ! -s conftest.err'
32595
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32596
(eval $ac_try) 2>&5
32598
echo "$as_me:$LINENO: \$? = $ac_status" >&5
32599
(exit $ac_status); }; } &&
32600
{ ac_try='test -s conftest.$ac_objext'
32601
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32602
(eval $ac_try) 2>&5
32604
echo "$as_me:$LINENO: \$? = $ac_status" >&5
32605
(exit $ac_status); }; }; then
32606
if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
32607
ac_cv_c_bigendian=yes
32609
if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
32610
if test "$ac_cv_c_bigendian" = unknown; then
32611
ac_cv_c_bigendian=no
32613
# finding both strings is unlikely to happen, but who knows?
32614
ac_cv_c_bigendian=unknown
32618
echo "$as_me: failed program was:" >&5
32619
sed 's/^/| /' conftest.$ac_ext >&5
32622
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32624
cat >conftest.$ac_ext <<_ACEOF
32627
cat confdefs.h >>conftest.$ac_ext
32628
cat >>conftest.$ac_ext <<_ACEOF
32629
/* end confdefs.h. */
32633
/* Are we little or big endian? From Harbison&Steele. */
32637
char c[sizeof (long)];
32640
exit (u.c[sizeof (long) - 1] == 1);
32643
rm -f conftest$ac_exeext
32644
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32645
(eval $ac_link) 2>&5
32647
echo "$as_me:$LINENO: \$? = $ac_status" >&5
32648
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32649
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32650
(eval $ac_try) 2>&5
32652
echo "$as_me:$LINENO: \$? = $ac_status" >&5
32653
(exit $ac_status); }; }; then
32654
ac_cv_c_bigendian=no
32656
echo "$as_me: program exited with status $ac_status" >&5
32657
echo "$as_me: failed program was:" >&5
32658
sed 's/^/| /' conftest.$ac_ext >&5
32660
( exit $ac_status )
32661
ac_cv_c_bigendian=yes
32663
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32666
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32668
echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
32669
echo "${ECHO_T}$ac_cv_c_bigendian" >&6
32670
case $ac_cv_c_bigendian in
32673
cat >>confdefs.h <<\_ACEOF
32674
#define WORDS_BIGENDIAN 1
32680
{ { echo "$as_me:$LINENO: error: unknown endianness
32681
presetting ac_cv_c_bigendian=no (or yes) will help" >&5
32682
echo "$as_me: error: unknown endianness
32683
presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
32684
{ (exit 1); exit 1; }; } ;;
32688
echo "$as_me:$LINENO: checking for MAXPATHLEN" >&5
32689
echo $ECHO_N "checking for MAXPATHLEN... $ECHO_C" >&6
32690
if test "${ac_cv_maxpathlen+set}" = set; then
32691
echo $ECHO_N "(cached) $ECHO_C" >&6
32694
cat > conftest.$ac_ext <<EOF
32695
#ifdef STDC_HEADERS
32696
# include <stdlib.h>
32699
#include <sys/param.h>
32701
#define MAXPATHLEN 1024
32704
KDE_HELLO MAXPATHLEN
32708
ac_try="$ac_cpp conftest.$ac_ext 2>/dev/null | grep '^KDE_HELLO' >conftest.out"
32710
if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32711
(eval $ac_try) 2>&5
32713
echo "$as_me:$LINENO: \$? = $ac_status" >&5
32714
(exit $ac_status); } && test -s conftest.out; then
32715
ac_cv_maxpathlen=`sed 's#KDE_HELLO ##' conftest.out`
32717
ac_cv_maxpathlen=1024
32725
echo "$as_me:$LINENO: result: $ac_cv_maxpathlen" >&5
32726
echo "${ECHO_T}$ac_cv_maxpathlen" >&6
32728
cat >>confdefs.h <<_ACEOF
32729
#define KDEMAXPATHLEN $ac_cv_maxpathlen
32735
echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
32736
echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
32737
if test "${ac_cv_c_bigendian+set}" = set; then
32738
echo $ECHO_N "(cached) $ECHO_C" >&6
32740
# See if sys/param.h defines the BYTE_ORDER macro.
32741
cat >conftest.$ac_ext <<_ACEOF
32744
cat confdefs.h >>conftest.$ac_ext
32745
cat >>conftest.$ac_ext <<_ACEOF
32746
/* end confdefs.h. */
32747
#include <sys/types.h>
32748
#include <sys/param.h>
32753
#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
32754
bogus endian macros
32761
rm -f conftest.$ac_objext
32762
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32763
(eval $ac_compile) 2>conftest.er1
32765
grep -v '^ *+' conftest.er1 >conftest.err
32767
cat conftest.err >&5
32768
echo "$as_me:$LINENO: \$? = $ac_status" >&5
32769
(exit $ac_status); } &&
32770
{ ac_try='test -z "$ac_c_werror_flag"
32771
|| test ! -s conftest.err'
32772
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32773
(eval $ac_try) 2>&5
32775
echo "$as_me:$LINENO: \$? = $ac_status" >&5
32776
(exit $ac_status); }; } &&
32777
{ ac_try='test -s conftest.$ac_objext'
32778
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32779
(eval $ac_try) 2>&5
32781
echo "$as_me:$LINENO: \$? = $ac_status" >&5
32782
(exit $ac_status); }; }; then
32783
# It does; now see whether it defined to BIG_ENDIAN or not.
32784
cat >conftest.$ac_ext <<_ACEOF
32787
cat confdefs.h >>conftest.$ac_ext
32788
cat >>conftest.$ac_ext <<_ACEOF
32789
/* end confdefs.h. */
32790
#include <sys/types.h>
32791
#include <sys/param.h>
32796
#if BYTE_ORDER != BIG_ENDIAN
32804
rm -f conftest.$ac_objext
32805
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32806
(eval $ac_compile) 2>conftest.er1
32808
grep -v '^ *+' conftest.er1 >conftest.err
32810
cat conftest.err >&5
32811
echo "$as_me:$LINENO: \$? = $ac_status" >&5
32812
(exit $ac_status); } &&
32813
{ ac_try='test -z "$ac_c_werror_flag"
32814
|| test ! -s conftest.err'
32815
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32816
(eval $ac_try) 2>&5
32818
echo "$as_me:$LINENO: \$? = $ac_status" >&5
32819
(exit $ac_status); }; } &&
32820
{ ac_try='test -s conftest.$ac_objext'
32821
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32822
(eval $ac_try) 2>&5
32824
echo "$as_me:$LINENO: \$? = $ac_status" >&5
32825
(exit $ac_status); }; }; then
32826
ac_cv_c_bigendian=yes
32828
echo "$as_me: failed program was:" >&5
32829
sed 's/^/| /' conftest.$ac_ext >&5
32831
ac_cv_c_bigendian=no
32833
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32835
echo "$as_me: failed program was:" >&5
32836
sed 's/^/| /' conftest.$ac_ext >&5
32838
# It does not; compile a test program.
32839
if test "$cross_compiling" = yes; then
32840
# try to guess the endianness by grepping values into an object file
32841
ac_cv_c_bigendian=unknown
32842
cat >conftest.$ac_ext <<_ACEOF
32845
cat confdefs.h >>conftest.$ac_ext
32846
cat >>conftest.$ac_ext <<_ACEOF
32847
/* end confdefs.h. */
32848
short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
32849
short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
32850
void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
32851
short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
32852
short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
32853
void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
32857
_ascii (); _ebcdic ();
32862
rm -f conftest.$ac_objext
32863
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32864
(eval $ac_compile) 2>conftest.er1
32866
grep -v '^ *+' conftest.er1 >conftest.err
32868
cat conftest.err >&5
32869
echo "$as_me:$LINENO: \$? = $ac_status" >&5
32870
(exit $ac_status); } &&
32871
{ ac_try='test -z "$ac_c_werror_flag"
32872
|| test ! -s conftest.err'
32873
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32874
(eval $ac_try) 2>&5
32876
echo "$as_me:$LINENO: \$? = $ac_status" >&5
32877
(exit $ac_status); }; } &&
32878
{ ac_try='test -s conftest.$ac_objext'
32879
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32880
(eval $ac_try) 2>&5
32882
echo "$as_me:$LINENO: \$? = $ac_status" >&5
32883
(exit $ac_status); }; }; then
32884
if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
32885
ac_cv_c_bigendian=yes
32887
if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
32888
if test "$ac_cv_c_bigendian" = unknown; then
32889
ac_cv_c_bigendian=no
32891
# finding both strings is unlikely to happen, but who knows?
32892
ac_cv_c_bigendian=unknown
32896
echo "$as_me: failed program was:" >&5
32897
sed 's/^/| /' conftest.$ac_ext >&5
32900
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32902
cat >conftest.$ac_ext <<_ACEOF
32905
cat confdefs.h >>conftest.$ac_ext
32906
cat >>conftest.$ac_ext <<_ACEOF
32907
/* end confdefs.h. */
32911
/* Are we little or big endian? From Harbison&Steele. */
32915
char c[sizeof (long)];
32918
exit (u.c[sizeof (long) - 1] == 1);
32921
rm -f conftest$ac_exeext
32922
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32923
(eval $ac_link) 2>&5
32925
echo "$as_me:$LINENO: \$? = $ac_status" >&5
32926
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32927
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32928
(eval $ac_try) 2>&5
32930
echo "$as_me:$LINENO: \$? = $ac_status" >&5
32931
(exit $ac_status); }; }; then
32932
ac_cv_c_bigendian=no
32934
echo "$as_me: program exited with status $ac_status" >&5
32935
echo "$as_me: failed program was:" >&5
32936
sed 's/^/| /' conftest.$ac_ext >&5
32938
( exit $ac_status )
32939
ac_cv_c_bigendian=yes
32941
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32944
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32946
echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
32947
echo "${ECHO_T}$ac_cv_c_bigendian" >&6
32948
case $ac_cv_c_bigendian in
32951
cat >>confdefs.h <<\_ACEOF
32952
#define WORDS_BIGENDIAN 1
32958
{ { echo "$as_me:$LINENO: error: unknown endianness
32959
presetting ac_cv_c_bigendian=no (or yes) will help" >&5
32960
echo "$as_me: error: unknown endianness
32961
presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
32962
{ (exit 1); exit 1; }; } ;;
32966
echo "$as_me:$LINENO: checking for MAXPATHLEN" >&5
32967
echo $ECHO_N "checking for MAXPATHLEN... $ECHO_C" >&6
32968
if test "${ac_cv_maxpathlen+set}" = set; then
32969
echo $ECHO_N "(cached) $ECHO_C" >&6
32972
cat > conftest.$ac_ext <<EOF
32973
#ifdef STDC_HEADERS
32974
# include <stdlib.h>
32977
#include <sys/param.h>
32979
#define MAXPATHLEN 1024
32982
KDE_HELLO MAXPATHLEN
32986
ac_try="$ac_cpp conftest.$ac_ext 2>/dev/null | grep '^KDE_HELLO' >conftest.out"
32988
if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32989
(eval $ac_try) 2>&5
32991
echo "$as_me:$LINENO: \$? = $ac_status" >&5
32992
(exit $ac_status); } && test -s conftest.out; then
32993
ac_cv_maxpathlen=`sed 's#KDE_HELLO ##' conftest.out`
32995
ac_cv_maxpathlen=1024
33003
echo "$as_me:$LINENO: result: $ac_cv_maxpathlen" >&5
33004
echo "${ECHO_T}$ac_cv_maxpathlen" >&6
33006
cat >>confdefs.h <<_ACEOF
33007
#define KDEMAXPATHLEN $ac_cv_maxpathlen
33014
DO_NOT_COMPILE="$DO_NOT_COMPILE CVS debian bsd-port admin"
33017
if test ! -s $srcdir/subdirs; then
33018
files=`cd $srcdir && ls -1`
33019
dirs=`for i in $files; do if test -d $i; then echo $i; fi; done`
33021
echo $i >> $srcdir/subdirs
33026
if test -s $srcdir/inst-apps; then
33027
ac_topsubdirs="`cat $srcdir/inst-apps`"
33028
elif test -s $srcdir/subdirs; then
33029
ac_topsubdirs="`cat $srcdir/subdirs`"
33032
for i in $ac_topsubdirs; do
33033
echo "$as_me:$LINENO: checking if $i should be compiled" >&5
33034
echo $ECHO_N "checking if $i should be compiled... $ECHO_C" >&6
33035
if test -d $srcdir/$i; then
33037
for j in $DO_NOT_COMPILE; do
33038
if test $i = $j; then
33045
echo "$as_me:$LINENO: result: $install_it" >&5
33046
echo "${ECHO_T}$install_it" >&6
33047
vari=`echo $i | sed -e 's,[-+.@],_,g'`
33048
if test $install_it = "yes"; then
33049
TOPSUBDIRS="$TOPSUBDIRS $i"
33050
eval "$vari""_SUBDIR_included=yes"
33052
eval "$vari""_SUBDIR_included=no"
33060
if test "x$src_SUBDIR_included" = xyes; then
33061
src_SUBDIR_included_TRUE=
33062
src_SUBDIR_included_FALSE='#'
33064
src_SUBDIR_included_TRUE='#'
33065
src_SUBDIR_included_FALSE=
33068
ac_config_files="$ac_config_files Makefile"
33070
ac_config_files="$ac_config_files src/Makefile"
33072
ac_config_files="$ac_config_files src/datakiosk/Makefile"
33074
ac_config_files="$ac_config_files src/datakiosk/icons/Makefile"
33076
ac_config_files="$ac_config_files src/datakiosk/pics/Makefile"
33078
ac_config_files="$ac_config_files src/datakiosk/po/Makefile"
33080
ac_config_files="$ac_config_files src/datakiosk/src/Makefile"
33082
ac_config_files="$ac_config_files src/icons/Makefile"
33084
ac_config_files="$ac_config_files src/pics/Makefile"
33086
ac_config_files="$ac_config_files src/po/Makefile"
33088
ac_config_files="$ac_config_files src/src/Makefile"
33090
cat >confcache <<\_ACEOF
33091
# This file is a shell script that caches the results of configure
33092
# tests run on this system so they can be shared between configure
33093
# scripts and configure runs, see configure's option --config-cache.
33094
# It is not useful on other systems. If it contains results you don't
33095
# want to keep, you may remove or edit it.
33097
# config.status only pays attention to the cache file if you give it
33098
# the --recheck option to rerun configure.
33100
# `ac_cv_env_foo' variables (set or unset) will be overridden when
33101
# loading this file, other *unset* `ac_cv_foo' will be assigned the
33102
# following values.
33106
# The following way of writing the cache mishandles newlines in values,
33107
# but we know of no workaround that is simple, portable, and efficient.
33108
# So, don't put newlines in cache variables' values.
33109
# Ultrix sh set writes to stderr and can't be redirected directly,
33110
# and sets the high bit in the cache file unless we assign to the vars.
33113
case `(ac_space=' '; set | grep ac_space) 2>&1` in
33115
# `set' does not quote correctly, so add quotes (double-quote
33116
# substitution turns \\\\ into \\, and sed turns \\ into \).
33119
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
33122
# `set' quotes correctly as required by POSIX, so do not add quotes.
33124
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
33131
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
33133
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
33135
if diff $cache_file confcache >/dev/null 2>&1; then :; else
33136
if test -w $cache_file; then
33137
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
33138
cat confcache >$cache_file
33140
echo "not updating unwritable cache $cache_file"
33145
test "x$prefix" = xNONE && prefix=$ac_default_prefix
33146
# Let make expand exec_prefix.
33147
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
33149
# VPATH may cause trouble with some makes, so we remove $(srcdir),
33150
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
33151
# trailing colons and then remove the whole line if VPATH becomes empty
33152
# (actually we leave an empty line to preserve line numbers).
33153
if test "x$srcdir" = x.; then
33154
ac_vpsub='/^[ ]*VPATH[ ]*=/{
33155
s/:*\$(srcdir):*/:/;
33156
s/:*\${srcdir}:*/:/;
33158
s/^\([^=]*=[ ]*\):*/\1/;
33164
DEFS=-DHAVE_CONFIG_H
33168
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
33169
# 1. Remove the extension, and $U if already installed.
33170
ac_i=`echo "$ac_i" |
33171
sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
33173
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
33174
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
33176
LIBOBJS=$ac_libobjs
33178
LTLIBOBJS=$ac_ltlibobjs
33181
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
33182
{ { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
33183
Usually this means the macro was only invoked conditionally." >&5
33184
echo "$as_me: error: conditional \"AMDEP\" was never defined.
33185
Usually this means the macro was only invoked conditionally." >&2;}
33186
{ (exit 1); exit 1; }; }
33188
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
33189
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
33190
Usually this means the macro was only invoked conditionally." >&5
33191
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
33192
Usually this means the macro was only invoked conditionally." >&2;}
33193
{ (exit 1); exit 1; }; }
33195
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
33196
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
33197
Usually this means the macro was only invoked conditionally." >&5
33198
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
33199
Usually this means the macro was only invoked conditionally." >&2;}
33200
{ (exit 1); exit 1; }; }
33202
if test -z "${unsermake_enable_pch_TRUE}" && test -z "${unsermake_enable_pch_FALSE}"; then
33203
{ { echo "$as_me:$LINENO: error: conditional \"unsermake_enable_pch\" was never defined.
33204
Usually this means the macro was only invoked conditionally." >&5
33205
echo "$as_me: error: conditional \"unsermake_enable_pch\" was never defined.
33206
Usually this means the macro was only invoked conditionally." >&2;}
33207
{ (exit 1); exit 1; }; }
33209
if test -z "${include_x11_TRUE}" && test -z "${include_x11_FALSE}"; then
33210
{ { echo "$as_me:$LINENO: error: conditional \"include_x11\" was never defined.
33211
Usually this means the macro was only invoked conditionally." >&5
33212
echo "$as_me: error: conditional \"include_x11\" was never defined.
33213
Usually this means the macro was only invoked conditionally." >&2;}
33214
{ (exit 1); exit 1; }; }
33216
if test -z "${include_ARTS_TRUE}" && test -z "${include_ARTS_FALSE}"; then
33217
{ { echo "$as_me:$LINENO: error: conditional \"include_ARTS\" was never defined.
33218
Usually this means the macro was only invoked conditionally." >&5
33219
echo "$as_me: error: conditional \"include_ARTS\" was never defined.
33220
Usually this means the macro was only invoked conditionally." >&2;}
33221
{ (exit 1); exit 1; }; }
33223
if test -z "${src_SUBDIR_included_TRUE}" && test -z "${src_SUBDIR_included_FALSE}"; then
33224
{ { echo "$as_me:$LINENO: error: conditional \"src_SUBDIR_included\" was never defined.
33225
Usually this means the macro was only invoked conditionally." >&5
33226
echo "$as_me: error: conditional \"src_SUBDIR_included\" was never defined.
33227
Usually this means the macro was only invoked conditionally." >&2;}
33228
{ (exit 1); exit 1; }; }
33231
: ${CONFIG_STATUS=./config.status}
33232
ac_clean_files_save=$ac_clean_files
33233
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
33234
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
33235
echo "$as_me: creating $CONFIG_STATUS" >&6;}
33236
cat >$CONFIG_STATUS <<_ACEOF
33238
# Generated by $as_me.
33239
# Run this file to recreate the current configuration.
33240
# Compiler output produced by configure, useful for debugging
33241
# configure, is in config.log if it exists.
33244
ac_cs_recheck=false
33246
SHELL=\${CONFIG_SHELL-$SHELL}
33249
cat >>$CONFIG_STATUS <<\_ACEOF
33250
## --------------------- ##
33251
## M4sh Initialization. ##
33252
## --------------------- ##
33254
# Be Bourne compatible
33255
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
33258
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
33259
# is contrary to our usage. Disable this feature.
33260
alias -g '${1+"$@"}'='"$@"'
33261
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
33264
DUALCASE=1; export DUALCASE # for MKS sh
33266
# Support unset when possible.
33267
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
33274
# Work around bugs in pre-3.0 UWIN ksh.
33275
$as_unset ENV MAIL MAILPATH
33282
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
33283
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
33284
LC_TELEPHONE LC_TIME
33286
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
33287
eval $as_var=C; export $as_var
33293
# Required to use basename.
33294
if expr a : '\(a\)' >/dev/null 2>&1; then
33300
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
33301
as_basename=basename
33307
# Name of the executable.
33308
as_me=`$as_basename "$0" ||
33309
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
33310
X"$0" : 'X\(//\)$' \| \
33311
X"$0" : 'X\(/\)$' \| \
33312
. : '\(.\)' 2>/dev/null ||
33314
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
33315
/^X\/\(\/\/\)$/{ s//\1/; q; }
33316
/^X\/\(\/\).*/{ s//\1/; q; }
33320
# PATH needs CR, and LINENO needs CR and PATH.
33321
# Avoid depending upon Character Ranges.
33322
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
33323
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
33324
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
33325
as_cr_digits='0123456789'
33326
as_cr_alnum=$as_cr_Letters$as_cr_digits
33328
# The user is always right.
33329
if test "${PATH_SEPARATOR+set}" != set; then
33330
echo "#! /bin/sh" >conf$$.sh
33331
echo "exit 0" >>conf$$.sh
33333
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
33342
as_lineno_1=$LINENO
33343
as_lineno_2=$LINENO
33344
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
33345
test "x$as_lineno_1" != "x$as_lineno_2" &&
33346
test "x$as_lineno_3" = "x$as_lineno_2" || {
33347
# Find who we are. Look in the path if we contain no path at all
33350
*[\\/]* ) as_myself=$0 ;;
33351
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33352
for as_dir in $PATH
33355
test -z "$as_dir" && as_dir=.
33356
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
33361
# We did not find ourselves, most probably we were run as `sh COMMAND'
33362
# in which case we are not to be found in the path.
33363
if test "x$as_myself" = x; then
33366
if test ! -f "$as_myself"; then
33367
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
33368
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
33369
{ (exit 1); exit 1; }; }
33371
case $CONFIG_SHELL in
33373
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33374
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
33377
test -z "$as_dir" && as_dir=.
33378
for as_base in sh bash ksh sh5; do
33381
if ("$as_dir/$as_base" -c '
33382
as_lineno_1=$LINENO
33383
as_lineno_2=$LINENO
33384
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
33385
test "x$as_lineno_1" != "x$as_lineno_2" &&
33386
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
33387
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
33388
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
33389
CONFIG_SHELL=$as_dir/$as_base
33390
export CONFIG_SHELL
33391
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
33399
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
33400
# uniformly replaced by the line number. The first 'sed' inserts a
33401
# line-number line before each line; the second 'sed' does the real
33402
# work. The second script uses 'N' to pair each line-number line
33403
# with the numbered line, and appends trailing '-' during
33404
# substitution so that $LINENO is not a special case at line end.
33405
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
33406
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
33407
sed '=' <$as_myself |
33412
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
33415
s,^['$as_cr_digits']*\n,,
33416
' >$as_me.lineno &&
33417
chmod +x $as_me.lineno ||
33418
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
33419
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
33420
{ (exit 1); exit 1; }; }
33422
# Don't try to exec as it changes $[0], causing all sort of problems
33423
# (the dirname of $[0] is not the place where we might find the
33424
# original and so on. Autoconf is especially sensible to this).
33426
# Exit status is that of the last command.
33431
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
33432
*c*,-n*) ECHO_N= ECHO_C='
33434
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
33435
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
33438
if expr a : '\(a\)' >/dev/null 2>&1; then
33444
rm -f conf$$ conf$$.exe conf$$.file
33446
if ln -s conf$$.file conf$$ 2>/dev/null; then
33447
# We could just check for DJGPP; but this test a) works b) is more generic
33448
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
33449
if test -f conf$$.exe; then
33450
# Don't use ln at all; we don't have any links
33455
elif ln conf$$.file conf$$ 2>/dev/null; then
33460
rm -f conf$$ conf$$.exe conf$$.file
33462
if mkdir -p . 2>/dev/null; then
33465
test -d ./-p && rmdir ./-p
33469
as_executable_p="test -f"
33471
# Sed expression to map a string onto a valid CPP name.
33472
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
33474
# Sed expression to map a string onto a valid variable name.
33475
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
33479
# We need space, tab and new line, in precisely that order.
33489
# Open the log real soon, to keep \$[0] and so on meaningful, and to
33490
# report actual input values of CONFIG_FILES etc. instead of their
33491
# values after options handling. Logging --version etc. is OK.
33495
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
33496
## Running $as_me. ##
33501
This file was extended by $as_me, which was
33502
generated by GNU Autoconf 2.59. Invocation command line was
33504
CONFIG_FILES = $CONFIG_FILES
33505
CONFIG_HEADERS = $CONFIG_HEADERS
33506
CONFIG_LINKS = $CONFIG_LINKS
33507
CONFIG_COMMANDS = $CONFIG_COMMANDS
33511
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
33515
# Files that config.status was made for.
33516
if test -n "$ac_config_files"; then
33517
echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
33520
if test -n "$ac_config_headers"; then
33521
echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
33524
if test -n "$ac_config_links"; then
33525
echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
33528
if test -n "$ac_config_commands"; then
33529
echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
33532
cat >>$CONFIG_STATUS <<\_ACEOF
33535
\`$as_me' instantiates files from templates according to the
33536
current configuration.
33538
Usage: $0 [OPTIONS] [FILE]...
33540
-h, --help print this help, then exit
33541
-V, --version print version number, then exit
33542
-q, --quiet do not print progress messages
33543
-d, --debug don't remove temporary files
33544
--recheck update $as_me by reconfiguring in the same conditions
33545
--file=FILE[:TEMPLATE]
33546
instantiate the configuration file FILE
33547
--header=FILE[:TEMPLATE]
33548
instantiate the configuration header FILE
33550
Configuration files:
33553
Configuration headers:
33556
Configuration commands:
33559
Report bugs to <bug-autoconf@gnu.org>."
33562
cat >>$CONFIG_STATUS <<_ACEOF
33565
configured by $0, generated by GNU Autoconf 2.59,
33566
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
33568
Copyright (C) 2003 Free Software Foundation, Inc.
33569
This config.status script is free software; the Free Software Foundation
33570
gives unlimited permission to copy, distribute and modify it."
33575
cat >>$CONFIG_STATUS <<\_ACEOF
33576
# If no file are specified by the user, then we need to provide default
33577
# value. By we need to know if files were specified by the user.
33583
ac_option=`expr "x$1" : 'x\([^=]*\)='`
33584
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
33592
*) # This is not an option, so the user has probably given explicit
33595
ac_need_defaults=false;;
33599
# Handling of the options.
33601
cat >>$CONFIG_STATUS <<\_ACEOF
33602
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
33604
--version | --vers* | -V )
33605
echo "$ac_cs_version"; exit 0 ;;
33607
# Conflict between --help and --header
33608
{ { echo "$as_me:$LINENO: error: ambiguous option: $1
33609
Try \`$0 --help' for more information." >&5
33610
echo "$as_me: error: ambiguous option: $1
33611
Try \`$0 --help' for more information." >&2;}
33612
{ (exit 1); exit 1; }; };;
33613
--help | --hel | -h )
33614
echo "$ac_cs_usage"; exit 0 ;;
33615
--debug | --d* | -d )
33617
--file | --fil | --fi | --f )
33619
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
33620
ac_need_defaults=false;;
33621
--header | --heade | --head | --hea )
33623
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
33624
ac_need_defaults=false;;
33625
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
33626
| -silent | --silent | --silen | --sile | --sil | --si | --s)
33629
# This is an error.
33630
-*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
33631
Try \`$0 --help' for more information." >&5
33632
echo "$as_me: error: unrecognized option: $1
33633
Try \`$0 --help' for more information." >&2;}
33634
{ (exit 1); exit 1; }; } ;;
33636
*) ac_config_targets="$ac_config_targets $1" ;;
33642
ac_configure_extra_args=
33644
if $ac_cs_silent; then
33646
ac_configure_extra_args="$ac_configure_extra_args --silent"
33650
cat >>$CONFIG_STATUS <<_ACEOF
33651
if \$ac_cs_recheck; then
33652
echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
33653
exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
33658
cat >>$CONFIG_STATUS <<_ACEOF
33660
# INIT-COMMANDS section.
33663
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
33669
cat >>$CONFIG_STATUS <<\_ACEOF
33670
for ac_config_target in $ac_config_targets
33672
case "$ac_config_target" in
33673
# Handling of arguments.
33674
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
33675
"src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
33676
"src/datakiosk/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/datakiosk/Makefile" ;;
33677
"src/datakiosk/icons/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/datakiosk/icons/Makefile" ;;
33678
"src/datakiosk/pics/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/datakiosk/pics/Makefile" ;;
33679
"src/datakiosk/po/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/datakiosk/po/Makefile" ;;
33680
"src/datakiosk/src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/datakiosk/src/Makefile" ;;
33681
"src/icons/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/icons/Makefile" ;;
33682
"src/pics/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/pics/Makefile" ;;
33683
"src/po/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/po/Makefile" ;;
33684
"src/src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/src/Makefile" ;;
33685
"depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
33686
"config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
33687
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
33688
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
33689
{ (exit 1); exit 1; }; };;
33693
# If the user did not use the arguments to specify the items to instantiate,
33694
# then the envvar interface is used. Set only those that are not.
33695
# We use the long form for the default assignment because of an extremely
33696
# bizarre bug on SunOS 4.1.3.
33697
if $ac_need_defaults; then
33698
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
33699
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
33700
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
33703
# Have a temporary directory for convenience. Make it in the build tree
33704
# simply because there is no reason to put it here, and in addition,
33705
# creating and moving files from /tmp can sometimes cause problems.
33706
# Create a temporary directory, and hook for its removal unless debugging.
33709
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
33710
trap '{ (exit 1); exit 1; }' 1 2 13 15
33713
# Create a (secure) tmp directory for tmp files.
33716
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
33717
test -n "$tmp" && test -d "$tmp"
33720
tmp=./confstat$$-$RANDOM
33721
(umask 077 && mkdir $tmp)
33724
echo "$me: cannot create a temporary directory in ." >&2
33725
{ (exit 1); exit 1; }
33730
cat >>$CONFIG_STATUS <<_ACEOF
33733
# CONFIG_FILES section.
33736
# No need to generate the scripts if there are no CONFIG_FILES.
33737
# This happens for instance when ./config.status config.h
33738
if test -n "\$CONFIG_FILES"; then
33739
# Protect against being on the right side of a sed subst in config.status.
33740
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
33741
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
33742
s,@SHELL@,$SHELL,;t t
33743
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
33744
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
33745
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
33746
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
33747
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
33748
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
33749
s,@exec_prefix@,$exec_prefix,;t t
33750
s,@prefix@,$prefix,;t t
33751
s,@program_transform_name@,$program_transform_name,;t t
33752
s,@bindir@,$bindir,;t t
33753
s,@sbindir@,$sbindir,;t t
33754
s,@libexecdir@,$libexecdir,;t t
33755
s,@datadir@,$datadir,;t t
33756
s,@sysconfdir@,$sysconfdir,;t t
33757
s,@sharedstatedir@,$sharedstatedir,;t t
33758
s,@localstatedir@,$localstatedir,;t t
33759
s,@libdir@,$libdir,;t t
33760
s,@includedir@,$includedir,;t t
33761
s,@oldincludedir@,$oldincludedir,;t t
33762
s,@infodir@,$infodir,;t t
33763
s,@mandir@,$mandir,;t t
33764
s,@build_alias@,$build_alias,;t t
33765
s,@host_alias@,$host_alias,;t t
33766
s,@target_alias@,$target_alias,;t t
33767
s,@DEFS@,$DEFS,;t t
33768
s,@ECHO_C@,$ECHO_C,;t t
33769
s,@ECHO_N@,$ECHO_N,;t t
33770
s,@ECHO_T@,$ECHO_T,;t t
33771
s,@LIBS@,$LIBS,;t t
33772
s,@build@,$build,;t t
33773
s,@build_cpu@,$build_cpu,;t t
33774
s,@build_vendor@,$build_vendor,;t t
33775
s,@build_os@,$build_os,;t t
33776
s,@host@,$host,;t t
33777
s,@host_cpu@,$host_cpu,;t t
33778
s,@host_vendor@,$host_vendor,;t t
33779
s,@host_os@,$host_os,;t t
33780
s,@target@,$target,;t t
33781
s,@target_cpu@,$target_cpu,;t t
33782
s,@target_vendor@,$target_vendor,;t t
33783
s,@target_os@,$target_os,;t t
33784
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
33785
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
33786
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
33787
s,@CYGPATH_W@,$CYGPATH_W,;t t
33788
s,@PACKAGE@,$PACKAGE,;t t
33789
s,@VERSION@,$VERSION,;t t
33790
s,@ACLOCAL@,$ACLOCAL,;t t
33791
s,@AUTOCONF@,$AUTOCONF,;t t
33792
s,@AUTOMAKE@,$AUTOMAKE,;t t
33793
s,@AUTOHEADER@,$AUTOHEADER,;t t
33794
s,@MAKEINFO@,$MAKEINFO,;t t
33795
s,@install_sh@,$install_sh,;t t
33796
s,@STRIP@,$STRIP,;t t
33797
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
33798
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
33799
s,@mkdir_p@,$mkdir_p,;t t
33801
s,@SET_MAKE@,$SET_MAKE,;t t
33802
s,@am__leading_dot@,$am__leading_dot,;t t
33803
s,@AMTAR@,$AMTAR,;t t
33804
s,@am__tar@,$am__tar,;t t
33805
s,@am__untar@,$am__untar,;t t
33806
s,@KDECONFIG@,$KDECONFIG,;t t
33807
s,@kde_libs_prefix@,$kde_libs_prefix,;t t
33808
s,@kde_libs_htmldir@,$kde_libs_htmldir,;t t
33809
s,@CONF_FILES@,$CONF_FILES,;t t
33811
s,@CFLAGS@,$CFLAGS,;t t
33812
s,@LDFLAGS@,$LDFLAGS,;t t
33813
s,@CPPFLAGS@,$CPPFLAGS,;t t
33814
s,@ac_ct_CC@,$ac_ct_CC,;t t
33815
s,@EXEEXT@,$EXEEXT,;t t
33816
s,@OBJEXT@,$OBJEXT,;t t
33817
s,@DEPDIR@,$DEPDIR,;t t
33818
s,@am__include@,$am__include,;t t
33819
s,@am__quote@,$am__quote,;t t
33820
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
33821
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
33822
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
33823
s,@CCDEPMODE@,$CCDEPMODE,;t t
33824
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
33825
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
33828
s,@CXXFLAGS@,$CXXFLAGS,;t t
33829
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
33830
s,@CXXDEPMODE@,$CXXDEPMODE,;t t
33831
s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
33832
s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
33833
s,@WOVERLOADED_VIRTUAL@,$WOVERLOADED_VIRTUAL,;t t
33834
s,@HAVE_GCC_VISIBILITY@,$HAVE_GCC_VISIBILITY,;t t
33835
s,@unsermake_enable_pch_TRUE@,$unsermake_enable_pch_TRUE,;t t
33836
s,@unsermake_enable_pch_FALSE@,$unsermake_enable_pch_FALSE,;t t
33837
s,@USE_EXCEPTIONS@,$USE_EXCEPTIONS,;t t
33838
s,@USE_RTTI@,$USE_RTTI,;t t
33839
s,@CXXCPP@,$CXXCPP,;t t
33840
s,@NOOPT_CXXFLAGS@,$NOOPT_CXXFLAGS,;t t
33841
s,@NOOPT_CFLAGS@,$NOOPT_CFLAGS,;t t
33842
s,@ENABLE_PERMISSIVE_FLAG@,$ENABLE_PERMISSIVE_FLAG,;t t
33843
s,@LDFLAGS_AS_NEEDED@,$LDFLAGS_AS_NEEDED,;t t
33844
s,@LDFLAGS_NEW_DTAGS@,$LDFLAGS_NEW_DTAGS,;t t
33845
s,@KDE_USE_FINAL_TRUE@,$KDE_USE_FINAL_TRUE,;t t
33846
s,@KDE_USE_FINAL_FALSE@,$KDE_USE_FINAL_FALSE,;t t
33847
s,@KDE_USE_CLOSURE_TRUE@,$KDE_USE_CLOSURE_TRUE,;t t
33848
s,@KDE_USE_CLOSURE_FALSE@,$KDE_USE_CLOSURE_FALSE,;t t
33849
s,@KDE_NO_UNDEFINED@,$KDE_NO_UNDEFINED,;t t
33850
s,@KDE_USE_NMCHECK_TRUE@,$KDE_USE_NMCHECK_TRUE,;t t
33851
s,@KDE_USE_NMCHECK_FALSE@,$KDE_USE_NMCHECK_FALSE,;t t
33852
s,@EGREP@,$EGREP,;t t
33853
s,@LN_S@,$LN_S,;t t
33854
s,@ECHO@,$ECHO,;t t
33856
s,@ac_ct_AR@,$ac_ct_AR,;t t
33857
s,@RANLIB@,$RANLIB,;t t
33858
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
33860
s,@FFLAGS@,$FFLAGS,;t t
33861
s,@ac_ct_F77@,$ac_ct_F77,;t t
33862
s,@LIBTOOL@,$LIBTOOL,;t t
33863
s,@KDE_PLUGIN@,$KDE_PLUGIN,;t t
33864
s,@KDE_CHECK_PLUGIN@,$KDE_CHECK_PLUGIN,;t t
33865
s,@MSGFMT@,$MSGFMT,;t t
33866
s,@GMSGFMT@,$GMSGFMT,;t t
33867
s,@XGETTEXT@,$XGETTEXT,;t t
33868
s,@LIBUTIL@,$LIBUTIL,;t t
33869
s,@LIBCOMPAT@,$LIBCOMPAT,;t t
33870
s,@LIBCRYPT@,$LIBCRYPT,;t t
33871
s,@LIBRESOLV@,$LIBRESOLV,;t t
33872
s,@LIB_POLL@,$LIB_POLL,;t t
33873
s,@FRAMEWORK_COREAUDIO@,$FRAMEWORK_COREAUDIO,;t t
33874
s,@LIBSOCKET@,$LIBSOCKET,;t t
33875
s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
33876
s,@LIBUCB@,$LIBUCB,;t t
33877
s,@LIBDL@,$LIBDL,;t t
33878
s,@include_x11_TRUE@,$include_x11_TRUE,;t t
33879
s,@include_x11_FALSE@,$include_x11_FALSE,;t t
33880
s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
33881
s,@LIB_X11@,$LIB_X11,;t t
33882
s,@LIB_XRENDER@,$LIB_XRENDER,;t t
33883
s,@LIBSM@,$LIBSM,;t t
33884
s,@X_INCLUDES@,$X_INCLUDES,;t t
33885
s,@X_LDFLAGS@,$X_LDFLAGS,;t t
33886
s,@x_includes@,$x_includes,;t t
33887
s,@x_libraries@,$x_libraries,;t t
33888
s,@QTE_NORTTI@,$QTE_NORTTI,;t t
33889
s,@LIB_XEXT@,$LIB_XEXT,;t t
33890
s,@LIBPTHREAD@,$LIBPTHREAD,;t t
33891
s,@USE_THREADS@,$USE_THREADS,;t t
33892
s,@KDE_MT_LDFLAGS@,$KDE_MT_LDFLAGS,;t t
33893
s,@KDE_MT_LIBS@,$KDE_MT_LIBS,;t t
33894
s,@USER_INCLUDES@,$USER_INCLUDES,;t t
33895
s,@USER_LDFLAGS@,$USER_LDFLAGS,;t t
33896
s,@LIBZ@,$LIBZ,;t t
33897
s,@LIBPNG@,$LIBPNG,;t t
33898
s,@LIBJPEG@,$LIBJPEG,;t t
33899
s,@qt_libraries@,$qt_libraries,;t t
33900
s,@qt_includes@,$qt_includes,;t t
33901
s,@QT_INCLUDES@,$QT_INCLUDES,;t t
33902
s,@QT_LDFLAGS@,$QT_LDFLAGS,;t t
33903
s,@PERL@,$PERL,;t t
33906
s,@UIC_TR@,$UIC_TR,;t t
33907
s,@LIB_QT@,$LIB_QT,;t t
33908
s,@LIB_QPE@,$LIB_QPE,;t t
33909
s,@kde_qtver@,$kde_qtver,;t t
33910
s,@KDE_EXTRA_RPATH@,$KDE_EXTRA_RPATH,;t t
33911
s,@KDE_RPATH@,$KDE_RPATH,;t t
33912
s,@X_RPATH@,$X_RPATH,;t t
33913
s,@kde_libraries@,$kde_libraries,;t t
33914
s,@kde_includes@,$kde_includes,;t t
33915
s,@KDE_LDFLAGS@,$KDE_LDFLAGS,;t t
33916
s,@KDE_INCLUDES@,$KDE_INCLUDES,;t t
33917
s,@all_includes@,$all_includes,;t t
33918
s,@all_libraries@,$all_libraries,;t t
33919
s,@AUTODIRS@,$AUTODIRS,;t t
33920
s,@include_ARTS_TRUE@,$include_ARTS_TRUE,;t t
33921
s,@include_ARTS_FALSE@,$include_ARTS_FALSE,;t t
33922
s,@MAKEKDEWIDGETS@,$MAKEKDEWIDGETS,;t t
33923
s,@KCONFIG_COMPILER@,$KCONFIG_COMPILER,;t t
33924
s,@KCFG_DEPENDENCIES@,$KCFG_DEPENDENCIES,;t t
33925
s,@DCOPIDLNG@,$DCOPIDLNG,;t t
33926
s,@DCOPIDL@,$DCOPIDL,;t t
33927
s,@DCOPIDL2CPP@,$DCOPIDL2CPP,;t t
33928
s,@DCOP_DEPENDENCIES@,$DCOP_DEPENDENCIES,;t t
33929
s,@MCOPIDL@,$MCOPIDL,;t t
33930
s,@ARTSCCONFIG@,$ARTSCCONFIG,;t t
33931
s,@MEINPROC@,$MEINPROC,;t t
33932
s,@KDE_XSL_STYLESHEET@,$KDE_XSL_STYLESHEET,;t t
33933
s,@XMLLINT@,$XMLLINT,;t t
33934
s,@kde_htmldir@,$kde_htmldir,;t t
33935
s,@kde_appsdir@,$kde_appsdir,;t t
33936
s,@kde_icondir@,$kde_icondir,;t t
33937
s,@kde_sounddir@,$kde_sounddir,;t t
33938
s,@kde_datadir@,$kde_datadir,;t t
33939
s,@kde_locale@,$kde_locale,;t t
33940
s,@kde_confdir@,$kde_confdir,;t t
33941
s,@kde_kcfgdir@,$kde_kcfgdir,;t t
33942
s,@kde_mimedir@,$kde_mimedir,;t t
33943
s,@kde_wallpaperdir@,$kde_wallpaperdir,;t t
33944
s,@kde_bindir@,$kde_bindir,;t t
33945
s,@xdg_appsdir@,$xdg_appsdir,;t t
33946
s,@xdg_menudir@,$xdg_menudir,;t t
33947
s,@xdg_directorydir@,$xdg_directorydir,;t t
33948
s,@kde_templatesdir@,$kde_templatesdir,;t t
33949
s,@kde_servicesdir@,$kde_servicesdir,;t t
33950
s,@kde_servicetypesdir@,$kde_servicetypesdir,;t t
33951
s,@kde_moduledir@,$kde_moduledir,;t t
33952
s,@kdeinitdir@,$kdeinitdir,;t t
33953
s,@kde_styledir@,$kde_styledir,;t t
33954
s,@kde_widgetdir@,$kde_widgetdir,;t t
33955
s,@LIB_KDED@,$LIB_KDED,;t t
33956
s,@LIB_KDECORE@,$LIB_KDECORE,;t t
33957
s,@LIB_KDEUI@,$LIB_KDEUI,;t t
33958
s,@LIB_KIO@,$LIB_KIO,;t t
33959
s,@LIB_KJS@,$LIB_KJS,;t t
33960
s,@LIB_SMB@,$LIB_SMB,;t t
33961
s,@LIB_KAB@,$LIB_KAB,;t t
33962
s,@LIB_KABC@,$LIB_KABC,;t t
33963
s,@LIB_KHTML@,$LIB_KHTML,;t t
33964
s,@LIB_KSPELL@,$LIB_KSPELL,;t t
33965
s,@LIB_KPARTS@,$LIB_KPARTS,;t t
33966
s,@LIB_KDEPRINT@,$LIB_KDEPRINT,;t t
33967
s,@LIB_KUTILS@,$LIB_KUTILS,;t t
33968
s,@LIB_KDEPIM@,$LIB_KDEPIM,;t t
33969
s,@LIB_KIMPROXY@,$LIB_KIMPROXY,;t t
33970
s,@LIB_KNEWSTUFF@,$LIB_KNEWSTUFF,;t t
33971
s,@LIB_KDNSSD@,$LIB_KDNSSD,;t t
33972
s,@LIB_KUNITTEST@,$LIB_KUNITTEST,;t t
33973
s,@LIB_KSYCOCA@,$LIB_KSYCOCA,;t t
33974
s,@LIB_KFILE@,$LIB_KFILE,;t t
33975
s,@LIB_KFM@,$LIB_KFM,;t t
33976
s,@LIB_ARTS@,$LIB_ARTS,;t t
33977
s,@QTDOCDIR@,$QTDOCDIR,;t t
33978
s,@KDE_HAVE_DOT@,$KDE_HAVE_DOT,;t t
33979
s,@DOXYGEN@,$DOXYGEN,;t t
33980
s,@DOXYGEN_PROJECT_NAME@,$DOXYGEN_PROJECT_NAME,;t t
33981
s,@DOXYGEN_PROJECT_NUMBER@,$DOXYGEN_PROJECT_NUMBER,;t t
33982
s,@KDE_HAS_DOXYGEN@,$KDE_HAS_DOXYGEN,;t t
33983
s,@TOPSUBDIRS@,$TOPSUBDIRS,;t t
33984
s,@src_SUBDIR_included_TRUE@,$src_SUBDIR_included_TRUE,;t t
33985
s,@src_SUBDIR_included_FALSE@,$src_SUBDIR_included_FALSE,;t t
33986
s,@LIBOBJS@,$LIBOBJS,;t t
33987
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
33992
cat >>$CONFIG_STATUS <<\_ACEOF
33993
# Split the substitutions into bite-sized pieces for seds with
33994
# small command number limits, like on Digital OSF/1 and HP-UX.
33995
ac_max_sed_lines=48
33996
ac_sed_frag=1 # Number of current file.
33997
ac_beg=1 # First line for current file.
33998
ac_end=$ac_max_sed_lines # Line after last line for current file.
34001
while $ac_more_lines; do
34002
if test $ac_beg -gt 1; then
34003
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
34005
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
34007
if test ! -s $tmp/subs.frag; then
34008
ac_more_lines=false
34010
# The purpose of the label and of the branching condition is to
34011
# speed up the sed processing (if there are no `@' at all, there
34012
# is no need to browse any of the substitutions).
34013
# These are the two extra sed commands mentioned above.
34015
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
34016
if test -z "$ac_sed_cmds"; then
34017
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
34019
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
34021
ac_sed_frag=`expr $ac_sed_frag + 1`
34023
ac_end=`expr $ac_end + $ac_max_sed_lines`
34026
if test -z "$ac_sed_cmds"; then
34029
fi # test -n "$CONFIG_FILES"
34032
cat >>$CONFIG_STATUS <<\_ACEOF
34033
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
34034
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
34036
- | *:- | *:-:* ) # input from stdin
34038
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
34039
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
34040
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
34041
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
34042
* ) ac_file_in=$ac_file.in ;;
34045
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
34046
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
34047
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34048
X"$ac_file" : 'X\(//\)[^/]' \| \
34049
X"$ac_file" : 'X\(//\)$' \| \
34050
X"$ac_file" : 'X\(/\)' \| \
34051
. : '\(.\)' 2>/dev/null ||
34053
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34054
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
34055
/^X\(\/\/\)$/{ s//\1/; q; }
34056
/^X\(\/\).*/{ s//\1/; q; }
34058
{ if $as_mkdir_p; then
34063
while test ! -d "$as_dir"; do
34064
as_dirs="$as_dir $as_dirs"
34065
as_dir=`(dirname "$as_dir") 2>/dev/null ||
34066
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34067
X"$as_dir" : 'X\(//\)[^/]' \| \
34068
X"$as_dir" : 'X\(//\)$' \| \
34069
X"$as_dir" : 'X\(/\)' \| \
34070
. : '\(.\)' 2>/dev/null ||
34072
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34073
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
34074
/^X\(\/\/\)$/{ s//\1/; q; }
34075
/^X\(\/\).*/{ s//\1/; q; }
34078
test ! -n "$as_dirs" || mkdir $as_dirs
34079
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
34080
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
34081
{ (exit 1); exit 1; }; }; }
34085
if test "$ac_dir" != .; then
34086
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
34087
# A "../" for each directory in $ac_dir_suffix.
34088
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
34090
ac_dir_suffix= ac_top_builddir=
34094
.) # No --srcdir option. We are building in place.
34096
if test -z "$ac_top_builddir"; then
34099
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
34101
[\\/]* | ?:[\\/]* ) # Absolute path.
34102
ac_srcdir=$srcdir$ac_dir_suffix;
34103
ac_top_srcdir=$srcdir ;;
34104
*) # Relative path.
34105
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
34106
ac_top_srcdir=$ac_top_builddir$srcdir ;;
34109
# Do not use `cd foo && pwd` to compute absolute paths, because
34110
# the directories may not exist.
34112
.) ac_abs_builddir="$ac_dir";;
34115
.) ac_abs_builddir=`pwd`;;
34116
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
34117
*) ac_abs_builddir=`pwd`/"$ac_dir";;
34120
case $ac_abs_builddir in
34121
.) ac_abs_top_builddir=${ac_top_builddir}.;;
34123
case ${ac_top_builddir}. in
34124
.) ac_abs_top_builddir=$ac_abs_builddir;;
34125
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
34126
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
34129
case $ac_abs_builddir in
34130
.) ac_abs_srcdir=$ac_srcdir;;
34133
.) ac_abs_srcdir=$ac_abs_builddir;;
34134
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
34135
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
34138
case $ac_abs_builddir in
34139
.) ac_abs_top_srcdir=$ac_top_srcdir;;
34141
case $ac_top_srcdir in
34142
.) ac_abs_top_srcdir=$ac_abs_builddir;;
34143
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
34144
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
34150
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
34151
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
34154
if test x"$ac_file" != x-; then
34155
{ echo "$as_me:$LINENO: creating $ac_file" >&5
34156
echo "$as_me: creating $ac_file" >&6;}
34159
# Let's still pretend it is `configure' which instantiates (i.e., don't
34160
# use $as_me), people would be surprised to read:
34161
# /* config.h. Generated by config.status. */
34162
if test x"$ac_file" = x-; then
34165
configure_input="$ac_file. "
34167
configure_input=$configure_input"Generated from `echo $ac_file_in |
34168
sed 's,.*/,,'` by configure."
34170
# First look for the input files in the build tree, otherwise in the
34172
ac_file_inputs=`IFS=:
34173
for f in $ac_file_in; do
34175
-) echo $tmp/stdin ;;
34177
# Absolute (can't be DOS-style, as IFS=:)
34178
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
34179
echo "$as_me: error: cannot find input file: $f" >&2;}
34180
{ (exit 1); exit 1; }; }
34183
if test -f "$f"; then
34186
elif test -f "$srcdir/$f"; then
34191
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
34192
echo "$as_me: error: cannot find input file: $f" >&2;}
34193
{ (exit 1); exit 1; }; }
34196
done` || { (exit 1); exit 1; }
34198
cat >>$CONFIG_STATUS <<_ACEOF
34202
cat >>$CONFIG_STATUS <<\_ACEOF
34204
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
34205
s,@configure_input@,$configure_input,;t t
34206
s,@srcdir@,$ac_srcdir,;t t
34207
s,@abs_srcdir@,$ac_abs_srcdir,;t t
34208
s,@top_srcdir@,$ac_top_srcdir,;t t
34209
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
34210
s,@builddir@,$ac_builddir,;t t
34211
s,@abs_builddir@,$ac_abs_builddir,;t t
34212
s,@top_builddir@,$ac_top_builddir,;t t
34213
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
34214
s,@INSTALL@,$ac_INSTALL,;t t
34215
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
34217
if test x"$ac_file" != x-; then
34218
mv $tmp/out $ac_file
34226
cat >>$CONFIG_STATUS <<\_ACEOF
34229
# CONFIG_HEADER section.
34232
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
34233
# NAME is the cpp macro being defined and VALUE is the value it is being given.
34235
# ac_d sets the value in "#define NAME VALUE" lines.
34236
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
34237
ac_dB='[ ].*$,\1#\2'
34240
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
34241
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
34242
ac_uB='$,\1#\2define\3'
34246
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
34247
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
34249
- | *:- | *:-:* ) # input from stdin
34251
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
34252
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
34253
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
34254
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
34255
* ) ac_file_in=$ac_file.in ;;
34258
test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
34259
echo "$as_me: creating $ac_file" >&6;}
34261
# First look for the input files in the build tree, otherwise in the
34263
ac_file_inputs=`IFS=:
34264
for f in $ac_file_in; do
34266
-) echo $tmp/stdin ;;
34268
# Absolute (can't be DOS-style, as IFS=:)
34269
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
34270
echo "$as_me: error: cannot find input file: $f" >&2;}
34271
{ (exit 1); exit 1; }; }
34272
# Do quote $f, to prevent DOS paths from being IFS'd.
34275
if test -f "$f"; then
34278
elif test -f "$srcdir/$f"; then
34283
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
34284
echo "$as_me: error: cannot find input file: $f" >&2;}
34285
{ (exit 1); exit 1; }; }
34288
done` || { (exit 1); exit 1; }
34289
# Remove the trailing spaces.
34290
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
34294
# Transform confdefs.h into two sed scripts, `conftest.defines' and
34295
# `conftest.undefs', that substitutes the proper values into
34296
# config.h.in to produce config.h. The first handles `#define'
34297
# templates, and the second `#undef' templates.
34298
# And first: Protect against being on the right side of a sed subst in
34299
# config.status. Protect against being in an unquoted here document
34300
# in config.status.
34301
rm -f conftest.defines conftest.undefs
34302
# Using a here document instead of a string reduces the quoting nightmare.
34303
# Putting comments in sed scripts is not portable.
34305
# `end' is used to avoid that the second main sed command (meant for
34306
# 0-ary CPP macros) applies to n-ary macro definitions.
34307
# See the Autoconf documentation for `clear'.
34308
cat >confdef2sed.sed <<\_ACEOF
34313
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
34315
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
34318
# If some macros were called several times there might be several times
34319
# the same #defines, which is useless. Nevertheless, we may not want to
34320
# sort them, since we want the *last* AC-DEFINE to be honored.
34321
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
34322
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
34323
rm -f confdef2sed.sed
34325
# This sed command replaces #undef with comments. This is necessary, for
34326
# example, in the case of _POSIX_SOURCE, which is predefined and required
34327
# on some systems where configure will not decide to define it.
34328
cat >>conftest.undefs <<\_ACEOF
34329
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
34332
# Break up conftest.defines because some shells have a limit on the size
34333
# of here documents, and old seds have small limits too (100 cmds).
34334
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
34335
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
34336
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
34337
echo ' :' >>$CONFIG_STATUS
34338
rm -f conftest.tail
34339
while grep . conftest.defines >/dev/null
34341
# Write a limited-size here document to $tmp/defines.sed.
34342
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
34343
# Speed up: don't consider the non `#define' lines.
34344
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
34345
# Work around the forget-to-reset-the-flag bug.
34346
echo 't clr' >>$CONFIG_STATUS
34347
echo ': clr' >>$CONFIG_STATUS
34348
sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
34350
sed -f $tmp/defines.sed $tmp/in >$tmp/out
34352
mv $tmp/out $tmp/in
34354
sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
34355
rm -f conftest.defines
34356
mv conftest.tail conftest.defines
34358
rm -f conftest.defines
34359
echo ' fi # grep' >>$CONFIG_STATUS
34360
echo >>$CONFIG_STATUS
34362
# Break up conftest.undefs because some shells have a limit on the size
34363
# of here documents, and old seds have small limits too (100 cmds).
34364
echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
34365
rm -f conftest.tail
34366
while grep . conftest.undefs >/dev/null
34368
# Write a limited-size here document to $tmp/undefs.sed.
34369
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
34370
# Speed up: don't consider the non `#undef'
34371
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
34372
# Work around the forget-to-reset-the-flag bug.
34373
echo 't clr' >>$CONFIG_STATUS
34374
echo ': clr' >>$CONFIG_STATUS
34375
sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
34377
sed -f $tmp/undefs.sed $tmp/in >$tmp/out
34379
mv $tmp/out $tmp/in
34381
sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
34382
rm -f conftest.undefs
34383
mv conftest.tail conftest.undefs
34385
rm -f conftest.undefs
34387
cat >>$CONFIG_STATUS <<\_ACEOF
34388
# Let's still pretend it is `configure' which instantiates (i.e., don't
34389
# use $as_me), people would be surprised to read:
34390
# /* config.h. Generated by config.status. */
34391
if test x"$ac_file" = x-; then
34392
echo "/* Generated by configure. */" >$tmp/config.h
34394
echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
34396
cat $tmp/in >>$tmp/config.h
34398
if test x"$ac_file" != x-; then
34399
if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
34400
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
34401
echo "$as_me: $ac_file is unchanged" >&6;}
34403
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
34404
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34405
X"$ac_file" : 'X\(//\)[^/]' \| \
34406
X"$ac_file" : 'X\(//\)$' \| \
34407
X"$ac_file" : 'X\(/\)' \| \
34408
. : '\(.\)' 2>/dev/null ||
34410
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34411
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
34412
/^X\(\/\/\)$/{ s//\1/; q; }
34413
/^X\(\/\).*/{ s//\1/; q; }
34415
{ if $as_mkdir_p; then
34420
while test ! -d "$as_dir"; do
34421
as_dirs="$as_dir $as_dirs"
34422
as_dir=`(dirname "$as_dir") 2>/dev/null ||
34423
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34424
X"$as_dir" : 'X\(//\)[^/]' \| \
34425
X"$as_dir" : 'X\(//\)$' \| \
34426
X"$as_dir" : 'X\(/\)' \| \
34427
. : '\(.\)' 2>/dev/null ||
34429
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34430
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
34431
/^X\(\/\/\)$/{ s//\1/; q; }
34432
/^X\(\/\).*/{ s//\1/; q; }
34435
test ! -n "$as_dirs" || mkdir $as_dirs
34436
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
34437
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
34438
{ (exit 1); exit 1; }; }; }
34441
mv $tmp/config.h $ac_file
34445
rm -f $tmp/config.h
34447
# Compute $ac_file's index in $config_headers.
34449
for _am_header in $config_headers :; do
34450
case $_am_header in
34451
$ac_file | $ac_file:* )
34454
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
34457
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
34458
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34459
X$ac_file : 'X\(//\)[^/]' \| \
34460
X$ac_file : 'X\(//\)$' \| \
34461
X$ac_file : 'X\(/\)' \| \
34462
. : '\(.\)' 2>/dev/null ||
34464
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34465
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
34466
/^X\(\/\/\)$/{ s//\1/; q; }
34467
/^X\(\/\).*/{ s//\1/; q; }
34468
s/.*/./; q'`/stamp-h$_am_stamp_count
34471
cat >>$CONFIG_STATUS <<\_ACEOF
34474
# CONFIG_COMMANDS section.
34476
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
34477
ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
34478
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
34479
ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
34480
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34481
X"$ac_dest" : 'X\(//\)[^/]' \| \
34482
X"$ac_dest" : 'X\(//\)$' \| \
34483
X"$ac_dest" : 'X\(/\)' \| \
34484
. : '\(.\)' 2>/dev/null ||
34486
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34487
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
34488
/^X\(\/\/\)$/{ s//\1/; q; }
34489
/^X\(\/\).*/{ s//\1/; q; }
34491
{ if $as_mkdir_p; then
34496
while test ! -d "$as_dir"; do
34497
as_dirs="$as_dir $as_dirs"
34498
as_dir=`(dirname "$as_dir") 2>/dev/null ||
34499
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34500
X"$as_dir" : 'X\(//\)[^/]' \| \
34501
X"$as_dir" : 'X\(//\)$' \| \
34502
X"$as_dir" : 'X\(/\)' \| \
34503
. : '\(.\)' 2>/dev/null ||
34505
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34506
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
34507
/^X\(\/\/\)$/{ s//\1/; q; }
34508
/^X\(\/\).*/{ s//\1/; q; }
34511
test ! -n "$as_dirs" || mkdir $as_dirs
34512
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
34513
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
34514
{ (exit 1); exit 1; }; }; }
34518
if test "$ac_dir" != .; then
34519
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
34520
# A "../" for each directory in $ac_dir_suffix.
34521
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
34523
ac_dir_suffix= ac_top_builddir=
34527
.) # No --srcdir option. We are building in place.
34529
if test -z "$ac_top_builddir"; then
34532
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
34534
[\\/]* | ?:[\\/]* ) # Absolute path.
34535
ac_srcdir=$srcdir$ac_dir_suffix;
34536
ac_top_srcdir=$srcdir ;;
34537
*) # Relative path.
34538
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
34539
ac_top_srcdir=$ac_top_builddir$srcdir ;;
34542
# Do not use `cd foo && pwd` to compute absolute paths, because
34543
# the directories may not exist.
34545
.) ac_abs_builddir="$ac_dir";;
34548
.) ac_abs_builddir=`pwd`;;
34549
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
34550
*) ac_abs_builddir=`pwd`/"$ac_dir";;
34553
case $ac_abs_builddir in
34554
.) ac_abs_top_builddir=${ac_top_builddir}.;;
34556
case ${ac_top_builddir}. in
34557
.) ac_abs_top_builddir=$ac_abs_builddir;;
34558
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
34559
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
34562
case $ac_abs_builddir in
34563
.) ac_abs_srcdir=$ac_srcdir;;
34566
.) ac_abs_srcdir=$ac_abs_builddir;;
34567
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
34568
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
34571
case $ac_abs_builddir in
34572
.) ac_abs_top_srcdir=$ac_top_srcdir;;
34574
case $ac_top_srcdir in
34575
.) ac_abs_top_srcdir=$ac_abs_builddir;;
34576
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
34577
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
34582
{ echo "$as_me:$LINENO: executing $ac_dest commands" >&5
34583
echo "$as_me: executing $ac_dest commands" >&6;}
34585
depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
34586
# Strip MF so we end up with the name of the file.
34587
mf=`echo "$mf" | sed -e 's/:.*$//'`
34588
# Check whether this is an Automake generated Makefile or not.
34589
# We used to match only the files named `Makefile.in', but
34590
# some people rename them; so instead we look at the file content.
34591
# Grep'ing the first line is not enough: some people post-process
34592
# each Makefile.in and add a new line on top of each file to say so.
34593
# So let's grep whole file.
34594
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
34595
dirpart=`(dirname "$mf") 2>/dev/null ||
34596
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34597
X"$mf" : 'X\(//\)[^/]' \| \
34598
X"$mf" : 'X\(//\)$' \| \
34599
X"$mf" : 'X\(/\)' \| \
34600
. : '\(.\)' 2>/dev/null ||
34602
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34603
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
34604
/^X\(\/\/\)$/{ s//\1/; q; }
34605
/^X\(\/\).*/{ s//\1/; q; }
34610
# Extract the definition of DEPDIR, am__include, and am__quote
34611
# from the Makefile without running `make'.
34612
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
34613
test -z "$DEPDIR" && continue
34614
am__include=`sed -n 's/^am__include = //p' < "$mf"`
34615
test -z "am__include" && continue
34616
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
34617
# When using ansi2knr, U may be empty or an underscore; expand it
34618
U=`sed -n 's/^U = //p' < "$mf"`
34619
# Find all dependency output files, they are included files with
34620
# $(DEPDIR) in their names. We invoke sed twice because it is the
34621
# simplest approach to changing $(DEPDIR) to its actual value in the
34623
for file in `sed -n "
34624
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
34625
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
34626
# Make sure the directory exists.
34627
test -f "$dirpart/$file" && continue
34628
fdir=`(dirname "$file") 2>/dev/null ||
34629
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34630
X"$file" : 'X\(//\)[^/]' \| \
34631
X"$file" : 'X\(//\)$' \| \
34632
X"$file" : 'X\(/\)' \| \
34633
. : '\(.\)' 2>/dev/null ||
34635
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34636
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
34637
/^X\(\/\/\)$/{ s//\1/; q; }
34638
/^X\(\/\).*/{ s//\1/; q; }
34640
{ if $as_mkdir_p; then
34641
mkdir -p $dirpart/$fdir
34643
as_dir=$dirpart/$fdir
34645
while test ! -d "$as_dir"; do
34646
as_dirs="$as_dir $as_dirs"
34647
as_dir=`(dirname "$as_dir") 2>/dev/null ||
34648
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34649
X"$as_dir" : 'X\(//\)[^/]' \| \
34650
X"$as_dir" : 'X\(//\)$' \| \
34651
X"$as_dir" : 'X\(/\)' \| \
34652
. : '\(.\)' 2>/dev/null ||
34654
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34655
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
34656
/^X\(\/\/\)$/{ s//\1/; q; }
34657
/^X\(\/\).*/{ s//\1/; q; }
34660
test ! -n "$as_dirs" || mkdir $as_dirs
34661
fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
34662
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
34663
{ (exit 1); exit 1; }; }; }
34665
# echo "creating $dirpart/$file"
34666
echo '# dummy' > "$dirpart/$file"
34674
cat >>$CONFIG_STATUS <<\_ACEOF
34676
{ (exit 0); exit 0; }
34678
if test "x$with_fast_perl" = "xyes"; then
34679
perl -i.bak $ac_aux_dir/conf.change.pl $CONFIG_STATUS \
34680
|| mv $CONFIG_STATUS.bak $CONFIG_STATUS
34681
rm -f $CONFIG_STATUS.bak
34683
chmod +x $CONFIG_STATUS
34684
ac_clean_files=$ac_clean_files_save
34687
# configure is writing to config.log, and then calls config.status.
34688
# config.status does its own redirection, appending to config.log.
34689
# Unfortunately, on DOS this fails, as config.log is still kept open
34690
# by configure, so config.status won't be able to write to it; its
34691
# output is simply discarded. So we exec the FD to /dev/null,
34692
# effectively closing config.log, so it can be properly (re)opened and
34693
# appended to by config.status. When coming back to configure, we
34694
# need to make the FD available again.
34695
if test "$no_create" != yes; then
34697
ac_config_status_args=
34698
test "$silent" = yes &&
34699
ac_config_status_args="$ac_config_status_args --quiet"
34701
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
34703
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
34704
# would make configure fail if this is the last instruction.
34705
$ac_cs_success || { (exit 1); exit 1; }
34709
# Check if KDE_SET_PREFIX was called, and --prefix was passed to configure
34710
if test -n "$kde_libs_prefix" -a -n "$given_prefix"; then
34711
# And if so, warn when they don't match
34712
if test "$kde_libs_prefix" != "$given_prefix"; then
34713
# And if kde doesn't know about the prefix yet
34714
echo ":"`kde-config --path exe`":" | grep ":$given_prefix/bin/:" 2>&1 >/dev/null
34715
if test $? -ne 0; then
34717
echo "Warning: you chose to install this package in $given_prefix,"
34718
echo "but KDE was found in $kde_libs_prefix."
34719
echo "For this to work, you will need to tell KDE about the new prefix, by ensuring"
34720
echo "that KDEDIRS contains it, e.g. export KDEDIRS=$given_prefix:$kde_libs_prefix"
34721
echo "Then restart KDE."
34727
if test "$all_tests" = "bad"; then
34728
if test ! "$cache_file" = "/dev/null"; then
34730
echo "Please remove the file $cache_file after changing your setup"
34731
echo "so that configure will find the changes next time."
34736
echo "Good - your configure finished. Start make now"