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
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246
# so uname gets run too.
247
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
254
ac_default_prefix=/usr/local
255
ac_config_libobj_dir=.
260
SHELL=${CONFIG_SHELL-/bin/sh}
262
# Maximum number of lines to put in a shell here document.
263
# This variable seems obsolete. It should probably be removed, and
264
# only ac_max_sed_lines should be used.
265
: ${ac_max_here_lines=38}
267
# Identity of this package.
274
ac_unique_file="acinclude.m4"
275
ac_default_prefix=/usr/local
276
# Factoring default headers for most tests.
277
ac_includes_default="\
280
# include <sys/types.h>
283
# include <sys/stat.h>
294
# if !STDC_HEADERS && HAVE_MEMORY_H
300
# include <strings.h>
303
# include <inttypes.h>
313
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 CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE WOVERLOADED_VIRTUAL USE_EXCEPTIONS USE_RTTI CXXCPP NOOPT_CXXFLAGS NOOPT_CFLAGS REPO NOREPO KDE_USE_FINAL_TRUE KDE_USE_FINAL_FALSE KDE_USE_CLOSURE_TRUE KDE_USE_CLOSURE_FALSE KDE_CXXFLAGS LN_S RANLIB ac_ct_RANLIB LIBTOOL KDE_PLUGIN all_includes all_libraries MSGFMT GMSGFMT XGETTEXT LIBUTIL LIBCOMPAT LIBCRYPT LIBSOCKET LIBRESOLV X_EXTRA_LIBS LIBUCB EGREP LIBDL X_INCLUDES X_LDFLAGS x_libraries x_includes LIBSM X_PRE_LIBS LIB_X11 LIBXINERAMA 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 MOC UIC UIC_TR LIB_QT LIB_QPE kde_qtver TOPSUBDIRS LIBOBJS LTLIBOBJS'
316
# Initialize some variables set by options.
318
ac_init_version=false
319
# The variables have the same names as the options, with
320
# dashes changed to underlines.
328
program_transform_name=s,x,x,
336
# Installation directory options.
337
# These are left unexpanded so users can "make install exec_prefix=/foo"
338
# and all the variables that are supposed to be based on exec_prefix
339
# by default will actually change.
340
# Use braces instead of parens because sh, perl, etc. also accept them.
341
bindir='${exec_prefix}/bin'
342
sbindir='${exec_prefix}/sbin'
343
libexecdir='${exec_prefix}/libexec'
344
datadir='${prefix}/share'
345
sysconfdir='${prefix}/etc'
346
sharedstatedir='${prefix}/com'
347
localstatedir='${prefix}/var'
348
libdir='${exec_prefix}/lib'
349
includedir='${prefix}/include'
350
oldincludedir='/usr/include'
351
infodir='${prefix}/info'
352
mandir='${prefix}/man'
357
# If the previous option needs an argument, assign it.
358
if test -n "$ac_prev"; then
359
eval "$ac_prev=\$ac_option"
364
ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
366
# Accept the important Cygnus configure options, so we can diagnose typos.
370
-bindir | --bindir | --bindi | --bind | --bin | --bi)
372
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
375
-build | --build | --buil | --bui | --bu)
376
ac_prev=build_alias ;;
377
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
378
build_alias=$ac_optarg ;;
380
-cache-file | --cache-file | --cache-fil | --cache-fi \
381
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
382
ac_prev=cache_file ;;
383
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
384
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
385
cache_file=$ac_optarg ;;
388
cache_file=config.cache ;;
390
-datadir | --datadir | --datadi | --datad | --data | --dat | --da)
392
-datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
394
datadir=$ac_optarg ;;
396
-disable-* | --disable-*)
397
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
398
# Reject names that are not valid shell variable names.
399
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
400
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
401
{ (exit 1); exit 1; }; }
402
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
403
eval "enable_$ac_feature=no" ;;
405
-enable-* | --enable-*)
406
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
407
# Reject names that are not valid shell variable names.
408
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
409
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
410
{ (exit 1); exit 1; }; }
411
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
413
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
416
eval "enable_$ac_feature='$ac_optarg'" ;;
418
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
419
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
420
| --exec | --exe | --ex)
421
ac_prev=exec_prefix ;;
422
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
423
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
424
| --exec=* | --exe=* | --ex=*)
425
exec_prefix=$ac_optarg ;;
427
-gas | --gas | --ga | --g)
428
# Obsolete; use --with-gas.
431
-help | --help | --hel | --he | -h)
433
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
434
ac_init_help=recursive ;;
435
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
436
ac_init_help=short ;;
438
-host | --host | --hos | --ho)
439
ac_prev=host_alias ;;
440
-host=* | --host=* | --hos=* | --ho=*)
441
host_alias=$ac_optarg ;;
443
-includedir | --includedir | --includedi | --included | --include \
444
| --includ | --inclu | --incl | --inc)
445
ac_prev=includedir ;;
446
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
447
| --includ=* | --inclu=* | --incl=* | --inc=*)
448
includedir=$ac_optarg ;;
450
-infodir | --infodir | --infodi | --infod | --info | --inf)
452
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
453
infodir=$ac_optarg ;;
455
-libdir | --libdir | --libdi | --libd)
457
-libdir=* | --libdir=* | --libdi=* | --libd=*)
460
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
461
| --libexe | --libex | --libe)
462
ac_prev=libexecdir ;;
463
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
464
| --libexe=* | --libex=* | --libe=*)
465
libexecdir=$ac_optarg ;;
467
-localstatedir | --localstatedir | --localstatedi | --localstated \
468
| --localstate | --localstat | --localsta | --localst \
469
| --locals | --local | --loca | --loc | --lo)
470
ac_prev=localstatedir ;;
471
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
472
| --localstate=* | --localstat=* | --localsta=* | --localst=* \
473
| --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
474
localstatedir=$ac_optarg ;;
476
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
478
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
482
# Obsolete; use --without-fp.
485
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
486
| --no-cr | --no-c | -n)
489
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
490
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
493
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
494
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
495
| --oldin | --oldi | --old | --ol | --o)
496
ac_prev=oldincludedir ;;
497
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
498
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
499
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
500
oldincludedir=$ac_optarg ;;
502
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
504
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
507
-program-prefix | --program-prefix | --program-prefi | --program-pref \
508
| --program-pre | --program-pr | --program-p)
509
ac_prev=program_prefix ;;
510
-program-prefix=* | --program-prefix=* | --program-prefi=* \
511
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
512
program_prefix=$ac_optarg ;;
514
-program-suffix | --program-suffix | --program-suffi | --program-suff \
515
| --program-suf | --program-su | --program-s)
516
ac_prev=program_suffix ;;
517
-program-suffix=* | --program-suffix=* | --program-suffi=* \
518
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
519
program_suffix=$ac_optarg ;;
521
-program-transform-name | --program-transform-name \
522
| --program-transform-nam | --program-transform-na \
523
| --program-transform-n | --program-transform- \
524
| --program-transform | --program-transfor \
525
| --program-transfo | --program-transf \
526
| --program-trans | --program-tran \
527
| --progr-tra | --program-tr | --program-t)
528
ac_prev=program_transform_name ;;
529
-program-transform-name=* | --program-transform-name=* \
530
| --program-transform-nam=* | --program-transform-na=* \
531
| --program-transform-n=* | --program-transform-=* \
532
| --program-transform=* | --program-transfor=* \
533
| --program-transfo=* | --program-transf=* \
534
| --program-trans=* | --program-tran=* \
535
| --progr-tra=* | --program-tr=* | --program-t=*)
536
program_transform_name=$ac_optarg ;;
538
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
539
| -silent | --silent | --silen | --sile | --sil)
542
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
544
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
546
sbindir=$ac_optarg ;;
548
-sharedstatedir | --sharedstatedir | --sharedstatedi \
549
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
550
| --sharedst | --shareds | --shared | --share | --shar \
552
ac_prev=sharedstatedir ;;
553
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
554
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
555
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
557
sharedstatedir=$ac_optarg ;;
559
-site | --site | --sit)
561
-site=* | --site=* | --sit=*)
564
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
566
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
569
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
570
| --syscon | --sysco | --sysc | --sys | --sy)
571
ac_prev=sysconfdir ;;
572
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
573
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
574
sysconfdir=$ac_optarg ;;
576
-target | --target | --targe | --targ | --tar | --ta | --t)
577
ac_prev=target_alias ;;
578
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
579
target_alias=$ac_optarg ;;
581
-v | -verbose | --verbose | --verbos | --verbo | --verb)
584
-version | --version | --versio | --versi | --vers | -V)
588
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
589
# Reject names that are not valid shell variable names.
590
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
591
{ echo "$as_me: error: invalid package name: $ac_package" >&2
592
{ (exit 1); exit 1; }; }
593
ac_package=`echo $ac_package| sed 's/-/_/g'`
595
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
598
eval "with_$ac_package='$ac_optarg'" ;;
600
-without-* | --without-*)
601
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
602
# Reject names that are not valid shell variable names.
603
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
604
{ echo "$as_me: error: invalid package name: $ac_package" >&2
605
{ (exit 1); exit 1; }; }
606
ac_package=`echo $ac_package | sed 's/-/_/g'`
607
eval "with_$ac_package=no" ;;
610
# Obsolete; use --with-x.
613
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
614
| --x-incl | --x-inc | --x-in | --x-i)
615
ac_prev=x_includes ;;
616
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
617
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
618
x_includes=$ac_optarg ;;
620
-x-libraries | --x-libraries | --x-librarie | --x-librari \
621
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
622
ac_prev=x_libraries ;;
623
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
624
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
625
x_libraries=$ac_optarg ;;
627
-*) { echo "$as_me: error: unrecognized option: $ac_option
628
Try \`$0 --help' for more information." >&2
629
{ (exit 1); exit 1; }; }
633
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
634
# Reject names that are not valid shell variable names.
635
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
636
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
637
{ (exit 1); exit 1; }; }
638
ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
639
eval "$ac_envvar='$ac_optarg'"
643
# FIXME: should be removed in autoconf 3.0.
644
echo "$as_me: WARNING: you should use --build, --host, --target" >&2
645
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
646
echo "$as_me: WARNING: invalid host type: $ac_option" >&2
647
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
653
if test -n "$ac_prev"; then
654
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
655
{ echo "$as_me: error: missing argument to $ac_option" >&2
656
{ (exit 1); exit 1; }; }
659
# Be sure to have absolute paths.
660
for ac_var in exec_prefix prefix
662
eval ac_val=$`echo $ac_var`
664
[\\/$]* | ?:[\\/]* | NONE | '' ) ;;
665
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
666
{ (exit 1); exit 1; }; };;
670
# Be sure to have absolute paths.
671
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
672
localstatedir libdir includedir oldincludedir infodir mandir
674
eval ac_val=$`echo $ac_var`
676
[\\/$]* | ?:[\\/]* ) ;;
677
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
678
{ (exit 1); exit 1; }; };;
682
# There might be people who depend on the old broken behavior: `$host'
683
# used to hold the argument of --host etc.
684
# FIXME: To remove some day.
689
# FIXME: To remove some day.
690
if test "x$host_alias" != x; then
691
if test "x$build_alias" = x; then
692
cross_compiling=maybe
693
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
694
If a cross compiler is detected then cross compile mode will be used." >&2
695
elif test "x$build_alias" != "x$host_alias"; then
701
test -n "$host_alias" && ac_tool_prefix=$host_alias-
703
test "$silent" = yes && exec 6>/dev/null
706
# Find the source files, if location was not specified.
707
if test -z "$srcdir"; then
708
ac_srcdir_defaulted=yes
709
# Try the directory containing this script, then its parent.
710
ac_confdir=`(dirname "$0") 2>/dev/null ||
711
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
712
X"$0" : 'X\(//\)[^/]' \| \
713
X"$0" : 'X\(//\)$' \| \
714
X"$0" : 'X\(/\)' \| \
715
. : '\(.\)' 2>/dev/null ||
717
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
718
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
719
/^X\(\/\/\)$/{ s//\1/; q; }
720
/^X\(\/\).*/{ s//\1/; q; }
723
if test ! -r $srcdir/$ac_unique_file; then
727
ac_srcdir_defaulted=no
729
if test ! -r $srcdir/$ac_unique_file; then
730
if test "$ac_srcdir_defaulted" = yes; then
731
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
732
{ (exit 1); exit 1; }; }
734
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
735
{ (exit 1); exit 1; }; }
738
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
739
{ echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
740
{ (exit 1); exit 1; }; }
741
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
742
ac_env_build_alias_set=${build_alias+set}
743
ac_env_build_alias_value=$build_alias
744
ac_cv_env_build_alias_set=${build_alias+set}
745
ac_cv_env_build_alias_value=$build_alias
746
ac_env_host_alias_set=${host_alias+set}
747
ac_env_host_alias_value=$host_alias
748
ac_cv_env_host_alias_set=${host_alias+set}
749
ac_cv_env_host_alias_value=$host_alias
750
ac_env_target_alias_set=${target_alias+set}
751
ac_env_target_alias_value=$target_alias
752
ac_cv_env_target_alias_set=${target_alias+set}
753
ac_cv_env_target_alias_value=$target_alias
754
ac_env_CC_set=${CC+set}
756
ac_cv_env_CC_set=${CC+set}
757
ac_cv_env_CC_value=$CC
758
ac_env_CFLAGS_set=${CFLAGS+set}
759
ac_env_CFLAGS_value=$CFLAGS
760
ac_cv_env_CFLAGS_set=${CFLAGS+set}
761
ac_cv_env_CFLAGS_value=$CFLAGS
762
ac_env_LDFLAGS_set=${LDFLAGS+set}
763
ac_env_LDFLAGS_value=$LDFLAGS
764
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
765
ac_cv_env_LDFLAGS_value=$LDFLAGS
766
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
767
ac_env_CPPFLAGS_value=$CPPFLAGS
768
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
769
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
770
ac_env_CPP_set=${CPP+set}
771
ac_env_CPP_value=$CPP
772
ac_cv_env_CPP_set=${CPP+set}
773
ac_cv_env_CPP_value=$CPP
774
ac_env_CXX_set=${CXX+set}
775
ac_env_CXX_value=$CXX
776
ac_cv_env_CXX_set=${CXX+set}
777
ac_cv_env_CXX_value=$CXX
778
ac_env_CXXFLAGS_set=${CXXFLAGS+set}
779
ac_env_CXXFLAGS_value=$CXXFLAGS
780
ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
781
ac_cv_env_CXXFLAGS_value=$CXXFLAGS
782
ac_env_CXXCPP_set=${CXXCPP+set}
783
ac_env_CXXCPP_value=$CXXCPP
784
ac_cv_env_CXXCPP_set=${CXXCPP+set}
785
ac_cv_env_CXXCPP_value=$CXXCPP
788
# Report the --help message.
790
if test "$ac_init_help" = "long"; then
791
# Omit some internal or obsolete options to make the list less imposing.
792
# This message is too long to be a string in the A/UX 3.1 sh.
794
\`configure' configures this package to adapt to many kinds of systems.
796
Usage: $0 [OPTION]... [VAR=VALUE]...
798
To assign environment variables (e.g., CC, CFLAGS...), specify them as
799
VAR=VALUE. See below for descriptions of some of the useful variables.
801
Defaults for the options are specified in brackets.
804
-h, --help display this help and exit
805
--help=short display options specific to this package
806
--help=recursive display the short help of all the included packages
807
-V, --version display version information and exit
808
-q, --quiet, --silent do not print \`checking...' messages
809
--cache-file=FILE cache test results in FILE [disabled]
810
-C, --config-cache alias for \`--cache-file=config.cache'
811
-n, --no-create do not create output files
812
--srcdir=DIR find the sources in DIR [configure dir or \`..']
817
Installation directories:
818
--prefix=PREFIX install architecture-independent files in PREFIX
820
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
823
By default, \`make install' will install all the files in
824
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
825
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
826
for instance \`--prefix=\$HOME'.
828
For better control, use the options below.
830
Fine tuning of the installation directories:
831
--bindir=DIR user executables [EPREFIX/bin]
832
--sbindir=DIR system admin executables [EPREFIX/sbin]
833
--libexecdir=DIR program executables [EPREFIX/libexec]
834
--datadir=DIR read-only architecture-independent data [PREFIX/share]
835
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
836
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
837
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
838
--libdir=DIR object code libraries [EPREFIX/lib]
839
--includedir=DIR C header files [PREFIX/include]
840
--oldincludedir=DIR C header files for non-gcc [/usr/include]
841
--infodir=DIR info documentation [PREFIX/info]
842
--mandir=DIR man documentation [PREFIX/man]
848
--program-prefix=PREFIX prepend PREFIX to installed program names
849
--program-suffix=SUFFIX append SUFFIX to installed program names
850
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
853
--build=BUILD configure for building on BUILD [guessed]
854
--host=HOST cross-compile to build programs to run on HOST [BUILD]
855
--target=TARGET configure for building compilers for TARGET [HOST]
859
if test -n "$ac_init_help"; then
864
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
865
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
866
--disable-dependency-tracking Speeds up one-time builds
867
--enable-dependency-tracking Do not reject slow dependency extractors
868
--enable-debug=ARG enables debug symbols (yes|no|full) default=no
869
--disable-debug disables debug output and debug symbols default=no
870
--enable-strict compiles with strict compiler options (may not work!)
871
--enable-warnings compiles with -Wall and similiar
872
--enable-profile creates profiling infos default=no
873
--enable-pch enables precompiled header support (currently only KCC) default=no
874
--enable-final build size optimized apps (experimental - needs lots of memory)
875
--disable-closure don't delay template instantiation
876
--enable-shared=PKGS build shared libraries default=yes
877
--enable-static=PKGS build static libraries default=no
878
--enable-fast-install=PKGS optimize for fast installation default=yes
879
--disable-libtool-lock avoid locking (might break parallel builds)
880
--enable-objprelink prelink apps using objprelink (experimental only tested on linux/386)
881
--enable-embedded link to Qt-embedded, don't use X
882
--enable-qtopia link to Qt-embedded, link to the Qtopia Environment
883
--disable-mt link to non-threaded Qt (deprecated)
884
--enable-kernel-threads Enable the use of the LinuxThreads port on FreeBSD/i386 only.
885
--disable-threading disables threading even if libpthread found
888
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
889
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
890
--with-gnu-ld assume the C compiler uses GNU ld default=no
891
--with-pic try to use only PIC/non-PIC objects default=use both
892
--with-xinerama enable support for Xinerama
893
--with-extra-includes=DIR
894
adds non standard include paths
895
--with-extra-libs=DIR adds non standard library paths
896
--with-qt-dir=DIR where the root of Qt is installed
897
--with-qt-includes=DIR where the Qt includes are.
898
--with-qt-libraries=DIR where the Qt library is installed.
900
Some influential environment variables:
901
CC C compiler command
902
CFLAGS C compiler flags
903
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
904
nonstandard directory <lib dir>
905
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
906
headers in a nonstandard directory <include dir>
908
CXX C++ compiler command
909
CXXFLAGS C++ compiler flags
910
CXXCPP C++ preprocessor
912
Use these variables to override the choices made by `configure' or to help
913
it to find libraries and programs with nonstandard names/locations.
918
if test "$ac_init_help" = "recursive"; then
919
# If there are subdirs, report their specific --help.
921
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
922
test -d $ac_dir || continue
925
if test "$ac_dir" != .; then
926
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
927
# A "../" for each directory in $ac_dir_suffix.
928
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
930
ac_dir_suffix= ac_top_builddir=
934
.) # No --srcdir option. We are building in place.
936
if test -z "$ac_top_builddir"; then
939
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
941
[\\/]* | ?:[\\/]* ) # Absolute path.
942
ac_srcdir=$srcdir$ac_dir_suffix;
943
ac_top_srcdir=$srcdir ;;
945
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
946
ac_top_srcdir=$ac_top_builddir$srcdir ;;
949
# Do not use `cd foo && pwd` to compute absolute paths, because
950
# the directories may not exist.
952
.) ac_abs_builddir="$ac_dir";;
955
.) ac_abs_builddir=`pwd`;;
956
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
957
*) ac_abs_builddir=`pwd`/"$ac_dir";;
960
case $ac_abs_builddir in
961
.) ac_abs_top_builddir=${ac_top_builddir}.;;
963
case ${ac_top_builddir}. in
964
.) ac_abs_top_builddir=$ac_abs_builddir;;
965
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
966
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
969
case $ac_abs_builddir in
970
.) ac_abs_srcdir=$ac_srcdir;;
973
.) ac_abs_srcdir=$ac_abs_builddir;;
974
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
975
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
978
case $ac_abs_builddir in
979
.) ac_abs_top_srcdir=$ac_top_srcdir;;
981
case $ac_top_srcdir in
982
.) ac_abs_top_srcdir=$ac_abs_builddir;;
983
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
984
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
989
# Check for guested configure; otherwise get Cygnus style configure.
990
if test -f $ac_srcdir/configure.gnu; then
992
$SHELL $ac_srcdir/configure.gnu --help=recursive
993
elif test -f $ac_srcdir/configure; then
995
$SHELL $ac_srcdir/configure --help=recursive
996
elif test -f $ac_srcdir/configure.ac ||
997
test -f $ac_srcdir/configure.in; then
1001
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1007
test -n "$ac_init_help" && exit 0
1008
if $ac_init_version; then
1011
Copyright (C) 2003 Free Software Foundation, Inc.
1012
This configure script is free software; the Free Software Foundation
1013
gives unlimited permission to copy, distribute and modify it.
1019
This file contains any messages produced by compilers while
1020
running configure, to aid debugging if configure makes a mistake.
1022
It was created by $as_me, which was
1023
generated by GNU Autoconf 2.59. Invocation command line was
1034
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1035
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1036
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1037
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1038
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1040
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1041
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1043
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1044
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1045
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1046
hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1047
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1048
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1049
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1053
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1057
test -z "$as_dir" && as_dir=.
1058
echo "PATH: $as_dir"
1073
# Keep a trace of the command line.
1074
# Strip out --no-create and --no-recursion so they do not pile up.
1075
# Strip out --silent because we don't want to record it for future runs.
1076
# Also quote any args containing shell meta-characters.
1077
# Make two passes to allow for proper duplicate-argument suppression.
1082
ac_must_keep_next=false
1088
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1089
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1090
| -silent | --silent | --silen | --sile | --sil)
1092
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1093
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1096
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1098
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1099
if test $ac_must_keep_next = true; then
1100
ac_must_keep_next=false # Got value, back to normal.
1103
*=* | --config-cache | -C | -disable-* | --disable-* \
1104
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1105
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1106
| -with-* | --with-* | -without-* | --without-* | --x)
1107
case "$ac_configure_args0 " in
1108
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1111
-* ) ac_must_keep_next=true ;;
1114
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1115
# Get rid of the leading space.
1121
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1122
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1124
# When interrupted or exit'd, cleanup temporary files, and complete
1125
# config.log. We remove comments because anyway the quotes in there
1126
# would cause problems or look ugly.
1127
# WARNING: Be sure not to use single quotes in there, as some shells,
1128
# such as our DU 5.0 friend, will then `close' the trap.
1129
trap 'exit_status=$?
1130
# Save into config.log some information that might help in debugging.
1135
## ---------------- ##
1136
## Cache variables. ##
1137
## ---------------- ##
1140
# The following way of writing the cache mishandles newlines in values,
1143
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1146
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1147
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1151
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1158
## ----------------- ##
1159
## Output variables. ##
1160
## ----------------- ##
1163
for ac_var in $ac_subst_vars
1165
eval ac_val=$`echo $ac_var`
1166
echo "$ac_var='"'"'$ac_val'"'"'"
1170
if test -n "$ac_subst_files"; then
1177
for ac_var in $ac_subst_files
1179
eval ac_val=$`echo $ac_var`
1180
echo "$ac_var='"'"'$ac_val'"'"'"
1185
if test -s confdefs.h; then
1192
sed "/^$/d" confdefs.h | sort
1195
test "$ac_signal" != 0 &&
1196
echo "$as_me: caught signal $ac_signal"
1197
echo "$as_me: exit $exit_status"
1199
rm -f core *.core &&
1200
rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1203
for ac_signal in 1 2 13 15; do
1204
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1208
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1209
rm -rf conftest* confdefs.h
1210
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1213
# Predefined preprocessor variables.
1215
cat >>confdefs.h <<_ACEOF
1216
#define PACKAGE_NAME "$PACKAGE_NAME"
1220
cat >>confdefs.h <<_ACEOF
1221
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1225
cat >>confdefs.h <<_ACEOF
1226
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1230
cat >>confdefs.h <<_ACEOF
1231
#define PACKAGE_STRING "$PACKAGE_STRING"
1235
cat >>confdefs.h <<_ACEOF
1236
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1240
# Let the site file select an alternate cache file if it wants to.
1241
# Prefer explicitly selected file to automatically selected ones.
1242
if test -z "$CONFIG_SITE"; then
1243
if test "x$prefix" != xNONE; then
1244
CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1246
CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1249
for ac_site_file in $CONFIG_SITE; do
1250
if test -r "$ac_site_file"; then
1251
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1252
echo "$as_me: loading site script $ac_site_file" >&6;}
1253
sed 's/^/| /' "$ac_site_file" >&5
1258
if test -r "$cache_file"; then
1259
# Some versions of bash will fail to source /dev/null (special
1260
# files actually), so we avoid doing that.
1261
if test -f "$cache_file"; then
1262
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
1263
echo "$as_me: loading cache $cache_file" >&6;}
1265
[\\/]* | ?:[\\/]* ) . $cache_file;;
1266
*) . ./$cache_file;;
1270
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
1271
echo "$as_me: creating cache $cache_file" >&6;}
1275
# Check that the precious variables saved in the cache have kept the same
1277
ac_cache_corrupted=false
1278
for ac_var in `(set) 2>&1 |
1279
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1280
eval ac_old_set=\$ac_cv_env_${ac_var}_set
1281
eval ac_new_set=\$ac_env_${ac_var}_set
1282
eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1283
eval ac_new_val="\$ac_env_${ac_var}_value"
1284
case $ac_old_set,$ac_new_set in
1286
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1287
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1288
ac_cache_corrupted=: ;;
1290
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1291
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1292
ac_cache_corrupted=: ;;
1295
if test "x$ac_old_val" != "x$ac_new_val"; then
1296
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1297
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1298
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1299
echo "$as_me: former value: $ac_old_val" >&2;}
1300
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1301
echo "$as_me: current value: $ac_new_val" >&2;}
1302
ac_cache_corrupted=:
1305
# Pass precious variables to config.status.
1306
if test "$ac_new_set" = set; then
1308
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1309
ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1310
*) ac_arg=$ac_var=$ac_new_val ;;
1312
case " $ac_configure_args " in
1313
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1314
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1318
if $ac_cache_corrupted; then
1319
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1320
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1321
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1322
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1323
{ (exit 1); exit 1; }; }
1327
ac_cpp='$CPP $CPPFLAGS'
1328
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1329
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1330
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1351
for ac_dir in admin $srcdir/admin; do
1352
if test -f $ac_dir/install-sh; then
1354
ac_install_sh="$ac_aux_dir/install-sh -c"
1356
elif test -f $ac_dir/install.sh; then
1358
ac_install_sh="$ac_aux_dir/install.sh -c"
1360
elif test -f $ac_dir/shtool; then
1362
ac_install_sh="$ac_aux_dir/shtool install -c"
1366
if test -z "$ac_aux_dir"; then
1367
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in admin $srcdir/admin" >&5
1368
echo "$as_me: error: cannot find install-sh or install.sh in admin $srcdir/admin" >&2;}
1369
{ (exit 1); exit 1; }; }
1371
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1372
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1373
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1376
CPPFLAGS="-DDATADIR='\"${datadir}\"' $CPPFLAGS"
1378
# Make sure we can run config.sub.
1379
$ac_config_sub sun4 >/dev/null 2>&1 ||
1380
{ { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1381
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1382
{ (exit 1); exit 1; }; }
1384
echo "$as_me:$LINENO: checking build system type" >&5
1385
echo $ECHO_N "checking build system type... $ECHO_C" >&6
1386
if test "${ac_cv_build+set}" = set; then
1387
echo $ECHO_N "(cached) $ECHO_C" >&6
1389
ac_cv_build_alias=$build_alias
1390
test -z "$ac_cv_build_alias" &&
1391
ac_cv_build_alias=`$ac_config_guess`
1392
test -z "$ac_cv_build_alias" &&
1393
{ { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1394
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1395
{ (exit 1); exit 1; }; }
1396
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1397
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1398
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1399
{ (exit 1); exit 1; }; }
1402
echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1403
echo "${ECHO_T}$ac_cv_build" >&6
1405
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1406
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1407
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1410
echo "$as_me:$LINENO: checking host system type" >&5
1411
echo $ECHO_N "checking host system type... $ECHO_C" >&6
1412
if test "${ac_cv_host+set}" = set; then
1413
echo $ECHO_N "(cached) $ECHO_C" >&6
1415
ac_cv_host_alias=$host_alias
1416
test -z "$ac_cv_host_alias" &&
1417
ac_cv_host_alias=$ac_cv_build_alias
1418
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1419
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1420
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1421
{ (exit 1); exit 1; }; }
1424
echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1425
echo "${ECHO_T}$ac_cv_host" >&6
1427
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1428
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1429
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1432
echo "$as_me:$LINENO: checking target system type" >&5
1433
echo $ECHO_N "checking target system type... $ECHO_C" >&6
1434
if test "${ac_cv_target+set}" = set; then
1435
echo $ECHO_N "(cached) $ECHO_C" >&6
1437
ac_cv_target_alias=$target_alias
1438
test "x$ac_cv_target_alias" = "x" &&
1439
ac_cv_target_alias=$ac_cv_host_alias
1440
ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1441
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1442
echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1443
{ (exit 1); exit 1; }; }
1446
echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1447
echo "${ECHO_T}$ac_cv_target" >&6
1448
target=$ac_cv_target
1449
target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1450
target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1451
target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1454
# The aliases save the names the user supplied, while $host etc.
1455
# will get canonicalized.
1456
test -n "$target_alias" &&
1457
test "$program_prefix$program_suffix$program_transform_name" = \
1459
program_prefix=${target_alias}-
1461
ac_cpp='$CPP $CPPFLAGS'
1462
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1463
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1464
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1465
if test -n "$ac_tool_prefix"; then
1466
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1467
set dummy ${ac_tool_prefix}gcc; ac_word=$2
1468
echo "$as_me:$LINENO: checking for $ac_word" >&5
1469
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1470
if test "${ac_cv_prog_CC+set}" = set; then
1471
echo $ECHO_N "(cached) $ECHO_C" >&6
1473
if test -n "$CC"; then
1474
ac_cv_prog_CC="$CC" # Let the user override the test.
1476
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1480
test -z "$as_dir" && as_dir=.
1481
for ac_exec_ext in '' $ac_executable_extensions; do
1482
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1483
ac_cv_prog_CC="${ac_tool_prefix}gcc"
1484
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1493
if test -n "$CC"; then
1494
echo "$as_me:$LINENO: result: $CC" >&5
1495
echo "${ECHO_T}$CC" >&6
1497
echo "$as_me:$LINENO: result: no" >&5
1498
echo "${ECHO_T}no" >&6
1502
if test -z "$ac_cv_prog_CC"; then
1504
# Extract the first word of "gcc", so it can be a program name with args.
1505
set dummy gcc; ac_word=$2
1506
echo "$as_me:$LINENO: checking for $ac_word" >&5
1507
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1508
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1509
echo $ECHO_N "(cached) $ECHO_C" >&6
1511
if test -n "$ac_ct_CC"; then
1512
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1514
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1518
test -z "$as_dir" && as_dir=.
1519
for ac_exec_ext in '' $ac_executable_extensions; do
1520
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1521
ac_cv_prog_ac_ct_CC="gcc"
1522
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1530
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1531
if test -n "$ac_ct_CC"; then
1532
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1533
echo "${ECHO_T}$ac_ct_CC" >&6
1535
echo "$as_me:$LINENO: result: no" >&5
1536
echo "${ECHO_T}no" >&6
1544
if test -z "$CC"; then
1545
if test -n "$ac_tool_prefix"; then
1546
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1547
set dummy ${ac_tool_prefix}cc; ac_word=$2
1548
echo "$as_me:$LINENO: checking for $ac_word" >&5
1549
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1550
if test "${ac_cv_prog_CC+set}" = set; then
1551
echo $ECHO_N "(cached) $ECHO_C" >&6
1553
if test -n "$CC"; then
1554
ac_cv_prog_CC="$CC" # Let the user override the test.
1556
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1560
test -z "$as_dir" && as_dir=.
1561
for ac_exec_ext in '' $ac_executable_extensions; do
1562
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1563
ac_cv_prog_CC="${ac_tool_prefix}cc"
1564
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1573
if test -n "$CC"; then
1574
echo "$as_me:$LINENO: result: $CC" >&5
1575
echo "${ECHO_T}$CC" >&6
1577
echo "$as_me:$LINENO: result: no" >&5
1578
echo "${ECHO_T}no" >&6
1582
if test -z "$ac_cv_prog_CC"; then
1584
# Extract the first word of "cc", so it can be a program name with args.
1585
set dummy cc; ac_word=$2
1586
echo "$as_me:$LINENO: checking for $ac_word" >&5
1587
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1588
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1589
echo $ECHO_N "(cached) $ECHO_C" >&6
1591
if test -n "$ac_ct_CC"; then
1592
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1594
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1598
test -z "$as_dir" && as_dir=.
1599
for ac_exec_ext in '' $ac_executable_extensions; do
1600
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1601
ac_cv_prog_ac_ct_CC="cc"
1602
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1610
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1611
if test -n "$ac_ct_CC"; then
1612
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1613
echo "${ECHO_T}$ac_ct_CC" >&6
1615
echo "$as_me:$LINENO: result: no" >&5
1616
echo "${ECHO_T}no" >&6
1625
if test -z "$CC"; then
1626
# Extract the first word of "cc", so it can be a program name with args.
1627
set dummy cc; ac_word=$2
1628
echo "$as_me:$LINENO: checking for $ac_word" >&5
1629
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1630
if test "${ac_cv_prog_CC+set}" = set; then
1631
echo $ECHO_N "(cached) $ECHO_C" >&6
1633
if test -n "$CC"; then
1634
ac_cv_prog_CC="$CC" # Let the user override the test.
1637
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1641
test -z "$as_dir" && as_dir=.
1642
for ac_exec_ext in '' $ac_executable_extensions; do
1643
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1644
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1645
ac_prog_rejected=yes
1649
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1655
if test $ac_prog_rejected = yes; then
1656
# We found a bogon in the path, so make sure we never use it.
1657
set dummy $ac_cv_prog_CC
1659
if test $# != 0; then
1660
# We chose a different compiler from the bogus one.
1661
# However, it has the same basename, so the bogon will be chosen
1662
# first if we set CC to just the basename; use the full file name.
1664
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1670
if test -n "$CC"; then
1671
echo "$as_me:$LINENO: result: $CC" >&5
1672
echo "${ECHO_T}$CC" >&6
1674
echo "$as_me:$LINENO: result: no" >&5
1675
echo "${ECHO_T}no" >&6
1679
if test -z "$CC"; then
1680
if test -n "$ac_tool_prefix"; then
1683
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1684
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1685
echo "$as_me:$LINENO: checking for $ac_word" >&5
1686
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1687
if test "${ac_cv_prog_CC+set}" = set; then
1688
echo $ECHO_N "(cached) $ECHO_C" >&6
1690
if test -n "$CC"; then
1691
ac_cv_prog_CC="$CC" # Let the user override the test.
1693
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1697
test -z "$as_dir" && as_dir=.
1698
for ac_exec_ext in '' $ac_executable_extensions; do
1699
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1700
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1701
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1710
if test -n "$CC"; then
1711
echo "$as_me:$LINENO: result: $CC" >&5
1712
echo "${ECHO_T}$CC" >&6
1714
echo "$as_me:$LINENO: result: no" >&5
1715
echo "${ECHO_T}no" >&6
1718
test -n "$CC" && break
1721
if test -z "$CC"; then
1725
# Extract the first word of "$ac_prog", so it can be a program name with args.
1726
set dummy $ac_prog; ac_word=$2
1727
echo "$as_me:$LINENO: checking for $ac_word" >&5
1728
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1729
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1730
echo $ECHO_N "(cached) $ECHO_C" >&6
1732
if test -n "$ac_ct_CC"; then
1733
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1735
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1739
test -z "$as_dir" && as_dir=.
1740
for ac_exec_ext in '' $ac_executable_extensions; do
1741
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1742
ac_cv_prog_ac_ct_CC="$ac_prog"
1743
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1751
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1752
if test -n "$ac_ct_CC"; then
1753
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1754
echo "${ECHO_T}$ac_ct_CC" >&6
1756
echo "$as_me:$LINENO: result: no" >&5
1757
echo "${ECHO_T}no" >&6
1760
test -n "$ac_ct_CC" && break
1769
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1770
See \`config.log' for more details." >&5
1771
echo "$as_me: error: no acceptable C compiler found in \$PATH
1772
See \`config.log' for more details." >&2;}
1773
{ (exit 1); exit 1; }; }
1775
# Provide some information about the compiler.
1776
echo "$as_me:$LINENO:" \
1777
"checking for C compiler version" >&5
1778
ac_compiler=`set X $ac_compile; echo $2`
1779
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1780
(eval $ac_compiler --version </dev/null >&5) 2>&5
1782
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1783
(exit $ac_status); }
1784
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1785
(eval $ac_compiler -v </dev/null >&5) 2>&5
1787
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1788
(exit $ac_status); }
1789
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1790
(eval $ac_compiler -V </dev/null >&5) 2>&5
1792
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1793
(exit $ac_status); }
1795
cat >conftest.$ac_ext <<_ACEOF
1798
cat confdefs.h >>conftest.$ac_ext
1799
cat >>conftest.$ac_ext <<_ACEOF
1800
/* end confdefs.h. */
1810
ac_clean_files_save=$ac_clean_files
1811
ac_clean_files="$ac_clean_files a.out a.exe b.out"
1812
# Try to create an executable without -o first, disregard a.out.
1813
# It will help us diagnose broken compilers, and finding out an intuition
1815
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1816
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1817
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1818
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1819
(eval $ac_link_default) 2>&5
1821
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1822
(exit $ac_status); }; then
1823
# Find the output, starting from the most likely. This scheme is
1824
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
1827
# Be careful to initialize this variable, since it used to be cached.
1828
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1830
# b.out is created by i960 compilers.
1831
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1833
test -f "$ac_file" || continue
1835
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1838
# This is the source file.
1841
# We found the default executable, but exeext='' is most
1845
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1846
# FIXME: I believe we export ac_cv_exeext for Libtool,
1847
# but it would be cool to find out if it's true. Does anybody
1848
# maintain Libtool? --akim.
1856
echo "$as_me: failed program was:" >&5
1857
sed 's/^/| /' conftest.$ac_ext >&5
1859
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
1860
See \`config.log' for more details." >&5
1861
echo "$as_me: error: C compiler cannot create executables
1862
See \`config.log' for more details." >&2;}
1863
{ (exit 77); exit 77; }; }
1866
ac_exeext=$ac_cv_exeext
1867
echo "$as_me:$LINENO: result: $ac_file" >&5
1868
echo "${ECHO_T}$ac_file" >&6
1870
# Check the compiler produces executables we can run. If not, either
1871
# the compiler is broken, or we cross compile.
1872
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1873
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1874
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1875
# If not cross compiling, check that we can run a simple program.
1876
if test "$cross_compiling" != yes; then
1877
if { ac_try='./$ac_file'
1878
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1881
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1882
(exit $ac_status); }; }; then
1885
if test "$cross_compiling" = maybe; then
1888
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1889
If you meant to cross compile, use \`--host'.
1890
See \`config.log' for more details." >&5
1891
echo "$as_me: error: cannot run C compiled programs.
1892
If you meant to cross compile, use \`--host'.
1893
See \`config.log' for more details." >&2;}
1894
{ (exit 1); exit 1; }; }
1898
echo "$as_me:$LINENO: result: yes" >&5
1899
echo "${ECHO_T}yes" >&6
1901
rm -f a.out a.exe conftest$ac_cv_exeext b.out
1902
ac_clean_files=$ac_clean_files_save
1903
# Check the compiler produces executables we can run. If not, either
1904
# the compiler is broken, or we cross compile.
1905
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1906
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1907
echo "$as_me:$LINENO: result: $cross_compiling" >&5
1908
echo "${ECHO_T}$cross_compiling" >&6
1910
echo "$as_me:$LINENO: checking for suffix of executables" >&5
1911
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1912
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1913
(eval $ac_link) 2>&5
1915
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1916
(exit $ac_status); }; then
1917
# If both `conftest.exe' and `conftest' are `present' (well, observable)
1918
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1919
# work properly (i.e., refer to `conftest.exe'), while it won't with
1921
for ac_file in conftest.exe conftest conftest.*; do
1922
test -f "$ac_file" || continue
1924
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1925
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1932
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1933
See \`config.log' for more details." >&5
1934
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1935
See \`config.log' for more details." >&2;}
1936
{ (exit 1); exit 1; }; }
1939
rm -f conftest$ac_cv_exeext
1940
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1941
echo "${ECHO_T}$ac_cv_exeext" >&6
1943
rm -f conftest.$ac_ext
1944
EXEEXT=$ac_cv_exeext
1946
echo "$as_me:$LINENO: checking for suffix of object files" >&5
1947
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1948
if test "${ac_cv_objext+set}" = set; then
1949
echo $ECHO_N "(cached) $ECHO_C" >&6
1951
cat >conftest.$ac_ext <<_ACEOF
1954
cat confdefs.h >>conftest.$ac_ext
1955
cat >>conftest.$ac_ext <<_ACEOF
1956
/* end confdefs.h. */
1966
rm -f conftest.o conftest.obj
1967
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1968
(eval $ac_compile) 2>&5
1970
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1971
(exit $ac_status); }; then
1972
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1974
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1975
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1980
echo "$as_me: failed program was:" >&5
1981
sed 's/^/| /' conftest.$ac_ext >&5
1983
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1984
See \`config.log' for more details." >&5
1985
echo "$as_me: error: cannot compute suffix of object files: cannot compile
1986
See \`config.log' for more details." >&2;}
1987
{ (exit 1); exit 1; }; }
1990
rm -f conftest.$ac_cv_objext conftest.$ac_ext
1992
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1993
echo "${ECHO_T}$ac_cv_objext" >&6
1994
OBJEXT=$ac_cv_objext
1996
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1997
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1998
if test "${ac_cv_c_compiler_gnu+set}" = set; then
1999
echo $ECHO_N "(cached) $ECHO_C" >&6
2001
cat >conftest.$ac_ext <<_ACEOF
2004
cat confdefs.h >>conftest.$ac_ext
2005
cat >>conftest.$ac_ext <<_ACEOF
2006
/* end confdefs.h. */
2019
rm -f conftest.$ac_objext
2020
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2021
(eval $ac_compile) 2>conftest.er1
2023
grep -v '^ *+' conftest.er1 >conftest.err
2025
cat conftest.err >&5
2026
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2027
(exit $ac_status); } &&
2028
{ ac_try='test -z "$ac_c_werror_flag"
2029
|| test ! -s conftest.err'
2030
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2033
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2034
(exit $ac_status); }; } &&
2035
{ ac_try='test -s conftest.$ac_objext'
2036
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2039
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2040
(exit $ac_status); }; }; then
2043
echo "$as_me: failed program was:" >&5
2044
sed 's/^/| /' conftest.$ac_ext >&5
2048
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2049
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2052
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2053
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2054
GCC=`test $ac_compiler_gnu = yes && echo yes`
2055
ac_test_CFLAGS=${CFLAGS+set}
2056
ac_save_CFLAGS=$CFLAGS
2058
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2059
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2060
if test "${ac_cv_prog_cc_g+set}" = set; then
2061
echo $ECHO_N "(cached) $ECHO_C" >&6
2063
cat >conftest.$ac_ext <<_ACEOF
2066
cat confdefs.h >>conftest.$ac_ext
2067
cat >>conftest.$ac_ext <<_ACEOF
2068
/* end confdefs.h. */
2078
rm -f conftest.$ac_objext
2079
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2080
(eval $ac_compile) 2>conftest.er1
2082
grep -v '^ *+' conftest.er1 >conftest.err
2084
cat conftest.err >&5
2085
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2086
(exit $ac_status); } &&
2087
{ ac_try='test -z "$ac_c_werror_flag"
2088
|| test ! -s conftest.err'
2089
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2092
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2093
(exit $ac_status); }; } &&
2094
{ ac_try='test -s conftest.$ac_objext'
2095
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2098
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2099
(exit $ac_status); }; }; then
2102
echo "$as_me: failed program was:" >&5
2103
sed 's/^/| /' conftest.$ac_ext >&5
2107
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2109
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2110
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2111
if test "$ac_test_CFLAGS" = set; then
2112
CFLAGS=$ac_save_CFLAGS
2113
elif test $ac_cv_prog_cc_g = yes; then
2114
if test "$GCC" = yes; then
2120
if test "$GCC" = yes; then
2126
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2127
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2128
if test "${ac_cv_prog_cc_stdc+set}" = set; then
2129
echo $ECHO_N "(cached) $ECHO_C" >&6
2131
ac_cv_prog_cc_stdc=no
2133
cat >conftest.$ac_ext <<_ACEOF
2136
cat confdefs.h >>conftest.$ac_ext
2137
cat >>conftest.$ac_ext <<_ACEOF
2138
/* end confdefs.h. */
2141
#include <sys/types.h>
2142
#include <sys/stat.h>
2143
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2144
struct buf { int x; };
2145
FILE * (*rcsopen) (struct buf *, struct stat *, int);
2146
static char *e (p, i)
2152
static char *f (char * (*g) (char **, int), char **p, ...)
2157
s = g (p, va_arg (v,int));
2162
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2163
function prototypes and stuff, but not '\xHH' hex character constants.
2164
These don't provoke an error unfortunately, instead are silently treated
2165
as 'x'. The following induces an error, until -std1 is added to get
2166
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2167
array size at least. It's necessary to write '\x00'==0 to get something
2168
that's true only with -std1. */
2169
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2171
int test (int i, double x);
2172
struct s1 {int (*f) (int a);};
2173
struct s2 {int (*f) (double a);};
2174
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2180
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2185
# Don't try gcc -ansi; that turns off useful extensions and
2186
# breaks some systems' header files.
2187
# AIX -qlanglvl=ansi
2188
# Ultrix and OSF/1 -std1
2189
# HP-UX 10.20 and later -Ae
2190
# HP-UX older versions -Aa -D_HPUX_SOURCE
2191
# SVR4 -Xc -D__EXTENSIONS__
2192
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2194
CC="$ac_save_CC $ac_arg"
2195
rm -f conftest.$ac_objext
2196
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2197
(eval $ac_compile) 2>conftest.er1
2199
grep -v '^ *+' conftest.er1 >conftest.err
2201
cat conftest.err >&5
2202
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2203
(exit $ac_status); } &&
2204
{ ac_try='test -z "$ac_c_werror_flag"
2205
|| test ! -s conftest.err'
2206
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2209
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2210
(exit $ac_status); }; } &&
2211
{ ac_try='test -s conftest.$ac_objext'
2212
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2215
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2216
(exit $ac_status); }; }; then
2217
ac_cv_prog_cc_stdc=$ac_arg
2220
echo "$as_me: failed program was:" >&5
2221
sed 's/^/| /' conftest.$ac_ext >&5
2224
rm -f conftest.err conftest.$ac_objext
2226
rm -f conftest.$ac_ext conftest.$ac_objext
2231
case "x$ac_cv_prog_cc_stdc" in
2233
echo "$as_me:$LINENO: result: none needed" >&5
2234
echo "${ECHO_T}none needed" >&6 ;;
2236
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2237
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2238
CC="$CC $ac_cv_prog_cc_stdc" ;;
2241
# Some people use a C++ compiler to compile C. Since we use `exit',
2242
# in C++ we need to declare it. In case someone uses the same compiler
2243
# for both compiling C and C++ we need to have the C++ compiler decide
2244
# the declaration of exit, since it's the most demanding environment.
2245
cat >conftest.$ac_ext <<_ACEOF
2250
rm -f conftest.$ac_objext
2251
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2252
(eval $ac_compile) 2>conftest.er1
2254
grep -v '^ *+' conftest.er1 >conftest.err
2256
cat conftest.err >&5
2257
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2258
(exit $ac_status); } &&
2259
{ ac_try='test -z "$ac_c_werror_flag"
2260
|| test ! -s conftest.err'
2261
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2264
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2265
(exit $ac_status); }; } &&
2266
{ ac_try='test -s conftest.$ac_objext'
2267
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2270
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2271
(exit $ac_status); }; }; then
2272
for ac_declaration in \
2274
'extern "C" void std::exit (int) throw (); using std::exit;' \
2275
'extern "C" void std::exit (int); using std::exit;' \
2276
'extern "C" void exit (int) throw ();' \
2277
'extern "C" void exit (int);' \
2280
cat >conftest.$ac_ext <<_ACEOF
2283
cat confdefs.h >>conftest.$ac_ext
2284
cat >>conftest.$ac_ext <<_ACEOF
2285
/* end confdefs.h. */
2296
rm -f conftest.$ac_objext
2297
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2298
(eval $ac_compile) 2>conftest.er1
2300
grep -v '^ *+' conftest.er1 >conftest.err
2302
cat conftest.err >&5
2303
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2304
(exit $ac_status); } &&
2305
{ ac_try='test -z "$ac_c_werror_flag"
2306
|| test ! -s conftest.err'
2307
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2310
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2311
(exit $ac_status); }; } &&
2312
{ ac_try='test -s conftest.$ac_objext'
2313
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2316
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2317
(exit $ac_status); }; }; then
2320
echo "$as_me: failed program was:" >&5
2321
sed 's/^/| /' conftest.$ac_ext >&5
2325
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2326
cat >conftest.$ac_ext <<_ACEOF
2329
cat confdefs.h >>conftest.$ac_ext
2330
cat >>conftest.$ac_ext <<_ACEOF
2331
/* end confdefs.h. */
2341
rm -f conftest.$ac_objext
2342
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2343
(eval $ac_compile) 2>conftest.er1
2345
grep -v '^ *+' conftest.er1 >conftest.err
2347
cat conftest.err >&5
2348
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2349
(exit $ac_status); } &&
2350
{ ac_try='test -z "$ac_c_werror_flag"
2351
|| test ! -s conftest.err'
2352
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2355
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2356
(exit $ac_status); }; } &&
2357
{ ac_try='test -s conftest.$ac_objext'
2358
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2361
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2362
(exit $ac_status); }; }; then
2365
echo "$as_me: failed program was:" >&5
2366
sed 's/^/| /' conftest.$ac_ext >&5
2369
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2372
if test -n "$ac_declaration"; then
2373
echo '#ifdef __cplusplus' >>confdefs.h
2374
echo $ac_declaration >>confdefs.h
2375
echo '#endif' >>confdefs.h
2379
echo "$as_me: failed program was:" >&5
2380
sed 's/^/| /' conftest.$ac_ext >&5
2383
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2385
ac_cpp='$CPP $CPPFLAGS'
2386
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2387
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2388
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2391
echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
2392
echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
2393
if test "${ac_cv_c_bigendian+set}" = set; then
2394
echo $ECHO_N "(cached) $ECHO_C" >&6
2396
# See if sys/param.h defines the BYTE_ORDER macro.
2397
cat >conftest.$ac_ext <<_ACEOF
2400
cat confdefs.h >>conftest.$ac_ext
2401
cat >>conftest.$ac_ext <<_ACEOF
2402
/* end confdefs.h. */
2403
#include <sys/types.h>
2404
#include <sys/param.h>
2409
#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
2417
rm -f conftest.$ac_objext
2418
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2419
(eval $ac_compile) 2>conftest.er1
2421
grep -v '^ *+' conftest.er1 >conftest.err
2423
cat conftest.err >&5
2424
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2425
(exit $ac_status); } &&
2426
{ ac_try='test -z "$ac_c_werror_flag"
2427
|| test ! -s conftest.err'
2428
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2431
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2432
(exit $ac_status); }; } &&
2433
{ ac_try='test -s conftest.$ac_objext'
2434
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2437
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2438
(exit $ac_status); }; }; then
2439
# It does; now see whether it defined to BIG_ENDIAN or not.
2440
cat >conftest.$ac_ext <<_ACEOF
2443
cat confdefs.h >>conftest.$ac_ext
2444
cat >>conftest.$ac_ext <<_ACEOF
2445
/* end confdefs.h. */
2446
#include <sys/types.h>
2447
#include <sys/param.h>
2452
#if BYTE_ORDER != BIG_ENDIAN
2460
rm -f conftest.$ac_objext
2461
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2462
(eval $ac_compile) 2>conftest.er1
2464
grep -v '^ *+' conftest.er1 >conftest.err
2466
cat conftest.err >&5
2467
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2468
(exit $ac_status); } &&
2469
{ ac_try='test -z "$ac_c_werror_flag"
2470
|| test ! -s conftest.err'
2471
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2474
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2475
(exit $ac_status); }; } &&
2476
{ ac_try='test -s conftest.$ac_objext'
2477
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2480
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2481
(exit $ac_status); }; }; then
2482
ac_cv_c_bigendian=yes
2484
echo "$as_me: failed program was:" >&5
2485
sed 's/^/| /' conftest.$ac_ext >&5
2487
ac_cv_c_bigendian=no
2489
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2491
echo "$as_me: failed program was:" >&5
2492
sed 's/^/| /' conftest.$ac_ext >&5
2494
# It does not; compile a test program.
2495
if test "$cross_compiling" = yes; then
2496
# try to guess the endianness by grepping values into an object file
2497
ac_cv_c_bigendian=unknown
2498
cat >conftest.$ac_ext <<_ACEOF
2501
cat confdefs.h >>conftest.$ac_ext
2502
cat >>conftest.$ac_ext <<_ACEOF
2503
/* end confdefs.h. */
2504
short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
2505
short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
2506
void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
2507
short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
2508
short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
2509
void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
2513
_ascii (); _ebcdic ();
2518
rm -f conftest.$ac_objext
2519
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2520
(eval $ac_compile) 2>conftest.er1
2522
grep -v '^ *+' conftest.er1 >conftest.err
2524
cat conftest.err >&5
2525
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2526
(exit $ac_status); } &&
2527
{ ac_try='test -z "$ac_c_werror_flag"
2528
|| test ! -s conftest.err'
2529
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2532
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2533
(exit $ac_status); }; } &&
2534
{ ac_try='test -s conftest.$ac_objext'
2535
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2538
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2539
(exit $ac_status); }; }; then
2540
if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
2541
ac_cv_c_bigendian=yes
2543
if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
2544
if test "$ac_cv_c_bigendian" = unknown; then
2545
ac_cv_c_bigendian=no
2547
# finding both strings is unlikely to happen, but who knows?
2548
ac_cv_c_bigendian=unknown
2552
echo "$as_me: failed program was:" >&5
2553
sed 's/^/| /' conftest.$ac_ext >&5
2556
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2558
cat >conftest.$ac_ext <<_ACEOF
2561
cat confdefs.h >>conftest.$ac_ext
2562
cat >>conftest.$ac_ext <<_ACEOF
2563
/* end confdefs.h. */
2567
/* Are we little or big endian? From Harbison&Steele. */
2571
char c[sizeof (long)];
2574
exit (u.c[sizeof (long) - 1] == 1);
2577
rm -f conftest$ac_exeext
2578
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2579
(eval $ac_link) 2>&5
2581
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2582
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
2583
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2586
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2587
(exit $ac_status); }; }; then
2588
ac_cv_c_bigendian=no
2590
echo "$as_me: program exited with status $ac_status" >&5
2591
echo "$as_me: failed program was:" >&5
2592
sed 's/^/| /' conftest.$ac_ext >&5
2595
ac_cv_c_bigendian=yes
2597
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2600
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2602
echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
2603
echo "${ECHO_T}$ac_cv_c_bigendian" >&6
2604
case $ac_cv_c_bigendian in
2607
cat >>confdefs.h <<\_ACEOF
2608
#define WORDS_BIGENDIAN 1
2614
{ { echo "$as_me:$LINENO: error: unknown endianness
2615
presetting ac_cv_c_bigendian=no (or yes) will help" >&5
2616
echo "$as_me: error: unknown endianness
2617
presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
2618
{ (exit 1); exit 1; }; } ;;
2622
am__api_version="1.6"
2625
test -n "$INSTALL" && kde_save_INSTALL_given=$INSTALL
2626
test -n "$INSTALL_PROGRAM" && kde_save_INSTALL_PROGRAM_given=$INSTALL_PROGRAM
2627
test -n "$INSTALL_SCRIPT" && kde_save_INSTALL_SCRIPT_given=$INSTALL_SCRIPT
2628
# Find a good install program. We prefer a C program (faster),
2629
# so one script is as good as another. But avoid the broken or
2630
# incompatible versions:
2631
# SysV /etc/install, /usr/sbin/install
2632
# SunOS /usr/etc/install
2633
# IRIX /sbin/install
2635
# AmigaOS /C/install, which installs bootblocks on floppy discs
2636
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2637
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2638
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2639
# OS/2's system install, which has a completely different semantic
2640
# ./install, which can be erroneously created by make from ./install.sh.
2641
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2642
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2643
if test -z "$INSTALL"; then
2644
if test "${ac_cv_path_install+set}" = set; then
2645
echo $ECHO_N "(cached) $ECHO_C" >&6
2647
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2651
test -z "$as_dir" && as_dir=.
2652
# Account for people who put trailing slashes in PATH elements.
2654
./ | .// | /cC/* | \
2655
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2656
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2659
# OSF1 and SCO ODT 3.0 have their own names for install.
2660
# Don't use installbsd from OSF since it installs stuff as root
2662
for ac_prog in ginstall scoinst install; do
2663
for ac_exec_ext in '' $ac_executable_extensions; do
2664
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2665
if test $ac_prog = install &&
2666
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2667
# AIX install. It has an incompatible calling convention.
2669
elif test $ac_prog = install &&
2670
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2671
# program-specific install script used by HP pwplus--don't use.
2674
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2686
if test "${ac_cv_path_install+set}" = set; then
2687
INSTALL=$ac_cv_path_install
2689
# As a last resort, use the slow shell script. We don't cache a
2690
# path for INSTALL within a source directory, because that will
2691
# break other packages using the cache if that directory is
2692
# removed, or if the path is relative.
2693
INSTALL=$ac_install_sh
2696
echo "$as_me:$LINENO: result: $INSTALL" >&5
2697
echo "${ECHO_T}$INSTALL" >&6
2699
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2700
# It thinks the first close brace ends the variable substitution.
2701
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2703
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2705
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2708
if test -z "$kde_save_INSTALL_given" ; then
2709
# OK, user hasn't given any INSTALL, autoconf found one for us
2710
# now we test, if it supports the -p flag
2711
echo "$as_me:$LINENO: checking for -p flag to install" >&5
2712
echo $ECHO_N "checking for -p flag to install... $ECHO_C" >&6
2713
rm -f confinst.$$.* > /dev/null 2>&1
2714
echo "Testtest" > confinst.$$.orig
2716
if ${INSTALL} -p confinst.$$.orig confinst.$$.new > /dev/null 2>&1 ; then
2717
if test -f confinst.$$.new ; then
2718
# OK, -p seems to do no harm to install
2719
INSTALL="${INSTALL} -p"
2724
echo "$as_me:$LINENO: result: $ac_res" >&5
2725
echo "${ECHO_T}$ac_res" >&6
2728
if test -z "$kde_save_INSTALL_PROGRAM_given" ; then
2729
INSTALL_PROGRAM='${INSTALL} $(INSTALL_STRIP_FLAG)'
2731
if test -z "$kde_save_INSTALL_SCRIPT_given" ; then
2732
INSTALL_SCRIPT='${INSTALL}'
2735
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2736
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
2739
echo timestamp > conftest.file
2740
# Do `set' in a subshell so we don't clobber the current shell's
2741
# arguments. Must try -L first in case configure is actually a
2742
# symlink; some systems play weird games with the mod time of symlinks
2743
# (eg FreeBSD returns the mod time of the symlink's containing
2746
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2747
if test "$*" = "X"; then
2749
set X `ls -t $srcdir/configure conftest.file`
2752
if test "$*" != "X $srcdir/configure conftest.file" \
2753
&& test "$*" != "X conftest.file $srcdir/configure"; then
2755
# If neither matched, then we have a broken ls. This can happen
2756
# if, for instance, CONFIG_SHELL is bash and it inherits a
2757
# broken ls alias from the environment. This has actually
2758
# happened. Such a system could not be considered "sane".
2759
{ { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2760
alias in your environment" >&5
2761
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2762
alias in your environment" >&2;}
2763
{ (exit 1); exit 1; }; }
2766
test "$2" = conftest.file
2772
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2773
Check your system clock" >&5
2774
echo "$as_me: error: newly created file is older than distributed files!
2775
Check your system clock" >&2;}
2776
{ (exit 1); exit 1; }; }
2778
echo "$as_me:$LINENO: result: yes" >&5
2779
echo "${ECHO_T}yes" >&6
2780
test "$program_prefix" != NONE &&
2781
program_transform_name="s,^,$program_prefix,;$program_transform_name"
2782
# Use a double $ so make ignores it.
2783
test "$program_suffix" != NONE &&
2784
program_transform_name="s,\$,$program_suffix,;$program_transform_name"
2785
# Double any \ or $. echo might interpret backslashes.
2786
# By default was `s,x,x', remove it if useless.
2787
cat <<\_ACEOF >conftest.sed
2788
s/[\\$]/&&/g;s/;s,x,x,$//
2790
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2794
# expand $ac_aux_dir to an absolute path
2795
am_aux_dir=`cd $ac_aux_dir && pwd`
2797
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2798
# Use eval to expand $SHELL
2799
if eval "$MISSING --run true"; then
2800
am_missing_run="$MISSING --run "
2803
{ echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2804
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2807
for ac_prog in gawk mawk nawk awk
2809
# Extract the first word of "$ac_prog", so it can be a program name with args.
2810
set dummy $ac_prog; ac_word=$2
2811
echo "$as_me:$LINENO: checking for $ac_word" >&5
2812
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2813
if test "${ac_cv_prog_AWK+set}" = set; then
2814
echo $ECHO_N "(cached) $ECHO_C" >&6
2816
if test -n "$AWK"; then
2817
ac_cv_prog_AWK="$AWK" # Let the user override the test.
2819
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2823
test -z "$as_dir" && as_dir=.
2824
for ac_exec_ext in '' $ac_executable_extensions; do
2825
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2826
ac_cv_prog_AWK="$ac_prog"
2827
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2836
if test -n "$AWK"; then
2837
echo "$as_me:$LINENO: result: $AWK" >&5
2838
echo "${ECHO_T}$AWK" >&6
2840
echo "$as_me:$LINENO: result: no" >&5
2841
echo "${ECHO_T}no" >&6
2844
test -n "$AWK" && break
2847
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2848
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2849
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
2850
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2851
echo $ECHO_N "(cached) $ECHO_C" >&6
2853
cat >conftest.make <<\_ACEOF
2855
@echo 'ac_maketemp="$(MAKE)"'
2857
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2858
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2859
if test -n "$ac_maketemp"; then
2860
eval ac_cv_prog_make_${ac_make}_set=yes
2862
eval ac_cv_prog_make_${ac_make}_set=no
2866
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2867
echo "$as_me:$LINENO: result: yes" >&5
2868
echo "${ECHO_T}yes" >&6
2871
echo "$as_me:$LINENO: result: no" >&5
2872
echo "${ECHO_T}no" >&6
2873
SET_MAKE="MAKE=${MAKE-make}"
2876
rm -f .deps 2>/dev/null
2877
mkdir .deps 2>/dev/null
2878
if test -d .deps; then
2881
# MS-DOS does not allow filenames that begin with a dot.
2884
rmdir .deps 2>/dev/null
2887
ac_config_commands="$ac_config_commands depfiles"
2890
am_make=${MAKE-make}
2891
cat > confinc << 'END'
2895
# If we don't find an include directive, just comment out the code.
2896
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2897
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2901
# First try GNU make style include.
2902
echo "include confinc" > confmf
2903
# We grep out `Entering directory' and `Leaving directory'
2904
# messages which can occur if `w' ends up in MAKEFLAGS.
2905
# In particular we don't look at `^make:' because GNU make might
2906
# be invoked under some other name (usually "gmake"), in which
2907
# case it prints its new name instead of `make'.
2908
if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
2913
# Now try BSD make style include.
2914
if test "$am__include" = "#"; then
2915
echo '.include "confinc"' > confmf
2916
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2917
am__include=.include
2924
echo "$as_me:$LINENO: result: $_am_result" >&5
2925
echo "${ECHO_T}$_am_result" >&6
2926
rm -f confinc confmf
2928
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2929
if test "${enable_dependency_tracking+set}" = set; then
2930
enableval="$enable_dependency_tracking"
2933
if test "x$enable_dependency_tracking" != xno; then
2934
am_depcomp="$ac_aux_dir/depcomp"
2939
if test "x$enable_dependency_tracking" != xno; then
2949
# test to see if srcdir already configured
2950
if test "`cd $srcdir && pwd`" != "`pwd`" &&
2951
test -f $srcdir/config.status; then
2952
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2953
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2954
{ (exit 1); exit 1; }; }
2957
# Define the identity of the package.
2962
cat >>confdefs.h <<_ACEOF
2963
#define PACKAGE "$PACKAGE"
2967
cat >>confdefs.h <<_ACEOF
2968
#define VERSION "$VERSION"
2971
# Some tools Automake needs.
2973
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2976
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2979
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2982
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2985
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2988
AMTAR=${AMTAR-"${am_missing_run}tar"}
2990
install_sh=${install_sh-"$am_aux_dir/install-sh"}
2992
# Installed binaries are usually stripped using `strip' when the user
2993
# run `make install-strip'. However `strip' might not be the right
2994
# tool to use in cross-compilation environments, therefore Automake
2995
# will honor the `STRIP' environment variable to overrule this program.
2996
if test "$cross_compiling" != no; then
2997
if test -n "$ac_tool_prefix"; then
2998
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2999
set dummy ${ac_tool_prefix}strip; ac_word=$2
3000
echo "$as_me:$LINENO: checking for $ac_word" >&5
3001
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3002
if test "${ac_cv_prog_STRIP+set}" = set; then
3003
echo $ECHO_N "(cached) $ECHO_C" >&6
3005
if test -n "$STRIP"; then
3006
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3008
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3012
test -z "$as_dir" && as_dir=.
3013
for ac_exec_ext in '' $ac_executable_extensions; do
3014
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3015
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3016
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3024
STRIP=$ac_cv_prog_STRIP
3025
if test -n "$STRIP"; then
3026
echo "$as_me:$LINENO: result: $STRIP" >&5
3027
echo "${ECHO_T}$STRIP" >&6
3029
echo "$as_me:$LINENO: result: no" >&5
3030
echo "${ECHO_T}no" >&6
3034
if test -z "$ac_cv_prog_STRIP"; then
3036
# Extract the first word of "strip", so it can be a program name with args.
3037
set dummy strip; ac_word=$2
3038
echo "$as_me:$LINENO: checking for $ac_word" >&5
3039
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3040
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3041
echo $ECHO_N "(cached) $ECHO_C" >&6
3043
if test -n "$ac_ct_STRIP"; then
3044
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3046
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3050
test -z "$as_dir" && as_dir=.
3051
for ac_exec_ext in '' $ac_executable_extensions; do
3052
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3053
ac_cv_prog_ac_ct_STRIP="strip"
3054
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3060
test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
3063
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3064
if test -n "$ac_ct_STRIP"; then
3065
echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3066
echo "${ECHO_T}$ac_ct_STRIP" >&6
3068
echo "$as_me:$LINENO: result: no" >&5
3069
echo "${ECHO_T}no" >&6
3074
STRIP="$ac_cv_prog_STRIP"
3078
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
3080
# We need awk for the "check" target. The system "awk" is bad on
3084
depcc="$CC" am_compiler_list=
3086
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3087
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3088
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3089
echo $ECHO_N "(cached) $ECHO_C" >&6
3091
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3092
# We make a subdir and do the tests there. Otherwise we can end up
3093
# making bogus files that we don't know about and never remove. For
3094
# instance it was reported that on HP-UX the gcc test will end up
3095
# making a dummy file named `D' -- because `-MD' means `put the output
3098
# Copy depcomp to subdir because otherwise we won't find it if we're
3099
# using a relative directory.
3100
cp "$am_depcomp" conftest.dir
3103
am_cv_CC_dependencies_compiler_type=none
3104
if test "$am_compiler_list" = ""; then
3105
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3107
for depmode in $am_compiler_list; do
3108
# We need to recreate these files for each test, as the compiler may
3109
# overwrite some of them when testing with obscure command lines.
3110
# This happens at least with the AIX C compiler.
3111
echo '#include "conftest.h"' > conftest.c
3112
echo 'int i;' > conftest.h
3113
echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
3117
# after this tag, mechanisms are not by side-effect, so they'll
3118
# only be used when explicitly requested
3119
if test "x$enable_dependency_tracking" = xyes; then
3127
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3128
# mode. It turns out that the SunPro C++ compiler does not properly
3129
# handle `-M -o', and we need to detect this.
3130
if depmode=$depmode \
3131
source=conftest.c object=conftest.o \
3132
depfile=conftest.Po tmpdepfile=conftest.TPo \
3133
$SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
3134
grep conftest.h conftest.Po > /dev/null 2>&1 &&
3135
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3136
am_cv_CC_dependencies_compiler_type=$depmode
3144
am_cv_CC_dependencies_compiler_type=none
3148
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3149
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3150
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3157
if test "x$prefix" = "xNONE"; then
3158
prefix=$ac_default_prefix
3159
ac_configure_args="$ac_configure_args --prefix $prefix"
3162
# Add the stamp file to the list of files AC keeps track of,
3163
# along with our hook.
3164
ac_config_headers="$ac_config_headers config.h"
3170
# Check whether --enable-debug or --disable-debug was given.
3171
if test "${enable_debug+set}" = set; then
3172
enableval="$enable_debug"
3176
kde_use_debug_code="yes"
3177
kde_use_debug_define=no
3180
kde_use_debug_code="full"
3181
kde_use_debug_define=no
3184
kde_use_debug_code="no"
3185
kde_use_debug_define=yes
3190
kde_use_debug_code="no"
3191
kde_use_debug_define=no
3195
# Check whether --enable-dummyoption or --disable-dummyoption was given.
3196
if test "${enable_dummyoption+set}" = set; then
3197
enableval="$enable_dummyoption"
3201
# Check whether --enable-strict or --disable-strict was given.
3202
if test "${enable_strict+set}" = set; then
3203
enableval="$enable_strict"
3205
if test $enableval = "no"; then
3206
kde_use_strict_options="no"
3208
kde_use_strict_options="yes"
3212
kde_use_strict_options="no"
3215
# Check whether --enable-warnings or --disable-warnings was given.
3216
if test "${enable_warnings+set}" = set; then
3217
enableval="$enable_warnings"
3219
if test $enableval = "no"; then
3220
kde_use_warnings="no"
3222
kde_use_warnings="yes"
3226
kde_use_warnings="no"
3229
if test "$kde_use_debug_code" != "no"; then
3230
kde_use_warnings=yes
3233
# Check whether --enable-profile or --disable-profile was given.
3234
if test "${enable_profile+set}" = set; then
3235
enableval="$enable_profile"
3236
kde_use_profiling=$enableval
3238
kde_use_profiling="no"
3245
ac_cpp='$CPP $CPPFLAGS'
3246
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3247
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3248
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3249
if test -n "$ac_tool_prefix"; then
3250
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3251
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3252
echo "$as_me:$LINENO: checking for $ac_word" >&5
3253
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3254
if test "${ac_cv_prog_CC+set}" = set; then
3255
echo $ECHO_N "(cached) $ECHO_C" >&6
3257
if test -n "$CC"; then
3258
ac_cv_prog_CC="$CC" # Let the user override the test.
3260
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3264
test -z "$as_dir" && as_dir=.
3265
for ac_exec_ext in '' $ac_executable_extensions; do
3266
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3267
ac_cv_prog_CC="${ac_tool_prefix}gcc"
3268
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3277
if test -n "$CC"; then
3278
echo "$as_me:$LINENO: result: $CC" >&5
3279
echo "${ECHO_T}$CC" >&6
3281
echo "$as_me:$LINENO: result: no" >&5
3282
echo "${ECHO_T}no" >&6
3286
if test -z "$ac_cv_prog_CC"; then
3288
# Extract the first word of "gcc", so it can be a program name with args.
3289
set dummy gcc; ac_word=$2
3290
echo "$as_me:$LINENO: checking for $ac_word" >&5
3291
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3292
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3293
echo $ECHO_N "(cached) $ECHO_C" >&6
3295
if test -n "$ac_ct_CC"; then
3296
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3298
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3302
test -z "$as_dir" && as_dir=.
3303
for ac_exec_ext in '' $ac_executable_extensions; do
3304
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3305
ac_cv_prog_ac_ct_CC="gcc"
3306
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3314
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3315
if test -n "$ac_ct_CC"; then
3316
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3317
echo "${ECHO_T}$ac_ct_CC" >&6
3319
echo "$as_me:$LINENO: result: no" >&5
3320
echo "${ECHO_T}no" >&6
3328
if test -z "$CC"; then
3329
if test -n "$ac_tool_prefix"; then
3330
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3331
set dummy ${ac_tool_prefix}cc; ac_word=$2
3332
echo "$as_me:$LINENO: checking for $ac_word" >&5
3333
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3334
if test "${ac_cv_prog_CC+set}" = set; then
3335
echo $ECHO_N "(cached) $ECHO_C" >&6
3337
if test -n "$CC"; then
3338
ac_cv_prog_CC="$CC" # Let the user override the test.
3340
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3344
test -z "$as_dir" && as_dir=.
3345
for ac_exec_ext in '' $ac_executable_extensions; do
3346
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3347
ac_cv_prog_CC="${ac_tool_prefix}cc"
3348
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3357
if test -n "$CC"; then
3358
echo "$as_me:$LINENO: result: $CC" >&5
3359
echo "${ECHO_T}$CC" >&6
3361
echo "$as_me:$LINENO: result: no" >&5
3362
echo "${ECHO_T}no" >&6
3366
if test -z "$ac_cv_prog_CC"; then
3368
# Extract the first word of "cc", so it can be a program name with args.
3369
set dummy cc; ac_word=$2
3370
echo "$as_me:$LINENO: checking for $ac_word" >&5
3371
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3372
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3373
echo $ECHO_N "(cached) $ECHO_C" >&6
3375
if test -n "$ac_ct_CC"; then
3376
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3378
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3382
test -z "$as_dir" && as_dir=.
3383
for ac_exec_ext in '' $ac_executable_extensions; do
3384
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3385
ac_cv_prog_ac_ct_CC="cc"
3386
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3394
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3395
if test -n "$ac_ct_CC"; then
3396
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3397
echo "${ECHO_T}$ac_ct_CC" >&6
3399
echo "$as_me:$LINENO: result: no" >&5
3400
echo "${ECHO_T}no" >&6
3409
if test -z "$CC"; then
3410
# Extract the first word of "cc", so it can be a program name with args.
3411
set dummy cc; ac_word=$2
3412
echo "$as_me:$LINENO: checking for $ac_word" >&5
3413
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3414
if test "${ac_cv_prog_CC+set}" = set; then
3415
echo $ECHO_N "(cached) $ECHO_C" >&6
3417
if test -n "$CC"; then
3418
ac_cv_prog_CC="$CC" # Let the user override the test.
3421
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3425
test -z "$as_dir" && as_dir=.
3426
for ac_exec_ext in '' $ac_executable_extensions; do
3427
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3428
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3429
ac_prog_rejected=yes
3433
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3439
if test $ac_prog_rejected = yes; then
3440
# We found a bogon in the path, so make sure we never use it.
3441
set dummy $ac_cv_prog_CC
3443
if test $# != 0; then
3444
# We chose a different compiler from the bogus one.
3445
# However, it has the same basename, so the bogon will be chosen
3446
# first if we set CC to just the basename; use the full file name.
3448
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3454
if test -n "$CC"; then
3455
echo "$as_me:$LINENO: result: $CC" >&5
3456
echo "${ECHO_T}$CC" >&6
3458
echo "$as_me:$LINENO: result: no" >&5
3459
echo "${ECHO_T}no" >&6
3463
if test -z "$CC"; then
3464
if test -n "$ac_tool_prefix"; then
3467
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3468
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3469
echo "$as_me:$LINENO: checking for $ac_word" >&5
3470
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3471
if test "${ac_cv_prog_CC+set}" = set; then
3472
echo $ECHO_N "(cached) $ECHO_C" >&6
3474
if test -n "$CC"; then
3475
ac_cv_prog_CC="$CC" # Let the user override the test.
3477
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3481
test -z "$as_dir" && as_dir=.
3482
for ac_exec_ext in '' $ac_executable_extensions; do
3483
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3484
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3485
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3494
if test -n "$CC"; then
3495
echo "$as_me:$LINENO: result: $CC" >&5
3496
echo "${ECHO_T}$CC" >&6
3498
echo "$as_me:$LINENO: result: no" >&5
3499
echo "${ECHO_T}no" >&6
3502
test -n "$CC" && break
3505
if test -z "$CC"; then
3509
# Extract the first word of "$ac_prog", so it can be a program name with args.
3510
set dummy $ac_prog; ac_word=$2
3511
echo "$as_me:$LINENO: checking for $ac_word" >&5
3512
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3513
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3514
echo $ECHO_N "(cached) $ECHO_C" >&6
3516
if test -n "$ac_ct_CC"; then
3517
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3519
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3523
test -z "$as_dir" && as_dir=.
3524
for ac_exec_ext in '' $ac_executable_extensions; do
3525
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3526
ac_cv_prog_ac_ct_CC="$ac_prog"
3527
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3535
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3536
if test -n "$ac_ct_CC"; then
3537
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3538
echo "${ECHO_T}$ac_ct_CC" >&6
3540
echo "$as_me:$LINENO: result: no" >&5
3541
echo "${ECHO_T}no" >&6
3544
test -n "$ac_ct_CC" && break
3553
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3554
See \`config.log' for more details." >&5
3555
echo "$as_me: error: no acceptable C compiler found in \$PATH
3556
See \`config.log' for more details." >&2;}
3557
{ (exit 1); exit 1; }; }
3559
# Provide some information about the compiler.
3560
echo "$as_me:$LINENO:" \
3561
"checking for C compiler version" >&5
3562
ac_compiler=`set X $ac_compile; echo $2`
3563
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3564
(eval $ac_compiler --version </dev/null >&5) 2>&5
3566
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3567
(exit $ac_status); }
3568
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3569
(eval $ac_compiler -v </dev/null >&5) 2>&5
3571
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3572
(exit $ac_status); }
3573
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3574
(eval $ac_compiler -V </dev/null >&5) 2>&5
3576
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3577
(exit $ac_status); }
3579
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3580
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3581
if test "${ac_cv_c_compiler_gnu+set}" = set; then
3582
echo $ECHO_N "(cached) $ECHO_C" >&6
3584
cat >conftest.$ac_ext <<_ACEOF
3587
cat confdefs.h >>conftest.$ac_ext
3588
cat >>conftest.$ac_ext <<_ACEOF
3589
/* end confdefs.h. */
3602
rm -f conftest.$ac_objext
3603
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3604
(eval $ac_compile) 2>conftest.er1
3606
grep -v '^ *+' conftest.er1 >conftest.err
3608
cat conftest.err >&5
3609
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3610
(exit $ac_status); } &&
3611
{ ac_try='test -z "$ac_c_werror_flag"
3612
|| test ! -s conftest.err'
3613
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3616
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3617
(exit $ac_status); }; } &&
3618
{ ac_try='test -s conftest.$ac_objext'
3619
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3622
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3623
(exit $ac_status); }; }; then
3626
echo "$as_me: failed program was:" >&5
3627
sed 's/^/| /' conftest.$ac_ext >&5
3631
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3632
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3635
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3636
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3637
GCC=`test $ac_compiler_gnu = yes && echo yes`
3638
ac_test_CFLAGS=${CFLAGS+set}
3639
ac_save_CFLAGS=$CFLAGS
3641
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3642
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3643
if test "${ac_cv_prog_cc_g+set}" = set; then
3644
echo $ECHO_N "(cached) $ECHO_C" >&6
3646
cat >conftest.$ac_ext <<_ACEOF
3649
cat confdefs.h >>conftest.$ac_ext
3650
cat >>conftest.$ac_ext <<_ACEOF
3651
/* end confdefs.h. */
3661
rm -f conftest.$ac_objext
3662
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3663
(eval $ac_compile) 2>conftest.er1
3665
grep -v '^ *+' conftest.er1 >conftest.err
3667
cat conftest.err >&5
3668
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3669
(exit $ac_status); } &&
3670
{ ac_try='test -z "$ac_c_werror_flag"
3671
|| test ! -s conftest.err'
3672
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3675
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3676
(exit $ac_status); }; } &&
3677
{ ac_try='test -s conftest.$ac_objext'
3678
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3681
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3682
(exit $ac_status); }; }; then
3685
echo "$as_me: failed program was:" >&5
3686
sed 's/^/| /' conftest.$ac_ext >&5
3690
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3692
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3693
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3694
if test "$ac_test_CFLAGS" = set; then
3695
CFLAGS=$ac_save_CFLAGS
3696
elif test $ac_cv_prog_cc_g = yes; then
3697
if test "$GCC" = yes; then
3703
if test "$GCC" = yes; then
3709
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3710
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3711
if test "${ac_cv_prog_cc_stdc+set}" = set; then
3712
echo $ECHO_N "(cached) $ECHO_C" >&6
3714
ac_cv_prog_cc_stdc=no
3716
cat >conftest.$ac_ext <<_ACEOF
3719
cat confdefs.h >>conftest.$ac_ext
3720
cat >>conftest.$ac_ext <<_ACEOF
3721
/* end confdefs.h. */
3724
#include <sys/types.h>
3725
#include <sys/stat.h>
3726
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3727
struct buf { int x; };
3728
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3729
static char *e (p, i)
3735
static char *f (char * (*g) (char **, int), char **p, ...)
3740
s = g (p, va_arg (v,int));
3745
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3746
function prototypes and stuff, but not '\xHH' hex character constants.
3747
These don't provoke an error unfortunately, instead are silently treated
3748
as 'x'. The following induces an error, until -std1 is added to get
3749
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3750
array size at least. It's necessary to write '\x00'==0 to get something
3751
that's true only with -std1. */
3752
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3754
int test (int i, double x);
3755
struct s1 {int (*f) (int a);};
3756
struct s2 {int (*f) (double a);};
3757
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3763
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3768
# Don't try gcc -ansi; that turns off useful extensions and
3769
# breaks some systems' header files.
3770
# AIX -qlanglvl=ansi
3771
# Ultrix and OSF/1 -std1
3772
# HP-UX 10.20 and later -Ae
3773
# HP-UX older versions -Aa -D_HPUX_SOURCE
3774
# SVR4 -Xc -D__EXTENSIONS__
3775
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3777
CC="$ac_save_CC $ac_arg"
3778
rm -f conftest.$ac_objext
3779
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3780
(eval $ac_compile) 2>conftest.er1
3782
grep -v '^ *+' conftest.er1 >conftest.err
3784
cat conftest.err >&5
3785
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3786
(exit $ac_status); } &&
3787
{ ac_try='test -z "$ac_c_werror_flag"
3788
|| test ! -s conftest.err'
3789
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3792
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3793
(exit $ac_status); }; } &&
3794
{ ac_try='test -s conftest.$ac_objext'
3795
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3798
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3799
(exit $ac_status); }; }; then
3800
ac_cv_prog_cc_stdc=$ac_arg
3803
echo "$as_me: failed program was:" >&5
3804
sed 's/^/| /' conftest.$ac_ext >&5
3807
rm -f conftest.err conftest.$ac_objext
3809
rm -f conftest.$ac_ext conftest.$ac_objext
3814
case "x$ac_cv_prog_cc_stdc" in
3816
echo "$as_me:$LINENO: result: none needed" >&5
3817
echo "${ECHO_T}none needed" >&6 ;;
3819
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3820
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3821
CC="$CC $ac_cv_prog_cc_stdc" ;;
3824
# Some people use a C++ compiler to compile C. Since we use `exit',
3825
# in C++ we need to declare it. In case someone uses the same compiler
3826
# for both compiling C and C++ we need to have the C++ compiler decide
3827
# the declaration of exit, since it's the most demanding environment.
3828
cat >conftest.$ac_ext <<_ACEOF
3833
rm -f conftest.$ac_objext
3834
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3835
(eval $ac_compile) 2>conftest.er1
3837
grep -v '^ *+' conftest.er1 >conftest.err
3839
cat conftest.err >&5
3840
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3841
(exit $ac_status); } &&
3842
{ ac_try='test -z "$ac_c_werror_flag"
3843
|| test ! -s conftest.err'
3844
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3847
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3848
(exit $ac_status); }; } &&
3849
{ ac_try='test -s conftest.$ac_objext'
3850
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3853
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3854
(exit $ac_status); }; }; then
3855
for ac_declaration in \
3857
'extern "C" void std::exit (int) throw (); using std::exit;' \
3858
'extern "C" void std::exit (int); using std::exit;' \
3859
'extern "C" void exit (int) throw ();' \
3860
'extern "C" void exit (int);' \
3863
cat >conftest.$ac_ext <<_ACEOF
3866
cat confdefs.h >>conftest.$ac_ext
3867
cat >>conftest.$ac_ext <<_ACEOF
3868
/* end confdefs.h. */
3879
rm -f conftest.$ac_objext
3880
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3881
(eval $ac_compile) 2>conftest.er1
3883
grep -v '^ *+' conftest.er1 >conftest.err
3885
cat conftest.err >&5
3886
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3887
(exit $ac_status); } &&
3888
{ ac_try='test -z "$ac_c_werror_flag"
3889
|| test ! -s conftest.err'
3890
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3893
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3894
(exit $ac_status); }; } &&
3895
{ ac_try='test -s conftest.$ac_objext'
3896
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3899
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3900
(exit $ac_status); }; }; then
3903
echo "$as_me: failed program was:" >&5
3904
sed 's/^/| /' conftest.$ac_ext >&5
3908
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3909
cat >conftest.$ac_ext <<_ACEOF
3912
cat confdefs.h >>conftest.$ac_ext
3913
cat >>conftest.$ac_ext <<_ACEOF
3914
/* end confdefs.h. */
3924
rm -f conftest.$ac_objext
3925
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3926
(eval $ac_compile) 2>conftest.er1
3928
grep -v '^ *+' conftest.er1 >conftest.err
3930
cat conftest.err >&5
3931
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3932
(exit $ac_status); } &&
3933
{ ac_try='test -z "$ac_c_werror_flag"
3934
|| test ! -s conftest.err'
3935
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3938
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3939
(exit $ac_status); }; } &&
3940
{ ac_try='test -s conftest.$ac_objext'
3941
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3944
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3945
(exit $ac_status); }; }; then
3948
echo "$as_me: failed program was:" >&5
3949
sed 's/^/| /' conftest.$ac_ext >&5
3952
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3955
if test -n "$ac_declaration"; then
3956
echo '#ifdef __cplusplus' >>confdefs.h
3957
echo $ac_declaration >>confdefs.h
3958
echo '#endif' >>confdefs.h
3962
echo "$as_me: failed program was:" >&5
3963
sed 's/^/| /' conftest.$ac_ext >&5
3966
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3968
ac_cpp='$CPP $CPPFLAGS'
3969
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3970
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3971
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3975
ac_cpp='$CPP $CPPFLAGS'
3976
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3977
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3978
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3979
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3980
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3981
# On Suns, sometimes $CPP names a directory.
3982
if test -n "$CPP" && test -d "$CPP"; then
3985
if test -z "$CPP"; then
3986
if test "${ac_cv_prog_CPP+set}" = set; then
3987
echo $ECHO_N "(cached) $ECHO_C" >&6
3989
# Double quotes because CPP needs to be expanded
3990
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3993
for ac_c_preproc_warn_flag in '' yes
3995
# Use a header file that comes with gcc, so configuring glibc
3996
# with a fresh cross-compiler works.
3997
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3998
# <limits.h> exists even on freestanding compilers.
3999
# On the NeXT, cc -E runs the code through the compiler's parser,
4000
# not just through cpp. "Syntax error" is here to catch this case.
4001
cat >conftest.$ac_ext <<_ACEOF
4004
cat confdefs.h >>conftest.$ac_ext
4005
cat >>conftest.$ac_ext <<_ACEOF
4006
/* end confdefs.h. */
4008
# include <limits.h>
4010
# include <assert.h>
4014
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4015
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4017
grep -v '^ *+' conftest.er1 >conftest.err
4019
cat conftest.err >&5
4020
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4021
(exit $ac_status); } >/dev/null; then
4022
if test -s conftest.err; then
4023
ac_cpp_err=$ac_c_preproc_warn_flag
4024
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4031
if test -z "$ac_cpp_err"; then
4034
echo "$as_me: failed program was:" >&5
4035
sed 's/^/| /' conftest.$ac_ext >&5
4037
# Broken: fails on valid input.
4040
rm -f conftest.err conftest.$ac_ext
4042
# OK, works on sane cases. Now check whether non-existent headers
4043
# can be detected and how.
4044
cat >conftest.$ac_ext <<_ACEOF
4047
cat confdefs.h >>conftest.$ac_ext
4048
cat >>conftest.$ac_ext <<_ACEOF
4049
/* end confdefs.h. */
4050
#include <ac_nonexistent.h>
4052
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4053
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4055
grep -v '^ *+' conftest.er1 >conftest.err
4057
cat conftest.err >&5
4058
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4059
(exit $ac_status); } >/dev/null; then
4060
if test -s conftest.err; then
4061
ac_cpp_err=$ac_c_preproc_warn_flag
4062
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4069
if test -z "$ac_cpp_err"; then
4070
# Broken: success on invalid input.
4073
echo "$as_me: failed program was:" >&5
4074
sed 's/^/| /' conftest.$ac_ext >&5
4076
# Passes both tests.
4080
rm -f conftest.err conftest.$ac_ext
4083
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4084
rm -f conftest.err conftest.$ac_ext
4085
if $ac_preproc_ok; then
4097
echo "$as_me:$LINENO: result: $CPP" >&5
4098
echo "${ECHO_T}$CPP" >&6
4100
for ac_c_preproc_warn_flag in '' yes
4102
# Use a header file that comes with gcc, so configuring glibc
4103
# with a fresh cross-compiler works.
4104
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4105
# <limits.h> exists even on freestanding compilers.
4106
# On the NeXT, cc -E runs the code through the compiler's parser,
4107
# not just through cpp. "Syntax error" is here to catch this case.
4108
cat >conftest.$ac_ext <<_ACEOF
4111
cat confdefs.h >>conftest.$ac_ext
4112
cat >>conftest.$ac_ext <<_ACEOF
4113
/* end confdefs.h. */
4115
# include <limits.h>
4117
# include <assert.h>
4121
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4122
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4124
grep -v '^ *+' conftest.er1 >conftest.err
4126
cat conftest.err >&5
4127
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4128
(exit $ac_status); } >/dev/null; then
4129
if test -s conftest.err; then
4130
ac_cpp_err=$ac_c_preproc_warn_flag
4131
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4138
if test -z "$ac_cpp_err"; then
4141
echo "$as_me: failed program was:" >&5
4142
sed 's/^/| /' conftest.$ac_ext >&5
4144
# Broken: fails on valid input.
4147
rm -f conftest.err conftest.$ac_ext
4149
# OK, works on sane cases. Now check whether non-existent headers
4150
# can be detected and how.
4151
cat >conftest.$ac_ext <<_ACEOF
4154
cat confdefs.h >>conftest.$ac_ext
4155
cat >>conftest.$ac_ext <<_ACEOF
4156
/* end confdefs.h. */
4157
#include <ac_nonexistent.h>
4159
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4160
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4162
grep -v '^ *+' conftest.er1 >conftest.err
4164
cat conftest.err >&5
4165
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4166
(exit $ac_status); } >/dev/null; then
4167
if test -s conftest.err; then
4168
ac_cpp_err=$ac_c_preproc_warn_flag
4169
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4176
if test -z "$ac_cpp_err"; then
4177
# Broken: success on invalid input.
4180
echo "$as_me: failed program was:" >&5
4181
sed 's/^/| /' conftest.$ac_ext >&5
4183
# Passes both tests.
4187
rm -f conftest.err conftest.$ac_ext
4190
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4191
rm -f conftest.err conftest.$ac_ext
4192
if $ac_preproc_ok; then
4195
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4196
See \`config.log' for more details." >&5
4197
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4198
See \`config.log' for more details." >&2;}
4199
{ (exit 1); exit 1; }; }
4203
ac_cpp='$CPP $CPPFLAGS'
4204
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4205
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4206
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4209
if test "$GCC" = "yes"; then
4210
if test "$kde_use_debug_code" != "no"; then
4211
if test $kde_use_debug_code = "full"; then
4212
CFLAGS="-g3 $CFLAGS"
4214
CFLAGS="-g -O2 $CFLAGS"
4217
CFLAGS="-O2 $CFLAGS"
4221
if test "$kde_use_debug_define" = "yes"; then
4222
CFLAGS="-DNDEBUG $CFLAGS"
4227
*-*-sysv4.2uw*) CFLAGS="-D_UNIXWARE $CFLAGS";;
4228
*-*-sysv5uw7*) CFLAGS="-D_UNIXWARE7 $CFLAGS";;
4231
if test -z "$LDFLAGS" && test "$kde_use_debug_code" = "no" && test "$GCC" = "yes"; then
4235
CXXFLAGS=" $CXXFLAGS"
4238
ac_cpp='$CXXCPP $CPPFLAGS'
4239
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4240
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4241
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4242
if test -n "$ac_tool_prefix"; then
4243
for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
4245
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4246
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4247
echo "$as_me:$LINENO: checking for $ac_word" >&5
4248
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4249
if test "${ac_cv_prog_CXX+set}" = set; then
4250
echo $ECHO_N "(cached) $ECHO_C" >&6
4252
if test -n "$CXX"; then
4253
ac_cv_prog_CXX="$CXX" # Let the user override the test.
4255
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4259
test -z "$as_dir" && as_dir=.
4260
for ac_exec_ext in '' $ac_executable_extensions; do
4261
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4262
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4263
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4272
if test -n "$CXX"; then
4273
echo "$as_me:$LINENO: result: $CXX" >&5
4274
echo "${ECHO_T}$CXX" >&6
4276
echo "$as_me:$LINENO: result: no" >&5
4277
echo "${ECHO_T}no" >&6
4280
test -n "$CXX" && break
4283
if test -z "$CXX"; then
4285
for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
4287
# Extract the first word of "$ac_prog", so it can be a program name with args.
4288
set dummy $ac_prog; ac_word=$2
4289
echo "$as_me:$LINENO: checking for $ac_word" >&5
4290
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4291
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4292
echo $ECHO_N "(cached) $ECHO_C" >&6
4294
if test -n "$ac_ct_CXX"; then
4295
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4297
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4301
test -z "$as_dir" && as_dir=.
4302
for ac_exec_ext in '' $ac_executable_extensions; do
4303
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4304
ac_cv_prog_ac_ct_CXX="$ac_prog"
4305
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4313
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4314
if test -n "$ac_ct_CXX"; then
4315
echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4316
echo "${ECHO_T}$ac_ct_CXX" >&6
4318
echo "$as_me:$LINENO: result: no" >&5
4319
echo "${ECHO_T}no" >&6
4322
test -n "$ac_ct_CXX" && break
4324
test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
4330
# Provide some information about the compiler.
4331
echo "$as_me:$LINENO:" \
4332
"checking for C++ compiler version" >&5
4333
ac_compiler=`set X $ac_compile; echo $2`
4334
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4335
(eval $ac_compiler --version </dev/null >&5) 2>&5
4337
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4338
(exit $ac_status); }
4339
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4340
(eval $ac_compiler -v </dev/null >&5) 2>&5
4342
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4343
(exit $ac_status); }
4344
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4345
(eval $ac_compiler -V </dev/null >&5) 2>&5
4347
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4348
(exit $ac_status); }
4350
echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4351
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
4352
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4353
echo $ECHO_N "(cached) $ECHO_C" >&6
4355
cat >conftest.$ac_ext <<_ACEOF
4358
cat confdefs.h >>conftest.$ac_ext
4359
cat >>conftest.$ac_ext <<_ACEOF
4360
/* end confdefs.h. */
4373
rm -f conftest.$ac_objext
4374
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4375
(eval $ac_compile) 2>conftest.er1
4377
grep -v '^ *+' conftest.er1 >conftest.err
4379
cat conftest.err >&5
4380
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4381
(exit $ac_status); } &&
4382
{ ac_try='test -z "$ac_cxx_werror_flag"
4383
|| test ! -s conftest.err'
4384
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4387
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4388
(exit $ac_status); }; } &&
4389
{ ac_try='test -s conftest.$ac_objext'
4390
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4393
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4394
(exit $ac_status); }; }; then
4397
echo "$as_me: failed program was:" >&5
4398
sed 's/^/| /' conftest.$ac_ext >&5
4402
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4403
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4406
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4407
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
4408
GXX=`test $ac_compiler_gnu = yes && echo yes`
4409
ac_test_CXXFLAGS=${CXXFLAGS+set}
4410
ac_save_CXXFLAGS=$CXXFLAGS
4412
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4413
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
4414
if test "${ac_cv_prog_cxx_g+set}" = set; then
4415
echo $ECHO_N "(cached) $ECHO_C" >&6
4417
cat >conftest.$ac_ext <<_ACEOF
4420
cat confdefs.h >>conftest.$ac_ext
4421
cat >>conftest.$ac_ext <<_ACEOF
4422
/* end confdefs.h. */
4432
rm -f conftest.$ac_objext
4433
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4434
(eval $ac_compile) 2>conftest.er1
4436
grep -v '^ *+' conftest.er1 >conftest.err
4438
cat conftest.err >&5
4439
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4440
(exit $ac_status); } &&
4441
{ ac_try='test -z "$ac_cxx_werror_flag"
4442
|| test ! -s conftest.err'
4443
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4446
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4447
(exit $ac_status); }; } &&
4448
{ ac_try='test -s conftest.$ac_objext'
4449
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4452
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4453
(exit $ac_status); }; }; then
4454
ac_cv_prog_cxx_g=yes
4456
echo "$as_me: failed program was:" >&5
4457
sed 's/^/| /' conftest.$ac_ext >&5
4461
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4463
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4464
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
4465
if test "$ac_test_CXXFLAGS" = set; then
4466
CXXFLAGS=$ac_save_CXXFLAGS
4467
elif test $ac_cv_prog_cxx_g = yes; then
4468
if test "$GXX" = yes; then
4474
if test "$GXX" = yes; then
4480
for ac_declaration in \
4482
'extern "C" void std::exit (int) throw (); using std::exit;' \
4483
'extern "C" void std::exit (int); using std::exit;' \
4484
'extern "C" void exit (int) throw ();' \
4485
'extern "C" void exit (int);' \
4488
cat >conftest.$ac_ext <<_ACEOF
4491
cat confdefs.h >>conftest.$ac_ext
4492
cat >>conftest.$ac_ext <<_ACEOF
4493
/* end confdefs.h. */
4504
rm -f conftest.$ac_objext
4505
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4506
(eval $ac_compile) 2>conftest.er1
4508
grep -v '^ *+' conftest.er1 >conftest.err
4510
cat conftest.err >&5
4511
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4512
(exit $ac_status); } &&
4513
{ ac_try='test -z "$ac_cxx_werror_flag"
4514
|| test ! -s conftest.err'
4515
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4518
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4519
(exit $ac_status); }; } &&
4520
{ ac_try='test -s conftest.$ac_objext'
4521
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4524
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4525
(exit $ac_status); }; }; then
4528
echo "$as_me: failed program was:" >&5
4529
sed 's/^/| /' conftest.$ac_ext >&5
4533
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4534
cat >conftest.$ac_ext <<_ACEOF
4537
cat confdefs.h >>conftest.$ac_ext
4538
cat >>conftest.$ac_ext <<_ACEOF
4539
/* end confdefs.h. */
4549
rm -f conftest.$ac_objext
4550
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4551
(eval $ac_compile) 2>conftest.er1
4553
grep -v '^ *+' conftest.er1 >conftest.err
4555
cat conftest.err >&5
4556
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4557
(exit $ac_status); } &&
4558
{ ac_try='test -z "$ac_cxx_werror_flag"
4559
|| test ! -s conftest.err'
4560
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4563
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4564
(exit $ac_status); }; } &&
4565
{ ac_try='test -s conftest.$ac_objext'
4566
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4569
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4570
(exit $ac_status); }; }; then
4573
echo "$as_me: failed program was:" >&5
4574
sed 's/^/| /' conftest.$ac_ext >&5
4577
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4580
if test -n "$ac_declaration"; then
4581
echo '#ifdef __cplusplus' >>confdefs.h
4582
echo $ac_declaration >>confdefs.h
4583
echo '#endif' >>confdefs.h
4587
ac_cpp='$CPP $CPPFLAGS'
4588
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4589
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4590
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4592
depcc="$CXX" am_compiler_list=
4594
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4595
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
4596
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
4597
echo $ECHO_N "(cached) $ECHO_C" >&6
4599
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4600
# We make a subdir and do the tests there. Otherwise we can end up
4601
# making bogus files that we don't know about and never remove. For
4602
# instance it was reported that on HP-UX the gcc test will end up
4603
# making a dummy file named `D' -- because `-MD' means `put the output
4606
# Copy depcomp to subdir because otherwise we won't find it if we're
4607
# using a relative directory.
4608
cp "$am_depcomp" conftest.dir
4611
am_cv_CXX_dependencies_compiler_type=none
4612
if test "$am_compiler_list" = ""; then
4613
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4615
for depmode in $am_compiler_list; do
4616
# We need to recreate these files for each test, as the compiler may
4617
# overwrite some of them when testing with obscure command lines.
4618
# This happens at least with the AIX C compiler.
4619
echo '#include "conftest.h"' > conftest.c
4620
echo 'int i;' > conftest.h
4621
echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
4625
# after this tag, mechanisms are not by side-effect, so they'll
4626
# only be used when explicitly requested
4627
if test "x$enable_dependency_tracking" = xyes; then
4635
# We check with `-c' and `-o' for the sake of the "dashmstdout"
4636
# mode. It turns out that the SunPro C++ compiler does not properly
4637
# handle `-M -o', and we need to detect this.
4638
if depmode=$depmode \
4639
source=conftest.c object=conftest.o \
4640
depfile=conftest.Po tmpdepfile=conftest.TPo \
4641
$SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
4642
grep conftest.h conftest.Po > /dev/null 2>&1 &&
4643
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4644
am_cv_CXX_dependencies_compiler_type=$depmode
4652
am_cv_CXX_dependencies_compiler_type=none
4656
echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
4657
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
4658
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4662
if test "$GXX" = "yes" || test "$CXX" = "KCC"; then
4663
if test "$kde_use_debug_code" != "no"; then
4664
if test "$CXX" = "KCC"; then
4665
CXXFLAGS="+K0 -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings $CXXFLAGS"
4667
if test "$kde_use_debug_code" = "full"; then
4668
CXXFLAGS="-g3 $CXXFLAGS"
4670
CXXFLAGS="-g -O2 $CXXFLAGS"
4674
echo "$as_me:$LINENO: checking whether $CXX supports -fno-builtin" >&5
4675
echo $ECHO_N "checking whether $CXX supports -fno-builtin... $ECHO_C" >&6
4676
kde_cache=`echo fno-builtin | sed 'y% .=/+-%____p_%'`
4677
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
4678
echo $ECHO_N "(cached) $ECHO_C" >&6
4685
ac_cpp='$CXXCPP $CPPFLAGS'
4686
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4687
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4688
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4690
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4694
save_CXXFLAGS="$CXXFLAGS"
4695
CXXFLAGS="$CXXFLAGS -fno-builtin"
4696
cat >conftest.$ac_ext <<_ACEOF
4699
cat confdefs.h >>conftest.$ac_ext
4700
cat >>conftest.$ac_ext <<_ACEOF
4701
/* end confdefs.h. */
4711
rm -f conftest.$ac_objext conftest$ac_exeext
4712
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4713
(eval $ac_link) 2>conftest.er1
4715
grep -v '^ *+' conftest.er1 >conftest.err
4717
cat conftest.err >&5
4718
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4719
(exit $ac_status); } &&
4720
{ ac_try='test -z "$ac_cxx_werror_flag"
4721
|| test ! -s conftest.err'
4722
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4725
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4726
(exit $ac_status); }; } &&
4727
{ ac_try='test -s conftest$ac_exeext'
4728
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4731
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4732
(exit $ac_status); }; }; then
4733
eval "kde_cv_prog_cxx_$kde_cache=yes"
4735
echo "$as_me: failed program was:" >&5
4736
sed 's/^/| /' conftest.$ac_ext >&5
4739
rm -f conftest.err conftest.$ac_objext \
4740
conftest$ac_exeext conftest.$ac_ext
4741
CXXFLAGS="$save_CXXFLAGS"
4743
ac_cpp='$CPP $CPPFLAGS'
4744
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4745
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4746
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4751
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
4752
echo "$as_me:$LINENO: result: yes" >&5
4753
echo "${ECHO_T}yes" >&6
4755
CXXFLAGS="-fno-builtin $CXXFLAGS"
4757
echo "$as_me:$LINENO: result: no" >&5
4758
echo "${ECHO_T}no" >&6
4765
echo "$as_me:$LINENO: checking whether $CXX supports -Woverloaded-virtual" >&5
4766
echo $ECHO_N "checking whether $CXX supports -Woverloaded-virtual... $ECHO_C" >&6
4767
kde_cache=`echo Woverloaded-virtual | sed 'y% .=/+-%____p_%'`
4768
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
4769
echo $ECHO_N "(cached) $ECHO_C" >&6
4775
ac_cpp='$CXXCPP $CPPFLAGS'
4776
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4777
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4778
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4780
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4783
save_CXXFLAGS="$CXXFLAGS"
4784
CXXFLAGS="$CXXFLAGS -Woverloaded-virtual"
4785
cat >conftest.$ac_ext <<_ACEOF
4788
cat confdefs.h >>conftest.$ac_ext
4789
cat >>conftest.$ac_ext <<_ACEOF
4790
/* end confdefs.h. */
4800
rm -f conftest.$ac_objext conftest$ac_exeext
4801
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4802
(eval $ac_link) 2>conftest.er1
4804
grep -v '^ *+' conftest.er1 >conftest.err
4806
cat conftest.err >&5
4807
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4808
(exit $ac_status); } &&
4809
{ ac_try='test -z "$ac_cxx_werror_flag"
4810
|| test ! -s conftest.err'
4811
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4814
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4815
(exit $ac_status); }; } &&
4816
{ ac_try='test -s conftest$ac_exeext'
4817
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4820
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4821
(exit $ac_status); }; }; then
4822
eval "kde_cv_prog_cxx_$kde_cache=yes"
4824
echo "$as_me: failed program was:" >&5
4825
sed 's/^/| /' conftest.$ac_ext >&5
4828
rm -f conftest.err conftest.$ac_objext \
4829
conftest$ac_exeext conftest.$ac_ext
4830
CXXFLAGS="$save_CXXFLAGS"
4832
ac_cpp='$CPP $CPPFLAGS'
4833
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4834
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4835
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4840
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
4841
echo "$as_me:$LINENO: result: yes" >&5
4842
echo "${ECHO_T}yes" >&6
4844
WOVERLOADED_VIRTUAL="-Woverloaded-virtual"
4846
echo "$as_me:$LINENO: result: no" >&5
4847
echo "${ECHO_T}no" >&6
4849
WOVERLOADED_VRITUAL=""
4854
if test "$CXX" = "KCC"; then
4855
CXXFLAGS="+K3 $CXXFLAGS"
4857
CXXFLAGS="-O2 $CXXFLAGS"
4862
if test "$kde_use_debug_define" = "yes"; then
4863
CXXFLAGS="-DNDEBUG -DNO_DEBUG $CXXFLAGS"
4866
if test "$kde_use_profiling" = "yes"; then
4868
echo "$as_me:$LINENO: checking whether $CXX supports -pg" >&5
4869
echo $ECHO_N "checking whether $CXX supports -pg... $ECHO_C" >&6
4870
kde_cache=`echo pg | sed 'y% .=/+-%____p_%'`
4871
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
4872
echo $ECHO_N "(cached) $ECHO_C" >&6
4878
ac_cpp='$CXXCPP $CPPFLAGS'
4879
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4880
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4881
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4883
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4886
save_CXXFLAGS="$CXXFLAGS"
4887
CXXFLAGS="$CXXFLAGS -pg"
4888
cat >conftest.$ac_ext <<_ACEOF
4891
cat confdefs.h >>conftest.$ac_ext
4892
cat >>conftest.$ac_ext <<_ACEOF
4893
/* end confdefs.h. */
4903
rm -f conftest.$ac_objext conftest$ac_exeext
4904
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4905
(eval $ac_link) 2>conftest.er1
4907
grep -v '^ *+' conftest.er1 >conftest.err
4909
cat conftest.err >&5
4910
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4911
(exit $ac_status); } &&
4912
{ ac_try='test -z "$ac_cxx_werror_flag"
4913
|| test ! -s conftest.err'
4914
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4917
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4918
(exit $ac_status); }; } &&
4919
{ ac_try='test -s conftest$ac_exeext'
4920
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4923
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4924
(exit $ac_status); }; }; then
4925
eval "kde_cv_prog_cxx_$kde_cache=yes"
4927
echo "$as_me: failed program was:" >&5
4928
sed 's/^/| /' conftest.$ac_ext >&5
4931
rm -f conftest.err conftest.$ac_objext \
4932
conftest$ac_exeext conftest.$ac_ext
4933
CXXFLAGS="$save_CXXFLAGS"
4935
ac_cpp='$CPP $CPPFLAGS'
4936
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4937
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4938
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4943
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
4944
echo "$as_me:$LINENO: result: yes" >&5
4945
echo "${ECHO_T}yes" >&6
4948
CFLAGS="-pg $CFLAGS"
4949
CXXFLAGS="-pg $CXXFLAGS"
4952
echo "$as_me:$LINENO: result: no" >&5
4953
echo "${ECHO_T}no" >&6
4960
if test "$kde_use_warnings" = "yes"; then
4961
if test "$GCC" = "yes"; then
4964
CFLAGS="-ansi -W -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE $CFLAGS"
4965
CXXFLAGS="-ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion $CXXFLAGS"
4968
CXXFLAGS="-Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings $CXXFLAGS"
4970
echo "$as_me:$LINENO: checking whether $CXX supports -Wundef" >&5
4971
echo $ECHO_N "checking whether $CXX supports -Wundef... $ECHO_C" >&6
4972
kde_cache=`echo Wundef | sed 'y% .=/+-%____p_%'`
4973
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
4974
echo $ECHO_N "(cached) $ECHO_C" >&6
4980
ac_cpp='$CXXCPP $CPPFLAGS'
4981
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4982
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4983
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4985
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4988
save_CXXFLAGS="$CXXFLAGS"
4989
CXXFLAGS="$CXXFLAGS -Wundef"
4990
cat >conftest.$ac_ext <<_ACEOF
4993
cat confdefs.h >>conftest.$ac_ext
4994
cat >>conftest.$ac_ext <<_ACEOF
4995
/* end confdefs.h. */
5005
rm -f conftest.$ac_objext conftest$ac_exeext
5006
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5007
(eval $ac_link) 2>conftest.er1
5009
grep -v '^ *+' conftest.er1 >conftest.err
5011
cat conftest.err >&5
5012
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5013
(exit $ac_status); } &&
5014
{ ac_try='test -z "$ac_cxx_werror_flag"
5015
|| test ! -s conftest.err'
5016
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5019
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5020
(exit $ac_status); }; } &&
5021
{ ac_try='test -s conftest$ac_exeext'
5022
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5025
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5026
(exit $ac_status); }; }; then
5027
eval "kde_cv_prog_cxx_$kde_cache=yes"
5029
echo "$as_me: failed program was:" >&5
5030
sed 's/^/| /' conftest.$ac_ext >&5
5033
rm -f conftest.err conftest.$ac_objext \
5034
conftest$ac_exeext conftest.$ac_ext
5035
CXXFLAGS="$save_CXXFLAGS"
5037
ac_cpp='$CPP $CPPFLAGS'
5038
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5039
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5040
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5045
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5046
echo "$as_me:$LINENO: result: yes" >&5
5047
echo "${ECHO_T}yes" >&6
5049
CXXFLAGS="-Wundef $CXXFLAGS"
5051
echo "$as_me:$LINENO: result: no" >&5
5052
echo "${ECHO_T}no" >&6
5058
echo "$as_me:$LINENO: checking whether $CXX supports -Wbad-function-cast" >&5
5059
echo $ECHO_N "checking whether $CXX supports -Wbad-function-cast... $ECHO_C" >&6
5060
kde_cache=`echo Wbad-function-cast | sed 'y% .=/+-%____p_%'`
5061
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
5062
echo $ECHO_N "(cached) $ECHO_C" >&6
5068
ac_cpp='$CXXCPP $CPPFLAGS'
5069
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5070
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5071
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5073
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5076
save_CXXFLAGS="$CXXFLAGS"
5077
CXXFLAGS="$CXXFLAGS -Wbad-function-cast"
5078
cat >conftest.$ac_ext <<_ACEOF
5081
cat confdefs.h >>conftest.$ac_ext
5082
cat >>conftest.$ac_ext <<_ACEOF
5083
/* end confdefs.h. */
5093
rm -f conftest.$ac_objext conftest$ac_exeext
5094
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5095
(eval $ac_link) 2>conftest.er1
5097
grep -v '^ *+' conftest.er1 >conftest.err
5099
cat conftest.err >&5
5100
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5101
(exit $ac_status); } &&
5102
{ ac_try='test -z "$ac_cxx_werror_flag"
5103
|| test ! -s conftest.err'
5104
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5107
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5108
(exit $ac_status); }; } &&
5109
{ ac_try='test -s conftest$ac_exeext'
5110
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5113
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5114
(exit $ac_status); }; }; then
5115
eval "kde_cv_prog_cxx_$kde_cache=yes"
5117
echo "$as_me: failed program was:" >&5
5118
sed 's/^/| /' conftest.$ac_ext >&5
5121
rm -f conftest.err conftest.$ac_objext \
5122
conftest$ac_exeext conftest.$ac_ext
5123
CXXFLAGS="$save_CXXFLAGS"
5125
ac_cpp='$CPP $CPPFLAGS'
5126
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5127
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5128
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5133
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5134
echo "$as_me:$LINENO: result: yes" >&5
5135
echo "${ECHO_T}yes" >&6
5137
CXXFLAGS="-Wbad-function-cast $CXXFLAGS"
5139
echo "$as_me:$LINENO: result: no" >&5
5140
echo "${ECHO_T}no" >&6
5146
echo "$as_me:$LINENO: checking whether $CXX supports -Wno-long-long" >&5
5147
echo $ECHO_N "checking whether $CXX supports -Wno-long-long... $ECHO_C" >&6
5148
kde_cache=`echo Wno-long-long | sed 'y% .=/+-%____p_%'`
5149
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
5150
echo $ECHO_N "(cached) $ECHO_C" >&6
5156
ac_cpp='$CXXCPP $CPPFLAGS'
5157
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5158
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5159
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5161
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5164
save_CXXFLAGS="$CXXFLAGS"
5165
CXXFLAGS="$CXXFLAGS -Wno-long-long"
5166
cat >conftest.$ac_ext <<_ACEOF
5169
cat confdefs.h >>conftest.$ac_ext
5170
cat >>conftest.$ac_ext <<_ACEOF
5171
/* end confdefs.h. */
5181
rm -f conftest.$ac_objext conftest$ac_exeext
5182
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5183
(eval $ac_link) 2>conftest.er1
5185
grep -v '^ *+' conftest.er1 >conftest.err
5187
cat conftest.err >&5
5188
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5189
(exit $ac_status); } &&
5190
{ ac_try='test -z "$ac_cxx_werror_flag"
5191
|| test ! -s conftest.err'
5192
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5195
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5196
(exit $ac_status); }; } &&
5197
{ ac_try='test -s conftest$ac_exeext'
5198
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5201
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5202
(exit $ac_status); }; }; then
5203
eval "kde_cv_prog_cxx_$kde_cache=yes"
5205
echo "$as_me: failed program was:" >&5
5206
sed 's/^/| /' conftest.$ac_ext >&5
5209
rm -f conftest.err conftest.$ac_objext \
5210
conftest$ac_exeext conftest.$ac_ext
5211
CXXFLAGS="$save_CXXFLAGS"
5213
ac_cpp='$CPP $CPPFLAGS'
5214
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5215
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5216
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5221
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5222
echo "$as_me:$LINENO: result: yes" >&5
5223
echo "${ECHO_T}yes" >&6
5225
CXXFLAGS="-Wno-long-long $CXXFLAGS"
5227
echo "$as_me:$LINENO: result: no" >&5
5228
echo "${ECHO_T}no" >&6
5234
echo "$as_me:$LINENO: checking whether $CXX supports -Wnon-virtual-dtor" >&5
5235
echo $ECHO_N "checking whether $CXX supports -Wnon-virtual-dtor... $ECHO_C" >&6
5236
kde_cache=`echo Wnon-virtual-dtor | sed 'y% .=/+-%____p_%'`
5237
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
5238
echo $ECHO_N "(cached) $ECHO_C" >&6
5244
ac_cpp='$CXXCPP $CPPFLAGS'
5245
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5246
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5247
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5249
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5252
save_CXXFLAGS="$CXXFLAGS"
5253
CXXFLAGS="$CXXFLAGS -Wnon-virtual-dtor"
5254
cat >conftest.$ac_ext <<_ACEOF
5257
cat confdefs.h >>conftest.$ac_ext
5258
cat >>conftest.$ac_ext <<_ACEOF
5259
/* end confdefs.h. */
5269
rm -f conftest.$ac_objext conftest$ac_exeext
5270
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5271
(eval $ac_link) 2>conftest.er1
5273
grep -v '^ *+' conftest.er1 >conftest.err
5275
cat conftest.err >&5
5276
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5277
(exit $ac_status); } &&
5278
{ ac_try='test -z "$ac_cxx_werror_flag"
5279
|| test ! -s conftest.err'
5280
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5283
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5284
(exit $ac_status); }; } &&
5285
{ ac_try='test -s conftest$ac_exeext'
5286
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5289
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5290
(exit $ac_status); }; }; then
5291
eval "kde_cv_prog_cxx_$kde_cache=yes"
5293
echo "$as_me: failed program was:" >&5
5294
sed 's/^/| /' conftest.$ac_ext >&5
5297
rm -f conftest.err conftest.$ac_objext \
5298
conftest$ac_exeext conftest.$ac_ext
5299
CXXFLAGS="$save_CXXFLAGS"
5301
ac_cpp='$CPP $CPPFLAGS'
5302
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5303
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5304
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5309
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5310
echo "$as_me:$LINENO: result: yes" >&5
5311
echo "${ECHO_T}yes" >&6
5313
CXXFLAGS="-Wnon-virtual-dtor $CXXFLAGS"
5315
echo "$as_me:$LINENO: result: no" >&5
5316
echo "${ECHO_T}no" >&6
5324
if test "$GCC" = "yes" && test "$kde_use_strict_options" = "yes"; then
5325
CXXFLAGS="-Wcast-qual -Wshadow -Wcast-align $CXXFLAGS"
5328
if test "$GXX" = "yes"; then
5330
echo "$as_me:$LINENO: checking whether $CXX supports -fno-exceptions" >&5
5331
echo $ECHO_N "checking whether $CXX supports -fno-exceptions... $ECHO_C" >&6
5332
kde_cache=`echo fno-exceptions | sed 'y% .=/+-%____p_%'`
5333
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
5334
echo $ECHO_N "(cached) $ECHO_C" >&6
5340
ac_cpp='$CXXCPP $CPPFLAGS'
5341
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5342
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5343
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5345
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5348
save_CXXFLAGS="$CXXFLAGS"
5349
CXXFLAGS="$CXXFLAGS -fno-exceptions"
5350
cat >conftest.$ac_ext <<_ACEOF
5353
cat confdefs.h >>conftest.$ac_ext
5354
cat >>conftest.$ac_ext <<_ACEOF
5355
/* end confdefs.h. */
5365
rm -f conftest.$ac_objext conftest$ac_exeext
5366
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5367
(eval $ac_link) 2>conftest.er1
5369
grep -v '^ *+' conftest.er1 >conftest.err
5371
cat conftest.err >&5
5372
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5373
(exit $ac_status); } &&
5374
{ ac_try='test -z "$ac_cxx_werror_flag"
5375
|| test ! -s conftest.err'
5376
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5379
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5380
(exit $ac_status); }; } &&
5381
{ ac_try='test -s conftest$ac_exeext'
5382
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5385
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5386
(exit $ac_status); }; }; then
5387
eval "kde_cv_prog_cxx_$kde_cache=yes"
5389
echo "$as_me: failed program was:" >&5
5390
sed 's/^/| /' conftest.$ac_ext >&5
5393
rm -f conftest.err conftest.$ac_objext \
5394
conftest$ac_exeext conftest.$ac_ext
5395
CXXFLAGS="$save_CXXFLAGS"
5397
ac_cpp='$CPP $CPPFLAGS'
5398
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5399
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5400
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5405
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5406
echo "$as_me:$LINENO: result: yes" >&5
5407
echo "${ECHO_T}yes" >&6
5409
CXXFLAGS="$CXXFLAGS -fno-exceptions"
5411
echo "$as_me:$LINENO: result: no" >&5
5412
echo "${ECHO_T}no" >&6
5418
echo "$as_me:$LINENO: checking whether $CXX supports -fno-check-new" >&5
5419
echo $ECHO_N "checking whether $CXX supports -fno-check-new... $ECHO_C" >&6
5420
kde_cache=`echo fno-check-new | sed 'y% .=/+-%____p_%'`
5421
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
5422
echo $ECHO_N "(cached) $ECHO_C" >&6
5428
ac_cpp='$CXXCPP $CPPFLAGS'
5429
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5430
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5431
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5433
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5436
save_CXXFLAGS="$CXXFLAGS"
5437
CXXFLAGS="$CXXFLAGS -fno-check-new"
5438
cat >conftest.$ac_ext <<_ACEOF
5441
cat confdefs.h >>conftest.$ac_ext
5442
cat >>conftest.$ac_ext <<_ACEOF
5443
/* end confdefs.h. */
5453
rm -f conftest.$ac_objext conftest$ac_exeext
5454
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5455
(eval $ac_link) 2>conftest.er1
5457
grep -v '^ *+' conftest.er1 >conftest.err
5459
cat conftest.err >&5
5460
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5461
(exit $ac_status); } &&
5462
{ ac_try='test -z "$ac_cxx_werror_flag"
5463
|| test ! -s conftest.err'
5464
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5467
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5468
(exit $ac_status); }; } &&
5469
{ ac_try='test -s conftest$ac_exeext'
5470
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5473
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5474
(exit $ac_status); }; }; then
5475
eval "kde_cv_prog_cxx_$kde_cache=yes"
5477
echo "$as_me: failed program was:" >&5
5478
sed 's/^/| /' conftest.$ac_ext >&5
5481
rm -f conftest.err conftest.$ac_objext \
5482
conftest$ac_exeext conftest.$ac_ext
5483
CXXFLAGS="$save_CXXFLAGS"
5485
ac_cpp='$CPP $CPPFLAGS'
5486
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5487
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5488
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5493
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5494
echo "$as_me:$LINENO: result: yes" >&5
5495
echo "${ECHO_T}yes" >&6
5497
CXXFLAGS="$CXXFLAGS -fno-check-new"
5499
echo "$as_me:$LINENO: result: no" >&5
5500
echo "${ECHO_T}no" >&6
5506
echo "$as_me:$LINENO: checking whether $CXX supports -fexceptions" >&5
5507
echo $ECHO_N "checking whether $CXX supports -fexceptions... $ECHO_C" >&6
5508
kde_cache=`echo fexceptions | sed 'y% .=/+-%____p_%'`
5509
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
5510
echo $ECHO_N "(cached) $ECHO_C" >&6
5516
ac_cpp='$CXXCPP $CPPFLAGS'
5517
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5518
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5519
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5521
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5524
save_CXXFLAGS="$CXXFLAGS"
5525
CXXFLAGS="$CXXFLAGS -fexceptions"
5526
cat >conftest.$ac_ext <<_ACEOF
5529
cat confdefs.h >>conftest.$ac_ext
5530
cat >>conftest.$ac_ext <<_ACEOF
5531
/* end confdefs.h. */
5541
rm -f conftest.$ac_objext conftest$ac_exeext
5542
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5543
(eval $ac_link) 2>conftest.er1
5545
grep -v '^ *+' conftest.er1 >conftest.err
5547
cat conftest.err >&5
5548
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5549
(exit $ac_status); } &&
5550
{ ac_try='test -z "$ac_cxx_werror_flag"
5551
|| test ! -s conftest.err'
5552
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5555
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5556
(exit $ac_status); }; } &&
5557
{ ac_try='test -s conftest$ac_exeext'
5558
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5561
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5562
(exit $ac_status); }; }; then
5563
eval "kde_cv_prog_cxx_$kde_cache=yes"
5565
echo "$as_me: failed program was:" >&5
5566
sed 's/^/| /' conftest.$ac_ext >&5
5569
rm -f conftest.err conftest.$ac_objext \
5570
conftest$ac_exeext conftest.$ac_ext
5571
CXXFLAGS="$save_CXXFLAGS"
5573
ac_cpp='$CPP $CPPFLAGS'
5574
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5575
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5576
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5581
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5582
echo "$as_me:$LINENO: result: yes" >&5
5583
echo "${ECHO_T}yes" >&6
5585
USE_EXCEPTIONS="-fexceptions"
5587
echo "$as_me:$LINENO: result: no" >&5
5588
echo "${ECHO_T}no" >&6
5594
if test "$CXX" = "KCC"; then
5596
# Check whether --enable-pch or --disable-pch was given.
5597
if test "${enable_pch+set}" = set; then
5598
enableval="$enable_pch"
5600
kde_use_pch=$enableval
5606
if test "$kde_use_pch" = "yes"; then
5608
echo "$as_me:$LINENO: checking whether $CXX supports --pch" >&5
5609
echo $ECHO_N "checking whether $CXX supports --pch... $ECHO_C" >&6
5610
kde_cache=`echo -pch | sed 'y% .=/+-%____p_%'`
5611
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
5612
echo $ECHO_N "(cached) $ECHO_C" >&6
5618
ac_cpp='$CXXCPP $CPPFLAGS'
5619
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5620
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5621
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5623
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5626
save_CXXFLAGS="$CXXFLAGS"
5627
CXXFLAGS="$CXXFLAGS --pch"
5628
cat >conftest.$ac_ext <<_ACEOF
5631
cat confdefs.h >>conftest.$ac_ext
5632
cat >>conftest.$ac_ext <<_ACEOF
5633
/* end confdefs.h. */
5643
rm -f conftest.$ac_objext conftest$ac_exeext
5644
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5645
(eval $ac_link) 2>conftest.er1
5647
grep -v '^ *+' conftest.er1 >conftest.err
5649
cat conftest.err >&5
5650
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5651
(exit $ac_status); } &&
5652
{ ac_try='test -z "$ac_cxx_werror_flag"
5653
|| test ! -s conftest.err'
5654
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5657
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5658
(exit $ac_status); }; } &&
5659
{ ac_try='test -s conftest$ac_exeext'
5660
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5663
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5664
(exit $ac_status); }; }; then
5665
eval "kde_cv_prog_cxx_$kde_cache=yes"
5667
echo "$as_me: failed program was:" >&5
5668
sed 's/^/| /' conftest.$ac_ext >&5
5671
rm -f conftest.err conftest.$ac_objext \
5672
conftest$ac_exeext conftest.$ac_ext
5673
CXXFLAGS="$save_CXXFLAGS"
5675
ac_cpp='$CPP $CPPFLAGS'
5676
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5677
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5678
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5683
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5684
echo "$as_me:$LINENO: result: yes" >&5
5685
echo "${ECHO_T}yes" >&6
5687
CXXFLAGS="$CXXFLAGS --pch"
5689
echo "$as_me:$LINENO: result: no" >&5
5690
echo "${ECHO_T}no" >&6
5697
echo "$as_me:$LINENO: checking whether $CXX supports --inline_keyword_space_time=6" >&5
5698
echo $ECHO_N "checking whether $CXX supports --inline_keyword_space_time=6... $ECHO_C" >&6
5699
kde_cache=`echo -inline_keyword_space_time=6 | sed 'y% .=/+-%____p_%'`
5700
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
5701
echo $ECHO_N "(cached) $ECHO_C" >&6
5707
ac_cpp='$CXXCPP $CPPFLAGS'
5708
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5709
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5710
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5712
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5715
save_CXXFLAGS="$CXXFLAGS"
5716
CXXFLAGS="$CXXFLAGS --inline_keyword_space_time=6"
5717
cat >conftest.$ac_ext <<_ACEOF
5720
cat confdefs.h >>conftest.$ac_ext
5721
cat >>conftest.$ac_ext <<_ACEOF
5722
/* end confdefs.h. */
5732
rm -f conftest.$ac_objext conftest$ac_exeext
5733
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5734
(eval $ac_link) 2>conftest.er1
5736
grep -v '^ *+' conftest.er1 >conftest.err
5738
cat conftest.err >&5
5739
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5740
(exit $ac_status); } &&
5741
{ ac_try='test -z "$ac_cxx_werror_flag"
5742
|| test ! -s conftest.err'
5743
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5746
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5747
(exit $ac_status); }; } &&
5748
{ ac_try='test -s conftest$ac_exeext'
5749
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5752
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5753
(exit $ac_status); }; }; then
5754
eval "kde_cv_prog_cxx_$kde_cache=yes"
5756
echo "$as_me: failed program was:" >&5
5757
sed 's/^/| /' conftest.$ac_ext >&5
5760
rm -f conftest.err conftest.$ac_objext \
5761
conftest$ac_exeext conftest.$ac_ext
5762
CXXFLAGS="$save_CXXFLAGS"
5764
ac_cpp='$CPP $CPPFLAGS'
5765
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5766
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5767
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5772
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5773
echo "$as_me:$LINENO: result: yes" >&5
5774
echo "${ECHO_T}yes" >&6
5776
CXXFLAGS="$CXXFLAGS --inline_keyword_space_time=6"
5778
echo "$as_me:$LINENO: result: no" >&5
5779
echo "${ECHO_T}no" >&6
5785
echo "$as_me:$LINENO: checking whether $CXX supports --inline_auto_space_time=2" >&5
5786
echo $ECHO_N "checking whether $CXX supports --inline_auto_space_time=2... $ECHO_C" >&6
5787
kde_cache=`echo -inline_auto_space_time=2 | sed 'y% .=/+-%____p_%'`
5788
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
5789
echo $ECHO_N "(cached) $ECHO_C" >&6
5795
ac_cpp='$CXXCPP $CPPFLAGS'
5796
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5797
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5798
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5800
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5803
save_CXXFLAGS="$CXXFLAGS"
5804
CXXFLAGS="$CXXFLAGS --inline_auto_space_time=2"
5805
cat >conftest.$ac_ext <<_ACEOF
5808
cat confdefs.h >>conftest.$ac_ext
5809
cat >>conftest.$ac_ext <<_ACEOF
5810
/* end confdefs.h. */
5820
rm -f conftest.$ac_objext conftest$ac_exeext
5821
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5822
(eval $ac_link) 2>conftest.er1
5824
grep -v '^ *+' conftest.er1 >conftest.err
5826
cat conftest.err >&5
5827
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5828
(exit $ac_status); } &&
5829
{ ac_try='test -z "$ac_cxx_werror_flag"
5830
|| test ! -s conftest.err'
5831
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5834
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5835
(exit $ac_status); }; } &&
5836
{ ac_try='test -s conftest$ac_exeext'
5837
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5840
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5841
(exit $ac_status); }; }; then
5842
eval "kde_cv_prog_cxx_$kde_cache=yes"
5844
echo "$as_me: failed program was:" >&5
5845
sed 's/^/| /' conftest.$ac_ext >&5
5848
rm -f conftest.err conftest.$ac_objext \
5849
conftest$ac_exeext conftest.$ac_ext
5850
CXXFLAGS="$save_CXXFLAGS"
5852
ac_cpp='$CPP $CPPFLAGS'
5853
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5854
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5855
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5860
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5861
echo "$as_me:$LINENO: result: yes" >&5
5862
echo "${ECHO_T}yes" >&6
5864
CXXFLAGS="$CXXFLAGS --inline_auto_space_time=2"
5866
echo "$as_me:$LINENO: result: no" >&5
5867
echo "${ECHO_T}no" >&6
5873
echo "$as_me:$LINENO: checking whether $CXX supports --inline_implicit_space_time=2.0" >&5
5874
echo $ECHO_N "checking whether $CXX supports --inline_implicit_space_time=2.0... $ECHO_C" >&6
5875
kde_cache=`echo -inline_implicit_space_time=2.0 | sed 'y% .=/+-%____p_%'`
5876
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
5877
echo $ECHO_N "(cached) $ECHO_C" >&6
5883
ac_cpp='$CXXCPP $CPPFLAGS'
5884
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5885
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5886
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5888
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5891
save_CXXFLAGS="$CXXFLAGS"
5892
CXXFLAGS="$CXXFLAGS --inline_implicit_space_time=2.0"
5893
cat >conftest.$ac_ext <<_ACEOF
5896
cat confdefs.h >>conftest.$ac_ext
5897
cat >>conftest.$ac_ext <<_ACEOF
5898
/* end confdefs.h. */
5908
rm -f conftest.$ac_objext conftest$ac_exeext
5909
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5910
(eval $ac_link) 2>conftest.er1
5912
grep -v '^ *+' conftest.er1 >conftest.err
5914
cat conftest.err >&5
5915
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5916
(exit $ac_status); } &&
5917
{ ac_try='test -z "$ac_cxx_werror_flag"
5918
|| test ! -s conftest.err'
5919
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5922
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5923
(exit $ac_status); }; } &&
5924
{ ac_try='test -s conftest$ac_exeext'
5925
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5928
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5929
(exit $ac_status); }; }; then
5930
eval "kde_cv_prog_cxx_$kde_cache=yes"
5932
echo "$as_me: failed program was:" >&5
5933
sed 's/^/| /' conftest.$ac_ext >&5
5936
rm -f conftest.err conftest.$ac_objext \
5937
conftest$ac_exeext conftest.$ac_ext
5938
CXXFLAGS="$save_CXXFLAGS"
5940
ac_cpp='$CPP $CPPFLAGS'
5941
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5942
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5943
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5948
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5949
echo "$as_me:$LINENO: result: yes" >&5
5950
echo "${ECHO_T}yes" >&6
5952
CXXFLAGS="$CXXFLAGS --inline_implicit_space_time=2.0"
5954
echo "$as_me:$LINENO: result: no" >&5
5955
echo "${ECHO_T}no" >&6
5961
echo "$as_me:$LINENO: checking whether $CXX supports --inline_generated_space_time=2.0" >&5
5962
echo $ECHO_N "checking whether $CXX supports --inline_generated_space_time=2.0... $ECHO_C" >&6
5963
kde_cache=`echo -inline_generated_space_time=2.0 | sed 'y% .=/+-%____p_%'`
5964
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
5965
echo $ECHO_N "(cached) $ECHO_C" >&6
5971
ac_cpp='$CXXCPP $CPPFLAGS'
5972
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5973
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5974
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5976
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5979
save_CXXFLAGS="$CXXFLAGS"
5980
CXXFLAGS="$CXXFLAGS --inline_generated_space_time=2.0"
5981
cat >conftest.$ac_ext <<_ACEOF
5984
cat confdefs.h >>conftest.$ac_ext
5985
cat >>conftest.$ac_ext <<_ACEOF
5986
/* end confdefs.h. */
5996
rm -f conftest.$ac_objext conftest$ac_exeext
5997
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5998
(eval $ac_link) 2>conftest.er1
6000
grep -v '^ *+' conftest.er1 >conftest.err
6002
cat conftest.err >&5
6003
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6004
(exit $ac_status); } &&
6005
{ ac_try='test -z "$ac_cxx_werror_flag"
6006
|| test ! -s conftest.err'
6007
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6010
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6011
(exit $ac_status); }; } &&
6012
{ ac_try='test -s conftest$ac_exeext'
6013
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6016
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6017
(exit $ac_status); }; }; then
6018
eval "kde_cv_prog_cxx_$kde_cache=yes"
6020
echo "$as_me: failed program was:" >&5
6021
sed 's/^/| /' conftest.$ac_ext >&5
6024
rm -f conftest.err conftest.$ac_objext \
6025
conftest$ac_exeext conftest.$ac_ext
6026
CXXFLAGS="$save_CXXFLAGS"
6028
ac_cpp='$CPP $CPPFLAGS'
6029
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6030
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6031
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6036
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6037
echo "$as_me:$LINENO: result: yes" >&5
6038
echo "${ECHO_T}yes" >&6
6040
CXXFLAGS="$CXXFLAGS --inline_generated_space_time=2.0"
6042
echo "$as_me:$LINENO: result: no" >&5
6043
echo "${ECHO_T}no" >&6
6049
echo "$as_me:$LINENO: checking whether $CXX supports --one_per" >&5
6050
echo $ECHO_N "checking whether $CXX supports --one_per... $ECHO_C" >&6
6051
kde_cache=`echo -one_per | sed 'y% .=/+-%____p_%'`
6052
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
6053
echo $ECHO_N "(cached) $ECHO_C" >&6
6059
ac_cpp='$CXXCPP $CPPFLAGS'
6060
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6061
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6062
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6064
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6067
save_CXXFLAGS="$CXXFLAGS"
6068
CXXFLAGS="$CXXFLAGS --one_per"
6069
cat >conftest.$ac_ext <<_ACEOF
6072
cat confdefs.h >>conftest.$ac_ext
6073
cat >>conftest.$ac_ext <<_ACEOF
6074
/* end confdefs.h. */
6084
rm -f conftest.$ac_objext conftest$ac_exeext
6085
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6086
(eval $ac_link) 2>conftest.er1
6088
grep -v '^ *+' conftest.er1 >conftest.err
6090
cat conftest.err >&5
6091
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6092
(exit $ac_status); } &&
6093
{ ac_try='test -z "$ac_cxx_werror_flag"
6094
|| test ! -s conftest.err'
6095
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6098
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6099
(exit $ac_status); }; } &&
6100
{ ac_try='test -s conftest$ac_exeext'
6101
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6104
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6105
(exit $ac_status); }; }; then
6106
eval "kde_cv_prog_cxx_$kde_cache=yes"
6108
echo "$as_me: failed program was:" >&5
6109
sed 's/^/| /' conftest.$ac_ext >&5
6112
rm -f conftest.err conftest.$ac_objext \
6113
conftest$ac_exeext conftest.$ac_ext
6114
CXXFLAGS="$save_CXXFLAGS"
6116
ac_cpp='$CPP $CPPFLAGS'
6117
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6118
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6119
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6124
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6125
echo "$as_me:$LINENO: result: yes" >&5
6126
echo "${ECHO_T}yes" >&6
6128
CXXFLAGS="$CXXFLAGS --one_per"
6130
echo "$as_me:$LINENO: result: no" >&5
6131
echo "${ECHO_T}no" >&6
6142
*-*-irix*) test "$GXX" = yes && CXXFLAGS="-D_LANGUAGE_C_PLUS_PLUS -D__LANGUAGE_C_PLUS_PLUS $CXXFLAGS" ;;
6143
*-*-sysv4.2uw*) CXXFLAGS="-D_UNIXWARE $CXXFLAGS";;
6144
*-*-sysv5uw7*) CXXFLAGS="-D_UNIXWARE7 $CXXFLAGS";;
6146
if test "$GXX" = yes; then
6147
libstdcpp=`$CXX -print-file-name=libstdc++.so`
6148
if test ! -f $libstdcpp; then
6149
{ { 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
6150
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;}
6151
{ (exit 1); exit 1; }; }
6157
if test "x$kde_use_qt_emb" != "xyes"; then
6159
__forbid=" -fno-rtti -rpath "
6160
if test -n "$__val"; then
6166
*" $i "*) { echo "$as_me:$LINENO: WARNING: found forbidden $i in CXX, removing it" >&5
6167
echo "$as_me: WARNING: found forbidden $i in CXX, removing it" >&2;} ;;
6168
*) # Careful to not add spaces, where there were none, because otherwise
6169
# libtool gets confused, if we change e.g. CXX
6170
if test -z "$__new" ; then __new=$i ; else __new="$__new $i" ; fi ;;
6178
__forbid=" -fno-rtti -rpath "
6179
if test -n "$__val"; then
6185
*" $i "*) { echo "$as_me:$LINENO: WARNING: found forbidden $i in CXXFLAGS, removing it" >&5
6186
echo "$as_me: WARNING: found forbidden $i in CXXFLAGS, removing it" >&2;} ;;
6187
*) # Careful to not add spaces, where there were none, because otherwise
6188
# libtool gets confused, if we change e.g. CXX
6189
if test -z "$__new" ; then __new=$i ; else __new="$__new $i" ; fi ;;
6199
if test -n "$__val"; then
6205
*" $i "*) { echo "$as_me:$LINENO: WARNING: found forbidden $i in CXX, removing it" >&5
6206
echo "$as_me: WARNING: found forbidden $i in CXX, removing it" >&2;} ;;
6207
*) # Careful to not add spaces, where there were none, because otherwise
6208
# libtool gets confused, if we change e.g. CXX
6209
if test -z "$__new" ; then __new=$i ; else __new="$__new $i" ; fi ;;
6218
if test -n "$__val"; then
6224
*" $i "*) { echo "$as_me:$LINENO: WARNING: found forbidden $i in CXXFLAGS, removing it" >&5
6225
echo "$as_me: WARNING: found forbidden $i in CXXFLAGS, removing it" >&2;} ;;
6226
*) # Careful to not add spaces, where there were none, because otherwise
6227
# libtool gets confused, if we change e.g. CXX
6228
if test -z "$__new" ; then __new=$i ; else __new="$__new $i" ; fi ;;
6239
ac_cpp='$CXXCPP $CPPFLAGS'
6240
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6241
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6242
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6243
echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6244
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
6245
if test -z "$CXXCPP"; then
6246
if test "${ac_cv_prog_CXXCPP+set}" = set; then
6247
echo $ECHO_N "(cached) $ECHO_C" >&6
6249
# Double quotes because CXXCPP needs to be expanded
6250
for CXXCPP in "$CXX -E" "/lib/cpp"
6253
for ac_cxx_preproc_warn_flag in '' yes
6255
# Use a header file that comes with gcc, so configuring glibc
6256
# with a fresh cross-compiler works.
6257
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6258
# <limits.h> exists even on freestanding compilers.
6259
# On the NeXT, cc -E runs the code through the compiler's parser,
6260
# not just through cpp. "Syntax error" is here to catch this case.
6261
cat >conftest.$ac_ext <<_ACEOF
6264
cat confdefs.h >>conftest.$ac_ext
6265
cat >>conftest.$ac_ext <<_ACEOF
6266
/* end confdefs.h. */
6268
# include <limits.h>
6270
# include <assert.h>
6274
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6275
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6277
grep -v '^ *+' conftest.er1 >conftest.err
6279
cat conftest.err >&5
6280
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6281
(exit $ac_status); } >/dev/null; then
6282
if test -s conftest.err; then
6283
ac_cpp_err=$ac_cxx_preproc_warn_flag
6284
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6291
if test -z "$ac_cpp_err"; then
6294
echo "$as_me: failed program was:" >&5
6295
sed 's/^/| /' conftest.$ac_ext >&5
6297
# Broken: fails on valid input.
6300
rm -f conftest.err conftest.$ac_ext
6302
# OK, works on sane cases. Now check whether non-existent headers
6303
# can be detected and how.
6304
cat >conftest.$ac_ext <<_ACEOF
6307
cat confdefs.h >>conftest.$ac_ext
6308
cat >>conftest.$ac_ext <<_ACEOF
6309
/* end confdefs.h. */
6310
#include <ac_nonexistent.h>
6312
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6313
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6315
grep -v '^ *+' conftest.er1 >conftest.err
6317
cat conftest.err >&5
6318
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6319
(exit $ac_status); } >/dev/null; then
6320
if test -s conftest.err; then
6321
ac_cpp_err=$ac_cxx_preproc_warn_flag
6322
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6329
if test -z "$ac_cpp_err"; then
6330
# Broken: success on invalid input.
6333
echo "$as_me: failed program was:" >&5
6334
sed 's/^/| /' conftest.$ac_ext >&5
6336
# Passes both tests.
6340
rm -f conftest.err conftest.$ac_ext
6343
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6344
rm -f conftest.err conftest.$ac_ext
6345
if $ac_preproc_ok; then
6350
ac_cv_prog_CXXCPP=$CXXCPP
6353
CXXCPP=$ac_cv_prog_CXXCPP
6355
ac_cv_prog_CXXCPP=$CXXCPP
6357
echo "$as_me:$LINENO: result: $CXXCPP" >&5
6358
echo "${ECHO_T}$CXXCPP" >&6
6360
for ac_cxx_preproc_warn_flag in '' yes
6362
# Use a header file that comes with gcc, so configuring glibc
6363
# with a fresh cross-compiler works.
6364
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6365
# <limits.h> exists even on freestanding compilers.
6366
# On the NeXT, cc -E runs the code through the compiler's parser,
6367
# not just through cpp. "Syntax error" is here to catch this case.
6368
cat >conftest.$ac_ext <<_ACEOF
6371
cat confdefs.h >>conftest.$ac_ext
6372
cat >>conftest.$ac_ext <<_ACEOF
6373
/* end confdefs.h. */
6375
# include <limits.h>
6377
# include <assert.h>
6381
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6382
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6384
grep -v '^ *+' conftest.er1 >conftest.err
6386
cat conftest.err >&5
6387
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6388
(exit $ac_status); } >/dev/null; then
6389
if test -s conftest.err; then
6390
ac_cpp_err=$ac_cxx_preproc_warn_flag
6391
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6398
if test -z "$ac_cpp_err"; then
6401
echo "$as_me: failed program was:" >&5
6402
sed 's/^/| /' conftest.$ac_ext >&5
6404
# Broken: fails on valid input.
6407
rm -f conftest.err conftest.$ac_ext
6409
# OK, works on sane cases. Now check whether non-existent headers
6410
# can be detected and how.
6411
cat >conftest.$ac_ext <<_ACEOF
6414
cat confdefs.h >>conftest.$ac_ext
6415
cat >>conftest.$ac_ext <<_ACEOF
6416
/* end confdefs.h. */
6417
#include <ac_nonexistent.h>
6419
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6420
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6422
grep -v '^ *+' conftest.er1 >conftest.err
6424
cat conftest.err >&5
6425
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6426
(exit $ac_status); } >/dev/null; then
6427
if test -s conftest.err; then
6428
ac_cpp_err=$ac_cxx_preproc_warn_flag
6429
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6436
if test -z "$ac_cpp_err"; then
6437
# Broken: success on invalid input.
6440
echo "$as_me: failed program was:" >&5
6441
sed 's/^/| /' conftest.$ac_ext >&5
6443
# Passes both tests.
6447
rm -f conftest.err conftest.$ac_ext
6450
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6451
rm -f conftest.err conftest.$ac_ext
6452
if $ac_preproc_ok; then
6455
{ { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6456
See \`config.log' for more details." >&5
6457
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6458
See \`config.log' for more details." >&2;}
6459
{ (exit 1); exit 1; }; }
6463
ac_cpp='$CPP $CPPFLAGS'
6464
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6465
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6466
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6469
# the following is to allow programs, that are known to
6470
# have problems when compiled with -O2
6471
if test -n "$CXXFLAGS"; then
6475
for i in $CXXFLAGS; do
6480
NOOPT_CXXFLAGS="$NOOPT_CXXFLAGS $i"
6487
if test -n "$CFLAGS"; then
6491
for i in $CFLAGS; do
6496
NOOPT_CFLAGS="$NOOPT_CFLAGS $i"
6503
if test "x$kde_use_qt_emb" = "xyes"; then
6504
NOOPT_CXXFLAGS="$NOOPT_CXXFLAGS -fno-rtti -DQWS"
6511
# Check whether --enable-final or --disable-final was given.
6512
if test "${enable_final+set}" = set; then
6513
enableval="$enable_final"
6514
kde_use_final=$enableval
6524
echo "$as_me:$LINENO: checking whether $CXX supports -frepo" >&5
6525
echo $ECHO_N "checking whether $CXX supports -frepo... $ECHO_C" >&6
6526
kde_cache=`echo frepo | sed 'y% .=/+-%____p_%'`
6527
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
6528
echo $ECHO_N "(cached) $ECHO_C" >&6
6534
ac_cpp='$CXXCPP $CPPFLAGS'
6535
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6536
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6537
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6539
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6542
save_CXXFLAGS="$CXXFLAGS"
6543
CXXFLAGS="$CXXFLAGS -frepo"
6544
cat >conftest.$ac_ext <<_ACEOF
6547
cat confdefs.h >>conftest.$ac_ext
6548
cat >>conftest.$ac_ext <<_ACEOF
6549
/* end confdefs.h. */
6559
rm -f conftest.$ac_objext conftest$ac_exeext
6560
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6561
(eval $ac_link) 2>conftest.er1
6563
grep -v '^ *+' conftest.er1 >conftest.err
6565
cat conftest.err >&5
6566
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6567
(exit $ac_status); } &&
6568
{ ac_try='test -z "$ac_cxx_werror_flag"
6569
|| test ! -s conftest.err'
6570
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6573
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6574
(exit $ac_status); }; } &&
6575
{ ac_try='test -s conftest$ac_exeext'
6576
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6579
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6580
(exit $ac_status); }; }; then
6581
eval "kde_cv_prog_cxx_$kde_cache=yes"
6583
echo "$as_me: failed program was:" >&5
6584
sed 's/^/| /' conftest.$ac_ext >&5
6587
rm -f conftest.err conftest.$ac_objext \
6588
conftest$ac_exeext conftest.$ac_ext
6589
CXXFLAGS="$save_CXXFLAGS"
6591
ac_cpp='$CPP $CPPFLAGS'
6592
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6593
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6594
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6599
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6600
echo "$as_me:$LINENO: result: yes" >&5
6601
echo "${ECHO_T}yes" >&6
6608
echo "$as_me:$LINENO: result: no" >&5
6609
echo "${ECHO_T}no" >&6
6615
if test -z "$REPO"; then
6617
echo "$as_me:$LINENO: checking whether $CXX supports -instances=explicit" >&5
6618
echo $ECHO_N "checking whether $CXX supports -instances=explicit... $ECHO_C" >&6
6619
kde_cache=`echo instances=explicit | sed 'y% .=/+-%____p_%'`
6620
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
6621
echo $ECHO_N "(cached) $ECHO_C" >&6
6627
ac_cpp='$CXXCPP $CPPFLAGS'
6628
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6629
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6630
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6632
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6635
save_CXXFLAGS="$CXXFLAGS"
6636
CXXFLAGS="$CXXFLAGS -instances=explicit"
6637
cat >conftest.$ac_ext <<_ACEOF
6640
cat confdefs.h >>conftest.$ac_ext
6641
cat >>conftest.$ac_ext <<_ACEOF
6642
/* end confdefs.h. */
6652
rm -f conftest.$ac_objext conftest$ac_exeext
6653
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6654
(eval $ac_link) 2>conftest.er1
6656
grep -v '^ *+' conftest.er1 >conftest.err
6658
cat conftest.err >&5
6659
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6660
(exit $ac_status); } &&
6661
{ ac_try='test -z "$ac_cxx_werror_flag"
6662
|| test ! -s conftest.err'
6663
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6666
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6667
(exit $ac_status); }; } &&
6668
{ ac_try='test -s conftest$ac_exeext'
6669
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6672
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6673
(exit $ac_status); }; }; then
6674
eval "kde_cv_prog_cxx_$kde_cache=yes"
6676
echo "$as_me: failed program was:" >&5
6677
sed 's/^/| /' conftest.$ac_ext >&5
6680
rm -f conftest.err conftest.$ac_objext \
6681
conftest$ac_exeext conftest.$ac_ext
6682
CXXFLAGS="$save_CXXFLAGS"
6684
ac_cpp='$CPP $CPPFLAGS'
6685
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6686
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6687
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6692
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6693
echo "$as_me:$LINENO: result: yes" >&5
6694
echo "${ECHO_T}yes" >&6
6697
REPO="-instances=explicit"
6698
NOREPO="-instances=extern"
6701
echo "$as_me:$LINENO: result: no" >&5
6702
echo "${ECHO_T}no" >&6
6709
if test -n "$REPO"; then
6711
cat >>confdefs.h <<_ACEOF
6712
#define HAVE_TEMPLATE_REPOSITORY 1
6721
if test "x$kde_use_final" = "xyes"; then
6722
KDE_USE_FINAL_TRUE=""
6723
KDE_USE_FINAL_FALSE="#"
6725
KDE_USE_FINAL_TRUE="#"
6726
KDE_USE_FINAL_FALSE=""
6731
# Check whether --enable-closure or --disable-closure was given.
6732
if test "${enable_closure+set}" = set; then
6733
enableval="$enable_closure"
6734
kde_use_closure=$enableval
6739
if test "x$kde_use_closure" = "xyes"; then
6740
KDE_USE_CLOSURE_TRUE=""
6741
KDE_USE_CLOSURE_FALSE="#"
6742
# CXXFLAGS="$CXXFLAGS $REPO"
6744
KDE_USE_CLOSURE_TRUE="#"
6745
KDE_USE_CLOSURE_FALSE=""
6757
CXXFLAGS="$NOOPT_CXXFLAGS" CFLAGS="$NOOPT_CFLAGS"
6758
# Check whether --enable-shared or --disable-shared was given.
6759
if test "${enable_shared+set}" = set; then
6760
enableval="$enable_shared"
6761
p=${PACKAGE-default}
6763
yes) enable_shared=yes ;;
6764
no) enable_shared=no ;;
6767
# Look at the argument we got. We use all the common list separators.
6768
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
6769
for pkg in $enableval; do
6770
if test "X$pkg" = "X$p"; then
6780
# Check whether --enable-static or --disable-static was given.
6781
if test "${enable_static+set}" = set; then
6782
enableval="$enable_static"
6783
p=${PACKAGE-default}
6785
yes) enable_static=yes ;;
6786
no) enable_static=no ;;
6789
# Look at the argument we got. We use all the common list separators.
6790
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
6791
for pkg in $enableval; do
6792
if test "X$pkg" = "X$p"; then
6803
# Check whether --enable-fast-install or --disable-fast-install was given.
6804
if test "${enable_fast_install+set}" = set; then
6805
enableval="$enable_fast_install"
6806
p=${PACKAGE-default}
6808
yes) enable_fast_install=yes ;;
6809
no) enable_fast_install=no ;;
6811
enable_fast_install=no
6812
# Look at the argument we got. We use all the common list separators.
6813
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
6814
for pkg in $enableval; do
6815
if test "X$pkg" = "X$p"; then
6816
enable_fast_install=yes
6823
enable_fast_install=yes
6826
# Check whether --with-gnu-ld or --without-gnu-ld was given.
6827
if test "${with_gnu_ld+set}" = set; then
6828
withval="$with_gnu_ld"
6829
test "$withval" = no || with_gnu_ld=yes
6834
if test "$GCC" = yes; then
6835
# Check if gcc -print-prog-name=ld gives a path.
6836
echo "$as_me:$LINENO: checking for ld used by GCC" >&5
6837
echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
6840
# gcc leaves a trailing carriage return which upsets mingw
6841
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6843
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6846
# Accept absolute paths.
6847
[\\/]* | [A-Za-z]:[\\/]*)
6848
re_direlt='/[^/][^/]*/\.\./'
6849
# Canonicalize the path of ld
6850
ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
6851
while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
6852
ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
6854
test -z "$LD" && LD="$ac_prog"
6857
# If it fails, then pretend we aren't using GCC.
6861
# If it is relative, then search for the first ld in PATH.
6865
elif test "$with_gnu_ld" = yes; then
6866
echo "$as_me:$LINENO: checking for GNU ld" >&5
6867
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
6869
echo "$as_me:$LINENO: checking for non-GNU ld" >&5
6870
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
6872
if test "${lt_cv_path_LD+set}" = set; then
6873
echo $ECHO_N "(cached) $ECHO_C" >&6
6875
if test -z "$LD"; then
6876
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
6877
for ac_dir in $PATH; do
6878
test -z "$ac_dir" && ac_dir=.
6879
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6880
lt_cv_path_LD="$ac_dir/$ac_prog"
6881
# Check to see if the program is GNU ld. I'd rather use --version,
6882
# but apparently some GNU ld's only accept -v.
6883
# Break only if it was the GNU/non-GNU ld that we prefer.
6884
if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
6885
test "$with_gnu_ld" != no && break
6887
test "$with_gnu_ld" != yes && break
6893
lt_cv_path_LD="$LD" # Let the user override the test with a path.
6898
if test -n "$LD"; then
6899
echo "$as_me:$LINENO: result: $LD" >&5
6900
echo "${ECHO_T}$LD" >&6
6902
echo "$as_me:$LINENO: result: no" >&5
6903
echo "${ECHO_T}no" >&6
6905
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
6906
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
6907
{ (exit 1); exit 1; }; }
6908
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
6909
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
6910
if test "${lt_cv_prog_gnu_ld+set}" = set; then
6911
echo $ECHO_N "(cached) $ECHO_C" >&6
6913
# I'd rather use --version here, but apparently some GNU ld's only accept -v.
6914
if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
6915
lt_cv_prog_gnu_ld=yes
6917
lt_cv_prog_gnu_ld=no
6920
echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
6921
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
6922
with_gnu_ld=$lt_cv_prog_gnu_ld
6925
echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
6926
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
6927
if test "${lt_cv_ld_reload_flag+set}" = set; then
6928
echo $ECHO_N "(cached) $ECHO_C" >&6
6930
lt_cv_ld_reload_flag='-r'
6932
echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
6933
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
6934
reload_flag=$lt_cv_ld_reload_flag
6935
test -n "$reload_flag" && reload_flag=" $reload_flag"
6937
echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
6938
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
6939
if test "${lt_cv_path_NM+set}" = set; then
6940
echo $ECHO_N "(cached) $ECHO_C" >&6
6942
if test -n "$NM"; then
6943
# Let the user override the test.
6946
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
6947
for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
6948
test -z "$ac_dir" && ac_dir=.
6949
tmp_nm=$ac_dir/${ac_tool_prefix}nm
6950
if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
6951
# Check to see if the nm accepts a BSD-compat flag.
6952
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
6953
# nm: unknown option "B" ignored
6954
# Tru64's nm complains that /dev/null is an invalid object file
6955
if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
6956
lt_cv_path_NM="$tmp_nm -B"
6958
elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
6959
lt_cv_path_NM="$tmp_nm -p"
6962
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6963
continue # so that we can try to find one that supports BSD flags
6968
test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
6973
echo "$as_me:$LINENO: result: $NM" >&5
6974
echo "${ECHO_T}$NM" >&6
6976
echo "$as_me:$LINENO: checking whether ln -s works" >&5
6977
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
6979
if test "$LN_S" = "ln -s"; then
6980
echo "$as_me:$LINENO: result: yes" >&5
6981
echo "${ECHO_T}yes" >&6
6983
echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6984
echo "${ECHO_T}no, using $LN_S" >&6
6987
echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
6988
echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
6989
if test "${lt_cv_deplibs_check_method+set}" = set; then
6990
echo $ECHO_N "(cached) $ECHO_C" >&6
6992
lt_cv_file_magic_cmd='$MAGIC_CMD'
6993
lt_cv_file_magic_test_file=
6994
lt_cv_deplibs_check_method='unknown'
6995
# Need to set the preceding variable on all platforms that support
6996
# interlibrary dependencies.
6997
# 'none' -- dependencies not supported.
6998
# `unknown' -- same as none, but documents that we really don't know.
6999
# 'pass_all' -- all dependencies passed with no checks.
7000
# 'test_compile' -- check by making test program.
7001
# 'file_magic [regex]' -- check by looking for files in library path
7002
# which responds to the $file_magic_cmd with a given egrep regex.
7003
# If you have `file' or equivalent on your system and you're not sure
7004
# whether `pass_all' will *always* work, you probably want this one.
7008
lt_cv_deplibs_check_method=pass_all
7012
lt_cv_deplibs_check_method=pass_all
7016
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7017
lt_cv_file_magic_cmd='/usr/bin/file -L'
7018
lt_cv_file_magic_test_file=/shlib/libc.so
7021
cygwin* | mingw* |pw32*)
7022
lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
7023
lt_cv_file_magic_cmd='$OBJDUMP -f'
7026
darwin* | rhapsody*)
7027
lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
7028
lt_cv_file_magic_cmd='/usr/bin/file -L'
7030
rhapsody* | darwin1.012)
7031
lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
7034
lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
7040
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
7043
# Not sure whether the presence of OpenBSD here was a mistake.
7044
# Let's accept both of them until this is cleared up.
7045
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
7046
lt_cv_file_magic_cmd=/usr/bin/file
7047
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7051
lt_cv_deplibs_check_method=pass_all
7056
lt_cv_deplibs_check_method=pass_all
7060
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
7061
lt_cv_file_magic_cmd=/usr/bin/file
7062
lt_cv_file_magic_test_file=/usr/lib/libc.sl
7068
# this will be overridden with pass_all, but let us keep it just in case
7069
lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
7073
*-32|*"-32 ") libmagic=32-bit;;
7074
*-n32|*"-n32 ") libmagic=N32;;
7075
*-64|*"-64 ") libmagic=64-bit;;
7076
*) libmagic=never-match;;
7078
# this will be overridden with pass_all, but let us keep it just in case
7079
lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
7082
lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
7083
lt_cv_deplibs_check_method=pass_all
7086
# This must be Linux ELF.
7089
alpha* | i*86 | powerpc* | sparc* | ia64* | s390* | m68k* | arm* | mips* | hppa* | sh* )
7090
lt_cv_deplibs_check_method=pass_all ;;
7092
# glibc up to 2.1.1 does not perform some relocations on ARM
7093
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
7095
lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
7099
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
7100
lt_cv_deplibs_check_method='file_magic NetBSD/[a-z0-9]* demand paged shared library'
7102
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
7104
lt_cv_file_magic_cmd='/usr/bin/file -L'
7105
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7109
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
7112
lt_cv_deplibs_check_method='file_magic OpenBSD/i[3-9]86 demand paged shared library'
7113
lt_cv_file_magic_cmd=/usr/bin/file
7114
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7118
lt_cv_deplibs_check_method=pass_all
7123
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7124
lt_cv_file_magic_cmd=/usr/bin/file
7125
lt_cv_file_magic_test_file=/usr/lib/libnls.so
7128
osf3* | osf4* | osf5*)
7129
# this will be overridden with pass_all, but let us keep it just in case
7130
lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
7131
lt_cv_file_magic_test_file=/shlib/libc.so
7132
lt_cv_deplibs_check_method=pass_all
7136
lt_cv_deplibs_check_method=pass_all
7140
lt_cv_deplibs_check_method=pass_all
7141
lt_cv_file_magic_test_file=/lib/libc.so
7144
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
7145
case $host_vendor in
7147
lt_cv_deplibs_check_method=pass_all
7150
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]'
7151
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7158
echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
7159
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
7160
file_magic_cmd=$lt_cv_file_magic_cmd
7161
deplibs_check_method=$lt_cv_deplibs_check_method
7164
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
7166
# Only perform the check for file, if the check method requires it
7167
case $deplibs_check_method in
7169
if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7170
echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7171
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
7172
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7173
echo $ECHO_N "(cached) $ECHO_C" >&6
7177
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7180
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
7183
ac_save_MAGIC_CMD="$MAGIC_CMD"
7184
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
7185
ac_dummy="/usr/bin:$PATH"
7186
for ac_dir in $ac_dummy; do
7187
test -z "$ac_dir" && ac_dir=.
7188
if test -f $ac_dir/${ac_tool_prefix}file; then
7189
lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7190
if test -n "$file_magic_test_file"; then
7191
case $deplibs_check_method in
7193
file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
7194
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7195
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7196
egrep "$file_magic_regex" > /dev/null; then
7201
*** Warning: the command libtool uses to detect shared libraries,
7202
*** $file_magic_cmd, produces output that libtool cannot recognize.
7203
*** The result is that libtool may fail to recognize shared libraries
7204
*** as such. This will affect the creation of libtool libraries that
7205
*** depend on shared libraries, but programs linked with such libtool
7206
*** libraries will work regardless of this problem. Nevertheless, you
7207
*** may want to report the problem to your system manager and/or to
7208
*** bug-libtool@gnu.org
7218
MAGIC_CMD="$ac_save_MAGIC_CMD"
7223
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7224
if test -n "$MAGIC_CMD"; then
7225
echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7226
echo "${ECHO_T}$MAGIC_CMD" >&6
7228
echo "$as_me:$LINENO: result: no" >&5
7229
echo "${ECHO_T}no" >&6
7232
if test -z "$lt_cv_path_MAGIC_CMD"; then
7233
if test -n "$ac_tool_prefix"; then
7234
echo "$as_me:$LINENO: checking for file" >&5
7235
echo $ECHO_N "checking for file... $ECHO_C" >&6
7236
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7237
echo $ECHO_N "(cached) $ECHO_C" >&6
7241
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7244
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
7247
ac_save_MAGIC_CMD="$MAGIC_CMD"
7248
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
7249
ac_dummy="/usr/bin:$PATH"
7250
for ac_dir in $ac_dummy; do
7251
test -z "$ac_dir" && ac_dir=.
7252
if test -f $ac_dir/file; then
7253
lt_cv_path_MAGIC_CMD="$ac_dir/file"
7254
if test -n "$file_magic_test_file"; then
7255
case $deplibs_check_method in
7257
file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
7258
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7259
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7260
egrep "$file_magic_regex" > /dev/null; then
7265
*** Warning: the command libtool uses to detect shared libraries,
7266
*** $file_magic_cmd, produces output that libtool cannot recognize.
7267
*** The result is that libtool may fail to recognize shared libraries
7268
*** as such. This will affect the creation of libtool libraries that
7269
*** depend on shared libraries, but programs linked with such libtool
7270
*** libraries will work regardless of this problem. Nevertheless, you
7271
*** may want to report the problem to your system manager and/or to
7272
*** bug-libtool@gnu.org
7282
MAGIC_CMD="$ac_save_MAGIC_CMD"
7287
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7288
if test -n "$MAGIC_CMD"; then
7289
echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7290
echo "${ECHO_T}$MAGIC_CMD" >&6
7292
echo "$as_me:$LINENO: result: no" >&5
7293
echo "${ECHO_T}no" >&6
7305
if test -n "$ac_tool_prefix"; then
7306
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7307
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7308
echo "$as_me:$LINENO: checking for $ac_word" >&5
7309
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7310
if test "${ac_cv_prog_RANLIB+set}" = set; then
7311
echo $ECHO_N "(cached) $ECHO_C" >&6
7313
if test -n "$RANLIB"; then
7314
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7316
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7320
test -z "$as_dir" && as_dir=.
7321
for ac_exec_ext in '' $ac_executable_extensions; do
7322
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7323
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7324
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7332
RANLIB=$ac_cv_prog_RANLIB
7333
if test -n "$RANLIB"; then
7334
echo "$as_me:$LINENO: result: $RANLIB" >&5
7335
echo "${ECHO_T}$RANLIB" >&6
7337
echo "$as_me:$LINENO: result: no" >&5
7338
echo "${ECHO_T}no" >&6
7342
if test -z "$ac_cv_prog_RANLIB"; then
7343
ac_ct_RANLIB=$RANLIB
7344
# Extract the first word of "ranlib", so it can be a program name with args.
7345
set dummy ranlib; ac_word=$2
7346
echo "$as_me:$LINENO: checking for $ac_word" >&5
7347
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7348
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
7349
echo $ECHO_N "(cached) $ECHO_C" >&6
7351
if test -n "$ac_ct_RANLIB"; then
7352
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7354
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7358
test -z "$as_dir" && as_dir=.
7359
for ac_exec_ext in '' $ac_executable_extensions; do
7360
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7361
ac_cv_prog_ac_ct_RANLIB="ranlib"
7362
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7368
test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
7371
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7372
if test -n "$ac_ct_RANLIB"; then
7373
echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
7374
echo "${ECHO_T}$ac_ct_RANLIB" >&6
7376
echo "$as_me:$LINENO: result: no" >&5
7377
echo "${ECHO_T}no" >&6
7380
RANLIB=$ac_ct_RANLIB
7382
RANLIB="$ac_cv_prog_RANLIB"
7385
if test -n "$ac_tool_prefix"; then
7386
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7387
set dummy ${ac_tool_prefix}strip; ac_word=$2
7388
echo "$as_me:$LINENO: checking for $ac_word" >&5
7389
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7390
if test "${ac_cv_prog_STRIP+set}" = set; then
7391
echo $ECHO_N "(cached) $ECHO_C" >&6
7393
if test -n "$STRIP"; then
7394
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7396
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7400
test -z "$as_dir" && as_dir=.
7401
for ac_exec_ext in '' $ac_executable_extensions; do
7402
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7403
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7404
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7412
STRIP=$ac_cv_prog_STRIP
7413
if test -n "$STRIP"; then
7414
echo "$as_me:$LINENO: result: $STRIP" >&5
7415
echo "${ECHO_T}$STRIP" >&6
7417
echo "$as_me:$LINENO: result: no" >&5
7418
echo "${ECHO_T}no" >&6
7422
if test -z "$ac_cv_prog_STRIP"; then
7424
# Extract the first word of "strip", so it can be a program name with args.
7425
set dummy strip; ac_word=$2
7426
echo "$as_me:$LINENO: checking for $ac_word" >&5
7427
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7428
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
7429
echo $ECHO_N "(cached) $ECHO_C" >&6
7431
if test -n "$ac_ct_STRIP"; then
7432
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7434
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7438
test -z "$as_dir" && as_dir=.
7439
for ac_exec_ext in '' $ac_executable_extensions; do
7440
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7441
ac_cv_prog_ac_ct_STRIP="strip"
7442
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7448
test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
7451
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7452
if test -n "$ac_ct_STRIP"; then
7453
echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
7454
echo "${ECHO_T}$ac_ct_STRIP" >&6
7456
echo "$as_me:$LINENO: result: no" >&5
7457
echo "${ECHO_T}no" >&6
7462
STRIP="$ac_cv_prog_STRIP"
7466
# Check for any special flags to pass to ltconfig.
7467
libtool_flags="--cache-file=$cache_file"
7468
test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
7469
test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
7470
test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
7471
test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
7472
test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
7475
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
7476
if test "${enable_libtool_lock+set}" = set; then
7477
enableval="$enable_libtool_lock"
7480
test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
7481
test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
7484
# Check whether --with-pic or --without-pic was given.
7485
if test "${with_pic+set}" = set; then
7491
test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
7492
test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
7494
# Some flags need to be propagated to the compiler or linker for good
7498
# Find out which ABI we are using.
7499
echo '#line 7499 "configure"' > conftest.$ac_ext
7500
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7501
(eval $ac_compile) 2>&5
7503
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7504
(exit $ac_status); }; then
7505
case `/usr/bin/file conftest.$ac_objext` in
7521
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
7522
SAVE_CFLAGS="$CFLAGS"
7523
CFLAGS="$CFLAGS -belf"
7524
echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
7525
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
7526
if test "${lt_cv_cc_needs_belf+set}" = set; then
7527
echo $ECHO_N "(cached) $ECHO_C" >&6
7532
ac_cpp='$CPP $CPPFLAGS'
7533
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7534
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7535
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7537
cat >conftest.$ac_ext <<_ACEOF
7540
cat confdefs.h >>conftest.$ac_ext
7541
cat >>conftest.$ac_ext <<_ACEOF
7542
/* end confdefs.h. */
7552
rm -f conftest.$ac_objext conftest$ac_exeext
7553
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7554
(eval $ac_link) 2>conftest.er1
7556
grep -v '^ *+' conftest.er1 >conftest.err
7558
cat conftest.err >&5
7559
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7560
(exit $ac_status); } &&
7561
{ ac_try='test -z "$ac_c_werror_flag"
7562
|| test ! -s conftest.err'
7563
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7566
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7567
(exit $ac_status); }; } &&
7568
{ ac_try='test -s conftest$ac_exeext'
7569
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7572
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7573
(exit $ac_status); }; }; then
7574
lt_cv_cc_needs_belf=yes
7576
echo "$as_me: failed program was:" >&5
7577
sed 's/^/| /' conftest.$ac_ext >&5
7579
lt_cv_cc_needs_belf=no
7581
rm -f conftest.err conftest.$ac_objext \
7582
conftest$ac_exeext conftest.$ac_ext
7584
ac_cpp='$CPP $CPPFLAGS'
7585
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7586
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7587
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7590
echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
7591
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
7592
if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7593
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7594
CFLAGS="$SAVE_CFLAGS"
7602
# Save cache, so that ltconfig can load it
7603
cat >confcache <<\_ACEOF
7604
# This file is a shell script that caches the results of configure
7605
# tests run on this system so they can be shared between configure
7606
# scripts and configure runs, see configure's option --config-cache.
7607
# It is not useful on other systems. If it contains results you don't
7608
# want to keep, you may remove or edit it.
7610
# config.status only pays attention to the cache file if you give it
7611
# the --recheck option to rerun configure.
7613
# `ac_cv_env_foo' variables (set or unset) will be overridden when
7614
# loading this file, other *unset* `ac_cv_foo' will be assigned the
7619
# The following way of writing the cache mishandles newlines in values,
7620
# but we know of no workaround that is simple, portable, and efficient.
7621
# So, don't put newlines in cache variables' values.
7622
# Ultrix sh set writes to stderr and can't be redirected directly,
7623
# and sets the high bit in the cache file unless we assign to the vars.
7626
case `(ac_space=' '; set | grep ac_space) 2>&1` in
7628
# `set' does not quote correctly, so add quotes (double-quote
7629
# substitution turns \\\\ into \\, and sed turns \\ into \).
7632
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7635
# `set' quotes correctly as required by POSIX, so do not add quotes.
7637
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
7644
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7646
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7648
if diff $cache_file confcache >/dev/null 2>&1; then :; else
7649
if test -w $cache_file; then
7650
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
7651
cat confcache >$cache_file
7653
echo "not updating unwritable cache $cache_file"
7658
# Actually configure libtool. ac_aux_dir is where install-sh is found.
7659
AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
7660
MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
7661
LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
7662
AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
7663
objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
7664
deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
7665
${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
7666
$libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
7667
|| { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
7668
echo "$as_me: error: libtool configure failed" >&2;}
7669
{ (exit 1); exit 1; }; }
7671
# Reload cache, that may have been modified by ltconfig
7672
if test -r "$cache_file"; then
7673
# Some versions of bash will fail to source /dev/null (special
7674
# files actually), so we avoid doing that.
7675
if test -f "$cache_file"; then
7676
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
7677
echo "$as_me: loading cache $cache_file" >&6;}
7679
[\\/]* | ?:[\\/]* ) . $cache_file;;
7680
*) . ./$cache_file;;
7684
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
7685
echo "$as_me: creating cache $cache_file" >&6;}
7690
# This can be used to rebuild libtool when needed
7691
LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
7693
# Always use our own libtool.
7694
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7696
# Redirect the config.log output again, so that the ltconfig log is not
7697
# clobbered by the next message.
7698
exec 5>>./config.log
7702
LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
7704
lt_save_CFLAGS="$CFLAGS"
7705
AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
7706
MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
7707
LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
7708
AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
7709
objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
7710
deplibs_check_method="$deplibs_check_method" \
7711
file_magic_cmd="$file_magic_cmd" \
7712
${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
7713
--build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
7714
|| { { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
7715
echo "$as_me: error: libtool tag configuration failed" >&2;}
7716
{ (exit 1); exit 1; }; }
7718
CFLAGS="$lt_save_CFLAGS"
7720
# Redirect the config.log output again, so that the ltconfig log is not
7721
# clobbered by the next message.
7722
exec 5>>./config.log
7734
ac_cpp='$CPP $CPPFLAGS'
7735
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7736
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7737
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7742
ac_cpp='$CPP $CPPFLAGS'
7743
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7744
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7745
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7755
LIBTOOL_SHELL="/bin/sh ./libtool"
7756
# LIBTOOL="$LIBTOOL --silent"
7757
KDE_PLUGIN="-avoid-version -module -no-undefined \$(KDE_RPATH) \$(KDE_MT_LDFLAGS)"
7760
# Check whether --enable-objprelink or --disable-objprelink was given.
7761
if test "${enable_objprelink+set}" = set; then
7762
enableval="$enable_objprelink"
7763
kde_use_objprelink=$enableval
7765
kde_use_objprelink=no
7767
if test "x$kde_use_objprelink" = "xyes"; then
7770
echo "$as_me:$LINENO: checking for objprelink" >&5
7771
echo $ECHO_N "checking for objprelink... $ECHO_C" >&6
7772
if test -n "$OBJPRELINK"; then
7773
kde_cv_path="$OBJPRELINK";
7775
kde_cache=`echo objprelink | sed 'y%./+-%__p_%'`
7777
if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
7778
echo $ECHO_N "(cached) $ECHO_C" >&6
7785
for dir in $PATH; do
7790
for dir in $dirs; do
7791
if test -x "$dir/objprelink"; then
7794
evalstr="$dir/objprelink 2>&1 "
7795
if eval $evalstr; then
7796
kde_cv_path="$dir/objprelink"
7800
kde_cv_path="$dir/objprelink"
7806
eval "kde_cv_path_$kde_cache=$kde_cv_path"
7812
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
7816
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
7817
echo "$as_me:$LINENO: result: not found" >&5
7818
echo "${ECHO_T}not found" >&6
7819
kde_use_objprelink=no
7821
echo "$as_me:$LINENO: result: $kde_cv_path" >&5
7822
echo "${ECHO_T}$kde_cv_path" >&6
7823
OBJPRELINK=$kde_cv_path
7828
if test "x$kde_use_objprelink" = "xyes"; then
7829
echo "$as_me:$LINENO: checking Patching libtool to run objprelink." >&5
7830
echo $ECHO_N "checking Patching libtool to run objprelink.... $ECHO_C" >&6
7831
mv libtool libtool.orig
7832
cat > libtool <<\EOF
7834
for n ; do case $n in
7835
*.o) test -r $n && echo objprelink $n && objprelink $n ;;
7836
*.lo) m=`basename $n .lo`".o" && test -r $m && echo objprelink $m && objprelink $m
7837
m=".libs/$m" && test -r $m && echo objprelink $m && objprelink $m ;;
7840
cat >> libtool libtool.orig
7843
echo "$as_me:$LINENO: result: done" >&5
7844
echo "${ECHO_T}done" >&6
7849
all_libraries="$all_libraries $USER_LDFLAGS"
7850
all_includes="$all_includes $USER_INCLUDES"
7856
# Extract the first word of "msgfmt", so it can be a program name with args.
7857
set dummy msgfmt; ac_word=$2
7858
echo "$as_me:$LINENO: checking for $ac_word" >&5
7859
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7860
if test "${ac_cv_path_MSGFMT+set}" = set; then
7861
echo $ECHO_N "(cached) $ECHO_C" >&6
7865
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
7868
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
7869
for ac_dir in $PATH; do
7870
test -z "$ac_dir" && ac_dir=.
7871
if test -f $ac_dir/$ac_word; then
7872
if test -n "`$ac_dir/$ac_word --version 2>&1 | grep 'GNU gettext'`"; then
7873
ac_cv_path_MSGFMT="$ac_dir/$ac_word"
7879
test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="msgfmt"
7883
MSGFMT="$ac_cv_path_MSGFMT"
7884
if test -n "$MSGFMT"; then
7885
echo "$as_me:$LINENO: result: $MSGFMT" >&5
7886
echo "${ECHO_T}$MSGFMT" >&6
7888
echo "$as_me:$LINENO: result: no" >&5
7889
echo "${ECHO_T}no" >&6
7892
# Extract the first word of "gmsgfmt", so it can be a program name with args.
7893
set dummy gmsgfmt; ac_word=$2
7894
echo "$as_me:$LINENO: checking for $ac_word" >&5
7895
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7896
if test "${ac_cv_path_GMSGFMT+set}" = set; then
7897
echo $ECHO_N "(cached) $ECHO_C" >&6
7901
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
7904
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7908
test -z "$as_dir" && as_dir=.
7909
for ac_exec_ext in '' $ac_executable_extensions; do
7910
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7911
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
7912
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7918
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
7922
GMSGFMT=$ac_cv_path_GMSGFMT
7924
if test -n "$GMSGFMT"; then
7925
echo "$as_me:$LINENO: result: $GMSGFMT" >&5
7926
echo "${ECHO_T}$GMSGFMT" >&6
7928
echo "$as_me:$LINENO: result: no" >&5
7929
echo "${ECHO_T}no" >&6
7933
if test -z "`$GMSGFMT --version 2>&1 | grep 'GNU gettext'`"; then
7934
echo "$as_me:$LINENO: result: found msgfmt program is not GNU msgfmt; ignore it" >&5
7935
echo "${ECHO_T}found msgfmt program is not GNU msgfmt; ignore it" >&6
7942
# Extract the first word of "xgettext", so it can be a program name with args.
7943
set dummy xgettext; ac_word=$2
7944
echo "$as_me:$LINENO: checking for $ac_word" >&5
7945
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7946
if test "${ac_cv_path_XGETTEXT+set}" = set; then
7947
echo $ECHO_N "(cached) $ECHO_C" >&6
7951
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
7954
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
7955
for ac_dir in $PATH; do
7956
test -z "$ac_dir" && ac_dir=.
7957
if test -f $ac_dir/$ac_word; then
7958
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
7959
ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
7965
test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
7969
XGETTEXT="$ac_cv_path_XGETTEXT"
7970
if test -n "$XGETTEXT"; then
7971
echo "$as_me:$LINENO: result: $XGETTEXT" >&5
7972
echo "${ECHO_T}$XGETTEXT" >&6
7974
echo "$as_me:$LINENO: result: no" >&5
7975
echo "${ECHO_T}no" >&6
7979
if test "$XGETTEXT" != ":"; then
7980
if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
7983
echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
7984
echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6
7993
if test -z "3"; then
7997
kde_qtsubver=`echo "3" | sed -e 's#[0-9][0-9]*\.\([0-9][0-9]*\).*#\1#'`
7998
# following is the check if subversion isn�t found in passed argument
7999
if test "$kde_qtsubver" = "3"; then
8002
kde_qtver=`echo "3" | sed -e 's#^\([0-9][0-9]*\)\..*#\1#'`
8003
if test "$kde_qtver" = "1"; then
8009
if test "$kde_qtver" = "2"; then
8010
if test $kde_qtsubver -gt 0; then
8011
kde_qt_minversion=">= Qt 2.2.2"
8013
kde_qt_minversion=">= Qt 2.0.2"
8016
if test "$kde_qtver" = "3"; then
8017
kde_qt_minversion=">= Qt 3.0.3"
8019
if test "$kde_qtver" = "1"; then
8020
kde_qt_minversion=">= 1.42 and < 2.0"
8027
if test $kde_qtver = 3; then
8028
kde_qt_verstring="QT_VERSION >= 303"
8030
if test $kde_qtver = 2; then
8031
if test $kde_qtsubver -gt 0; then
8032
kde_qt_verstring="QT_VERSION >= 222"
8034
kde_qt_verstring="QT_VERSION >= 200"
8037
if test $kde_qtver = 1; then
8038
kde_qt_verstring="QT_VERSION >= 142 && QT_VERSION < 200"
8044
if test $kde_qtver = 3; then
8045
kde_qt_dirs="$QTDIR /usr/lib/qt3 /usr/lib/qt"
8047
if test $kde_qtver = 2; then
8048
kde_qt_dirs="$QTDIR /usr/lib/qt2 /usr/lib/qt"
8050
if test $kde_qtver = 1; then
8051
kde_qt_dirs="$QTDIR /usr/lib/qt"
8055
echo "$as_me:$LINENO: checking for egrep" >&5
8056
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
8057
if test "${ac_cv_prog_egrep+set}" = set; then
8058
echo $ECHO_N "(cached) $ECHO_C" >&6
8060
if echo a | (grep -E '(a|b)') >/dev/null 2>&1
8061
then ac_cv_prog_egrep='grep -E'
8062
else ac_cv_prog_egrep='egrep'
8065
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
8066
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
8067
EGREP=$ac_cv_prog_egrep
8070
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
8071
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
8072
if test "${ac_cv_header_stdc+set}" = set; then
8073
echo $ECHO_N "(cached) $ECHO_C" >&6
8075
cat >conftest.$ac_ext <<_ACEOF
8078
cat confdefs.h >>conftest.$ac_ext
8079
cat >>conftest.$ac_ext <<_ACEOF
8080
/* end confdefs.h. */
8094
rm -f conftest.$ac_objext
8095
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8096
(eval $ac_compile) 2>conftest.er1
8098
grep -v '^ *+' conftest.er1 >conftest.err
8100
cat conftest.err >&5
8101
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8102
(exit $ac_status); } &&
8103
{ ac_try='test -z "$ac_c_werror_flag"
8104
|| test ! -s conftest.err'
8105
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8108
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8109
(exit $ac_status); }; } &&
8110
{ ac_try='test -s conftest.$ac_objext'
8111
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8114
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8115
(exit $ac_status); }; }; then
8116
ac_cv_header_stdc=yes
8118
echo "$as_me: failed program was:" >&5
8119
sed 's/^/| /' conftest.$ac_ext >&5
8121
ac_cv_header_stdc=no
8123
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8125
if test $ac_cv_header_stdc = yes; then
8126
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8127
cat >conftest.$ac_ext <<_ACEOF
8130
cat confdefs.h >>conftest.$ac_ext
8131
cat >>conftest.$ac_ext <<_ACEOF
8132
/* end confdefs.h. */
8136
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8137
$EGREP "memchr" >/dev/null 2>&1; then
8140
ac_cv_header_stdc=no
8146
if test $ac_cv_header_stdc = yes; then
8147
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8148
cat >conftest.$ac_ext <<_ACEOF
8151
cat confdefs.h >>conftest.$ac_ext
8152
cat >>conftest.$ac_ext <<_ACEOF
8153
/* end confdefs.h. */
8157
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8158
$EGREP "free" >/dev/null 2>&1; then
8161
ac_cv_header_stdc=no
8167
if test $ac_cv_header_stdc = yes; then
8168
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8169
if test "$cross_compiling" = yes; then
8172
cat >conftest.$ac_ext <<_ACEOF
8175
cat confdefs.h >>conftest.$ac_ext
8176
cat >>conftest.$ac_ext <<_ACEOF
8177
/* end confdefs.h. */
8179
#if ((' ' & 0x0FF) == 0x020)
8180
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8181
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8183
# define ISLOWER(c) \
8184
(('a' <= (c) && (c) <= 'i') \
8185
|| ('j' <= (c) && (c) <= 'r') \
8186
|| ('s' <= (c) && (c) <= 'z'))
8187
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8190
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8195
for (i = 0; i < 256; i++)
8196
if (XOR (islower (i), ISLOWER (i))
8197
|| toupper (i) != TOUPPER (i))
8202
rm -f conftest$ac_exeext
8203
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8204
(eval $ac_link) 2>&5
8206
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8207
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8208
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8211
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8212
(exit $ac_status); }; }; then
8215
echo "$as_me: program exited with status $ac_status" >&5
8216
echo "$as_me: failed program was:" >&5
8217
sed 's/^/| /' conftest.$ac_ext >&5
8220
ac_cv_header_stdc=no
8222
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8226
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
8227
echo "${ECHO_T}$ac_cv_header_stdc" >&6
8228
if test $ac_cv_header_stdc = yes; then
8230
cat >>confdefs.h <<\_ACEOF
8231
#define STDC_HEADERS 1
8236
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
8246
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8247
inttypes.h stdint.h unistd.h
8249
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8250
echo "$as_me:$LINENO: checking for $ac_header" >&5
8251
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8252
if eval "test \"\${$as_ac_Header+set}\" = set"; then
8253
echo $ECHO_N "(cached) $ECHO_C" >&6
8255
cat >conftest.$ac_ext <<_ACEOF
8258
cat confdefs.h >>conftest.$ac_ext
8259
cat >>conftest.$ac_ext <<_ACEOF
8260
/* end confdefs.h. */
8261
$ac_includes_default
8263
#include <$ac_header>
8265
rm -f conftest.$ac_objext
8266
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8267
(eval $ac_compile) 2>conftest.er1
8269
grep -v '^ *+' conftest.er1 >conftest.err
8271
cat conftest.err >&5
8272
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8273
(exit $ac_status); } &&
8274
{ ac_try='test -z "$ac_c_werror_flag"
8275
|| test ! -s conftest.err'
8276
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8279
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8280
(exit $ac_status); }; } &&
8281
{ ac_try='test -s conftest.$ac_objext'
8282
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8285
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8286
(exit $ac_status); }; }; then
8287
eval "$as_ac_Header=yes"
8289
echo "$as_me: failed program was:" >&5
8290
sed 's/^/| /' conftest.$ac_ext >&5
8292
eval "$as_ac_Header=no"
8294
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8296
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8297
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8298
if test `eval echo '${'$as_ac_Header'}'` = yes; then
8299
cat >>confdefs.h <<_ACEOF
8300
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8310
ac_cpp='$CPP $CPPFLAGS'
8311
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8312
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8313
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8315
echo "$as_me:$LINENO: checking for main in -lutil" >&5
8316
echo $ECHO_N "checking for main in -lutil... $ECHO_C" >&6
8317
if test "${ac_cv_lib_util_main+set}" = set; then
8318
echo $ECHO_N "(cached) $ECHO_C" >&6
8320
ac_check_lib_save_LIBS=$LIBS
8322
cat >conftest.$ac_ext <<_ACEOF
8325
cat confdefs.h >>conftest.$ac_ext
8326
cat >>conftest.$ac_ext <<_ACEOF
8327
/* end confdefs.h. */
8338
rm -f conftest.$ac_objext conftest$ac_exeext
8339
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8340
(eval $ac_link) 2>conftest.er1
8342
grep -v '^ *+' conftest.er1 >conftest.err
8344
cat conftest.err >&5
8345
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8346
(exit $ac_status); } &&
8347
{ ac_try='test -z "$ac_c_werror_flag"
8348
|| test ! -s conftest.err'
8349
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8352
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8353
(exit $ac_status); }; } &&
8354
{ ac_try='test -s conftest$ac_exeext'
8355
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8358
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8359
(exit $ac_status); }; }; then
8360
ac_cv_lib_util_main=yes
8362
echo "$as_me: failed program was:" >&5
8363
sed 's/^/| /' conftest.$ac_ext >&5
8365
ac_cv_lib_util_main=no
8367
rm -f conftest.err conftest.$ac_objext \
8368
conftest$ac_exeext conftest.$ac_ext
8369
LIBS=$ac_check_lib_save_LIBS
8371
echo "$as_me:$LINENO: result: $ac_cv_lib_util_main" >&5
8372
echo "${ECHO_T}$ac_cv_lib_util_main" >&6
8373
if test $ac_cv_lib_util_main = yes; then
8377
echo "$as_me:$LINENO: checking for main in -lcompat" >&5
8378
echo $ECHO_N "checking for main in -lcompat... $ECHO_C" >&6
8379
if test "${ac_cv_lib_compat_main+set}" = set; then
8380
echo $ECHO_N "(cached) $ECHO_C" >&6
8382
ac_check_lib_save_LIBS=$LIBS
8383
LIBS="-lcompat $LIBS"
8384
cat >conftest.$ac_ext <<_ACEOF
8387
cat confdefs.h >>conftest.$ac_ext
8388
cat >>conftest.$ac_ext <<_ACEOF
8389
/* end confdefs.h. */
8400
rm -f conftest.$ac_objext conftest$ac_exeext
8401
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8402
(eval $ac_link) 2>conftest.er1
8404
grep -v '^ *+' conftest.er1 >conftest.err
8406
cat conftest.err >&5
8407
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8408
(exit $ac_status); } &&
8409
{ ac_try='test -z "$ac_c_werror_flag"
8410
|| test ! -s conftest.err'
8411
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8414
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8415
(exit $ac_status); }; } &&
8416
{ ac_try='test -s conftest$ac_exeext'
8417
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8420
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8421
(exit $ac_status); }; }; then
8422
ac_cv_lib_compat_main=yes
8424
echo "$as_me: failed program was:" >&5
8425
sed 's/^/| /' conftest.$ac_ext >&5
8427
ac_cv_lib_compat_main=no
8429
rm -f conftest.err conftest.$ac_objext \
8430
conftest$ac_exeext conftest.$ac_ext
8431
LIBS=$ac_check_lib_save_LIBS
8433
echo "$as_me:$LINENO: result: $ac_cv_lib_compat_main" >&5
8434
echo "${ECHO_T}$ac_cv_lib_compat_main" >&6
8435
if test $ac_cv_lib_compat_main = yes; then
8436
LIBCOMPAT="-lcompat"
8440
echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5
8441
echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6
8442
if test "${ac_cv_lib_crypt_crypt+set}" = set; then
8443
echo $ECHO_N "(cached) $ECHO_C" >&6
8445
ac_check_lib_save_LIBS=$LIBS
8446
LIBS="-lcrypt $LIBS"
8447
cat >conftest.$ac_ext <<_ACEOF
8450
cat confdefs.h >>conftest.$ac_ext
8451
cat >>conftest.$ac_ext <<_ACEOF
8452
/* end confdefs.h. */
8454
/* Override any gcc2 internal prototype to avoid an error. */
8458
/* We use char because int might match the return type of a gcc2
8459
builtin and then its argument prototype would still apply. */
8469
rm -f conftest.$ac_objext conftest$ac_exeext
8470
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8471
(eval $ac_link) 2>conftest.er1
8473
grep -v '^ *+' conftest.er1 >conftest.err
8475
cat conftest.err >&5
8476
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8477
(exit $ac_status); } &&
8478
{ ac_try='test -z "$ac_c_werror_flag"
8479
|| test ! -s conftest.err'
8480
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8483
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8484
(exit $ac_status); }; } &&
8485
{ ac_try='test -s conftest$ac_exeext'
8486
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8489
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8490
(exit $ac_status); }; }; then
8491
ac_cv_lib_crypt_crypt=yes
8493
echo "$as_me: failed program was:" >&5
8494
sed 's/^/| /' conftest.$ac_ext >&5
8496
ac_cv_lib_crypt_crypt=no
8498
rm -f conftest.err conftest.$ac_objext \
8499
conftest$ac_exeext conftest.$ac_ext
8500
LIBS=$ac_check_lib_save_LIBS
8502
echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
8503
echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6
8504
if test $ac_cv_lib_crypt_crypt = yes; then
8505
LIBCRYPT="-lcrypt"; kde_have_crypt=yes
8507
echo "$as_me:$LINENO: checking for crypt in -lc" >&5
8508
echo $ECHO_N "checking for crypt in -lc... $ECHO_C" >&6
8509
if test "${ac_cv_lib_c_crypt+set}" = set; then
8510
echo $ECHO_N "(cached) $ECHO_C" >&6
8512
ac_check_lib_save_LIBS=$LIBS
8514
cat >conftest.$ac_ext <<_ACEOF
8517
cat confdefs.h >>conftest.$ac_ext
8518
cat >>conftest.$ac_ext <<_ACEOF
8519
/* end confdefs.h. */
8521
/* Override any gcc2 internal prototype to avoid an error. */
8525
/* We use char because int might match the return type of a gcc2
8526
builtin and then its argument prototype would still apply. */
8536
rm -f conftest.$ac_objext conftest$ac_exeext
8537
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8538
(eval $ac_link) 2>conftest.er1
8540
grep -v '^ *+' conftest.er1 >conftest.err
8542
cat conftest.err >&5
8543
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8544
(exit $ac_status); } &&
8545
{ ac_try='test -z "$ac_c_werror_flag"
8546
|| test ! -s conftest.err'
8547
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8550
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8551
(exit $ac_status); }; } &&
8552
{ ac_try='test -s conftest$ac_exeext'
8553
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8556
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8557
(exit $ac_status); }; }; then
8558
ac_cv_lib_c_crypt=yes
8560
echo "$as_me: failed program was:" >&5
8561
sed 's/^/| /' conftest.$ac_ext >&5
8563
ac_cv_lib_c_crypt=no
8565
rm -f conftest.err conftest.$ac_objext \
8566
conftest$ac_exeext conftest.$ac_ext
8567
LIBS=$ac_check_lib_save_LIBS
8569
echo "$as_me:$LINENO: result: $ac_cv_lib_c_crypt" >&5
8570
echo "${ECHO_T}$ac_cv_lib_c_crypt" >&6
8571
if test $ac_cv_lib_c_crypt = yes; then
8575
{ echo "$as_me:$LINENO: WARNING: you have no crypt in either libcrypt or libc.
8576
You should install libcrypt from another source or configure with PAM
8578
echo "$as_me: WARNING: you have no crypt in either libcrypt or libc.
8579
You should install libcrypt from another source or configure with PAM
8588
if test $kde_have_crypt = yes; then
8590
cat >>confdefs.h <<_ACEOF
8591
#define HAVE_CRYPT 1
8596
echo "$as_me:$LINENO: checking for socklen_t" >&5
8597
echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
8598
if test "${ac_cv_socklen_t+set}" = set; then
8599
echo $ECHO_N "(cached) $ECHO_C" >&6
8605
ac_cpp='$CXXCPP $CPPFLAGS'
8606
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8607
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8608
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8610
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8613
cat >conftest.$ac_ext <<_ACEOF
8616
cat confdefs.h >>conftest.$ac_ext
8617
cat >>conftest.$ac_ext <<_ACEOF
8618
/* end confdefs.h. */
8620
#include <sys/types.h>
8621
#include <sys/socket.h>
8628
getsockname(0,(struct sockaddr*)0, &a);
8634
rm -f conftest.$ac_objext
8635
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8636
(eval $ac_compile) 2>conftest.er1
8638
grep -v '^ *+' conftest.er1 >conftest.err
8640
cat conftest.err >&5
8641
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8642
(exit $ac_status); } &&
8643
{ ac_try='test -z "$ac_cxx_werror_flag"
8644
|| test ! -s conftest.err'
8645
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8648
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8649
(exit $ac_status); }; } &&
8650
{ ac_try='test -s conftest.$ac_objext'
8651
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8654
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8655
(exit $ac_status); }; }; then
8656
ac_cv_socklen_t=socklen_t
8658
echo "$as_me: failed program was:" >&5
8659
sed 's/^/| /' conftest.$ac_ext >&5
8661
cat >conftest.$ac_ext <<_ACEOF
8664
cat confdefs.h >>conftest.$ac_ext
8665
cat >>conftest.$ac_ext <<_ACEOF
8666
/* end confdefs.h. */
8668
#include <sys/types.h>
8669
#include <sys/socket.h>
8676
getsockname(0,(struct sockaddr*)0, &a);
8682
rm -f conftest.$ac_objext
8683
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8684
(eval $ac_compile) 2>conftest.er1
8686
grep -v '^ *+' conftest.er1 >conftest.err
8688
cat conftest.err >&5
8689
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8690
(exit $ac_status); } &&
8691
{ ac_try='test -z "$ac_cxx_werror_flag"
8692
|| test ! -s conftest.err'
8693
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8696
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8697
(exit $ac_status); }; } &&
8698
{ ac_try='test -s conftest.$ac_objext'
8699
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8702
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8703
(exit $ac_status); }; }; then
8706
echo "$as_me: failed program was:" >&5
8707
sed 's/^/| /' conftest.$ac_ext >&5
8709
ac_cv_socklen_t=size_t
8712
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8715
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8717
ac_cpp='$CPP $CPPFLAGS'
8718
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8719
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8720
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8726
echo "$as_me:$LINENO: result: $ac_cv_socklen_t" >&5
8727
echo "${ECHO_T}$ac_cv_socklen_t" >&6
8728
if test "$ac_cv_socklen_t" != "socklen_t"; then
8730
cat >>confdefs.h <<_ACEOF
8731
#define socklen_t $ac_cv_socklen_t
8736
cat >>confdefs.h <<_ACEOF
8737
#define ksize_t socklen_t
8743
ac_cpp='$CPP $CPPFLAGS'
8744
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8745
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8746
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8748
echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
8749
echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
8750
if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
8751
echo $ECHO_N "(cached) $ECHO_C" >&6
8753
ac_check_lib_save_LIBS=$LIBS
8755
cat >conftest.$ac_ext <<_ACEOF
8758
cat confdefs.h >>conftest.$ac_ext
8759
cat >>conftest.$ac_ext <<_ACEOF
8760
/* end confdefs.h. */
8762
/* Override any gcc2 internal prototype to avoid an error. */
8766
/* We use char because int might match the return type of a gcc2
8767
builtin and then its argument prototype would still apply. */
8777
rm -f conftest.$ac_objext conftest$ac_exeext
8778
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8779
(eval $ac_link) 2>conftest.er1
8781
grep -v '^ *+' conftest.er1 >conftest.err
8783
cat conftest.err >&5
8784
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8785
(exit $ac_status); } &&
8786
{ ac_try='test -z "$ac_c_werror_flag"
8787
|| test ! -s conftest.err'
8788
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8791
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8792
(exit $ac_status); }; } &&
8793
{ ac_try='test -s conftest$ac_exeext'
8794
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8797
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8798
(exit $ac_status); }; }; then
8799
ac_cv_lib_dnet_dnet_ntoa=yes
8801
echo "$as_me: failed program was:" >&5
8802
sed 's/^/| /' conftest.$ac_ext >&5
8804
ac_cv_lib_dnet_dnet_ntoa=no
8806
rm -f conftest.err conftest.$ac_objext \
8807
conftest$ac_exeext conftest.$ac_ext
8808
LIBS=$ac_check_lib_save_LIBS
8810
echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8811
echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
8812
if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
8813
X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
8816
if test $ac_cv_lib_dnet_dnet_ntoa = no; then
8817
echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
8818
echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
8819
if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
8820
echo $ECHO_N "(cached) $ECHO_C" >&6
8822
ac_check_lib_save_LIBS=$LIBS
8823
LIBS="-ldnet_stub $LIBS"
8824
cat >conftest.$ac_ext <<_ACEOF
8827
cat confdefs.h >>conftest.$ac_ext
8828
cat >>conftest.$ac_ext <<_ACEOF
8829
/* end confdefs.h. */
8831
/* Override any gcc2 internal prototype to avoid an error. */
8835
/* We use char because int might match the return type of a gcc2
8836
builtin and then its argument prototype would still apply. */
8846
rm -f conftest.$ac_objext conftest$ac_exeext
8847
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8848
(eval $ac_link) 2>conftest.er1
8850
grep -v '^ *+' conftest.er1 >conftest.err
8852
cat conftest.err >&5
8853
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8854
(exit $ac_status); } &&
8855
{ ac_try='test -z "$ac_c_werror_flag"
8856
|| test ! -s conftest.err'
8857
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8860
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8861
(exit $ac_status); }; } &&
8862
{ ac_try='test -s conftest$ac_exeext'
8863
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8866
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8867
(exit $ac_status); }; }; then
8868
ac_cv_lib_dnet_stub_dnet_ntoa=yes
8870
echo "$as_me: failed program was:" >&5
8871
sed 's/^/| /' conftest.$ac_ext >&5
8873
ac_cv_lib_dnet_stub_dnet_ntoa=no
8875
rm -f conftest.err conftest.$ac_objext \
8876
conftest$ac_exeext conftest.$ac_ext
8877
LIBS=$ac_check_lib_save_LIBS
8879
echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8880
echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
8881
if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
8882
X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
8886
echo "$as_me:$LINENO: checking for inet_ntoa" >&5
8887
echo $ECHO_N "checking for inet_ntoa... $ECHO_C" >&6
8888
if test "${ac_cv_func_inet_ntoa+set}" = set; then
8889
echo $ECHO_N "(cached) $ECHO_C" >&6
8891
cat >conftest.$ac_ext <<_ACEOF
8894
cat confdefs.h >>conftest.$ac_ext
8895
cat >>conftest.$ac_ext <<_ACEOF
8896
/* end confdefs.h. */
8897
/* Define inet_ntoa to an innocuous variant, in case <limits.h> declares inet_ntoa.
8898
For example, HP-UX 11i <limits.h> declares gettimeofday. */
8899
#define inet_ntoa innocuous_inet_ntoa
8901
/* System header to define __stub macros and hopefully few prototypes,
8902
which can conflict with char inet_ntoa (); below.
8903
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8904
<limits.h> exists even on freestanding compilers. */
8907
# include <limits.h>
8909
# include <assert.h>
8914
/* Override any gcc2 internal prototype to avoid an error. */
8919
/* We use char because int might match the return type of a gcc2
8920
builtin and then its argument prototype would still apply. */
8922
/* The GNU C library defines this for functions which it implements
8923
to always fail with ENOSYS. Some functions are actually named
8924
something starting with __ and the normal name is an alias. */
8925
#if defined (__stub_inet_ntoa) || defined (__stub___inet_ntoa)
8928
char (*f) () = inet_ntoa;
8937
return f != inet_ntoa;
8942
rm -f conftest.$ac_objext conftest$ac_exeext
8943
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8944
(eval $ac_link) 2>conftest.er1
8946
grep -v '^ *+' conftest.er1 >conftest.err
8948
cat conftest.err >&5
8949
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8950
(exit $ac_status); } &&
8951
{ ac_try='test -z "$ac_c_werror_flag"
8952
|| test ! -s conftest.err'
8953
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8956
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8957
(exit $ac_status); }; } &&
8958
{ ac_try='test -s conftest$ac_exeext'
8959
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8962
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8963
(exit $ac_status); }; }; then
8964
ac_cv_func_inet_ntoa=yes
8966
echo "$as_me: failed program was:" >&5
8967
sed 's/^/| /' conftest.$ac_ext >&5
8969
ac_cv_func_inet_ntoa=no
8971
rm -f conftest.err conftest.$ac_objext \
8972
conftest$ac_exeext conftest.$ac_ext
8974
echo "$as_me:$LINENO: result: $ac_cv_func_inet_ntoa" >&5
8975
echo "${ECHO_T}$ac_cv_func_inet_ntoa" >&6
8977
if test $ac_cv_func_inet_ntoa = no; then
8978
echo "$as_me:$LINENO: checking for inet_ntoa in -lnsl" >&5
8979
echo $ECHO_N "checking for inet_ntoa in -lnsl... $ECHO_C" >&6
8980
if test "${ac_cv_lib_nsl_inet_ntoa+set}" = set; then
8981
echo $ECHO_N "(cached) $ECHO_C" >&6
8983
ac_check_lib_save_LIBS=$LIBS
8985
cat >conftest.$ac_ext <<_ACEOF
8988
cat confdefs.h >>conftest.$ac_ext
8989
cat >>conftest.$ac_ext <<_ACEOF
8990
/* end confdefs.h. */
8992
/* Override any gcc2 internal prototype to avoid an error. */
8996
/* We use char because int might match the return type of a gcc2
8997
builtin and then its argument prototype would still apply. */
9007
rm -f conftest.$ac_objext conftest$ac_exeext
9008
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9009
(eval $ac_link) 2>conftest.er1
9011
grep -v '^ *+' conftest.er1 >conftest.err
9013
cat conftest.err >&5
9014
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9015
(exit $ac_status); } &&
9016
{ ac_try='test -z "$ac_c_werror_flag"
9017
|| test ! -s conftest.err'
9018
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9021
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9022
(exit $ac_status); }; } &&
9023
{ ac_try='test -s conftest$ac_exeext'
9024
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9027
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9028
(exit $ac_status); }; }; then
9029
ac_cv_lib_nsl_inet_ntoa=yes
9031
echo "$as_me: failed program was:" >&5
9032
sed 's/^/| /' conftest.$ac_ext >&5
9034
ac_cv_lib_nsl_inet_ntoa=no
9036
rm -f conftest.err conftest.$ac_objext \
9037
conftest$ac_exeext conftest.$ac_ext
9038
LIBS=$ac_check_lib_save_LIBS
9040
echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_ntoa" >&5
9041
echo "${ECHO_T}$ac_cv_lib_nsl_inet_ntoa" >&6
9042
if test $ac_cv_lib_nsl_inet_ntoa = yes; then
9043
X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9047
echo "$as_me:$LINENO: checking for connect" >&5
9048
echo $ECHO_N "checking for connect... $ECHO_C" >&6
9049
if test "${ac_cv_func_connect+set}" = set; then
9050
echo $ECHO_N "(cached) $ECHO_C" >&6
9052
cat >conftest.$ac_ext <<_ACEOF
9055
cat confdefs.h >>conftest.$ac_ext
9056
cat >>conftest.$ac_ext <<_ACEOF
9057
/* end confdefs.h. */
9058
/* Define connect to an innocuous variant, in case <limits.h> declares connect.
9059
For example, HP-UX 11i <limits.h> declares gettimeofday. */
9060
#define connect innocuous_connect
9062
/* System header to define __stub macros and hopefully few prototypes,
9063
which can conflict with char connect (); below.
9064
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9065
<limits.h> exists even on freestanding compilers. */
9068
# include <limits.h>
9070
# include <assert.h>
9075
/* Override any gcc2 internal prototype to avoid an error. */
9080
/* We use char because int might match the return type of a gcc2
9081
builtin and then its argument prototype would still apply. */
9083
/* The GNU C library defines this for functions which it implements
9084
to always fail with ENOSYS. Some functions are actually named
9085
something starting with __ and the normal name is an alias. */
9086
#if defined (__stub_connect) || defined (__stub___connect)
9089
char (*f) () = connect;
9098
return f != connect;
9103
rm -f conftest.$ac_objext conftest$ac_exeext
9104
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9105
(eval $ac_link) 2>conftest.er1
9107
grep -v '^ *+' conftest.er1 >conftest.err
9109
cat conftest.err >&5
9110
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9111
(exit $ac_status); } &&
9112
{ ac_try='test -z "$ac_c_werror_flag"
9113
|| test ! -s conftest.err'
9114
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9117
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9118
(exit $ac_status); }; } &&
9119
{ ac_try='test -s conftest$ac_exeext'
9120
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9123
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9124
(exit $ac_status); }; }; then
9125
ac_cv_func_connect=yes
9127
echo "$as_me: failed program was:" >&5
9128
sed 's/^/| /' conftest.$ac_ext >&5
9130
ac_cv_func_connect=no
9132
rm -f conftest.err conftest.$ac_objext \
9133
conftest$ac_exeext conftest.$ac_ext
9135
echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
9136
echo "${ECHO_T}$ac_cv_func_connect" >&6
9138
if test $ac_cv_func_connect = no; then
9139
echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
9140
echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
9141
if test "${ac_cv_lib_socket_connect+set}" = set; then
9142
echo $ECHO_N "(cached) $ECHO_C" >&6
9144
ac_check_lib_save_LIBS=$LIBS
9145
LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9146
cat >conftest.$ac_ext <<_ACEOF
9149
cat confdefs.h >>conftest.$ac_ext
9150
cat >>conftest.$ac_ext <<_ACEOF
9151
/* end confdefs.h. */
9153
/* Override any gcc2 internal prototype to avoid an error. */
9157
/* We use char because int might match the return type of a gcc2
9158
builtin and then its argument prototype would still apply. */
9168
rm -f conftest.$ac_objext conftest$ac_exeext
9169
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9170
(eval $ac_link) 2>conftest.er1
9172
grep -v '^ *+' conftest.er1 >conftest.err
9174
cat conftest.err >&5
9175
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9176
(exit $ac_status); } &&
9177
{ ac_try='test -z "$ac_c_werror_flag"
9178
|| test ! -s conftest.err'
9179
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9182
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9183
(exit $ac_status); }; } &&
9184
{ ac_try='test -s conftest$ac_exeext'
9185
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9188
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9189
(exit $ac_status); }; }; then
9190
ac_cv_lib_socket_connect=yes
9192
echo "$as_me: failed program was:" >&5
9193
sed 's/^/| /' conftest.$ac_ext >&5
9195
ac_cv_lib_socket_connect=no
9197
rm -f conftest.err conftest.$ac_objext \
9198
conftest$ac_exeext conftest.$ac_ext
9199
LIBS=$ac_check_lib_save_LIBS
9201
echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
9202
echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
9203
if test $ac_cv_lib_socket_connect = yes; then
9204
X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9209
echo "$as_me:$LINENO: checking for remove" >&5
9210
echo $ECHO_N "checking for remove... $ECHO_C" >&6
9211
if test "${ac_cv_func_remove+set}" = set; then
9212
echo $ECHO_N "(cached) $ECHO_C" >&6
9214
cat >conftest.$ac_ext <<_ACEOF
9217
cat confdefs.h >>conftest.$ac_ext
9218
cat >>conftest.$ac_ext <<_ACEOF
9219
/* end confdefs.h. */
9220
/* Define remove to an innocuous variant, in case <limits.h> declares remove.
9221
For example, HP-UX 11i <limits.h> declares gettimeofday. */
9222
#define remove innocuous_remove
9224
/* System header to define __stub macros and hopefully few prototypes,
9225
which can conflict with char remove (); below.
9226
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9227
<limits.h> exists even on freestanding compilers. */
9230
# include <limits.h>
9232
# include <assert.h>
9237
/* Override any gcc2 internal prototype to avoid an error. */
9242
/* We use char because int might match the return type of a gcc2
9243
builtin and then its argument prototype would still apply. */
9245
/* The GNU C library defines this for functions which it implements
9246
to always fail with ENOSYS. Some functions are actually named
9247
something starting with __ and the normal name is an alias. */
9248
#if defined (__stub_remove) || defined (__stub___remove)
9251
char (*f) () = remove;
9265
rm -f conftest.$ac_objext conftest$ac_exeext
9266
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9267
(eval $ac_link) 2>conftest.er1
9269
grep -v '^ *+' conftest.er1 >conftest.err
9271
cat conftest.err >&5
9272
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9273
(exit $ac_status); } &&
9274
{ ac_try='test -z "$ac_c_werror_flag"
9275
|| test ! -s conftest.err'
9276
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9279
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9280
(exit $ac_status); }; } &&
9281
{ ac_try='test -s conftest$ac_exeext'
9282
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9285
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9286
(exit $ac_status); }; }; then
9287
ac_cv_func_remove=yes
9289
echo "$as_me: failed program was:" >&5
9290
sed 's/^/| /' conftest.$ac_ext >&5
9292
ac_cv_func_remove=no
9294
rm -f conftest.err conftest.$ac_objext \
9295
conftest$ac_exeext conftest.$ac_ext
9297
echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
9298
echo "${ECHO_T}$ac_cv_func_remove" >&6
9300
if test $ac_cv_func_remove = no; then
9301
echo "$as_me:$LINENO: checking for remove in -lposix" >&5
9302
echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
9303
if test "${ac_cv_lib_posix_remove+set}" = set; then
9304
echo $ECHO_N "(cached) $ECHO_C" >&6
9306
ac_check_lib_save_LIBS=$LIBS
9307
LIBS="-lposix $LIBS"
9308
cat >conftest.$ac_ext <<_ACEOF
9311
cat confdefs.h >>conftest.$ac_ext
9312
cat >>conftest.$ac_ext <<_ACEOF
9313
/* end confdefs.h. */
9315
/* Override any gcc2 internal prototype to avoid an error. */
9319
/* We use char because int might match the return type of a gcc2
9320
builtin and then its argument prototype would still apply. */
9330
rm -f conftest.$ac_objext conftest$ac_exeext
9331
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9332
(eval $ac_link) 2>conftest.er1
9334
grep -v '^ *+' conftest.er1 >conftest.err
9336
cat conftest.err >&5
9337
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9338
(exit $ac_status); } &&
9339
{ ac_try='test -z "$ac_c_werror_flag"
9340
|| test ! -s conftest.err'
9341
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9344
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9345
(exit $ac_status); }; } &&
9346
{ ac_try='test -s conftest$ac_exeext'
9347
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9350
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9351
(exit $ac_status); }; }; then
9352
ac_cv_lib_posix_remove=yes
9354
echo "$as_me: failed program was:" >&5
9355
sed 's/^/| /' conftest.$ac_ext >&5
9357
ac_cv_lib_posix_remove=no
9359
rm -f conftest.err conftest.$ac_objext \
9360
conftest$ac_exeext conftest.$ac_ext
9361
LIBS=$ac_check_lib_save_LIBS
9363
echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
9364
echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
9365
if test $ac_cv_lib_posix_remove = yes; then
9366
X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9371
# BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9372
echo "$as_me:$LINENO: checking for shmat" >&5
9373
echo $ECHO_N "checking for shmat... $ECHO_C" >&6
9374
if test "${ac_cv_func_shmat+set}" = set; then
9375
echo $ECHO_N "(cached) $ECHO_C" >&6
9377
cat >conftest.$ac_ext <<_ACEOF
9380
cat confdefs.h >>conftest.$ac_ext
9381
cat >>conftest.$ac_ext <<_ACEOF
9382
/* end confdefs.h. */
9383
/* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
9384
For example, HP-UX 11i <limits.h> declares gettimeofday. */
9385
#define shmat innocuous_shmat
9387
/* System header to define __stub macros and hopefully few prototypes,
9388
which can conflict with char shmat (); below.
9389
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9390
<limits.h> exists even on freestanding compilers. */
9393
# include <limits.h>
9395
# include <assert.h>
9400
/* Override any gcc2 internal prototype to avoid an error. */
9405
/* We use char because int might match the return type of a gcc2
9406
builtin and then its argument prototype would still apply. */
9408
/* The GNU C library defines this for functions which it implements
9409
to always fail with ENOSYS. Some functions are actually named
9410
something starting with __ and the normal name is an alias. */
9411
#if defined (__stub_shmat) || defined (__stub___shmat)
9414
char (*f) () = shmat;
9428
rm -f conftest.$ac_objext conftest$ac_exeext
9429
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9430
(eval $ac_link) 2>conftest.er1
9432
grep -v '^ *+' conftest.er1 >conftest.err
9434
cat conftest.err >&5
9435
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9436
(exit $ac_status); } &&
9437
{ ac_try='test -z "$ac_c_werror_flag"
9438
|| test ! -s conftest.err'
9439
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9442
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9443
(exit $ac_status); }; } &&
9444
{ ac_try='test -s conftest$ac_exeext'
9445
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9448
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9449
(exit $ac_status); }; }; then
9450
ac_cv_func_shmat=yes
9452
echo "$as_me: failed program was:" >&5
9453
sed 's/^/| /' conftest.$ac_ext >&5
9457
rm -f conftest.err conftest.$ac_objext \
9458
conftest$ac_exeext conftest.$ac_ext
9460
echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
9461
echo "${ECHO_T}$ac_cv_func_shmat" >&6
9462
if test $ac_cv_func_shmat = yes; then
9465
echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
9466
echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
9467
if test "${ac_cv_lib_ipc_shmat+set}" = set; then
9468
echo $ECHO_N "(cached) $ECHO_C" >&6
9470
ac_check_lib_save_LIBS=$LIBS
9472
cat >conftest.$ac_ext <<_ACEOF
9475
cat confdefs.h >>conftest.$ac_ext
9476
cat >>conftest.$ac_ext <<_ACEOF
9477
/* end confdefs.h. */
9479
/* Override any gcc2 internal prototype to avoid an error. */
9483
/* We use char because int might match the return type of a gcc2
9484
builtin and then its argument prototype would still apply. */
9494
rm -f conftest.$ac_objext conftest$ac_exeext
9495
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9496
(eval $ac_link) 2>conftest.er1
9498
grep -v '^ *+' conftest.er1 >conftest.err
9500
cat conftest.err >&5
9501
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9502
(exit $ac_status); } &&
9503
{ ac_try='test -z "$ac_c_werror_flag"
9504
|| test ! -s conftest.err'
9505
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9508
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9509
(exit $ac_status); }; } &&
9510
{ ac_try='test -s conftest$ac_exeext'
9511
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9514
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9515
(exit $ac_status); }; }; then
9516
ac_cv_lib_ipc_shmat=yes
9518
echo "$as_me: failed program was:" >&5
9519
sed 's/^/| /' conftest.$ac_ext >&5
9521
ac_cv_lib_ipc_shmat=no
9523
rm -f conftest.err conftest.$ac_objext \
9524
conftest$ac_exeext conftest.$ac_ext
9525
LIBS=$ac_check_lib_save_LIBS
9527
echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
9528
echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
9529
if test $ac_cv_lib_ipc_shmat = yes; then
9530
X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9536
# Solaris 2.6 and others need -lresolv for res_init
9538
for ac_func in res_init
9540
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9541
echo "$as_me:$LINENO: checking for $ac_func" >&5
9542
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9543
if eval "test \"\${$as_ac_var+set}\" = set"; then
9544
echo $ECHO_N "(cached) $ECHO_C" >&6
9546
cat >conftest.$ac_ext <<_ACEOF
9549
cat confdefs.h >>conftest.$ac_ext
9550
cat >>conftest.$ac_ext <<_ACEOF
9551
/* end confdefs.h. */
9552
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9553
For example, HP-UX 11i <limits.h> declares gettimeofday. */
9554
#define $ac_func innocuous_$ac_func
9556
/* System header to define __stub macros and hopefully few prototypes,
9557
which can conflict with char $ac_func (); below.
9558
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9559
<limits.h> exists even on freestanding compilers. */
9562
# include <limits.h>
9564
# include <assert.h>
9569
/* Override any gcc2 internal prototype to avoid an error. */
9574
/* We use char because int might match the return type of a gcc2
9575
builtin and then its argument prototype would still apply. */
9577
/* The GNU C library defines this for functions which it implements
9578
to always fail with ENOSYS. Some functions are actually named
9579
something starting with __ and the normal name is an alias. */
9580
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9583
char (*f) () = $ac_func;
9592
return f != $ac_func;
9597
rm -f conftest.$ac_objext conftest$ac_exeext
9598
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9599
(eval $ac_link) 2>conftest.er1
9601
grep -v '^ *+' conftest.er1 >conftest.err
9603
cat conftest.err >&5
9604
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9605
(exit $ac_status); } &&
9606
{ ac_try='test -z "$ac_c_werror_flag"
9607
|| test ! -s conftest.err'
9608
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9611
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9612
(exit $ac_status); }; } &&
9613
{ ac_try='test -s conftest$ac_exeext'
9614
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9617
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9618
(exit $ac_status); }; }; then
9619
eval "$as_ac_var=yes"
9621
echo "$as_me: failed program was:" >&5
9622
sed 's/^/| /' conftest.$ac_ext >&5
9624
eval "$as_ac_var=no"
9626
rm -f conftest.err conftest.$ac_objext \
9627
conftest$ac_exeext conftest.$ac_ext
9629
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9630
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9631
if test `eval echo '${'$as_ac_var'}'` = yes; then
9632
cat >>confdefs.h <<_ACEOF
9633
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9638
kde_libs_safe="$LIBS"
9639
LIBS="$LIBS $X_EXTRA_LIBS -lresolv"
9640
cat >conftest.$ac_ext <<_ACEOF
9643
cat confdefs.h >>conftest.$ac_ext
9644
cat >>conftest.$ac_ext <<_ACEOF
9645
/* end confdefs.h. */
9659
rm -f conftest.$ac_objext conftest$ac_exeext
9660
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9661
(eval $ac_link) 2>conftest.er1
9663
grep -v '^ *+' conftest.er1 >conftest.err
9665
cat conftest.err >&5
9666
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9667
(exit $ac_status); } &&
9668
{ ac_try='test -z "$ac_c_werror_flag"
9669
|| test ! -s conftest.err'
9670
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9673
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9674
(exit $ac_status); }; } &&
9675
{ ac_try='test -s conftest$ac_exeext'
9676
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9679
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9680
(exit $ac_status); }; }; then
9681
LIBRESOLV="-lresolv"
9682
X_EXTRA_LIBS="$X_EXTRA_LIBS $LIBRESOLV"
9684
cat >>confdefs.h <<\_ACEOF
9685
#define HAVE_RES_INIT 1
9690
echo "$as_me: failed program was:" >&5
9691
sed 's/^/| /' conftest.$ac_ext >&5
9694
rm -f conftest.err conftest.$ac_objext \
9695
conftest$ac_exeext conftest.$ac_ext
9702
LIBSOCKET="$X_EXTRA_LIBS"
9706
echo "$as_me:$LINENO: checking for killpg in -lucb" >&5
9707
echo $ECHO_N "checking for killpg in -lucb... $ECHO_C" >&6
9708
if test "${ac_cv_lib_ucb_killpg+set}" = set; then
9709
echo $ECHO_N "(cached) $ECHO_C" >&6
9711
ac_check_lib_save_LIBS=$LIBS
9713
cat >conftest.$ac_ext <<_ACEOF
9716
cat confdefs.h >>conftest.$ac_ext
9717
cat >>conftest.$ac_ext <<_ACEOF
9718
/* end confdefs.h. */
9720
/* Override any gcc2 internal prototype to avoid an error. */
9724
/* We use char because int might match the return type of a gcc2
9725
builtin and then its argument prototype would still apply. */
9735
rm -f conftest.$ac_objext conftest$ac_exeext
9736
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9737
(eval $ac_link) 2>conftest.er1
9739
grep -v '^ *+' conftest.er1 >conftest.err
9741
cat conftest.err >&5
9742
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9743
(exit $ac_status); } &&
9744
{ ac_try='test -z "$ac_c_werror_flag"
9745
|| test ! -s conftest.err'
9746
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9749
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9750
(exit $ac_status); }; } &&
9751
{ ac_try='test -s conftest$ac_exeext'
9752
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9755
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9756
(exit $ac_status); }; }; then
9757
ac_cv_lib_ucb_killpg=yes
9759
echo "$as_me: failed program was:" >&5
9760
sed 's/^/| /' conftest.$ac_ext >&5
9762
ac_cv_lib_ucb_killpg=no
9764
rm -f conftest.err conftest.$ac_objext \
9765
conftest$ac_exeext conftest.$ac_ext
9766
LIBS=$ac_check_lib_save_LIBS
9768
echo "$as_me:$LINENO: result: $ac_cv_lib_ucb_killpg" >&5
9769
echo "${ECHO_T}$ac_cv_lib_ucb_killpg" >&6
9770
if test $ac_cv_lib_ucb_killpg = yes; then
9775
case $host in *-*-lynxos* )
9776
echo "$as_me:$LINENO: checking LynxOS header file wrappers" >&5
9777
echo $ECHO_N "checking LynxOS header file wrappers... $ECHO_C" >&6
9778
CFLAGS="$CFLAGS -D__NO_INCLUDE_WARN__"
9779
echo "$as_me:$LINENO: result: disabled" >&5
9780
echo "${ECHO_T}disabled" >&6
9781
echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
9782
echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
9783
if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
9784
echo $ECHO_N "(cached) $ECHO_C" >&6
9786
ac_check_lib_save_LIBS=$LIBS
9788
cat >conftest.$ac_ext <<_ACEOF
9791
cat confdefs.h >>conftest.$ac_ext
9792
cat >>conftest.$ac_ext <<_ACEOF
9793
/* end confdefs.h. */
9795
/* Override any gcc2 internal prototype to avoid an error. */
9799
/* We use char because int might match the return type of a gcc2
9800
builtin and then its argument prototype would still apply. */
9801
char gethostbyname ();
9810
rm -f conftest.$ac_objext conftest$ac_exeext
9811
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9812
(eval $ac_link) 2>conftest.er1
9814
grep -v '^ *+' conftest.er1 >conftest.err
9816
cat conftest.err >&5
9817
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9818
(exit $ac_status); } &&
9819
{ ac_try='test -z "$ac_c_werror_flag"
9820
|| test ! -s conftest.err'
9821
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9824
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9825
(exit $ac_status); }; } &&
9826
{ ac_try='test -s conftest$ac_exeext'
9827
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9830
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9831
(exit $ac_status); }; }; then
9832
ac_cv_lib_bsd_gethostbyname=yes
9834
echo "$as_me: failed program was:" >&5
9835
sed 's/^/| /' conftest.$ac_ext >&5
9837
ac_cv_lib_bsd_gethostbyname=no
9839
rm -f conftest.err conftest.$ac_objext \
9840
conftest$ac_exeext conftest.$ac_ext
9841
LIBS=$ac_check_lib_save_LIBS
9843
echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
9844
echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
9845
if test $ac_cv_lib_bsd_gethostbyname = yes; then
9851
echo "$as_me:$LINENO: checking for int" >&5
9852
echo $ECHO_N "checking for int... $ECHO_C" >&6
9853
if test "${ac_cv_type_int+set}" = set; then
9854
echo $ECHO_N "(cached) $ECHO_C" >&6
9856
cat >conftest.$ac_ext <<_ACEOF
9859
cat confdefs.h >>conftest.$ac_ext
9860
cat >>conftest.$ac_ext <<_ACEOF
9861
/* end confdefs.h. */
9862
$ac_includes_default
9874
rm -f conftest.$ac_objext
9875
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9876
(eval $ac_compile) 2>conftest.er1
9878
grep -v '^ *+' conftest.er1 >conftest.err
9880
cat conftest.err >&5
9881
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9882
(exit $ac_status); } &&
9883
{ ac_try='test -z "$ac_c_werror_flag"
9884
|| test ! -s conftest.err'
9885
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9888
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9889
(exit $ac_status); }; } &&
9890
{ ac_try='test -s conftest.$ac_objext'
9891
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9894
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9895
(exit $ac_status); }; }; then
9898
echo "$as_me: failed program was:" >&5
9899
sed 's/^/| /' conftest.$ac_ext >&5
9903
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9905
echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
9906
echo "${ECHO_T}$ac_cv_type_int" >&6
9908
echo "$as_me:$LINENO: checking size of int" >&5
9909
echo $ECHO_N "checking size of int... $ECHO_C" >&6
9910
if test "${ac_cv_sizeof_int+set}" = set; then
9911
echo $ECHO_N "(cached) $ECHO_C" >&6
9913
if test "$ac_cv_type_int" = yes; then
9914
# The cast to unsigned long works around a bug in the HP C Compiler
9915
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
9916
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
9917
# This bug is HP SR number 8606223364.
9918
if test "$cross_compiling" = yes; then
9919
# Depending upon the size, compute the lo and hi bounds.
9920
cat >conftest.$ac_ext <<_ACEOF
9923
cat confdefs.h >>conftest.$ac_ext
9924
cat >>conftest.$ac_ext <<_ACEOF
9925
/* end confdefs.h. */
9926
$ac_includes_default
9930
static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
9937
rm -f conftest.$ac_objext
9938
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9939
(eval $ac_compile) 2>conftest.er1
9941
grep -v '^ *+' conftest.er1 >conftest.err
9943
cat conftest.err >&5
9944
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9945
(exit $ac_status); } &&
9946
{ ac_try='test -z "$ac_c_werror_flag"
9947
|| test ! -s conftest.err'
9948
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9951
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9952
(exit $ac_status); }; } &&
9953
{ ac_try='test -s conftest.$ac_objext'
9954
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9957
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9958
(exit $ac_status); }; }; then
9961
cat >conftest.$ac_ext <<_ACEOF
9964
cat confdefs.h >>conftest.$ac_ext
9965
cat >>conftest.$ac_ext <<_ACEOF
9966
/* end confdefs.h. */
9967
$ac_includes_default
9971
static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
9978
rm -f conftest.$ac_objext
9979
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9980
(eval $ac_compile) 2>conftest.er1
9982
grep -v '^ *+' conftest.er1 >conftest.err
9984
cat conftest.err >&5
9985
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9986
(exit $ac_status); } &&
9987
{ ac_try='test -z "$ac_c_werror_flag"
9988
|| test ! -s conftest.err'
9989
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9992
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9993
(exit $ac_status); }; } &&
9994
{ ac_try='test -s conftest.$ac_objext'
9995
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9998
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9999
(exit $ac_status); }; }; then
10000
ac_hi=$ac_mid; break
10002
echo "$as_me: failed program was:" >&5
10003
sed 's/^/| /' conftest.$ac_ext >&5
10005
ac_lo=`expr $ac_mid + 1`
10006
if test $ac_lo -le $ac_mid; then
10010
ac_mid=`expr 2 '*' $ac_mid + 1`
10012
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10015
echo "$as_me: failed program was:" >&5
10016
sed 's/^/| /' conftest.$ac_ext >&5
10018
cat >conftest.$ac_ext <<_ACEOF
10021
cat confdefs.h >>conftest.$ac_ext
10022
cat >>conftest.$ac_ext <<_ACEOF
10023
/* end confdefs.h. */
10024
$ac_includes_default
10028
static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
10035
rm -f conftest.$ac_objext
10036
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10037
(eval $ac_compile) 2>conftest.er1
10039
grep -v '^ *+' conftest.er1 >conftest.err
10041
cat conftest.err >&5
10042
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10043
(exit $ac_status); } &&
10044
{ ac_try='test -z "$ac_c_werror_flag"
10045
|| test ! -s conftest.err'
10046
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10047
(eval $ac_try) 2>&5
10049
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10050
(exit $ac_status); }; } &&
10051
{ ac_try='test -s conftest.$ac_objext'
10052
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10053
(eval $ac_try) 2>&5
10055
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10056
(exit $ac_status); }; }; then
10059
cat >conftest.$ac_ext <<_ACEOF
10062
cat confdefs.h >>conftest.$ac_ext
10063
cat >>conftest.$ac_ext <<_ACEOF
10064
/* end confdefs.h. */
10065
$ac_includes_default
10069
static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
10076
rm -f conftest.$ac_objext
10077
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10078
(eval $ac_compile) 2>conftest.er1
10080
grep -v '^ *+' conftest.er1 >conftest.err
10082
cat conftest.err >&5
10083
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10084
(exit $ac_status); } &&
10085
{ ac_try='test -z "$ac_c_werror_flag"
10086
|| test ! -s conftest.err'
10087
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10088
(eval $ac_try) 2>&5
10090
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10091
(exit $ac_status); }; } &&
10092
{ ac_try='test -s conftest.$ac_objext'
10093
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10094
(eval $ac_try) 2>&5
10096
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10097
(exit $ac_status); }; }; then
10098
ac_lo=$ac_mid; break
10100
echo "$as_me: failed program was:" >&5
10101
sed 's/^/| /' conftest.$ac_ext >&5
10103
ac_hi=`expr '(' $ac_mid ')' - 1`
10104
if test $ac_mid -le $ac_hi; then
10108
ac_mid=`expr 2 '*' $ac_mid`
10110
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10113
echo "$as_me: failed program was:" >&5
10114
sed 's/^/| /' conftest.$ac_ext >&5
10118
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10120
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10121
# Binary search between lo and hi bounds.
10122
while test "x$ac_lo" != "x$ac_hi"; do
10123
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
10124
cat >conftest.$ac_ext <<_ACEOF
10127
cat confdefs.h >>conftest.$ac_ext
10128
cat >>conftest.$ac_ext <<_ACEOF
10129
/* end confdefs.h. */
10130
$ac_includes_default
10134
static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
10141
rm -f conftest.$ac_objext
10142
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10143
(eval $ac_compile) 2>conftest.er1
10145
grep -v '^ *+' conftest.er1 >conftest.err
10147
cat conftest.err >&5
10148
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10149
(exit $ac_status); } &&
10150
{ ac_try='test -z "$ac_c_werror_flag"
10151
|| test ! -s conftest.err'
10152
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10153
(eval $ac_try) 2>&5
10155
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10156
(exit $ac_status); }; } &&
10157
{ ac_try='test -s conftest.$ac_objext'
10158
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10159
(eval $ac_try) 2>&5
10161
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10162
(exit $ac_status); }; }; then
10165
echo "$as_me: failed program was:" >&5
10166
sed 's/^/| /' conftest.$ac_ext >&5
10168
ac_lo=`expr '(' $ac_mid ')' + 1`
10170
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10173
?*) ac_cv_sizeof_int=$ac_lo;;
10174
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
10175
See \`config.log' for more details." >&5
10176
echo "$as_me: error: cannot compute sizeof (int), 77
10177
See \`config.log' for more details." >&2;}
10178
{ (exit 1); exit 1; }; } ;;
10181
if test "$cross_compiling" = yes; then
10182
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
10183
See \`config.log' for more details." >&5
10184
echo "$as_me: error: cannot run test program while cross compiling
10185
See \`config.log' for more details." >&2;}
10186
{ (exit 1); exit 1; }; }
10188
cat >conftest.$ac_ext <<_ACEOF
10191
cat confdefs.h >>conftest.$ac_ext
10192
cat >>conftest.$ac_ext <<_ACEOF
10193
/* end confdefs.h. */
10194
$ac_includes_default
10195
long longval () { return (long) (sizeof (int)); }
10196
unsigned long ulongval () { return (long) (sizeof (int)); }
10198
#include <stdlib.h>
10203
FILE *f = fopen ("conftest.val", "w");
10206
if (((long) (sizeof (int))) < 0)
10208
long i = longval ();
10209
if (i != ((long) (sizeof (int))))
10211
fprintf (f, "%ld\n", i);
10215
unsigned long i = ulongval ();
10216
if (i != ((long) (sizeof (int))))
10218
fprintf (f, "%lu\n", i);
10220
exit (ferror (f) || fclose (f) != 0);
10226
rm -f conftest$ac_exeext
10227
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10228
(eval $ac_link) 2>&5
10230
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10231
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10232
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10233
(eval $ac_try) 2>&5
10235
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10236
(exit $ac_status); }; }; then
10237
ac_cv_sizeof_int=`cat conftest.val`
10239
echo "$as_me: program exited with status $ac_status" >&5
10240
echo "$as_me: failed program was:" >&5
10241
sed 's/^/| /' conftest.$ac_ext >&5
10243
( exit $ac_status )
10244
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
10245
See \`config.log' for more details." >&5
10246
echo "$as_me: error: cannot compute sizeof (int), 77
10247
See \`config.log' for more details." >&2;}
10248
{ (exit 1); exit 1; }; }
10250
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10258
echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
10259
echo "${ECHO_T}$ac_cv_sizeof_int" >&6
10260
cat >>confdefs.h <<_ACEOF
10261
#define SIZEOF_INT $ac_cv_sizeof_int
10264
echo "$as_me:$LINENO: checking for long" >&5
10265
echo $ECHO_N "checking for long... $ECHO_C" >&6
10266
if test "${ac_cv_type_long+set}" = set; then
10267
echo $ECHO_N "(cached) $ECHO_C" >&6
10269
cat >conftest.$ac_ext <<_ACEOF
10272
cat confdefs.h >>conftest.$ac_ext
10273
cat >>conftest.$ac_ext <<_ACEOF
10274
/* end confdefs.h. */
10275
$ac_includes_default
10287
rm -f conftest.$ac_objext
10288
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10289
(eval $ac_compile) 2>conftest.er1
10291
grep -v '^ *+' conftest.er1 >conftest.err
10293
cat conftest.err >&5
10294
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10295
(exit $ac_status); } &&
10296
{ ac_try='test -z "$ac_c_werror_flag"
10297
|| test ! -s conftest.err'
10298
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10299
(eval $ac_try) 2>&5
10301
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10302
(exit $ac_status); }; } &&
10303
{ ac_try='test -s conftest.$ac_objext'
10304
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10305
(eval $ac_try) 2>&5
10307
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10308
(exit $ac_status); }; }; then
10309
ac_cv_type_long=yes
10311
echo "$as_me: failed program was:" >&5
10312
sed 's/^/| /' conftest.$ac_ext >&5
10316
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10318
echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
10319
echo "${ECHO_T}$ac_cv_type_long" >&6
10321
echo "$as_me:$LINENO: checking size of long" >&5
10322
echo $ECHO_N "checking size of long... $ECHO_C" >&6
10323
if test "${ac_cv_sizeof_long+set}" = set; then
10324
echo $ECHO_N "(cached) $ECHO_C" >&6
10326
if test "$ac_cv_type_long" = yes; then
10327
# The cast to unsigned long works around a bug in the HP C Compiler
10328
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
10329
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
10330
# This bug is HP SR number 8606223364.
10331
if test "$cross_compiling" = yes; then
10332
# Depending upon the size, compute the lo and hi bounds.
10333
cat >conftest.$ac_ext <<_ACEOF
10336
cat confdefs.h >>conftest.$ac_ext
10337
cat >>conftest.$ac_ext <<_ACEOF
10338
/* end confdefs.h. */
10339
$ac_includes_default
10343
static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
10350
rm -f conftest.$ac_objext
10351
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10352
(eval $ac_compile) 2>conftest.er1
10354
grep -v '^ *+' conftest.er1 >conftest.err
10356
cat conftest.err >&5
10357
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10358
(exit $ac_status); } &&
10359
{ ac_try='test -z "$ac_c_werror_flag"
10360
|| test ! -s conftest.err'
10361
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10362
(eval $ac_try) 2>&5
10364
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10365
(exit $ac_status); }; } &&
10366
{ ac_try='test -s conftest.$ac_objext'
10367
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10368
(eval $ac_try) 2>&5
10370
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10371
(exit $ac_status); }; }; then
10374
cat >conftest.$ac_ext <<_ACEOF
10377
cat confdefs.h >>conftest.$ac_ext
10378
cat >>conftest.$ac_ext <<_ACEOF
10379
/* end confdefs.h. */
10380
$ac_includes_default
10384
static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
10391
rm -f conftest.$ac_objext
10392
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10393
(eval $ac_compile) 2>conftest.er1
10395
grep -v '^ *+' conftest.er1 >conftest.err
10397
cat conftest.err >&5
10398
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10399
(exit $ac_status); } &&
10400
{ ac_try='test -z "$ac_c_werror_flag"
10401
|| test ! -s conftest.err'
10402
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10403
(eval $ac_try) 2>&5
10405
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10406
(exit $ac_status); }; } &&
10407
{ ac_try='test -s conftest.$ac_objext'
10408
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10409
(eval $ac_try) 2>&5
10411
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10412
(exit $ac_status); }; }; then
10413
ac_hi=$ac_mid; break
10415
echo "$as_me: failed program was:" >&5
10416
sed 's/^/| /' conftest.$ac_ext >&5
10418
ac_lo=`expr $ac_mid + 1`
10419
if test $ac_lo -le $ac_mid; then
10423
ac_mid=`expr 2 '*' $ac_mid + 1`
10425
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10428
echo "$as_me: failed program was:" >&5
10429
sed 's/^/| /' conftest.$ac_ext >&5
10431
cat >conftest.$ac_ext <<_ACEOF
10434
cat confdefs.h >>conftest.$ac_ext
10435
cat >>conftest.$ac_ext <<_ACEOF
10436
/* end confdefs.h. */
10437
$ac_includes_default
10441
static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
10448
rm -f conftest.$ac_objext
10449
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10450
(eval $ac_compile) 2>conftest.er1
10452
grep -v '^ *+' conftest.er1 >conftest.err
10454
cat conftest.err >&5
10455
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10456
(exit $ac_status); } &&
10457
{ ac_try='test -z "$ac_c_werror_flag"
10458
|| test ! -s conftest.err'
10459
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10460
(eval $ac_try) 2>&5
10462
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10463
(exit $ac_status); }; } &&
10464
{ ac_try='test -s conftest.$ac_objext'
10465
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10466
(eval $ac_try) 2>&5
10468
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10469
(exit $ac_status); }; }; then
10472
cat >conftest.$ac_ext <<_ACEOF
10475
cat confdefs.h >>conftest.$ac_ext
10476
cat >>conftest.$ac_ext <<_ACEOF
10477
/* end confdefs.h. */
10478
$ac_includes_default
10482
static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
10489
rm -f conftest.$ac_objext
10490
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10491
(eval $ac_compile) 2>conftest.er1
10493
grep -v '^ *+' conftest.er1 >conftest.err
10495
cat conftest.err >&5
10496
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10497
(exit $ac_status); } &&
10498
{ ac_try='test -z "$ac_c_werror_flag"
10499
|| test ! -s conftest.err'
10500
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10501
(eval $ac_try) 2>&5
10503
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10504
(exit $ac_status); }; } &&
10505
{ ac_try='test -s conftest.$ac_objext'
10506
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10507
(eval $ac_try) 2>&5
10509
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10510
(exit $ac_status); }; }; then
10511
ac_lo=$ac_mid; break
10513
echo "$as_me: failed program was:" >&5
10514
sed 's/^/| /' conftest.$ac_ext >&5
10516
ac_hi=`expr '(' $ac_mid ')' - 1`
10517
if test $ac_mid -le $ac_hi; then
10521
ac_mid=`expr 2 '*' $ac_mid`
10523
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10526
echo "$as_me: failed program was:" >&5
10527
sed 's/^/| /' conftest.$ac_ext >&5
10531
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10533
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10534
# Binary search between lo and hi bounds.
10535
while test "x$ac_lo" != "x$ac_hi"; do
10536
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
10537
cat >conftest.$ac_ext <<_ACEOF
10540
cat confdefs.h >>conftest.$ac_ext
10541
cat >>conftest.$ac_ext <<_ACEOF
10542
/* end confdefs.h. */
10543
$ac_includes_default
10547
static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
10554
rm -f conftest.$ac_objext
10555
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10556
(eval $ac_compile) 2>conftest.er1
10558
grep -v '^ *+' conftest.er1 >conftest.err
10560
cat conftest.err >&5
10561
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10562
(exit $ac_status); } &&
10563
{ ac_try='test -z "$ac_c_werror_flag"
10564
|| test ! -s conftest.err'
10565
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10566
(eval $ac_try) 2>&5
10568
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10569
(exit $ac_status); }; } &&
10570
{ ac_try='test -s conftest.$ac_objext'
10571
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10572
(eval $ac_try) 2>&5
10574
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10575
(exit $ac_status); }; }; then
10578
echo "$as_me: failed program was:" >&5
10579
sed 's/^/| /' conftest.$ac_ext >&5
10581
ac_lo=`expr '(' $ac_mid ')' + 1`
10583
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10586
?*) ac_cv_sizeof_long=$ac_lo;;
10587
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
10588
See \`config.log' for more details." >&5
10589
echo "$as_me: error: cannot compute sizeof (long), 77
10590
See \`config.log' for more details." >&2;}
10591
{ (exit 1); exit 1; }; } ;;
10594
if test "$cross_compiling" = yes; then
10595
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
10596
See \`config.log' for more details." >&5
10597
echo "$as_me: error: cannot run test program while cross compiling
10598
See \`config.log' for more details." >&2;}
10599
{ (exit 1); exit 1; }; }
10601
cat >conftest.$ac_ext <<_ACEOF
10604
cat confdefs.h >>conftest.$ac_ext
10605
cat >>conftest.$ac_ext <<_ACEOF
10606
/* end confdefs.h. */
10607
$ac_includes_default
10608
long longval () { return (long) (sizeof (long)); }
10609
unsigned long ulongval () { return (long) (sizeof (long)); }
10611
#include <stdlib.h>
10616
FILE *f = fopen ("conftest.val", "w");
10619
if (((long) (sizeof (long))) < 0)
10621
long i = longval ();
10622
if (i != ((long) (sizeof (long))))
10624
fprintf (f, "%ld\n", i);
10628
unsigned long i = ulongval ();
10629
if (i != ((long) (sizeof (long))))
10631
fprintf (f, "%lu\n", i);
10633
exit (ferror (f) || fclose (f) != 0);
10639
rm -f conftest$ac_exeext
10640
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10641
(eval $ac_link) 2>&5
10643
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10644
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10645
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10646
(eval $ac_try) 2>&5
10648
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10649
(exit $ac_status); }; }; then
10650
ac_cv_sizeof_long=`cat conftest.val`
10652
echo "$as_me: program exited with status $ac_status" >&5
10653
echo "$as_me: failed program was:" >&5
10654
sed 's/^/| /' conftest.$ac_ext >&5
10656
( exit $ac_status )
10657
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
10658
See \`config.log' for more details." >&5
10659
echo "$as_me: error: cannot compute sizeof (long), 77
10660
See \`config.log' for more details." >&2;}
10661
{ (exit 1); exit 1; }; }
10663
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10668
ac_cv_sizeof_long=0
10671
echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
10672
echo "${ECHO_T}$ac_cv_sizeof_long" >&6
10673
cat >>confdefs.h <<_ACEOF
10674
#define SIZEOF_LONG $ac_cv_sizeof_long
10677
echo "$as_me:$LINENO: checking for char *" >&5
10678
echo $ECHO_N "checking for char *... $ECHO_C" >&6
10679
if test "${ac_cv_type_char_p+set}" = set; then
10680
echo $ECHO_N "(cached) $ECHO_C" >&6
10682
cat >conftest.$ac_ext <<_ACEOF
10685
cat confdefs.h >>conftest.$ac_ext
10686
cat >>conftest.$ac_ext <<_ACEOF
10687
/* end confdefs.h. */
10688
$ac_includes_default
10694
if (sizeof (char *))
10700
rm -f conftest.$ac_objext
10701
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10702
(eval $ac_compile) 2>conftest.er1
10704
grep -v '^ *+' conftest.er1 >conftest.err
10706
cat conftest.err >&5
10707
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10708
(exit $ac_status); } &&
10709
{ ac_try='test -z "$ac_c_werror_flag"
10710
|| test ! -s conftest.err'
10711
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10712
(eval $ac_try) 2>&5
10714
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10715
(exit $ac_status); }; } &&
10716
{ ac_try='test -s conftest.$ac_objext'
10717
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10718
(eval $ac_try) 2>&5
10720
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10721
(exit $ac_status); }; }; then
10722
ac_cv_type_char_p=yes
10724
echo "$as_me: failed program was:" >&5
10725
sed 's/^/| /' conftest.$ac_ext >&5
10727
ac_cv_type_char_p=no
10729
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10731
echo "$as_me:$LINENO: result: $ac_cv_type_char_p" >&5
10732
echo "${ECHO_T}$ac_cv_type_char_p" >&6
10734
echo "$as_me:$LINENO: checking size of char *" >&5
10735
echo $ECHO_N "checking size of char *... $ECHO_C" >&6
10736
if test "${ac_cv_sizeof_char_p+set}" = set; then
10737
echo $ECHO_N "(cached) $ECHO_C" >&6
10739
if test "$ac_cv_type_char_p" = yes; then
10740
# The cast to unsigned long works around a bug in the HP C Compiler
10741
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
10742
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
10743
# This bug is HP SR number 8606223364.
10744
if test "$cross_compiling" = yes; then
10745
# Depending upon the size, compute the lo and hi bounds.
10746
cat >conftest.$ac_ext <<_ACEOF
10749
cat confdefs.h >>conftest.$ac_ext
10750
cat >>conftest.$ac_ext <<_ACEOF
10751
/* end confdefs.h. */
10752
$ac_includes_default
10756
static int test_array [1 - 2 * !(((long) (sizeof (char *))) >= 0)];
10763
rm -f conftest.$ac_objext
10764
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10765
(eval $ac_compile) 2>conftest.er1
10767
grep -v '^ *+' conftest.er1 >conftest.err
10769
cat conftest.err >&5
10770
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10771
(exit $ac_status); } &&
10772
{ ac_try='test -z "$ac_c_werror_flag"
10773
|| test ! -s conftest.err'
10774
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10775
(eval $ac_try) 2>&5
10777
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10778
(exit $ac_status); }; } &&
10779
{ ac_try='test -s conftest.$ac_objext'
10780
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10781
(eval $ac_try) 2>&5
10783
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10784
(exit $ac_status); }; }; then
10787
cat >conftest.$ac_ext <<_ACEOF
10790
cat confdefs.h >>conftest.$ac_ext
10791
cat >>conftest.$ac_ext <<_ACEOF
10792
/* end confdefs.h. */
10793
$ac_includes_default
10797
static int test_array [1 - 2 * !(((long) (sizeof (char *))) <= $ac_mid)];
10804
rm -f conftest.$ac_objext
10805
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10806
(eval $ac_compile) 2>conftest.er1
10808
grep -v '^ *+' conftest.er1 >conftest.err
10810
cat conftest.err >&5
10811
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10812
(exit $ac_status); } &&
10813
{ ac_try='test -z "$ac_c_werror_flag"
10814
|| test ! -s conftest.err'
10815
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10816
(eval $ac_try) 2>&5
10818
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10819
(exit $ac_status); }; } &&
10820
{ ac_try='test -s conftest.$ac_objext'
10821
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10822
(eval $ac_try) 2>&5
10824
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10825
(exit $ac_status); }; }; then
10826
ac_hi=$ac_mid; break
10828
echo "$as_me: failed program was:" >&5
10829
sed 's/^/| /' conftest.$ac_ext >&5
10831
ac_lo=`expr $ac_mid + 1`
10832
if test $ac_lo -le $ac_mid; then
10836
ac_mid=`expr 2 '*' $ac_mid + 1`
10838
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10841
echo "$as_me: failed program was:" >&5
10842
sed 's/^/| /' conftest.$ac_ext >&5
10844
cat >conftest.$ac_ext <<_ACEOF
10847
cat confdefs.h >>conftest.$ac_ext
10848
cat >>conftest.$ac_ext <<_ACEOF
10849
/* end confdefs.h. */
10850
$ac_includes_default
10854
static int test_array [1 - 2 * !(((long) (sizeof (char *))) < 0)];
10861
rm -f conftest.$ac_objext
10862
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10863
(eval $ac_compile) 2>conftest.er1
10865
grep -v '^ *+' conftest.er1 >conftest.err
10867
cat conftest.err >&5
10868
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10869
(exit $ac_status); } &&
10870
{ ac_try='test -z "$ac_c_werror_flag"
10871
|| test ! -s conftest.err'
10872
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10873
(eval $ac_try) 2>&5
10875
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10876
(exit $ac_status); }; } &&
10877
{ ac_try='test -s conftest.$ac_objext'
10878
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10879
(eval $ac_try) 2>&5
10881
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10882
(exit $ac_status); }; }; then
10885
cat >conftest.$ac_ext <<_ACEOF
10888
cat confdefs.h >>conftest.$ac_ext
10889
cat >>conftest.$ac_ext <<_ACEOF
10890
/* end confdefs.h. */
10891
$ac_includes_default
10895
static int test_array [1 - 2 * !(((long) (sizeof (char *))) >= $ac_mid)];
10902
rm -f conftest.$ac_objext
10903
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10904
(eval $ac_compile) 2>conftest.er1
10906
grep -v '^ *+' conftest.er1 >conftest.err
10908
cat conftest.err >&5
10909
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10910
(exit $ac_status); } &&
10911
{ ac_try='test -z "$ac_c_werror_flag"
10912
|| test ! -s conftest.err'
10913
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10914
(eval $ac_try) 2>&5
10916
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10917
(exit $ac_status); }; } &&
10918
{ ac_try='test -s conftest.$ac_objext'
10919
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10920
(eval $ac_try) 2>&5
10922
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10923
(exit $ac_status); }; }; then
10924
ac_lo=$ac_mid; break
10926
echo "$as_me: failed program was:" >&5
10927
sed 's/^/| /' conftest.$ac_ext >&5
10929
ac_hi=`expr '(' $ac_mid ')' - 1`
10930
if test $ac_mid -le $ac_hi; then
10934
ac_mid=`expr 2 '*' $ac_mid`
10936
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10939
echo "$as_me: failed program was:" >&5
10940
sed 's/^/| /' conftest.$ac_ext >&5
10944
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10946
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10947
# Binary search between lo and hi bounds.
10948
while test "x$ac_lo" != "x$ac_hi"; do
10949
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
10950
cat >conftest.$ac_ext <<_ACEOF
10953
cat confdefs.h >>conftest.$ac_ext
10954
cat >>conftest.$ac_ext <<_ACEOF
10955
/* end confdefs.h. */
10956
$ac_includes_default
10960
static int test_array [1 - 2 * !(((long) (sizeof (char *))) <= $ac_mid)];
10967
rm -f conftest.$ac_objext
10968
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10969
(eval $ac_compile) 2>conftest.er1
10971
grep -v '^ *+' conftest.er1 >conftest.err
10973
cat conftest.err >&5
10974
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10975
(exit $ac_status); } &&
10976
{ ac_try='test -z "$ac_c_werror_flag"
10977
|| test ! -s conftest.err'
10978
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10979
(eval $ac_try) 2>&5
10981
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10982
(exit $ac_status); }; } &&
10983
{ ac_try='test -s conftest.$ac_objext'
10984
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10985
(eval $ac_try) 2>&5
10987
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10988
(exit $ac_status); }; }; then
10991
echo "$as_me: failed program was:" >&5
10992
sed 's/^/| /' conftest.$ac_ext >&5
10994
ac_lo=`expr '(' $ac_mid ')' + 1`
10996
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10999
?*) ac_cv_sizeof_char_p=$ac_lo;;
11000
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char *), 77
11001
See \`config.log' for more details." >&5
11002
echo "$as_me: error: cannot compute sizeof (char *), 77
11003
See \`config.log' for more details." >&2;}
11004
{ (exit 1); exit 1; }; } ;;
11007
if test "$cross_compiling" = yes; then
11008
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
11009
See \`config.log' for more details." >&5
11010
echo "$as_me: error: cannot run test program while cross compiling
11011
See \`config.log' for more details." >&2;}
11012
{ (exit 1); exit 1; }; }
11014
cat >conftest.$ac_ext <<_ACEOF
11017
cat confdefs.h >>conftest.$ac_ext
11018
cat >>conftest.$ac_ext <<_ACEOF
11019
/* end confdefs.h. */
11020
$ac_includes_default
11021
long longval () { return (long) (sizeof (char *)); }
11022
unsigned long ulongval () { return (long) (sizeof (char *)); }
11024
#include <stdlib.h>
11029
FILE *f = fopen ("conftest.val", "w");
11032
if (((long) (sizeof (char *))) < 0)
11034
long i = longval ();
11035
if (i != ((long) (sizeof (char *))))
11037
fprintf (f, "%ld\n", i);
11041
unsigned long i = ulongval ();
11042
if (i != ((long) (sizeof (char *))))
11044
fprintf (f, "%lu\n", i);
11046
exit (ferror (f) || fclose (f) != 0);
11052
rm -f conftest$ac_exeext
11053
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11054
(eval $ac_link) 2>&5
11056
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11057
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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); }; }; then
11063
ac_cv_sizeof_char_p=`cat conftest.val`
11065
echo "$as_me: program exited with status $ac_status" >&5
11066
echo "$as_me: failed program was:" >&5
11067
sed 's/^/| /' conftest.$ac_ext >&5
11069
( exit $ac_status )
11070
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (char *), 77
11071
See \`config.log' for more details." >&5
11072
echo "$as_me: error: cannot compute sizeof (char *), 77
11073
See \`config.log' for more details." >&2;}
11074
{ (exit 1); exit 1; }; }
11076
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11081
ac_cv_sizeof_char_p=0
11084
echo "$as_me:$LINENO: result: $ac_cv_sizeof_char_p" >&5
11085
echo "${ECHO_T}$ac_cv_sizeof_char_p" >&6
11086
cat >>confdefs.h <<_ACEOF
11087
#define SIZEOF_CHAR_P $ac_cv_sizeof_char_p
11090
echo "$as_me:$LINENO: checking for char" >&5
11091
echo $ECHO_N "checking for char... $ECHO_C" >&6
11092
if test "${ac_cv_type_char+set}" = set; then
11093
echo $ECHO_N "(cached) $ECHO_C" >&6
11095
cat >conftest.$ac_ext <<_ACEOF
11098
cat confdefs.h >>conftest.$ac_ext
11099
cat >>conftest.$ac_ext <<_ACEOF
11100
/* end confdefs.h. */
11101
$ac_includes_default
11113
rm -f conftest.$ac_objext
11114
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11115
(eval $ac_compile) 2>conftest.er1
11117
grep -v '^ *+' conftest.er1 >conftest.err
11119
cat conftest.err >&5
11120
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11121
(exit $ac_status); } &&
11122
{ ac_try='test -z "$ac_c_werror_flag"
11123
|| test ! -s conftest.err'
11124
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11125
(eval $ac_try) 2>&5
11127
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11128
(exit $ac_status); }; } &&
11129
{ ac_try='test -s conftest.$ac_objext'
11130
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11131
(eval $ac_try) 2>&5
11133
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11134
(exit $ac_status); }; }; then
11135
ac_cv_type_char=yes
11137
echo "$as_me: failed program was:" >&5
11138
sed 's/^/| /' conftest.$ac_ext >&5
11142
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11144
echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
11145
echo "${ECHO_T}$ac_cv_type_char" >&6
11147
echo "$as_me:$LINENO: checking size of char" >&5
11148
echo $ECHO_N "checking size of char... $ECHO_C" >&6
11149
if test "${ac_cv_sizeof_char+set}" = set; then
11150
echo $ECHO_N "(cached) $ECHO_C" >&6
11152
if test "$ac_cv_type_char" = yes; then
11153
# The cast to unsigned long works around a bug in the HP C Compiler
11154
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11155
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
11156
# This bug is HP SR number 8606223364.
11157
if test "$cross_compiling" = yes; then
11158
# Depending upon the size, compute the lo and hi bounds.
11159
cat >conftest.$ac_ext <<_ACEOF
11162
cat confdefs.h >>conftest.$ac_ext
11163
cat >>conftest.$ac_ext <<_ACEOF
11164
/* end confdefs.h. */
11165
$ac_includes_default
11169
static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
11176
rm -f conftest.$ac_objext
11177
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11178
(eval $ac_compile) 2>conftest.er1
11180
grep -v '^ *+' conftest.er1 >conftest.err
11182
cat conftest.err >&5
11183
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11184
(exit $ac_status); } &&
11185
{ ac_try='test -z "$ac_c_werror_flag"
11186
|| test ! -s conftest.err'
11187
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11188
(eval $ac_try) 2>&5
11190
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11191
(exit $ac_status); }; } &&
11192
{ ac_try='test -s conftest.$ac_objext'
11193
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11194
(eval $ac_try) 2>&5
11196
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11197
(exit $ac_status); }; }; then
11200
cat >conftest.$ac_ext <<_ACEOF
11203
cat confdefs.h >>conftest.$ac_ext
11204
cat >>conftest.$ac_ext <<_ACEOF
11205
/* end confdefs.h. */
11206
$ac_includes_default
11210
static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
11217
rm -f conftest.$ac_objext
11218
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11219
(eval $ac_compile) 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_objext'
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_hi=$ac_mid; break
11241
echo "$as_me: failed program was:" >&5
11242
sed 's/^/| /' conftest.$ac_ext >&5
11244
ac_lo=`expr $ac_mid + 1`
11245
if test $ac_lo -le $ac_mid; then
11249
ac_mid=`expr 2 '*' $ac_mid + 1`
11251
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11254
echo "$as_me: failed program was:" >&5
11255
sed 's/^/| /' conftest.$ac_ext >&5
11257
cat >conftest.$ac_ext <<_ACEOF
11260
cat confdefs.h >>conftest.$ac_ext
11261
cat >>conftest.$ac_ext <<_ACEOF
11262
/* end confdefs.h. */
11263
$ac_includes_default
11267
static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
11274
rm -f conftest.$ac_objext
11275
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11276
(eval $ac_compile) 2>conftest.er1
11278
grep -v '^ *+' conftest.er1 >conftest.err
11280
cat conftest.err >&5
11281
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11282
(exit $ac_status); } &&
11283
{ ac_try='test -z "$ac_c_werror_flag"
11284
|| test ! -s conftest.err'
11285
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11286
(eval $ac_try) 2>&5
11288
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11289
(exit $ac_status); }; } &&
11290
{ ac_try='test -s conftest.$ac_objext'
11291
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11292
(eval $ac_try) 2>&5
11294
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11295
(exit $ac_status); }; }; then
11298
cat >conftest.$ac_ext <<_ACEOF
11301
cat confdefs.h >>conftest.$ac_ext
11302
cat >>conftest.$ac_ext <<_ACEOF
11303
/* end confdefs.h. */
11304
$ac_includes_default
11308
static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
11315
rm -f conftest.$ac_objext
11316
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11317
(eval $ac_compile) 2>conftest.er1
11319
grep -v '^ *+' conftest.er1 >conftest.err
11321
cat conftest.err >&5
11322
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11323
(exit $ac_status); } &&
11324
{ ac_try='test -z "$ac_c_werror_flag"
11325
|| test ! -s conftest.err'
11326
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11327
(eval $ac_try) 2>&5
11329
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11330
(exit $ac_status); }; } &&
11331
{ ac_try='test -s conftest.$ac_objext'
11332
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11333
(eval $ac_try) 2>&5
11335
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11336
(exit $ac_status); }; }; then
11337
ac_lo=$ac_mid; break
11339
echo "$as_me: failed program was:" >&5
11340
sed 's/^/| /' conftest.$ac_ext >&5
11342
ac_hi=`expr '(' $ac_mid ')' - 1`
11343
if test $ac_mid -le $ac_hi; then
11347
ac_mid=`expr 2 '*' $ac_mid`
11349
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11352
echo "$as_me: failed program was:" >&5
11353
sed 's/^/| /' conftest.$ac_ext >&5
11357
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11359
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11360
# Binary search between lo and hi bounds.
11361
while test "x$ac_lo" != "x$ac_hi"; do
11362
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
11363
cat >conftest.$ac_ext <<_ACEOF
11366
cat confdefs.h >>conftest.$ac_ext
11367
cat >>conftest.$ac_ext <<_ACEOF
11368
/* end confdefs.h. */
11369
$ac_includes_default
11373
static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
11380
rm -f conftest.$ac_objext
11381
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11382
(eval $ac_compile) 2>conftest.er1
11384
grep -v '^ *+' conftest.er1 >conftest.err
11386
cat conftest.err >&5
11387
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11388
(exit $ac_status); } &&
11389
{ ac_try='test -z "$ac_c_werror_flag"
11390
|| test ! -s conftest.err'
11391
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11392
(eval $ac_try) 2>&5
11394
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11395
(exit $ac_status); }; } &&
11396
{ ac_try='test -s conftest.$ac_objext'
11397
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11398
(eval $ac_try) 2>&5
11400
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11401
(exit $ac_status); }; }; then
11404
echo "$as_me: failed program was:" >&5
11405
sed 's/^/| /' conftest.$ac_ext >&5
11407
ac_lo=`expr '(' $ac_mid ')' + 1`
11409
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11412
?*) ac_cv_sizeof_char=$ac_lo;;
11413
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
11414
See \`config.log' for more details." >&5
11415
echo "$as_me: error: cannot compute sizeof (char), 77
11416
See \`config.log' for more details." >&2;}
11417
{ (exit 1); exit 1; }; } ;;
11420
if test "$cross_compiling" = yes; then
11421
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
11422
See \`config.log' for more details." >&5
11423
echo "$as_me: error: cannot run test program while cross compiling
11424
See \`config.log' for more details." >&2;}
11425
{ (exit 1); exit 1; }; }
11427
cat >conftest.$ac_ext <<_ACEOF
11430
cat confdefs.h >>conftest.$ac_ext
11431
cat >>conftest.$ac_ext <<_ACEOF
11432
/* end confdefs.h. */
11433
$ac_includes_default
11434
long longval () { return (long) (sizeof (char)); }
11435
unsigned long ulongval () { return (long) (sizeof (char)); }
11437
#include <stdlib.h>
11442
FILE *f = fopen ("conftest.val", "w");
11445
if (((long) (sizeof (char))) < 0)
11447
long i = longval ();
11448
if (i != ((long) (sizeof (char))))
11450
fprintf (f, "%ld\n", i);
11454
unsigned long i = ulongval ();
11455
if (i != ((long) (sizeof (char))))
11457
fprintf (f, "%lu\n", i);
11459
exit (ferror (f) || fclose (f) != 0);
11465
rm -f conftest$ac_exeext
11466
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11467
(eval $ac_link) 2>&5
11469
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11470
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11471
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11472
(eval $ac_try) 2>&5
11474
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11475
(exit $ac_status); }; }; then
11476
ac_cv_sizeof_char=`cat conftest.val`
11478
echo "$as_me: program exited with status $ac_status" >&5
11479
echo "$as_me: failed program was:" >&5
11480
sed 's/^/| /' conftest.$ac_ext >&5
11482
( exit $ac_status )
11483
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
11484
See \`config.log' for more details." >&5
11485
echo "$as_me: error: cannot compute sizeof (char), 77
11486
See \`config.log' for more details." >&2;}
11487
{ (exit 1); exit 1; }; }
11489
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11494
ac_cv_sizeof_char=0
11497
echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
11498
echo "${ECHO_T}$ac_cv_sizeof_char" >&6
11499
cat >>confdefs.h <<_ACEOF
11500
#define SIZEOF_CHAR $ac_cv_sizeof_char
11505
echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11506
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11507
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11508
echo $ECHO_N "(cached) $ECHO_C" >&6
11510
ac_check_lib_save_LIBS=$LIBS
11512
cat >conftest.$ac_ext <<_ACEOF
11515
cat confdefs.h >>conftest.$ac_ext
11516
cat >>conftest.$ac_ext <<_ACEOF
11517
/* end confdefs.h. */
11519
/* Override any gcc2 internal prototype to avoid an error. */
11523
/* We use char because int might match the return type of a gcc2
11524
builtin and then its argument prototype would still apply. */
11534
rm -f conftest.$ac_objext conftest$ac_exeext
11535
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11536
(eval $ac_link) 2>conftest.er1
11538
grep -v '^ *+' conftest.er1 >conftest.err
11540
cat conftest.err >&5
11541
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11542
(exit $ac_status); } &&
11543
{ ac_try='test -z "$ac_c_werror_flag"
11544
|| test ! -s conftest.err'
11545
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11546
(eval $ac_try) 2>&5
11548
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11549
(exit $ac_status); }; } &&
11550
{ ac_try='test -s conftest$ac_exeext'
11551
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11552
(eval $ac_try) 2>&5
11554
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11555
(exit $ac_status); }; }; then
11556
ac_cv_lib_dl_dlopen=yes
11558
echo "$as_me: failed program was:" >&5
11559
sed 's/^/| /' conftest.$ac_ext >&5
11561
ac_cv_lib_dl_dlopen=no
11563
rm -f conftest.err conftest.$ac_objext \
11564
conftest$ac_exeext conftest.$ac_ext
11565
LIBS=$ac_check_lib_save_LIBS
11567
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11568
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11569
if test $ac_cv_lib_dl_dlopen = yes; then
11572
ac_cv_have_dlfcn=yes
11577
echo "$as_me:$LINENO: checking for shl_unload in -ldld" >&5
11578
echo $ECHO_N "checking for shl_unload in -ldld... $ECHO_C" >&6
11579
if test "${ac_cv_lib_dld_shl_unload+set}" = set; then
11580
echo $ECHO_N "(cached) $ECHO_C" >&6
11582
ac_check_lib_save_LIBS=$LIBS
11584
cat >conftest.$ac_ext <<_ACEOF
11587
cat confdefs.h >>conftest.$ac_ext
11588
cat >>conftest.$ac_ext <<_ACEOF
11589
/* end confdefs.h. */
11591
/* Override any gcc2 internal prototype to avoid an error. */
11595
/* We use char because int might match the return type of a gcc2
11596
builtin and then its argument prototype would still apply. */
11597
char shl_unload ();
11606
rm -f conftest.$ac_objext conftest$ac_exeext
11607
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11608
(eval $ac_link) 2>conftest.er1
11610
grep -v '^ *+' conftest.er1 >conftest.err
11612
cat conftest.err >&5
11613
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11614
(exit $ac_status); } &&
11615
{ ac_try='test -z "$ac_c_werror_flag"
11616
|| test ! -s conftest.err'
11617
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11618
(eval $ac_try) 2>&5
11620
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11621
(exit $ac_status); }; } &&
11622
{ ac_try='test -s conftest$ac_exeext'
11623
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11624
(eval $ac_try) 2>&5
11626
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11627
(exit $ac_status); }; }; then
11628
ac_cv_lib_dld_shl_unload=yes
11630
echo "$as_me: failed program was:" >&5
11631
sed 's/^/| /' conftest.$ac_ext >&5
11633
ac_cv_lib_dld_shl_unload=no
11635
rm -f conftest.err conftest.$ac_objext \
11636
conftest$ac_exeext conftest.$ac_ext
11637
LIBS=$ac_check_lib_save_LIBS
11639
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_unload" >&5
11640
echo "${ECHO_T}$ac_cv_lib_dld_shl_unload" >&6
11641
if test $ac_cv_lib_dld_shl_unload = yes; then
11644
ac_cv_have_shload=yes
11654
# Check whether --enable-embedded or --disable-embedded was given.
11655
if test "${enable_embedded+set}" = set; then
11656
enableval="$enable_embedded"
11657
kde_use_qt_emb=$enableval
11663
# Check whether --enable-qtopia or --disable-qtopia was given.
11664
if test "${enable_qtopia+set}" = set; then
11665
enableval="$enable_qtopia"
11666
kde_use_qt_emb_palm=$enableval
11668
kde_use_qt_emb_palm=no
11672
if test "$kde_use_qt_emb" = "no"; then
11674
echo "$as_me:$LINENO: checking for X" >&5
11675
echo $ECHO_N "checking for X... $ECHO_C" >&6
11679
ac_cpp='$CPP $CPPFLAGS'
11680
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11681
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11682
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11684
if test "${kde_cv_have_x+set}" = set; then
11685
echo $ECHO_N "(cached) $ECHO_C" >&6
11687
# One or both of the vars are not set, and there is no cached value.
11688
if test "{$x_includes+set}" = set || test "$x_includes" = NONE; then
11691
kde_x_includes=$x_includes
11693
if test "{$x_libraries+set}" = set || test "$x_libraries" = NONE; then
11696
kde_x_libraries=$x_libraries
11699
# below we use the standard autoconf calls
11700
ac_x_libraries=$kde_x_libraries
11701
ac_x_includes=$kde_x_includes
11703
if test "$ac_x_includes" = NO; then
11704
# Guess where to find include files, by looking for this one X11 .h file.
11705
test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h
11707
# First, try using that file with no special directory specified.
11708
cat >conftest.$ac_ext <<_ACEOF
11711
cat confdefs.h >>conftest.$ac_ext
11712
cat >>conftest.$ac_ext <<_ACEOF
11713
/* end confdefs.h. */
11714
#include <$x_direct_test_include>
11716
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11717
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11719
grep -v '^ *+' conftest.er1 >conftest.err
11721
cat conftest.err >&5
11722
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11723
(exit $ac_status); } >/dev/null; then
11724
if test -s conftest.err; then
11725
ac_cpp_err=$ac_c_preproc_warn_flag
11726
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11733
if test -z "$ac_cpp_err"; then
11734
# We can compile using X headers with no special include directory.
11737
echo "$as_me: failed program was:" >&5
11738
sed 's/^/| /' conftest.$ac_ext >&5
11740
# Look for the header file in a standard set of common directories.
11741
# Check X11 before X11Rn because it is often a symlink to the current release.
11744
/usr/X11R6/include \
11745
/usr/X11R5/include \
11746
/usr/X11R4/include \
11749
/usr/include/X11R6 \
11750
/usr/include/X11R5 \
11751
/usr/include/X11R4 \
11753
/usr/local/X11/include \
11754
/usr/local/X11R6/include \
11755
/usr/local/X11R5/include \
11756
/usr/local/X11R4/include \
11758
/usr/local/include/X11 \
11759
/usr/local/include/X11R6 \
11760
/usr/local/include/X11R5 \
11761
/usr/local/include/X11R4 \
11763
/usr/X386/include \
11764
/usr/x386/include \
11765
/usr/XFree86/include/X11 \
11768
/usr/local/include \
11769
/usr/unsupported/include \
11770
/usr/athena/include \
11771
/usr/local/x11r5/include \
11772
/usr/lpp/Xamples/include \
11774
/usr/openwin/include \
11775
/usr/openwin/share/include \
11778
if test -r "$ac_dir/$x_direct_test_include"; then
11779
ac_x_includes=$ac_dir
11784
rm -f conftest.err conftest.$ac_ext
11785
fi # $ac_x_includes = NO
11787
if test "$ac_x_libraries" = NO; then
11788
# Check for the libraries.
11790
test -z "$x_direct_test_library" && x_direct_test_library=Xt
11791
test -z "$x_direct_test_function" && x_direct_test_function=XtMalloc
11793
# See if we find them without any special options.
11794
# Don't add to $LIBS permanently.
11795
ac_save_LIBS="$LIBS"
11796
LIBS="-l$x_direct_test_library $LIBS"
11797
cat >conftest.$ac_ext <<_ACEOF
11800
cat confdefs.h >>conftest.$ac_ext
11801
cat >>conftest.$ac_ext <<_ACEOF
11802
/* end confdefs.h. */
11807
${x_direct_test_function}()
11812
rm -f conftest.$ac_objext conftest$ac_exeext
11813
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11814
(eval $ac_link) 2>conftest.er1
11816
grep -v '^ *+' conftest.er1 >conftest.err
11818
cat conftest.err >&5
11819
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11820
(exit $ac_status); } &&
11821
{ ac_try='test -z "$ac_c_werror_flag"
11822
|| test ! -s conftest.err'
11823
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11824
(eval $ac_try) 2>&5
11826
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11827
(exit $ac_status); }; } &&
11828
{ ac_try='test -s conftest$ac_exeext'
11829
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11830
(eval $ac_try) 2>&5
11832
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11833
(exit $ac_status); }; }; then
11834
LIBS="$ac_save_LIBS"
11835
# We can link X programs with no special library path.
11838
echo "$as_me: failed program was:" >&5
11839
sed 's/^/| /' conftest.$ac_ext >&5
11841
LIBS="$ac_save_LIBS"
11842
# First see if replacing the include by lib works.
11843
# Check X11 before X11Rn because it is often a symlink to the current release.
11844
for ac_dir in `echo "$ac_x_includes" | sed s/include/lib/` \
11855
/usr/local/X11/lib \
11856
/usr/local/X11R6/lib \
11857
/usr/local/X11R5/lib \
11858
/usr/local/X11R4/lib \
11860
/usr/local/lib/X11 \
11861
/usr/local/lib/X11R6 \
11862
/usr/local/lib/X11R5 \
11863
/usr/local/lib/X11R4 \
11867
/usr/XFree86/lib/X11 \
11871
/usr/unsupported/lib \
11873
/usr/local/x11r5/lib \
11874
/usr/lpp/Xamples/lib \
11878
/usr/openwin/share/lib \
11881
for ac_extension in a so sl; do
11882
if test -r $ac_dir/lib${x_direct_test_library}.$ac_extension; then
11883
ac_x_libraries=$ac_dir
11889
rm -f conftest.err conftest.$ac_objext \
11890
conftest$ac_exeext conftest.$ac_ext
11891
fi # $ac_x_libraries = NO
11899
rm -fr conftest.dir
11900
if mkdir conftest.dir; then
11902
# Make sure to not put "make" in the Imakefile rules, since we grep it out.
11903
cat >Imakefile <<'_ACEOF'
11905
@echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
11907
if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
11908
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
11909
eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
11910
# Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
11911
for ac_extension in a so sl; do
11912
if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
11913
test -f $ac_im_libdir/libX11.$ac_extension; then
11914
ac_im_usrlibdir=$ac_im_libdir; break
11917
# Screen out bogus values from the imake configuration. They are
11918
# bogus both because they are the default anyway, and because
11919
# using them would break gcc on systems where it needs fixed includes.
11920
case $ac_im_incroot in
11922
*) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
11924
case $ac_im_usrlibdir in
11925
/usr/lib | /lib) ;;
11926
*) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
11930
rm -fr conftest.dir
11933
if test -z "$ac_x_includes"; then
11936
if test -z "$ac_x_libraries"; then
11937
ac_x_libraries="/usr/lib"
11940
#from now on we use our own again
11942
# when the user already gave --x-includes, we ignore
11943
# what the standard autoconf macros told us.
11944
if test "$kde_x_includes" = NO; then
11945
kde_x_includes=$ac_x_includes
11948
# for --x-libraries too
11949
if test "$kde_x_libraries" = NO; then
11950
kde_x_libraries=$ac_x_libraries
11953
if test "$kde_x_includes" = NO; then
11954
{ { echo "$as_me:$LINENO: error: Can't find X includes. Please check your installation and add the correct paths!" >&5
11955
echo "$as_me: error: Can't find X includes. Please check your installation and add the correct paths!" >&2;}
11956
{ (exit 1); exit 1; }; }
11959
if test "$kde_x_libraries" = NO; then
11960
{ { echo "$as_me:$LINENO: error: Can't find X libraries. Please check your installation and add the correct paths!" >&5
11961
echo "$as_me: error: Can't find X libraries. Please check your installation and add the correct paths!" >&2;}
11962
{ (exit 1); exit 1; }; }
11965
# Record where we found X for the cache.
11966
kde_cv_have_x="have_x=yes \
11967
kde_x_includes=$kde_x_includes kde_x_libraries=$kde_x_libraries"
11971
eval "$kde_cv_have_x"
11973
if test "$have_x" != yes; then
11974
echo "$as_me:$LINENO: result: $have_x" >&5
11975
echo "${ECHO_T}$have_x" >&6
11978
echo "$as_me:$LINENO: result: libraries $kde_x_libraries, headers $kde_x_includes" >&5
11979
echo "${ECHO_T}libraries $kde_x_libraries, headers $kde_x_includes" >&6
11982
if test -z "$kde_x_includes" || test "x$kde_x_includes" = xNONE; then
11984
x_includes="."; else
11985
x_includes=$kde_x_includes
11986
X_INCLUDES="-I$x_includes"
11989
if test -z "$kde_x_libraries" || test "x$kde_x_libraries" = xNONE; then
11991
x_libraries="/usr/lib"; else
11992
x_libraries=$kde_x_libraries
11993
X_LDFLAGS="-L$x_libraries"
11995
all_includes="$X_INCLUDES"
11996
all_libraries="$X_LDFLAGS"
12003
# Check for libraries that X11R6 Xt/Xaw programs need.
12004
ac_save_LDFLAGS="$LDFLAGS"
12005
LDFLAGS="$LDFLAGS $X_LDFLAGS"
12006
# SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
12007
# check for ICE first), but we must link in the order -lSM -lICE or
12008
# we get undefined symbols. So assume we have SM if we have ICE.
12009
# These have to be linked with before -lX11, unlike the other
12010
# libraries we check for below, so use a different variable.
12011
# --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
12012
echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
12013
echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
12014
if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
12015
echo $ECHO_N "(cached) $ECHO_C" >&6
12017
ac_check_lib_save_LIBS=$LIBS
12018
LIBS="-lICE $X_EXTRA_LIBS $LIBS"
12019
cat >conftest.$ac_ext <<_ACEOF
12022
cat confdefs.h >>conftest.$ac_ext
12023
cat >>conftest.$ac_ext <<_ACEOF
12024
/* end confdefs.h. */
12026
/* Override any gcc2 internal prototype to avoid an error. */
12030
/* We use char because int might match the return type of a gcc2
12031
builtin and then its argument prototype would still apply. */
12032
char IceConnectionNumber ();
12036
IceConnectionNumber ();
12041
rm -f conftest.$ac_objext conftest$ac_exeext
12042
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12043
(eval $ac_link) 2>conftest.er1
12045
grep -v '^ *+' conftest.er1 >conftest.err
12047
cat conftest.err >&5
12048
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12049
(exit $ac_status); } &&
12050
{ ac_try='test -z "$ac_c_werror_flag"
12051
|| test ! -s conftest.err'
12052
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12053
(eval $ac_try) 2>&5
12055
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12056
(exit $ac_status); }; } &&
12057
{ ac_try='test -s conftest$ac_exeext'
12058
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12059
(eval $ac_try) 2>&5
12061
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12062
(exit $ac_status); }; }; then
12063
ac_cv_lib_ICE_IceConnectionNumber=yes
12065
echo "$as_me: failed program was:" >&5
12066
sed 's/^/| /' conftest.$ac_ext >&5
12068
ac_cv_lib_ICE_IceConnectionNumber=no
12070
rm -f conftest.err conftest.$ac_objext \
12071
conftest$ac_exeext conftest.$ac_ext
12072
LIBS=$ac_check_lib_save_LIBS
12074
echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
12075
echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
12076
if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
12081
LDFLAGS="$ac_save_LDFLAGS"
12085
LIB_X11='-lX11 $(LIBSOCKET)'
12088
echo "$as_me:$LINENO: checking for libXext" >&5
12089
echo $ECHO_N "checking for libXext... $ECHO_C" >&6
12090
if test "${kde_cv_have_libXext+set}" = set; then
12091
echo $ECHO_N "(cached) $ECHO_C" >&6
12094
kde_ldflags_safe="$LDFLAGS"
12095
kde_libs_safe="$LIBS"
12097
LDFLAGS="$LDFLAGS $X_LDFLAGS $USER_LDFLAGS"
12098
LIBS="-lXext -lX11 $LIBSOCKET"
12100
cat >conftest.$ac_ext <<_ACEOF
12103
cat confdefs.h >>conftest.$ac_ext
12104
cat >>conftest.$ac_ext <<_ACEOF
12105
/* end confdefs.h. */
12108
#ifdef STDC_HEADERS
12109
# include <stdlib.h>
12116
printf("hello Xext\n");
12122
rm -f conftest.$ac_objext conftest$ac_exeext
12123
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12124
(eval $ac_link) 2>conftest.er1
12126
grep -v '^ *+' conftest.er1 >conftest.err
12128
cat conftest.err >&5
12129
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12130
(exit $ac_status); } &&
12131
{ ac_try='test -z "$ac_c_werror_flag"
12132
|| test ! -s conftest.err'
12133
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12134
(eval $ac_try) 2>&5
12136
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12137
(exit $ac_status); }; } &&
12138
{ ac_try='test -s conftest$ac_exeext'
12139
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12140
(eval $ac_try) 2>&5
12142
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12143
(exit $ac_status); }; }; then
12144
kde_cv_have_libXext=yes
12146
echo "$as_me: failed program was:" >&5
12147
sed 's/^/| /' conftest.$ac_ext >&5
12149
kde_cv_have_libXext=no
12152
rm -f conftest.err conftest.$ac_objext \
12153
conftest$ac_exeext conftest.$ac_ext
12155
LDFLAGS=$kde_ldflags_safe
12156
LIBS=$kde_libs_safe
12161
echo "$as_me:$LINENO: result: $kde_cv_have_libXext" >&5
12162
echo "${ECHO_T}$kde_cv_have_libXext" >&6
12164
if test "$kde_cv_have_libXext" = "no"; then
12165
{ { echo "$as_me:$LINENO: error: We need a working libXext to proceed. Since configure
12166
can't find it itself, we stop here assuming that make wouldn't find
12168
echo "$as_me: error: We need a working libXext to proceed. Since configure
12169
can't find it itself, we stop here assuming that make wouldn't find
12170
them either." >&2;}
12171
{ (exit 1); exit 1; }; }
12174
echo "$as_me:$LINENO: checking for Xinerama" >&5
12175
echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
12178
# Check whether --with-xinerama or --without-xinerama was given.
12179
if test "${with_xinerama+set}" = set; then
12180
withval="$with_xinerama"
12191
kde_save_LDFLAGS="$LDFLAGS"
12192
kde_save_CFLAGS="$CFLAGS"
12193
kde_save_LIBS="$LIBS"
12194
LDFLAGS="$LDFLAGS $X_LDFLAGS $USER_LDFLAGS"
12195
CFLAGS="$CFLAGS -I$x_includes"
12196
LIBS="-lXinerama -lXext"
12198
if test "x$no_xinerama" = "xno"; then
12200
if test "${ac_cv_have_xinerama+set}" = set; then
12201
echo $ECHO_N "(cached) $ECHO_C" >&6
12204
cat >conftest.$ac_ext <<_ACEOF
12207
cat confdefs.h >>conftest.$ac_ext
12208
cat >>conftest.$ac_ext <<_ACEOF
12209
/* end confdefs.h. */
12210
#include <X11/Xlib.h>
12211
#include <X11/extensions/Xinerama.h>
12215
XineramaIsActive(NULL);
12220
rm -f conftest.$ac_objext conftest$ac_exeext
12221
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12222
(eval $ac_link) 2>conftest.er1
12224
grep -v '^ *+' conftest.er1 >conftest.err
12226
cat conftest.err >&5
12227
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12228
(exit $ac_status); } &&
12229
{ ac_try='test -z "$ac_c_werror_flag"
12230
|| test ! -s conftest.err'
12231
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12232
(eval $ac_try) 2>&5
12234
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12235
(exit $ac_status); }; } &&
12236
{ ac_try='test -s conftest$ac_exeext'
12237
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12238
(eval $ac_try) 2>&5
12240
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12241
(exit $ac_status); }; }; then
12242
ac_cv_have_xinerama="yes"
12244
echo "$as_me: failed program was:" >&5
12245
sed 's/^/| /' conftest.$ac_ext >&5
12247
ac_cv_have_xinerama="no"
12249
rm -f conftest.err conftest.$ac_objext \
12250
conftest$ac_exeext conftest.$ac_ext
12255
ac_cv_have_xinerama=no;
12258
echo "$as_me:$LINENO: result: $ac_cv_have_xinerama" >&5
12259
echo "${ECHO_T}$ac_cv_have_xinerama" >&6
12263
if test "$ac_cv_have_xinerama" = "yes"; then
12265
cat >>confdefs.h <<\_ACEOF
12266
#define HAVE_XINERAMA 1
12269
LIBXINERAMA="-lXinerama"
12274
LDFLAGS="$kde_save_LDFLAGS"
12275
CFLAGS="$kde_save_CFLAGS"
12276
LIBS="$kde_save_LIBS"
12282
CXXFLAGS="$CXXFLAGS -fno-rtti -DQWS"
12283
CFLAGS="$CFLAGS -DQWS"
12284
LDFLAGS="$LDFLAGS -DQWS"
12285
QTE_NORTTI="-fno-rtti -DQWS"
12307
ac_cpp='$CPP $CPPFLAGS'
12308
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12309
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12310
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12315
echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
12316
echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
12317
if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
12318
echo $ECHO_N "(cached) $ECHO_C" >&6
12320
ac_check_lib_save_LIBS=$LIBS
12321
LIBS="-lpthread $LIBS"
12322
cat >conftest.$ac_ext <<_ACEOF
12325
cat confdefs.h >>conftest.$ac_ext
12326
cat >>conftest.$ac_ext <<_ACEOF
12327
/* end confdefs.h. */
12329
/* Override any gcc2 internal prototype to avoid an error. */
12333
/* We use char because int might match the return type of a gcc2
12334
builtin and then its argument prototype would still apply. */
12335
char pthread_create ();
12344
rm -f conftest.$ac_objext conftest$ac_exeext
12345
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12346
(eval $ac_link) 2>conftest.er1
12348
grep -v '^ *+' conftest.er1 >conftest.err
12350
cat conftest.err >&5
12351
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12352
(exit $ac_status); } &&
12353
{ ac_try='test -z "$ac_c_werror_flag"
12354
|| test ! -s conftest.err'
12355
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12356
(eval $ac_try) 2>&5
12358
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12359
(exit $ac_status); }; } &&
12360
{ ac_try='test -s conftest$ac_exeext'
12361
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12362
(eval $ac_try) 2>&5
12364
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12365
(exit $ac_status); }; }; then
12366
ac_cv_lib_pthread_pthread_create=yes
12368
echo "$as_me: failed program was:" >&5
12369
sed 's/^/| /' conftest.$ac_ext >&5
12371
ac_cv_lib_pthread_pthread_create=no
12373
rm -f conftest.err conftest.$ac_objext \
12374
conftest$ac_exeext conftest.$ac_ext
12375
LIBS=$ac_check_lib_save_LIBS
12377
echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
12378
echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6
12379
if test $ac_cv_lib_pthread_pthread_create = yes; then
12380
LIBPTHREAD="-lpthread"
12386
# Check whether --enable-kernel-threads or --disable-kernel-threads was given.
12387
if test "${enable_kernel_threads+set}" = set; then
12388
enableval="$enable_kernel_threads"
12389
kde_use_kernthreads=$enableval
12391
kde_use_kernthreads=no
12394
if test "$kde_use_kernthreads" = "yes"; then
12395
ac_save_CXXFLAGS="$CXXFLAGS"
12396
ac_save_CFLAGS="$CFLAGS"
12397
CXXFLAGS="-I/usr/local/include/pthread/linuxthreads $CXXFLAGS"
12398
CFLAGS="-I/usr/local/include/pthread/linuxthreads $CFLAGS"
12400
for ac_header in pthread/linuxthreads/pthread.h
12402
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12403
if eval "test \"\${$as_ac_Header+set}\" = set"; then
12404
echo "$as_me:$LINENO: checking for $ac_header" >&5
12405
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12406
if eval "test \"\${$as_ac_Header+set}\" = set"; then
12407
echo $ECHO_N "(cached) $ECHO_C" >&6
12409
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12410
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12412
# Is the header compilable?
12413
echo "$as_me:$LINENO: checking $ac_header usability" >&5
12414
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12415
cat >conftest.$ac_ext <<_ACEOF
12418
cat confdefs.h >>conftest.$ac_ext
12419
cat >>conftest.$ac_ext <<_ACEOF
12420
/* end confdefs.h. */
12421
$ac_includes_default
12422
#include <$ac_header>
12424
rm -f conftest.$ac_objext
12425
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12426
(eval $ac_compile) 2>conftest.er1
12428
grep -v '^ *+' conftest.er1 >conftest.err
12430
cat conftest.err >&5
12431
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12432
(exit $ac_status); } &&
12433
{ ac_try='test -z "$ac_c_werror_flag"
12434
|| test ! -s conftest.err'
12435
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12436
(eval $ac_try) 2>&5
12438
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12439
(exit $ac_status); }; } &&
12440
{ ac_try='test -s conftest.$ac_objext'
12441
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12442
(eval $ac_try) 2>&5
12444
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12445
(exit $ac_status); }; }; then
12446
ac_header_compiler=yes
12448
echo "$as_me: failed program was:" >&5
12449
sed 's/^/| /' conftest.$ac_ext >&5
12451
ac_header_compiler=no
12453
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12454
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12455
echo "${ECHO_T}$ac_header_compiler" >&6
12457
# Is the header present?
12458
echo "$as_me:$LINENO: checking $ac_header presence" >&5
12459
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12460
cat >conftest.$ac_ext <<_ACEOF
12463
cat confdefs.h >>conftest.$ac_ext
12464
cat >>conftest.$ac_ext <<_ACEOF
12465
/* end confdefs.h. */
12466
#include <$ac_header>
12468
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12469
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12471
grep -v '^ *+' conftest.er1 >conftest.err
12473
cat conftest.err >&5
12474
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12475
(exit $ac_status); } >/dev/null; then
12476
if test -s conftest.err; then
12477
ac_cpp_err=$ac_c_preproc_warn_flag
12478
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12485
if test -z "$ac_cpp_err"; then
12486
ac_header_preproc=yes
12488
echo "$as_me: failed program was:" >&5
12489
sed 's/^/| /' conftest.$ac_ext >&5
12491
ac_header_preproc=no
12493
rm -f conftest.err conftest.$ac_ext
12494
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12495
echo "${ECHO_T}$ac_header_preproc" >&6
12497
# So? What about this header?
12498
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12500
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12501
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12502
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12503
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12504
ac_header_preproc=yes
12507
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12508
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12509
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12510
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12511
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12512
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12513
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12514
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12515
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12516
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12517
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12518
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12521
## ------------------------------------------ ##
12522
## Report this to the AC_PACKAGE_NAME lists. ##
12523
## ------------------------------------------ ##
12526
sed "s/^/$as_me: WARNING: /" >&2
12529
echo "$as_me:$LINENO: checking for $ac_header" >&5
12530
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12531
if eval "test \"\${$as_ac_Header+set}\" = set"; then
12532
echo $ECHO_N "(cached) $ECHO_C" >&6
12534
eval "$as_ac_Header=\$ac_header_preproc"
12536
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12537
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12540
if test `eval echo '${'$as_ac_Header'}'` = yes; then
12541
cat >>confdefs.h <<_ACEOF
12542
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12549
CXXFLAGS="$ac_save_CXXFLAGS"
12550
CFLAGS="$ac_save_CFLAGS"
12551
if test "$ac_cv_header_pthread_linuxthreads_pthread_h" = "no"; then
12552
kde_use_kernthreads=no
12554
echo "$as_me:$LINENO: checking for pthread_join in -llthread" >&5
12555
echo $ECHO_N "checking for pthread_join in -llthread... $ECHO_C" >&6
12556
if test "${ac_cv_lib_lthread_pthread_join+set}" = set; then
12557
echo $ECHO_N "(cached) $ECHO_C" >&6
12559
ac_check_lib_save_LIBS=$LIBS
12560
LIBS="-llthread $LIBS"
12561
cat >conftest.$ac_ext <<_ACEOF
12564
cat confdefs.h >>conftest.$ac_ext
12565
cat >>conftest.$ac_ext <<_ACEOF
12566
/* end confdefs.h. */
12568
/* Override any gcc2 internal prototype to avoid an error. */
12572
/* We use char because int might match the return type of a gcc2
12573
builtin and then its argument prototype would still apply. */
12574
char pthread_join ();
12583
rm -f conftest.$ac_objext conftest$ac_exeext
12584
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12585
(eval $ac_link) 2>conftest.er1
12587
grep -v '^ *+' conftest.er1 >conftest.err
12589
cat conftest.err >&5
12590
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12591
(exit $ac_status); } &&
12592
{ ac_try='test -z "$ac_c_werror_flag"
12593
|| test ! -s conftest.err'
12594
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12595
(eval $ac_try) 2>&5
12597
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12598
(exit $ac_status); }; } &&
12599
{ ac_try='test -s conftest$ac_exeext'
12600
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12601
(eval $ac_try) 2>&5
12603
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12604
(exit $ac_status); }; }; then
12605
ac_cv_lib_lthread_pthread_join=yes
12607
echo "$as_me: failed program was:" >&5
12608
sed 's/^/| /' conftest.$ac_ext >&5
12610
ac_cv_lib_lthread_pthread_join=no
12612
rm -f conftest.err conftest.$ac_objext \
12613
conftest$ac_exeext conftest.$ac_ext
12614
LIBS=$ac_check_lib_save_LIBS
12616
echo "$as_me:$LINENO: result: $ac_cv_lib_lthread_pthread_join" >&5
12617
echo "${ECHO_T}$ac_cv_lib_lthread_pthread_join" >&6
12618
if test $ac_cv_lib_lthread_pthread_join = yes; then
12619
LIBPTHREAD="-llthread -llgcc_r"
12621
if test "x$LIBPTHREAD" = "x"; then
12622
kde_use_kernthreads=no
12624
USE_THREADS="-D_THREAD_SAFE -I/usr/local/include/pthread/linuxthreads"
12629
if test -z "$LIBPTHREAD"; then
12631
echo "$as_me:$LINENO: checking whether $CXX supports -pthread" >&5
12632
echo $ECHO_N "checking whether $CXX supports -pthread... $ECHO_C" >&6
12633
kde_cache=`echo pthread | sed 'y% .=/+-%____p_%'`
12634
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
12635
echo $ECHO_N "(cached) $ECHO_C" >&6
12641
ac_cpp='$CXXCPP $CPPFLAGS'
12642
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12643
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12644
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12646
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12649
save_CXXFLAGS="$CXXFLAGS"
12650
CXXFLAGS="$CXXFLAGS -pthread"
12651
cat >conftest.$ac_ext <<_ACEOF
12654
cat confdefs.h >>conftest.$ac_ext
12655
cat >>conftest.$ac_ext <<_ACEOF
12656
/* end confdefs.h. */
12666
rm -f conftest.$ac_objext conftest$ac_exeext
12667
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12668
(eval $ac_link) 2>conftest.er1
12670
grep -v '^ *+' conftest.er1 >conftest.err
12672
cat conftest.err >&5
12673
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12674
(exit $ac_status); } &&
12675
{ ac_try='test -z "$ac_cxx_werror_flag"
12676
|| test ! -s conftest.err'
12677
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12678
(eval $ac_try) 2>&5
12680
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12681
(exit $ac_status); }; } &&
12682
{ ac_try='test -s conftest$ac_exeext'
12683
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12684
(eval $ac_try) 2>&5
12686
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12687
(exit $ac_status); }; }; then
12688
eval "kde_cv_prog_cxx_$kde_cache=yes"
12690
echo "$as_me: failed program was:" >&5
12691
sed 's/^/| /' conftest.$ac_ext >&5
12694
rm -f conftest.err conftest.$ac_objext \
12695
conftest$ac_exeext conftest.$ac_ext
12696
CXXFLAGS="$save_CXXFLAGS"
12698
ac_cpp='$CPP $CPPFLAGS'
12699
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12700
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12701
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12706
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
12707
echo "$as_me:$LINENO: result: yes" >&5
12708
echo "${ECHO_T}yes" >&6
12710
USE_THREADS="-pthread"
12712
echo "$as_me:$LINENO: result: no" >&5
12713
echo "${ECHO_T}no" >&6
12724
echo "$as_me:$LINENO: checking whether $CXX supports -mt" >&5
12725
echo $ECHO_N "checking whether $CXX supports -mt... $ECHO_C" >&6
12726
kde_cache=`echo mt | sed 'y% .=/+-%____p_%'`
12727
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
12728
echo $ECHO_N "(cached) $ECHO_C" >&6
12734
ac_cpp='$CXXCPP $CPPFLAGS'
12735
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12736
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12737
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12739
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12742
save_CXXFLAGS="$CXXFLAGS"
12743
CXXFLAGS="$CXXFLAGS -mt"
12744
cat >conftest.$ac_ext <<_ACEOF
12747
cat confdefs.h >>conftest.$ac_ext
12748
cat >>conftest.$ac_ext <<_ACEOF
12749
/* end confdefs.h. */
12759
rm -f conftest.$ac_objext conftest$ac_exeext
12760
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12761
(eval $ac_link) 2>conftest.er1
12763
grep -v '^ *+' conftest.er1 >conftest.err
12765
cat conftest.err >&5
12766
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12767
(exit $ac_status); } &&
12768
{ ac_try='test -z "$ac_cxx_werror_flag"
12769
|| test ! -s conftest.err'
12770
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12771
(eval $ac_try) 2>&5
12773
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12774
(exit $ac_status); }; } &&
12775
{ ac_try='test -s conftest$ac_exeext'
12776
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12777
(eval $ac_try) 2>&5
12779
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12780
(exit $ac_status); }; }; then
12781
eval "kde_cv_prog_cxx_$kde_cache=yes"
12783
echo "$as_me: failed program was:" >&5
12784
sed 's/^/| /' conftest.$ac_ext >&5
12787
rm -f conftest.err conftest.$ac_objext \
12788
conftest$ac_exeext conftest.$ac_ext
12789
CXXFLAGS="$save_CXXFLAGS"
12791
ac_cpp='$CPP $CPPFLAGS'
12792
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12793
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12794
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12799
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
12800
echo "$as_me:$LINENO: result: yes" >&5
12801
echo "${ECHO_T}yes" >&6
12805
echo "$as_me:$LINENO: result: no" >&5
12806
echo "${ECHO_T}no" >&6
12811
CPPFLAGS="$CPPFLAGS -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DSVR4"
12814
CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE"
12817
CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE"
12818
LIBPTHREAD="$LIBPTHREAD -lc_r"
12820
linux*) CPPFLAGS="$CPPFLAGS -D_REENTRANT"
12821
if test "$CXX" = "KCC"; then
12822
CXXFLAGS="$CXXFLAGS --thread_safe"
12823
NOOPT_CXXFLAGS="$NOOPT_CXXFLAGS --thread_safe"
12833
echo "$as_me:$LINENO: checking for extra includes" >&5
12834
echo $ECHO_N "checking for extra includes... $ECHO_C" >&6
12836
# Check whether --with-extra-includes or --without-extra-includes was given.
12837
if test "${with_extra_includes+set}" = set; then
12838
withval="$with_extra_includes"
12839
kde_use_extra_includes="$withval"
12841
kde_use_extra_includes=NONE
12844
kde_extra_includes=
12845
if test -n "$kde_use_extra_includes" && \
12846
test "$kde_use_extra_includes" != "NONE"; then
12850
for dir in $kde_use_extra_includes; do
12851
kde_extra_includes="$kde_extra_includes $dir"
12852
USER_INCLUDES="$USER_INCLUDES -I$dir"
12855
kde_use_extra_includes="added"
12857
kde_use_extra_includes="no"
12861
echo "$as_me:$LINENO: result: $kde_use_extra_includes" >&5
12862
echo "${ECHO_T}$kde_use_extra_includes" >&6
12865
echo "$as_me:$LINENO: checking for extra libs" >&5
12866
echo $ECHO_N "checking for extra libs... $ECHO_C" >&6
12868
# Check whether --with-extra-libs or --without-extra-libs was given.
12869
if test "${with_extra_libs+set}" = set; then
12870
withval="$with_extra_libs"
12871
kde_use_extra_libs=$withval
12873
kde_use_extra_libs=NONE
12876
if test -n "$kde_use_extra_libs" && \
12877
test "$kde_use_extra_libs" != "NONE"; then
12881
for dir in $kde_use_extra_libs; do
12882
kde_extra_libs="$kde_extra_libs $dir"
12883
KDE_EXTRA_RPATH="$KDE_EXTRA_RPATH -R $dir"
12884
USER_LDFLAGS="$USER_LDFLAGS -L$dir"
12887
kde_use_extra_libs="added"
12889
kde_use_extra_libs="no"
12894
echo "$as_me:$LINENO: result: $kde_use_extra_libs" >&5
12895
echo "${ECHO_T}$kde_use_extra_libs" >&6
12900
echo "$as_me:$LINENO: checking for libz" >&5
12901
echo $ECHO_N "checking for libz... $ECHO_C" >&6
12902
if test "${ac_cv_lib_z+set}" = set; then
12903
echo $ECHO_N "(cached) $ECHO_C" >&6
12907
ac_cpp='$CPP $CPPFLAGS'
12908
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12909
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12910
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12912
kde_save_LIBS="$LIBS"
12913
LIBS="$all_libraries $USER_LDFLAGS -lz $LIBSOCKET"
12914
kde_save_CFLAGS="$CFLAGS"
12915
CFLAGS="$CFLAGS $all_includes $USER_INCLUDES"
12916
cat >conftest.$ac_ext <<_ACEOF
12919
cat confdefs.h >>conftest.$ac_ext
12920
cat >>conftest.$ac_ext <<_ACEOF
12921
/* end confdefs.h. */
12928
return (zlibVersion() == ZLIB_VERSION);
12933
rm -f conftest.$ac_objext conftest$ac_exeext
12934
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12935
(eval $ac_link) 2>conftest.er1
12937
grep -v '^ *+' conftest.er1 >conftest.err
12939
cat conftest.err >&5
12940
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12941
(exit $ac_status); } &&
12942
{ ac_try='test -z "$ac_c_werror_flag"
12943
|| test ! -s conftest.err'
12944
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12945
(eval $ac_try) 2>&5
12947
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12948
(exit $ac_status); }; } &&
12949
{ ac_try='test -s conftest$ac_exeext'
12950
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12951
(eval $ac_try) 2>&5
12953
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12954
(exit $ac_status); }; }; then
12955
eval "ac_cv_lib_z='-lz'"
12957
echo "$as_me: failed program was:" >&5
12958
sed 's/^/| /' conftest.$ac_ext >&5
12960
eval "ac_cv_lib_z=no"
12962
rm -f conftest.err conftest.$ac_objext \
12963
conftest$ac_exeext conftest.$ac_ext
12964
LIBS="$kde_save_LIBS"
12965
CFLAGS="$kde_save_CFLAGS"
12968
if test ! "$ac_cv_lib_z" = no; then
12970
cat >>confdefs.h <<_ACEOF
12971
#define HAVE_LIBZ 1
12974
LIBZ="$ac_cv_lib_z"
12976
echo "$as_me:$LINENO: result: $ac_cv_lib_z" >&5
12977
echo "${ECHO_T}$ac_cv_lib_z" >&6
12979
{ { echo "$as_me:$LINENO: error: not found. Check your installation and look into config.log" >&5
12980
echo "$as_me: error: not found. Check your installation and look into config.log" >&2;}
12981
{ (exit 1); exit 1; }; }
12989
echo "$as_me:$LINENO: checking for libpng" >&5
12990
echo $ECHO_N "checking for libpng... $ECHO_C" >&6
12991
if test "${ac_cv_lib_png+set}" = set; then
12992
echo $ECHO_N "(cached) $ECHO_C" >&6
12995
kde_save_LIBS="$LIBS"
12996
if test "x$kde_use_qt_emb" != "xyes"; then
12997
LIBS="$LIBS $all_libraries $USER_LDFLAGS -lpng $LIBZ -lm -lX11 $LIBSOCKET"
12999
LIBS="$LIBS $all_libraries $USER_LDFLAGS -lpng $LIBZ -lm"
13001
kde_save_CFLAGS="$CFLAGS"
13002
CFLAGS="$CFLAGS $all_includes $USER_INCLUDES"
13004
ac_cpp='$CPP $CPPFLAGS'
13005
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13006
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13007
ac_compiler_gnu=$ac_cv_c_compiler_gnu
13009
cat >conftest.$ac_ext <<_ACEOF
13012
cat confdefs.h >>conftest.$ac_ext
13013
cat >>conftest.$ac_ext <<_ACEOF
13014
/* end confdefs.h. */
13022
png_structp png_ptr = png_create_read_struct( /* image ptr */
13023
PNG_LIBPNG_VER_STRING, 0, 0, 0 );
13024
return( png_ptr != 0 );
13030
rm -f conftest.$ac_objext conftest$ac_exeext
13031
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13032
(eval $ac_link) 2>conftest.er1
13034
grep -v '^ *+' conftest.er1 >conftest.err
13036
cat conftest.err >&5
13037
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13038
(exit $ac_status); } &&
13039
{ ac_try='test -z "$ac_c_werror_flag"
13040
|| test ! -s conftest.err'
13041
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13042
(eval $ac_try) 2>&5
13044
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13045
(exit $ac_status); }; } &&
13046
{ ac_try='test -s conftest$ac_exeext'
13047
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13048
(eval $ac_try) 2>&5
13050
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13051
(exit $ac_status); }; }; then
13052
eval "ac_cv_lib_png='-lpng $LIBZ -lm'"
13054
echo "$as_me: failed program was:" >&5
13055
sed 's/^/| /' conftest.$ac_ext >&5
13057
eval "ac_cv_lib_png=no"
13060
rm -f conftest.err conftest.$ac_objext \
13061
conftest$ac_exeext conftest.$ac_ext
13062
LIBS="$kde_save_LIBS"
13063
CFLAGS="$kde_save_CFLAGS"
13066
if eval "test ! \"`echo $ac_cv_lib_png`\" = no"; then
13068
cat >>confdefs.h <<_ACEOF
13069
#define HAVE_LIBPNG 1
13072
LIBPNG="$ac_cv_lib_png"
13074
echo "$as_me:$LINENO: result: $ac_cv_lib_png" >&5
13075
echo "${ECHO_T}$ac_cv_lib_png" >&6
13077
echo "$as_me:$LINENO: result: no" >&5
13078
echo "${ECHO_T}no" >&6
13085
echo "$as_me:$LINENO: checking for libjpeg6b" >&5
13086
echo $ECHO_N "checking for libjpeg6b... $ECHO_C" >&6
13087
if test "${ac_cv_lib_jpeg_6b+set}" = set; then
13088
echo $ECHO_N "(cached) $ECHO_C" >&6
13092
ac_cpp='$CPP $CPPFLAGS'
13093
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13094
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13095
ac_compiler_gnu=$ac_cv_c_compiler_gnu
13097
ac_save_LIBS="$LIBS"
13098
LIBS="$all_libraries $USER_LDFLAGS -ljpeg6b -lm"
13099
ac_save_CFLAGS="$CFLAGS"
13100
CFLAGS="$CFLAGS $all_includes $USER_INCLUDES"
13101
cat >conftest.$ac_ext <<_ACEOF
13104
cat confdefs.h >>conftest.$ac_ext
13105
cat >>conftest.$ac_ext <<_ACEOF
13106
/* end confdefs.h. */
13107
/* Override any gcc2 internal prototype to avoid an error. */
13108
struct jpeg_decompress_struct;
13109
typedef struct jpeg_decompress_struct * j_decompress_ptr;
13110
typedef int size_t;
13114
void jpeg_CreateDecompress(j_decompress_ptr cinfo,
13115
int version, size_t structsize);
13119
/* We use char because int might match the return type of a gcc2
13120
builtin and then its argument prototype would still apply. */
13125
jpeg_CreateDecompress(0L, 0, 0);
13130
rm -f conftest.$ac_objext conftest$ac_exeext
13131
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13132
(eval $ac_link) 2>conftest.er1
13134
grep -v '^ *+' conftest.er1 >conftest.err
13136
cat conftest.err >&5
13137
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13138
(exit $ac_status); } &&
13139
{ ac_try='test -z "$ac_c_werror_flag"
13140
|| test ! -s conftest.err'
13141
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13142
(eval $ac_try) 2>&5
13144
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13145
(exit $ac_status); }; } &&
13146
{ ac_try='test -s conftest$ac_exeext'
13147
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13148
(eval $ac_try) 2>&5
13150
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13151
(exit $ac_status); }; }; then
13152
eval "ac_cv_lib_jpeg_6b=-ljpeg6b"
13154
echo "$as_me: failed program was:" >&5
13155
sed 's/^/| /' conftest.$ac_ext >&5
13157
eval "ac_cv_lib_jpeg_6b=no"
13159
rm -f conftest.err conftest.$ac_objext \
13160
conftest$ac_exeext conftest.$ac_ext
13161
LIBS="$ac_save_LIBS"
13162
CFLAGS="$ac_save_CFLAGS"
13167
if eval "test ! \"`echo $ac_cv_lib_jpeg_6b`\" = no"; then
13168
LIBJPEG="$ac_cv_lib_jpeg_6b"
13169
echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_6b" >&5
13170
echo "${ECHO_T}$ac_cv_lib_jpeg_6b" >&6
13172
echo "$as_me:$LINENO: result: no" >&5
13173
echo "${ECHO_T}no" >&6
13175
echo "$as_me:$LINENO: checking for libjpeg" >&5
13176
echo $ECHO_N "checking for libjpeg... $ECHO_C" >&6
13177
if test "${ac_cv_lib_jpeg_normal+set}" = set; then
13178
echo $ECHO_N "(cached) $ECHO_C" >&6
13182
ac_cpp='$CPP $CPPFLAGS'
13183
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13184
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13185
ac_compiler_gnu=$ac_cv_c_compiler_gnu
13187
ac_save_LIBS="$LIBS"
13188
LIBS="$all_libraries $USER_LDFLAGS -ljpeg -lm"
13189
ac_save_CFLAGS="$CFLAGS"
13190
CFLAGS="$CFLAGS $all_includes $USER_INCLUDES"
13191
cat >conftest.$ac_ext <<_ACEOF
13194
cat confdefs.h >>conftest.$ac_ext
13195
cat >>conftest.$ac_ext <<_ACEOF
13196
/* end confdefs.h. */
13197
/* Override any gcc2 internal prototype to avoid an error. */
13198
struct jpeg_decompress_struct;
13199
typedef struct jpeg_decompress_struct * j_decompress_ptr;
13200
typedef int size_t;
13204
void jpeg_CreateDecompress(j_decompress_ptr cinfo,
13205
int version, size_t structsize);
13209
/* We use char because int might match the return type of a gcc2
13210
builtin and then its argument prototype would still apply. */
13215
jpeg_CreateDecompress(0L, 0, 0);
13220
rm -f conftest.$ac_objext conftest$ac_exeext
13221
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13222
(eval $ac_link) 2>conftest.er1
13224
grep -v '^ *+' conftest.er1 >conftest.err
13226
cat conftest.err >&5
13227
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13228
(exit $ac_status); } &&
13229
{ ac_try='test -z "$ac_c_werror_flag"
13230
|| test ! -s conftest.err'
13231
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13232
(eval $ac_try) 2>&5
13234
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13235
(exit $ac_status); }; } &&
13236
{ ac_try='test -s conftest$ac_exeext'
13237
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13238
(eval $ac_try) 2>&5
13240
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13241
(exit $ac_status); }; }; then
13242
eval "ac_cv_lib_jpeg_normal=-ljpeg"
13244
echo "$as_me: failed program was:" >&5
13245
sed 's/^/| /' conftest.$ac_ext >&5
13247
eval "ac_cv_lib_jpeg_normal=no"
13249
rm -f conftest.err conftest.$ac_objext \
13250
conftest$ac_exeext conftest.$ac_ext
13251
LIBS="$ac_save_LIBS"
13252
CFLAGS="$ac_save_CFLAGS"
13257
if eval "test ! \"`echo $ac_cv_lib_jpeg_normal`\" = no"; then
13258
LIBJPEG="$ac_cv_lib_jpeg_normal"
13259
echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_normal" >&5
13260
echo "${ECHO_T}$ac_cv_lib_jpeg_normal" >&6
13262
echo "$as_me:$LINENO: result: no" >&5
13263
echo "${ECHO_T}no" >&6
13276
jpeg_incdirs="/usr/include /usr/local/include $kde_extra_includes"
13279
for i in $jpeg_incdirs;
13281
for j in jpeglib.h;
13283
echo "configure: 13283: $i/$j" >&5
13284
if test -r "$i/$j"; then
13285
echo "taking that" >&5
13292
test "x$jpeg_incdir" = xNO && jpeg_incdir=
13294
if test -n "$jpeg_incdir" && test -n "$LIBJPEG" ; then
13296
cat >>confdefs.h <<_ACEOF
13297
#define HAVE_LIBJPEG 1
13301
if test -n "$jpeg_incdir" || test -n "$LIBJPEG" ; then
13302
{ echo "$as_me:$LINENO: WARNING:
13303
There is an installation error in jpeg support. You seem to have only one
13304
of either the headers _or_ the libraries installed. You may need to either
13305
provide correct --with-extra-... options, or the development package of
13306
libjpeg6b. You can get a source package of libjpeg from http://www.ijg.org/
13307
Disabling JPEG support.
13309
echo "$as_me: WARNING:
13310
There is an installation error in jpeg support. You seem to have only one
13311
of either the headers _or_ the libraries installed. You may need to either
13312
provide correct --with-extra-... options, or the development package of
13313
libjpeg6b. You can get a source package of libjpeg from http://www.ijg.org/
13314
Disabling JPEG support.
13317
{ echo "$as_me:$LINENO: WARNING: libjpeg not found. disable JPEG support." >&5
13318
echo "$as_me: WARNING: libjpeg not found. disable JPEG support." >&2;}
13332
# Check whether --enable-mt or --disable-mt was given.
13333
if test "${enable_mt+set}" = set; then
13334
enableval="$enable_mt"
13335
kde_use_qt_mt=$enableval
13338
if test $kde_qtver = 3; then
13352
if test "x$kde_use_qt_mt" = "xyes"; then
13356
if test -z "$LIBPTHREAD"; then
13357
if test -z "$USE_THREADS"; then
13358
kde_check_threading_default=no
13360
kde_check_threading_default=yes
13363
kde_check_threading_default=yes
13365
# Check whether --enable-threading or --disable-threading was given.
13366
if test "${enable_threading+set}" = set; then
13367
enableval="$enable_threading"
13368
kde_use_threading=$enableval
13370
kde_use_threading=$kde_check_threading_default
13372
if test "x$kde_use_threading" = "xyes"; then
13374
cat >>confdefs.h <<\_ACEOF
13375
#define HAVE_LIBPTHREAD 1
13380
if test "x$kde_use_threading" = "xyes"; then
13381
CPPFLAGS="$USE_THREADS -DQT_THREAD_SUPPORT $CPPFLAGS"
13382
KDE_MT_LDFLAGS="$USE_THREADS"
13383
KDE_MT_LIBS="$LIBPTHREAD"
13391
kde_qt_was_given=yes
13393
if test -z "$LIBQT_GLOB"; then
13394
if test "x$kde_use_qt_emb" = "xyes"; then
13395
LIBQT_GLOB="libqte.*"
13397
LIBQT_GLOB="libqt.*"
13401
if test -z "$LIBQT"; then
13402
if test "x$kde_use_qt_emb" = "xyes"; then
13408
kde_int_qt="-l$qtlib"
13410
kde_int_qt="$LIBQT"
13414
if test -z "$LIBQPE"; then
13415
if test "x$kde_use_qt_emb" = "xyes"; then
13416
if test "x$kde_use_qt_emb_palm" = "xyes"; then
13427
if test "x$kde_use_qt_mt" = "xyes"; then
13428
if test -z "$LIBQT"; then
13429
LIBQT="-l$qtlib-mt"
13430
kde_int_qt="-l$qtlib-mt"
13433
kde_int_qt="$qtlib-mt"
13435
LIBQT_GLOB="lib$qtlib-mt.*"
13436
USING_QT_MT="using -mt"
13441
if test $kde_qtver != 1; then
13445
LIBQT="$LIBQT $LIBPNG $LIBJPEG"
13448
if test $kde_qtver = 3; then
13450
LIBQT="$LIBQT $LIBDL"
13453
echo "$as_me:$LINENO: checking for Qt" >&5
13454
echo $ECHO_N "checking for Qt... $ECHO_C" >&6
13456
if test "x$kde_use_qt_emb" != "xyes"; then
13457
LIBQT="$LIBQT $X_PRE_LIBS -lXext -lX11 $LIBSM $LIBSOCKET"
13459
ac_qt_includes=NO ac_qt_libraries=NO ac_qt_bindir=NO
13463
# Check whether --with-qt-dir or --without-qt-dir was given.
13464
if test "${with_qt_dir+set}" = set; then
13465
withval="$with_qt_dir"
13466
ac_qt_includes="$withval"/include
13467
ac_qt_libraries="$withval"/lib
13468
ac_qt_bindir="$withval"/bin
13473
# Check whether --with-qt-includes or --without-qt-includes was given.
13474
if test "${with_qt_includes+set}" = set; then
13475
withval="$with_qt_includes"
13477
ac_qt_includes="$withval"
13481
kde_qt_libs_given=no
13484
# Check whether --with-qt-libraries or --without-qt-libraries was given.
13485
if test "${with_qt_libraries+set}" = set; then
13486
withval="$with_qt_libraries"
13487
ac_qt_libraries="$withval"
13488
kde_qt_libs_given=yes
13492
if test "${ac_cv_have_qt+set}" = set; then
13493
echo $ECHO_N "(cached) $ECHO_C" >&6
13495
#try to guess Qt locations
13498
for dir in $kde_qt_dirs; do
13499
qt_incdirs="$qt_incdirs $dir/include $dir"
13501
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 $x_includes"
13502
if test ! "$ac_qt_includes" = "NO"; then
13503
qt_incdirs="$ac_qt_includes $qt_incdirs"
13506
if test "$kde_qtver" != "1"; then
13507
kde_qt_header=qstyle.h
13509
kde_qt_header=qglobal.h
13514
for i in $qt_incdirs;
13516
for j in $kde_qt_header;
13518
echo "configure: 13518: $i/$j" >&5
13519
if test -r "$i/$j"; then
13520
echo "taking that" >&5
13527
ac_qt_includes="$qt_incdir"
13530
for dir in $kde_qt_dirs; do
13531
qt_libdirs="$qt_libdirs $dir/lib $dir"
13533
qt_libdirs="$QTLIB $qt_libdirs /usr/X11R6/lib /usr/lib /usr/local/qt/lib $x_libraries"
13534
if test ! "$ac_qt_libraries" = "NO"; then
13535
qt_libdir=$ac_qt_libraries
13537
qt_libdirs="$ac_qt_libraries $qt_libdirs"
13538
# if the Qt was given, the chance is too big that libqt.* doesn't exist
13540
for dir in $qt_libdirs; do
13541
try="ls -1 $dir/${LIBQT_GLOB}"
13542
if test -n "`$try 2> /dev/null`"; then qt_libdir=$dir; break; else echo "tried $dir" >&5 ; fi
13546
ac_qt_libraries="$qt_libdir"
13551
ac_cpp='$CXXCPP $CPPFLAGS'
13552
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13553
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13554
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13556
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13560
ac_cxxflags_safe="$CXXFLAGS"
13561
ac_ldflags_safe="$LDFLAGS"
13562
ac_libs_safe="$LIBS"
13564
CXXFLAGS="$CXXFLAGS -I$qt_incdir $all_includes"
13565
LDFLAGS="$LDFLAGS -L$qt_libdir $all_libraries $USER_LDFLAGS $KDE_MT_LDFLAGS"
13566
LIBS="$LIBS $LIBQT $KDE_MT_LIBS"
13570
cat > conftest.$ac_ext <<EOF
13571
#include "confdefs.h"
13572
#include <qglobal.h>
13573
#include <qapplication.h>
13575
if test "$kde_qtver" = "2"; then
13576
cat >> conftest.$ac_ext <<EOF
13577
#include <qevent.h>
13578
#include <qstring.h>
13579
#include <qstyle.h>
13582
if test $kde_qtsubver -gt 0; then
13583
cat >> conftest.$ac_ext <<EOF
13584
#include <qiconview.h>
13589
if test "$kde_qtver" = "3"; then
13590
cat >> conftest.$ac_ext <<EOF
13591
#include <qcursor.h>
13592
#include <qstylefactory.h>
13593
#include <private/qucomextra_p.h>
13597
echo "#if ! ($kde_qt_verstring)" >> conftest.$ac_ext
13598
cat >> conftest.$ac_ext <<EOF
13604
if test "$kde_qtver" = "2"; then
13605
cat >> conftest.$ac_ext <<EOF
13606
QStringList *t = new QStringList();
13609
if test $kde_qtsubver -gt 0; then
13610
cat >> conftest.$ac_ext <<EOF
13612
iv.setWordWrapIconText(false);
13614
s.setLatin1("Elvis is alive", 14);
13618
if test "$kde_qtver" = "3"; then
13619
cat >> conftest.$ac_ext <<EOF
13620
(void)QStyleFactory::create(QString::null);
13621
QCursor c(Qt::WhatsThisCursor);
13624
cat >> conftest.$ac_ext <<EOF
13630
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13631
(eval $ac_link) 2>&5
13633
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13634
(exit $ac_status); } && test -s conftest; then
13637
echo "configure: failed program was:" >&5
13638
cat conftest.$ac_ext >&5
13639
ac_qt_libraries="NO"
13642
CXXFLAGS="$ac_cxxflags_safe"
13643
LDFLAGS="$ac_ldflags_safe"
13644
LIBS="$ac_libs_safe"
13647
ac_cpp='$CPP $CPPFLAGS'
13648
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13649
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13650
ac_compiler_gnu=$ac_cv_c_compiler_gnu
13652
if test "$ac_qt_includes" = NO || test "$ac_qt_libraries" = NO; then
13653
ac_cv_have_qt="have_qt=no"
13656
if test "$ac_qt_includes" = NO; then
13657
if test "$ac_qt_libraries" = NO; then
13658
ac_qt_notfound="(headers and libraries)";
13660
ac_qt_notfound="(headers)";
13663
if test "x$kde_use_qt_mt" = "xyes"; then
13665
Make sure that you have compiled Qt with thread support!"
13666
ac_qt_notfound="(library $qtlib-mt)";
13668
ac_qt_notfound="(library $qtlib)";
13672
{ { echo "$as_me:$LINENO: error: Qt ($kde_qt_minversion) $ac_qt_notfound not found. Please check your installation!
13673
For more details about this problem, look at the end of config.log.$missing_qt_mt" >&5
13674
echo "$as_me: error: Qt ($kde_qt_minversion) $ac_qt_notfound not found. Please check your installation!
13675
For more details about this problem, look at the end of config.log.$missing_qt_mt" >&2;}
13676
{ (exit 1); exit 1; }; }
13684
eval "$ac_cv_have_qt"
13686
if test "$have_qt" != yes; then
13687
echo "$as_me:$LINENO: result: $have_qt" >&5
13688
echo "${ECHO_T}$have_qt" >&6;
13690
ac_cv_have_qt="have_qt=yes \
13691
ac_qt_includes=$ac_qt_includes ac_qt_libraries=$ac_qt_libraries"
13692
echo "$as_me:$LINENO: result: libraries $ac_qt_libraries, headers $ac_qt_includes $USING_QT_MT" >&5
13693
echo "${ECHO_T}libraries $ac_qt_libraries, headers $ac_qt_includes $USING_QT_MT" >&6
13695
qt_libraries="$ac_qt_libraries"
13696
qt_includes="$ac_qt_includes"
13699
if test ! "$kde_qt_libs_given" = "yes"; then
13702
echo "$as_me:$LINENO: checking if Qt compiles without flags" >&5
13703
echo $ECHO_N "checking if Qt compiles without flags... $ECHO_C" >&6
13704
if test "${kde_cv_qt_direct+set}" = set; then
13705
echo $ECHO_N "(cached) $ECHO_C" >&6
13711
ac_cpp='$CXXCPP $CPPFLAGS'
13712
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13713
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13714
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13716
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13719
ac_LD_LIBRARY_PATH_safe=$LD_LIBRARY_PATH
13720
ac_LIBRARY_PATH="$LIBRARY_PATH"
13721
ac_cxxflags_safe="$CXXFLAGS"
13722
ac_ldflags_safe="$LDFLAGS"
13723
ac_libs_safe="$LIBS"
13725
CXXFLAGS="$CXXFLAGS -I$qt_includes"
13726
LDFLAGS="$LDFLAGS $X_LDFLAGS"
13727
if test "x$kde_use_qt_emb" != "xyes"; then
13728
LIBS="$LIBQT -lXext -lX11 $LIBSOCKET"
13730
LIBS="$LIBQT $LIBSOCKET"
13733
export LD_LIBRARY_PATH
13735
export LIBRARY_PATH
13739
cat > conftest.$ac_ext <<EOF
13740
#include "confdefs.h"
13741
#include <qglobal.h>
13742
#include <qapplication.h>
13744
if test "$kde_qtver" = "2"; then
13745
cat >> conftest.$ac_ext <<EOF
13746
#include <qevent.h>
13747
#include <qstring.h>
13748
#include <qstyle.h>
13751
if test $kde_qtsubver -gt 0; then
13752
cat >> conftest.$ac_ext <<EOF
13753
#include <qiconview.h>
13758
if test "$kde_qtver" = "3"; then
13759
cat >> conftest.$ac_ext <<EOF
13760
#include <qcursor.h>
13761
#include <qstylefactory.h>
13762
#include <private/qucomextra_p.h>
13766
echo "#if ! ($kde_qt_verstring)" >> conftest.$ac_ext
13767
cat >> conftest.$ac_ext <<EOF
13773
if test "$kde_qtver" = "2"; then
13774
cat >> conftest.$ac_ext <<EOF
13775
QStringList *t = new QStringList();
13778
if test $kde_qtsubver -gt 0; then
13779
cat >> conftest.$ac_ext <<EOF
13781
iv.setWordWrapIconText(false);
13783
s.setLatin1("Elvis is alive", 14);
13787
if test "$kde_qtver" = "3"; then
13788
cat >> conftest.$ac_ext <<EOF
13789
(void)QStyleFactory::create(QString::null);
13790
QCursor c(Qt::WhatsThisCursor);
13793
cat >> conftest.$ac_ext <<EOF
13799
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13800
(eval $ac_link) 2>&5
13802
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13803
(exit $ac_status); } && test -s conftest; then
13804
kde_cv_qt_direct="yes"
13806
kde_cv_qt_direct="no"
13807
echo "configure: failed program was:" >&5
13808
cat conftest.$ac_ext >&5
13812
CXXFLAGS="$ac_cxxflags_safe"
13813
LDFLAGS="$ac_ldflags_safe"
13814
LIBS="$ac_libs_safe"
13816
LD_LIBRARY_PATH="$ac_LD_LIBRARY_PATH_safe"
13817
export LD_LIBRARY_PATH
13818
LIBRARY_PATH="$ac_LIBRARY_PATH"
13819
export LIBRARY_PATH
13821
ac_cpp='$CPP $CPPFLAGS'
13822
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13823
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13824
ac_compiler_gnu=$ac_cv_c_compiler_gnu
13830
if test "$kde_cv_qt_direct" = "yes"; then
13831
echo "$as_me:$LINENO: result: yes" >&5
13832
echo "${ECHO_T}yes" >&6
13835
echo "$as_me:$LINENO: result: no" >&5
13836
echo "${ECHO_T}no" >&6
13845
if test "$qt_includes" = "$x_includes" || test -z "$qt_includes"; then
13848
QT_INCLUDES="-I$qt_includes"
13849
all_includes="$QT_INCLUDES $all_includes"
13852
if test "$qt_libraries" = "$x_libraries" || test -z "$qt_libraries"; then
13855
QT_LDFLAGS="-L$qt_libraries"
13856
all_libraries="$all_libraries $QT_LDFLAGS"
13858
test -z "$KDE_MT_LDFLAGS" || all_libraries="$all_libraries $KDE_MT_LDFLAGS"
13864
for dir in $kde_qt_dirs; do
13865
qt_bindirs="$qt_bindirs $dir/bin $dir/src/moc"
13867
qt_bindirs="$qt_bindirs /usr/bin /usr/X11R6/bin /usr/local/qt/bin"
13868
if test ! "$ac_qt_bindir" = "NO"; then
13869
qt_bindirs="$ac_qt_bindir $qt_bindirs"
13873
echo "$as_me:$LINENO: checking for moc" >&5
13874
echo $ECHO_N "checking for moc... $ECHO_C" >&6
13875
if test -n "$MOC"; then
13876
kde_cv_path="$MOC";
13878
kde_cache=`echo moc | sed 'y%./+-%__p_%'`
13880
if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
13881
echo $ECHO_N "(cached) $ECHO_C" >&6
13888
for dir in $PATH; do
13893
for dir in $dirs; do
13894
if test -x "$dir/moc"; then
13897
evalstr="$dir/moc 2>&1 "
13898
if eval $evalstr; then
13899
kde_cv_path="$dir/moc"
13903
kde_cv_path="$dir/moc"
13909
eval "kde_cv_path_$kde_cache=$kde_cv_path"
13915
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
13919
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
13920
echo "$as_me:$LINENO: result: not found" >&5
13921
echo "${ECHO_T}not found" >&6
13923
{ { echo "$as_me:$LINENO: error: No Qt meta object compiler (moc) found!
13924
Please check whether you installed Qt correctly.
13925
You need to have a running moc binary.
13926
configure tried to run $ac_cv_path_moc and the test didn't
13927
succeed. If configure shouldn't have tried this one, set
13928
the environment variable MOC to the right one before running
13931
echo "$as_me: error: No Qt meta object compiler (moc) found!
13932
Please check whether you installed Qt correctly.
13933
You need to have a running moc binary.
13934
configure tried to run $ac_cv_path_moc and the test didn't
13935
succeed. If configure shouldn't have tried this one, set
13936
the environment variable MOC to the right one before running
13939
{ (exit 1); exit 1; }; }
13942
echo "$as_me:$LINENO: result: $kde_cv_path" >&5
13943
echo "${ECHO_T}$kde_cv_path" >&6
13948
if test -z "$UIC_NOT_NEEDED"; then
13950
echo "$as_me:$LINENO: checking for uic" >&5
13951
echo $ECHO_N "checking for uic... $ECHO_C" >&6
13952
if test -n "$UIC"; then
13953
kde_cv_path="$UIC";
13955
kde_cache=`echo uic | sed 'y%./+-%__p_%'`
13957
if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
13958
echo $ECHO_N "(cached) $ECHO_C" >&6
13965
for dir in $PATH; do
13970
for dir in $dirs; do
13971
if test -x "$dir/uic"; then
13974
evalstr="$dir/uic 2>&1 "
13975
if eval $evalstr; then
13976
kde_cv_path="$dir/uic"
13980
kde_cv_path="$dir/uic"
13986
eval "kde_cv_path_$kde_cache=$kde_cv_path"
13992
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
13996
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
13997
echo "$as_me:$LINENO: result: not found" >&5
13998
echo "${ECHO_T}not found" >&6
14001
echo "$as_me:$LINENO: result: $kde_cv_path" >&5
14002
echo "${ECHO_T}$kde_cv_path" >&6
14007
if test -z "$UIC" ; then
14009
{ echo "$as_me:$LINENO: WARNING: No Qt ui compiler (uic) found!
14010
Please check whether you installed Qt correctly.
14011
You need to have a running uic binary.
14012
configure tried to run $ac_cv_path_uic and the test didn't
14013
succeed. If configure shouldn't have tried this one, set
14014
the environment variable UIC to the right one before running
14017
echo "$as_me: WARNING: No Qt ui compiler (uic) found!
14018
Please check whether you installed Qt correctly.
14019
You need to have a running uic binary.
14020
configure tried to run $ac_cv_path_uic and the test didn't
14021
succeed. If configure shouldn't have tried this one, set
14022
the environment variable UIC to the right one before running
14027
elif test $kde_qtver = 3; then
14029
echo "$as_me:$LINENO: checking whether uic supports -L " >&5
14030
echo $ECHO_N "checking whether uic supports -L ... $ECHO_C" >&6
14031
kde_cache=`echo L | sed 'y% .=/+-%____p_%'`
14032
if eval "test \"\${kde_cv_prog_uic_$kde_cache+set}\" = set"; then
14033
echo $ECHO_N "(cached) $ECHO_C" >&6
14036
cat >conftest.ui <<EOT
14037
<!DOCTYPE UI><UI version="3" stdsetdef="1"></UI>
14039
ac_uic_testrun="$UIC -L /nonexistant conftest.ui >/dev/null"
14040
if { (eval echo "$as_me:$LINENO: \"$ac_uic_testrun\"") >&5
14041
(eval $ac_uic_testrun) 2>&5
14043
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14044
(exit $ac_status); }; then
14045
eval "kde_cv_prog_uic_$kde_cache=yes"
14047
eval "kde_cv_prog_uic_$kde_cache=no"
14054
if eval "test \"`echo '$kde_cv_prog_uic_'$kde_cache`\" = yes"; then
14055
echo "$as_me:$LINENO: result: yes" >&5
14056
echo "${ECHO_T}yes" >&6
14058
ac_uic_supports_libpath=yes
14060
echo "$as_me:$LINENO: result: no" >&5
14061
echo "${ECHO_T}no" >&6
14063
ac_uic_supports_libpath=no
14067
echo "$as_me:$LINENO: checking whether uic supports -nounload " >&5
14068
echo $ECHO_N "checking whether uic supports -nounload ... $ECHO_C" >&6
14069
kde_cache=`echo nounload | sed 'y% .=/+-%____p_%'`
14070
if eval "test \"\${kde_cv_prog_uic_$kde_cache+set}\" = set"; then
14071
echo $ECHO_N "(cached) $ECHO_C" >&6
14074
cat >conftest.ui <<EOT
14075
<!DOCTYPE UI><UI version="3" stdsetdef="1"></UI>
14077
ac_uic_testrun="$UIC -nounload conftest.ui >/dev/null"
14078
if { (eval echo "$as_me:$LINENO: \"$ac_uic_testrun\"") >&5
14079
(eval $ac_uic_testrun) 2>&5
14081
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14082
(exit $ac_status); }; then
14083
eval "kde_cv_prog_uic_$kde_cache=yes"
14085
eval "kde_cv_prog_uic_$kde_cache=no"
14092
if eval "test \"`echo '$kde_cv_prog_uic_'$kde_cache`\" = yes"; then
14093
echo "$as_me:$LINENO: result: yes" >&5
14094
echo "${ECHO_T}yes" >&6
14096
ac_uic_supports_nounload=yes
14098
echo "$as_me:$LINENO: result: no" >&5
14099
echo "${ECHO_T}no" >&6
14101
ac_uic_supports_nounload=no
14105
if test x$ac_uic_supports_libpath = xyes; then
14106
UIC="$UIC -L \$(kde_widgetdir)"
14108
if test x$ac_uic_supports_nounload = xyes; then
14109
UIC="$UIC -nounload"
14113
UIC="echo uic not available: "
14120
if test $kde_qtver = 3; then
14128
echo "$as_me:$LINENO: checking if Qt needs $LIBJPEG" >&5
14129
echo $ECHO_N "checking if Qt needs $LIBJPEG... $ECHO_C" >&6
14130
if test "${kde_cv_qt_jpeg+set}" = set; then
14131
echo $ECHO_N "(cached) $ECHO_C" >&6
14137
ac_cpp='$CXXCPP $CPPFLAGS'
14138
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14139
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14140
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14142
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14145
ac_save_LIBS="$LIBS"
14146
LIBS="$all_libraries $USER_LDFLAGS $LIBQT"
14147
LIBS=`echo $LIBS | sed "s/$LIBJPEG//"`
14148
ac_save_CXXFLAGS="$CXXFLAGS"
14149
CXXFLAGS="$CXXFLAGS $all_includes $USER_INCLUDES"
14150
cat >conftest.$ac_ext <<_ACEOF
14153
cat confdefs.h >>conftest.$ac_ext
14154
cat >>conftest.$ac_ext <<_ACEOF
14155
/* end confdefs.h. */
14156
#include <qapplication.h>
14163
QApplication app(argc, argv);
14168
rm -f conftest.$ac_objext conftest$ac_exeext
14169
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14170
(eval $ac_link) 2>conftest.er1
14172
grep -v '^ *+' conftest.er1 >conftest.err
14174
cat conftest.err >&5
14175
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14176
(exit $ac_status); } &&
14177
{ ac_try='test -z "$ac_cxx_werror_flag"
14178
|| test ! -s conftest.err'
14179
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14180
(eval $ac_try) 2>&5
14182
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14183
(exit $ac_status); }; } &&
14184
{ ac_try='test -s conftest$ac_exeext'
14185
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14186
(eval $ac_try) 2>&5
14188
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14189
(exit $ac_status); }; }; then
14190
eval "kde_cv_qt_jpeg=no"
14192
echo "$as_me: failed program was:" >&5
14193
sed 's/^/| /' conftest.$ac_ext >&5
14195
eval "kde_cv_qt_jpeg=yes"
14197
rm -f conftest.err conftest.$ac_objext \
14198
conftest$ac_exeext conftest.$ac_ext
14199
LIBS="$ac_save_LIBS"
14200
CXXFLAGS="$ac_save_CXXFLAGS"
14202
ac_cpp='$CPP $CPPFLAGS'
14203
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14204
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14205
ac_compiler_gnu=$ac_cv_c_compiler_gnu
14211
if eval "test ! \"`echo $kde_cv_qt_jpeg`\" = no"; then
14212
echo "$as_me:$LINENO: result: yes" >&5
14213
echo "${ECHO_T}yes" >&6
14214
LIBJPEG_QT='$(LIBJPEG)'
14216
echo "$as_me:$LINENO: result: no" >&5
14217
echo "${ECHO_T}no" >&6
14223
if test "x$kde_use_qt_emb" != "xyes"; then
14224
LIB_QT="$kde_int_qt $LIBJPEG_QT "'$(LIBPNG) -lXext $(LIB_X11) $(LIBSM)'
14226
LIB_QT="$kde_int_qt $LIBJPEG_QT "'$(LIBPNG)'
14228
test -z "$KDE_MT_LIBS" || LIB_QT="$LIB_QT $KDE_MT_LIBS"
14243
DO_NOT_COMPILE="$DO_NOT_COMPILE CVS debian bsd-port admin"
14245
if test ! -s $srcdir/subdirs; then
14247
files=`cd $srcdir && ls -1`
14248
dirs=`for i in $files; do if test -d $i; then echo $i; fi; done`
14250
echo $i >> $srcdir/subdirs
14254
if test -s $srcdir/inst-apps; then
14255
ac_topsubdirs="`cat $srcdir/inst-apps`"
14257
ac_topsubdirs="`cat $srcdir/subdirs`"
14260
for i in $ac_topsubdirs; do
14261
echo "$as_me:$LINENO: checking if $i should be compiled" >&5
14262
echo $ECHO_N "checking if $i should be compiled... $ECHO_C" >&6
14263
if test -d $srcdir/$i; then
14265
for j in $DO_NOT_COMPILE; do
14266
if test $i = $j; then
14273
echo "$as_me:$LINENO: result: $install_it" >&5
14274
echo "${ECHO_T}$install_it" >&6
14275
if test $install_it = "yes"; then
14276
TOPSUBDIRS="$TOPSUBDIRS $i"
14283
ac_config_files="$ac_config_files Makefile"
14286
ac_config_files="$ac_config_files src/Makefile"
14288
ac_config_files="$ac_config_files src/pics/Makefile"
14290
ac_config_files="$ac_config_files src/sounds/Makefile"
14292
ac_config_files="$ac_config_files src/translations/Makefile"
14294
ac_config_files="$ac_config_files templates/Makefile"
14297
cat >confcache <<\_ACEOF
14298
# This file is a shell script that caches the results of configure
14299
# tests run on this system so they can be shared between configure
14300
# scripts and configure runs, see configure's option --config-cache.
14301
# It is not useful on other systems. If it contains results you don't
14302
# want to keep, you may remove or edit it.
14304
# config.status only pays attention to the cache file if you give it
14305
# the --recheck option to rerun configure.
14307
# `ac_cv_env_foo' variables (set or unset) will be overridden when
14308
# loading this file, other *unset* `ac_cv_foo' will be assigned the
14309
# following values.
14313
# The following way of writing the cache mishandles newlines in values,
14314
# but we know of no workaround that is simple, portable, and efficient.
14315
# So, don't put newlines in cache variables' values.
14316
# Ultrix sh set writes to stderr and can't be redirected directly,
14317
# and sets the high bit in the cache file unless we assign to the vars.
14320
case `(ac_space=' '; set | grep ac_space) 2>&1` in
14322
# `set' does not quote correctly, so add quotes (double-quote
14323
# substitution turns \\\\ into \\, and sed turns \\ into \).
14326
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14329
# `set' quotes correctly as required by POSIX, so do not add quotes.
14331
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
14338
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14340
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14342
if diff $cache_file confcache >/dev/null 2>&1; then :; else
14343
if test -w $cache_file; then
14344
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
14345
cat confcache >$cache_file
14347
echo "not updating unwritable cache $cache_file"
14352
test "x$prefix" = xNONE && prefix=$ac_default_prefix
14353
# Let make expand exec_prefix.
14354
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14356
# VPATH may cause trouble with some makes, so we remove $(srcdir),
14357
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
14358
# trailing colons and then remove the whole line if VPATH becomes empty
14359
# (actually we leave an empty line to preserve line numbers).
14360
if test "x$srcdir" = x.; then
14361
ac_vpsub='/^[ ]*VPATH[ ]*=/{
14362
s/:*\$(srcdir):*/:/;
14363
s/:*\${srcdir}:*/:/;
14365
s/^\([^=]*=[ ]*\):*/\1/;
14371
DEFS=-DHAVE_CONFIG_H
14375
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14376
# 1. Remove the extension, and $U if already installed.
14377
ac_i=`echo "$ac_i" |
14378
sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
14380
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
14381
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
14383
LIBOBJS=$ac_libobjs
14385
LTLIBOBJS=$ac_ltlibobjs
14388
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14389
{ { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
14390
Usually this means the macro was only invoked conditionally." >&5
14391
echo "$as_me: error: conditional \"AMDEP\" was never defined.
14392
Usually this means the macro was only invoked conditionally." >&2;}
14393
{ (exit 1); exit 1; }; }
14396
: ${CONFIG_STATUS=./config.status}
14397
ac_clean_files_save=$ac_clean_files
14398
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14399
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
14400
echo "$as_me: creating $CONFIG_STATUS" >&6;}
14401
cat >$CONFIG_STATUS <<_ACEOF
14403
# Generated by $as_me.
14404
# Run this file to recreate the current configuration.
14405
# Compiler output produced by configure, useful for debugging
14406
# configure, is in config.log if it exists.
14409
ac_cs_recheck=false
14411
SHELL=\${CONFIG_SHELL-$SHELL}
14414
cat >>$CONFIG_STATUS <<\_ACEOF
14415
## --------------------- ##
14416
## M4sh Initialization. ##
14417
## --------------------- ##
14419
# Be Bourne compatible
14420
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14423
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
14424
# is contrary to our usage. Disable this feature.
14425
alias -g '${1+"$@"}'='"$@"'
14426
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
14429
DUALCASE=1; export DUALCASE # for MKS sh
14431
# Support unset when possible.
14432
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
14439
# Work around bugs in pre-3.0 UWIN ksh.
14440
$as_unset ENV MAIL MAILPATH
14447
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
14448
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
14449
LC_TELEPHONE LC_TIME
14451
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
14452
eval $as_var=C; export $as_var
14458
# Required to use basename.
14459
if expr a : '\(a\)' >/dev/null 2>&1; then
14465
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
14466
as_basename=basename
14472
# Name of the executable.
14473
as_me=`$as_basename "$0" ||
14474
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14475
X"$0" : 'X\(//\)$' \| \
14476
X"$0" : 'X\(/\)$' \| \
14477
. : '\(.\)' 2>/dev/null ||
14479
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
14480
/^X\/\(\/\/\)$/{ s//\1/; q; }
14481
/^X\/\(\/\).*/{ s//\1/; q; }
14485
# PATH needs CR, and LINENO needs CR and PATH.
14486
# Avoid depending upon Character Ranges.
14487
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14488
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14489
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14490
as_cr_digits='0123456789'
14491
as_cr_alnum=$as_cr_Letters$as_cr_digits
14493
# The user is always right.
14494
if test "${PATH_SEPARATOR+set}" != set; then
14495
echo "#! /bin/sh" >conf$$.sh
14496
echo "exit 0" >>conf$$.sh
14498
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
14507
as_lineno_1=$LINENO
14508
as_lineno_2=$LINENO
14509
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
14510
test "x$as_lineno_1" != "x$as_lineno_2" &&
14511
test "x$as_lineno_3" = "x$as_lineno_2" || {
14512
# Find who we are. Look in the path if we contain no path at all
14515
*[\\/]* ) as_myself=$0 ;;
14516
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14517
for as_dir in $PATH
14520
test -z "$as_dir" && as_dir=.
14521
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14526
# We did not find ourselves, most probably we were run as `sh COMMAND'
14527
# in which case we are not to be found in the path.
14528
if test "x$as_myself" = x; then
14531
if test ! -f "$as_myself"; then
14532
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
14533
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
14534
{ (exit 1); exit 1; }; }
14536
case $CONFIG_SHELL in
14538
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14539
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
14542
test -z "$as_dir" && as_dir=.
14543
for as_base in sh bash ksh sh5; do
14546
if ("$as_dir/$as_base" -c '
14547
as_lineno_1=$LINENO
14548
as_lineno_2=$LINENO
14549
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
14550
test "x$as_lineno_1" != "x$as_lineno_2" &&
14551
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
14552
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
14553
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
14554
CONFIG_SHELL=$as_dir/$as_base
14555
export CONFIG_SHELL
14556
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
14564
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
14565
# uniformly replaced by the line number. The first 'sed' inserts a
14566
# line-number line before each line; the second 'sed' does the real
14567
# work. The second script uses 'N' to pair each line-number line
14568
# with the numbered line, and appends trailing '-' during
14569
# substitution so that $LINENO is not a special case at line end.
14570
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
14571
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
14572
sed '=' <$as_myself |
14577
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
14580
s,^['$as_cr_digits']*\n,,
14581
' >$as_me.lineno &&
14582
chmod +x $as_me.lineno ||
14583
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
14584
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
14585
{ (exit 1); exit 1; }; }
14587
# Don't try to exec as it changes $[0], causing all sort of problems
14588
# (the dirname of $[0] is not the place where we might find the
14589
# original and so on. Autoconf is especially sensible to this).
14591
# Exit status is that of the last command.
14596
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
14597
*c*,-n*) ECHO_N= ECHO_C='
14599
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
14600
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
14603
if expr a : '\(a\)' >/dev/null 2>&1; then
14609
rm -f conf$$ conf$$.exe conf$$.file
14611
if ln -s conf$$.file conf$$ 2>/dev/null; then
14612
# We could just check for DJGPP; but this test a) works b) is more generic
14613
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
14614
if test -f conf$$.exe; then
14615
# Don't use ln at all; we don't have any links
14620
elif ln conf$$.file conf$$ 2>/dev/null; then
14625
rm -f conf$$ conf$$.exe conf$$.file
14627
if mkdir -p . 2>/dev/null; then
14630
test -d ./-p && rmdir ./-p
14634
as_executable_p="test -f"
14636
# Sed expression to map a string onto a valid CPP name.
14637
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14639
# Sed expression to map a string onto a valid variable name.
14640
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14644
# We need space, tab and new line, in precisely that order.
14654
# Open the log real soon, to keep \$[0] and so on meaningful, and to
14655
# report actual input values of CONFIG_FILES etc. instead of their
14656
# values after options handling. Logging --version etc. is OK.
14660
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14661
## Running $as_me. ##
14666
This file was extended by $as_me, which was
14667
generated by GNU Autoconf 2.59. Invocation command line was
14669
CONFIG_FILES = $CONFIG_FILES
14670
CONFIG_HEADERS = $CONFIG_HEADERS
14671
CONFIG_LINKS = $CONFIG_LINKS
14672
CONFIG_COMMANDS = $CONFIG_COMMANDS
14676
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
14680
# Files that config.status was made for.
14681
if test -n "$ac_config_files"; then
14682
echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
14685
if test -n "$ac_config_headers"; then
14686
echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
14689
if test -n "$ac_config_links"; then
14690
echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
14693
if test -n "$ac_config_commands"; then
14694
echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
14697
cat >>$CONFIG_STATUS <<\_ACEOF
14700
\`$as_me' instantiates files from templates according to the
14701
current configuration.
14703
Usage: $0 [OPTIONS] [FILE]...
14705
-h, --help print this help, then exit
14706
-V, --version print version number, then exit
14707
-q, --quiet do not print progress messages
14708
-d, --debug don't remove temporary files
14709
--recheck update $as_me by reconfiguring in the same conditions
14710
--file=FILE[:TEMPLATE]
14711
instantiate the configuration file FILE
14712
--header=FILE[:TEMPLATE]
14713
instantiate the configuration header FILE
14715
Configuration files:
14718
Configuration headers:
14721
Configuration commands:
14724
Report bugs to <bug-autoconf@gnu.org>."
14727
cat >>$CONFIG_STATUS <<_ACEOF
14730
configured by $0, generated by GNU Autoconf 2.59,
14731
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
14733
Copyright (C) 2003 Free Software Foundation, Inc.
14734
This config.status script is free software; the Free Software Foundation
14735
gives unlimited permission to copy, distribute and modify it."
14740
cat >>$CONFIG_STATUS <<\_ACEOF
14741
# If no file are specified by the user, then we need to provide default
14742
# value. By we need to know if files were specified by the user.
14748
ac_option=`expr "x$1" : 'x\([^=]*\)='`
14749
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
14757
*) # This is not an option, so the user has probably given explicit
14760
ac_need_defaults=false;;
14764
# Handling of the options.
14766
cat >>$CONFIG_STATUS <<\_ACEOF
14767
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14769
--version | --vers* | -V )
14770
echo "$ac_cs_version"; exit 0 ;;
14772
# Conflict between --help and --header
14773
{ { echo "$as_me:$LINENO: error: ambiguous option: $1
14774
Try \`$0 --help' for more information." >&5
14775
echo "$as_me: error: ambiguous option: $1
14776
Try \`$0 --help' for more information." >&2;}
14777
{ (exit 1); exit 1; }; };;
14778
--help | --hel | -h )
14779
echo "$ac_cs_usage"; exit 0 ;;
14780
--debug | --d* | -d )
14782
--file | --fil | --fi | --f )
14784
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
14785
ac_need_defaults=false;;
14786
--header | --heade | --head | --hea )
14788
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
14789
ac_need_defaults=false;;
14790
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
14791
| -silent | --silent | --silen | --sile | --sil | --si | --s)
14794
# This is an error.
14795
-*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
14796
Try \`$0 --help' for more information." >&5
14797
echo "$as_me: error: unrecognized option: $1
14798
Try \`$0 --help' for more information." >&2;}
14799
{ (exit 1); exit 1; }; } ;;
14801
*) ac_config_targets="$ac_config_targets $1" ;;
14807
ac_configure_extra_args=
14809
if $ac_cs_silent; then
14811
ac_configure_extra_args="$ac_configure_extra_args --silent"
14815
cat >>$CONFIG_STATUS <<_ACEOF
14816
if \$ac_cs_recheck; then
14817
echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
14818
exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14823
cat >>$CONFIG_STATUS <<_ACEOF
14825
# INIT-COMMANDS section.
14828
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14834
cat >>$CONFIG_STATUS <<\_ACEOF
14835
for ac_config_target in $ac_config_targets
14837
case "$ac_config_target" in
14838
# Handling of arguments.
14839
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14840
"src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
14841
"src/pics/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/pics/Makefile" ;;
14842
"src/sounds/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/sounds/Makefile" ;;
14843
"src/translations/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/translations/Makefile" ;;
14844
"templates/Makefile" ) CONFIG_FILES="$CONFIG_FILES templates/Makefile" ;;
14845
"depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14846
"config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
14847
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
14848
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
14849
{ (exit 1); exit 1; }; };;
14853
# If the user did not use the arguments to specify the items to instantiate,
14854
# then the envvar interface is used. Set only those that are not.
14855
# We use the long form for the default assignment because of an extremely
14856
# bizarre bug on SunOS 4.1.3.
14857
if $ac_need_defaults; then
14858
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14859
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14860
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14863
# Have a temporary directory for convenience. Make it in the build tree
14864
# simply because there is no reason to put it here, and in addition,
14865
# creating and moving files from /tmp can sometimes cause problems.
14866
# Create a temporary directory, and hook for its removal unless debugging.
14869
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
14870
trap '{ (exit 1); exit 1; }' 1 2 13 15
14873
# Create a (secure) tmp directory for tmp files.
14876
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
14877
test -n "$tmp" && test -d "$tmp"
14880
tmp=./confstat$$-$RANDOM
14881
(umask 077 && mkdir $tmp)
14884
echo "$me: cannot create a temporary directory in ." >&2
14885
{ (exit 1); exit 1; }
14890
cat >>$CONFIG_STATUS <<_ACEOF
14893
# CONFIG_FILES section.
14896
# No need to generate the scripts if there are no CONFIG_FILES.
14897
# This happens for instance when ./config.status config.h
14898
if test -n "\$CONFIG_FILES"; then
14899
# Protect against being on the right side of a sed subst in config.status.
14900
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
14901
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
14902
s,@SHELL@,$SHELL,;t t
14903
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
14904
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
14905
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
14906
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
14907
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
14908
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
14909
s,@exec_prefix@,$exec_prefix,;t t
14910
s,@prefix@,$prefix,;t t
14911
s,@program_transform_name@,$program_transform_name,;t t
14912
s,@bindir@,$bindir,;t t
14913
s,@sbindir@,$sbindir,;t t
14914
s,@libexecdir@,$libexecdir,;t t
14915
s,@datadir@,$datadir,;t t
14916
s,@sysconfdir@,$sysconfdir,;t t
14917
s,@sharedstatedir@,$sharedstatedir,;t t
14918
s,@localstatedir@,$localstatedir,;t t
14919
s,@libdir@,$libdir,;t t
14920
s,@includedir@,$includedir,;t t
14921
s,@oldincludedir@,$oldincludedir,;t t
14922
s,@infodir@,$infodir,;t t
14923
s,@mandir@,$mandir,;t t
14924
s,@build_alias@,$build_alias,;t t
14925
s,@host_alias@,$host_alias,;t t
14926
s,@target_alias@,$target_alias,;t t
14927
s,@DEFS@,$DEFS,;t t
14928
s,@ECHO_C@,$ECHO_C,;t t
14929
s,@ECHO_N@,$ECHO_N,;t t
14930
s,@ECHO_T@,$ECHO_T,;t t
14931
s,@LIBS@,$LIBS,;t t
14932
s,@build@,$build,;t t
14933
s,@build_cpu@,$build_cpu,;t t
14934
s,@build_vendor@,$build_vendor,;t t
14935
s,@build_os@,$build_os,;t t
14936
s,@host@,$host,;t t
14937
s,@host_cpu@,$host_cpu,;t t
14938
s,@host_vendor@,$host_vendor,;t t
14939
s,@host_os@,$host_os,;t t
14940
s,@target@,$target,;t t
14941
s,@target_cpu@,$target_cpu,;t t
14942
s,@target_vendor@,$target_vendor,;t t
14943
s,@target_os@,$target_os,;t t
14945
s,@CFLAGS@,$CFLAGS,;t t
14946
s,@LDFLAGS@,$LDFLAGS,;t t
14947
s,@CPPFLAGS@,$CPPFLAGS,;t t
14948
s,@ac_ct_CC@,$ac_ct_CC,;t t
14949
s,@EXEEXT@,$EXEEXT,;t t
14950
s,@OBJEXT@,$OBJEXT,;t t
14951
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
14952
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
14953
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
14954
s,@PACKAGE@,$PACKAGE,;t t
14955
s,@VERSION@,$VERSION,;t t
14956
s,@ACLOCAL@,$ACLOCAL,;t t
14957
s,@AUTOCONF@,$AUTOCONF,;t t
14958
s,@AUTOMAKE@,$AUTOMAKE,;t t
14959
s,@AUTOHEADER@,$AUTOHEADER,;t t
14960
s,@MAKEINFO@,$MAKEINFO,;t t
14961
s,@AMTAR@,$AMTAR,;t t
14962
s,@install_sh@,$install_sh,;t t
14963
s,@STRIP@,$STRIP,;t t
14964
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
14965
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
14967
s,@SET_MAKE@,$SET_MAKE,;t t
14968
s,@DEPDIR@,$DEPDIR,;t t
14969
s,@am__include@,$am__include,;t t
14970
s,@am__quote@,$am__quote,;t t
14971
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
14972
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
14973
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
14974
s,@CCDEPMODE@,$CCDEPMODE,;t t
14977
s,@CXXFLAGS@,$CXXFLAGS,;t t
14978
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
14979
s,@CXXDEPMODE@,$CXXDEPMODE,;t t
14980
s,@WOVERLOADED_VIRTUAL@,$WOVERLOADED_VIRTUAL,;t t
14981
s,@USE_EXCEPTIONS@,$USE_EXCEPTIONS,;t t
14982
s,@USE_RTTI@,$USE_RTTI,;t t
14983
s,@CXXCPP@,$CXXCPP,;t t
14984
s,@NOOPT_CXXFLAGS@,$NOOPT_CXXFLAGS,;t t
14985
s,@NOOPT_CFLAGS@,$NOOPT_CFLAGS,;t t
14986
s,@REPO@,$REPO,;t t
14987
s,@NOREPO@,$NOREPO,;t t
14988
s,@KDE_USE_FINAL_TRUE@,$KDE_USE_FINAL_TRUE,;t t
14989
s,@KDE_USE_FINAL_FALSE@,$KDE_USE_FINAL_FALSE,;t t
14990
s,@KDE_USE_CLOSURE_TRUE@,$KDE_USE_CLOSURE_TRUE,;t t
14991
s,@KDE_USE_CLOSURE_FALSE@,$KDE_USE_CLOSURE_FALSE,;t t
14992
s,@KDE_CXXFLAGS@,$KDE_CXXFLAGS,;t t
14993
s,@LN_S@,$LN_S,;t t
14994
s,@RANLIB@,$RANLIB,;t t
14995
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
14996
s,@LIBTOOL@,$LIBTOOL,;t t
14997
s,@KDE_PLUGIN@,$KDE_PLUGIN,;t t
14998
s,@all_includes@,$all_includes,;t t
14999
s,@all_libraries@,$all_libraries,;t t
15000
s,@MSGFMT@,$MSGFMT,;t t
15001
s,@GMSGFMT@,$GMSGFMT,;t t
15002
s,@XGETTEXT@,$XGETTEXT,;t t
15003
s,@LIBUTIL@,$LIBUTIL,;t t
15004
s,@LIBCOMPAT@,$LIBCOMPAT,;t t
15005
s,@LIBCRYPT@,$LIBCRYPT,;t t
15006
s,@LIBSOCKET@,$LIBSOCKET,;t t
15007
s,@LIBRESOLV@,$LIBRESOLV,;t t
15008
s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
15009
s,@LIBUCB@,$LIBUCB,;t t
15010
s,@EGREP@,$EGREP,;t t
15011
s,@LIBDL@,$LIBDL,;t t
15012
s,@X_INCLUDES@,$X_INCLUDES,;t t
15013
s,@X_LDFLAGS@,$X_LDFLAGS,;t t
15014
s,@x_libraries@,$x_libraries,;t t
15015
s,@x_includes@,$x_includes,;t t
15016
s,@LIBSM@,$LIBSM,;t t
15017
s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
15018
s,@LIB_X11@,$LIB_X11,;t t
15019
s,@LIBXINERAMA@,$LIBXINERAMA,;t t
15020
s,@QTE_NORTTI@,$QTE_NORTTI,;t t
15021
s,@LIB_XEXT@,$LIB_XEXT,;t t
15022
s,@LIBPTHREAD@,$LIBPTHREAD,;t t
15023
s,@USE_THREADS@,$USE_THREADS,;t t
15024
s,@KDE_MT_LDFLAGS@,$KDE_MT_LDFLAGS,;t t
15025
s,@KDE_MT_LIBS@,$KDE_MT_LIBS,;t t
15026
s,@USER_INCLUDES@,$USER_INCLUDES,;t t
15027
s,@USER_LDFLAGS@,$USER_LDFLAGS,;t t
15028
s,@LIBZ@,$LIBZ,;t t
15029
s,@LIBPNG@,$LIBPNG,;t t
15030
s,@LIBJPEG@,$LIBJPEG,;t t
15031
s,@qt_libraries@,$qt_libraries,;t t
15032
s,@qt_includes@,$qt_includes,;t t
15033
s,@QT_INCLUDES@,$QT_INCLUDES,;t t
15034
s,@QT_LDFLAGS@,$QT_LDFLAGS,;t t
15037
s,@UIC_TR@,$UIC_TR,;t t
15038
s,@LIB_QT@,$LIB_QT,;t t
15039
s,@LIB_QPE@,$LIB_QPE,;t t
15040
s,@kde_qtver@,$kde_qtver,;t t
15041
s,@TOPSUBDIRS@,$TOPSUBDIRS,;t t
15042
s,@LIBOBJS@,$LIBOBJS,;t t
15043
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
15048
cat >>$CONFIG_STATUS <<\_ACEOF
15049
# Split the substitutions into bite-sized pieces for seds with
15050
# small command number limits, like on Digital OSF/1 and HP-UX.
15051
ac_max_sed_lines=48
15052
ac_sed_frag=1 # Number of current file.
15053
ac_beg=1 # First line for current file.
15054
ac_end=$ac_max_sed_lines # Line after last line for current file.
15057
while $ac_more_lines; do
15058
if test $ac_beg -gt 1; then
15059
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
15061
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
15063
if test ! -s $tmp/subs.frag; then
15064
ac_more_lines=false
15066
# The purpose of the label and of the branching condition is to
15067
# speed up the sed processing (if there are no `@' at all, there
15068
# is no need to browse any of the substitutions).
15069
# These are the two extra sed commands mentioned above.
15071
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
15072
if test -z "$ac_sed_cmds"; then
15073
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
15075
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
15077
ac_sed_frag=`expr $ac_sed_frag + 1`
15079
ac_end=`expr $ac_end + $ac_max_sed_lines`
15082
if test -z "$ac_sed_cmds"; then
15085
fi # test -n "$CONFIG_FILES"
15088
cat >>$CONFIG_STATUS <<\_ACEOF
15089
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
15090
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
15092
- | *:- | *:-:* ) # input from stdin
15094
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
15095
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
15096
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
15097
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
15098
* ) ac_file_in=$ac_file.in ;;
15101
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
15102
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
15103
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15104
X"$ac_file" : 'X\(//\)[^/]' \| \
15105
X"$ac_file" : 'X\(//\)$' \| \
15106
X"$ac_file" : 'X\(/\)' \| \
15107
. : '\(.\)' 2>/dev/null ||
15109
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15110
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
15111
/^X\(\/\/\)$/{ s//\1/; q; }
15112
/^X\(\/\).*/{ s//\1/; q; }
15114
{ if $as_mkdir_p; then
15119
while test ! -d "$as_dir"; do
15120
as_dirs="$as_dir $as_dirs"
15121
as_dir=`(dirname "$as_dir") 2>/dev/null ||
15122
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15123
X"$as_dir" : 'X\(//\)[^/]' \| \
15124
X"$as_dir" : 'X\(//\)$' \| \
15125
X"$as_dir" : 'X\(/\)' \| \
15126
. : '\(.\)' 2>/dev/null ||
15128
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15129
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
15130
/^X\(\/\/\)$/{ s//\1/; q; }
15131
/^X\(\/\).*/{ s//\1/; q; }
15134
test ! -n "$as_dirs" || mkdir $as_dirs
15135
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
15136
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
15137
{ (exit 1); exit 1; }; }; }
15141
if test "$ac_dir" != .; then
15142
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
15143
# A "../" for each directory in $ac_dir_suffix.
15144
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
15146
ac_dir_suffix= ac_top_builddir=
15150
.) # No --srcdir option. We are building in place.
15152
if test -z "$ac_top_builddir"; then
15155
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
15157
[\\/]* | ?:[\\/]* ) # Absolute path.
15158
ac_srcdir=$srcdir$ac_dir_suffix;
15159
ac_top_srcdir=$srcdir ;;
15160
*) # Relative path.
15161
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
15162
ac_top_srcdir=$ac_top_builddir$srcdir ;;
15165
# Do not use `cd foo && pwd` to compute absolute paths, because
15166
# the directories may not exist.
15168
.) ac_abs_builddir="$ac_dir";;
15171
.) ac_abs_builddir=`pwd`;;
15172
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
15173
*) ac_abs_builddir=`pwd`/"$ac_dir";;
15176
case $ac_abs_builddir in
15177
.) ac_abs_top_builddir=${ac_top_builddir}.;;
15179
case ${ac_top_builddir}. in
15180
.) ac_abs_top_builddir=$ac_abs_builddir;;
15181
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
15182
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
15185
case $ac_abs_builddir in
15186
.) ac_abs_srcdir=$ac_srcdir;;
15189
.) ac_abs_srcdir=$ac_abs_builddir;;
15190
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
15191
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
15194
case $ac_abs_builddir in
15195
.) ac_abs_top_srcdir=$ac_top_srcdir;;
15197
case $ac_top_srcdir in
15198
.) ac_abs_top_srcdir=$ac_abs_builddir;;
15199
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
15200
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
15206
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15207
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
15210
if test x"$ac_file" != x-; then
15211
{ echo "$as_me:$LINENO: creating $ac_file" >&5
15212
echo "$as_me: creating $ac_file" >&6;}
15215
# Let's still pretend it is `configure' which instantiates (i.e., don't
15216
# use $as_me), people would be surprised to read:
15217
# /* config.h. Generated by config.status. */
15218
if test x"$ac_file" = x-; then
15221
configure_input="$ac_file. "
15223
configure_input=$configure_input"Generated from `echo $ac_file_in |
15224
sed 's,.*/,,'` by configure."
15226
# First look for the input files in the build tree, otherwise in the
15228
ac_file_inputs=`IFS=:
15229
for f in $ac_file_in; do
15231
-) echo $tmp/stdin ;;
15233
# Absolute (can't be DOS-style, as IFS=:)
15234
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15235
echo "$as_me: error: cannot find input file: $f" >&2;}
15236
{ (exit 1); exit 1; }; }
15239
if test -f "$f"; then
15242
elif test -f "$srcdir/$f"; then
15247
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15248
echo "$as_me: error: cannot find input file: $f" >&2;}
15249
{ (exit 1); exit 1; }; }
15252
done` || { (exit 1); exit 1; }
15254
cat >>$CONFIG_STATUS <<_ACEOF
15258
cat >>$CONFIG_STATUS <<\_ACEOF
15260
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15261
s,@configure_input@,$configure_input,;t t
15262
s,@srcdir@,$ac_srcdir,;t t
15263
s,@abs_srcdir@,$ac_abs_srcdir,;t t
15264
s,@top_srcdir@,$ac_top_srcdir,;t t
15265
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
15266
s,@builddir@,$ac_builddir,;t t
15267
s,@abs_builddir@,$ac_abs_builddir,;t t
15268
s,@top_builddir@,$ac_top_builddir,;t t
15269
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
15270
s,@INSTALL@,$ac_INSTALL,;t t
15271
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
15273
if test x"$ac_file" != x-; then
15274
mv $tmp/out $ac_file
15282
cat >>$CONFIG_STATUS <<\_ACEOF
15285
# CONFIG_HEADER section.
15288
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
15289
# NAME is the cpp macro being defined and VALUE is the value it is being given.
15291
# ac_d sets the value in "#define NAME VALUE" lines.
15292
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
15293
ac_dB='[ ].*$,\1#\2'
15296
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
15297
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
15298
ac_uB='$,\1#\2define\3'
15302
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
15303
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
15305
- | *:- | *:-:* ) # input from stdin
15307
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
15308
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
15309
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
15310
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
15311
* ) ac_file_in=$ac_file.in ;;
15314
test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
15315
echo "$as_me: creating $ac_file" >&6;}
15317
# First look for the input files in the build tree, otherwise in the
15319
ac_file_inputs=`IFS=:
15320
for f in $ac_file_in; do
15322
-) echo $tmp/stdin ;;
15324
# Absolute (can't be DOS-style, as IFS=:)
15325
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15326
echo "$as_me: error: cannot find input file: $f" >&2;}
15327
{ (exit 1); exit 1; }; }
15328
# Do quote $f, to prevent DOS paths from being IFS'd.
15331
if test -f "$f"; then
15334
elif test -f "$srcdir/$f"; then
15339
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15340
echo "$as_me: error: cannot find input file: $f" >&2;}
15341
{ (exit 1); exit 1; }; }
15344
done` || { (exit 1); exit 1; }
15345
# Remove the trailing spaces.
15346
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
15350
# Transform confdefs.h into two sed scripts, `conftest.defines' and
15351
# `conftest.undefs', that substitutes the proper values into
15352
# config.h.in to produce config.h. The first handles `#define'
15353
# templates, and the second `#undef' templates.
15354
# And first: Protect against being on the right side of a sed subst in
15355
# config.status. Protect against being in an unquoted here document
15356
# in config.status.
15357
rm -f conftest.defines conftest.undefs
15358
# Using a here document instead of a string reduces the quoting nightmare.
15359
# Putting comments in sed scripts is not portable.
15361
# `end' is used to avoid that the second main sed command (meant for
15362
# 0-ary CPP macros) applies to n-ary macro definitions.
15363
# See the Autoconf documentation for `clear'.
15364
cat >confdef2sed.sed <<\_ACEOF
15369
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
15371
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
15374
# If some macros were called several times there might be several times
15375
# the same #defines, which is useless. Nevertheless, we may not want to
15376
# sort them, since we want the *last* AC-DEFINE to be honored.
15377
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
15378
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
15379
rm -f confdef2sed.sed
15381
# This sed command replaces #undef with comments. This is necessary, for
15382
# example, in the case of _POSIX_SOURCE, which is predefined and required
15383
# on some systems where configure will not decide to define it.
15384
cat >>conftest.undefs <<\_ACEOF
15385
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
15388
# Break up conftest.defines because some shells have a limit on the size
15389
# of here documents, and old seds have small limits too (100 cmds).
15390
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
15391
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
15392
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
15393
echo ' :' >>$CONFIG_STATUS
15394
rm -f conftest.tail
15395
while grep . conftest.defines >/dev/null
15397
# Write a limited-size here document to $tmp/defines.sed.
15398
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
15399
# Speed up: don't consider the non `#define' lines.
15400
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
15401
# Work around the forget-to-reset-the-flag bug.
15402
echo 't clr' >>$CONFIG_STATUS
15403
echo ': clr' >>$CONFIG_STATUS
15404
sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
15406
sed -f $tmp/defines.sed $tmp/in >$tmp/out
15408
mv $tmp/out $tmp/in
15410
sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
15411
rm -f conftest.defines
15412
mv conftest.tail conftest.defines
15414
rm -f conftest.defines
15415
echo ' fi # grep' >>$CONFIG_STATUS
15416
echo >>$CONFIG_STATUS
15418
# Break up conftest.undefs because some shells have a limit on the size
15419
# of here documents, and old seds have small limits too (100 cmds).
15420
echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
15421
rm -f conftest.tail
15422
while grep . conftest.undefs >/dev/null
15424
# Write a limited-size here document to $tmp/undefs.sed.
15425
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
15426
# Speed up: don't consider the non `#undef'
15427
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
15428
# Work around the forget-to-reset-the-flag bug.
15429
echo 't clr' >>$CONFIG_STATUS
15430
echo ': clr' >>$CONFIG_STATUS
15431
sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
15433
sed -f $tmp/undefs.sed $tmp/in >$tmp/out
15435
mv $tmp/out $tmp/in
15437
sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
15438
rm -f conftest.undefs
15439
mv conftest.tail conftest.undefs
15441
rm -f conftest.undefs
15443
cat >>$CONFIG_STATUS <<\_ACEOF
15444
# Let's still pretend it is `configure' which instantiates (i.e., don't
15445
# use $as_me), people would be surprised to read:
15446
# /* config.h. Generated by config.status. */
15447
if test x"$ac_file" = x-; then
15448
echo "/* Generated by configure. */" >$tmp/config.h
15450
echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
15452
cat $tmp/in >>$tmp/config.h
15454
if test x"$ac_file" != x-; then
15455
if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
15456
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
15457
echo "$as_me: $ac_file is unchanged" >&6;}
15459
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
15460
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15461
X"$ac_file" : 'X\(//\)[^/]' \| \
15462
X"$ac_file" : 'X\(//\)$' \| \
15463
X"$ac_file" : 'X\(/\)' \| \
15464
. : '\(.\)' 2>/dev/null ||
15466
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15467
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
15468
/^X\(\/\/\)$/{ s//\1/; q; }
15469
/^X\(\/\).*/{ s//\1/; q; }
15471
{ if $as_mkdir_p; then
15476
while test ! -d "$as_dir"; do
15477
as_dirs="$as_dir $as_dirs"
15478
as_dir=`(dirname "$as_dir") 2>/dev/null ||
15479
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15480
X"$as_dir" : 'X\(//\)[^/]' \| \
15481
X"$as_dir" : 'X\(//\)$' \| \
15482
X"$as_dir" : 'X\(/\)' \| \
15483
. : '\(.\)' 2>/dev/null ||
15485
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15486
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
15487
/^X\(\/\/\)$/{ s//\1/; q; }
15488
/^X\(\/\).*/{ s//\1/; q; }
15491
test ! -n "$as_dirs" || mkdir $as_dirs
15492
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
15493
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
15494
{ (exit 1); exit 1; }; }; }
15497
mv $tmp/config.h $ac_file
15501
rm -f $tmp/config.h
15503
# Run the commands associated with the file.
15505
config.h ) # update the timestamp
15506
echo 'timestamp for config.h' >"./stamp-h1"
15511
cat >>$CONFIG_STATUS <<\_ACEOF
15514
# CONFIG_COMMANDS section.
15516
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
15517
ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
15518
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
15519
ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
15520
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15521
X"$ac_dest" : 'X\(//\)[^/]' \| \
15522
X"$ac_dest" : 'X\(//\)$' \| \
15523
X"$ac_dest" : 'X\(/\)' \| \
15524
. : '\(.\)' 2>/dev/null ||
15526
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15527
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
15528
/^X\(\/\/\)$/{ s//\1/; q; }
15529
/^X\(\/\).*/{ s//\1/; q; }
15531
{ if $as_mkdir_p; then
15536
while test ! -d "$as_dir"; do
15537
as_dirs="$as_dir $as_dirs"
15538
as_dir=`(dirname "$as_dir") 2>/dev/null ||
15539
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15540
X"$as_dir" : 'X\(//\)[^/]' \| \
15541
X"$as_dir" : 'X\(//\)$' \| \
15542
X"$as_dir" : 'X\(/\)' \| \
15543
. : '\(.\)' 2>/dev/null ||
15545
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15546
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
15547
/^X\(\/\/\)$/{ s//\1/; q; }
15548
/^X\(\/\).*/{ s//\1/; q; }
15551
test ! -n "$as_dirs" || mkdir $as_dirs
15552
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
15553
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
15554
{ (exit 1); exit 1; }; }; }
15558
if test "$ac_dir" != .; then
15559
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
15560
# A "../" for each directory in $ac_dir_suffix.
15561
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
15563
ac_dir_suffix= ac_top_builddir=
15567
.) # No --srcdir option. We are building in place.
15569
if test -z "$ac_top_builddir"; then
15572
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
15574
[\\/]* | ?:[\\/]* ) # Absolute path.
15575
ac_srcdir=$srcdir$ac_dir_suffix;
15576
ac_top_srcdir=$srcdir ;;
15577
*) # Relative path.
15578
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
15579
ac_top_srcdir=$ac_top_builddir$srcdir ;;
15582
# Do not use `cd foo && pwd` to compute absolute paths, because
15583
# the directories may not exist.
15585
.) ac_abs_builddir="$ac_dir";;
15588
.) ac_abs_builddir=`pwd`;;
15589
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
15590
*) ac_abs_builddir=`pwd`/"$ac_dir";;
15593
case $ac_abs_builddir in
15594
.) ac_abs_top_builddir=${ac_top_builddir}.;;
15596
case ${ac_top_builddir}. in
15597
.) ac_abs_top_builddir=$ac_abs_builddir;;
15598
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
15599
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
15602
case $ac_abs_builddir in
15603
.) ac_abs_srcdir=$ac_srcdir;;
15606
.) ac_abs_srcdir=$ac_abs_builddir;;
15607
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
15608
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
15611
case $ac_abs_builddir in
15612
.) ac_abs_top_srcdir=$ac_top_srcdir;;
15614
case $ac_top_srcdir in
15615
.) ac_abs_top_srcdir=$ac_abs_builddir;;
15616
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
15617
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
15622
{ echo "$as_me:$LINENO: executing $ac_dest commands" >&5
15623
echo "$as_me: executing $ac_dest commands" >&6;}
15625
depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
15626
# Strip MF so we end up with the name of the file.
15627
mf=`echo "$mf" | sed -e 's/:.*$//'`
15628
# Check whether this is an Automake generated Makefile or not.
15629
# We used to match only the files named `Makefile.in', but
15630
# some people rename them; so instead we look at the file content.
15631
# Grep'ing the first line is not enough: some people post-process
15632
# each Makefile.in and add a new line on top of each file to say so.
15633
# So let's grep whole file.
15634
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
15635
dirpart=`(dirname "$mf") 2>/dev/null ||
15636
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15637
X"$mf" : 'X\(//\)[^/]' \| \
15638
X"$mf" : 'X\(//\)$' \| \
15639
X"$mf" : 'X\(/\)' \| \
15640
. : '\(.\)' 2>/dev/null ||
15642
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15643
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
15644
/^X\(\/\/\)$/{ s//\1/; q; }
15645
/^X\(\/\).*/{ s//\1/; q; }
15650
grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
15651
# Extract the definition of DEP_FILES from the Makefile without
15653
DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
15654
test -z "$DEPDIR" && continue
15655
# When using ansi2knr, U may be empty or an underscore; expand it
15656
U=`sed -n -e '/^U = / s///p' < "$mf"`
15657
test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
15658
# We invoke sed twice because it is the simplest approach to
15659
# changing $(DEPDIR) to its actual value in the expansion.
15660
for file in `sed -n -e '
15661
/^DEP_FILES = .*\\\\$/ {
15670
/^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
15671
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
15672
# Make sure the directory exists.
15673
test -f "$dirpart/$file" && continue
15674
fdir=`(dirname "$file") 2>/dev/null ||
15675
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15676
X"$file" : 'X\(//\)[^/]' \| \
15677
X"$file" : 'X\(//\)$' \| \
15678
X"$file" : 'X\(/\)' \| \
15679
. : '\(.\)' 2>/dev/null ||
15681
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15682
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
15683
/^X\(\/\/\)$/{ s//\1/; q; }
15684
/^X\(\/\).*/{ s//\1/; q; }
15686
{ if $as_mkdir_p; then
15687
mkdir -p $dirpart/$fdir
15689
as_dir=$dirpart/$fdir
15691
while test ! -d "$as_dir"; do
15692
as_dirs="$as_dir $as_dirs"
15693
as_dir=`(dirname "$as_dir") 2>/dev/null ||
15694
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15695
X"$as_dir" : 'X\(//\)[^/]' \| \
15696
X"$as_dir" : 'X\(//\)$' \| \
15697
X"$as_dir" : 'X\(/\)' \| \
15698
. : '\(.\)' 2>/dev/null ||
15700
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15701
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
15702
/^X\(\/\/\)$/{ s//\1/; q; }
15703
/^X\(\/\).*/{ s//\1/; q; }
15706
test ! -n "$as_dirs" || mkdir $as_dirs
15707
fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
15708
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
15709
{ (exit 1); exit 1; }; }; }
15711
# echo "creating $dirpart/$file"
15712
echo '# dummy' > "$dirpart/$file"
15720
cat >>$CONFIG_STATUS <<\_ACEOF
15722
{ (exit 0); exit 0; }
15724
chmod +x $CONFIG_STATUS
15725
ac_clean_files=$ac_clean_files_save
15728
# configure is writing to config.log, and then calls config.status.
15729
# config.status does its own redirection, appending to config.log.
15730
# Unfortunately, on DOS this fails, as config.log is still kept open
15731
# by configure, so config.status won't be able to write to it; its
15732
# output is simply discarded. So we exec the FD to /dev/null,
15733
# effectively closing config.log, so it can be properly (re)opened and
15734
# appended to by config.status. When coming back to configure, we
15735
# need to make the FD available again.
15736
if test "$no_create" != yes; then
15738
ac_config_status_args=
15739
test "$silent" = yes &&
15740
ac_config_status_args="$ac_config_status_args --quiet"
15742
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15744
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
15745
# would make configure fail if this is the last instruction.
15746
$ac_cs_success || { (exit 1); exit 1; }