2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.53.
5
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6
# Free Software Foundation, Inc.
7
# This configure script is free software; the Free Software Foundation
8
# gives unlimited permission to copy, distribute and modify it.
10
if expr a : '\(a\)' >/dev/null 2>&1; then
17
## --------------------- ##
18
## M4sh Initialization. ##
19
## --------------------- ##
21
# Be Bourne compatible
22
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
25
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
30
# Support unset when possible.
31
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
37
(set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
38
{ $as_unset LANG || test "${LANG+set}" != set; } ||
39
{ LANG=C; export LANG; }
40
(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
41
{ $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
42
{ LC_ALL=C; export LC_ALL; }
43
(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
44
{ $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
45
{ LC_TIME=C; export LC_TIME; }
46
(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
47
{ $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
48
{ LC_CTYPE=C; export LC_CTYPE; }
49
(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
50
{ $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
51
{ LANGUAGE=C; export LANGUAGE; }
52
(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
53
{ $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
54
{ LC_COLLATE=C; export LC_COLLATE; }
55
(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
56
{ $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
57
{ LC_NUMERIC=C; export LC_NUMERIC; }
58
(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
59
{ $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
60
{ LC_MESSAGES=C; export LC_MESSAGES; }
63
# Name of the executable.
64
as_me=`(basename "$0") 2>/dev/null ||
65
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
66
X"$0" : 'X\(//\)$' \| \
67
X"$0" : 'X\(/\)$' \| \
68
. : '\(.\)' 2>/dev/null ||
70
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
71
/^X\/\(\/\/\)$/{ s//\1/; q; }
72
/^X\/\(\/\).*/{ s//\1/; q; }
75
# PATH needs CR, and LINENO needs CR and PATH.
76
# Avoid depending upon Character Ranges.
77
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
78
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
79
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
80
as_cr_digits='0123456789'
81
as_cr_alnum=$as_cr_Letters$as_cr_digits
83
# The user is always right.
84
if test "${PATH_SEPARATOR+set}" != set; then
85
echo "#! /bin/sh" >conftest.sh
86
echo "exit 0" >>conftest.sh
88
if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
99
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
100
test "x$as_lineno_1" != "x$as_lineno_2" &&
101
test "x$as_lineno_3" = "x$as_lineno_2" || {
102
# Find who we are. Look in the path if we contain no path at all
105
*[\\/]* ) as_myself=$0 ;;
106
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110
test -z "$as_dir" && as_dir=.
111
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
116
# We did not find ourselves, most probably we were run as `sh COMMAND'
117
# in which case we are not to be found in the path.
118
if test "x$as_myself" = x; then
121
if test ! -f "$as_myself"; then
122
{ echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
123
{ (exit 1); exit 1; }; }
125
case $CONFIG_SHELL in
127
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
128
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
131
test -z "$as_dir" && as_dir=.
132
for as_base in sh bash ksh sh5; do
135
if ("$as_dir/$as_base" -c '
138
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
139
test "x$as_lineno_1" != "x$as_lineno_2" &&
140
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
141
CONFIG_SHELL=$as_dir/$as_base
143
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
151
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
152
# uniformly replaced by the line number. The first 'sed' inserts a
153
# line-number line before each line; the second 'sed' does the real
154
# work. The second script uses 'N' to pair each line-number line
155
# with the numbered line, and appends trailing '-' during
156
# substitution so that $LINENO is not a special case at line end.
157
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
158
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
159
sed '=' <$as_myself |
164
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
167
s,^['$as_cr_digits']*\n,,
169
chmod +x $as_me.lineno ||
170
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
171
{ (exit 1); exit 1; }; }
173
# Don't try to exec as it changes $[0], causing all sort of problems
174
# (the dirname of $[0] is not the place where we might find the
175
# original and so on. Autoconf is especially sensible to this).
177
# Exit status is that of the last command.
182
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
183
*c*,-n*) ECHO_N= ECHO_C='
185
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
186
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
189
if expr a : '\(a\)' >/dev/null 2>&1; then
195
rm -f conf$$ conf$$.exe conf$$.file
197
if ln -s conf$$.file conf$$ 2>/dev/null; then
198
# We could just check for DJGPP; but this test a) works b) is more generic
199
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
200
if test -f conf$$.exe; then
201
# Don't use ln at all; we don't have any links
206
elif ln conf$$.file conf$$ 2>/dev/null; then
211
rm -f conf$$ conf$$.exe conf$$.file
213
as_executable_p="test -f"
215
# Sed expression to map a string onto a valid CPP name.
216
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
218
# Sed expression to map a string onto a valid variable name.
219
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
223
# We need space, tab and new line, in precisely that order.
229
$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
233
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
234
# so uname gets run too.
235
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
242
ac_default_prefix=/usr/local
247
SHELL=${CONFIG_SHELL-/bin/sh}
249
# Maximum number of lines to put in a shell here document.
250
# This variable seems obsolete. It should probably be removed, and
251
# only ac_max_sed_lines should be used.
252
: ${ac_max_here_lines=38}
254
# Identity of this package.
261
ac_unique_file="acinclude.m4"
262
ac_default_prefix=${KDEDIR:-/usr/local/kde}
263
# Factoring default headers for most tests.
264
ac_includes_default="\
267
# include <sys/types.h>
270
# include <sys/stat.h>
281
# if !STDC_HEADERS && HAVE_MEMORY_H
287
# include <strings.h>
290
# include <inttypes.h>
301
# Initialize some variables set by options.
303
ac_init_version=false
304
# The variables have the same names as the options, with
305
# dashes changed to underlines.
313
program_transform_name=s,x,x,
321
# Installation directory options.
322
# These are left unexpanded so users can "make install exec_prefix=/foo"
323
# and all the variables that are supposed to be based on exec_prefix
324
# by default will actually change.
325
# Use braces instead of parens because sh, perl, etc. also accept them.
326
bindir='${exec_prefix}/bin'
327
sbindir='${exec_prefix}/sbin'
328
libexecdir='${exec_prefix}/libexec'
329
datadir='${prefix}/share'
330
sysconfdir='${prefix}/etc'
331
sharedstatedir='${prefix}/com'
332
localstatedir='${prefix}/var'
333
libdir='${exec_prefix}/lib'
334
includedir='${prefix}/include'
335
oldincludedir='/usr/include'
336
infodir='${prefix}/info'
337
mandir='${prefix}/man'
342
# If the previous option needs an argument, assign it.
343
if test -n "$ac_prev"; then
344
eval "$ac_prev=\$ac_option"
349
ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
351
# Accept the important Cygnus configure options, so we can diagnose typos.
355
-bindir | --bindir | --bindi | --bind | --bin | --bi)
357
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
360
-build | --build | --buil | --bui | --bu)
361
ac_prev=build_alias ;;
362
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
363
build_alias=$ac_optarg ;;
365
-cache-file | --cache-file | --cache-fil | --cache-fi \
366
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
367
ac_prev=cache_file ;;
368
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
369
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
370
cache_file=$ac_optarg ;;
373
cache_file=config.cache ;;
375
-datadir | --datadir | --datadi | --datad | --data | --dat | --da)
377
-datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
379
datadir=$ac_optarg ;;
381
-disable-* | --disable-*)
382
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
383
# Reject names that are not valid shell variable names.
384
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
385
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
386
{ (exit 1); exit 1; }; }
387
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
388
eval "enable_$ac_feature=no" ;;
390
-enable-* | --enable-*)
391
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
392
# Reject names that are not valid shell variable names.
393
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
394
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
395
{ (exit 1); exit 1; }; }
396
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
398
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
401
eval "enable_$ac_feature='$ac_optarg'" ;;
403
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
404
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
405
| --exec | --exe | --ex)
406
ac_prev=exec_prefix ;;
407
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
408
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
409
| --exec=* | --exe=* | --ex=*)
410
exec_prefix=$ac_optarg ;;
412
-gas | --gas | --ga | --g)
413
# Obsolete; use --with-gas.
416
-help | --help | --hel | --he | -h)
418
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
419
ac_init_help=recursive ;;
420
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
421
ac_init_help=short ;;
423
-host | --host | --hos | --ho)
424
ac_prev=host_alias ;;
425
-host=* | --host=* | --hos=* | --ho=*)
426
host_alias=$ac_optarg ;;
428
-includedir | --includedir | --includedi | --included | --include \
429
| --includ | --inclu | --incl | --inc)
430
ac_prev=includedir ;;
431
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
432
| --includ=* | --inclu=* | --incl=* | --inc=*)
433
includedir=$ac_optarg ;;
435
-infodir | --infodir | --infodi | --infod | --info | --inf)
437
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
438
infodir=$ac_optarg ;;
440
-libdir | --libdir | --libdi | --libd)
442
-libdir=* | --libdir=* | --libdi=* | --libd=*)
445
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
446
| --libexe | --libex | --libe)
447
ac_prev=libexecdir ;;
448
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
449
| --libexe=* | --libex=* | --libe=*)
450
libexecdir=$ac_optarg ;;
452
-localstatedir | --localstatedir | --localstatedi | --localstated \
453
| --localstate | --localstat | --localsta | --localst \
454
| --locals | --local | --loca | --loc | --lo)
455
ac_prev=localstatedir ;;
456
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
457
| --localstate=* | --localstat=* | --localsta=* | --localst=* \
458
| --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
459
localstatedir=$ac_optarg ;;
461
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
463
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
467
# Obsolete; use --without-fp.
470
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
471
| --no-cr | --no-c | -n)
474
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
475
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
478
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
479
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
480
| --oldin | --oldi | --old | --ol | --o)
481
ac_prev=oldincludedir ;;
482
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
483
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
484
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
485
oldincludedir=$ac_optarg ;;
487
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
489
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
492
-program-prefix | --program-prefix | --program-prefi | --program-pref \
493
| --program-pre | --program-pr | --program-p)
494
ac_prev=program_prefix ;;
495
-program-prefix=* | --program-prefix=* | --program-prefi=* \
496
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
497
program_prefix=$ac_optarg ;;
499
-program-suffix | --program-suffix | --program-suffi | --program-suff \
500
| --program-suf | --program-su | --program-s)
501
ac_prev=program_suffix ;;
502
-program-suffix=* | --program-suffix=* | --program-suffi=* \
503
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
504
program_suffix=$ac_optarg ;;
506
-program-transform-name | --program-transform-name \
507
| --program-transform-nam | --program-transform-na \
508
| --program-transform-n | --program-transform- \
509
| --program-transform | --program-transfor \
510
| --program-transfo | --program-transf \
511
| --program-trans | --program-tran \
512
| --progr-tra | --program-tr | --program-t)
513
ac_prev=program_transform_name ;;
514
-program-transform-name=* | --program-transform-name=* \
515
| --program-transform-nam=* | --program-transform-na=* \
516
| --program-transform-n=* | --program-transform-=* \
517
| --program-transform=* | --program-transfor=* \
518
| --program-transfo=* | --program-transf=* \
519
| --program-trans=* | --program-tran=* \
520
| --progr-tra=* | --program-tr=* | --program-t=*)
521
program_transform_name=$ac_optarg ;;
523
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
524
| -silent | --silent | --silen | --sile | --sil)
527
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
529
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
531
sbindir=$ac_optarg ;;
533
-sharedstatedir | --sharedstatedir | --sharedstatedi \
534
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
535
| --sharedst | --shareds | --shared | --share | --shar \
537
ac_prev=sharedstatedir ;;
538
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
539
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
540
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
542
sharedstatedir=$ac_optarg ;;
544
-site | --site | --sit)
546
-site=* | --site=* | --sit=*)
549
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
551
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
554
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
555
| --syscon | --sysco | --sysc | --sys | --sy)
556
ac_prev=sysconfdir ;;
557
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
558
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
559
sysconfdir=$ac_optarg ;;
561
-target | --target | --targe | --targ | --tar | --ta | --t)
562
ac_prev=target_alias ;;
563
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
564
target_alias=$ac_optarg ;;
566
-v | -verbose | --verbose | --verbos | --verbo | --verb)
569
-version | --version | --versio | --versi | --vers | -V)
573
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
574
# Reject names that are not valid shell variable names.
575
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
576
{ echo "$as_me: error: invalid package name: $ac_package" >&2
577
{ (exit 1); exit 1; }; }
578
ac_package=`echo $ac_package| sed 's/-/_/g'`
580
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
583
eval "with_$ac_package='$ac_optarg'" ;;
585
-without-* | --without-*)
586
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
587
# Reject names that are not valid shell variable names.
588
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
589
{ echo "$as_me: error: invalid package name: $ac_package" >&2
590
{ (exit 1); exit 1; }; }
591
ac_package=`echo $ac_package | sed 's/-/_/g'`
592
eval "with_$ac_package=no" ;;
595
# Obsolete; use --with-x.
598
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
599
| --x-incl | --x-inc | --x-in | --x-i)
600
ac_prev=x_includes ;;
601
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
602
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
603
x_includes=$ac_optarg ;;
605
-x-libraries | --x-libraries | --x-librarie | --x-librari \
606
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
607
ac_prev=x_libraries ;;
608
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
609
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
610
x_libraries=$ac_optarg ;;
612
-*) { echo "$as_me: error: unrecognized option: $ac_option
613
Try \`$0 --help' for more information." >&2
614
{ (exit 1); exit 1; }; }
618
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
619
# Reject names that are not valid shell variable names.
620
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
621
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
622
{ (exit 1); exit 1; }; }
623
ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
624
eval "$ac_envvar='$ac_optarg'"
628
# FIXME: should be removed in autoconf 3.0.
629
echo "$as_me: WARNING: you should use --build, --host, --target" >&2
630
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
631
echo "$as_me: WARNING: invalid host type: $ac_option" >&2
632
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
638
if test -n "$ac_prev"; then
639
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
640
{ echo "$as_me: error: missing argument to $ac_option" >&2
641
{ (exit 1); exit 1; }; }
644
# Be sure to have absolute paths.
645
for ac_var in exec_prefix prefix
647
eval ac_val=$`echo $ac_var`
649
[\\/$]* | ?:[\\/]* | NONE | '' ) ;;
650
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
651
{ (exit 1); exit 1; }; };;
655
# Be sure to have absolute paths.
656
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
657
localstatedir libdir includedir oldincludedir infodir mandir
659
eval ac_val=$`echo $ac_var`
661
[\\/$]* | ?:[\\/]* ) ;;
662
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
663
{ (exit 1); exit 1; }; };;
667
# There might be people who depend on the old broken behavior: `$host'
668
# used to hold the argument of --host etc.
669
# FIXME: To remove some day.
674
# FIXME: To remove some day.
675
if test "x$host_alias" != x; then
676
if test "x$build_alias" = x; then
677
cross_compiling=maybe
678
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
679
If a cross compiler is detected then cross compile mode will be used." >&2
680
elif test "x$build_alias" != "x$host_alias"; then
686
test -n "$host_alias" && ac_tool_prefix=$host_alias-
688
test "$silent" = yes && exec 6>/dev/null
691
# Find the source files, if location was not specified.
692
if test -z "$srcdir"; then
693
ac_srcdir_defaulted=yes
694
# Try the directory containing this script, then its parent.
695
ac_confdir=`(dirname "$0") 2>/dev/null ||
696
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
697
X"$0" : 'X\(//\)[^/]' \| \
698
X"$0" : 'X\(//\)$' \| \
699
X"$0" : 'X\(/\)' \| \
700
. : '\(.\)' 2>/dev/null ||
702
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
703
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
704
/^X\(\/\/\)$/{ s//\1/; q; }
705
/^X\(\/\).*/{ s//\1/; q; }
708
if test ! -r $srcdir/$ac_unique_file; then
712
ac_srcdir_defaulted=no
714
if test ! -r $srcdir/$ac_unique_file; then
715
if test "$ac_srcdir_defaulted" = yes; then
716
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
717
{ (exit 1); exit 1; }; }
719
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
720
{ (exit 1); exit 1; }; }
723
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
724
ac_env_build_alias_set=${build_alias+set}
725
ac_env_build_alias_value=$build_alias
726
ac_cv_env_build_alias_set=${build_alias+set}
727
ac_cv_env_build_alias_value=$build_alias
728
ac_env_host_alias_set=${host_alias+set}
729
ac_env_host_alias_value=$host_alias
730
ac_cv_env_host_alias_set=${host_alias+set}
731
ac_cv_env_host_alias_value=$host_alias
732
ac_env_target_alias_set=${target_alias+set}
733
ac_env_target_alias_value=$target_alias
734
ac_cv_env_target_alias_set=${target_alias+set}
735
ac_cv_env_target_alias_value=$target_alias
736
ac_env_CC_set=${CC+set}
738
ac_cv_env_CC_set=${CC+set}
739
ac_cv_env_CC_value=$CC
740
ac_env_CFLAGS_set=${CFLAGS+set}
741
ac_env_CFLAGS_value=$CFLAGS
742
ac_cv_env_CFLAGS_set=${CFLAGS+set}
743
ac_cv_env_CFLAGS_value=$CFLAGS
744
ac_env_LDFLAGS_set=${LDFLAGS+set}
745
ac_env_LDFLAGS_value=$LDFLAGS
746
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
747
ac_cv_env_LDFLAGS_value=$LDFLAGS
748
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
749
ac_env_CPPFLAGS_value=$CPPFLAGS
750
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
751
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
752
ac_env_CPP_set=${CPP+set}
753
ac_env_CPP_value=$CPP
754
ac_cv_env_CPP_set=${CPP+set}
755
ac_cv_env_CPP_value=$CPP
756
ac_env_CXX_set=${CXX+set}
757
ac_env_CXX_value=$CXX
758
ac_cv_env_CXX_set=${CXX+set}
759
ac_cv_env_CXX_value=$CXX
760
ac_env_CXXFLAGS_set=${CXXFLAGS+set}
761
ac_env_CXXFLAGS_value=$CXXFLAGS
762
ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
763
ac_cv_env_CXXFLAGS_value=$CXXFLAGS
764
ac_env_CXXCPP_set=${CXXCPP+set}
765
ac_env_CXXCPP_value=$CXXCPP
766
ac_cv_env_CXXCPP_set=${CXXCPP+set}
767
ac_cv_env_CXXCPP_value=$CXXCPP
770
# Report the --help message.
772
if test "$ac_init_help" = "long"; then
773
# Omit some internal or obsolete options to make the list less imposing.
774
# This message is too long to be a string in the A/UX 3.1 sh.
776
\`configure' configures this package to adapt to many kinds of systems.
778
Usage: $0 [OPTION]... [VAR=VALUE]...
780
To assign environment variables (e.g., CC, CFLAGS...), specify them as
781
VAR=VALUE. See below for descriptions of some of the useful variables.
783
Defaults for the options are specified in brackets.
786
-h, --help display this help and exit
787
--help=short display options specific to this package
788
--help=recursive display the short help of all the included packages
789
-V, --version display version information and exit
790
-q, --quiet, --silent do not print \`checking...' messages
791
--cache-file=FILE cache test results in FILE [disabled]
792
-C, --config-cache alias for \`--cache-file=config.cache'
793
-n, --no-create do not create output files
794
--srcdir=DIR find the sources in DIR [configure dir or \`..']
799
Installation directories:
800
--prefix=PREFIX install architecture-independent files in PREFIX
802
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
805
By default, \`make install' will install all the files in
806
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
807
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
808
for instance \`--prefix=\$HOME'.
810
For better control, use the options below.
812
Fine tuning of the installation directories:
813
--bindir=DIR user executables [EPREFIX/bin]
814
--sbindir=DIR system admin executables [EPREFIX/sbin]
815
--libexecdir=DIR program executables [EPREFIX/libexec]
816
--datadir=DIR read-only architecture-independent data [PREFIX/share]
817
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
818
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
819
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
820
--libdir=DIR object code libraries [EPREFIX/lib]
821
--includedir=DIR C header files [PREFIX/include]
822
--oldincludedir=DIR C header files for non-gcc [/usr/include]
823
--infodir=DIR info documentation [PREFIX/info]
824
--mandir=DIR man documentation [PREFIX/man]
830
--program-prefix=PREFIX prepend PREFIX to installed program names
831
--program-suffix=SUFFIX append SUFFIX to installed program names
832
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
835
--build=BUILD configure for building on BUILD [guessed]
836
--host=HOST cross-compile to build programs to run on HOST [BUILD]
837
--target=TARGET configure for building compilers for TARGET [HOST]
841
if test -n "$ac_init_help"; then
846
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
847
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
848
--disable-fast-perl disable fast Makefile generation (needs perl)
849
--enable-debug=ARG enables debug symbols (yes|no|full) default=no
850
--disable-debug disables debug output and debug symbols default=no
851
--enable-strict compiles with strict compiler options (may not work!)
852
--disable-warnings disables compilation with -Wall and similiar
853
--enable-profile creates profiling infos default=no
854
--enable-pch enables precompiled header support (currently only KCC) default=no
855
--enable-final build size optimized apps (experimental - needs lots of memory)
856
--disable-closure don't delay template instantiation
857
--enable-nmcheck enable automatic namespace cleanness check
858
--enable-shared=PKGS build shared libraries default=yes
859
--enable-static=PKGS build static libraries default=no
860
--enable-libsuffix /lib directory suffix (64,32,none=default)
861
--enable-fast-install=PKGS optimize for fast installation default=yes
862
--disable-libtool-lock avoid locking (might break parallel builds)
863
--enable-objprelink prelink apps using objprelink (obsolete)
864
--enable-embedded link to Qt-embedded, don't use X
865
--enable-qtopia link to Qt-embedded, link to the Qtopia Environment
866
--disable-mt link to non-threaded Qt (deprecated)
867
--enable-kernel-threads Enable the use of the LinuxThreads port on FreeBSD/i386 only.
868
--disable-threading disables threading even if libpthread found
869
--disable-rpath do not use the rpath feature of ld
870
--disable-path-check don't try to find out, where to install
873
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
874
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
875
--with-gnu-ld assume the C compiler uses GNU ld default=no
876
--with-pic try to use only PIC/non-PIC objects default=use both
877
--with-extra-includes=DIR
878
adds non standard include paths
879
--with-extra-libs=DIR adds non standard library paths
880
--with-qt-dir=DIR where the root of Qt is installed
881
--with-qt-includes=DIR where the Qt includes are.
882
--with-qt-libraries=DIR where the Qt library is installed.
884
Some influential environment variables:
885
CC C compiler command
886
CFLAGS C compiler flags
887
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
888
nonstandard directory <lib dir>
889
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
890
headers in a nonstandard directory <include dir>
892
CXX C++ compiler command
893
CXXFLAGS C++ compiler flags
894
CXXCPP C++ preprocessor
896
Use these variables to override the choices made by `configure' or to help
897
it to find libraries and programs with nonstandard names/locations.
902
if test "$ac_init_help" = "recursive"; then
903
# If there are subdirs, report their specific --help.
905
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
906
test -d $ac_dir || continue
909
if test "$ac_dir" != .; then
910
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
911
# A "../" for each directory in $ac_dir_suffix.
912
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
914
ac_dir_suffix= ac_top_builddir=
918
.) # No --srcdir option. We are building in place.
920
if test -z "$ac_top_builddir"; then
923
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
925
[\\/]* | ?:[\\/]* ) # Absolute path.
926
ac_srcdir=$srcdir$ac_dir_suffix;
927
ac_top_srcdir=$srcdir ;;
929
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
930
ac_top_srcdir=$ac_top_builddir$srcdir ;;
932
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
934
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
935
ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
936
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
937
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
940
# Check for guested configure; otherwise get Cygnus style configure.
941
if test -f $ac_srcdir/configure.gnu; then
943
$SHELL $ac_srcdir/configure.gnu --help=recursive
944
elif test -f $ac_srcdir/configure; then
946
$SHELL $ac_srcdir/configure --help=recursive
947
elif test -f $ac_srcdir/configure.ac ||
948
test -f $ac_srcdir/configure.in; then
952
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
958
test -n "$ac_init_help" && exit 0
959
if $ac_init_version; then
962
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
963
Free Software Foundation, Inc.
964
This configure script is free software; the Free Software Foundation
965
gives unlimited permission to copy, distribute and modify it.
971
This file contains any messages produced by compilers while
972
running configure, to aid debugging if configure makes a mistake.
974
It was created by $as_me, which was
975
generated by GNU Autoconf 2.53. Invocation command line was
986
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
987
uname -m = `(uname -m) 2>/dev/null || echo unknown`
988
uname -r = `(uname -r) 2>/dev/null || echo unknown`
989
uname -s = `(uname -s) 2>/dev/null || echo unknown`
990
uname -v = `(uname -v) 2>/dev/null || echo unknown`
992
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
993
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
995
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
996
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
997
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
998
hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
999
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1000
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1001
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1005
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1009
test -z "$as_dir" && as_dir=.
1010
echo "PATH: $as_dir"
1025
# Keep a trace of the command line.
1026
# Strip out --no-create and --no-recursion so they do not pile up.
1027
# Also quote any args containing shell meta-characters.
1033
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
1034
| --no-cr | --no-c | -n ) continue ;;
1035
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
1036
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1038
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1039
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1041
case " $ac_configure_args " in
1042
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1043
*) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1046
# Get rid of the leading space.
1049
# When interrupted or exit'd, cleanup temporary files, and complete
1050
# config.log. We remove comments because anyway the quotes in there
1051
# would cause problems or look ugly.
1052
# WARNING: Be sure not to use single quotes in there, as some shells,
1053
# such as our DU 5.0 friend, will then `close' the trap.
1054
trap 'exit_status=$?
1055
# Save into config.log some information that might help in debugging.
1059
## ---------------- ##
1060
## Cache variables. ##
1061
## ---------------- ##
1064
# The following way of writing the cache mishandles newlines in values,
1067
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1070
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1071
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1075
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1080
if test -s confdefs.h; then
1087
sed "/^$/d" confdefs.h
1090
test "$ac_signal" != 0 &&
1091
echo "$as_me: caught signal $ac_signal"
1092
echo "$as_me: exit $exit_status"
1094
rm -f core core.* *.core &&
1095
rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1098
for ac_signal in 1 2 13 15; do
1099
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1103
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1104
rm -rf conftest* confdefs.h
1105
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1108
# Predefined preprocessor variables.
1110
cat >>confdefs.h <<_ACEOF
1111
#define PACKAGE_NAME "$PACKAGE_NAME"
1115
cat >>confdefs.h <<_ACEOF
1116
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1120
cat >>confdefs.h <<_ACEOF
1121
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1125
cat >>confdefs.h <<_ACEOF
1126
#define PACKAGE_STRING "$PACKAGE_STRING"
1130
cat >>confdefs.h <<_ACEOF
1131
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1135
# Let the site file select an alternate cache file if it wants to.
1136
# Prefer explicitly selected file to automatically selected ones.
1137
if test -z "$CONFIG_SITE"; then
1138
if test "x$prefix" != xNONE; then
1139
CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1141
CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1144
for ac_site_file in $CONFIG_SITE; do
1145
if test -r "$ac_site_file"; then
1146
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1147
echo "$as_me: loading site script $ac_site_file" >&6;}
1148
sed 's/^/| /' "$ac_site_file" >&5
1153
if test -r "$cache_file"; then
1154
# Some versions of bash will fail to source /dev/null (special
1155
# files actually), so we avoid doing that.
1156
if test -f "$cache_file"; then
1157
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
1158
echo "$as_me: loading cache $cache_file" >&6;}
1160
[\\/]* | ?:[\\/]* ) . $cache_file;;
1161
*) . ./$cache_file;;
1165
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
1166
echo "$as_me: creating cache $cache_file" >&6;}
1170
# Check that the precious variables saved in the cache have kept the same
1172
ac_cache_corrupted=false
1173
for ac_var in `(set) 2>&1 |
1174
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1175
eval ac_old_set=\$ac_cv_env_${ac_var}_set
1176
eval ac_new_set=\$ac_env_${ac_var}_set
1177
eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1178
eval ac_new_val="\$ac_env_${ac_var}_value"
1179
case $ac_old_set,$ac_new_set in
1181
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1182
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1183
ac_cache_corrupted=: ;;
1185
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1186
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1187
ac_cache_corrupted=: ;;
1190
if test "x$ac_old_val" != "x$ac_new_val"; then
1191
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1192
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1193
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1194
echo "$as_me: former value: $ac_old_val" >&2;}
1195
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1196
echo "$as_me: current value: $ac_new_val" >&2;}
1197
ac_cache_corrupted=:
1200
# Pass precious variables to config.status.
1201
if test "$ac_new_set" = set; then
1203
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1204
ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1205
*) ac_arg=$ac_var=$ac_new_val ;;
1207
case " $ac_configure_args " in
1208
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1209
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1213
if $ac_cache_corrupted; then
1214
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1215
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1216
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1217
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1218
{ (exit 1); exit 1; }; }
1222
ac_cpp='$CPP $CPPFLAGS'
1223
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1224
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1225
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1245
for ac_dir in admin $srcdir/admin; do
1246
if test -f $ac_dir/install-sh; then
1248
ac_install_sh="$ac_aux_dir/install-sh -c"
1250
elif test -f $ac_dir/install.sh; then
1252
ac_install_sh="$ac_aux_dir/install.sh -c"
1254
elif test -f $ac_dir/shtool; then
1256
ac_install_sh="$ac_aux_dir/shtool install -c"
1260
if test -z "$ac_aux_dir"; then
1261
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in admin $srcdir/admin" >&5
1262
echo "$as_me: error: cannot find install-sh or install.sh in admin $srcdir/admin" >&2;}
1263
{ (exit 1); exit 1; }; }
1265
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1266
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1267
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1272
# Make sure we can run config.sub.
1273
$ac_config_sub sun4 >/dev/null 2>&1 ||
1274
{ { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1275
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1276
{ (exit 1); exit 1; }; }
1278
echo "$as_me:$LINENO: checking build system type" >&5
1279
echo $ECHO_N "checking build system type... $ECHO_C" >&6
1280
if test "${ac_cv_build+set}" = set; then
1281
echo $ECHO_N "(cached) $ECHO_C" >&6
1283
ac_cv_build_alias=$build_alias
1284
test -z "$ac_cv_build_alias" &&
1285
ac_cv_build_alias=`$ac_config_guess`
1286
test -z "$ac_cv_build_alias" &&
1287
{ { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1288
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1289
{ (exit 1); exit 1; }; }
1290
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1291
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1292
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1293
{ (exit 1); exit 1; }; }
1296
echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1297
echo "${ECHO_T}$ac_cv_build" >&6
1299
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1300
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1301
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1304
echo "$as_me:$LINENO: checking host system type" >&5
1305
echo $ECHO_N "checking host system type... $ECHO_C" >&6
1306
if test "${ac_cv_host+set}" = set; then
1307
echo $ECHO_N "(cached) $ECHO_C" >&6
1309
ac_cv_host_alias=$host_alias
1310
test -z "$ac_cv_host_alias" &&
1311
ac_cv_host_alias=$ac_cv_build_alias
1312
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1313
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1314
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1315
{ (exit 1); exit 1; }; }
1318
echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1319
echo "${ECHO_T}$ac_cv_host" >&6
1321
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1322
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1323
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1326
echo "$as_me:$LINENO: checking target system type" >&5
1327
echo $ECHO_N "checking target system type... $ECHO_C" >&6
1328
if test "${ac_cv_target+set}" = set; then
1329
echo $ECHO_N "(cached) $ECHO_C" >&6
1331
ac_cv_target_alias=$target_alias
1332
test "x$ac_cv_target_alias" = "x" &&
1333
ac_cv_target_alias=$ac_cv_host_alias
1334
ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1335
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1336
echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1337
{ (exit 1); exit 1; }; }
1340
echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1341
echo "${ECHO_T}$ac_cv_target" >&6
1342
target=$ac_cv_target
1343
target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1344
target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1345
target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1348
# The aliases save the names the user supplied, while $host etc.
1349
# will get canonicalized.
1350
test -n "$target_alias" &&
1351
test "$program_prefix$program_suffix$program_transform_name" = \
1353
program_prefix=${target_alias}-
1354
test "$program_prefix" != NONE &&
1355
program_transform_name="s,^,$program_prefix,;$program_transform_name"
1356
# Use a double $ so make ignores it.
1357
test "$program_suffix" != NONE &&
1358
program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1359
# Double any \ or $. echo might interpret backslashes.
1360
# By default was `s,x,x', remove it if useless.
1361
cat <<\_ACEOF >conftest.sed
1362
s/[\\$]/&&/g;s/;s,x,x,$//
1364
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1370
test -n "$INSTALL" && kde_save_INSTALL_given=$INSTALL
1371
test -n "$INSTALL_PROGRAM" && kde_save_INSTALL_PROGRAM_given=$INSTALL_PROGRAM
1372
test -n "$INSTALL_SCRIPT" && kde_save_INSTALL_SCRIPT_given=$INSTALL_SCRIPT
1373
# Find a good install program. We prefer a C program (faster),
1374
# so one script is as good as another. But avoid the broken or
1375
# incompatible versions:
1376
# SysV /etc/install, /usr/sbin/install
1377
# SunOS /usr/etc/install
1378
# IRIX /sbin/install
1380
# AmigaOS /C/install, which installs bootblocks on floppy discs
1381
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1382
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1383
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1384
# ./install, which can be erroneously created by make from ./install.sh.
1385
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1386
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1387
if test -z "$INSTALL"; then
1388
if test "${ac_cv_path_install+set}" = set; then
1389
echo $ECHO_N "(cached) $ECHO_C" >&6
1391
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1395
test -z "$as_dir" && as_dir=.
1396
# Account for people who put trailing slashes in PATH elements.
1398
./ | .// | /cC/* | \
1399
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1402
# OSF1 and SCO ODT 3.0 have their own names for install.
1403
# Don't use installbsd from OSF since it installs stuff as root
1405
for ac_prog in ginstall scoinst install; do
1406
for ac_exec_ext in '' $ac_executable_extensions; do
1407
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1408
if test $ac_prog = install &&
1409
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1410
# AIX install. It has an incompatible calling convention.
1412
elif test $ac_prog = install &&
1413
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1414
# program-specific install script used by HP pwplus--don't use.
1417
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1429
if test "${ac_cv_path_install+set}" = set; then
1430
INSTALL=$ac_cv_path_install
1432
# As a last resort, use the slow shell script. We don't cache a
1433
# path for INSTALL within a source directory, because that will
1434
# break other packages using the cache if that directory is
1435
# removed, or if the path is relative.
1436
INSTALL=$ac_install_sh
1439
echo "$as_me:$LINENO: result: $INSTALL" >&5
1440
echo "${ECHO_T}$INSTALL" >&6
1442
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1443
# It thinks the first close brace ends the variable substitution.
1444
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1446
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1448
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1451
if test -z "$kde_save_INSTALL_given" ; then
1452
# OK, user hasn't given any INSTALL, autoconf found one for us
1453
# now we test, if it supports the -p flag
1454
echo "$as_me:$LINENO: checking for -p flag to install" >&5
1455
echo $ECHO_N "checking for -p flag to install... $ECHO_C" >&6
1456
rm -f confinst.$$.* > /dev/null 2>&1
1457
echo "Testtest" > confinst.$$.orig
1459
if ${INSTALL} -p confinst.$$.orig confinst.$$.new > /dev/null 2>&1 ; then
1460
if test -f confinst.$$.new ; then
1461
# OK, -p seems to do no harm to install
1462
INSTALL="${INSTALL} -p"
1467
echo "$as_me:$LINENO: result: $ac_res" >&5
1468
echo "${ECHO_T}$ac_res" >&6
1471
if test -z "$kde_save_INSTALL_PROGRAM_given" ; then
1472
INSTALL_PROGRAM='${INSTALL} $(INSTALL_STRIP_FLAG)'
1474
if test -z "$kde_save_INSTALL_SCRIPT_given" ; then
1475
INSTALL_SCRIPT='${INSTALL}'
1478
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1479
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1482
echo timestamp > conftestfile
1483
# Do `set' in a subshell so we don't clobber the current shell's
1484
# arguments. Must try -L first in case configure is actually a
1485
# symlink; some systems play weird games with the mod time of symlinks
1486
# (eg FreeBSD returns the mod time of the symlink's containing
1489
set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
1490
if test "$*" = "X"; then
1492
set X `ls -t $srcdir/configure conftestfile`
1494
if test "$*" != "X $srcdir/configure conftestfile" \
1495
&& test "$*" != "X conftestfile $srcdir/configure"; then
1497
# If neither matched, then we have a broken ls. This can happen
1498
# if, for instance, CONFIG_SHELL is bash and it inherits a
1499
# broken ls alias from the environment. This has actually
1500
# happened. Such a system could not be considered "sane".
1501
{ { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1502
alias in your environment" >&5
1503
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1504
alias in your environment" >&2;}
1505
{ (exit 1); exit 1; }; }
1508
test "$2" = conftestfile
1514
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1515
Check your system clock" >&5
1516
echo "$as_me: error: newly created file is older than distributed files!
1517
Check your system clock" >&2;}
1518
{ (exit 1); exit 1; }; }
1521
echo "$as_me:$LINENO: result: yes" >&5
1522
echo "${ECHO_T}yes" >&6
1523
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
1524
echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1525
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1526
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1527
echo $ECHO_N "(cached) $ECHO_C" >&6
1529
cat >conftest.make <<\_ACEOF
1531
@echo 'ac_maketemp="${MAKE}"'
1533
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1534
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1535
if test -n "$ac_maketemp"; then
1536
eval ac_cv_prog_make_${ac_make}_set=yes
1538
eval ac_cv_prog_make_${ac_make}_set=no
1542
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1543
echo "$as_me:$LINENO: result: yes" >&5
1544
echo "${ECHO_T}yes" >&6
1547
echo "$as_me:$LINENO: result: no" >&5
1548
echo "${ECHO_T}no" >&6
1549
SET_MAKE="MAKE=${MAKE-make}"
1557
if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
1558
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1559
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1560
{ (exit 1); exit 1; }; }
1563
cat >>confdefs.h <<_ACEOF
1564
#define PACKAGE "$PACKAGE"
1568
cat >>confdefs.h <<_ACEOF
1569
#define VERSION "$VERSION"
1574
missing_dir=`cd $ac_aux_dir && pwd`
1575
echo "$as_me:$LINENO: checking for working aclocal" >&5
1576
echo $ECHO_N "checking for working aclocal... $ECHO_C" >&6
1577
# Run test in a subshell; some versions of sh will print an error if
1578
# an executable is not found, even if stderr is redirected.
1579
# Redirect stdin to placate older versions of autoconf. Sigh.
1580
if (aclocal --version) < /dev/null > /dev/null 2>&1; then
1582
echo "$as_me:$LINENO: result: found" >&5
1583
echo "${ECHO_T}found" >&6
1585
ACLOCAL="$missing_dir/missing aclocal"
1586
echo "$as_me:$LINENO: result: missing" >&5
1587
echo "${ECHO_T}missing" >&6
1590
echo "$as_me:$LINENO: checking for working autoconf" >&5
1591
echo $ECHO_N "checking for working autoconf... $ECHO_C" >&6
1592
# Run test in a subshell; some versions of sh will print an error if
1593
# an executable is not found, even if stderr is redirected.
1594
# Redirect stdin to placate older versions of autoconf. Sigh.
1595
if (autoconf --version) < /dev/null > /dev/null 2>&1; then
1597
echo "$as_me:$LINENO: result: found" >&5
1598
echo "${ECHO_T}found" >&6
1600
AUTOCONF="$missing_dir/missing autoconf"
1601
echo "$as_me:$LINENO: result: missing" >&5
1602
echo "${ECHO_T}missing" >&6
1605
echo "$as_me:$LINENO: checking for working automake" >&5
1606
echo $ECHO_N "checking for working automake... $ECHO_C" >&6
1607
# Run test in a subshell; some versions of sh will print an error if
1608
# an executable is not found, even if stderr is redirected.
1609
# Redirect stdin to placate older versions of autoconf. Sigh.
1610
if (automake --version) < /dev/null > /dev/null 2>&1; then
1612
echo "$as_me:$LINENO: result: found" >&5
1613
echo "${ECHO_T}found" >&6
1615
AUTOMAKE="$missing_dir/missing automake"
1616
echo "$as_me:$LINENO: result: missing" >&5
1617
echo "${ECHO_T}missing" >&6
1620
echo "$as_me:$LINENO: checking for working autoheader" >&5
1621
echo $ECHO_N "checking for working autoheader... $ECHO_C" >&6
1622
# Run test in a subshell; some versions of sh will print an error if
1623
# an executable is not found, even if stderr is redirected.
1624
# Redirect stdin to placate older versions of autoconf. Sigh.
1625
if (autoheader --version) < /dev/null > /dev/null 2>&1; then
1626
AUTOHEADER=autoheader
1627
echo "$as_me:$LINENO: result: found" >&5
1628
echo "${ECHO_T}found" >&6
1630
AUTOHEADER="$missing_dir/missing autoheader"
1631
echo "$as_me:$LINENO: result: missing" >&5
1632
echo "${ECHO_T}missing" >&6
1635
echo "$as_me:$LINENO: checking for working makeinfo" >&5
1636
echo $ECHO_N "checking for working makeinfo... $ECHO_C" >&6
1637
# Run test in a subshell; some versions of sh will print an error if
1638
# an executable is not found, even if stderr is redirected.
1639
# Redirect stdin to placate older versions of autoconf. Sigh.
1640
if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
1642
echo "$as_me:$LINENO: result: found" >&5
1643
echo "${ECHO_T}found" >&6
1645
MAKEINFO="$missing_dir/missing makeinfo"
1646
echo "$as_me:$LINENO: result: missing" >&5
1647
echo "${ECHO_T}missing" >&6
1655
if test "x$prefix" = "xNONE"; then
1656
prefix=$ac_default_prefix
1657
ac_configure_args="$ac_configure_args --prefix=$prefix"
1659
# And delete superflous '/' to make compares easier
1660
prefix=`echo "$prefix" | sed 's,//*,/,g' | sed -e 's,/$,,'`
1661
exec_prefix=`echo "$exec_prefix" | sed 's,//*,/,g' | sed -e 's,/$,,'`
1663
# Check whether --enable-fast-perl or --disable-fast-perl was given.
1664
if test "${enable_fast_perl+set}" = set; then
1665
enableval="$enable_fast_perl"
1666
with_fast_perl=$enableval
1673
if test -f $srcdir/configure.files ; then
1674
val=`sed -e 's%^%\$(top_srcdir)/%' $srcdir/configure.files`
1677
if test -n "$val" ; then
1679
CONF_FILES="$CONF_FILES $i"
1687
ac_config_headers="$ac_config_headers config.h"
1689
ac_config_commands="$ac_config_commands default-1"
1693
# Check whether --enable-debug or --disable-debug was given.
1694
if test "${enable_debug+set}" = set; then
1695
enableval="$enable_debug"
1699
kde_use_debug_code="yes"
1700
kde_use_debug_define=no
1703
kde_use_debug_code="full"
1704
kde_use_debug_define=no
1707
kde_use_debug_code="no"
1708
kde_use_debug_define=yes
1713
kde_use_debug_code="no"
1714
kde_use_debug_define=no
1718
# Check whether --enable-dummyoption or --disable-dummyoption was given.
1719
if test "${enable_dummyoption+set}" = set; then
1720
enableval="$enable_dummyoption"
1724
# Check whether --enable-strict or --disable-strict was given.
1725
if test "${enable_strict+set}" = set; then
1726
enableval="$enable_strict"
1728
if test $enableval = "no"; then
1729
kde_use_strict_options="no"
1731
kde_use_strict_options="yes"
1735
kde_use_strict_options="no"
1738
# Check whether --enable-warnings or --disable-warnings was given.
1739
if test "${enable_warnings+set}" = set; then
1740
enableval="$enable_warnings"
1742
if test $enableval = "no"; then
1743
kde_use_warnings="no"
1745
kde_use_warnings="yes"
1749
kde_use_warnings="yes"
1752
if test "$kde_use_debug_code" != "no"; then
1753
kde_use_warnings=yes
1756
# Check whether --enable-profile or --disable-profile was given.
1757
if test "${enable_profile+set}" = set; then
1758
enableval="$enable_profile"
1759
kde_use_profiling=$enableval
1761
kde_use_profiling="no"
1768
ac_cpp='$CPP $CPPFLAGS'
1769
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1770
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1771
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1772
if test -n "$ac_tool_prefix"; then
1773
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1774
set dummy ${ac_tool_prefix}gcc; ac_word=$2
1775
echo "$as_me:$LINENO: checking for $ac_word" >&5
1776
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1777
if test "${ac_cv_prog_CC+set}" = set; then
1778
echo $ECHO_N "(cached) $ECHO_C" >&6
1780
if test -n "$CC"; then
1781
ac_cv_prog_CC="$CC" # Let the user override the test.
1783
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1787
test -z "$as_dir" && as_dir=.
1788
for ac_exec_ext in '' $ac_executable_extensions; do
1789
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1790
ac_cv_prog_CC="${ac_tool_prefix}gcc"
1791
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1800
if test -n "$CC"; then
1801
echo "$as_me:$LINENO: result: $CC" >&5
1802
echo "${ECHO_T}$CC" >&6
1804
echo "$as_me:$LINENO: result: no" >&5
1805
echo "${ECHO_T}no" >&6
1809
if test -z "$ac_cv_prog_CC"; then
1811
# Extract the first word of "gcc", so it can be a program name with args.
1812
set dummy gcc; ac_word=$2
1813
echo "$as_me:$LINENO: checking for $ac_word" >&5
1814
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1815
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1816
echo $ECHO_N "(cached) $ECHO_C" >&6
1818
if test -n "$ac_ct_CC"; then
1819
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1821
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1825
test -z "$as_dir" && as_dir=.
1826
for ac_exec_ext in '' $ac_executable_extensions; do
1827
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1828
ac_cv_prog_ac_ct_CC="gcc"
1829
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1837
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1838
if test -n "$ac_ct_CC"; then
1839
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1840
echo "${ECHO_T}$ac_ct_CC" >&6
1842
echo "$as_me:$LINENO: result: no" >&5
1843
echo "${ECHO_T}no" >&6
1851
if test -z "$CC"; then
1852
if test -n "$ac_tool_prefix"; then
1853
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1854
set dummy ${ac_tool_prefix}cc; ac_word=$2
1855
echo "$as_me:$LINENO: checking for $ac_word" >&5
1856
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1857
if test "${ac_cv_prog_CC+set}" = set; then
1858
echo $ECHO_N "(cached) $ECHO_C" >&6
1860
if test -n "$CC"; then
1861
ac_cv_prog_CC="$CC" # Let the user override the test.
1863
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1867
test -z "$as_dir" && as_dir=.
1868
for ac_exec_ext in '' $ac_executable_extensions; do
1869
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1870
ac_cv_prog_CC="${ac_tool_prefix}cc"
1871
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1880
if test -n "$CC"; then
1881
echo "$as_me:$LINENO: result: $CC" >&5
1882
echo "${ECHO_T}$CC" >&6
1884
echo "$as_me:$LINENO: result: no" >&5
1885
echo "${ECHO_T}no" >&6
1889
if test -z "$ac_cv_prog_CC"; then
1891
# Extract the first word of "cc", so it can be a program name with args.
1892
set dummy cc; ac_word=$2
1893
echo "$as_me:$LINENO: checking for $ac_word" >&5
1894
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1895
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1896
echo $ECHO_N "(cached) $ECHO_C" >&6
1898
if test -n "$ac_ct_CC"; then
1899
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1901
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1905
test -z "$as_dir" && as_dir=.
1906
for ac_exec_ext in '' $ac_executable_extensions; do
1907
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1908
ac_cv_prog_ac_ct_CC="cc"
1909
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1917
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1918
if test -n "$ac_ct_CC"; then
1919
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1920
echo "${ECHO_T}$ac_ct_CC" >&6
1922
echo "$as_me:$LINENO: result: no" >&5
1923
echo "${ECHO_T}no" >&6
1932
if test -z "$CC"; then
1933
# Extract the first word of "cc", so it can be a program name with args.
1934
set dummy cc; ac_word=$2
1935
echo "$as_me:$LINENO: checking for $ac_word" >&5
1936
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1937
if test "${ac_cv_prog_CC+set}" = set; then
1938
echo $ECHO_N "(cached) $ECHO_C" >&6
1940
if test -n "$CC"; then
1941
ac_cv_prog_CC="$CC" # Let the user override the test.
1944
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1948
test -z "$as_dir" && as_dir=.
1949
for ac_exec_ext in '' $ac_executable_extensions; do
1950
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1951
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1952
ac_prog_rejected=yes
1956
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1962
if test $ac_prog_rejected = yes; then
1963
# We found a bogon in the path, so make sure we never use it.
1964
set dummy $ac_cv_prog_CC
1966
if test $# != 0; then
1967
# We chose a different compiler from the bogus one.
1968
# However, it has the same basename, so the bogon will be chosen
1969
# first if we set CC to just the basename; use the full file name.
1971
set dummy "$as_dir/$ac_word" ${1+"$@"}
1979
if test -n "$CC"; then
1980
echo "$as_me:$LINENO: result: $CC" >&5
1981
echo "${ECHO_T}$CC" >&6
1983
echo "$as_me:$LINENO: result: no" >&5
1984
echo "${ECHO_T}no" >&6
1988
if test -z "$CC"; then
1989
if test -n "$ac_tool_prefix"; then
1992
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1993
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1994
echo "$as_me:$LINENO: checking for $ac_word" >&5
1995
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1996
if test "${ac_cv_prog_CC+set}" = set; then
1997
echo $ECHO_N "(cached) $ECHO_C" >&6
1999
if test -n "$CC"; then
2000
ac_cv_prog_CC="$CC" # Let the user override the test.
2002
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2006
test -z "$as_dir" && as_dir=.
2007
for ac_exec_ext in '' $ac_executable_extensions; do
2008
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2009
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2010
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2019
if test -n "$CC"; then
2020
echo "$as_me:$LINENO: result: $CC" >&5
2021
echo "${ECHO_T}$CC" >&6
2023
echo "$as_me:$LINENO: result: no" >&5
2024
echo "${ECHO_T}no" >&6
2027
test -n "$CC" && break
2030
if test -z "$CC"; then
2034
# Extract the first word of "$ac_prog", so it can be a program name with args.
2035
set dummy $ac_prog; ac_word=$2
2036
echo "$as_me:$LINENO: checking for $ac_word" >&5
2037
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2038
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2039
echo $ECHO_N "(cached) $ECHO_C" >&6
2041
if test -n "$ac_ct_CC"; then
2042
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2044
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2048
test -z "$as_dir" && as_dir=.
2049
for ac_exec_ext in '' $ac_executable_extensions; do
2050
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2051
ac_cv_prog_ac_ct_CC="$ac_prog"
2052
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2060
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2061
if test -n "$ac_ct_CC"; then
2062
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2063
echo "${ECHO_T}$ac_ct_CC" >&6
2065
echo "$as_me:$LINENO: result: no" >&5
2066
echo "${ECHO_T}no" >&6
2069
test -n "$ac_ct_CC" && break
2078
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
2079
echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
2080
{ (exit 1); exit 1; }; }
2082
# Provide some information about the compiler.
2083
echo "$as_me:$LINENO:" \
2084
"checking for C compiler version" >&5
2085
ac_compiler=`set X $ac_compile; echo $2`
2086
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2087
(eval $ac_compiler --version </dev/null >&5) 2>&5
2089
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2090
(exit $ac_status); }
2091
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2092
(eval $ac_compiler -v </dev/null >&5) 2>&5
2094
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2095
(exit $ac_status); }
2096
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2097
(eval $ac_compiler -V </dev/null >&5) 2>&5
2099
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2100
(exit $ac_status); }
2102
cat >conftest.$ac_ext <<_ACEOF
2103
#line $LINENO "configure"
2104
#include "confdefs.h"
2106
#ifdef F77_DUMMY_MAIN
2110
int F77_DUMMY_MAIN() { return 1; }
2120
ac_clean_files_save=$ac_clean_files
2121
ac_clean_files="$ac_clean_files a.out a.exe"
2122
# Try to create an executable without -o first, disregard a.out.
2123
# It will help us diagnose broken compilers, and finding out an intuition
2125
echo "$as_me:$LINENO: checking for C compiler default output" >&5
2126
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2127
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2128
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2129
(eval $ac_link_default) 2>&5
2131
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2132
(exit $ac_status); }; then
2133
# Find the output, starting from the most likely. This scheme is
2134
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2137
# Be careful to initialize this variable, since it used to be cached.
2138
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2140
for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
2141
ls a.out conftest 2>/dev/null;
2142
ls a.* conftest.* 2>/dev/null`; do
2144
*.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;;
2145
a.out ) # We found the default executable, but exeext='' is most
2148
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2149
# FIXME: I believe we export ac_cv_exeext for Libtool --akim.
2156
echo "$as_me: failed program was:" >&5
2157
cat conftest.$ac_ext >&5
2158
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5
2159
echo "$as_me: error: C compiler cannot create executables" >&2;}
2160
{ (exit 77); exit 77; }; }
2163
ac_exeext=$ac_cv_exeext
2164
echo "$as_me:$LINENO: result: $ac_file" >&5
2165
echo "${ECHO_T}$ac_file" >&6
2167
# Check the compiler produces executables we can run. If not, either
2168
# the compiler is broken, or we cross compile.
2169
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2170
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2171
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2172
# If not cross compiling, check that we can run a simple program.
2173
if test "$cross_compiling" != yes; then
2174
if { ac_try='./$ac_file'
2175
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2178
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2179
(exit $ac_status); }; }; then
2182
if test "$cross_compiling" = maybe; then
2185
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2186
If you meant to cross compile, use \`--host'." >&5
2187
echo "$as_me: error: cannot run C compiled programs.
2188
If you meant to cross compile, use \`--host'." >&2;}
2189
{ (exit 1); exit 1; }; }
2193
echo "$as_me:$LINENO: result: yes" >&5
2194
echo "${ECHO_T}yes" >&6
2196
rm -f a.out a.exe conftest$ac_cv_exeext
2197
ac_clean_files=$ac_clean_files_save
2198
# Check the compiler produces executables we can run. If not, either
2199
# the compiler is broken, or we cross compile.
2200
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2201
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2202
echo "$as_me:$LINENO: result: $cross_compiling" >&5
2203
echo "${ECHO_T}$cross_compiling" >&6
2205
echo "$as_me:$LINENO: checking for suffix of executables" >&5
2206
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2207
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2208
(eval $ac_link) 2>&5
2210
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2211
(exit $ac_status); }; then
2212
# If both `conftest.exe' and `conftest' are `present' (well, observable)
2213
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2214
# work properly (i.e., refer to `conftest.exe'), while it won't with
2216
for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
2218
*.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
2219
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2226
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
2227
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
2228
{ (exit 1); exit 1; }; }
2231
rm -f conftest$ac_cv_exeext
2232
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2233
echo "${ECHO_T}$ac_cv_exeext" >&6
2235
rm -f conftest.$ac_ext
2236
EXEEXT=$ac_cv_exeext
2238
echo "$as_me:$LINENO: checking for suffix of object files" >&5
2239
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2240
if test "${ac_cv_objext+set}" = set; then
2241
echo $ECHO_N "(cached) $ECHO_C" >&6
2243
cat >conftest.$ac_ext <<_ACEOF
2244
#line $LINENO "configure"
2245
#include "confdefs.h"
2247
#ifdef F77_DUMMY_MAIN
2251
int F77_DUMMY_MAIN() { return 1; }
2261
rm -f conftest.o conftest.obj
2262
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2263
(eval $ac_compile) 2>&5
2265
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2266
(exit $ac_status); }; then
2267
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2269
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
2270
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2275
echo "$as_me: failed program was:" >&5
2276
cat conftest.$ac_ext >&5
2277
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
2278
echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
2279
{ (exit 1); exit 1; }; }
2282
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2284
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2285
echo "${ECHO_T}$ac_cv_objext" >&6
2286
OBJEXT=$ac_cv_objext
2288
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2289
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2290
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2291
echo $ECHO_N "(cached) $ECHO_C" >&6
2293
cat >conftest.$ac_ext <<_ACEOF
2294
#line $LINENO "configure"
2295
#include "confdefs.h"
2297
#ifdef F77_DUMMY_MAIN
2301
int F77_DUMMY_MAIN() { return 1; }
2314
rm -f conftest.$ac_objext
2315
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2316
(eval $ac_compile) 2>&5
2318
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2319
(exit $ac_status); } &&
2320
{ ac_try='test -s conftest.$ac_objext'
2321
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2324
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2325
(exit $ac_status); }; }; then
2328
echo "$as_me: failed program was:" >&5
2329
cat conftest.$ac_ext >&5
2332
rm -f conftest.$ac_objext conftest.$ac_ext
2333
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2336
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2337
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2338
GCC=`test $ac_compiler_gnu = yes && echo yes`
2339
ac_test_CFLAGS=${CFLAGS+set}
2340
ac_save_CFLAGS=$CFLAGS
2342
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2343
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2344
if test "${ac_cv_prog_cc_g+set}" = set; then
2345
echo $ECHO_N "(cached) $ECHO_C" >&6
2347
cat >conftest.$ac_ext <<_ACEOF
2348
#line $LINENO "configure"
2349
#include "confdefs.h"
2351
#ifdef F77_DUMMY_MAIN
2355
int F77_DUMMY_MAIN() { return 1; }
2365
rm -f conftest.$ac_objext
2366
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2367
(eval $ac_compile) 2>&5
2369
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2370
(exit $ac_status); } &&
2371
{ ac_try='test -s conftest.$ac_objext'
2372
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2375
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2376
(exit $ac_status); }; }; then
2379
echo "$as_me: failed program was:" >&5
2380
cat conftest.$ac_ext >&5
2383
rm -f conftest.$ac_objext conftest.$ac_ext
2385
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2386
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2387
if test "$ac_test_CFLAGS" = set; then
2388
CFLAGS=$ac_save_CFLAGS
2389
elif test $ac_cv_prog_cc_g = yes; then
2390
if test "$GCC" = yes; then
2396
if test "$GCC" = yes; then
2402
# Some people use a C++ compiler to compile C. Since we use `exit',
2403
# in C++ we need to declare it. In case someone uses the same compiler
2404
# for both compiling C and C++ we need to have the C++ compiler decide
2405
# the declaration of exit, since it's the most demanding environment.
2406
cat >conftest.$ac_ext <<_ACEOF
2411
rm -f conftest.$ac_objext
2412
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2413
(eval $ac_compile) 2>&5
2415
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2416
(exit $ac_status); } &&
2417
{ ac_try='test -s conftest.$ac_objext'
2418
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2421
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2422
(exit $ac_status); }; }; then
2423
for ac_declaration in \
2425
'#include <stdlib.h>' \
2426
'extern "C" void std::exit (int) throw (); using std::exit;' \
2427
'extern "C" void std::exit (int); using std::exit;' \
2428
'extern "C" void exit (int) throw ();' \
2429
'extern "C" void exit (int);' \
2432
cat >conftest.$ac_ext <<_ACEOF
2433
#line $LINENO "configure"
2434
#include "confdefs.h"
2437
#ifdef F77_DUMMY_MAIN
2441
int F77_DUMMY_MAIN() { return 1; }
2451
rm -f conftest.$ac_objext
2452
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2453
(eval $ac_compile) 2>&5
2455
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2456
(exit $ac_status); } &&
2457
{ ac_try='test -s conftest.$ac_objext'
2458
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2461
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2462
(exit $ac_status); }; }; then
2465
echo "$as_me: failed program was:" >&5
2466
cat conftest.$ac_ext >&5
2469
rm -f conftest.$ac_objext conftest.$ac_ext
2470
cat >conftest.$ac_ext <<_ACEOF
2471
#line $LINENO "configure"
2472
#include "confdefs.h"
2474
#ifdef F77_DUMMY_MAIN
2478
int F77_DUMMY_MAIN() { return 1; }
2488
rm -f conftest.$ac_objext
2489
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2490
(eval $ac_compile) 2>&5
2492
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2493
(exit $ac_status); } &&
2494
{ ac_try='test -s conftest.$ac_objext'
2495
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2498
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2499
(exit $ac_status); }; }; then
2502
echo "$as_me: failed program was:" >&5
2503
cat conftest.$ac_ext >&5
2505
rm -f conftest.$ac_objext conftest.$ac_ext
2508
if test -n "$ac_declaration"; then
2509
echo '#ifdef __cplusplus' >>confdefs.h
2510
echo $ac_declaration >>confdefs.h
2511
echo '#endif' >>confdefs.h
2515
echo "$as_me: failed program was:" >&5
2516
cat conftest.$ac_ext >&5
2518
rm -f conftest.$ac_objext conftest.$ac_ext
2520
ac_cpp='$CPP $CPPFLAGS'
2521
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2522
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2523
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2527
ac_cpp='$CPP $CPPFLAGS'
2528
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2529
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2530
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2531
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2532
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2533
# On Suns, sometimes $CPP names a directory.
2534
if test -n "$CPP" && test -d "$CPP"; then
2537
if test -z "$CPP"; then
2538
if test "${ac_cv_prog_CPP+set}" = set; then
2539
echo $ECHO_N "(cached) $ECHO_C" >&6
2541
# Double quotes because CPP needs to be expanded
2542
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2545
for ac_c_preproc_warn_flag in '' yes
2547
# Use a header file that comes with gcc, so configuring glibc
2548
# with a fresh cross-compiler works.
2549
# On the NeXT, cc -E runs the code through the compiler's parser,
2550
# not just through cpp. "Syntax error" is here to catch this case.
2551
cat >conftest.$ac_ext <<_ACEOF
2552
#line $LINENO "configure"
2553
#include "confdefs.h"
2557
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2558
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2560
egrep -v '^ *\+' conftest.er1 >conftest.err
2562
cat conftest.err >&5
2563
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2564
(exit $ac_status); } >/dev/null; then
2565
if test -s conftest.err; then
2566
ac_cpp_err=$ac_c_preproc_warn_flag
2573
if test -z "$ac_cpp_err"; then
2576
echo "$as_me: failed program was:" >&5
2577
cat conftest.$ac_ext >&5
2578
# Broken: fails on valid input.
2581
rm -f conftest.err conftest.$ac_ext
2583
# OK, works on sane cases. Now check whether non-existent headers
2584
# can be detected and how.
2585
cat >conftest.$ac_ext <<_ACEOF
2586
#line $LINENO "configure"
2587
#include "confdefs.h"
2588
#include <ac_nonexistent.h>
2590
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2591
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2593
egrep -v '^ *\+' conftest.er1 >conftest.err
2595
cat conftest.err >&5
2596
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2597
(exit $ac_status); } >/dev/null; then
2598
if test -s conftest.err; then
2599
ac_cpp_err=$ac_c_preproc_warn_flag
2606
if test -z "$ac_cpp_err"; then
2607
# Broken: success on invalid input.
2610
echo "$as_me: failed program was:" >&5
2611
cat conftest.$ac_ext >&5
2612
# Passes both tests.
2616
rm -f conftest.err conftest.$ac_ext
2619
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2620
rm -f conftest.err conftest.$ac_ext
2621
if $ac_preproc_ok; then
2633
echo "$as_me:$LINENO: result: $CPP" >&5
2634
echo "${ECHO_T}$CPP" >&6
2636
for ac_c_preproc_warn_flag in '' yes
2638
# Use a header file that comes with gcc, so configuring glibc
2639
# with a fresh cross-compiler works.
2640
# On the NeXT, cc -E runs the code through the compiler's parser,
2641
# not just through cpp. "Syntax error" is here to catch this case.
2642
cat >conftest.$ac_ext <<_ACEOF
2643
#line $LINENO "configure"
2644
#include "confdefs.h"
2648
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2649
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2651
egrep -v '^ *\+' conftest.er1 >conftest.err
2653
cat conftest.err >&5
2654
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2655
(exit $ac_status); } >/dev/null; then
2656
if test -s conftest.err; then
2657
ac_cpp_err=$ac_c_preproc_warn_flag
2664
if test -z "$ac_cpp_err"; then
2667
echo "$as_me: failed program was:" >&5
2668
cat conftest.$ac_ext >&5
2669
# Broken: fails on valid input.
2672
rm -f conftest.err conftest.$ac_ext
2674
# OK, works on sane cases. Now check whether non-existent headers
2675
# can be detected and how.
2676
cat >conftest.$ac_ext <<_ACEOF
2677
#line $LINENO "configure"
2678
#include "confdefs.h"
2679
#include <ac_nonexistent.h>
2681
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2682
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2684
egrep -v '^ *\+' conftest.er1 >conftest.err
2686
cat conftest.err >&5
2687
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2688
(exit $ac_status); } >/dev/null; then
2689
if test -s conftest.err; then
2690
ac_cpp_err=$ac_c_preproc_warn_flag
2697
if test -z "$ac_cpp_err"; then
2698
# Broken: success on invalid input.
2701
echo "$as_me: failed program was:" >&5
2702
cat conftest.$ac_ext >&5
2703
# Passes both tests.
2707
rm -f conftest.err conftest.$ac_ext
2710
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2711
rm -f conftest.err conftest.$ac_ext
2712
if $ac_preproc_ok; then
2715
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
2716
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2717
{ (exit 1); exit 1; }; }
2721
ac_cpp='$CPP $CPPFLAGS'
2722
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2723
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2724
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2727
if test "$GCC" = "yes"; then
2728
if test "$kde_use_debug_code" != "no"; then
2729
if test $kde_use_debug_code = "full"; then
2730
CFLAGS="-g3 $CFLAGS"
2732
CFLAGS="-g -O2 $CFLAGS"
2735
CFLAGS="-O2 $CFLAGS"
2739
if test "$kde_use_debug_define" = "yes"; then
2740
CFLAGS="-DNDEBUG $CFLAGS"
2745
*-*-sysv4.2uw*) CFLAGS="-D_UNIXWARE $CFLAGS";;
2746
*-*-sysv5uw7*) CFLAGS="-D_UNIXWARE7 $CFLAGS";;
2749
if test -z "$LDFLAGS" && test "$kde_use_debug_code" = "no" && test "$GCC" = "yes"; then
2753
CXXFLAGS=" $CXXFLAGS"
2756
ac_cpp='$CXXCPP $CPPFLAGS'
2757
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2758
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2759
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2760
if test -n "$ac_tool_prefix"; then
2761
for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2763
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2764
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2765
echo "$as_me:$LINENO: checking for $ac_word" >&5
2766
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2767
if test "${ac_cv_prog_CXX+set}" = set; then
2768
echo $ECHO_N "(cached) $ECHO_C" >&6
2770
if test -n "$CXX"; then
2771
ac_cv_prog_CXX="$CXX" # Let the user override the test.
2773
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2777
test -z "$as_dir" && as_dir=.
2778
for ac_exec_ext in '' $ac_executable_extensions; do
2779
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2780
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2781
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2790
if test -n "$CXX"; then
2791
echo "$as_me:$LINENO: result: $CXX" >&5
2792
echo "${ECHO_T}$CXX" >&6
2794
echo "$as_me:$LINENO: result: no" >&5
2795
echo "${ECHO_T}no" >&6
2798
test -n "$CXX" && break
2801
if test -z "$CXX"; then
2803
for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2805
# Extract the first word of "$ac_prog", so it can be a program name with args.
2806
set dummy $ac_prog; ac_word=$2
2807
echo "$as_me:$LINENO: checking for $ac_word" >&5
2808
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2809
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2810
echo $ECHO_N "(cached) $ECHO_C" >&6
2812
if test -n "$ac_ct_CXX"; then
2813
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2815
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2819
test -z "$as_dir" && as_dir=.
2820
for ac_exec_ext in '' $ac_executable_extensions; do
2821
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2822
ac_cv_prog_ac_ct_CXX="$ac_prog"
2823
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2831
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2832
if test -n "$ac_ct_CXX"; then
2833
echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2834
echo "${ECHO_T}$ac_ct_CXX" >&6
2836
echo "$as_me:$LINENO: result: no" >&5
2837
echo "${ECHO_T}no" >&6
2840
test -n "$ac_ct_CXX" && break
2842
test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2848
# Provide some information about the compiler.
2849
echo "$as_me:$LINENO:" \
2850
"checking for C++ compiler version" >&5
2851
ac_compiler=`set X $ac_compile; echo $2`
2852
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2853
(eval $ac_compiler --version </dev/null >&5) 2>&5
2855
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2856
(exit $ac_status); }
2857
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2858
(eval $ac_compiler -v </dev/null >&5) 2>&5
2860
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2861
(exit $ac_status); }
2862
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2863
(eval $ac_compiler -V </dev/null >&5) 2>&5
2865
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2866
(exit $ac_status); }
2868
echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2869
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2870
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2871
echo $ECHO_N "(cached) $ECHO_C" >&6
2873
cat >conftest.$ac_ext <<_ACEOF
2874
#line $LINENO "configure"
2875
#include "confdefs.h"
2877
#ifdef F77_DUMMY_MAIN
2881
int F77_DUMMY_MAIN() { return 1; }
2894
rm -f conftest.$ac_objext
2895
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2896
(eval $ac_compile) 2>&5
2898
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2899
(exit $ac_status); } &&
2900
{ ac_try='test -s conftest.$ac_objext'
2901
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2904
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2905
(exit $ac_status); }; }; then
2908
echo "$as_me: failed program was:" >&5
2909
cat conftest.$ac_ext >&5
2912
rm -f conftest.$ac_objext conftest.$ac_ext
2913
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2916
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2917
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2918
GXX=`test $ac_compiler_gnu = yes && echo yes`
2919
ac_test_CXXFLAGS=${CXXFLAGS+set}
2920
ac_save_CXXFLAGS=$CXXFLAGS
2922
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2923
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2924
if test "${ac_cv_prog_cxx_g+set}" = set; then
2925
echo $ECHO_N "(cached) $ECHO_C" >&6
2927
cat >conftest.$ac_ext <<_ACEOF
2928
#line $LINENO "configure"
2929
#include "confdefs.h"
2931
#ifdef F77_DUMMY_MAIN
2935
int F77_DUMMY_MAIN() { return 1; }
2945
rm -f conftest.$ac_objext
2946
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2947
(eval $ac_compile) 2>&5
2949
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2950
(exit $ac_status); } &&
2951
{ ac_try='test -s conftest.$ac_objext'
2952
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2955
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2956
(exit $ac_status); }; }; then
2957
ac_cv_prog_cxx_g=yes
2959
echo "$as_me: failed program was:" >&5
2960
cat conftest.$ac_ext >&5
2963
rm -f conftest.$ac_objext conftest.$ac_ext
2965
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2966
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2967
if test "$ac_test_CXXFLAGS" = set; then
2968
CXXFLAGS=$ac_save_CXXFLAGS
2969
elif test $ac_cv_prog_cxx_g = yes; then
2970
if test "$GXX" = yes; then
2976
if test "$GXX" = yes; then
2982
for ac_declaration in \
2984
'#include <stdlib.h>' \
2985
'extern "C" void std::exit (int) throw (); using std::exit;' \
2986
'extern "C" void std::exit (int); using std::exit;' \
2987
'extern "C" void exit (int) throw ();' \
2988
'extern "C" void exit (int);' \
2991
cat >conftest.$ac_ext <<_ACEOF
2992
#line $LINENO "configure"
2993
#include "confdefs.h"
2996
#ifdef F77_DUMMY_MAIN
3000
int F77_DUMMY_MAIN() { return 1; }
3010
rm -f conftest.$ac_objext
3011
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3012
(eval $ac_compile) 2>&5
3014
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3015
(exit $ac_status); } &&
3016
{ ac_try='test -s conftest.$ac_objext'
3017
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3020
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3021
(exit $ac_status); }; }; then
3024
echo "$as_me: failed program was:" >&5
3025
cat conftest.$ac_ext >&5
3028
rm -f conftest.$ac_objext conftest.$ac_ext
3029
cat >conftest.$ac_ext <<_ACEOF
3030
#line $LINENO "configure"
3031
#include "confdefs.h"
3033
#ifdef F77_DUMMY_MAIN
3037
int F77_DUMMY_MAIN() { return 1; }
3047
rm -f conftest.$ac_objext
3048
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3049
(eval $ac_compile) 2>&5
3051
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3052
(exit $ac_status); } &&
3053
{ ac_try='test -s conftest.$ac_objext'
3054
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3057
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3058
(exit $ac_status); }; }; then
3061
echo "$as_me: failed program was:" >&5
3062
cat conftest.$ac_ext >&5
3064
rm -f conftest.$ac_objext conftest.$ac_ext
3067
if test -n "$ac_declaration"; then
3068
echo '#ifdef __cplusplus' >>confdefs.h
3069
echo $ac_declaration >>confdefs.h
3070
echo '#endif' >>confdefs.h
3074
ac_cpp='$CPP $CPPFLAGS'
3075
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3076
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3077
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3080
if test "$GXX" = "yes" || test "$CXX" = "KCC"; then
3081
if test "$kde_use_debug_code" != "no"; then
3082
if test "$CXX" = "KCC"; then
3083
CXXFLAGS="+K0 -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings $CXXFLAGS"
3085
if test "$kde_use_debug_code" = "full"; then
3086
CXXFLAGS="-g3 $CXXFLAGS"
3088
CXXFLAGS="-g -O2 $CXXFLAGS"
3092
echo "$as_me:$LINENO: checking whether $CXX supports -fno-builtin" >&5
3093
echo $ECHO_N "checking whether $CXX supports -fno-builtin... $ECHO_C" >&6
3094
kde_cache=`echo fno-builtin | sed 'y% .=/+-,%____p__%'`
3095
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
3096
echo $ECHO_N "(cached) $ECHO_C" >&6
3103
ac_cpp='$CXXCPP $CPPFLAGS'
3104
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3105
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3106
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3108
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3112
save_CXXFLAGS="$CXXFLAGS"
3113
CXXFLAGS="$CXXFLAGS -fno-builtin"
3114
cat >conftest.$ac_ext <<_ACEOF
3115
#line $LINENO "configure"
3116
#include "confdefs.h"
3118
#ifdef F77_DUMMY_MAIN
3122
int F77_DUMMY_MAIN() { return 1; }
3132
rm -f conftest.$ac_objext conftest$ac_exeext
3133
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3134
(eval $ac_link) 2>&5
3136
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3137
(exit $ac_status); } &&
3138
{ ac_try='test -s conftest$ac_exeext'
3139
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3142
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3143
(exit $ac_status); }; }; then
3144
eval "kde_cv_prog_cxx_$kde_cache=yes"
3146
echo "$as_me: failed program was:" >&5
3147
cat conftest.$ac_ext >&5
3149
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3150
CXXFLAGS="$save_CXXFLAGS"
3152
ac_cpp='$CPP $CPPFLAGS'
3153
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3154
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3155
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3160
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
3161
echo "$as_me:$LINENO: result: yes" >&5
3162
echo "${ECHO_T}yes" >&6
3164
CXXFLAGS="-fno-builtin $CXXFLAGS"
3166
echo "$as_me:$LINENO: result: no" >&5
3167
echo "${ECHO_T}no" >&6
3174
echo "$as_me:$LINENO: checking whether $CXX supports -Woverloaded-virtual" >&5
3175
echo $ECHO_N "checking whether $CXX supports -Woverloaded-virtual... $ECHO_C" >&6
3176
kde_cache=`echo Woverloaded-virtual | sed 'y% .=/+-,%____p__%'`
3177
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
3178
echo $ECHO_N "(cached) $ECHO_C" >&6
3184
ac_cpp='$CXXCPP $CPPFLAGS'
3185
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3186
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3187
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3189
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3192
save_CXXFLAGS="$CXXFLAGS"
3193
CXXFLAGS="$CXXFLAGS -Woverloaded-virtual"
3194
cat >conftest.$ac_ext <<_ACEOF
3195
#line $LINENO "configure"
3196
#include "confdefs.h"
3198
#ifdef F77_DUMMY_MAIN
3202
int F77_DUMMY_MAIN() { return 1; }
3212
rm -f conftest.$ac_objext conftest$ac_exeext
3213
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3214
(eval $ac_link) 2>&5
3216
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3217
(exit $ac_status); } &&
3218
{ ac_try='test -s conftest$ac_exeext'
3219
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3222
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3223
(exit $ac_status); }; }; then
3224
eval "kde_cv_prog_cxx_$kde_cache=yes"
3226
echo "$as_me: failed program was:" >&5
3227
cat conftest.$ac_ext >&5
3229
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3230
CXXFLAGS="$save_CXXFLAGS"
3232
ac_cpp='$CPP $CPPFLAGS'
3233
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3234
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3235
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3240
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
3241
echo "$as_me:$LINENO: result: yes" >&5
3242
echo "${ECHO_T}yes" >&6
3244
WOVERLOADED_VIRTUAL="-Woverloaded-virtual"
3246
echo "$as_me:$LINENO: result: no" >&5
3247
echo "${ECHO_T}no" >&6
3249
WOVERLOADED_VRITUAL=""
3254
if test "$CXX" = "KCC"; then
3255
CXXFLAGS="+K3 $CXXFLAGS"
3257
CXXFLAGS="-O2 $CXXFLAGS"
3262
if test "$kde_use_debug_define" = "yes"; then
3263
CXXFLAGS="-DNDEBUG -DNO_DEBUG $CXXFLAGS"
3266
if test "$kde_use_profiling" = "yes"; then
3268
echo "$as_me:$LINENO: checking whether $CXX supports -pg" >&5
3269
echo $ECHO_N "checking whether $CXX supports -pg... $ECHO_C" >&6
3270
kde_cache=`echo pg | sed 'y% .=/+-,%____p__%'`
3271
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
3272
echo $ECHO_N "(cached) $ECHO_C" >&6
3278
ac_cpp='$CXXCPP $CPPFLAGS'
3279
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3280
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3281
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3283
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3286
save_CXXFLAGS="$CXXFLAGS"
3287
CXXFLAGS="$CXXFLAGS -pg"
3288
cat >conftest.$ac_ext <<_ACEOF
3289
#line $LINENO "configure"
3290
#include "confdefs.h"
3292
#ifdef F77_DUMMY_MAIN
3296
int F77_DUMMY_MAIN() { return 1; }
3306
rm -f conftest.$ac_objext conftest$ac_exeext
3307
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3308
(eval $ac_link) 2>&5
3310
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3311
(exit $ac_status); } &&
3312
{ ac_try='test -s conftest$ac_exeext'
3313
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3316
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3317
(exit $ac_status); }; }; then
3318
eval "kde_cv_prog_cxx_$kde_cache=yes"
3320
echo "$as_me: failed program was:" >&5
3321
cat conftest.$ac_ext >&5
3323
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3324
CXXFLAGS="$save_CXXFLAGS"
3326
ac_cpp='$CPP $CPPFLAGS'
3327
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3328
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3329
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3334
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
3335
echo "$as_me:$LINENO: result: yes" >&5
3336
echo "${ECHO_T}yes" >&6
3339
CFLAGS="-pg $CFLAGS"
3340
CXXFLAGS="-pg $CXXFLAGS"
3343
echo "$as_me:$LINENO: result: no" >&5
3344
echo "${ECHO_T}no" >&6
3351
if test "$kde_use_warnings" = "yes"; then
3352
if test "$GCC" = "yes"; then
3355
CFLAGS="-ansi -W -Wall -pedantic -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE $CFLAGS"
3356
CXXFLAGS="-ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts $CXXFLAGS"
3358
echo "$as_me:$LINENO: checking whether $CXX supports -Wmissing-format-attribute" >&5
3359
echo $ECHO_N "checking whether $CXX supports -Wmissing-format-attribute... $ECHO_C" >&6
3360
kde_cache=`echo Wmissing-format-attribute | sed 'y% .=/+-,%____p__%'`
3361
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
3362
echo $ECHO_N "(cached) $ECHO_C" >&6
3368
ac_cpp='$CXXCPP $CPPFLAGS'
3369
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3370
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3371
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3373
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3376
save_CXXFLAGS="$CXXFLAGS"
3377
CXXFLAGS="$CXXFLAGS -Wmissing-format-attribute"
3378
cat >conftest.$ac_ext <<_ACEOF
3379
#line $LINENO "configure"
3380
#include "confdefs.h"
3382
#ifdef F77_DUMMY_MAIN
3386
int F77_DUMMY_MAIN() { return 1; }
3396
rm -f conftest.$ac_objext conftest$ac_exeext
3397
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3398
(eval $ac_link) 2>&5
3400
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3401
(exit $ac_status); } &&
3402
{ ac_try='test -s conftest$ac_exeext'
3403
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3406
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3407
(exit $ac_status); }; }; then
3408
eval "kde_cv_prog_cxx_$kde_cache=yes"
3410
echo "$as_me: failed program was:" >&5
3411
cat conftest.$ac_ext >&5
3413
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3414
CXXFLAGS="$save_CXXFLAGS"
3416
ac_cpp='$CPP $CPPFLAGS'
3417
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3418
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3419
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3424
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
3425
echo "$as_me:$LINENO: result: yes" >&5
3426
echo "${ECHO_T}yes" >&6
3428
CXXFLAGS="$CXXFLAGS -Wformat-security -Wmissing-format-attribute"; CFLAGS="$CFLAGS -Wformat-security -Wmissing-format-attribute"
3430
echo "$as_me:$LINENO: result: no" >&5
3431
echo "${ECHO_T}no" >&6
3438
CXXFLAGS="-Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings $CXXFLAGS"
3440
echo "$as_me:$LINENO: checking whether $CXX supports -Wundef" >&5
3441
echo $ECHO_N "checking whether $CXX supports -Wundef... $ECHO_C" >&6
3442
kde_cache=`echo Wundef | sed 'y% .=/+-,%____p__%'`
3443
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
3444
echo $ECHO_N "(cached) $ECHO_C" >&6
3450
ac_cpp='$CXXCPP $CPPFLAGS'
3451
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3452
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3453
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3455
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3458
save_CXXFLAGS="$CXXFLAGS"
3459
CXXFLAGS="$CXXFLAGS -Wundef"
3460
cat >conftest.$ac_ext <<_ACEOF
3461
#line $LINENO "configure"
3462
#include "confdefs.h"
3464
#ifdef F77_DUMMY_MAIN
3468
int F77_DUMMY_MAIN() { return 1; }
3478
rm -f conftest.$ac_objext conftest$ac_exeext
3479
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3480
(eval $ac_link) 2>&5
3482
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3483
(exit $ac_status); } &&
3484
{ ac_try='test -s conftest$ac_exeext'
3485
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3488
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3489
(exit $ac_status); }; }; then
3490
eval "kde_cv_prog_cxx_$kde_cache=yes"
3492
echo "$as_me: failed program was:" >&5
3493
cat conftest.$ac_ext >&5
3495
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3496
CXXFLAGS="$save_CXXFLAGS"
3498
ac_cpp='$CPP $CPPFLAGS'
3499
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3500
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3501
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3506
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
3507
echo "$as_me:$LINENO: result: yes" >&5
3508
echo "${ECHO_T}yes" >&6
3510
CXXFLAGS="-Wundef $CXXFLAGS"
3512
echo "$as_me:$LINENO: result: no" >&5
3513
echo "${ECHO_T}no" >&6
3519
echo "$as_me:$LINENO: checking whether $CXX supports -Wno-long-long" >&5
3520
echo $ECHO_N "checking whether $CXX supports -Wno-long-long... $ECHO_C" >&6
3521
kde_cache=`echo Wno-long-long | sed 'y% .=/+-,%____p__%'`
3522
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
3523
echo $ECHO_N "(cached) $ECHO_C" >&6
3529
ac_cpp='$CXXCPP $CPPFLAGS'
3530
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3531
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3532
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3534
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3537
save_CXXFLAGS="$CXXFLAGS"
3538
CXXFLAGS="$CXXFLAGS -Wno-long-long"
3539
cat >conftest.$ac_ext <<_ACEOF
3540
#line $LINENO "configure"
3541
#include "confdefs.h"
3543
#ifdef F77_DUMMY_MAIN
3547
int F77_DUMMY_MAIN() { return 1; }
3557
rm -f conftest.$ac_objext conftest$ac_exeext
3558
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3559
(eval $ac_link) 2>&5
3561
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3562
(exit $ac_status); } &&
3563
{ ac_try='test -s conftest$ac_exeext'
3564
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3567
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3568
(exit $ac_status); }; }; then
3569
eval "kde_cv_prog_cxx_$kde_cache=yes"
3571
echo "$as_me: failed program was:" >&5
3572
cat conftest.$ac_ext >&5
3574
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3575
CXXFLAGS="$save_CXXFLAGS"
3577
ac_cpp='$CPP $CPPFLAGS'
3578
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3579
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3580
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3585
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
3586
echo "$as_me:$LINENO: result: yes" >&5
3587
echo "${ECHO_T}yes" >&6
3589
CXXFLAGS="-Wno-long-long $CXXFLAGS"
3591
echo "$as_me:$LINENO: result: no" >&5
3592
echo "${ECHO_T}no" >&6
3598
echo "$as_me:$LINENO: checking whether $CXX supports -Wnon-virtual-dtor" >&5
3599
echo $ECHO_N "checking whether $CXX supports -Wnon-virtual-dtor... $ECHO_C" >&6
3600
kde_cache=`echo Wnon-virtual-dtor | sed 'y% .=/+-,%____p__%'`
3601
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
3602
echo $ECHO_N "(cached) $ECHO_C" >&6
3608
ac_cpp='$CXXCPP $CPPFLAGS'
3609
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3610
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3611
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3613
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3616
save_CXXFLAGS="$CXXFLAGS"
3617
CXXFLAGS="$CXXFLAGS -Wnon-virtual-dtor"
3618
cat >conftest.$ac_ext <<_ACEOF
3619
#line $LINENO "configure"
3620
#include "confdefs.h"
3622
#ifdef F77_DUMMY_MAIN
3626
int F77_DUMMY_MAIN() { return 1; }
3636
rm -f conftest.$ac_objext conftest$ac_exeext
3637
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3638
(eval $ac_link) 2>&5
3640
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3641
(exit $ac_status); } &&
3642
{ ac_try='test -s conftest$ac_exeext'
3643
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3646
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3647
(exit $ac_status); }; }; then
3648
eval "kde_cv_prog_cxx_$kde_cache=yes"
3650
echo "$as_me: failed program was:" >&5
3651
cat conftest.$ac_ext >&5
3653
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3654
CXXFLAGS="$save_CXXFLAGS"
3656
ac_cpp='$CPP $CPPFLAGS'
3657
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3658
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3659
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3664
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
3665
echo "$as_me:$LINENO: result: yes" >&5
3666
echo "${ECHO_T}yes" >&6
3668
CXXFLAGS="-Wnon-virtual-dtor $CXXFLAGS"
3670
echo "$as_me:$LINENO: result: no" >&5
3671
echo "${ECHO_T}no" >&6
3679
if test "$GXX" = "yes" && test "$kde_use_strict_options" = "yes"; then
3680
CXXFLAGS="-Wcast-qual -Wshadow -Wcast-align $CXXFLAGS"
3683
if test "$GXX" = "yes"; then
3685
echo "$as_me:$LINENO: checking whether $CXX supports -fno-exceptions" >&5
3686
echo $ECHO_N "checking whether $CXX supports -fno-exceptions... $ECHO_C" >&6
3687
kde_cache=`echo fno-exceptions | sed 'y% .=/+-,%____p__%'`
3688
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
3689
echo $ECHO_N "(cached) $ECHO_C" >&6
3695
ac_cpp='$CXXCPP $CPPFLAGS'
3696
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3697
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3698
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3700
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3703
save_CXXFLAGS="$CXXFLAGS"
3704
CXXFLAGS="$CXXFLAGS -fno-exceptions"
3705
cat >conftest.$ac_ext <<_ACEOF
3706
#line $LINENO "configure"
3707
#include "confdefs.h"
3709
#ifdef F77_DUMMY_MAIN
3713
int F77_DUMMY_MAIN() { return 1; }
3723
rm -f conftest.$ac_objext conftest$ac_exeext
3724
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3725
(eval $ac_link) 2>&5
3727
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3728
(exit $ac_status); } &&
3729
{ ac_try='test -s conftest$ac_exeext'
3730
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3733
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3734
(exit $ac_status); }; }; then
3735
eval "kde_cv_prog_cxx_$kde_cache=yes"
3737
echo "$as_me: failed program was:" >&5
3738
cat conftest.$ac_ext >&5
3740
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3741
CXXFLAGS="$save_CXXFLAGS"
3743
ac_cpp='$CPP $CPPFLAGS'
3744
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3745
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3746
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3751
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
3752
echo "$as_me:$LINENO: result: yes" >&5
3753
echo "${ECHO_T}yes" >&6
3755
CXXFLAGS="$CXXFLAGS -fno-exceptions"
3757
echo "$as_me:$LINENO: result: no" >&5
3758
echo "${ECHO_T}no" >&6
3764
echo "$as_me:$LINENO: checking whether $CXX supports -fno-check-new" >&5
3765
echo $ECHO_N "checking whether $CXX supports -fno-check-new... $ECHO_C" >&6
3766
kde_cache=`echo fno-check-new | sed 'y% .=/+-,%____p__%'`
3767
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
3768
echo $ECHO_N "(cached) $ECHO_C" >&6
3774
ac_cpp='$CXXCPP $CPPFLAGS'
3775
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3776
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3777
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3779
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3782
save_CXXFLAGS="$CXXFLAGS"
3783
CXXFLAGS="$CXXFLAGS -fno-check-new"
3784
cat >conftest.$ac_ext <<_ACEOF
3785
#line $LINENO "configure"
3786
#include "confdefs.h"
3788
#ifdef F77_DUMMY_MAIN
3792
int F77_DUMMY_MAIN() { return 1; }
3802
rm -f conftest.$ac_objext conftest$ac_exeext
3803
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3804
(eval $ac_link) 2>&5
3806
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3807
(exit $ac_status); } &&
3808
{ ac_try='test -s conftest$ac_exeext'
3809
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3812
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3813
(exit $ac_status); }; }; then
3814
eval "kde_cv_prog_cxx_$kde_cache=yes"
3816
echo "$as_me: failed program was:" >&5
3817
cat conftest.$ac_ext >&5
3819
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3820
CXXFLAGS="$save_CXXFLAGS"
3822
ac_cpp='$CPP $CPPFLAGS'
3823
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3824
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3825
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3830
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
3831
echo "$as_me:$LINENO: result: yes" >&5
3832
echo "${ECHO_T}yes" >&6
3834
CXXFLAGS="$CXXFLAGS -fno-check-new"
3836
echo "$as_me:$LINENO: result: no" >&5
3837
echo "${ECHO_T}no" >&6
3843
echo "$as_me:$LINENO: checking whether $CXX supports -fno-common" >&5
3844
echo $ECHO_N "checking whether $CXX supports -fno-common... $ECHO_C" >&6
3845
kde_cache=`echo fno-common | sed 'y% .=/+-,%____p__%'`
3846
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
3847
echo $ECHO_N "(cached) $ECHO_C" >&6
3853
ac_cpp='$CXXCPP $CPPFLAGS'
3854
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3855
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3856
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3858
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3861
save_CXXFLAGS="$CXXFLAGS"
3862
CXXFLAGS="$CXXFLAGS -fno-common"
3863
cat >conftest.$ac_ext <<_ACEOF
3864
#line $LINENO "configure"
3865
#include "confdefs.h"
3867
#ifdef F77_DUMMY_MAIN
3871
int F77_DUMMY_MAIN() { return 1; }
3881
rm -f conftest.$ac_objext conftest$ac_exeext
3882
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3883
(eval $ac_link) 2>&5
3885
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3886
(exit $ac_status); } &&
3887
{ ac_try='test -s conftest$ac_exeext'
3888
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3891
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3892
(exit $ac_status); }; }; then
3893
eval "kde_cv_prog_cxx_$kde_cache=yes"
3895
echo "$as_me: failed program was:" >&5
3896
cat conftest.$ac_ext >&5
3898
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3899
CXXFLAGS="$save_CXXFLAGS"
3901
ac_cpp='$CPP $CPPFLAGS'
3902
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3903
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3904
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3909
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
3910
echo "$as_me:$LINENO: result: yes" >&5
3911
echo "${ECHO_T}yes" >&6
3913
CXXFLAGS="$CXXFLAGS -fno-common"
3915
echo "$as_me:$LINENO: result: no" >&5
3916
echo "${ECHO_T}no" >&6
3922
echo "$as_me:$LINENO: checking whether $CXX supports -fexceptions" >&5
3923
echo $ECHO_N "checking whether $CXX supports -fexceptions... $ECHO_C" >&6
3924
kde_cache=`echo fexceptions | sed 'y% .=/+-,%____p__%'`
3925
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
3926
echo $ECHO_N "(cached) $ECHO_C" >&6
3932
ac_cpp='$CXXCPP $CPPFLAGS'
3933
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3934
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3935
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3937
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3940
save_CXXFLAGS="$CXXFLAGS"
3941
CXXFLAGS="$CXXFLAGS -fexceptions"
3942
cat >conftest.$ac_ext <<_ACEOF
3943
#line $LINENO "configure"
3944
#include "confdefs.h"
3946
#ifdef F77_DUMMY_MAIN
3950
int F77_DUMMY_MAIN() { return 1; }
3960
rm -f conftest.$ac_objext conftest$ac_exeext
3961
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3962
(eval $ac_link) 2>&5
3964
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3965
(exit $ac_status); } &&
3966
{ ac_try='test -s conftest$ac_exeext'
3967
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3970
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3971
(exit $ac_status); }; }; then
3972
eval "kde_cv_prog_cxx_$kde_cache=yes"
3974
echo "$as_me: failed program was:" >&5
3975
cat conftest.$ac_ext >&5
3977
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3978
CXXFLAGS="$save_CXXFLAGS"
3980
ac_cpp='$CPP $CPPFLAGS'
3981
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3982
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3983
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3988
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
3989
echo "$as_me:$LINENO: result: yes" >&5
3990
echo "${ECHO_T}yes" >&6
3992
USE_EXCEPTIONS="-fexceptions"
3994
echo "$as_me:$LINENO: result: no" >&5
3995
echo "${ECHO_T}no" >&6
4001
if test "$CXX" = "KCC"; then
4003
# Check whether --enable-pch or --disable-pch was given.
4004
if test "${enable_pch+set}" = set; then
4005
enableval="$enable_pch"
4007
kde_use_pch=$enableval
4013
if test "$kde_use_pch" = "yes"; then
4015
echo "$as_me:$LINENO: checking whether $CXX supports --pch" >&5
4016
echo $ECHO_N "checking whether $CXX supports --pch... $ECHO_C" >&6
4017
kde_cache=`echo -pch | sed 'y% .=/+-,%____p__%'`
4018
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
4019
echo $ECHO_N "(cached) $ECHO_C" >&6
4025
ac_cpp='$CXXCPP $CPPFLAGS'
4026
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4027
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4028
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4030
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4033
save_CXXFLAGS="$CXXFLAGS"
4034
CXXFLAGS="$CXXFLAGS --pch"
4035
cat >conftest.$ac_ext <<_ACEOF
4036
#line $LINENO "configure"
4037
#include "confdefs.h"
4039
#ifdef F77_DUMMY_MAIN
4043
int F77_DUMMY_MAIN() { return 1; }
4053
rm -f conftest.$ac_objext conftest$ac_exeext
4054
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4055
(eval $ac_link) 2>&5
4057
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4058
(exit $ac_status); } &&
4059
{ ac_try='test -s conftest$ac_exeext'
4060
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4063
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4064
(exit $ac_status); }; }; then
4065
eval "kde_cv_prog_cxx_$kde_cache=yes"
4067
echo "$as_me: failed program was:" >&5
4068
cat conftest.$ac_ext >&5
4070
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4071
CXXFLAGS="$save_CXXFLAGS"
4073
ac_cpp='$CPP $CPPFLAGS'
4074
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4075
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4076
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4081
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
4082
echo "$as_me:$LINENO: result: yes" >&5
4083
echo "${ECHO_T}yes" >&6
4085
CXXFLAGS="$CXXFLAGS --pch"
4087
echo "$as_me:$LINENO: result: no" >&5
4088
echo "${ECHO_T}no" >&6
4095
echo "$as_me:$LINENO: checking whether $CXX supports --inline_keyword_space_time=6" >&5
4096
echo $ECHO_N "checking whether $CXX supports --inline_keyword_space_time=6... $ECHO_C" >&6
4097
kde_cache=`echo -inline_keyword_space_time=6 | sed 'y% .=/+-,%____p__%'`
4098
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
4099
echo $ECHO_N "(cached) $ECHO_C" >&6
4105
ac_cpp='$CXXCPP $CPPFLAGS'
4106
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4107
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4108
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4110
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4113
save_CXXFLAGS="$CXXFLAGS"
4114
CXXFLAGS="$CXXFLAGS --inline_keyword_space_time=6"
4115
cat >conftest.$ac_ext <<_ACEOF
4116
#line $LINENO "configure"
4117
#include "confdefs.h"
4119
#ifdef F77_DUMMY_MAIN
4123
int F77_DUMMY_MAIN() { return 1; }
4133
rm -f conftest.$ac_objext conftest$ac_exeext
4134
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4135
(eval $ac_link) 2>&5
4137
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4138
(exit $ac_status); } &&
4139
{ ac_try='test -s conftest$ac_exeext'
4140
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4143
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4144
(exit $ac_status); }; }; then
4145
eval "kde_cv_prog_cxx_$kde_cache=yes"
4147
echo "$as_me: failed program was:" >&5
4148
cat conftest.$ac_ext >&5
4150
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4151
CXXFLAGS="$save_CXXFLAGS"
4153
ac_cpp='$CPP $CPPFLAGS'
4154
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4155
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4156
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4161
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
4162
echo "$as_me:$LINENO: result: yes" >&5
4163
echo "${ECHO_T}yes" >&6
4165
CXXFLAGS="$CXXFLAGS --inline_keyword_space_time=6"
4167
echo "$as_me:$LINENO: result: no" >&5
4168
echo "${ECHO_T}no" >&6
4174
echo "$as_me:$LINENO: checking whether $CXX supports --inline_auto_space_time=2" >&5
4175
echo $ECHO_N "checking whether $CXX supports --inline_auto_space_time=2... $ECHO_C" >&6
4176
kde_cache=`echo -inline_auto_space_time=2 | sed 'y% .=/+-,%____p__%'`
4177
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
4178
echo $ECHO_N "(cached) $ECHO_C" >&6
4184
ac_cpp='$CXXCPP $CPPFLAGS'
4185
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4186
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4187
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4189
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4192
save_CXXFLAGS="$CXXFLAGS"
4193
CXXFLAGS="$CXXFLAGS --inline_auto_space_time=2"
4194
cat >conftest.$ac_ext <<_ACEOF
4195
#line $LINENO "configure"
4196
#include "confdefs.h"
4198
#ifdef F77_DUMMY_MAIN
4202
int F77_DUMMY_MAIN() { return 1; }
4212
rm -f conftest.$ac_objext conftest$ac_exeext
4213
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4214
(eval $ac_link) 2>&5
4216
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4217
(exit $ac_status); } &&
4218
{ ac_try='test -s conftest$ac_exeext'
4219
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4222
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4223
(exit $ac_status); }; }; then
4224
eval "kde_cv_prog_cxx_$kde_cache=yes"
4226
echo "$as_me: failed program was:" >&5
4227
cat conftest.$ac_ext >&5
4229
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4230
CXXFLAGS="$save_CXXFLAGS"
4232
ac_cpp='$CPP $CPPFLAGS'
4233
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4234
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4235
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4240
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
4241
echo "$as_me:$LINENO: result: yes" >&5
4242
echo "${ECHO_T}yes" >&6
4244
CXXFLAGS="$CXXFLAGS --inline_auto_space_time=2"
4246
echo "$as_me:$LINENO: result: no" >&5
4247
echo "${ECHO_T}no" >&6
4253
echo "$as_me:$LINENO: checking whether $CXX supports --inline_implicit_space_time=2.0" >&5
4254
echo $ECHO_N "checking whether $CXX supports --inline_implicit_space_time=2.0... $ECHO_C" >&6
4255
kde_cache=`echo -inline_implicit_space_time=2.0 | sed 'y% .=/+-,%____p__%'`
4256
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
4257
echo $ECHO_N "(cached) $ECHO_C" >&6
4263
ac_cpp='$CXXCPP $CPPFLAGS'
4264
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4265
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4266
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4268
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4271
save_CXXFLAGS="$CXXFLAGS"
4272
CXXFLAGS="$CXXFLAGS --inline_implicit_space_time=2.0"
4273
cat >conftest.$ac_ext <<_ACEOF
4274
#line $LINENO "configure"
4275
#include "confdefs.h"
4277
#ifdef F77_DUMMY_MAIN
4281
int F77_DUMMY_MAIN() { return 1; }
4291
rm -f conftest.$ac_objext conftest$ac_exeext
4292
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4293
(eval $ac_link) 2>&5
4295
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4296
(exit $ac_status); } &&
4297
{ ac_try='test -s conftest$ac_exeext'
4298
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4301
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4302
(exit $ac_status); }; }; then
4303
eval "kde_cv_prog_cxx_$kde_cache=yes"
4305
echo "$as_me: failed program was:" >&5
4306
cat conftest.$ac_ext >&5
4308
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4309
CXXFLAGS="$save_CXXFLAGS"
4311
ac_cpp='$CPP $CPPFLAGS'
4312
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4313
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4314
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4319
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
4320
echo "$as_me:$LINENO: result: yes" >&5
4321
echo "${ECHO_T}yes" >&6
4323
CXXFLAGS="$CXXFLAGS --inline_implicit_space_time=2.0"
4325
echo "$as_me:$LINENO: result: no" >&5
4326
echo "${ECHO_T}no" >&6
4332
echo "$as_me:$LINENO: checking whether $CXX supports --inline_generated_space_time=2.0" >&5
4333
echo $ECHO_N "checking whether $CXX supports --inline_generated_space_time=2.0... $ECHO_C" >&6
4334
kde_cache=`echo -inline_generated_space_time=2.0 | sed 'y% .=/+-,%____p__%'`
4335
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
4336
echo $ECHO_N "(cached) $ECHO_C" >&6
4342
ac_cpp='$CXXCPP $CPPFLAGS'
4343
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4344
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4345
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4347
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4350
save_CXXFLAGS="$CXXFLAGS"
4351
CXXFLAGS="$CXXFLAGS --inline_generated_space_time=2.0"
4352
cat >conftest.$ac_ext <<_ACEOF
4353
#line $LINENO "configure"
4354
#include "confdefs.h"
4356
#ifdef F77_DUMMY_MAIN
4360
int F77_DUMMY_MAIN() { return 1; }
4370
rm -f conftest.$ac_objext conftest$ac_exeext
4371
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4372
(eval $ac_link) 2>&5
4374
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4375
(exit $ac_status); } &&
4376
{ ac_try='test -s conftest$ac_exeext'
4377
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4380
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4381
(exit $ac_status); }; }; then
4382
eval "kde_cv_prog_cxx_$kde_cache=yes"
4384
echo "$as_me: failed program was:" >&5
4385
cat conftest.$ac_ext >&5
4387
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4388
CXXFLAGS="$save_CXXFLAGS"
4390
ac_cpp='$CPP $CPPFLAGS'
4391
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4392
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4393
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4398
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
4399
echo "$as_me:$LINENO: result: yes" >&5
4400
echo "${ECHO_T}yes" >&6
4402
CXXFLAGS="$CXXFLAGS --inline_generated_space_time=2.0"
4404
echo "$as_me:$LINENO: result: no" >&5
4405
echo "${ECHO_T}no" >&6
4411
echo "$as_me:$LINENO: checking whether $CXX supports --one_per" >&5
4412
echo $ECHO_N "checking whether $CXX supports --one_per... $ECHO_C" >&6
4413
kde_cache=`echo -one_per | sed 'y% .=/+-,%____p__%'`
4414
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
4415
echo $ECHO_N "(cached) $ECHO_C" >&6
4421
ac_cpp='$CXXCPP $CPPFLAGS'
4422
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4423
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4424
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4426
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4429
save_CXXFLAGS="$CXXFLAGS"
4430
CXXFLAGS="$CXXFLAGS --one_per"
4431
cat >conftest.$ac_ext <<_ACEOF
4432
#line $LINENO "configure"
4433
#include "confdefs.h"
4435
#ifdef F77_DUMMY_MAIN
4439
int F77_DUMMY_MAIN() { return 1; }
4449
rm -f conftest.$ac_objext conftest$ac_exeext
4450
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4451
(eval $ac_link) 2>&5
4453
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4454
(exit $ac_status); } &&
4455
{ ac_try='test -s conftest$ac_exeext'
4456
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4459
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4460
(exit $ac_status); }; }; then
4461
eval "kde_cv_prog_cxx_$kde_cache=yes"
4463
echo "$as_me: failed program was:" >&5
4464
cat conftest.$ac_ext >&5
4466
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4467
CXXFLAGS="$save_CXXFLAGS"
4469
ac_cpp='$CPP $CPPFLAGS'
4470
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4471
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4472
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4477
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
4478
echo "$as_me:$LINENO: result: yes" >&5
4479
echo "${ECHO_T}yes" >&6
4481
CXXFLAGS="$CXXFLAGS --one_per"
4483
echo "$as_me:$LINENO: result: no" >&5
4484
echo "${ECHO_T}no" >&6
4495
*-*-irix*) test "$GXX" = yes && CXXFLAGS="-D_LANGUAGE_C_PLUS_PLUS -D__LANGUAGE_C_PLUS_PLUS $CXXFLAGS" ;;
4496
*-*-sysv4.2uw*) CXXFLAGS="-D_UNIXWARE $CXXFLAGS";;
4497
*-*-sysv5uw7*) CXXFLAGS="-D_UNIXWARE7 $CXXFLAGS";;
4499
if test "$GXX" = yes; then
4500
libstdcpp=`$CXX -print-file-name=libstdc++.so`
4501
if test ! -f $libstdcpp; then
4502
{ { 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
4503
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;}
4504
{ (exit 1); exit 1; }; }
4510
if test "x$kde_use_qt_emb" != "xyes"; then
4512
__forbid=" -fno-rtti -rpath "
4513
if test -n "$__val"; then
4519
*" $i "*) { echo "$as_me:$LINENO: WARNING: found forbidden $i in CXX, removing it" >&5
4520
echo "$as_me: WARNING: found forbidden $i in CXX, removing it" >&2;} ;;
4521
*) # Careful to not add spaces, where there were none, because otherwise
4522
# libtool gets confused, if we change e.g. CXX
4523
if test -z "$__new" ; then __new=$i ; else __new="$__new $i" ; fi ;;
4531
__forbid=" -fno-rtti -rpath "
4532
if test -n "$__val"; then
4538
*" $i "*) { echo "$as_me:$LINENO: WARNING: found forbidden $i in CXXFLAGS, removing it" >&5
4539
echo "$as_me: WARNING: found forbidden $i in CXXFLAGS, removing it" >&2;} ;;
4540
*) # Careful to not add spaces, where there were none, because otherwise
4541
# libtool gets confused, if we change e.g. CXX
4542
if test -z "$__new" ; then __new=$i ; else __new="$__new $i" ; fi ;;
4552
if test -n "$__val"; then
4558
*" $i "*) { echo "$as_me:$LINENO: WARNING: found forbidden $i in CXX, removing it" >&5
4559
echo "$as_me: WARNING: found forbidden $i in CXX, removing it" >&2;} ;;
4560
*) # Careful to not add spaces, where there were none, because otherwise
4561
# libtool gets confused, if we change e.g. CXX
4562
if test -z "$__new" ; then __new=$i ; else __new="$__new $i" ; fi ;;
4571
if test -n "$__val"; then
4577
*" $i "*) { echo "$as_me:$LINENO: WARNING: found forbidden $i in CXXFLAGS, removing it" >&5
4578
echo "$as_me: WARNING: found forbidden $i in CXXFLAGS, removing it" >&2;} ;;
4579
*) # Careful to not add spaces, where there were none, because otherwise
4580
# libtool gets confused, if we change e.g. CXX
4581
if test -z "$__new" ; then __new=$i ; else __new="$__new $i" ; fi ;;
4592
ac_cpp='$CXXCPP $CPPFLAGS'
4593
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4594
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4595
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4596
echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4597
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4598
if test -z "$CXXCPP"; then
4599
if test "${ac_cv_prog_CXXCPP+set}" = set; then
4600
echo $ECHO_N "(cached) $ECHO_C" >&6
4602
# Double quotes because CXXCPP needs to be expanded
4603
for CXXCPP in "$CXX -E" "/lib/cpp"
4606
for ac_cxx_preproc_warn_flag in '' yes
4608
# Use a header file that comes with gcc, so configuring glibc
4609
# with a fresh cross-compiler works.
4610
# On the NeXT, cc -E runs the code through the compiler's parser,
4611
# not just through cpp. "Syntax error" is here to catch this case.
4612
cat >conftest.$ac_ext <<_ACEOF
4613
#line $LINENO "configure"
4614
#include "confdefs.h"
4618
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4619
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4621
egrep -v '^ *\+' conftest.er1 >conftest.err
4623
cat conftest.err >&5
4624
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4625
(exit $ac_status); } >/dev/null; then
4626
if test -s conftest.err; then
4627
ac_cpp_err=$ac_cxx_preproc_warn_flag
4634
if test -z "$ac_cpp_err"; then
4637
echo "$as_me: failed program was:" >&5
4638
cat conftest.$ac_ext >&5
4639
# Broken: fails on valid input.
4642
rm -f conftest.err conftest.$ac_ext
4644
# OK, works on sane cases. Now check whether non-existent headers
4645
# can be detected and how.
4646
cat >conftest.$ac_ext <<_ACEOF
4647
#line $LINENO "configure"
4648
#include "confdefs.h"
4649
#include <ac_nonexistent.h>
4651
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4652
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4654
egrep -v '^ *\+' conftest.er1 >conftest.err
4656
cat conftest.err >&5
4657
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4658
(exit $ac_status); } >/dev/null; then
4659
if test -s conftest.err; then
4660
ac_cpp_err=$ac_cxx_preproc_warn_flag
4667
if test -z "$ac_cpp_err"; then
4668
# Broken: success on invalid input.
4671
echo "$as_me: failed program was:" >&5
4672
cat conftest.$ac_ext >&5
4673
# Passes both tests.
4677
rm -f conftest.err conftest.$ac_ext
4680
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4681
rm -f conftest.err conftest.$ac_ext
4682
if $ac_preproc_ok; then
4687
ac_cv_prog_CXXCPP=$CXXCPP
4690
CXXCPP=$ac_cv_prog_CXXCPP
4692
ac_cv_prog_CXXCPP=$CXXCPP
4694
echo "$as_me:$LINENO: result: $CXXCPP" >&5
4695
echo "${ECHO_T}$CXXCPP" >&6
4697
for ac_cxx_preproc_warn_flag in '' yes
4699
# Use a header file that comes with gcc, so configuring glibc
4700
# with a fresh cross-compiler works.
4701
# On the NeXT, cc -E runs the code through the compiler's parser,
4702
# not just through cpp. "Syntax error" is here to catch this case.
4703
cat >conftest.$ac_ext <<_ACEOF
4704
#line $LINENO "configure"
4705
#include "confdefs.h"
4709
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4710
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4712
egrep -v '^ *\+' conftest.er1 >conftest.err
4714
cat conftest.err >&5
4715
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4716
(exit $ac_status); } >/dev/null; then
4717
if test -s conftest.err; then
4718
ac_cpp_err=$ac_cxx_preproc_warn_flag
4725
if test -z "$ac_cpp_err"; then
4728
echo "$as_me: failed program was:" >&5
4729
cat conftest.$ac_ext >&5
4730
# Broken: fails on valid input.
4733
rm -f conftest.err conftest.$ac_ext
4735
# OK, works on sane cases. Now check whether non-existent headers
4736
# can be detected and how.
4737
cat >conftest.$ac_ext <<_ACEOF
4738
#line $LINENO "configure"
4739
#include "confdefs.h"
4740
#include <ac_nonexistent.h>
4742
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4743
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4745
egrep -v '^ *\+' conftest.er1 >conftest.err
4747
cat conftest.err >&5
4748
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4749
(exit $ac_status); } >/dev/null; then
4750
if test -s conftest.err; then
4751
ac_cpp_err=$ac_cxx_preproc_warn_flag
4758
if test -z "$ac_cpp_err"; then
4759
# Broken: success on invalid input.
4762
echo "$as_me: failed program was:" >&5
4763
cat conftest.$ac_ext >&5
4764
# Passes both tests.
4768
rm -f conftest.err conftest.$ac_ext
4771
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4772
rm -f conftest.err conftest.$ac_ext
4773
if $ac_preproc_ok; then
4776
{ { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check" >&5
4777
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check" >&2;}
4778
{ (exit 1); exit 1; }; }
4782
ac_cpp='$CPP $CPPFLAGS'
4783
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4784
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4785
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4788
if test "$GCC" = yes; then
4797
# Check whether --enable-final or --disable-final was given.
4798
if test "${enable_final+set}" = set; then
4799
enableval="$enable_final"
4800
kde_use_final=$enableval
4805
if test "x$kde_use_final" = "xyes"; then
4806
KDE_USE_FINAL_TRUE=""
4807
KDE_USE_FINAL_FALSE="#"
4809
KDE_USE_FINAL_TRUE="#"
4810
KDE_USE_FINAL_FALSE=""
4816
# Check whether --enable-closure or --disable-closure was given.
4817
if test "${enable_closure+set}" = set; then
4818
enableval="$enable_closure"
4819
kde_use_closure=$enableval
4825
if test "x$kde_use_closure" = "xyes"; then
4826
KDE_USE_CLOSURE_TRUE=""
4827
KDE_USE_CLOSURE_FALSE="#"
4828
# CXXFLAGS="$CXXFLAGS $REPO"
4830
KDE_USE_CLOSURE_TRUE="#"
4831
KDE_USE_CLOSURE_FALSE=""
4833
echo "$as_me:$LINENO: checking whether $CXX supports -Wl,--no-undefined" >&5
4834
echo $ECHO_N "checking whether $CXX supports -Wl,--no-undefined... $ECHO_C" >&6
4835
kde_cache=`echo Wl,--no-undefined | sed 'y% .=/+-,%____p__%'`
4836
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
4837
echo $ECHO_N "(cached) $ECHO_C" >&6
4843
ac_cpp='$CXXCPP $CPPFLAGS'
4844
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4845
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4846
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4848
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4851
save_CXXFLAGS="$CXXFLAGS"
4852
CXXFLAGS="$CXXFLAGS -Wl,--no-undefined"
4853
cat >conftest.$ac_ext <<_ACEOF
4854
#line $LINENO "configure"
4855
#include "confdefs.h"
4857
#ifdef F77_DUMMY_MAIN
4861
int F77_DUMMY_MAIN() { return 1; }
4871
rm -f conftest.$ac_objext conftest$ac_exeext
4872
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4873
(eval $ac_link) 2>&5
4875
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4876
(exit $ac_status); } &&
4877
{ ac_try='test -s conftest$ac_exeext'
4878
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4881
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4882
(exit $ac_status); }; }; then
4883
eval "kde_cv_prog_cxx_$kde_cache=yes"
4885
echo "$as_me: failed program was:" >&5
4886
cat conftest.$ac_ext >&5
4888
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4889
CXXFLAGS="$save_CXXFLAGS"
4891
ac_cpp='$CPP $CPPFLAGS'
4892
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4893
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4894
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4899
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
4900
echo "$as_me:$LINENO: result: yes" >&5
4901
echo "${ECHO_T}yes" >&6
4904
echo "$as_me:$LINENO: checking whether $CXX supports -Wl,--allow-shlib-undefined" >&5
4905
echo $ECHO_N "checking whether $CXX supports -Wl,--allow-shlib-undefined... $ECHO_C" >&6
4906
kde_cache=`echo Wl,--allow-shlib-undefined | sed 'y% .=/+-,%____p__%'`
4907
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
4908
echo $ECHO_N "(cached) $ECHO_C" >&6
4914
ac_cpp='$CXXCPP $CPPFLAGS'
4915
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4916
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4917
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4919
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4922
save_CXXFLAGS="$CXXFLAGS"
4923
CXXFLAGS="$CXXFLAGS -Wl,--allow-shlib-undefined"
4924
cat >conftest.$ac_ext <<_ACEOF
4925
#line $LINENO "configure"
4926
#include "confdefs.h"
4928
#ifdef F77_DUMMY_MAIN
4932
int F77_DUMMY_MAIN() { return 1; }
4942
rm -f conftest.$ac_objext conftest$ac_exeext
4943
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4944
(eval $ac_link) 2>&5
4946
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4947
(exit $ac_status); } &&
4948
{ ac_try='test -s conftest$ac_exeext'
4949
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4952
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4953
(exit $ac_status); }; }; then
4954
eval "kde_cv_prog_cxx_$kde_cache=yes"
4956
echo "$as_me: failed program was:" >&5
4957
cat conftest.$ac_ext >&5
4959
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4960
CXXFLAGS="$save_CXXFLAGS"
4962
ac_cpp='$CPP $CPPFLAGS'
4963
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4964
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4965
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4970
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
4971
echo "$as_me:$LINENO: result: yes" >&5
4972
echo "${ECHO_T}yes" >&6
4974
KDE_NO_UNDEFINED="-Wl,--no-undefined -Wl,--allow-shlib-undefined"
4976
echo "$as_me:$LINENO: result: no" >&5
4977
echo "${ECHO_T}no" >&6
4983
echo "$as_me:$LINENO: result: no" >&5
4984
echo "${ECHO_T}no" >&6
4995
# Check whether --enable-nmcheck or --disable-nmcheck was given.
4996
if test "${enable_nmcheck+set}" = set; then
4997
enableval="$enable_nmcheck"
4998
kde_use_nmcheck=$enableval
5003
if test "$kde_use_nmcheck" = "yes"; then
5004
KDE_USE_NMCHECK_TRUE=""
5005
KDE_USE_NMCHECK_FALSE="#"
5007
KDE_USE_NMCHECK_TRUE="#"
5008
KDE_USE_NMCHECK_FALSE=""
5016
# Check whether --enable-shared or --disable-shared was given.
5017
if test "${enable_shared+set}" = set; then
5018
enableval="$enable_shared"
5019
p=${PACKAGE-default}
5021
yes) enable_shared=yes ;;
5022
no) enable_shared=no ;;
5025
# Look at the argument we got. We use all the common list separators.
5026
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
5027
for pkg in $enableval; do
5028
if test "X$pkg" = "X$p"; then
5038
# Check whether --enable-static or --disable-static was given.
5039
if test "${enable_static+set}" = set; then
5040
enableval="$enable_static"
5041
p=${PACKAGE-default}
5043
yes) enable_static=yes ;;
5044
no) enable_static=no ;;
5047
# Look at the argument we got. We use all the common list separators.
5048
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
5049
for pkg in $enableval; do
5050
if test "X$pkg" = "X$p"; then
5063
# Check whether --enable-libsuffix or --disable-libsuffix was given.
5064
if test "${enable_libsuffix+set}" = set; then
5065
enableval="$enable_libsuffix"
5066
kdelibsuff=$enableval
5068
# TODO: add an auto case that compiles a little C app to check
5069
# where the glibc is
5070
if test "$kdelibsuff" = "none"; then
5073
if test -z "$kdelibsuff"; then
5074
echo "$as_me:$LINENO: result: not using lib directory suffix" >&5
5075
echo "${ECHO_T}not using lib directory suffix" >&6
5077
cat >>confdefs.h <<\_ACEOF
5078
#define KDELIBSUFF ""
5082
if test "$libdir" = '${exec_prefix}/lib'; then
5083
libdir="$libdir${kdelibsuff}"
5087
cat >>confdefs.h <<_ACEOF
5088
#define KDELIBSUFF "\"${kdelibsuff}\""
5091
echo "$as_me:$LINENO: result: using lib directory suffix $kdelibsuff" >&5
5092
echo "${ECHO_T}using lib directory suffix $kdelibsuff" >&6
5095
# Check whether --enable-fast-install or --disable-fast-install was given.
5096
if test "${enable_fast_install+set}" = set; then
5097
enableval="$enable_fast_install"
5098
p=${PACKAGE-default}
5100
yes) enable_fast_install=yes ;;
5101
no) enable_fast_install=no ;;
5103
enable_fast_install=no
5104
# Look at the argument we got. We use all the common list separators.
5105
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
5106
for pkg in $enableval; do
5107
if test "X$pkg" = "X$p"; then
5108
enable_fast_install=yes
5115
enable_fast_install=yes
5118
# Check whether --with-gnu-ld or --without-gnu-ld was given.
5119
if test "${with_gnu_ld+set}" = set; then
5120
withval="$with_gnu_ld"
5121
test "$withval" = no || with_gnu_ld=yes
5126
if test "$GCC" = yes; then
5127
# Check if gcc -print-prog-name=ld gives a path.
5128
echo "$as_me:$LINENO: checking for ld used by GCC" >&5
5129
echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
5132
# gcc leaves a trailing carriage return which upsets mingw
5133
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5135
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5138
# Accept absolute paths.
5139
[\\/]* | [A-Za-z]:[\\/]*)
5140
re_direlt='/[^/][^/]*/\.\./'
5141
# Canonicalize the path of ld
5142
ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
5143
while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
5144
ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
5146
test -z "$LD" && LD="$ac_prog"
5149
# If it fails, then pretend we aren't using GCC.
5153
# If it is relative, then search for the first ld in PATH.
5157
elif test "$with_gnu_ld" = yes; then
5158
echo "$as_me:$LINENO: checking for GNU ld" >&5
5159
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
5161
echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5162
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
5164
if test "${lt_cv_path_LD+set}" = set; then
5165
echo $ECHO_N "(cached) $ECHO_C" >&6
5167
if test -z "$LD"; then
5168
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5169
for ac_dir in $PATH; do
5170
test -z "$ac_dir" && ac_dir=.
5171
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5172
lt_cv_path_LD="$ac_dir/$ac_prog"
5173
# Check to see if the program is GNU ld. I'd rather use --version,
5174
# but apparently some GNU ld's only accept -v.
5175
# Break only if it was the GNU/non-GNU ld that we prefer.
5176
if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
5177
test "$with_gnu_ld" != no && break
5179
test "$with_gnu_ld" != yes && break
5185
lt_cv_path_LD="$LD" # Let the user override the test with a path.
5190
if test -n "$LD"; then
5191
echo "$as_me:$LINENO: result: $LD" >&5
5192
echo "${ECHO_T}$LD" >&6
5194
echo "$as_me:$LINENO: result: no" >&5
5195
echo "${ECHO_T}no" >&6
5197
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5198
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5199
{ (exit 1); exit 1; }; }
5200
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5201
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
5202
if test "${lt_cv_prog_gnu_ld+set}" = set; then
5203
echo $ECHO_N "(cached) $ECHO_C" >&6
5205
# I'd rather use --version here, but apparently some GNU ld's only accept -v.
5206
if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
5207
lt_cv_prog_gnu_ld=yes
5209
lt_cv_prog_gnu_ld=no
5212
echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5213
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
5214
with_gnu_ld=$lt_cv_prog_gnu_ld
5217
echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
5218
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
5219
if test "${lt_cv_ld_reload_flag+set}" = set; then
5220
echo $ECHO_N "(cached) $ECHO_C" >&6
5222
lt_cv_ld_reload_flag='-r'
5224
echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
5225
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
5226
reload_flag=$lt_cv_ld_reload_flag
5227
test -n "$reload_flag" && reload_flag=" $reload_flag"
5229
echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
5230
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
5231
if test "${lt_cv_path_NM+set}" = set; then
5232
echo $ECHO_N "(cached) $ECHO_C" >&6
5234
if test -n "$NM"; then
5235
# Let the user override the test.
5238
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5239
for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
5240
test -z "$ac_dir" && ac_dir=.
5241
tmp_nm=$ac_dir/${ac_tool_prefix}nm
5242
if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
5243
# Check to see if the nm accepts a BSD-compat flag.
5244
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
5245
# nm: unknown option "B" ignored
5246
# Tru64's nm complains that /dev/null is an invalid object file
5247
if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
5248
lt_cv_path_NM="$tmp_nm -B"
5250
elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
5251
lt_cv_path_NM="$tmp_nm -p"
5254
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5255
continue # so that we can try to find one that supports BSD flags
5260
test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
5265
echo "$as_me:$LINENO: result: $NM" >&5
5266
echo "${ECHO_T}$NM" >&6
5268
echo "$as_me:$LINENO: checking whether ln -s works" >&5
5269
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
5271
if test "$LN_S" = "ln -s"; then
5272
echo "$as_me:$LINENO: result: yes" >&5
5273
echo "${ECHO_T}yes" >&6
5275
echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5276
echo "${ECHO_T}no, using $LN_S" >&6
5279
echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
5280
echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
5281
if test "${lt_cv_deplibs_check_method+set}" = set; then
5282
echo $ECHO_N "(cached) $ECHO_C" >&6
5284
lt_cv_file_magic_cmd='$MAGIC_CMD'
5285
lt_cv_file_magic_test_file=
5286
lt_cv_deplibs_check_method='unknown'
5287
# Need to set the preceding variable on all platforms that support
5288
# interlibrary dependencies.
5289
# 'none' -- dependencies not supported.
5290
# `unknown' -- same as none, but documents that we really don't know.
5291
# 'pass_all' -- all dependencies passed with no checks.
5292
# 'test_compile' -- check by making test program.
5293
# 'file_magic [regex]' -- check by looking for files in library path
5294
# which responds to the $file_magic_cmd with a given egrep regex.
5295
# If you have `file' or equivalent on your system and you're not sure
5296
# whether `pass_all' will *always* work, you probably want this one.
5300
lt_cv_deplibs_check_method=pass_all
5304
lt_cv_deplibs_check_method=pass_all
5308
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5309
lt_cv_file_magic_cmd='/usr/bin/file -L'
5310
lt_cv_file_magic_test_file=/shlib/libc.so
5313
cygwin* | mingw* |pw32*)
5314
lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5315
lt_cv_file_magic_cmd='$OBJDUMP -f'
5318
darwin* | rhapsody*)
5319
lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
5320
lt_cv_file_magic_cmd='/usr/bin/file -L'
5322
rhapsody* | darwin1.012)
5323
lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
5326
lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
5332
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
5335
# Not sure whether the presence of OpenBSD here was a mistake.
5336
# Let's accept both of them until this is cleared up.
5337
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
5338
lt_cv_file_magic_cmd=/usr/bin/file
5339
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5343
lt_cv_deplibs_check_method=pass_all
5348
lt_cv_deplibs_check_method=pass_all
5352
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5353
lt_cv_file_magic_cmd=/usr/bin/file
5354
lt_cv_file_magic_test_file=/usr/lib/libc.sl
5360
# this will be overridden with pass_all, but let us keep it just in case
5361
lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
5365
*-32|*"-32 ") libmagic=32-bit;;
5366
*-n32|*"-n32 ") libmagic=N32;;
5367
*-64|*"-64 ") libmagic=64-bit;;
5368
*) libmagic=never-match;;
5370
# this will be overridden with pass_all, but let us keep it just in case
5371
lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
5374
lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
5375
lt_cv_deplibs_check_method=pass_all
5378
# This must be Linux ELF.
5381
alpha* | i*86 | powerpc* | sparc* | ia64* | s390* | m68k* | arm* | mips* | hppa* | sh* )
5382
lt_cv_deplibs_check_method=pass_all ;;
5384
# glibc up to 2.1.1 does not perform some relocations on ARM
5385
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
5387
lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
5391
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
5392
lt_cv_deplibs_check_method='file_magic NetBSD/[a-z0-9]* demand paged shared library'
5394
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
5396
lt_cv_file_magic_cmd='/usr/bin/file -L'
5397
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5401
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
5404
lt_cv_deplibs_check_method='file_magic OpenBSD/i[3-9]86 demand paged shared library'
5405
lt_cv_file_magic_cmd=/usr/bin/file
5406
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5410
lt_cv_deplibs_check_method=pass_all
5415
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5416
lt_cv_file_magic_cmd=/usr/bin/file
5417
lt_cv_file_magic_test_file=/usr/lib/libnls.so
5420
osf3* | osf4* | osf5*)
5421
# this will be overridden with pass_all, but let us keep it just in case
5422
lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
5423
lt_cv_file_magic_test_file=/shlib/libc.so
5424
lt_cv_deplibs_check_method=pass_all
5428
lt_cv_deplibs_check_method=pass_all
5432
lt_cv_deplibs_check_method=pass_all
5433
lt_cv_file_magic_test_file=/lib/libc.so
5436
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
5437
case $host_vendor in
5439
lt_cv_deplibs_check_method=pass_all
5442
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]'
5443
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5450
echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5451
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
5452
file_magic_cmd=$lt_cv_file_magic_cmd
5453
deplibs_check_method=$lt_cv_deplibs_check_method
5457
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5459
# Only perform the check for file, if the check method requires it
5460
case $deplibs_check_method in
5462
if test "$file_magic_cmd" = '$MAGIC_CMD'; then
5463
echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
5464
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
5465
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5466
echo $ECHO_N "(cached) $ECHO_C" >&6
5470
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
5473
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
5476
ac_save_MAGIC_CMD="$MAGIC_CMD"
5477
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
5478
ac_dummy="/usr/bin:$PATH"
5479
for ac_dir in $ac_dummy; do
5480
test -z "$ac_dir" && ac_dir=.
5481
if test -f $ac_dir/${ac_tool_prefix}file; then
5482
lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
5483
if test -n "$file_magic_test_file"; then
5484
case $deplibs_check_method in
5486
file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
5487
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5488
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
5489
egrep "$file_magic_regex" > /dev/null; then
5494
*** Warning: the command libtool uses to detect shared libraries,
5495
*** $file_magic_cmd, produces output that libtool cannot recognize.
5496
*** The result is that libtool may fail to recognize shared libraries
5497
*** as such. This will affect the creation of libtool libraries that
5498
*** depend on shared libraries, but programs linked with such libtool
5499
*** libraries will work regardless of this problem. Nevertheless, you
5500
*** may want to report the problem to your system manager and/or to
5501
*** bug-libtool@gnu.org
5511
MAGIC_CMD="$ac_save_MAGIC_CMD"
5516
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5517
if test -n "$MAGIC_CMD"; then
5518
echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5519
echo "${ECHO_T}$MAGIC_CMD" >&6
5521
echo "$as_me:$LINENO: result: no" >&5
5522
echo "${ECHO_T}no" >&6
5525
if test -z "$lt_cv_path_MAGIC_CMD"; then
5526
if test -n "$ac_tool_prefix"; then
5527
echo "$as_me:$LINENO: checking for file" >&5
5528
echo $ECHO_N "checking for file... $ECHO_C" >&6
5529
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5530
echo $ECHO_N "(cached) $ECHO_C" >&6
5534
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
5537
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
5540
ac_save_MAGIC_CMD="$MAGIC_CMD"
5541
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
5542
ac_dummy="/usr/bin:$PATH"
5543
for ac_dir in $ac_dummy; do
5544
test -z "$ac_dir" && ac_dir=.
5545
if test -f $ac_dir/file; then
5546
lt_cv_path_MAGIC_CMD="$ac_dir/file"
5547
if test -n "$file_magic_test_file"; then
5548
case $deplibs_check_method in
5550
file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
5551
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5552
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
5553
egrep "$file_magic_regex" > /dev/null; then
5558
*** Warning: the command libtool uses to detect shared libraries,
5559
*** $file_magic_cmd, produces output that libtool cannot recognize.
5560
*** The result is that libtool may fail to recognize shared libraries
5561
*** as such. This will affect the creation of libtool libraries that
5562
*** depend on shared libraries, but programs linked with such libtool
5563
*** libraries will work regardless of this problem. Nevertheless, you
5564
*** may want to report the problem to your system manager and/or to
5565
*** bug-libtool@gnu.org
5575
MAGIC_CMD="$ac_save_MAGIC_CMD"
5580
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5581
if test -n "$MAGIC_CMD"; then
5582
echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5583
echo "${ECHO_T}$MAGIC_CMD" >&6
5585
echo "$as_me:$LINENO: result: no" >&5
5586
echo "${ECHO_T}no" >&6
5598
if test -n "$ac_tool_prefix"; then
5599
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5600
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5601
echo "$as_me:$LINENO: checking for $ac_word" >&5
5602
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5603
if test "${ac_cv_prog_RANLIB+set}" = set; then
5604
echo $ECHO_N "(cached) $ECHO_C" >&6
5606
if test -n "$RANLIB"; then
5607
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5609
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5613
test -z "$as_dir" && as_dir=.
5614
for ac_exec_ext in '' $ac_executable_extensions; do
5615
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5616
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5617
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5625
RANLIB=$ac_cv_prog_RANLIB
5626
if test -n "$RANLIB"; then
5627
echo "$as_me:$LINENO: result: $RANLIB" >&5
5628
echo "${ECHO_T}$RANLIB" >&6
5630
echo "$as_me:$LINENO: result: no" >&5
5631
echo "${ECHO_T}no" >&6
5635
if test -z "$ac_cv_prog_RANLIB"; then
5636
ac_ct_RANLIB=$RANLIB
5637
# Extract the first word of "ranlib", so it can be a program name with args.
5638
set dummy ranlib; ac_word=$2
5639
echo "$as_me:$LINENO: checking for $ac_word" >&5
5640
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5641
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5642
echo $ECHO_N "(cached) $ECHO_C" >&6
5644
if test -n "$ac_ct_RANLIB"; then
5645
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5647
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5651
test -z "$as_dir" && as_dir=.
5652
for ac_exec_ext in '' $ac_executable_extensions; do
5653
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5654
ac_cv_prog_ac_ct_RANLIB="ranlib"
5655
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5661
test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5664
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5665
if test -n "$ac_ct_RANLIB"; then
5666
echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5667
echo "${ECHO_T}$ac_ct_RANLIB" >&6
5669
echo "$as_me:$LINENO: result: no" >&5
5670
echo "${ECHO_T}no" >&6
5673
RANLIB=$ac_ct_RANLIB
5675
RANLIB="$ac_cv_prog_RANLIB"
5678
if test -n "$ac_tool_prefix"; then
5679
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5680
set dummy ${ac_tool_prefix}strip; ac_word=$2
5681
echo "$as_me:$LINENO: checking for $ac_word" >&5
5682
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5683
if test "${ac_cv_prog_STRIP+set}" = set; then
5684
echo $ECHO_N "(cached) $ECHO_C" >&6
5686
if test -n "$STRIP"; then
5687
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5689
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5693
test -z "$as_dir" && as_dir=.
5694
for ac_exec_ext in '' $ac_executable_extensions; do
5695
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5696
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5697
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5705
STRIP=$ac_cv_prog_STRIP
5706
if test -n "$STRIP"; then
5707
echo "$as_me:$LINENO: result: $STRIP" >&5
5708
echo "${ECHO_T}$STRIP" >&6
5710
echo "$as_me:$LINENO: result: no" >&5
5711
echo "${ECHO_T}no" >&6
5715
if test -z "$ac_cv_prog_STRIP"; then
5717
# Extract the first word of "strip", so it can be a program name with args.
5718
set dummy strip; ac_word=$2
5719
echo "$as_me:$LINENO: checking for $ac_word" >&5
5720
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5721
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5722
echo $ECHO_N "(cached) $ECHO_C" >&6
5724
if test -n "$ac_ct_STRIP"; then
5725
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5727
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5731
test -z "$as_dir" && as_dir=.
5732
for ac_exec_ext in '' $ac_executable_extensions; do
5733
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5734
ac_cv_prog_ac_ct_STRIP="strip"
5735
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5741
test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5744
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5745
if test -n "$ac_ct_STRIP"; then
5746
echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5747
echo "${ECHO_T}$ac_ct_STRIP" >&6
5749
echo "$as_me:$LINENO: result: no" >&5
5750
echo "${ECHO_T}no" >&6
5755
STRIP="$ac_cv_prog_STRIP"
5759
# Check for any special flags to pass to ltconfig.
5760
libtool_flags="--cache-file=$cache_file"
5761
test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
5762
test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
5763
test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
5764
test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
5765
test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
5768
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5769
if test "${enable_libtool_lock+set}" = set; then
5770
enableval="$enable_libtool_lock"
5773
test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
5774
test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
5777
# Check whether --with-pic or --without-pic was given.
5778
if test "${with_pic+set}" = set; then
5784
test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
5785
test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
5787
# Some flags need to be propagated to the compiler or linker for good
5791
# Find out which ABI we are using.
5792
echo '#line 5792 "configure"' > conftest.$ac_ext
5793
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5794
(eval $ac_compile) 2>&5
5796
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5797
(exit $ac_status); }; then
5798
case `/usr/bin/file conftest.$ac_objext` in
5814
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
5815
SAVE_CFLAGS="$CFLAGS"
5816
CFLAGS="$CFLAGS -belf"
5817
echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5818
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5819
if test "${lt_cv_cc_needs_belf+set}" = set; then
5820
echo $ECHO_N "(cached) $ECHO_C" >&6
5825
ac_cpp='$CPP $CPPFLAGS'
5826
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5827
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5828
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5830
cat >conftest.$ac_ext <<_ACEOF
5831
#line $LINENO "configure"
5832
#include "confdefs.h"
5834
#ifdef F77_DUMMY_MAIN
5838
int F77_DUMMY_MAIN() { return 1; }
5848
rm -f conftest.$ac_objext conftest$ac_exeext
5849
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5850
(eval $ac_link) 2>&5
5852
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5853
(exit $ac_status); } &&
5854
{ ac_try='test -s conftest$ac_exeext'
5855
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5858
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5859
(exit $ac_status); }; }; then
5860
lt_cv_cc_needs_belf=yes
5862
echo "$as_me: failed program was:" >&5
5863
cat conftest.$ac_ext >&5
5864
lt_cv_cc_needs_belf=no
5866
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5868
ac_cpp='$CPP $CPPFLAGS'
5869
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5870
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5871
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5874
echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5875
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5876
if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5877
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5878
CFLAGS="$SAVE_CFLAGS"
5886
# Save cache, so that ltconfig can load it
5887
cat >confcache <<\_ACEOF
5888
# This file is a shell script that caches the results of configure
5889
# tests run on this system so they can be shared between configure
5890
# scripts and configure runs, see configure's option --config-cache.
5891
# It is not useful on other systems. If it contains results you don't
5892
# want to keep, you may remove or edit it.
5894
# config.status only pays attention to the cache file if you give it
5895
# the --recheck option to rerun configure.
5897
# `ac_cv_env_foo' variables (set or unset) will be overriden when
5898
# loading this file, other *unset* `ac_cv_foo' will be assigned the
5903
# The following way of writing the cache mishandles newlines in values,
5904
# but we know of no workaround that is simple, portable, and efficient.
5905
# So, don't put newlines in cache variables' values.
5906
# Ultrix sh set writes to stderr and can't be redirected directly,
5907
# and sets the high bit in the cache file unless we assign to the vars.
5910
case `(ac_space=' '; set | grep ac_space) 2>&1` in
5912
# `set' does not quote correctly, so add quotes (double-quote
5913
# substitution turns \\\\ into \\, and sed turns \\ into \).
5916
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5919
# `set' quotes correctly as required by POSIX, so do not add quotes.
5921
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5928
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5930
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5932
if cmp -s $cache_file confcache; then :; else
5933
if test -w $cache_file; then
5934
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5935
cat confcache >$cache_file
5937
echo "not updating unwritable cache $cache_file"
5942
# Actually configure libtool. ac_aux_dir is where install-sh is found.
5943
AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
5944
MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
5945
LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
5946
AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
5947
objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
5948
deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
5949
${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
5950
$libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
5951
|| { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
5952
echo "$as_me: error: libtool configure failed" >&2;}
5953
{ (exit 1); exit 1; }; }
5955
# Reload cache, that may have been modified by ltconfig
5956
if test -r "$cache_file"; then
5957
# Some versions of bash will fail to source /dev/null (special
5958
# files actually), so we avoid doing that.
5959
if test -f "$cache_file"; then
5960
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
5961
echo "$as_me: loading cache $cache_file" >&6;}
5963
[\\/]* | ?:[\\/]* ) . $cache_file;;
5964
*) . ./$cache_file;;
5968
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
5969
echo "$as_me: creating cache $cache_file" >&6;}
5974
# This can be used to rebuild libtool when needed
5975
LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
5977
# Always use our own libtool.
5978
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
5980
# Redirect the config.log output again, so that the ltconfig log is not
5981
# clobbered by the next message.
5982
exec 5>>./config.log
5986
LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
5988
lt_save_CFLAGS="$CFLAGS"
5989
AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
5990
MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
5991
LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
5992
AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
5993
objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
5994
deplibs_check_method="$deplibs_check_method" \
5995
file_magic_cmd="$file_magic_cmd" \
5996
${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
5997
--build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
5998
|| { { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
5999
echo "$as_me: error: libtool tag configuration failed" >&2;}
6000
{ (exit 1); exit 1; }; }
6002
CFLAGS="$lt_save_CFLAGS"
6004
# Redirect the config.log output again, so that the ltconfig log is not
6005
# clobbered by the next message.
6006
exec 5>>./config.log
6019
ac_cpp='$CPP $CPPFLAGS'
6020
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6021
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6022
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6027
ac_cpp='$CPP $CPPFLAGS'
6028
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6029
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6030
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6040
LIBTOOL_SHELL="/bin/sh ./libtool"
6041
# LIBTOOL="$LIBTOOL --silent"
6042
KDE_PLUGIN="-avoid-version -module -no-undefined \$(KDE_NO_UNDEFINED) \$(KDE_RPATH) \$(KDE_MT_LDFLAGS)"
6045
# Check whether --enable-objprelink or --disable-objprelink was given.
6046
if test "${enable_objprelink+set}" = set; then
6047
enableval="$enable_objprelink"
6048
kde_use_objprelink=$enableval
6050
kde_use_objprelink=no
6052
if test "x$kde_use_objprelink" = "xyes"; then
6053
{ echo "$as_me:$LINENO: WARNING:
6054
------------------------------------------------------------
6055
Configuration option --enable-objprelink is no longer useful.
6056
See http:://objprelink.sourceforge.net for details:
6057
1- Recent binutils are fast enough to do without objprelink.
6058
2- Newer versions of objprelink do not need this option.
6059
------------------------------------------------------------
6061
echo "$as_me: WARNING:
6062
------------------------------------------------------------
6063
Configuration option --enable-objprelink is no longer useful.
6064
See http:://objprelink.sourceforge.net for details:
6065
1- Recent binutils are fast enough to do without objprelink.
6066
2- Newer versions of objprelink do not need this option.
6067
------------------------------------------------------------
6074
# Extract the first word of "msgfmt", so it can be a program name with args.
6075
set dummy msgfmt; ac_word=$2
6076
echo "$as_me:$LINENO: checking for $ac_word" >&5
6077
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6078
if test "${ac_cv_path_MSGFMT+set}" = set; then
6079
echo $ECHO_N "(cached) $ECHO_C" >&6
6083
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
6086
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
6087
for ac_dir in $PATH; do
6088
test -z "$ac_dir" && ac_dir=.
6089
if test -f $ac_dir/$ac_word; then
6090
if test -n "`$ac_dir/$ac_word --version 2>&1 | grep 'GNU gettext'`"; then
6091
ac_cv_path_MSGFMT="$ac_dir/$ac_word"
6097
test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="msgfmt"
6101
MSGFMT="$ac_cv_path_MSGFMT"
6102
if test -n "$MSGFMT"; then
6103
echo "$as_me:$LINENO: result: $MSGFMT" >&5
6104
echo "${ECHO_T}$MSGFMT" >&6
6106
echo "$as_me:$LINENO: result: no" >&5
6107
echo "${ECHO_T}no" >&6
6110
# Extract the first word of "gmsgfmt", so it can be a program name with args.
6111
set dummy gmsgfmt; ac_word=$2
6112
echo "$as_me:$LINENO: checking for $ac_word" >&5
6113
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6114
if test "${ac_cv_path_GMSGFMT+set}" = set; then
6115
echo $ECHO_N "(cached) $ECHO_C" >&6
6119
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
6122
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6126
test -z "$as_dir" && as_dir=.
6127
for ac_exec_ext in '' $ac_executable_extensions; do
6128
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6129
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
6130
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6136
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
6140
GMSGFMT=$ac_cv_path_GMSGFMT
6142
if test -n "$GMSGFMT"; then
6143
echo "$as_me:$LINENO: result: $GMSGFMT" >&5
6144
echo "${ECHO_T}$GMSGFMT" >&6
6146
echo "$as_me:$LINENO: result: no" >&5
6147
echo "${ECHO_T}no" >&6
6151
if test -z "`$GMSGFMT --version 2>&1 | grep 'GNU gettext'`"; then
6152
echo "$as_me:$LINENO: result: found msgfmt program is not GNU msgfmt; ignore it" >&5
6153
echo "${ECHO_T}found msgfmt program is not GNU msgfmt; ignore it" >&6
6160
# Extract the first word of "xgettext", so it can be a program name with args.
6161
set dummy xgettext; ac_word=$2
6162
echo "$as_me:$LINENO: checking for $ac_word" >&5
6163
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6164
if test "${ac_cv_path_XGETTEXT+set}" = set; then
6165
echo $ECHO_N "(cached) $ECHO_C" >&6
6169
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
6172
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
6173
for ac_dir in $PATH; do
6174
test -z "$ac_dir" && ac_dir=.
6175
if test -f $ac_dir/$ac_word; then
6176
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
6177
ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
6183
test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
6187
XGETTEXT="$ac_cv_path_XGETTEXT"
6188
if test -n "$XGETTEXT"; then
6189
echo "$as_me:$LINENO: result: $XGETTEXT" >&5
6190
echo "${ECHO_T}$XGETTEXT" >&6
6192
echo "$as_me:$LINENO: result: no" >&5
6193
echo "${ECHO_T}no" >&6
6197
if test "$XGETTEXT" != ":"; then
6198
if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
6201
echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
6202
echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6
6212
if test -d /usr/lib/qt3; then
6215
if test -d /usr/share/qt3; then
6224
if test -z "$qt_vers"; then
6225
# Current default Qt version: 3.1
6229
kde_qtsubver=`echo "2.3" | sed -e 's#[0-9][0-9]*\.\([0-9][0-9]*\).*#\1#'`
6230
# following is the check if subversion isnt found in passed argument
6231
if test "$kde_qtsubver" = "2.3"; then
6234
kde_qtver=`echo "2.3" | sed -e 's#^\([0-9][0-9]*\)\..*#\1#'`
6235
if test "$kde_qtver" = "1"; then
6241
if test "$kde_qtver" = "2"; then
6242
if test $kde_qtsubver -gt 0; then
6243
kde_qt_minversion=">= Qt 2.2.2"
6245
kde_qt_minversion=">= Qt 2.0.2"
6248
if test "$kde_qtver" = "3"; then
6249
if test $kde_qtsubver -gt 0; then
6250
kde_qt_minversion=">= Qt 3.1 (20021021)"
6252
kde_qt_minversion=">= Qt 3.0"
6255
if test "$kde_qtver" = "1"; then
6256
kde_qt_minversion=">= 1.42 and < 2.0"
6263
if test $kde_qtver = 3; then
6264
if test $kde_qtsubver -gt 0; then
6265
kde_qt_verstring="QT_VERSION >= 0x030100"
6267
kde_qt_verstring="QT_VERSION >= 300"
6270
if test $kde_qtver = 2; then
6271
if test $kde_qtsubver -gt 0; then
6272
kde_qt_verstring="QT_VERSION >= 222"
6274
kde_qt_verstring="QT_VERSION >= 200"
6277
if test $kde_qtver = 1; then
6278
kde_qt_verstring="QT_VERSION >= 142 && QT_VERSION < 200"
6284
if test $kde_qtver = 3; then
6285
kde_qt_dirs="$QTDIR /usr/lib/qt3 /usr/lib/qt /usr/share/qt3"
6287
if test $kde_qtver = 2; then
6288
kde_qt_dirs="$QTDIR /usr/lib/qt2 /usr/lib/qt"
6290
if test $kde_qtver = 1; then
6291
kde_qt_dirs="$QTDIR /usr/lib/qt"
6295
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6296
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6297
if test "${ac_cv_header_stdc+set}" = set; then
6298
echo $ECHO_N "(cached) $ECHO_C" >&6
6300
cat >conftest.$ac_ext <<_ACEOF
6301
#line $LINENO "configure"
6302
#include "confdefs.h"
6309
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6310
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6312
egrep -v '^ *\+' conftest.er1 >conftest.err
6314
cat conftest.err >&5
6315
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6316
(exit $ac_status); } >/dev/null; then
6317
if test -s conftest.err; then
6318
ac_cpp_err=$ac_c_preproc_warn_flag
6325
if test -z "$ac_cpp_err"; then
6326
ac_cv_header_stdc=yes
6328
echo "$as_me: failed program was:" >&5
6329
cat conftest.$ac_ext >&5
6330
ac_cv_header_stdc=no
6332
rm -f conftest.err conftest.$ac_ext
6334
if test $ac_cv_header_stdc = yes; then
6335
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6336
cat >conftest.$ac_ext <<_ACEOF
6337
#line $LINENO "configure"
6338
#include "confdefs.h"
6342
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6343
egrep "memchr" >/dev/null 2>&1; then
6346
ac_cv_header_stdc=no
6352
if test $ac_cv_header_stdc = yes; then
6353
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6354
cat >conftest.$ac_ext <<_ACEOF
6355
#line $LINENO "configure"
6356
#include "confdefs.h"
6360
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6361
egrep "free" >/dev/null 2>&1; then
6364
ac_cv_header_stdc=no
6370
if test $ac_cv_header_stdc = yes; then
6371
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6372
if test "$cross_compiling" = yes; then
6375
cat >conftest.$ac_ext <<_ACEOF
6376
#line $LINENO "configure"
6377
#include "confdefs.h"
6379
#if ((' ' & 0x0FF) == 0x020)
6380
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6381
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6383
# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
6384
|| ('j' <= (c) && (c) <= 'r') \
6385
|| ('s' <= (c) && (c) <= 'z'))
6386
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6389
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6394
for (i = 0; i < 256; i++)
6395
if (XOR (islower (i), ISLOWER (i))
6396
|| toupper (i) != TOUPPER (i))
6401
rm -f conftest$ac_exeext
6402
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6403
(eval $ac_link) 2>&5
6405
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6406
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6407
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6410
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6411
(exit $ac_status); }; }; then
6414
echo "$as_me: program exited with status $ac_status" >&5
6415
echo "$as_me: failed program was:" >&5
6416
cat conftest.$ac_ext >&5
6418
ac_cv_header_stdc=no
6420
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6424
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6425
echo "${ECHO_T}$ac_cv_header_stdc" >&6
6426
if test $ac_cv_header_stdc = yes; then
6428
cat >>confdefs.h <<\_ACEOF
6429
#define STDC_HEADERS 1
6434
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
6444
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6445
inttypes.h stdint.h unistd.h
6447
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6448
echo "$as_me:$LINENO: checking for $ac_header" >&5
6449
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6450
if eval "test \"\${$as_ac_Header+set}\" = set"; then
6451
echo $ECHO_N "(cached) $ECHO_C" >&6
6453
cat >conftest.$ac_ext <<_ACEOF
6454
#line $LINENO "configure"
6455
#include "confdefs.h"
6456
$ac_includes_default
6458
#include <$ac_header>
6460
rm -f conftest.$ac_objext
6461
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6462
(eval $ac_compile) 2>&5
6464
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6465
(exit $ac_status); } &&
6466
{ ac_try='test -s conftest.$ac_objext'
6467
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6470
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6471
(exit $ac_status); }; }; then
6472
eval "$as_ac_Header=yes"
6474
echo "$as_me: failed program was:" >&5
6475
cat conftest.$ac_ext >&5
6476
eval "$as_ac_Header=no"
6478
rm -f conftest.$ac_objext conftest.$ac_ext
6480
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6481
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6482
if test `eval echo '${'$as_ac_Header'}'` = yes; then
6483
cat >>confdefs.h <<_ACEOF
6484
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6494
echo "$as_me:$LINENO: checking for strlcat" >&5
6495
echo $ECHO_N "checking for strlcat... $ECHO_C" >&6
6496
if test "${kde_cv_func_strlcat+set}" = set; then
6497
echo $ECHO_N "(cached) $ECHO_C" >&6
6503
ac_cpp='$CXXCPP $CPPFLAGS'
6504
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6505
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6506
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6508
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6511
save_CXXFLAGS="$CXXFLAGS"
6512
kde_safe_LIBS="$LIBS"
6513
LIBS="$LIBS $X_EXTRA_LIBS"
6514
if test "$GXX" = "yes"; then
6515
CXXFLAGS="$CXXFLAGS -pedantic-errors"
6517
cat >conftest.$ac_ext <<_ACEOF
6518
#line $LINENO "configure"
6519
#include "confdefs.h"
6525
#ifdef F77_DUMMY_MAIN
6529
int F77_DUMMY_MAIN() { return 1; }
6537
strlcat(buf, "KDE function test", sizeof(buf));
6544
rm -f conftest.$ac_objext
6545
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6546
(eval $ac_compile) 2>&5
6548
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6549
(exit $ac_status); } &&
6550
{ ac_try='test -s conftest.$ac_objext'
6551
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6554
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6555
(exit $ac_status); }; }; then
6556
kde_cv_func_strlcat=yes
6558
echo "$as_me: failed program was:" >&5
6559
cat conftest.$ac_ext >&5
6560
kde_cv_func_strlcat=no
6562
rm -f conftest.$ac_objext conftest.$ac_ext
6563
CXXFLAGS="$save_CXXFLAGS"
6564
LIBS="$kde_safe_LIBS"
6566
ac_cpp='$CPP $CPPFLAGS'
6567
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6568
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6569
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6575
echo "$as_me:$LINENO: result: $kde_cv_func_strlcat" >&5
6576
echo "${ECHO_T}$kde_cv_func_strlcat" >&6
6578
echo "$as_me:$LINENO: checking if strlcat needs custom prototype" >&5
6579
echo $ECHO_N "checking if strlcat needs custom prototype... $ECHO_C" >&6
6580
if test "${kde_cv_proto_strlcat+set}" = set; then
6581
echo $ECHO_N "(cached) $ECHO_C" >&6
6584
if test "x$kde_cv_func_strlcat" = xyes; then
6585
kde_cv_proto_strlcat=no
6588
setenv|unsetenv|usleep|random|srandom|seteuid|mkstemps|mkstemp|revoke|vsnprintf|strlcpy|strlcat)
6589
kde_cv_proto_strlcat="yes - in libkdefakes"
6592
kde_cv_proto_strlcat=unknown
6597
if test "x$kde_cv_proto_strlcat" = xunknown; then
6602
ac_cpp='$CXXCPP $CPPFLAGS'
6603
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6604
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6605
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6607
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6611
LIBS="$LIBS $X_EXTRA_LIBS"
6612
cat >conftest.$ac_ext <<_ACEOF
6613
#line $LINENO "configure"
6614
#include "confdefs.h"
6620
extern "C" unsigned long strlcat(char*, const char*, unsigned long);
6622
#ifdef F77_DUMMY_MAIN
6626
int F77_DUMMY_MAIN() { return 1; }
6634
strlcat(buf, "KDE function test", sizeof(buf));
6641
rm -f conftest.$ac_objext conftest$ac_exeext
6642
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6643
(eval $ac_link) 2>&5
6645
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6646
(exit $ac_status); } &&
6647
{ ac_try='test -s conftest$ac_exeext'
6648
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6651
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6652
(exit $ac_status); }; }; then
6653
kde_cv_func_strlcat=yes
6654
kde_cv_proto_strlcat=yes
6656
echo "$as_me: failed program was:" >&5
6657
cat conftest.$ac_ext >&5
6658
kde_cv_proto_strlcat="strlcat unavailable"
6661
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6664
ac_cpp='$CPP $CPPFLAGS'
6665
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6666
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6667
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6673
echo "$as_me:$LINENO: result: $kde_cv_proto_strlcat" >&5
6674
echo "${ECHO_T}$kde_cv_proto_strlcat" >&6
6676
if test "x$kde_cv_func_strlcat" = xyes; then
6678
cat >>confdefs.h <<\_ACEOF
6679
#define HAVE_STRLCAT 1
6684
if test "x$kde_cv_proto_strlcat" = xno; then
6686
cat >>confdefs.h <<\_ACEOF
6687
#define HAVE_STRLCAT_PROTO 1
6698
echo "$as_me:$LINENO: checking for strlcpy" >&5
6699
echo $ECHO_N "checking for strlcpy... $ECHO_C" >&6
6700
if test "${kde_cv_func_strlcpy+set}" = set; then
6701
echo $ECHO_N "(cached) $ECHO_C" >&6
6707
ac_cpp='$CXXCPP $CPPFLAGS'
6708
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6709
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6710
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6712
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6715
save_CXXFLAGS="$CXXFLAGS"
6716
kde_safe_LIBS="$LIBS"
6717
LIBS="$LIBS $X_EXTRA_LIBS"
6718
if test "$GXX" = "yes"; then
6719
CXXFLAGS="$CXXFLAGS -pedantic-errors"
6721
cat >conftest.$ac_ext <<_ACEOF
6722
#line $LINENO "configure"
6723
#include "confdefs.h"
6729
#ifdef F77_DUMMY_MAIN
6733
int F77_DUMMY_MAIN() { return 1; }
6740
strlcpy(buf, "KDE function test", sizeof(buf));
6747
rm -f conftest.$ac_objext
6748
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6749
(eval $ac_compile) 2>&5
6751
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6752
(exit $ac_status); } &&
6753
{ ac_try='test -s conftest.$ac_objext'
6754
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6757
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6758
(exit $ac_status); }; }; then
6759
kde_cv_func_strlcpy=yes
6761
echo "$as_me: failed program was:" >&5
6762
cat conftest.$ac_ext >&5
6763
kde_cv_func_strlcpy=no
6765
rm -f conftest.$ac_objext conftest.$ac_ext
6766
CXXFLAGS="$save_CXXFLAGS"
6767
LIBS="$kde_safe_LIBS"
6769
ac_cpp='$CPP $CPPFLAGS'
6770
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6771
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6772
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6778
echo "$as_me:$LINENO: result: $kde_cv_func_strlcpy" >&5
6779
echo "${ECHO_T}$kde_cv_func_strlcpy" >&6
6781
echo "$as_me:$LINENO: checking if strlcpy needs custom prototype" >&5
6782
echo $ECHO_N "checking if strlcpy needs custom prototype... $ECHO_C" >&6
6783
if test "${kde_cv_proto_strlcpy+set}" = set; then
6784
echo $ECHO_N "(cached) $ECHO_C" >&6
6787
if test "x$kde_cv_func_strlcpy" = xyes; then
6788
kde_cv_proto_strlcpy=no
6791
setenv|unsetenv|usleep|random|srandom|seteuid|mkstemps|mkstemp|revoke|vsnprintf|strlcpy|strlcat)
6792
kde_cv_proto_strlcpy="yes - in libkdefakes"
6795
kde_cv_proto_strlcpy=unknown
6800
if test "x$kde_cv_proto_strlcpy" = xunknown; then
6805
ac_cpp='$CXXCPP $CPPFLAGS'
6806
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6807
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6808
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6810
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6814
LIBS="$LIBS $X_EXTRA_LIBS"
6815
cat >conftest.$ac_ext <<_ACEOF
6816
#line $LINENO "configure"
6817
#include "confdefs.h"
6823
extern "C" unsigned long strlcpy(char*, const char*, unsigned long);
6825
#ifdef F77_DUMMY_MAIN
6829
int F77_DUMMY_MAIN() { return 1; }
6836
strlcpy(buf, "KDE function test", sizeof(buf));
6843
rm -f conftest.$ac_objext conftest$ac_exeext
6844
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6845
(eval $ac_link) 2>&5
6847
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6848
(exit $ac_status); } &&
6849
{ ac_try='test -s conftest$ac_exeext'
6850
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6853
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6854
(exit $ac_status); }; }; then
6855
kde_cv_func_strlcpy=yes
6856
kde_cv_proto_strlcpy=yes
6858
echo "$as_me: failed program was:" >&5
6859
cat conftest.$ac_ext >&5
6860
kde_cv_proto_strlcpy="strlcpy unavailable"
6863
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6866
ac_cpp='$CPP $CPPFLAGS'
6867
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6868
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6869
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6875
echo "$as_me:$LINENO: result: $kde_cv_proto_strlcpy" >&5
6876
echo "${ECHO_T}$kde_cv_proto_strlcpy" >&6
6878
if test "x$kde_cv_func_strlcpy" = xyes; then
6880
cat >>confdefs.h <<\_ACEOF
6881
#define HAVE_STRLCPY 1
6886
if test "x$kde_cv_proto_strlcpy" = xno; then
6888
cat >>confdefs.h <<\_ACEOF
6889
#define HAVE_STRLCPY_PROTO 1
6900
ac_cpp='$CPP $CPPFLAGS'
6901
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6902
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6903
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6905
echo "$as_me:$LINENO: checking for main in -lutil" >&5
6906
echo $ECHO_N "checking for main in -lutil... $ECHO_C" >&6
6907
if test "${ac_cv_lib_util_main+set}" = set; then
6908
echo $ECHO_N "(cached) $ECHO_C" >&6
6910
ac_check_lib_save_LIBS=$LIBS
6912
cat >conftest.$ac_ext <<_ACEOF
6913
#line $LINENO "configure"
6914
#include "confdefs.h"
6917
#ifdef F77_DUMMY_MAIN
6921
int F77_DUMMY_MAIN() { return 1; }
6931
rm -f conftest.$ac_objext conftest$ac_exeext
6932
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6933
(eval $ac_link) 2>&5
6935
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6936
(exit $ac_status); } &&
6937
{ ac_try='test -s conftest$ac_exeext'
6938
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6941
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6942
(exit $ac_status); }; }; then
6943
ac_cv_lib_util_main=yes
6945
echo "$as_me: failed program was:" >&5
6946
cat conftest.$ac_ext >&5
6947
ac_cv_lib_util_main=no
6949
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6950
LIBS=$ac_check_lib_save_LIBS
6952
echo "$as_me:$LINENO: result: $ac_cv_lib_util_main" >&5
6953
echo "${ECHO_T}$ac_cv_lib_util_main" >&6
6954
if test $ac_cv_lib_util_main = yes; then
6958
echo "$as_me:$LINENO: checking for main in -lcompat" >&5
6959
echo $ECHO_N "checking for main in -lcompat... $ECHO_C" >&6
6960
if test "${ac_cv_lib_compat_main+set}" = set; then
6961
echo $ECHO_N "(cached) $ECHO_C" >&6
6963
ac_check_lib_save_LIBS=$LIBS
6964
LIBS="-lcompat $LIBS"
6965
cat >conftest.$ac_ext <<_ACEOF
6966
#line $LINENO "configure"
6967
#include "confdefs.h"
6970
#ifdef F77_DUMMY_MAIN
6974
int F77_DUMMY_MAIN() { return 1; }
6984
rm -f conftest.$ac_objext conftest$ac_exeext
6985
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6986
(eval $ac_link) 2>&5
6988
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6989
(exit $ac_status); } &&
6990
{ ac_try='test -s conftest$ac_exeext'
6991
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6994
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6995
(exit $ac_status); }; }; then
6996
ac_cv_lib_compat_main=yes
6998
echo "$as_me: failed program was:" >&5
6999
cat conftest.$ac_ext >&5
7000
ac_cv_lib_compat_main=no
7002
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7003
LIBS=$ac_check_lib_save_LIBS
7005
echo "$as_me:$LINENO: result: $ac_cv_lib_compat_main" >&5
7006
echo "${ECHO_T}$ac_cv_lib_compat_main" >&6
7007
if test $ac_cv_lib_compat_main = yes; then
7008
LIBCOMPAT="-lcompat"
7012
echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5
7013
echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6
7014
if test "${ac_cv_lib_crypt_crypt+set}" = set; then
7015
echo $ECHO_N "(cached) $ECHO_C" >&6
7017
ac_check_lib_save_LIBS=$LIBS
7018
LIBS="-lcrypt $LIBS"
7019
cat >conftest.$ac_ext <<_ACEOF
7020
#line $LINENO "configure"
7021
#include "confdefs.h"
7023
/* Override any gcc2 internal prototype to avoid an error. */
7027
/* We use char because int might match the return type of a gcc2
7028
builtin and then its argument prototype would still apply. */
7030
#ifdef F77_DUMMY_MAIN
7034
int F77_DUMMY_MAIN() { return 1; }
7044
rm -f conftest.$ac_objext conftest$ac_exeext
7045
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7046
(eval $ac_link) 2>&5
7048
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7049
(exit $ac_status); } &&
7050
{ ac_try='test -s conftest$ac_exeext'
7051
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7054
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7055
(exit $ac_status); }; }; then
7056
ac_cv_lib_crypt_crypt=yes
7058
echo "$as_me: failed program was:" >&5
7059
cat conftest.$ac_ext >&5
7060
ac_cv_lib_crypt_crypt=no
7062
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7063
LIBS=$ac_check_lib_save_LIBS
7065
echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
7066
echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6
7067
if test $ac_cv_lib_crypt_crypt = yes; then
7068
LIBCRYPT="-lcrypt"; kde_have_crypt=yes
7070
echo "$as_me:$LINENO: checking for crypt in -lc" >&5
7071
echo $ECHO_N "checking for crypt in -lc... $ECHO_C" >&6
7072
if test "${ac_cv_lib_c_crypt+set}" = set; then
7073
echo $ECHO_N "(cached) $ECHO_C" >&6
7075
ac_check_lib_save_LIBS=$LIBS
7077
cat >conftest.$ac_ext <<_ACEOF
7078
#line $LINENO "configure"
7079
#include "confdefs.h"
7081
/* Override any gcc2 internal prototype to avoid an error. */
7085
/* We use char because int might match the return type of a gcc2
7086
builtin and then its argument prototype would still apply. */
7088
#ifdef F77_DUMMY_MAIN
7092
int F77_DUMMY_MAIN() { return 1; }
7102
rm -f conftest.$ac_objext conftest$ac_exeext
7103
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7104
(eval $ac_link) 2>&5
7106
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7107
(exit $ac_status); } &&
7108
{ ac_try='test -s conftest$ac_exeext'
7109
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7112
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7113
(exit $ac_status); }; }; then
7114
ac_cv_lib_c_crypt=yes
7116
echo "$as_me: failed program was:" >&5
7117
cat conftest.$ac_ext >&5
7118
ac_cv_lib_c_crypt=no
7120
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7121
LIBS=$ac_check_lib_save_LIBS
7123
echo "$as_me:$LINENO: result: $ac_cv_lib_c_crypt" >&5
7124
echo "${ECHO_T}$ac_cv_lib_c_crypt" >&6
7125
if test $ac_cv_lib_c_crypt = yes; then
7129
{ echo "$as_me:$LINENO: WARNING: you have no crypt in either libcrypt or libc.
7130
You should install libcrypt from another source or configure with PAM
7132
echo "$as_me: WARNING: you have no crypt in either libcrypt or libc.
7133
You should install libcrypt from another source or configure with PAM
7142
if test $kde_have_crypt = yes; then
7144
cat >>confdefs.h <<_ACEOF
7145
#define HAVE_CRYPT 1
7150
echo "$as_me:$LINENO: checking for socklen_t" >&5
7151
echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
7152
if test "${ac_cv_socklen_t+set}" = set; then
7153
echo $ECHO_N "(cached) $ECHO_C" >&6
7159
ac_cpp='$CXXCPP $CPPFLAGS'
7160
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7161
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7162
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7164
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7167
cat >conftest.$ac_ext <<_ACEOF
7168
#line $LINENO "configure"
7169
#include "confdefs.h"
7171
#include <sys/types.h>
7172
#include <sys/socket.h>
7174
#ifdef F77_DUMMY_MAIN
7178
int F77_DUMMY_MAIN() { return 1; }
7185
getsockname(0,(struct sockaddr*)0, &a);
7191
rm -f conftest.$ac_objext
7192
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7193
(eval $ac_compile) 2>&5
7195
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7196
(exit $ac_status); } &&
7197
{ ac_try='test -s conftest.$ac_objext'
7198
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7201
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7202
(exit $ac_status); }; }; then
7203
ac_cv_socklen_t=socklen_t
7205
echo "$as_me: failed program was:" >&5
7206
cat conftest.$ac_ext >&5
7207
cat >conftest.$ac_ext <<_ACEOF
7208
#line $LINENO "configure"
7209
#include "confdefs.h"
7211
#include <sys/types.h>
7212
#include <sys/socket.h>
7214
#ifdef F77_DUMMY_MAIN
7218
int F77_DUMMY_MAIN() { return 1; }
7225
getsockname(0,(struct sockaddr*)0, &a);
7231
rm -f conftest.$ac_objext
7232
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7233
(eval $ac_compile) 2>&5
7235
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7236
(exit $ac_status); } &&
7237
{ ac_try='test -s conftest.$ac_objext'
7238
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7241
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7242
(exit $ac_status); }; }; then
7245
echo "$as_me: failed program was:" >&5
7246
cat conftest.$ac_ext >&5
7247
ac_cv_socklen_t=size_t
7250
rm -f conftest.$ac_objext conftest.$ac_ext
7253
rm -f conftest.$ac_objext conftest.$ac_ext
7255
ac_cpp='$CPP $CPPFLAGS'
7256
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7257
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7258
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7264
echo "$as_me:$LINENO: result: $ac_cv_socklen_t" >&5
7265
echo "${ECHO_T}$ac_cv_socklen_t" >&6
7266
if test "$ac_cv_socklen_t" != "socklen_t"; then
7268
cat >>confdefs.h <<_ACEOF
7269
#define socklen_t $ac_cv_socklen_t
7274
cat >>confdefs.h <<_ACEOF
7275
#define ksize_t socklen_t
7281
ac_cpp='$CPP $CPPFLAGS'
7282
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7283
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7284
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7286
echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
7287
echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
7288
if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
7289
echo $ECHO_N "(cached) $ECHO_C" >&6
7291
ac_check_lib_save_LIBS=$LIBS
7293
cat >conftest.$ac_ext <<_ACEOF
7294
#line $LINENO "configure"
7295
#include "confdefs.h"
7297
/* Override any gcc2 internal prototype to avoid an error. */
7301
/* We use char because int might match the return type of a gcc2
7302
builtin and then its argument prototype would still apply. */
7304
#ifdef F77_DUMMY_MAIN
7308
int F77_DUMMY_MAIN() { return 1; }
7318
rm -f conftest.$ac_objext conftest$ac_exeext
7319
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7320
(eval $ac_link) 2>&5
7322
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7323
(exit $ac_status); } &&
7324
{ ac_try='test -s conftest$ac_exeext'
7325
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7328
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7329
(exit $ac_status); }; }; then
7330
ac_cv_lib_dnet_dnet_ntoa=yes
7332
echo "$as_me: failed program was:" >&5
7333
cat conftest.$ac_ext >&5
7334
ac_cv_lib_dnet_dnet_ntoa=no
7336
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7337
LIBS=$ac_check_lib_save_LIBS
7339
echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
7340
echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
7341
if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
7342
X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
7345
if test $ac_cv_lib_dnet_dnet_ntoa = no; then
7346
echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
7347
echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
7348
if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
7349
echo $ECHO_N "(cached) $ECHO_C" >&6
7351
ac_check_lib_save_LIBS=$LIBS
7352
LIBS="-ldnet_stub $LIBS"
7353
cat >conftest.$ac_ext <<_ACEOF
7354
#line $LINENO "configure"
7355
#include "confdefs.h"
7357
/* Override any gcc2 internal prototype to avoid an error. */
7361
/* We use char because int might match the return type of a gcc2
7362
builtin and then its argument prototype would still apply. */
7364
#ifdef F77_DUMMY_MAIN
7368
int F77_DUMMY_MAIN() { return 1; }
7378
rm -f conftest.$ac_objext conftest$ac_exeext
7379
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7380
(eval $ac_link) 2>&5
7382
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7383
(exit $ac_status); } &&
7384
{ ac_try='test -s conftest$ac_exeext'
7385
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7388
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7389
(exit $ac_status); }; }; then
7390
ac_cv_lib_dnet_stub_dnet_ntoa=yes
7392
echo "$as_me: failed program was:" >&5
7393
cat conftest.$ac_ext >&5
7394
ac_cv_lib_dnet_stub_dnet_ntoa=no
7396
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7397
LIBS=$ac_check_lib_save_LIBS
7399
echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
7400
echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
7401
if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
7402
X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
7406
echo "$as_me:$LINENO: checking for inet_ntoa" >&5
7407
echo $ECHO_N "checking for inet_ntoa... $ECHO_C" >&6
7408
if test "${ac_cv_func_inet_ntoa+set}" = set; then
7409
echo $ECHO_N "(cached) $ECHO_C" >&6
7411
cat >conftest.$ac_ext <<_ACEOF
7412
#line $LINENO "configure"
7413
#include "confdefs.h"
7414
/* System header to define __stub macros and hopefully few prototypes,
7415
which can conflict with char inet_ntoa (); below. */
7417
/* Override any gcc2 internal prototype to avoid an error. */
7421
/* We use char because int might match the return type of a gcc2
7422
builtin and then its argument prototype would still apply. */
7426
#ifdef F77_DUMMY_MAIN
7430
int F77_DUMMY_MAIN() { return 1; }
7435
/* The GNU C library defines this for functions which it implements
7436
to always fail with ENOSYS. Some functions are actually named
7437
something starting with __ and the normal name is an alias. */
7438
#if defined (__stub_inet_ntoa) || defined (__stub___inet_ntoa)
7448
rm -f conftest.$ac_objext conftest$ac_exeext
7449
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7450
(eval $ac_link) 2>&5
7452
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7453
(exit $ac_status); } &&
7454
{ ac_try='test -s conftest$ac_exeext'
7455
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7458
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7459
(exit $ac_status); }; }; then
7460
ac_cv_func_inet_ntoa=yes
7462
echo "$as_me: failed program was:" >&5
7463
cat conftest.$ac_ext >&5
7464
ac_cv_func_inet_ntoa=no
7466
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7468
echo "$as_me:$LINENO: result: $ac_cv_func_inet_ntoa" >&5
7469
echo "${ECHO_T}$ac_cv_func_inet_ntoa" >&6
7471
if test $ac_cv_func_inet_ntoa = no; then
7472
echo "$as_me:$LINENO: checking for inet_ntoa in -lnsl" >&5
7473
echo $ECHO_N "checking for inet_ntoa in -lnsl... $ECHO_C" >&6
7474
if test "${ac_cv_lib_nsl_inet_ntoa+set}" = set; then
7475
echo $ECHO_N "(cached) $ECHO_C" >&6
7477
ac_check_lib_save_LIBS=$LIBS
7479
cat >conftest.$ac_ext <<_ACEOF
7480
#line $LINENO "configure"
7481
#include "confdefs.h"
7483
/* Override any gcc2 internal prototype to avoid an error. */
7487
/* We use char because int might match the return type of a gcc2
7488
builtin and then its argument prototype would still apply. */
7490
#ifdef F77_DUMMY_MAIN
7494
int F77_DUMMY_MAIN() { return 1; }
7504
rm -f conftest.$ac_objext conftest$ac_exeext
7505
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7506
(eval $ac_link) 2>&5
7508
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7509
(exit $ac_status); } &&
7510
{ ac_try='test -s conftest$ac_exeext'
7511
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7514
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7515
(exit $ac_status); }; }; then
7516
ac_cv_lib_nsl_inet_ntoa=yes
7518
echo "$as_me: failed program was:" >&5
7519
cat conftest.$ac_ext >&5
7520
ac_cv_lib_nsl_inet_ntoa=no
7522
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7523
LIBS=$ac_check_lib_save_LIBS
7525
echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_ntoa" >&5
7526
echo "${ECHO_T}$ac_cv_lib_nsl_inet_ntoa" >&6
7527
if test $ac_cv_lib_nsl_inet_ntoa = yes; then
7528
X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
7532
echo "$as_me:$LINENO: checking for connect" >&5
7533
echo $ECHO_N "checking for connect... $ECHO_C" >&6
7534
if test "${ac_cv_func_connect+set}" = set; then
7535
echo $ECHO_N "(cached) $ECHO_C" >&6
7537
cat >conftest.$ac_ext <<_ACEOF
7538
#line $LINENO "configure"
7539
#include "confdefs.h"
7540
/* System header to define __stub macros and hopefully few prototypes,
7541
which can conflict with char connect (); below. */
7543
/* Override any gcc2 internal prototype to avoid an error. */
7547
/* We use char because int might match the return type of a gcc2
7548
builtin and then its argument prototype would still apply. */
7552
#ifdef F77_DUMMY_MAIN
7556
int F77_DUMMY_MAIN() { return 1; }
7561
/* The GNU C library defines this for functions which it implements
7562
to always fail with ENOSYS. Some functions are actually named
7563
something starting with __ and the normal name is an alias. */
7564
#if defined (__stub_connect) || defined (__stub___connect)
7574
rm -f conftest.$ac_objext conftest$ac_exeext
7575
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7576
(eval $ac_link) 2>&5
7578
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7579
(exit $ac_status); } &&
7580
{ ac_try='test -s conftest$ac_exeext'
7581
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7584
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7585
(exit $ac_status); }; }; then
7586
ac_cv_func_connect=yes
7588
echo "$as_me: failed program was:" >&5
7589
cat conftest.$ac_ext >&5
7590
ac_cv_func_connect=no
7592
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7594
echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
7595
echo "${ECHO_T}$ac_cv_func_connect" >&6
7597
if test $ac_cv_func_connect = no; then
7598
echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
7599
echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
7600
if test "${ac_cv_lib_socket_connect+set}" = set; then
7601
echo $ECHO_N "(cached) $ECHO_C" >&6
7603
ac_check_lib_save_LIBS=$LIBS
7604
LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
7605
cat >conftest.$ac_ext <<_ACEOF
7606
#line $LINENO "configure"
7607
#include "confdefs.h"
7609
/* Override any gcc2 internal prototype to avoid an error. */
7613
/* We use char because int might match the return type of a gcc2
7614
builtin and then its argument prototype would still apply. */
7616
#ifdef F77_DUMMY_MAIN
7620
int F77_DUMMY_MAIN() { return 1; }
7630
rm -f conftest.$ac_objext conftest$ac_exeext
7631
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7632
(eval $ac_link) 2>&5
7634
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7635
(exit $ac_status); } &&
7636
{ ac_try='test -s conftest$ac_exeext'
7637
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7640
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7641
(exit $ac_status); }; }; then
7642
ac_cv_lib_socket_connect=yes
7644
echo "$as_me: failed program was:" >&5
7645
cat conftest.$ac_ext >&5
7646
ac_cv_lib_socket_connect=no
7648
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7649
LIBS=$ac_check_lib_save_LIBS
7651
echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
7652
echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
7653
if test $ac_cv_lib_socket_connect = yes; then
7654
X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
7659
echo "$as_me:$LINENO: checking for remove" >&5
7660
echo $ECHO_N "checking for remove... $ECHO_C" >&6
7661
if test "${ac_cv_func_remove+set}" = set; then
7662
echo $ECHO_N "(cached) $ECHO_C" >&6
7664
cat >conftest.$ac_ext <<_ACEOF
7665
#line $LINENO "configure"
7666
#include "confdefs.h"
7667
/* System header to define __stub macros and hopefully few prototypes,
7668
which can conflict with char remove (); below. */
7670
/* Override any gcc2 internal prototype to avoid an error. */
7674
/* We use char because int might match the return type of a gcc2
7675
builtin and then its argument prototype would still apply. */
7679
#ifdef F77_DUMMY_MAIN
7683
int F77_DUMMY_MAIN() { return 1; }
7688
/* The GNU C library defines this for functions which it implements
7689
to always fail with ENOSYS. Some functions are actually named
7690
something starting with __ and the normal name is an alias. */
7691
#if defined (__stub_remove) || defined (__stub___remove)
7701
rm -f conftest.$ac_objext conftest$ac_exeext
7702
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7703
(eval $ac_link) 2>&5
7705
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7706
(exit $ac_status); } &&
7707
{ ac_try='test -s conftest$ac_exeext'
7708
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7711
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7712
(exit $ac_status); }; }; then
7713
ac_cv_func_remove=yes
7715
echo "$as_me: failed program was:" >&5
7716
cat conftest.$ac_ext >&5
7717
ac_cv_func_remove=no
7719
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7721
echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
7722
echo "${ECHO_T}$ac_cv_func_remove" >&6
7724
if test $ac_cv_func_remove = no; then
7725
echo "$as_me:$LINENO: checking for remove in -lposix" >&5
7726
echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
7727
if test "${ac_cv_lib_posix_remove+set}" = set; then
7728
echo $ECHO_N "(cached) $ECHO_C" >&6
7730
ac_check_lib_save_LIBS=$LIBS
7731
LIBS="-lposix $LIBS"
7732
cat >conftest.$ac_ext <<_ACEOF
7733
#line $LINENO "configure"
7734
#include "confdefs.h"
7736
/* Override any gcc2 internal prototype to avoid an error. */
7740
/* We use char because int might match the return type of a gcc2
7741
builtin and then its argument prototype would still apply. */
7743
#ifdef F77_DUMMY_MAIN
7747
int F77_DUMMY_MAIN() { return 1; }
7757
rm -f conftest.$ac_objext conftest$ac_exeext
7758
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7759
(eval $ac_link) 2>&5
7761
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7762
(exit $ac_status); } &&
7763
{ ac_try='test -s conftest$ac_exeext'
7764
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7767
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7768
(exit $ac_status); }; }; then
7769
ac_cv_lib_posix_remove=yes
7771
echo "$as_me: failed program was:" >&5
7772
cat conftest.$ac_ext >&5
7773
ac_cv_lib_posix_remove=no
7775
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7776
LIBS=$ac_check_lib_save_LIBS
7778
echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
7779
echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
7780
if test $ac_cv_lib_posix_remove = yes; then
7781
X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
7786
# BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
7787
echo "$as_me:$LINENO: checking for shmat" >&5
7788
echo $ECHO_N "checking for shmat... $ECHO_C" >&6
7789
if test "${ac_cv_func_shmat+set}" = set; then
7790
echo $ECHO_N "(cached) $ECHO_C" >&6
7792
cat >conftest.$ac_ext <<_ACEOF
7793
#line $LINENO "configure"
7794
#include "confdefs.h"
7795
/* System header to define __stub macros and hopefully few prototypes,
7796
which can conflict with char shmat (); below. */
7798
/* Override any gcc2 internal prototype to avoid an error. */
7802
/* We use char because int might match the return type of a gcc2
7803
builtin and then its argument prototype would still apply. */
7807
#ifdef F77_DUMMY_MAIN
7811
int F77_DUMMY_MAIN() { return 1; }
7816
/* The GNU C library defines this for functions which it implements
7817
to always fail with ENOSYS. Some functions are actually named
7818
something starting with __ and the normal name is an alias. */
7819
#if defined (__stub_shmat) || defined (__stub___shmat)
7829
rm -f conftest.$ac_objext conftest$ac_exeext
7830
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7831
(eval $ac_link) 2>&5
7833
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7834
(exit $ac_status); } &&
7835
{ ac_try='test -s conftest$ac_exeext'
7836
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7839
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7840
(exit $ac_status); }; }; then
7841
ac_cv_func_shmat=yes
7843
echo "$as_me: failed program was:" >&5
7844
cat conftest.$ac_ext >&5
7847
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7849
echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
7850
echo "${ECHO_T}$ac_cv_func_shmat" >&6
7851
if test $ac_cv_func_shmat = yes; then
7854
echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
7855
echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
7856
if test "${ac_cv_lib_ipc_shmat+set}" = set; then
7857
echo $ECHO_N "(cached) $ECHO_C" >&6
7859
ac_check_lib_save_LIBS=$LIBS
7861
cat >conftest.$ac_ext <<_ACEOF
7862
#line $LINENO "configure"
7863
#include "confdefs.h"
7865
/* Override any gcc2 internal prototype to avoid an error. */
7869
/* We use char because int might match the return type of a gcc2
7870
builtin and then its argument prototype would still apply. */
7872
#ifdef F77_DUMMY_MAIN
7876
int F77_DUMMY_MAIN() { return 1; }
7886
rm -f conftest.$ac_objext conftest$ac_exeext
7887
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7888
(eval $ac_link) 2>&5
7890
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7891
(exit $ac_status); } &&
7892
{ ac_try='test -s conftest$ac_exeext'
7893
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7896
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7897
(exit $ac_status); }; }; then
7898
ac_cv_lib_ipc_shmat=yes
7900
echo "$as_me: failed program was:" >&5
7901
cat conftest.$ac_ext >&5
7902
ac_cv_lib_ipc_shmat=no
7904
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7905
LIBS=$ac_check_lib_save_LIBS
7907
echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
7908
echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
7909
if test $ac_cv_lib_ipc_shmat = yes; then
7910
X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
7916
# darwin needs this to initialize the environment
7918
for ac_header in crt_externs.h
7920
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7921
if eval "test \"\${$as_ac_Header+set}\" = set"; then
7922
echo "$as_me:$LINENO: checking for $ac_header" >&5
7923
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7924
if eval "test \"\${$as_ac_Header+set}\" = set"; then
7925
echo $ECHO_N "(cached) $ECHO_C" >&6
7927
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7928
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7930
# Is the header compilable?
7931
echo "$as_me:$LINENO: checking $ac_header usability" >&5
7932
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7933
cat >conftest.$ac_ext <<_ACEOF
7934
#line $LINENO "configure"
7935
#include "confdefs.h"
7936
$ac_includes_default
7937
#include <$ac_header>
7939
rm -f conftest.$ac_objext
7940
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7941
(eval $ac_compile) 2>&5
7943
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7944
(exit $ac_status); } &&
7945
{ ac_try='test -s conftest.$ac_objext'
7946
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7949
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7950
(exit $ac_status); }; }; then
7951
ac_header_compiler=yes
7953
echo "$as_me: failed program was:" >&5
7954
cat conftest.$ac_ext >&5
7955
ac_header_compiler=no
7957
rm -f conftest.$ac_objext conftest.$ac_ext
7958
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7959
echo "${ECHO_T}$ac_header_compiler" >&6
7961
# Is the header present?
7962
echo "$as_me:$LINENO: checking $ac_header presence" >&5
7963
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7964
cat >conftest.$ac_ext <<_ACEOF
7965
#line $LINENO "configure"
7966
#include "confdefs.h"
7967
#include <$ac_header>
7969
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7970
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7972
egrep -v '^ *\+' conftest.er1 >conftest.err
7974
cat conftest.err >&5
7975
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7976
(exit $ac_status); } >/dev/null; then
7977
if test -s conftest.err; then
7978
ac_cpp_err=$ac_c_preproc_warn_flag
7985
if test -z "$ac_cpp_err"; then
7986
ac_header_preproc=yes
7988
echo "$as_me: failed program was:" >&5
7989
cat conftest.$ac_ext >&5
7990
ac_header_preproc=no
7992
rm -f conftest.err conftest.$ac_ext
7993
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7994
echo "${ECHO_T}$ac_header_preproc" >&6
7996
# So? What about this header?
7997
case $ac_header_compiler:$ac_header_preproc in
7999
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8000
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8001
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8002
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
8004
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8005
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8006
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8007
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8008
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8009
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
8011
echo "$as_me:$LINENO: checking for $ac_header" >&5
8012
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8013
if eval "test \"\${$as_ac_Header+set}\" = set"; then
8014
echo $ECHO_N "(cached) $ECHO_C" >&6
8016
eval "$as_ac_Header=$ac_header_preproc"
8018
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8019
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8022
if test `eval echo '${'$as_ac_Header'}'` = yes; then
8023
cat >>confdefs.h <<_ACEOF
8024
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8031
echo "$as_me:$LINENO: checking for _NSGetEnviron" >&5
8032
echo $ECHO_N "checking for _NSGetEnviron... $ECHO_C" >&6
8033
if test "${ac_cv_func__NSGetEnviron+set}" = set; then
8034
echo $ECHO_N "(cached) $ECHO_C" >&6
8036
cat >conftest.$ac_ext <<_ACEOF
8037
#line $LINENO "configure"
8038
#include "confdefs.h"
8039
/* System header to define __stub macros and hopefully few prototypes,
8040
which can conflict with char _NSGetEnviron (); below. */
8042
/* Override any gcc2 internal prototype to avoid an error. */
8046
/* We use char because int might match the return type of a gcc2
8047
builtin and then its argument prototype would still apply. */
8048
char _NSGetEnviron ();
8051
#ifdef F77_DUMMY_MAIN
8055
int F77_DUMMY_MAIN() { return 1; }
8060
/* The GNU C library defines this for functions which it implements
8061
to always fail with ENOSYS. Some functions are actually named
8062
something starting with __ and the normal name is an alias. */
8063
#if defined (__stub__NSGetEnviron) || defined (__stub____NSGetEnviron)
8073
rm -f conftest.$ac_objext conftest$ac_exeext
8074
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8075
(eval $ac_link) 2>&5
8077
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8078
(exit $ac_status); } &&
8079
{ ac_try='test -s conftest$ac_exeext'
8080
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8083
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8084
(exit $ac_status); }; }; then
8085
ac_cv_func__NSGetEnviron=yes
8087
echo "$as_me: failed program was:" >&5
8088
cat conftest.$ac_ext >&5
8089
ac_cv_func__NSGetEnviron=no
8091
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8093
echo "$as_me:$LINENO: result: $ac_cv_func__NSGetEnviron" >&5
8094
echo "${ECHO_T}$ac_cv_func__NSGetEnviron" >&6
8095
if test $ac_cv_func__NSGetEnviron = yes; then
8097
cat >>confdefs.h <<\_ACEOF
8098
#define HAVE_NSGETENVIRON 1
8104
# more headers that need to be explicitly included on darwin
8107
for ac_header in sys/types.h stdint.h
8109
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8110
if eval "test \"\${$as_ac_Header+set}\" = set"; then
8111
echo "$as_me:$LINENO: checking for $ac_header" >&5
8112
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8113
if eval "test \"\${$as_ac_Header+set}\" = set"; then
8114
echo $ECHO_N "(cached) $ECHO_C" >&6
8116
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8117
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8119
# Is the header compilable?
8120
echo "$as_me:$LINENO: checking $ac_header usability" >&5
8121
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8122
cat >conftest.$ac_ext <<_ACEOF
8123
#line $LINENO "configure"
8124
#include "confdefs.h"
8125
$ac_includes_default
8126
#include <$ac_header>
8128
rm -f conftest.$ac_objext
8129
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8130
(eval $ac_compile) 2>&5
8132
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8133
(exit $ac_status); } &&
8134
{ ac_try='test -s conftest.$ac_objext'
8135
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8138
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8139
(exit $ac_status); }; }; then
8140
ac_header_compiler=yes
8142
echo "$as_me: failed program was:" >&5
8143
cat conftest.$ac_ext >&5
8144
ac_header_compiler=no
8146
rm -f conftest.$ac_objext conftest.$ac_ext
8147
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8148
echo "${ECHO_T}$ac_header_compiler" >&6
8150
# Is the header present?
8151
echo "$as_me:$LINENO: checking $ac_header presence" >&5
8152
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8153
cat >conftest.$ac_ext <<_ACEOF
8154
#line $LINENO "configure"
8155
#include "confdefs.h"
8156
#include <$ac_header>
8158
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8159
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8161
egrep -v '^ *\+' conftest.er1 >conftest.err
8163
cat conftest.err >&5
8164
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8165
(exit $ac_status); } >/dev/null; then
8166
if test -s conftest.err; then
8167
ac_cpp_err=$ac_c_preproc_warn_flag
8174
if test -z "$ac_cpp_err"; then
8175
ac_header_preproc=yes
8177
echo "$as_me: failed program was:" >&5
8178
cat conftest.$ac_ext >&5
8179
ac_header_preproc=no
8181
rm -f conftest.err conftest.$ac_ext
8182
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8183
echo "${ECHO_T}$ac_header_preproc" >&6
8185
# So? What about this header?
8186
case $ac_header_compiler:$ac_header_preproc in
8188
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8189
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8190
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8191
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
8193
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8194
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8195
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8196
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8197
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8198
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
8200
echo "$as_me:$LINENO: checking for $ac_header" >&5
8201
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8202
if eval "test \"\${$as_ac_Header+set}\" = set"; then
8203
echo $ECHO_N "(cached) $ECHO_C" >&6
8205
eval "$as_ac_Header=$ac_header_preproc"
8207
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8208
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8211
if test `eval echo '${'$as_ac_Header'}'` = yes; then
8212
cat >>confdefs.h <<_ACEOF
8213
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8221
# darwin requires a poll emulation library
8222
echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
8223
echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6
8224
if test "${ac_cv_lib_poll_poll+set}" = set; then
8225
echo $ECHO_N "(cached) $ECHO_C" >&6
8227
ac_check_lib_save_LIBS=$LIBS
8229
cat >conftest.$ac_ext <<_ACEOF
8230
#line $LINENO "configure"
8231
#include "confdefs.h"
8233
/* Override any gcc2 internal prototype to avoid an error. */
8237
/* We use char because int might match the return type of a gcc2
8238
builtin and then its argument prototype would still apply. */
8240
#ifdef F77_DUMMY_MAIN
8244
int F77_DUMMY_MAIN() { return 1; }
8254
rm -f conftest.$ac_objext conftest$ac_exeext
8255
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8256
(eval $ac_link) 2>&5
8258
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8259
(exit $ac_status); } &&
8260
{ ac_try='test -s conftest$ac_exeext'
8261
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8264
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8265
(exit $ac_status); }; }; then
8266
ac_cv_lib_poll_poll=yes
8268
echo "$as_me: failed program was:" >&5
8269
cat conftest.$ac_ext >&5
8270
ac_cv_lib_poll_poll=no
8272
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8273
LIBS=$ac_check_lib_save_LIBS
8275
echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
8276
echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6
8277
if test $ac_cv_lib_poll_poll = yes; then
8282
# CoreAudio framework
8283
if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
8284
echo "$as_me:$LINENO: checking for CoreAudio/CoreAudio.h" >&5
8285
echo $ECHO_N "checking for CoreAudio/CoreAudio.h... $ECHO_C" >&6
8286
if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
8287
echo $ECHO_N "(cached) $ECHO_C" >&6
8289
echo "$as_me:$LINENO: result: $ac_cv_header_CoreAudio_CoreAudio_h" >&5
8290
echo "${ECHO_T}$ac_cv_header_CoreAudio_CoreAudio_h" >&6
8292
# Is the header compilable?
8293
echo "$as_me:$LINENO: checking CoreAudio/CoreAudio.h usability" >&5
8294
echo $ECHO_N "checking CoreAudio/CoreAudio.h usability... $ECHO_C" >&6
8295
cat >conftest.$ac_ext <<_ACEOF
8296
#line $LINENO "configure"
8297
#include "confdefs.h"
8298
$ac_includes_default
8299
#include <CoreAudio/CoreAudio.h>
8301
rm -f conftest.$ac_objext
8302
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8303
(eval $ac_compile) 2>&5
8305
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8306
(exit $ac_status); } &&
8307
{ ac_try='test -s conftest.$ac_objext'
8308
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8311
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8312
(exit $ac_status); }; }; then
8313
ac_header_compiler=yes
8315
echo "$as_me: failed program was:" >&5
8316
cat conftest.$ac_ext >&5
8317
ac_header_compiler=no
8319
rm -f conftest.$ac_objext conftest.$ac_ext
8320
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8321
echo "${ECHO_T}$ac_header_compiler" >&6
8323
# Is the header present?
8324
echo "$as_me:$LINENO: checking CoreAudio/CoreAudio.h presence" >&5
8325
echo $ECHO_N "checking CoreAudio/CoreAudio.h presence... $ECHO_C" >&6
8326
cat >conftest.$ac_ext <<_ACEOF
8327
#line $LINENO "configure"
8328
#include "confdefs.h"
8329
#include <CoreAudio/CoreAudio.h>
8331
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8332
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8334
egrep -v '^ *\+' conftest.er1 >conftest.err
8336
cat conftest.err >&5
8337
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8338
(exit $ac_status); } >/dev/null; then
8339
if test -s conftest.err; then
8340
ac_cpp_err=$ac_c_preproc_warn_flag
8347
if test -z "$ac_cpp_err"; then
8348
ac_header_preproc=yes
8350
echo "$as_me: failed program was:" >&5
8351
cat conftest.$ac_ext >&5
8352
ac_header_preproc=no
8354
rm -f conftest.err conftest.$ac_ext
8355
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8356
echo "${ECHO_T}$ac_header_preproc" >&6
8358
# So? What about this header?
8359
case $ac_header_compiler:$ac_header_preproc in
8361
{ echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: accepted by the compiler, rejected by the preprocessor!" >&5
8362
echo "$as_me: WARNING: CoreAudio/CoreAudio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8363
{ echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: proceeding with the preprocessor's result" >&5
8364
echo "$as_me: WARNING: CoreAudio/CoreAudio.h: proceeding with the preprocessor's result" >&2;};;
8366
{ echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: present but cannot be compiled" >&5
8367
echo "$as_me: WARNING: CoreAudio/CoreAudio.h: present but cannot be compiled" >&2;}
8368
{ echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: check for missing prerequisite headers?" >&5
8369
echo "$as_me: WARNING: CoreAudio/CoreAudio.h: check for missing prerequisite headers?" >&2;}
8370
{ echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: proceeding with the preprocessor's result" >&5
8371
echo "$as_me: WARNING: CoreAudio/CoreAudio.h: proceeding with the preprocessor's result" >&2;};;
8373
echo "$as_me:$LINENO: checking for CoreAudio/CoreAudio.h" >&5
8374
echo $ECHO_N "checking for CoreAudio/CoreAudio.h... $ECHO_C" >&6
8375
if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
8376
echo $ECHO_N "(cached) $ECHO_C" >&6
8378
ac_cv_header_CoreAudio_CoreAudio_h=$ac_header_preproc
8380
echo "$as_me:$LINENO: result: $ac_cv_header_CoreAudio_CoreAudio_h" >&5
8381
echo "${ECHO_T}$ac_cv_header_CoreAudio_CoreAudio_h" >&6
8384
if test $ac_cv_header_CoreAudio_CoreAudio_h = yes; then
8387
cat >>confdefs.h <<\_ACEOF
8388
#define HAVE_COREAUDIO 1
8391
FRAMEWORK_COREAUDIO="-framework CoreAudio"
8398
echo "$as_me:$LINENO: checking if res_init needs -lresolv" >&5
8399
echo $ECHO_N "checking if res_init needs -lresolv... $ECHO_C" >&6
8400
kde_libs_safe="$LIBS"
8401
LIBS="$LIBS $X_EXTRA_LIBS -lresolv"
8402
cat >conftest.$ac_ext <<_ACEOF
8403
#line $LINENO "configure"
8404
#include "confdefs.h"
8406
#include <sys/types.h>
8407
#include <netinet/in.h>
8408
#include <arpa/nameser.h>
8411
#ifdef F77_DUMMY_MAIN
8415
int F77_DUMMY_MAIN() { return 1; }
8427
rm -f conftest.$ac_objext conftest$ac_exeext
8428
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8429
(eval $ac_link) 2>&5
8431
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8432
(exit $ac_status); } &&
8433
{ ac_try='test -s conftest$ac_exeext'
8434
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8437
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8438
(exit $ac_status); }; }; then
8440
LIBRESOLV="-lresolv"
8441
echo "$as_me:$LINENO: result: yes" >&5
8442
echo "${ECHO_T}yes" >&6
8444
cat >>confdefs.h <<\_ACEOF
8445
#define HAVE_RES_INIT 1
8450
echo "$as_me: failed program was:" >&5
8451
cat conftest.$ac_ext >&5
8452
echo "$as_me:$LINENO: result: no" >&5
8453
echo "${ECHO_T}no" >&6
8456
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8460
echo "$as_me:$LINENO: checking if res_init is available" >&5
8461
echo $ECHO_N "checking if res_init is available... $ECHO_C" >&6
8462
cat >conftest.$ac_ext <<_ACEOF
8463
#line $LINENO "configure"
8464
#include "confdefs.h"
8466
#include <sys/types.h>
8467
#include <netinet/in.h>
8468
#include <arpa/nameser.h>
8471
#ifdef F77_DUMMY_MAIN
8475
int F77_DUMMY_MAIN() { return 1; }
8487
rm -f conftest.$ac_objext
8488
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8489
(eval $ac_compile) 2>&5
8491
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8492
(exit $ac_status); } &&
8493
{ ac_try='test -s conftest.$ac_objext'
8494
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8497
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8498
(exit $ac_status); }; }; then
8500
echo "$as_me:$LINENO: result: yes" >&5
8501
echo "${ECHO_T}yes" >&6
8503
cat >>confdefs.h <<\_ACEOF
8504
#define HAVE_RES_INIT 1
8509
echo "$as_me: failed program was:" >&5
8510
cat conftest.$ac_ext >&5
8511
echo "$as_me:$LINENO: result: no" >&5
8512
echo "${ECHO_T}no" >&6
8515
rm -f conftest.$ac_objext conftest.$ac_ext
8519
LIBSOCKET="$X_EXTRA_LIBS"
8522
echo "$as_me:$LINENO: checking for killpg in -lucb" >&5
8523
echo $ECHO_N "checking for killpg in -lucb... $ECHO_C" >&6
8524
if test "${ac_cv_lib_ucb_killpg+set}" = set; then
8525
echo $ECHO_N "(cached) $ECHO_C" >&6
8527
ac_check_lib_save_LIBS=$LIBS
8529
cat >conftest.$ac_ext <<_ACEOF
8530
#line $LINENO "configure"
8531
#include "confdefs.h"
8533
/* Override any gcc2 internal prototype to avoid an error. */
8537
/* We use char because int might match the return type of a gcc2
8538
builtin and then its argument prototype would still apply. */
8540
#ifdef F77_DUMMY_MAIN
8544
int F77_DUMMY_MAIN() { return 1; }
8554
rm -f conftest.$ac_objext conftest$ac_exeext
8555
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8556
(eval $ac_link) 2>&5
8558
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8559
(exit $ac_status); } &&
8560
{ ac_try='test -s conftest$ac_exeext'
8561
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8564
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8565
(exit $ac_status); }; }; then
8566
ac_cv_lib_ucb_killpg=yes
8568
echo "$as_me: failed program was:" >&5
8569
cat conftest.$ac_ext >&5
8570
ac_cv_lib_ucb_killpg=no
8572
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8573
LIBS=$ac_check_lib_save_LIBS
8575
echo "$as_me:$LINENO: result: $ac_cv_lib_ucb_killpg" >&5
8576
echo "${ECHO_T}$ac_cv_lib_ucb_killpg" >&6
8577
if test $ac_cv_lib_ucb_killpg = yes; then
8582
case $host in *-*-lynxos* )
8583
echo "$as_me:$LINENO: checking LynxOS header file wrappers" >&5
8584
echo $ECHO_N "checking LynxOS header file wrappers... $ECHO_C" >&6
8585
CFLAGS="$CFLAGS -D__NO_INCLUDE_WARN__"
8586
echo "$as_me:$LINENO: result: disabled" >&5
8587
echo "${ECHO_T}disabled" >&6
8588
echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
8589
echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
8590
if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
8591
echo $ECHO_N "(cached) $ECHO_C" >&6
8593
ac_check_lib_save_LIBS=$LIBS
8595
cat >conftest.$ac_ext <<_ACEOF
8596
#line $LINENO "configure"
8597
#include "confdefs.h"
8599
/* Override any gcc2 internal prototype to avoid an error. */
8603
/* We use char because int might match the return type of a gcc2
8604
builtin and then its argument prototype would still apply. */
8605
char gethostbyname ();
8606
#ifdef F77_DUMMY_MAIN
8610
int F77_DUMMY_MAIN() { return 1; }
8620
rm -f conftest.$ac_objext conftest$ac_exeext
8621
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8622
(eval $ac_link) 2>&5
8624
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8625
(exit $ac_status); } &&
8626
{ ac_try='test -s conftest$ac_exeext'
8627
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8630
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8631
(exit $ac_status); }; }; then
8632
ac_cv_lib_bsd_gethostbyname=yes
8634
echo "$as_me: failed program was:" >&5
8635
cat conftest.$ac_ext >&5
8636
ac_cv_lib_bsd_gethostbyname=no
8638
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8639
LIBS=$ac_check_lib_save_LIBS
8641
echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
8642
echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
8643
if test $ac_cv_lib_bsd_gethostbyname = yes; then
8649
echo "$as_me:$LINENO: checking for int" >&5
8650
echo $ECHO_N "checking for int... $ECHO_C" >&6
8651
if test "${ac_cv_type_int+set}" = set; then
8652
echo $ECHO_N "(cached) $ECHO_C" >&6
8654
cat >conftest.$ac_ext <<_ACEOF
8655
#line $LINENO "configure"
8656
#include "confdefs.h"
8657
$ac_includes_default
8658
#ifdef F77_DUMMY_MAIN
8662
int F77_DUMMY_MAIN() { return 1; }
8675
rm -f conftest.$ac_objext
8676
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8677
(eval $ac_compile) 2>&5
8679
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8680
(exit $ac_status); } &&
8681
{ ac_try='test -s conftest.$ac_objext'
8682
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8685
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8686
(exit $ac_status); }; }; then
8689
echo "$as_me: failed program was:" >&5
8690
cat conftest.$ac_ext >&5
8693
rm -f conftest.$ac_objext conftest.$ac_ext
8695
echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
8696
echo "${ECHO_T}$ac_cv_type_int" >&6
8698
echo "$as_me:$LINENO: checking size of int" >&5
8699
echo $ECHO_N "checking size of int... $ECHO_C" >&6
8700
if test "${ac_cv_sizeof_int+set}" = set; then
8701
echo $ECHO_N "(cached) $ECHO_C" >&6
8703
if test "$ac_cv_type_int" = yes; then
8704
# The cast to unsigned long works around a bug in the HP C Compiler
8705
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8706
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8707
# This bug is HP SR number 8606223364.
8708
if test "$cross_compiling" = yes; then
8709
# Depending upon the size, compute the lo and hi bounds.
8710
cat >conftest.$ac_ext <<_ACEOF
8711
#line $LINENO "configure"
8712
#include "confdefs.h"
8713
$ac_includes_default
8714
#ifdef F77_DUMMY_MAIN
8718
int F77_DUMMY_MAIN() { return 1; }
8723
static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
8730
rm -f conftest.$ac_objext
8731
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8732
(eval $ac_compile) 2>&5
8734
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8735
(exit $ac_status); } &&
8736
{ ac_try='test -s conftest.$ac_objext'
8737
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8740
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8741
(exit $ac_status); }; }; then
8744
cat >conftest.$ac_ext <<_ACEOF
8745
#line $LINENO "configure"
8746
#include "confdefs.h"
8747
$ac_includes_default
8748
#ifdef F77_DUMMY_MAIN
8752
int F77_DUMMY_MAIN() { return 1; }
8757
static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
8764
rm -f conftest.$ac_objext
8765
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8766
(eval $ac_compile) 2>&5
8768
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8769
(exit $ac_status); } &&
8770
{ ac_try='test -s conftest.$ac_objext'
8771
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8774
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8775
(exit $ac_status); }; }; then
8776
ac_hi=$ac_mid; break
8778
echo "$as_me: failed program was:" >&5
8779
cat conftest.$ac_ext >&5
8780
ac_lo=`expr $ac_mid + 1`
8781
if test $ac_lo -le $ac_mid; then
8785
ac_mid=`expr 2 '*' $ac_mid + 1`
8787
rm -f conftest.$ac_objext conftest.$ac_ext
8790
echo "$as_me: failed program was:" >&5
8791
cat conftest.$ac_ext >&5
8792
cat >conftest.$ac_ext <<_ACEOF
8793
#line $LINENO "configure"
8794
#include "confdefs.h"
8795
$ac_includes_default
8796
#ifdef F77_DUMMY_MAIN
8800
int F77_DUMMY_MAIN() { return 1; }
8805
static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
8812
rm -f conftest.$ac_objext
8813
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8814
(eval $ac_compile) 2>&5
8816
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8817
(exit $ac_status); } &&
8818
{ ac_try='test -s conftest.$ac_objext'
8819
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8822
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8823
(exit $ac_status); }; }; then
8826
cat >conftest.$ac_ext <<_ACEOF
8827
#line $LINENO "configure"
8828
#include "confdefs.h"
8829
$ac_includes_default
8830
#ifdef F77_DUMMY_MAIN
8834
int F77_DUMMY_MAIN() { return 1; }
8839
static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
8846
rm -f conftest.$ac_objext
8847
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8848
(eval $ac_compile) 2>&5
8850
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8851
(exit $ac_status); } &&
8852
{ ac_try='test -s conftest.$ac_objext'
8853
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8856
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8857
(exit $ac_status); }; }; then
8858
ac_lo=$ac_mid; break
8860
echo "$as_me: failed program was:" >&5
8861
cat conftest.$ac_ext >&5
8862
ac_hi=`expr '(' $ac_mid ')' - 1`
8863
if test $ac_mid -le $ac_hi; then
8867
ac_mid=`expr 2 '*' $ac_mid`
8869
rm -f conftest.$ac_objext conftest.$ac_ext
8872
echo "$as_me: failed program was:" >&5
8873
cat conftest.$ac_ext >&5
8876
rm -f conftest.$ac_objext conftest.$ac_ext
8878
rm -f conftest.$ac_objext conftest.$ac_ext
8879
# Binary search between lo and hi bounds.
8880
while test "x$ac_lo" != "x$ac_hi"; do
8881
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
8882
cat >conftest.$ac_ext <<_ACEOF
8883
#line $LINENO "configure"
8884
#include "confdefs.h"
8885
$ac_includes_default
8886
#ifdef F77_DUMMY_MAIN
8890
int F77_DUMMY_MAIN() { return 1; }
8895
static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
8902
rm -f conftest.$ac_objext
8903
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8904
(eval $ac_compile) 2>&5
8906
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8907
(exit $ac_status); } &&
8908
{ ac_try='test -s conftest.$ac_objext'
8909
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8912
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8913
(exit $ac_status); }; }; then
8916
echo "$as_me: failed program was:" >&5
8917
cat conftest.$ac_ext >&5
8918
ac_lo=`expr '(' $ac_mid ')' + 1`
8920
rm -f conftest.$ac_objext conftest.$ac_ext
8923
?*) ac_cv_sizeof_int=$ac_lo;;
8924
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77" >&5
8925
echo "$as_me: error: cannot compute sizeof (int), 77" >&2;}
8926
{ (exit 1); exit 1; }; } ;;
8929
if test "$cross_compiling" = yes; then
8930
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
8931
echo "$as_me: error: cannot run test program while cross compiling" >&2;}
8932
{ (exit 1); exit 1; }; }
8934
cat >conftest.$ac_ext <<_ACEOF
8935
#line $LINENO "configure"
8936
#include "confdefs.h"
8937
$ac_includes_default
8938
long longval () { return (long) (sizeof (int)); }
8939
unsigned long ulongval () { return (long) (sizeof (int)); }
8942
#ifdef F77_DUMMY_MAIN
8946
int F77_DUMMY_MAIN() { return 1; }
8952
FILE *f = fopen ("conftest.val", "w");
8955
if (((long) (sizeof (int))) < 0)
8957
long i = longval ();
8958
if (i != ((long) (sizeof (int))))
8960
fprintf (f, "%ld\n", i);
8964
unsigned long i = ulongval ();
8965
if (i != ((long) (sizeof (int))))
8967
fprintf (f, "%lu\n", i);
8969
exit (ferror (f) || fclose (f) != 0);
8975
rm -f conftest$ac_exeext
8976
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8977
(eval $ac_link) 2>&5
8979
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8980
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8981
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8984
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8985
(exit $ac_status); }; }; then
8986
ac_cv_sizeof_int=`cat conftest.val`
8988
echo "$as_me: program exited with status $ac_status" >&5
8989
echo "$as_me: failed program was:" >&5
8990
cat conftest.$ac_ext >&5
8992
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77" >&5
8993
echo "$as_me: error: cannot compute sizeof (int), 77" >&2;}
8994
{ (exit 1); exit 1; }; }
8996
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9004
echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
9005
echo "${ECHO_T}$ac_cv_sizeof_int" >&6
9006
cat >>confdefs.h <<_ACEOF
9007
#define SIZEOF_INT $ac_cv_sizeof_int
9010
echo "$as_me:$LINENO: checking for long" >&5
9011
echo $ECHO_N "checking for long... $ECHO_C" >&6
9012
if test "${ac_cv_type_long+set}" = set; then
9013
echo $ECHO_N "(cached) $ECHO_C" >&6
9015
cat >conftest.$ac_ext <<_ACEOF
9016
#line $LINENO "configure"
9017
#include "confdefs.h"
9018
$ac_includes_default
9019
#ifdef F77_DUMMY_MAIN
9023
int F77_DUMMY_MAIN() { return 1; }
9036
rm -f conftest.$ac_objext
9037
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9038
(eval $ac_compile) 2>&5
9040
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9041
(exit $ac_status); } &&
9042
{ ac_try='test -s conftest.$ac_objext'
9043
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9046
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9047
(exit $ac_status); }; }; then
9050
echo "$as_me: failed program was:" >&5
9051
cat conftest.$ac_ext >&5
9054
rm -f conftest.$ac_objext conftest.$ac_ext
9056
echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
9057
echo "${ECHO_T}$ac_cv_type_long" >&6
9059
echo "$as_me:$LINENO: checking size of long" >&5
9060
echo $ECHO_N "checking size of long... $ECHO_C" >&6
9061
if test "${ac_cv_sizeof_long+set}" = set; then
9062
echo $ECHO_N "(cached) $ECHO_C" >&6
9064
if test "$ac_cv_type_long" = yes; then
9065
# The cast to unsigned long works around a bug in the HP C Compiler
9066
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
9067
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
9068
# This bug is HP SR number 8606223364.
9069
if test "$cross_compiling" = yes; then
9070
# Depending upon the size, compute the lo and hi bounds.
9071
cat >conftest.$ac_ext <<_ACEOF
9072
#line $LINENO "configure"
9073
#include "confdefs.h"
9074
$ac_includes_default
9075
#ifdef F77_DUMMY_MAIN
9079
int F77_DUMMY_MAIN() { return 1; }
9084
static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
9091
rm -f conftest.$ac_objext
9092
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9093
(eval $ac_compile) 2>&5
9095
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9096
(exit $ac_status); } &&
9097
{ ac_try='test -s conftest.$ac_objext'
9098
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9101
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9102
(exit $ac_status); }; }; then
9105
cat >conftest.$ac_ext <<_ACEOF
9106
#line $LINENO "configure"
9107
#include "confdefs.h"
9108
$ac_includes_default
9109
#ifdef F77_DUMMY_MAIN
9113
int F77_DUMMY_MAIN() { return 1; }
9118
static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
9125
rm -f conftest.$ac_objext
9126
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9127
(eval $ac_compile) 2>&5
9129
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9130
(exit $ac_status); } &&
9131
{ ac_try='test -s conftest.$ac_objext'
9132
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9135
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9136
(exit $ac_status); }; }; then
9137
ac_hi=$ac_mid; break
9139
echo "$as_me: failed program was:" >&5
9140
cat conftest.$ac_ext >&5
9141
ac_lo=`expr $ac_mid + 1`
9142
if test $ac_lo -le $ac_mid; then
9146
ac_mid=`expr 2 '*' $ac_mid + 1`
9148
rm -f conftest.$ac_objext conftest.$ac_ext
9151
echo "$as_me: failed program was:" >&5
9152
cat conftest.$ac_ext >&5
9153
cat >conftest.$ac_ext <<_ACEOF
9154
#line $LINENO "configure"
9155
#include "confdefs.h"
9156
$ac_includes_default
9157
#ifdef F77_DUMMY_MAIN
9161
int F77_DUMMY_MAIN() { return 1; }
9166
static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
9173
rm -f conftest.$ac_objext
9174
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9175
(eval $ac_compile) 2>&5
9177
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9178
(exit $ac_status); } &&
9179
{ ac_try='test -s conftest.$ac_objext'
9180
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9183
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9184
(exit $ac_status); }; }; then
9187
cat >conftest.$ac_ext <<_ACEOF
9188
#line $LINENO "configure"
9189
#include "confdefs.h"
9190
$ac_includes_default
9191
#ifdef F77_DUMMY_MAIN
9195
int F77_DUMMY_MAIN() { return 1; }
9200
static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
9207
rm -f conftest.$ac_objext
9208
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9209
(eval $ac_compile) 2>&5
9211
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9212
(exit $ac_status); } &&
9213
{ ac_try='test -s conftest.$ac_objext'
9214
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9217
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9218
(exit $ac_status); }; }; then
9219
ac_lo=$ac_mid; break
9221
echo "$as_me: failed program was:" >&5
9222
cat conftest.$ac_ext >&5
9223
ac_hi=`expr '(' $ac_mid ')' - 1`
9224
if test $ac_mid -le $ac_hi; then
9228
ac_mid=`expr 2 '*' $ac_mid`
9230
rm -f conftest.$ac_objext conftest.$ac_ext
9233
echo "$as_me: failed program was:" >&5
9234
cat conftest.$ac_ext >&5
9237
rm -f conftest.$ac_objext conftest.$ac_ext
9239
rm -f conftest.$ac_objext conftest.$ac_ext
9240
# Binary search between lo and hi bounds.
9241
while test "x$ac_lo" != "x$ac_hi"; do
9242
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
9243
cat >conftest.$ac_ext <<_ACEOF
9244
#line $LINENO "configure"
9245
#include "confdefs.h"
9246
$ac_includes_default
9247
#ifdef F77_DUMMY_MAIN
9251
int F77_DUMMY_MAIN() { return 1; }
9256
static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
9263
rm -f conftest.$ac_objext
9264
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9265
(eval $ac_compile) 2>&5
9267
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9268
(exit $ac_status); } &&
9269
{ ac_try='test -s conftest.$ac_objext'
9270
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9273
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9274
(exit $ac_status); }; }; then
9277
echo "$as_me: failed program was:" >&5
9278
cat conftest.$ac_ext >&5
9279
ac_lo=`expr '(' $ac_mid ')' + 1`
9281
rm -f conftest.$ac_objext conftest.$ac_ext
9284
?*) ac_cv_sizeof_long=$ac_lo;;
9285
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77" >&5
9286
echo "$as_me: error: cannot compute sizeof (long), 77" >&2;}
9287
{ (exit 1); exit 1; }; } ;;
9290
if test "$cross_compiling" = yes; then
9291
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
9292
echo "$as_me: error: cannot run test program while cross compiling" >&2;}
9293
{ (exit 1); exit 1; }; }
9295
cat >conftest.$ac_ext <<_ACEOF
9296
#line $LINENO "configure"
9297
#include "confdefs.h"
9298
$ac_includes_default
9299
long longval () { return (long) (sizeof (long)); }
9300
unsigned long ulongval () { return (long) (sizeof (long)); }
9303
#ifdef F77_DUMMY_MAIN
9307
int F77_DUMMY_MAIN() { return 1; }
9313
FILE *f = fopen ("conftest.val", "w");
9316
if (((long) (sizeof (long))) < 0)
9318
long i = longval ();
9319
if (i != ((long) (sizeof (long))))
9321
fprintf (f, "%ld\n", i);
9325
unsigned long i = ulongval ();
9326
if (i != ((long) (sizeof (long))))
9328
fprintf (f, "%lu\n", i);
9330
exit (ferror (f) || fclose (f) != 0);
9336
rm -f conftest$ac_exeext
9337
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9338
(eval $ac_link) 2>&5
9340
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9341
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9342
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9345
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9346
(exit $ac_status); }; }; then
9347
ac_cv_sizeof_long=`cat conftest.val`
9349
echo "$as_me: program exited with status $ac_status" >&5
9350
echo "$as_me: failed program was:" >&5
9351
cat conftest.$ac_ext >&5
9353
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77" >&5
9354
echo "$as_me: error: cannot compute sizeof (long), 77" >&2;}
9355
{ (exit 1); exit 1; }; }
9357
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9365
echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
9366
echo "${ECHO_T}$ac_cv_sizeof_long" >&6
9367
cat >>confdefs.h <<_ACEOF
9368
#define SIZEOF_LONG $ac_cv_sizeof_long
9371
echo "$as_me:$LINENO: checking for char *" >&5
9372
echo $ECHO_N "checking for char *... $ECHO_C" >&6
9373
if test "${ac_cv_type_char_p+set}" = set; then
9374
echo $ECHO_N "(cached) $ECHO_C" >&6
9376
cat >conftest.$ac_ext <<_ACEOF
9377
#line $LINENO "configure"
9378
#include "confdefs.h"
9379
$ac_includes_default
9380
#ifdef F77_DUMMY_MAIN
9384
int F77_DUMMY_MAIN() { return 1; }
9391
if (sizeof (char *))
9397
rm -f conftest.$ac_objext
9398
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9399
(eval $ac_compile) 2>&5
9401
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9402
(exit $ac_status); } &&
9403
{ ac_try='test -s conftest.$ac_objext'
9404
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9407
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9408
(exit $ac_status); }; }; then
9409
ac_cv_type_char_p=yes
9411
echo "$as_me: failed program was:" >&5
9412
cat conftest.$ac_ext >&5
9413
ac_cv_type_char_p=no
9415
rm -f conftest.$ac_objext conftest.$ac_ext
9417
echo "$as_me:$LINENO: result: $ac_cv_type_char_p" >&5
9418
echo "${ECHO_T}$ac_cv_type_char_p" >&6
9420
echo "$as_me:$LINENO: checking size of char *" >&5
9421
echo $ECHO_N "checking size of char *... $ECHO_C" >&6
9422
if test "${ac_cv_sizeof_char_p+set}" = set; then
9423
echo $ECHO_N "(cached) $ECHO_C" >&6
9425
if test "$ac_cv_type_char_p" = yes; then
9426
# The cast to unsigned long works around a bug in the HP C Compiler
9427
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
9428
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
9429
# This bug is HP SR number 8606223364.
9430
if test "$cross_compiling" = yes; then
9431
# Depending upon the size, compute the lo and hi bounds.
9432
cat >conftest.$ac_ext <<_ACEOF
9433
#line $LINENO "configure"
9434
#include "confdefs.h"
9435
$ac_includes_default
9436
#ifdef F77_DUMMY_MAIN
9440
int F77_DUMMY_MAIN() { return 1; }
9445
static int test_array [1 - 2 * !(((long) (sizeof (char *))) >= 0)];
9452
rm -f conftest.$ac_objext
9453
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9454
(eval $ac_compile) 2>&5
9456
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9457
(exit $ac_status); } &&
9458
{ ac_try='test -s conftest.$ac_objext'
9459
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9462
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9463
(exit $ac_status); }; }; then
9466
cat >conftest.$ac_ext <<_ACEOF
9467
#line $LINENO "configure"
9468
#include "confdefs.h"
9469
$ac_includes_default
9470
#ifdef F77_DUMMY_MAIN
9474
int F77_DUMMY_MAIN() { return 1; }
9479
static int test_array [1 - 2 * !(((long) (sizeof (char *))) <= $ac_mid)];
9486
rm -f conftest.$ac_objext
9487
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9488
(eval $ac_compile) 2>&5
9490
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9491
(exit $ac_status); } &&
9492
{ ac_try='test -s conftest.$ac_objext'
9493
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9496
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9497
(exit $ac_status); }; }; then
9498
ac_hi=$ac_mid; break
9500
echo "$as_me: failed program was:" >&5
9501
cat conftest.$ac_ext >&5
9502
ac_lo=`expr $ac_mid + 1`
9503
if test $ac_lo -le $ac_mid; then
9507
ac_mid=`expr 2 '*' $ac_mid + 1`
9509
rm -f conftest.$ac_objext conftest.$ac_ext
9512
echo "$as_me: failed program was:" >&5
9513
cat conftest.$ac_ext >&5
9514
cat >conftest.$ac_ext <<_ACEOF
9515
#line $LINENO "configure"
9516
#include "confdefs.h"
9517
$ac_includes_default
9518
#ifdef F77_DUMMY_MAIN
9522
int F77_DUMMY_MAIN() { return 1; }
9527
static int test_array [1 - 2 * !(((long) (sizeof (char *))) < 0)];
9534
rm -f conftest.$ac_objext
9535
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9536
(eval $ac_compile) 2>&5
9538
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9539
(exit $ac_status); } &&
9540
{ ac_try='test -s conftest.$ac_objext'
9541
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9544
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9545
(exit $ac_status); }; }; then
9548
cat >conftest.$ac_ext <<_ACEOF
9549
#line $LINENO "configure"
9550
#include "confdefs.h"
9551
$ac_includes_default
9552
#ifdef F77_DUMMY_MAIN
9556
int F77_DUMMY_MAIN() { return 1; }
9561
static int test_array [1 - 2 * !(((long) (sizeof (char *))) >= $ac_mid)];
9568
rm -f conftest.$ac_objext
9569
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9570
(eval $ac_compile) 2>&5
9572
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9573
(exit $ac_status); } &&
9574
{ ac_try='test -s conftest.$ac_objext'
9575
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9578
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9579
(exit $ac_status); }; }; then
9580
ac_lo=$ac_mid; break
9582
echo "$as_me: failed program was:" >&5
9583
cat conftest.$ac_ext >&5
9584
ac_hi=`expr '(' $ac_mid ')' - 1`
9585
if test $ac_mid -le $ac_hi; then
9589
ac_mid=`expr 2 '*' $ac_mid`
9591
rm -f conftest.$ac_objext conftest.$ac_ext
9594
echo "$as_me: failed program was:" >&5
9595
cat conftest.$ac_ext >&5
9598
rm -f conftest.$ac_objext conftest.$ac_ext
9600
rm -f conftest.$ac_objext conftest.$ac_ext
9601
# Binary search between lo and hi bounds.
9602
while test "x$ac_lo" != "x$ac_hi"; do
9603
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
9604
cat >conftest.$ac_ext <<_ACEOF
9605
#line $LINENO "configure"
9606
#include "confdefs.h"
9607
$ac_includes_default
9608
#ifdef F77_DUMMY_MAIN
9612
int F77_DUMMY_MAIN() { return 1; }
9617
static int test_array [1 - 2 * !(((long) (sizeof (char *))) <= $ac_mid)];
9624
rm -f conftest.$ac_objext
9625
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9626
(eval $ac_compile) 2>&5
9628
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9629
(exit $ac_status); } &&
9630
{ ac_try='test -s conftest.$ac_objext'
9631
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9634
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9635
(exit $ac_status); }; }; then
9638
echo "$as_me: failed program was:" >&5
9639
cat conftest.$ac_ext >&5
9640
ac_lo=`expr '(' $ac_mid ')' + 1`
9642
rm -f conftest.$ac_objext conftest.$ac_ext
9645
?*) ac_cv_sizeof_char_p=$ac_lo;;
9646
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char *), 77" >&5
9647
echo "$as_me: error: cannot compute sizeof (char *), 77" >&2;}
9648
{ (exit 1); exit 1; }; } ;;
9651
if test "$cross_compiling" = yes; then
9652
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
9653
echo "$as_me: error: cannot run test program while cross compiling" >&2;}
9654
{ (exit 1); exit 1; }; }
9656
cat >conftest.$ac_ext <<_ACEOF
9657
#line $LINENO "configure"
9658
#include "confdefs.h"
9659
$ac_includes_default
9660
long longval () { return (long) (sizeof (char *)); }
9661
unsigned long ulongval () { return (long) (sizeof (char *)); }
9664
#ifdef F77_DUMMY_MAIN
9668
int F77_DUMMY_MAIN() { return 1; }
9674
FILE *f = fopen ("conftest.val", "w");
9677
if (((long) (sizeof (char *))) < 0)
9679
long i = longval ();
9680
if (i != ((long) (sizeof (char *))))
9682
fprintf (f, "%ld\n", i);
9686
unsigned long i = ulongval ();
9687
if (i != ((long) (sizeof (char *))))
9689
fprintf (f, "%lu\n", i);
9691
exit (ferror (f) || fclose (f) != 0);
9697
rm -f conftest$ac_exeext
9698
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9699
(eval $ac_link) 2>&5
9701
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9702
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9703
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9706
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9707
(exit $ac_status); }; }; then
9708
ac_cv_sizeof_char_p=`cat conftest.val`
9710
echo "$as_me: program exited with status $ac_status" >&5
9711
echo "$as_me: failed program was:" >&5
9712
cat conftest.$ac_ext >&5
9714
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (char *), 77" >&5
9715
echo "$as_me: error: cannot compute sizeof (char *), 77" >&2;}
9716
{ (exit 1); exit 1; }; }
9718
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9723
ac_cv_sizeof_char_p=0
9726
echo "$as_me:$LINENO: result: $ac_cv_sizeof_char_p" >&5
9727
echo "${ECHO_T}$ac_cv_sizeof_char_p" >&6
9728
cat >>confdefs.h <<_ACEOF
9729
#define SIZEOF_CHAR_P $ac_cv_sizeof_char_p
9734
echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9735
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9736
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9737
echo $ECHO_N "(cached) $ECHO_C" >&6
9739
ac_check_lib_save_LIBS=$LIBS
9741
cat >conftest.$ac_ext <<_ACEOF
9742
#line $LINENO "configure"
9743
#include "confdefs.h"
9745
/* Override any gcc2 internal prototype to avoid an error. */
9749
/* We use char because int might match the return type of a gcc2
9750
builtin and then its argument prototype would still apply. */
9752
#ifdef F77_DUMMY_MAIN
9756
int F77_DUMMY_MAIN() { return 1; }
9766
rm -f conftest.$ac_objext conftest$ac_exeext
9767
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9768
(eval $ac_link) 2>&5
9770
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9771
(exit $ac_status); } &&
9772
{ ac_try='test -s conftest$ac_exeext'
9773
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9776
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9777
(exit $ac_status); }; }; then
9778
ac_cv_lib_dl_dlopen=yes
9780
echo "$as_me: failed program was:" >&5
9781
cat conftest.$ac_ext >&5
9782
ac_cv_lib_dl_dlopen=no
9784
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9785
LIBS=$ac_check_lib_save_LIBS
9787
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9788
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9789
if test $ac_cv_lib_dl_dlopen = yes; then
9792
ac_cv_have_dlfcn=yes
9797
echo "$as_me:$LINENO: checking for shl_unload in -ldld" >&5
9798
echo $ECHO_N "checking for shl_unload in -ldld... $ECHO_C" >&6
9799
if test "${ac_cv_lib_dld_shl_unload+set}" = set; then
9800
echo $ECHO_N "(cached) $ECHO_C" >&6
9802
ac_check_lib_save_LIBS=$LIBS
9804
cat >conftest.$ac_ext <<_ACEOF
9805
#line $LINENO "configure"
9806
#include "confdefs.h"
9808
/* Override any gcc2 internal prototype to avoid an error. */
9812
/* We use char because int might match the return type of a gcc2
9813
builtin and then its argument prototype would still apply. */
9815
#ifdef F77_DUMMY_MAIN
9819
int F77_DUMMY_MAIN() { return 1; }
9829
rm -f conftest.$ac_objext conftest$ac_exeext
9830
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9831
(eval $ac_link) 2>&5
9833
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9834
(exit $ac_status); } &&
9835
{ ac_try='test -s conftest$ac_exeext'
9836
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9839
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9840
(exit $ac_status); }; }; then
9841
ac_cv_lib_dld_shl_unload=yes
9843
echo "$as_me: failed program was:" >&5
9844
cat conftest.$ac_ext >&5
9845
ac_cv_lib_dld_shl_unload=no
9847
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9848
LIBS=$ac_check_lib_save_LIBS
9850
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_unload" >&5
9851
echo "${ECHO_T}$ac_cv_lib_dld_shl_unload" >&6
9852
if test $ac_cv_lib_dld_shl_unload = yes; then
9855
ac_cv_have_shload=yes
9865
echo "$as_me:$LINENO: checking for size_t" >&5
9866
echo $ECHO_N "checking for size_t... $ECHO_C" >&6
9867
if test "${ac_cv_type_size_t+set}" = set; then
9868
echo $ECHO_N "(cached) $ECHO_C" >&6
9870
cat >conftest.$ac_ext <<_ACEOF
9871
#line $LINENO "configure"
9872
#include "confdefs.h"
9873
$ac_includes_default
9874
#ifdef F77_DUMMY_MAIN
9878
int F77_DUMMY_MAIN() { return 1; }
9885
if (sizeof (size_t))
9891
rm -f conftest.$ac_objext
9892
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9893
(eval $ac_compile) 2>&5
9895
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9896
(exit $ac_status); } &&
9897
{ ac_try='test -s conftest.$ac_objext'
9898
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9901
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9902
(exit $ac_status); }; }; then
9903
ac_cv_type_size_t=yes
9905
echo "$as_me: failed program was:" >&5
9906
cat conftest.$ac_ext >&5
9907
ac_cv_type_size_t=no
9909
rm -f conftest.$ac_objext conftest.$ac_ext
9911
echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
9912
echo "${ECHO_T}$ac_cv_type_size_t" >&6
9914
echo "$as_me:$LINENO: checking size of size_t" >&5
9915
echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
9916
if test "${ac_cv_sizeof_size_t+set}" = set; then
9917
echo $ECHO_N "(cached) $ECHO_C" >&6
9919
if test "$ac_cv_type_size_t" = yes; then
9920
# The cast to unsigned long works around a bug in the HP C Compiler
9921
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
9922
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
9923
# This bug is HP SR number 8606223364.
9924
if test "$cross_compiling" = yes; then
9925
# Depending upon the size, compute the lo and hi bounds.
9926
cat >conftest.$ac_ext <<_ACEOF
9927
#line $LINENO "configure"
9928
#include "confdefs.h"
9929
$ac_includes_default
9930
#ifdef F77_DUMMY_MAIN
9934
int F77_DUMMY_MAIN() { return 1; }
9939
static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
9946
rm -f conftest.$ac_objext
9947
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9948
(eval $ac_compile) 2>&5
9950
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9951
(exit $ac_status); } &&
9952
{ ac_try='test -s conftest.$ac_objext'
9953
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9956
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9957
(exit $ac_status); }; }; then
9960
cat >conftest.$ac_ext <<_ACEOF
9961
#line $LINENO "configure"
9962
#include "confdefs.h"
9963
$ac_includes_default
9964
#ifdef F77_DUMMY_MAIN
9968
int F77_DUMMY_MAIN() { return 1; }
9973
static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
9980
rm -f conftest.$ac_objext
9981
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9982
(eval $ac_compile) 2>&5
9984
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9985
(exit $ac_status); } &&
9986
{ ac_try='test -s conftest.$ac_objext'
9987
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9990
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9991
(exit $ac_status); }; }; then
9992
ac_hi=$ac_mid; break
9994
echo "$as_me: failed program was:" >&5
9995
cat conftest.$ac_ext >&5
9996
ac_lo=`expr $ac_mid + 1`
9997
if test $ac_lo -le $ac_mid; then
10001
ac_mid=`expr 2 '*' $ac_mid + 1`
10003
rm -f conftest.$ac_objext conftest.$ac_ext
10006
echo "$as_me: failed program was:" >&5
10007
cat conftest.$ac_ext >&5
10008
cat >conftest.$ac_ext <<_ACEOF
10009
#line $LINENO "configure"
10010
#include "confdefs.h"
10011
$ac_includes_default
10012
#ifdef F77_DUMMY_MAIN
10013
# ifdef __cplusplus
10016
int F77_DUMMY_MAIN() { return 1; }
10021
static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
10028
rm -f conftest.$ac_objext
10029
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10030
(eval $ac_compile) 2>&5
10032
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10033
(exit $ac_status); } &&
10034
{ ac_try='test -s conftest.$ac_objext'
10035
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10036
(eval $ac_try) 2>&5
10038
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10039
(exit $ac_status); }; }; then
10042
cat >conftest.$ac_ext <<_ACEOF
10043
#line $LINENO "configure"
10044
#include "confdefs.h"
10045
$ac_includes_default
10046
#ifdef F77_DUMMY_MAIN
10047
# ifdef __cplusplus
10050
int F77_DUMMY_MAIN() { return 1; }
10055
static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
10062
rm -f conftest.$ac_objext
10063
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10064
(eval $ac_compile) 2>&5
10066
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10067
(exit $ac_status); } &&
10068
{ ac_try='test -s conftest.$ac_objext'
10069
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10070
(eval $ac_try) 2>&5
10072
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10073
(exit $ac_status); }; }; then
10074
ac_lo=$ac_mid; break
10076
echo "$as_me: failed program was:" >&5
10077
cat conftest.$ac_ext >&5
10078
ac_hi=`expr '(' $ac_mid ')' - 1`
10079
if test $ac_mid -le $ac_hi; then
10083
ac_mid=`expr 2 '*' $ac_mid`
10085
rm -f conftest.$ac_objext conftest.$ac_ext
10088
echo "$as_me: failed program was:" >&5
10089
cat conftest.$ac_ext >&5
10092
rm -f conftest.$ac_objext conftest.$ac_ext
10094
rm -f conftest.$ac_objext conftest.$ac_ext
10095
# Binary search between lo and hi bounds.
10096
while test "x$ac_lo" != "x$ac_hi"; do
10097
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
10098
cat >conftest.$ac_ext <<_ACEOF
10099
#line $LINENO "configure"
10100
#include "confdefs.h"
10101
$ac_includes_default
10102
#ifdef F77_DUMMY_MAIN
10103
# ifdef __cplusplus
10106
int F77_DUMMY_MAIN() { return 1; }
10111
static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
10118
rm -f conftest.$ac_objext
10119
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10120
(eval $ac_compile) 2>&5
10122
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10123
(exit $ac_status); } &&
10124
{ ac_try='test -s conftest.$ac_objext'
10125
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10126
(eval $ac_try) 2>&5
10128
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10129
(exit $ac_status); }; }; then
10132
echo "$as_me: failed program was:" >&5
10133
cat conftest.$ac_ext >&5
10134
ac_lo=`expr '(' $ac_mid ')' + 1`
10136
rm -f conftest.$ac_objext conftest.$ac_ext
10139
?*) ac_cv_sizeof_size_t=$ac_lo;;
10140
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77" >&5
10141
echo "$as_me: error: cannot compute sizeof (size_t), 77" >&2;}
10142
{ (exit 1); exit 1; }; } ;;
10145
if test "$cross_compiling" = yes; then
10146
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
10147
echo "$as_me: error: cannot run test program while cross compiling" >&2;}
10148
{ (exit 1); exit 1; }; }
10150
cat >conftest.$ac_ext <<_ACEOF
10151
#line $LINENO "configure"
10152
#include "confdefs.h"
10153
$ac_includes_default
10154
long longval () { return (long) (sizeof (size_t)); }
10155
unsigned long ulongval () { return (long) (sizeof (size_t)); }
10157
#include <stdlib.h>
10158
#ifdef F77_DUMMY_MAIN
10159
# ifdef __cplusplus
10162
int F77_DUMMY_MAIN() { return 1; }
10168
FILE *f = fopen ("conftest.val", "w");
10171
if (((long) (sizeof (size_t))) < 0)
10173
long i = longval ();
10174
if (i != ((long) (sizeof (size_t))))
10176
fprintf (f, "%ld\n", i);
10180
unsigned long i = ulongval ();
10181
if (i != ((long) (sizeof (size_t))))
10183
fprintf (f, "%lu\n", i);
10185
exit (ferror (f) || fclose (f) != 0);
10191
rm -f conftest$ac_exeext
10192
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10193
(eval $ac_link) 2>&5
10195
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10196
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10197
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10198
(eval $ac_try) 2>&5
10200
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10201
(exit $ac_status); }; }; then
10202
ac_cv_sizeof_size_t=`cat conftest.val`
10204
echo "$as_me: program exited with status $ac_status" >&5
10205
echo "$as_me: failed program was:" >&5
10206
cat conftest.$ac_ext >&5
10207
( exit $ac_status )
10208
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77" >&5
10209
echo "$as_me: error: cannot compute sizeof (size_t), 77" >&2;}
10210
{ (exit 1); exit 1; }; }
10212
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10217
ac_cv_sizeof_size_t=0
10220
echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
10221
echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
10222
cat >>confdefs.h <<_ACEOF
10223
#define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
10227
echo "$as_me:$LINENO: checking for unsigned long" >&5
10228
echo $ECHO_N "checking for unsigned long... $ECHO_C" >&6
10229
if test "${ac_cv_type_unsigned_long+set}" = set; then
10230
echo $ECHO_N "(cached) $ECHO_C" >&6
10232
cat >conftest.$ac_ext <<_ACEOF
10233
#line $LINENO "configure"
10234
#include "confdefs.h"
10235
$ac_includes_default
10236
#ifdef F77_DUMMY_MAIN
10237
# ifdef __cplusplus
10240
int F77_DUMMY_MAIN() { return 1; }
10245
if ((unsigned long *) 0)
10247
if (sizeof (unsigned long))
10253
rm -f conftest.$ac_objext
10254
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10255
(eval $ac_compile) 2>&5
10257
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10258
(exit $ac_status); } &&
10259
{ ac_try='test -s conftest.$ac_objext'
10260
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10261
(eval $ac_try) 2>&5
10263
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10264
(exit $ac_status); }; }; then
10265
ac_cv_type_unsigned_long=yes
10267
echo "$as_me: failed program was:" >&5
10268
cat conftest.$ac_ext >&5
10269
ac_cv_type_unsigned_long=no
10271
rm -f conftest.$ac_objext conftest.$ac_ext
10273
echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long" >&5
10274
echo "${ECHO_T}$ac_cv_type_unsigned_long" >&6
10276
echo "$as_me:$LINENO: checking size of unsigned long" >&5
10277
echo $ECHO_N "checking size of unsigned long... $ECHO_C" >&6
10278
if test "${ac_cv_sizeof_unsigned_long+set}" = set; then
10279
echo $ECHO_N "(cached) $ECHO_C" >&6
10281
if test "$ac_cv_type_unsigned_long" = yes; then
10282
# The cast to unsigned long works around a bug in the HP C Compiler
10283
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
10284
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
10285
# This bug is HP SR number 8606223364.
10286
if test "$cross_compiling" = yes; then
10287
# Depending upon the size, compute the lo and hi bounds.
10288
cat >conftest.$ac_ext <<_ACEOF
10289
#line $LINENO "configure"
10290
#include "confdefs.h"
10291
$ac_includes_default
10292
#ifdef F77_DUMMY_MAIN
10293
# ifdef __cplusplus
10296
int F77_DUMMY_MAIN() { return 1; }
10301
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) >= 0)];
10308
rm -f conftest.$ac_objext
10309
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10310
(eval $ac_compile) 2>&5
10312
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10313
(exit $ac_status); } &&
10314
{ ac_try='test -s conftest.$ac_objext'
10315
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10316
(eval $ac_try) 2>&5
10318
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10319
(exit $ac_status); }; }; then
10322
cat >conftest.$ac_ext <<_ACEOF
10323
#line $LINENO "configure"
10324
#include "confdefs.h"
10325
$ac_includes_default
10326
#ifdef F77_DUMMY_MAIN
10327
# ifdef __cplusplus
10330
int F77_DUMMY_MAIN() { return 1; }
10335
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) <= $ac_mid)];
10342
rm -f conftest.$ac_objext
10343
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10344
(eval $ac_compile) 2>&5
10346
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10347
(exit $ac_status); } &&
10348
{ ac_try='test -s conftest.$ac_objext'
10349
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10350
(eval $ac_try) 2>&5
10352
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10353
(exit $ac_status); }; }; then
10354
ac_hi=$ac_mid; break
10356
echo "$as_me: failed program was:" >&5
10357
cat conftest.$ac_ext >&5
10358
ac_lo=`expr $ac_mid + 1`
10359
if test $ac_lo -le $ac_mid; then
10363
ac_mid=`expr 2 '*' $ac_mid + 1`
10365
rm -f conftest.$ac_objext conftest.$ac_ext
10368
echo "$as_me: failed program was:" >&5
10369
cat conftest.$ac_ext >&5
10370
cat >conftest.$ac_ext <<_ACEOF
10371
#line $LINENO "configure"
10372
#include "confdefs.h"
10373
$ac_includes_default
10374
#ifdef F77_DUMMY_MAIN
10375
# ifdef __cplusplus
10378
int F77_DUMMY_MAIN() { return 1; }
10383
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) < 0)];
10390
rm -f conftest.$ac_objext
10391
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10392
(eval $ac_compile) 2>&5
10394
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10395
(exit $ac_status); } &&
10396
{ ac_try='test -s conftest.$ac_objext'
10397
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10398
(eval $ac_try) 2>&5
10400
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10401
(exit $ac_status); }; }; then
10404
cat >conftest.$ac_ext <<_ACEOF
10405
#line $LINENO "configure"
10406
#include "confdefs.h"
10407
$ac_includes_default
10408
#ifdef F77_DUMMY_MAIN
10409
# ifdef __cplusplus
10412
int F77_DUMMY_MAIN() { return 1; }
10417
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) >= $ac_mid)];
10424
rm -f conftest.$ac_objext
10425
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10426
(eval $ac_compile) 2>&5
10428
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10429
(exit $ac_status); } &&
10430
{ ac_try='test -s conftest.$ac_objext'
10431
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10432
(eval $ac_try) 2>&5
10434
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10435
(exit $ac_status); }; }; then
10436
ac_lo=$ac_mid; break
10438
echo "$as_me: failed program was:" >&5
10439
cat conftest.$ac_ext >&5
10440
ac_hi=`expr '(' $ac_mid ')' - 1`
10441
if test $ac_mid -le $ac_hi; then
10445
ac_mid=`expr 2 '*' $ac_mid`
10447
rm -f conftest.$ac_objext conftest.$ac_ext
10450
echo "$as_me: failed program was:" >&5
10451
cat conftest.$ac_ext >&5
10454
rm -f conftest.$ac_objext conftest.$ac_ext
10456
rm -f conftest.$ac_objext conftest.$ac_ext
10457
# Binary search between lo and hi bounds.
10458
while test "x$ac_lo" != "x$ac_hi"; do
10459
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
10460
cat >conftest.$ac_ext <<_ACEOF
10461
#line $LINENO "configure"
10462
#include "confdefs.h"
10463
$ac_includes_default
10464
#ifdef F77_DUMMY_MAIN
10465
# ifdef __cplusplus
10468
int F77_DUMMY_MAIN() { return 1; }
10473
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) <= $ac_mid)];
10480
rm -f conftest.$ac_objext
10481
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10482
(eval $ac_compile) 2>&5
10484
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10485
(exit $ac_status); } &&
10486
{ ac_try='test -s conftest.$ac_objext'
10487
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10488
(eval $ac_try) 2>&5
10490
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10491
(exit $ac_status); }; }; then
10494
echo "$as_me: failed program was:" >&5
10495
cat conftest.$ac_ext >&5
10496
ac_lo=`expr '(' $ac_mid ')' + 1`
10498
rm -f conftest.$ac_objext conftest.$ac_ext
10501
?*) ac_cv_sizeof_unsigned_long=$ac_lo;;
10502
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long), 77" >&5
10503
echo "$as_me: error: cannot compute sizeof (unsigned long), 77" >&2;}
10504
{ (exit 1); exit 1; }; } ;;
10507
if test "$cross_compiling" = yes; then
10508
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
10509
echo "$as_me: error: cannot run test program while cross compiling" >&2;}
10510
{ (exit 1); exit 1; }; }
10512
cat >conftest.$ac_ext <<_ACEOF
10513
#line $LINENO "configure"
10514
#include "confdefs.h"
10515
$ac_includes_default
10516
long longval () { return (long) (sizeof (unsigned long)); }
10517
unsigned long ulongval () { return (long) (sizeof (unsigned long)); }
10519
#include <stdlib.h>
10520
#ifdef F77_DUMMY_MAIN
10521
# ifdef __cplusplus
10524
int F77_DUMMY_MAIN() { return 1; }
10530
FILE *f = fopen ("conftest.val", "w");
10533
if (((long) (sizeof (unsigned long))) < 0)
10535
long i = longval ();
10536
if (i != ((long) (sizeof (unsigned long))))
10538
fprintf (f, "%ld\n", i);
10542
unsigned long i = ulongval ();
10543
if (i != ((long) (sizeof (unsigned long))))
10545
fprintf (f, "%lu\n", i);
10547
exit (ferror (f) || fclose (f) != 0);
10553
rm -f conftest$ac_exeext
10554
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10555
(eval $ac_link) 2>&5
10557
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10558
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10559
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10560
(eval $ac_try) 2>&5
10562
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10563
(exit $ac_status); }; }; then
10564
ac_cv_sizeof_unsigned_long=`cat conftest.val`
10566
echo "$as_me: program exited with status $ac_status" >&5
10567
echo "$as_me: failed program was:" >&5
10568
cat conftest.$ac_ext >&5
10569
( exit $ac_status )
10570
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long), 77" >&5
10571
echo "$as_me: error: cannot compute sizeof (unsigned long), 77" >&2;}
10572
{ (exit 1); exit 1; }; }
10574
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10579
ac_cv_sizeof_unsigned_long=0
10582
echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long" >&5
10583
echo "${ECHO_T}$ac_cv_sizeof_unsigned_long" >&6
10584
cat >>confdefs.h <<_ACEOF
10585
#define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
10590
echo "$as_me:$LINENO: checking sizeof size_t == sizeof unsigned long" >&5
10591
echo $ECHO_N "checking sizeof size_t == sizeof unsigned long... $ECHO_C" >&6
10592
cat >conftest.$ac_ext <<_ACEOF
10593
#line $LINENO "configure"
10594
#include "confdefs.h"
10596
#ifdef F77_DUMMY_MAIN
10597
# ifdef __cplusplus
10600
int F77_DUMMY_MAIN() { return 1; }
10606
#if SIZEOF_SIZE_T != SIZEOF_UNSIGNED_LONG
10614
rm -f conftest.$ac_objext
10615
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10616
(eval $ac_compile) 2>&5
10618
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10619
(exit $ac_status); } &&
10620
{ ac_try='test -s conftest.$ac_objext'
10621
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10622
(eval $ac_try) 2>&5
10624
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10625
(exit $ac_status); }; }; then
10626
echo "$as_me:$LINENO: result: yes" >&5
10627
echo "${ECHO_T}yes" >&6
10629
echo "$as_me: failed program was:" >&5
10630
cat conftest.$ac_ext >&5
10632
echo "$as_me:$LINENO: result: no" >&5
10633
echo "${ECHO_T}no" >&6
10634
{ { echo "$as_me:$LINENO: error:
10635
Apparently on your system our assumption sizeof size_t == sizeof unsigned long
10636
does not apply. Please mail kde-devel@kde.org with a description of your system!
10638
echo "$as_me: error:
10639
Apparently on your system our assumption sizeof size_t == sizeof unsigned long
10640
does not apply. Please mail kde-devel@kde.org with a description of your system!
10642
{ (exit 1); exit 1; }; }
10645
rm -f conftest.$ac_objext conftest.$ac_ext
10653
for ac_func in vsnprintf snprintf
10655
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10656
echo "$as_me:$LINENO: checking for $ac_func" >&5
10657
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10658
if eval "test \"\${$as_ac_var+set}\" = set"; then
10659
echo $ECHO_N "(cached) $ECHO_C" >&6
10661
cat >conftest.$ac_ext <<_ACEOF
10662
#line $LINENO "configure"
10663
#include "confdefs.h"
10664
/* System header to define __stub macros and hopefully few prototypes,
10665
which can conflict with char $ac_func (); below. */
10666
#include <assert.h>
10667
/* Override any gcc2 internal prototype to avoid an error. */
10671
/* We use char because int might match the return type of a gcc2
10672
builtin and then its argument prototype would still apply. */
10676
#ifdef F77_DUMMY_MAIN
10677
# ifdef __cplusplus
10680
int F77_DUMMY_MAIN() { return 1; }
10685
/* The GNU C library defines this for functions which it implements
10686
to always fail with ENOSYS. Some functions are actually named
10687
something starting with __ and the normal name is an alias. */
10688
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10698
rm -f conftest.$ac_objext conftest$ac_exeext
10699
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10700
(eval $ac_link) 2>&5
10702
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10703
(exit $ac_status); } &&
10704
{ ac_try='test -s conftest$ac_exeext'
10705
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10706
(eval $ac_try) 2>&5
10708
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10709
(exit $ac_status); }; }; then
10710
eval "$as_ac_var=yes"
10712
echo "$as_me: failed program was:" >&5
10713
cat conftest.$ac_ext >&5
10714
eval "$as_ac_var=no"
10716
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10718
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10719
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10720
if test `eval echo '${'$as_ac_var'}'` = yes; then
10721
cat >>confdefs.h <<_ACEOF
10722
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10736
# Check whether --enable-embedded or --disable-embedded was given.
10737
if test "${enable_embedded+set}" = set; then
10738
enableval="$enable_embedded"
10739
kde_use_qt_emb=$enableval
10745
# Check whether --enable-qtopia or --disable-qtopia was given.
10746
if test "${enable_qtopia+set}" = set; then
10747
enableval="$enable_qtopia"
10748
kde_use_qt_emb_palm=$enableval
10750
kde_use_qt_emb_palm=no
10754
if test "$kde_use_qt_emb" = "no"; then
10756
echo "$as_me:$LINENO: checking for X" >&5
10757
echo $ECHO_N "checking for X... $ECHO_C" >&6
10761
ac_cpp='$CPP $CPPFLAGS'
10762
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10763
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10764
ac_compiler_gnu=$ac_cv_c_compiler_gnu
10766
if test "${kde_cv_have_x+set}" = set; then
10767
echo $ECHO_N "(cached) $ECHO_C" >&6
10769
# One or both of the vars are not set, and there is no cached value.
10770
if test "{$x_includes+set}" = set || test "$x_includes" = NONE; then
10773
kde_x_includes=$x_includes
10775
if test "{$x_libraries+set}" = set || test "$x_libraries" = NONE; then
10778
kde_x_libraries=$x_libraries
10781
# below we use the standard autoconf calls
10782
ac_x_libraries=$kde_x_libraries
10783
ac_x_includes=$kde_x_includes
10788
if test "$ac_x_includes" = NO; then
10789
# Guess where to find include files, by looking for this one X11 .h file.
10790
test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h
10792
# First, try using that file with no special directory specified.
10793
cat >conftest.$ac_ext <<_ACEOF
10794
#line $LINENO "configure"
10795
#include "confdefs.h"
10796
#include <$x_direct_test_include>
10798
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10799
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10801
egrep -v '^ *\+' conftest.er1 >conftest.err
10803
cat conftest.err >&5
10804
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10805
(exit $ac_status); } >/dev/null; then
10806
if test -s conftest.err; then
10807
ac_cpp_err=$ac_c_preproc_warn_flag
10814
if test -z "$ac_cpp_err"; then
10815
# We can compile using X headers with no special include directory.
10818
echo "$as_me: failed program was:" >&5
10819
cat conftest.$ac_ext >&5
10820
# Look for the header file in a standard set of common directories.
10821
# Check X11 before X11Rn because it is often a symlink to the current release.
10824
/usr/X11R6/include \
10825
/usr/X11R5/include \
10826
/usr/X11R4/include \
10829
/usr/include/X11R6 \
10830
/usr/include/X11R5 \
10831
/usr/include/X11R4 \
10833
/usr/local/X11/include \
10834
/usr/local/X11R6/include \
10835
/usr/local/X11R5/include \
10836
/usr/local/X11R4/include \
10838
/usr/local/include/X11 \
10839
/usr/local/include/X11R6 \
10840
/usr/local/include/X11R5 \
10841
/usr/local/include/X11R4 \
10843
/usr/X386/include \
10844
/usr/x386/include \
10845
/usr/XFree86/include/X11 \
10848
/usr/local/include \
10849
/usr/unsupported/include \
10850
/usr/athena/include \
10851
/usr/local/x11r5/include \
10852
/usr/lpp/Xamples/include \
10854
/usr/openwin/include \
10855
/usr/openwin/share/include \
10858
if test -r "$ac_dir/$x_direct_test_include"; then
10859
ac_x_includes=$ac_dir
10864
rm -f conftest.err conftest.$ac_ext
10865
fi # $ac_x_includes = NO
10867
if test "$ac_x_libraries" = NO; then
10868
# Check for the libraries.
10870
test -z "$x_direct_test_library" && x_direct_test_library=Xt
10871
test -z "$x_direct_test_function" && x_direct_test_function=XtMalloc
10873
# See if we find them without any special options.
10874
# Don't add to $LIBS permanently.
10875
ac_save_LIBS="$LIBS"
10876
LIBS="-l$x_direct_test_library $LIBS"
10877
cat >conftest.$ac_ext <<_ACEOF
10878
#line $LINENO "configure"
10879
#include "confdefs.h"
10881
#ifdef F77_DUMMY_MAIN
10882
# ifdef __cplusplus
10885
int F77_DUMMY_MAIN() { return 1; }
10890
${x_direct_test_function}()
10895
rm -f conftest.$ac_objext conftest$ac_exeext
10896
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10897
(eval $ac_link) 2>&5
10899
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10900
(exit $ac_status); } &&
10901
{ ac_try='test -s conftest$ac_exeext'
10902
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10903
(eval $ac_try) 2>&5
10905
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10906
(exit $ac_status); }; }; then
10907
LIBS="$ac_save_LIBS"
10908
# We can link X programs with no special library path.
10911
echo "$as_me: failed program was:" >&5
10912
cat conftest.$ac_ext >&5
10913
LIBS="$ac_save_LIBS"
10914
# First see if replacing the include by lib works.
10915
# Check X11 before X11Rn because it is often a symlink to the current release.
10916
for ac_dir in `echo "$ac_x_includes" | sed s/include/lib${kdelibsuff}/` \
10917
/usr/X11/lib${kdelibsuff} \
10918
/usr/X11R6/lib${kdelibsuff} \
10919
/usr/X11R5/lib${kdelibsuff} \
10920
/usr/X11R4/lib${kdelibsuff} \
10922
/usr/lib${kdelibsuff}/X11 \
10923
/usr/lib${kdelibsuff}/X11R6 \
10924
/usr/lib${kdelibsuff}/X11R5 \
10925
/usr/lib${kdelibsuff}/X11R4 \
10927
/usr/local/X11/lib${kdelibsuff} \
10928
/usr/local/X11R6/lib${kdelibsuff} \
10929
/usr/local/X11R5/lib${kdelibsuff} \
10930
/usr/local/X11R4/lib${kdelibsuff} \
10932
/usr/local/lib${kdelibsuff}/X11 \
10933
/usr/local/lib${kdelibsuff}/X11R6 \
10934
/usr/local/lib${kdelibsuff}/X11R5 \
10935
/usr/local/lib${kdelibsuff}/X11R4 \
10937
/usr/X386/lib${kdelibsuff} \
10938
/usr/x386/lib${kdelibsuff} \
10939
/usr/XFree86/lib${kdelibsuff}/X11 \
10941
/usr/lib${kdelibsuff} \
10942
/usr/local/lib${kdelibsuff} \
10943
/usr/unsupported/lib${kdelibsuff} \
10944
/usr/athena/lib${kdelibsuff} \
10945
/usr/local/x11r5/lib${kdelibsuff} \
10946
/usr/lpp/Xamples/lib${kdelibsuff} \
10947
/lib/usr/lib${kdelibsuff}/X11 \
10949
/usr/openwin/lib${kdelibsuff} \
10950
/usr/openwin/share/lib${kdelibsuff} \
10953
for ac_extension in a so sl; do
10954
if test -r $ac_dir/lib${x_direct_test_library}.$ac_extension; then
10955
ac_x_libraries=$ac_dir
10961
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10962
fi # $ac_x_libraries = NO
10970
rm -fr conftest.dir
10971
if mkdir conftest.dir; then
10973
# Make sure to not put "make" in the Imakefile rules, since we grep it out.
10974
cat >Imakefile <<'_ACEOF'
10976
@echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
10978
if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
10979
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
10980
eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
10981
# Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10982
for ac_extension in a so sl; do
10983
if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
10984
test -f $ac_im_libdir/libX11.$ac_extension; then
10985
ac_im_usrlibdir=$ac_im_libdir; break
10988
# Screen out bogus values from the imake configuration. They are
10989
# bogus both because they are the default anyway, and because
10990
# using them would break gcc on systems where it needs fixed includes.
10991
case $ac_im_incroot in
10993
*) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10995
case $ac_im_usrlibdir in
10996
/usr/lib | /lib) ;;
10997
*) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
11001
rm -fr conftest.dir
11004
if test -z "$ac_x_includes"; then
11007
if test -z "$ac_x_libraries"; then
11008
ac_x_libraries="/usr/lib${kdelibsuff}"
11011
#from now on we use our own again
11013
# when the user already gave --x-includes, we ignore
11014
# what the standard autoconf macros told us.
11015
if test "$kde_x_includes" = NO; then
11016
kde_x_includes=$ac_x_includes
11019
# for --x-libraries too
11020
if test "$kde_x_libraries" = NO; then
11021
kde_x_libraries=$ac_x_libraries
11024
if test "$kde_x_includes" = NO; then
11025
{ { echo "$as_me:$LINENO: error: Can't find X includes. Please check your installation and add the correct paths!" >&5
11026
echo "$as_me: error: Can't find X includes. Please check your installation and add the correct paths!" >&2;}
11027
{ (exit 1); exit 1; }; }
11030
if test "$kde_x_libraries" = NO; then
11031
{ { echo "$as_me:$LINENO: error: Can't find X libraries. Please check your installation and add the correct paths!" >&5
11032
echo "$as_me: error: Can't find X libraries. Please check your installation and add the correct paths!" >&2;}
11033
{ (exit 1); exit 1; }; }
11036
# Record where we found X for the cache.
11037
kde_cv_have_x="have_x=yes \
11038
kde_x_includes=$kde_x_includes kde_x_libraries=$kde_x_libraries"
11042
eval "$kde_cv_have_x"
11044
if test "$have_x" != yes; then
11045
echo "$as_me:$LINENO: result: $have_x" >&5
11046
echo "${ECHO_T}$have_x" >&6
11049
echo "$as_me:$LINENO: result: libraries $kde_x_libraries, headers $kde_x_includes" >&5
11050
echo "${ECHO_T}libraries $kde_x_libraries, headers $kde_x_includes" >&6
11053
if test -z "$kde_x_includes" || test "x$kde_x_includes" = xNONE; then
11055
x_includes="."; else
11056
x_includes=$kde_x_includes
11057
X_INCLUDES="-I$x_includes"
11060
if test -z "$kde_x_libraries" || test "x$kde_x_libraries" = xNONE; then
11062
x_libraries="/usr/lib"; else
11063
x_libraries=$kde_x_libraries
11064
X_LDFLAGS="-L$x_libraries"
11066
all_includes="$X_INCLUDES"
11067
all_libraries="$X_LDFLAGS"
11074
# Check for libraries that X11R6 Xt/Xaw programs need.
11075
ac_save_LDFLAGS="$LDFLAGS"
11076
LDFLAGS="$LDFLAGS $X_LDFLAGS"
11077
# SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11078
# check for ICE first), but we must link in the order -lSM -lICE or
11079
# we get undefined symbols. So assume we have SM if we have ICE.
11080
# These have to be linked with before -lX11, unlike the other
11081
# libraries we check for below, so use a different variable.
11082
# --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
11083
echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
11084
echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
11085
if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
11086
echo $ECHO_N "(cached) $ECHO_C" >&6
11088
ac_check_lib_save_LIBS=$LIBS
11089
LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11090
cat >conftest.$ac_ext <<_ACEOF
11091
#line $LINENO "configure"
11092
#include "confdefs.h"
11094
/* Override any gcc2 internal prototype to avoid an error. */
11098
/* We use char because int might match the return type of a gcc2
11099
builtin and then its argument prototype would still apply. */
11100
char IceConnectionNumber ();
11101
#ifdef F77_DUMMY_MAIN
11102
# ifdef __cplusplus
11105
int F77_DUMMY_MAIN() { return 1; }
11110
IceConnectionNumber ();
11115
rm -f conftest.$ac_objext conftest$ac_exeext
11116
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11117
(eval $ac_link) 2>&5
11119
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11120
(exit $ac_status); } &&
11121
{ ac_try='test -s conftest$ac_exeext'
11122
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11123
(eval $ac_try) 2>&5
11125
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11126
(exit $ac_status); }; }; then
11127
ac_cv_lib_ICE_IceConnectionNumber=yes
11129
echo "$as_me: failed program was:" >&5
11130
cat conftest.$ac_ext >&5
11131
ac_cv_lib_ICE_IceConnectionNumber=no
11133
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11134
LIBS=$ac_check_lib_save_LIBS
11136
echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11137
echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
11138
if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
11143
LDFLAGS="$ac_save_LDFLAGS"
11147
LIB_X11='-lX11 $(LIBSOCKET)'
11150
echo "$as_me:$LINENO: checking for libXext" >&5
11151
echo $ECHO_N "checking for libXext... $ECHO_C" >&6
11152
if test "${kde_cv_have_libXext+set}" = set; then
11153
echo $ECHO_N "(cached) $ECHO_C" >&6
11156
kde_ldflags_safe="$LDFLAGS"
11157
kde_libs_safe="$LIBS"
11159
LDFLAGS="$LDFLAGS $X_LDFLAGS $USER_LDFLAGS"
11160
LIBS="-lXext -lX11 $LIBSOCKET"
11162
cat >conftest.$ac_ext <<_ACEOF
11163
#line $LINENO "configure"
11164
#include "confdefs.h"
11167
#ifdef STDC_HEADERS
11168
# include <stdlib.h>
11171
#ifdef F77_DUMMY_MAIN
11172
# ifdef __cplusplus
11175
int F77_DUMMY_MAIN() { return 1; }
11181
printf("hello Xext\n");
11187
rm -f conftest.$ac_objext conftest$ac_exeext
11188
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11189
(eval $ac_link) 2>&5
11191
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11192
(exit $ac_status); } &&
11193
{ ac_try='test -s conftest$ac_exeext'
11194
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11195
(eval $ac_try) 2>&5
11197
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11198
(exit $ac_status); }; }; then
11199
kde_cv_have_libXext=yes
11201
echo "$as_me: failed program was:" >&5
11202
cat conftest.$ac_ext >&5
11203
kde_cv_have_libXext=no
11206
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11208
LDFLAGS=$kde_ldflags_safe
11209
LIBS=$kde_libs_safe
11214
echo "$as_me:$LINENO: result: $kde_cv_have_libXext" >&5
11215
echo "${ECHO_T}$kde_cv_have_libXext" >&6
11217
if test "$kde_cv_have_libXext" = "no"; then
11218
{ { echo "$as_me:$LINENO: error: We need a working libXext to proceed. Since configure
11219
can't find it itself, we stop here assuming that make wouldn't find
11221
echo "$as_me: error: We need a working libXext to proceed. Since configure
11222
can't find it itself, we stop here assuming that make wouldn't find
11223
them either." >&2;}
11224
{ (exit 1); exit 1; }; }
11232
CXXFLAGS="$CXXFLAGS -fno-rtti"
11233
QTE_NORTTI="-fno-rtti -DQWS"
11255
ac_cpp='$CPP $CPPFLAGS'
11256
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11257
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11258
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11263
echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
11264
echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
11265
if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
11266
echo $ECHO_N "(cached) $ECHO_C" >&6
11268
ac_check_lib_save_LIBS=$LIBS
11269
LIBS="-lpthread $LIBS"
11270
cat >conftest.$ac_ext <<_ACEOF
11271
#line $LINENO "configure"
11272
#include "confdefs.h"
11274
/* Override any gcc2 internal prototype to avoid an error. */
11278
/* We use char because int might match the return type of a gcc2
11279
builtin and then its argument prototype would still apply. */
11280
char pthread_create ();
11281
#ifdef F77_DUMMY_MAIN
11282
# ifdef __cplusplus
11285
int F77_DUMMY_MAIN() { return 1; }
11295
rm -f conftest.$ac_objext conftest$ac_exeext
11296
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11297
(eval $ac_link) 2>&5
11299
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11300
(exit $ac_status); } &&
11301
{ ac_try='test -s conftest$ac_exeext'
11302
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11303
(eval $ac_try) 2>&5
11305
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11306
(exit $ac_status); }; }; then
11307
ac_cv_lib_pthread_pthread_create=yes
11309
echo "$as_me: failed program was:" >&5
11310
cat conftest.$ac_ext >&5
11311
ac_cv_lib_pthread_pthread_create=no
11313
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11314
LIBS=$ac_check_lib_save_LIBS
11316
echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
11317
echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6
11318
if test $ac_cv_lib_pthread_pthread_create = yes; then
11319
LIBPTHREAD="-lpthread"
11325
# Check whether --enable-kernel-threads or --disable-kernel-threads was given.
11326
if test "${enable_kernel_threads+set}" = set; then
11327
enableval="$enable_kernel_threads"
11328
kde_use_kernthreads=$enableval
11330
kde_use_kernthreads=no
11333
if test "$kde_use_kernthreads" = "yes"; then
11334
ac_save_CXXFLAGS="$CXXFLAGS"
11335
ac_save_CFLAGS="$CFLAGS"
11336
CXXFLAGS="-I/usr/local/include/pthread/linuxthreads $CXXFLAGS"
11337
CFLAGS="-I/usr/local/include/pthread/linuxthreads $CFLAGS"
11339
for ac_header in pthread/linuxthreads/pthread.h
11341
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11342
if eval "test \"\${$as_ac_Header+set}\" = set"; then
11343
echo "$as_me:$LINENO: checking for $ac_header" >&5
11344
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11345
if eval "test \"\${$as_ac_Header+set}\" = set"; then
11346
echo $ECHO_N "(cached) $ECHO_C" >&6
11348
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11349
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11351
# Is the header compilable?
11352
echo "$as_me:$LINENO: checking $ac_header usability" >&5
11353
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11354
cat >conftest.$ac_ext <<_ACEOF
11355
#line $LINENO "configure"
11356
#include "confdefs.h"
11357
$ac_includes_default
11358
#include <$ac_header>
11360
rm -f conftest.$ac_objext
11361
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11362
(eval $ac_compile) 2>&5
11364
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11365
(exit $ac_status); } &&
11366
{ ac_try='test -s conftest.$ac_objext'
11367
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11368
(eval $ac_try) 2>&5
11370
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11371
(exit $ac_status); }; }; then
11372
ac_header_compiler=yes
11374
echo "$as_me: failed program was:" >&5
11375
cat conftest.$ac_ext >&5
11376
ac_header_compiler=no
11378
rm -f conftest.$ac_objext conftest.$ac_ext
11379
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11380
echo "${ECHO_T}$ac_header_compiler" >&6
11382
# Is the header present?
11383
echo "$as_me:$LINENO: checking $ac_header presence" >&5
11384
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11385
cat >conftest.$ac_ext <<_ACEOF
11386
#line $LINENO "configure"
11387
#include "confdefs.h"
11388
#include <$ac_header>
11390
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11391
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11393
egrep -v '^ *\+' conftest.er1 >conftest.err
11395
cat conftest.err >&5
11396
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11397
(exit $ac_status); } >/dev/null; then
11398
if test -s conftest.err; then
11399
ac_cpp_err=$ac_c_preproc_warn_flag
11406
if test -z "$ac_cpp_err"; then
11407
ac_header_preproc=yes
11409
echo "$as_me: failed program was:" >&5
11410
cat conftest.$ac_ext >&5
11411
ac_header_preproc=no
11413
rm -f conftest.err conftest.$ac_ext
11414
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11415
echo "${ECHO_T}$ac_header_preproc" >&6
11417
# So? What about this header?
11418
case $ac_header_compiler:$ac_header_preproc in
11420
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11421
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11422
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11423
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
11425
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11426
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11427
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11428
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11429
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11430
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
11432
echo "$as_me:$LINENO: checking for $ac_header" >&5
11433
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11434
if eval "test \"\${$as_ac_Header+set}\" = set"; then
11435
echo $ECHO_N "(cached) $ECHO_C" >&6
11437
eval "$as_ac_Header=$ac_header_preproc"
11439
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11440
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11443
if test `eval echo '${'$as_ac_Header'}'` = yes; then
11444
cat >>confdefs.h <<_ACEOF
11445
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11452
CXXFLAGS="$ac_save_CXXFLAGS"
11453
CFLAGS="$ac_save_CFLAGS"
11454
if test "$ac_cv_header_pthread_linuxthreads_pthread_h" = "no"; then
11455
kde_use_kernthreads=no
11457
echo "$as_me:$LINENO: checking for pthread_join in -llthread" >&5
11458
echo $ECHO_N "checking for pthread_join in -llthread... $ECHO_C" >&6
11459
if test "${ac_cv_lib_lthread_pthread_join+set}" = set; then
11460
echo $ECHO_N "(cached) $ECHO_C" >&6
11462
ac_check_lib_save_LIBS=$LIBS
11463
LIBS="-llthread $LIBS"
11464
cat >conftest.$ac_ext <<_ACEOF
11465
#line $LINENO "configure"
11466
#include "confdefs.h"
11468
/* Override any gcc2 internal prototype to avoid an error. */
11472
/* We use char because int might match the return type of a gcc2
11473
builtin and then its argument prototype would still apply. */
11474
char pthread_join ();
11475
#ifdef F77_DUMMY_MAIN
11476
# ifdef __cplusplus
11479
int F77_DUMMY_MAIN() { return 1; }
11489
rm -f conftest.$ac_objext conftest$ac_exeext
11490
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11491
(eval $ac_link) 2>&5
11493
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11494
(exit $ac_status); } &&
11495
{ ac_try='test -s conftest$ac_exeext'
11496
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11497
(eval $ac_try) 2>&5
11499
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11500
(exit $ac_status); }; }; then
11501
ac_cv_lib_lthread_pthread_join=yes
11503
echo "$as_me: failed program was:" >&5
11504
cat conftest.$ac_ext >&5
11505
ac_cv_lib_lthread_pthread_join=no
11507
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11508
LIBS=$ac_check_lib_save_LIBS
11510
echo "$as_me:$LINENO: result: $ac_cv_lib_lthread_pthread_join" >&5
11511
echo "${ECHO_T}$ac_cv_lib_lthread_pthread_join" >&6
11512
if test $ac_cv_lib_lthread_pthread_join = yes; then
11513
LIBPTHREAD="-llthread -llgcc_r"
11515
if test "x$LIBPTHREAD" = "x"; then
11516
kde_use_kernthreads=no
11518
USE_THREADS="-D_THREAD_SAFE -I/usr/local/include/pthread/linuxthreads"
11523
if test -z "$LIBPTHREAD"; then
11525
echo "$as_me:$LINENO: checking whether $CXX supports -pthread" >&5
11526
echo $ECHO_N "checking whether $CXX supports -pthread... $ECHO_C" >&6
11527
kde_cache=`echo pthread | sed 'y% .=/+-,%____p__%'`
11528
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
11529
echo $ECHO_N "(cached) $ECHO_C" >&6
11535
ac_cpp='$CXXCPP $CPPFLAGS'
11536
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11537
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11538
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11540
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11543
save_CXXFLAGS="$CXXFLAGS"
11544
CXXFLAGS="$CXXFLAGS -pthread"
11545
cat >conftest.$ac_ext <<_ACEOF
11546
#line $LINENO "configure"
11547
#include "confdefs.h"
11549
#ifdef F77_DUMMY_MAIN
11550
# ifdef __cplusplus
11553
int F77_DUMMY_MAIN() { return 1; }
11563
rm -f conftest.$ac_objext conftest$ac_exeext
11564
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11565
(eval $ac_link) 2>&5
11567
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11568
(exit $ac_status); } &&
11569
{ ac_try='test -s conftest$ac_exeext'
11570
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11571
(eval $ac_try) 2>&5
11573
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11574
(exit $ac_status); }; }; then
11575
eval "kde_cv_prog_cxx_$kde_cache=yes"
11577
echo "$as_me: failed program was:" >&5
11578
cat conftest.$ac_ext >&5
11580
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11581
CXXFLAGS="$save_CXXFLAGS"
11583
ac_cpp='$CPP $CPPFLAGS'
11584
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11585
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11586
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11591
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
11592
echo "$as_me:$LINENO: result: yes" >&5
11593
echo "${ECHO_T}yes" >&6
11595
USE_THREADS="-pthread"
11597
echo "$as_me:$LINENO: result: no" >&5
11598
echo "${ECHO_T}no" >&6
11611
echo "$as_me:$LINENO: checking whether $CXX supports -mt" >&5
11612
echo $ECHO_N "checking whether $CXX supports -mt... $ECHO_C" >&6
11613
kde_cache=`echo mt | sed 'y% .=/+-,%____p__%'`
11614
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
11615
echo $ECHO_N "(cached) $ECHO_C" >&6
11621
ac_cpp='$CXXCPP $CPPFLAGS'
11622
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11623
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11624
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11626
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11629
save_CXXFLAGS="$CXXFLAGS"
11630
CXXFLAGS="$CXXFLAGS -mt"
11631
cat >conftest.$ac_ext <<_ACEOF
11632
#line $LINENO "configure"
11633
#include "confdefs.h"
11635
#ifdef F77_DUMMY_MAIN
11636
# ifdef __cplusplus
11639
int F77_DUMMY_MAIN() { return 1; }
11649
rm -f conftest.$ac_objext conftest$ac_exeext
11650
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11651
(eval $ac_link) 2>&5
11653
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11654
(exit $ac_status); } &&
11655
{ ac_try='test -s conftest$ac_exeext'
11656
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11657
(eval $ac_try) 2>&5
11659
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11660
(exit $ac_status); }; }; then
11661
eval "kde_cv_prog_cxx_$kde_cache=yes"
11663
echo "$as_me: failed program was:" >&5
11664
cat conftest.$ac_ext >&5
11666
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11667
CXXFLAGS="$save_CXXFLAGS"
11669
ac_cpp='$CPP $CPPFLAGS'
11670
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11671
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11672
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11677
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
11678
echo "$as_me:$LINENO: result: yes" >&5
11679
echo "${ECHO_T}yes" >&6
11683
echo "$as_me:$LINENO: result: no" >&5
11684
echo "${ECHO_T}no" >&6
11689
CPPFLAGS="$CPPFLAGS -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DSVR4"
11692
CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE"
11695
CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE"
11696
LIBPTHREAD="$LIBPTHREAD -lc_r"
11698
linux*) CPPFLAGS="$CPPFLAGS -D_REENTRANT"
11699
if test "$CXX" = "KCC"; then
11700
CXXFLAGS="$CXXFLAGS --thread_safe"
11701
NOOPT_CXXFLAGS="$NOOPT_CXXFLAGS --thread_safe"
11711
echo "$as_me:$LINENO: checking for extra includes" >&5
11712
echo $ECHO_N "checking for extra includes... $ECHO_C" >&6
11714
# Check whether --with-extra-includes or --without-extra-includes was given.
11715
if test "${with_extra_includes+set}" = set; then
11716
withval="$with_extra_includes"
11717
kde_use_extra_includes="$withval"
11719
kde_use_extra_includes=NONE
11722
kde_extra_includes=
11723
if test -n "$kde_use_extra_includes" && \
11724
test "$kde_use_extra_includes" != "NONE"; then
11728
for dir in $kde_use_extra_includes; do
11729
kde_extra_includes="$kde_extra_includes $dir"
11730
USER_INCLUDES="$USER_INCLUDES -I$dir"
11733
kde_use_extra_includes="added"
11735
kde_use_extra_includes="no"
11739
echo "$as_me:$LINENO: result: $kde_use_extra_includes" >&5
11740
echo "${ECHO_T}$kde_use_extra_includes" >&6
11743
echo "$as_me:$LINENO: checking for extra libs" >&5
11744
echo $ECHO_N "checking for extra libs... $ECHO_C" >&6
11746
# Check whether --with-extra-libs or --without-extra-libs was given.
11747
if test "${with_extra_libs+set}" = set; then
11748
withval="$with_extra_libs"
11749
kde_use_extra_libs=$withval
11751
kde_use_extra_libs=NONE
11754
if test -n "$kde_use_extra_libs" && \
11755
test "$kde_use_extra_libs" != "NONE"; then
11759
for dir in $kde_use_extra_libs; do
11760
kde_extra_libs="$kde_extra_libs $dir"
11761
KDE_EXTRA_RPATH="$KDE_EXTRA_RPATH -R $dir"
11762
USER_LDFLAGS="$USER_LDFLAGS -L$dir"
11765
kde_use_extra_libs="added"
11767
kde_use_extra_libs="no"
11772
echo "$as_me:$LINENO: result: $kde_use_extra_libs" >&5
11773
echo "${ECHO_T}$kde_use_extra_libs" >&6
11778
echo "$as_me:$LINENO: checking for libz" >&5
11779
echo $ECHO_N "checking for libz... $ECHO_C" >&6
11780
if test "${ac_cv_lib_z+set}" = set; then
11781
echo $ECHO_N "(cached) $ECHO_C" >&6
11785
ac_cpp='$CPP $CPPFLAGS'
11786
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11787
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11788
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11790
kde_save_LIBS="$LIBS"
11791
LIBS="$all_libraries $USER_LDFLAGS -lz $LIBSOCKET"
11792
kde_save_CFLAGS="$CFLAGS"
11793
CFLAGS="$CFLAGS $all_includes $USER_INCLUDES"
11794
cat >conftest.$ac_ext <<_ACEOF
11795
#line $LINENO "configure"
11796
#include "confdefs.h"
11800
#ifdef F77_DUMMY_MAIN
11801
# ifdef __cplusplus
11804
int F77_DUMMY_MAIN() { return 1; }
11809
return (zlibVersion() == ZLIB_VERSION);
11814
rm -f conftest.$ac_objext conftest$ac_exeext
11815
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11816
(eval $ac_link) 2>&5
11818
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11819
(exit $ac_status); } &&
11820
{ ac_try='test -s conftest$ac_exeext'
11821
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11822
(eval $ac_try) 2>&5
11824
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11825
(exit $ac_status); }; }; then
11826
eval "ac_cv_lib_z='-lz'"
11828
echo "$as_me: failed program was:" >&5
11829
cat conftest.$ac_ext >&5
11830
eval "ac_cv_lib_z=no"
11832
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11833
LIBS="$kde_save_LIBS"
11834
CFLAGS="$kde_save_CFLAGS"
11837
if test ! "$ac_cv_lib_z" = no; then
11839
cat >>confdefs.h <<_ACEOF
11840
#define HAVE_LIBZ 1
11843
LIBZ="$ac_cv_lib_z"
11845
echo "$as_me:$LINENO: result: $ac_cv_lib_z" >&5
11846
echo "${ECHO_T}$ac_cv_lib_z" >&6
11848
{ { echo "$as_me:$LINENO: error: not found. Check your installation and look into config.log" >&5
11849
echo "$as_me: error: not found. Check your installation and look into config.log" >&2;}
11850
{ (exit 1); exit 1; }; }
11858
echo "$as_me:$LINENO: checking for libpng" >&5
11859
echo $ECHO_N "checking for libpng... $ECHO_C" >&6
11860
if test "${ac_cv_lib_png+set}" = set; then
11861
echo $ECHO_N "(cached) $ECHO_C" >&6
11864
kde_save_LIBS="$LIBS"
11865
if test "x$kde_use_qt_emb" != "xyes"; then
11866
LIBS="$LIBS $all_libraries $USER_LDFLAGS -lpng $LIBZ -lm -lX11 $LIBSOCKET"
11868
LIBS="$LIBS $all_libraries $USER_LDFLAGS -lpng $LIBZ -lm"
11870
kde_save_CFLAGS="$CFLAGS"
11871
CFLAGS="$CFLAGS $all_includes $USER_INCLUDES"
11873
ac_cpp='$CPP $CPPFLAGS'
11874
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11875
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11876
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11878
cat >conftest.$ac_ext <<_ACEOF
11879
#line $LINENO "configure"
11880
#include "confdefs.h"
11884
#ifdef F77_DUMMY_MAIN
11885
# ifdef __cplusplus
11888
int F77_DUMMY_MAIN() { return 1; }
11894
png_structp png_ptr = png_create_read_struct( /* image ptr */
11895
PNG_LIBPNG_VER_STRING, 0, 0, 0 );
11896
return( png_ptr != 0 );
11902
rm -f conftest.$ac_objext conftest$ac_exeext
11903
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11904
(eval $ac_link) 2>&5
11906
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11907
(exit $ac_status); } &&
11908
{ ac_try='test -s conftest$ac_exeext'
11909
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11910
(eval $ac_try) 2>&5
11912
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11913
(exit $ac_status); }; }; then
11914
eval "ac_cv_lib_png='-lpng $LIBZ -lm'"
11916
echo "$as_me: failed program was:" >&5
11917
cat conftest.$ac_ext >&5
11918
eval "ac_cv_lib_png=no"
11921
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11922
LIBS="$kde_save_LIBS"
11923
CFLAGS="$kde_save_CFLAGS"
11926
if eval "test ! \"`echo $ac_cv_lib_png`\" = no"; then
11928
cat >>confdefs.h <<_ACEOF
11929
#define HAVE_LIBPNG 1
11932
LIBPNG="$ac_cv_lib_png"
11934
echo "$as_me:$LINENO: result: $ac_cv_lib_png" >&5
11935
echo "${ECHO_T}$ac_cv_lib_png" >&6
11937
echo "$as_me:$LINENO: result: no" >&5
11938
echo "${ECHO_T}no" >&6
11945
echo "$as_me:$LINENO: checking for libjpeg6b" >&5
11946
echo $ECHO_N "checking for libjpeg6b... $ECHO_C" >&6
11947
if test "${ac_cv_lib_jpeg_6b+set}" = set; then
11948
echo $ECHO_N "(cached) $ECHO_C" >&6
11952
ac_cpp='$CPP $CPPFLAGS'
11953
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11954
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11955
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11957
ac_save_LIBS="$LIBS"
11958
LIBS="$all_libraries $USER_LDFLAGS -ljpeg6b -lm"
11959
ac_save_CFLAGS="$CFLAGS"
11960
CFLAGS="$CFLAGS $all_includes $USER_INCLUDES"
11961
cat >conftest.$ac_ext <<_ACEOF
11962
#line $LINENO "configure"
11963
#include "confdefs.h"
11964
/* Override any gcc2 internal prototype to avoid an error. */
11965
struct jpeg_decompress_struct;
11966
typedef struct jpeg_decompress_struct * j_decompress_ptr;
11967
typedef int size_t;
11971
void jpeg_CreateDecompress(j_decompress_ptr cinfo,
11972
int version, size_t structsize);
11976
/* We use char because int might match the return type of a gcc2
11977
builtin and then its argument prototype would still apply. */
11979
#ifdef F77_DUMMY_MAIN
11980
# ifdef __cplusplus
11983
int F77_DUMMY_MAIN() { return 1; }
11988
jpeg_CreateDecompress(0L, 0, 0);
11993
rm -f conftest.$ac_objext conftest$ac_exeext
11994
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11995
(eval $ac_link) 2>&5
11997
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11998
(exit $ac_status); } &&
11999
{ ac_try='test -s conftest$ac_exeext'
12000
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12001
(eval $ac_try) 2>&5
12003
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12004
(exit $ac_status); }; }; then
12005
eval "ac_cv_lib_jpeg_6b=-ljpeg6b"
12007
echo "$as_me: failed program was:" >&5
12008
cat conftest.$ac_ext >&5
12009
eval "ac_cv_lib_jpeg_6b=no"
12011
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12012
LIBS="$ac_save_LIBS"
12013
CFLAGS="$ac_save_CFLAGS"
12018
if eval "test ! \"`echo $ac_cv_lib_jpeg_6b`\" = no"; then
12019
LIBJPEG="$ac_cv_lib_jpeg_6b"
12020
echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_6b" >&5
12021
echo "${ECHO_T}$ac_cv_lib_jpeg_6b" >&6
12023
echo "$as_me:$LINENO: result: no" >&5
12024
echo "${ECHO_T}no" >&6
12026
echo "$as_me:$LINENO: checking for libjpeg" >&5
12027
echo $ECHO_N "checking for libjpeg... $ECHO_C" >&6
12028
if test "${ac_cv_lib_jpeg_normal+set}" = set; then
12029
echo $ECHO_N "(cached) $ECHO_C" >&6
12033
ac_cpp='$CPP $CPPFLAGS'
12034
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12035
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12036
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12038
ac_save_LIBS="$LIBS"
12039
LIBS="$all_libraries $USER_LDFLAGS -ljpeg -lm"
12040
ac_save_CFLAGS="$CFLAGS"
12041
CFLAGS="$CFLAGS $all_includes $USER_INCLUDES"
12042
cat >conftest.$ac_ext <<_ACEOF
12043
#line $LINENO "configure"
12044
#include "confdefs.h"
12045
/* Override any gcc2 internal prototype to avoid an error. */
12046
struct jpeg_decompress_struct;
12047
typedef struct jpeg_decompress_struct * j_decompress_ptr;
12048
typedef int size_t;
12052
void jpeg_CreateDecompress(j_decompress_ptr cinfo,
12053
int version, size_t structsize);
12057
/* We use char because int might match the return type of a gcc2
12058
builtin and then its argument prototype would still apply. */
12060
#ifdef F77_DUMMY_MAIN
12061
# ifdef __cplusplus
12064
int F77_DUMMY_MAIN() { return 1; }
12069
jpeg_CreateDecompress(0L, 0, 0);
12074
rm -f conftest.$ac_objext conftest$ac_exeext
12075
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12076
(eval $ac_link) 2>&5
12078
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12079
(exit $ac_status); } &&
12080
{ ac_try='test -s conftest$ac_exeext'
12081
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12082
(eval $ac_try) 2>&5
12084
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12085
(exit $ac_status); }; }; then
12086
eval "ac_cv_lib_jpeg_normal=-ljpeg"
12088
echo "$as_me: failed program was:" >&5
12089
cat conftest.$ac_ext >&5
12090
eval "ac_cv_lib_jpeg_normal=no"
12092
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12093
LIBS="$ac_save_LIBS"
12094
CFLAGS="$ac_save_CFLAGS"
12099
if eval "test ! \"`echo $ac_cv_lib_jpeg_normal`\" = no"; then
12100
LIBJPEG="$ac_cv_lib_jpeg_normal"
12101
echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_normal" >&5
12102
echo "${ECHO_T}$ac_cv_lib_jpeg_normal" >&6
12104
echo "$as_me:$LINENO: result: no" >&5
12105
echo "${ECHO_T}no" >&6
12118
jpeg_incdirs="$includedir /usr/include /usr/local/include $kde_extra_includes"
12121
for i in $jpeg_incdirs;
12123
for j in jpeglib.h;
12125
echo "configure: 12127: $i/$j" >&5
12126
if test -r "$i/$j"; then
12127
echo "taking that" >&5
12134
test "x$jpeg_incdir" = xNO && jpeg_incdir=
12136
if test -n "$jpeg_incdir" && test -n "$LIBJPEG" ; then
12138
cat >>confdefs.h <<_ACEOF
12139
#define HAVE_LIBJPEG 1
12143
if test -n "$jpeg_incdir" || test -n "$LIBJPEG" ; then
12144
{ echo "$as_me:$LINENO: WARNING:
12145
There is an installation error in jpeg support. You seem to have only one
12146
of either the headers _or_ the libraries installed. You may need to either
12147
provide correct --with-extra-... options, or the development package of
12148
libjpeg6b. You can get a source package of libjpeg from http://www.ijg.org/
12149
Disabling JPEG support.
12151
echo "$as_me: WARNING:
12152
There is an installation error in jpeg support. You seem to have only one
12153
of either the headers _or_ the libraries installed. You may need to either
12154
provide correct --with-extra-... options, or the development package of
12155
libjpeg6b. You can get a source package of libjpeg from http://www.ijg.org/
12156
Disabling JPEG support.
12159
{ echo "$as_me:$LINENO: WARNING: libjpeg not found. disable JPEG support." >&5
12160
echo "$as_me: WARNING: libjpeg not found. disable JPEG support." >&2;}
12177
# Check whether --enable-mt or --disable-mt was given.
12178
if test "${enable_mt+set}" = set; then
12179
enableval="$enable_mt"
12180
kde_use_qt_mt=$enableval
12183
if test $kde_qtver = 3; then
12197
if test "x$kde_use_qt_mt" = "xyes"; then
12201
if test -z "$LIBPTHREAD"; then
12202
if test -z "$USE_THREADS"; then
12203
kde_check_threading_default=no
12205
kde_check_threading_default=yes
12208
kde_check_threading_default=yes
12210
# Check whether --enable-threading or --disable-threading was given.
12211
if test "${enable_threading+set}" = set; then
12212
enableval="$enable_threading"
12213
kde_use_threading=$enableval
12215
kde_use_threading=$kde_check_threading_default
12217
if test "x$kde_use_threading" = "xyes"; then
12219
cat >>confdefs.h <<\_ACEOF
12220
#define HAVE_LIBPTHREAD 1
12225
if test "x$kde_use_threading" = "xyes"; then
12226
CPPFLAGS="$USE_THREADS -DQT_THREAD_SUPPORT $CPPFLAGS"
12227
KDE_MT_LDFLAGS="$USE_THREADS"
12228
KDE_MT_LIBS="$LIBPTHREAD"
12236
kde_qt_was_given=yes
12238
if test -z "$LIBQT_GLOB"; then
12239
if test "x$kde_use_qt_emb" = "xyes"; then
12240
LIBQT_GLOB="libqte.*"
12242
LIBQT_GLOB="libqt.*"
12246
if test -z "$LIBQT"; then
12247
if test "x$kde_use_qt_emb" = "xyes"; then
12253
kde_int_qt="-l$qtlib"
12255
kde_int_qt="$LIBQT"
12259
if test -z "$LIBQPE"; then
12260
if test "x$kde_use_qt_emb" = "xyes"; then
12261
if test "x$kde_use_qt_emb_palm" = "xyes"; then
12272
if test "x$kde_use_qt_mt" = "xyes"; then
12273
if test -z "$LIBQT"; then
12274
LIBQT="-l$qtlib-mt"
12275
kde_int_qt="-l$qtlib-mt"
12278
kde_int_qt="$qtlib-mt"
12280
LIBQT_GLOB="lib$qtlib-mt.*"
12281
USING_QT_MT="using -mt"
12286
if test $kde_qtver != 1; then
12290
LIBQT="$LIBQT $LIBPNG $LIBJPEG"
12293
if test $kde_qtver = 3; then
12295
LIBQT="$LIBQT $LIBDL"
12298
echo "$as_me:$LINENO: checking for Qt" >&5
12299
echo $ECHO_N "checking for Qt... $ECHO_C" >&6
12301
if test "x$kde_use_qt_emb" != "xyes"; then
12302
LIBQT="$LIBQT $X_PRE_LIBS -lXext -lX11 $LIBSM $LIBSOCKET"
12304
ac_qt_includes=NO ac_qt_libraries=NO ac_qt_bindir=NO
12308
# Check whether --with-qt-dir or --without-qt-dir was given.
12309
if test "${with_qt_dir+set}" = set; then
12310
withval="$with_qt_dir"
12311
ac_qt_includes="$withval"/include
12312
ac_qt_libraries="$withval"/lib${kdelibsuff}
12313
ac_qt_bindir="$withval"/bin
12318
# Check whether --with-qt-includes or --without-qt-includes was given.
12319
if test "${with_qt_includes+set}" = set; then
12320
withval="$with_qt_includes"
12322
ac_qt_includes="$withval"
12326
kde_qt_libs_given=no
12329
# Check whether --with-qt-libraries or --without-qt-libraries was given.
12330
if test "${with_qt_libraries+set}" = set; then
12331
withval="$with_qt_libraries"
12332
ac_qt_libraries="$withval"
12333
kde_qt_libs_given=yes
12337
if test "${ac_cv_have_qt+set}" = set; then
12338
echo $ECHO_N "(cached) $ECHO_C" >&6
12340
#try to guess Qt locations
12343
for dir in $kde_qt_dirs; do
12344
qt_incdirs="$qt_incdirs $dir/include $dir"
12346
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"
12347
if test ! "$ac_qt_includes" = "NO"; then
12348
qt_incdirs="$ac_qt_includes $qt_incdirs"
12351
if test "$kde_qtver" != "1"; then
12352
kde_qt_header=qstyle.h
12354
kde_qt_header=qglobal.h
12359
for i in $qt_incdirs;
12361
for j in $kde_qt_header;
12363
echo "configure: 12365: $i/$j" >&5
12364
if test -r "$i/$j"; then
12365
echo "taking that" >&5
12372
ac_qt_includes="$qt_incdir"
12375
for dir in $kde_qt_dirs; do
12376
qt_libdirs="$qt_libdirs $dir/lib${kdelibsuff} $dir"
12378
qt_libdirs="$QTLIB $qt_libdirs /usr/X11R6/lib /usr/lib /usr/local/qt/lib $x_libraries"
12379
if test ! "$ac_qt_libraries" = "NO"; then
12380
qt_libdir=$ac_qt_libraries
12382
qt_libdirs="$ac_qt_libraries $qt_libdirs"
12383
# if the Qt was given, the chance is too big that libqt.* doesn't exist
12385
for dir in $qt_libdirs; do
12386
try="ls -1 $dir/${LIBQT_GLOB}"
12387
if test -n "`$try 2> /dev/null`"; then qt_libdir=$dir; break; else echo "tried $dir" >&5 ; fi
12391
ac_qt_libraries="$qt_libdir"
12396
ac_cpp='$CXXCPP $CPPFLAGS'
12397
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12398
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12399
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12401
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12405
ac_cxxflags_safe="$CXXFLAGS"
12406
ac_ldflags_safe="$LDFLAGS"
12407
ac_libs_safe="$LIBS"
12409
CXXFLAGS="$CXXFLAGS -I$qt_incdir $all_includes"
12410
LDFLAGS="$LDFLAGS -L$qt_libdir $all_libraries $USER_LDFLAGS $KDE_MT_LDFLAGS"
12411
LIBS="$LIBS $LIBQT $KDE_MT_LIBS"
12415
cat > conftest.$ac_ext <<EOF
12416
#include "confdefs.h"
12417
#include <qglobal.h>
12418
#include <qapplication.h>
12420
if test "$kde_qtver" = "2"; then
12421
cat >> conftest.$ac_ext <<EOF
12422
#include <qevent.h>
12423
#include <qstring.h>
12424
#include <qstyle.h>
12427
if test $kde_qtsubver -gt 0; then
12428
cat >> conftest.$ac_ext <<EOF
12429
#if QT_VERSION < 210
12436
if test "$kde_qtver" = "3"; then
12437
cat >> conftest.$ac_ext <<EOF
12438
#include <qcursor.h>
12439
#include <qstylefactory.h>
12440
#include <private/qucomextra_p.h>
12444
echo "#if ! ($kde_qt_verstring)" >> conftest.$ac_ext
12445
cat >> conftest.$ac_ext <<EOF
12451
if test "$kde_qtver" = "2"; then
12452
cat >> conftest.$ac_ext <<EOF
12453
QStringList *t = new QStringList();
12456
if test $kde_qtsubver -gt 0; then
12457
cat >> conftest.$ac_ext <<EOF
12459
s.setLatin1("Elvis is alive", 14);
12463
if test "$kde_qtver" = "3"; then
12464
cat >> conftest.$ac_ext <<EOF
12465
(void)QStyleFactory::create(QString::null);
12466
QCursor c(Qt::WhatsThisCursor);
12469
cat >> conftest.$ac_ext <<EOF
12475
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12476
(eval $ac_link) 2>&5
12478
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12479
(exit $ac_status); } && test -s conftest; then
12482
echo "configure: failed program was:" >&5
12483
cat conftest.$ac_ext >&5
12484
ac_qt_libraries="NO"
12487
CXXFLAGS="$ac_cxxflags_safe"
12488
LDFLAGS="$ac_ldflags_safe"
12489
LIBS="$ac_libs_safe"
12492
ac_cpp='$CPP $CPPFLAGS'
12493
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12494
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12495
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12497
if test "$ac_qt_includes" = NO || test "$ac_qt_libraries" = NO; then
12498
ac_cv_have_qt="have_qt=no"
12501
if test "$ac_qt_includes" = NO; then
12502
if test "$ac_qt_libraries" = NO; then
12503
ac_qt_notfound="(headers and libraries)";
12505
ac_qt_notfound="(headers)";
12508
if test "x$kde_use_qt_mt" = "xyes"; then
12510
Make sure that you have compiled Qt with thread support!"
12511
ac_qt_notfound="(library $qtlib-mt)";
12513
ac_qt_notfound="(library $qtlib)";
12517
{ { echo "$as_me:$LINENO: error: Qt ($kde_qt_minversion) $ac_qt_notfound not found. Please check your installation!
12518
For more details about this problem, look at the end of config.log.$missing_qt_mt" >&5
12519
echo "$as_me: error: Qt ($kde_qt_minversion) $ac_qt_notfound not found. Please check your installation!
12520
For more details about this problem, look at the end of config.log.$missing_qt_mt" >&2;}
12521
{ (exit 1); exit 1; }; }
12529
eval "$ac_cv_have_qt"
12531
if test "$have_qt" != yes; then
12532
echo "$as_me:$LINENO: result: $have_qt" >&5
12533
echo "${ECHO_T}$have_qt" >&6;
12535
ac_cv_have_qt="have_qt=yes \
12536
ac_qt_includes=$ac_qt_includes ac_qt_libraries=$ac_qt_libraries"
12537
echo "$as_me:$LINENO: result: libraries $ac_qt_libraries, headers $ac_qt_includes $USING_QT_MT" >&5
12538
echo "${ECHO_T}libraries $ac_qt_libraries, headers $ac_qt_includes $USING_QT_MT" >&6
12540
qt_libraries="$ac_qt_libraries"
12541
qt_includes="$ac_qt_includes"
12544
if test ! "$kde_qt_libs_given" = "yes"; then
12547
echo "$as_me:$LINENO: checking if Qt compiles without flags" >&5
12548
echo $ECHO_N "checking if Qt compiles without flags... $ECHO_C" >&6
12549
if test "${kde_cv_qt_direct+set}" = set; then
12550
echo $ECHO_N "(cached) $ECHO_C" >&6
12556
ac_cpp='$CXXCPP $CPPFLAGS'
12557
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12558
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12559
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12561
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12564
ac_LD_LIBRARY_PATH_safe=$LD_LIBRARY_PATH
12565
ac_LIBRARY_PATH="$LIBRARY_PATH"
12566
ac_cxxflags_safe="$CXXFLAGS"
12567
ac_ldflags_safe="$LDFLAGS"
12568
ac_libs_safe="$LIBS"
12570
CXXFLAGS="$CXXFLAGS -I$qt_includes"
12571
LDFLAGS="$LDFLAGS $X_LDFLAGS"
12572
if test "x$kde_use_qt_emb" != "xyes"; then
12573
LIBS="$LIBQT -lXext -lX11 $LIBSOCKET"
12575
LIBS="$LIBQT $LIBSOCKET"
12578
export LD_LIBRARY_PATH
12580
export LIBRARY_PATH
12584
cat > conftest.$ac_ext <<EOF
12585
#include "confdefs.h"
12586
#include <qglobal.h>
12587
#include <qapplication.h>
12589
if test "$kde_qtver" = "2"; then
12590
cat >> conftest.$ac_ext <<EOF
12591
#include <qevent.h>
12592
#include <qstring.h>
12593
#include <qstyle.h>
12596
if test $kde_qtsubver -gt 0; then
12597
cat >> conftest.$ac_ext <<EOF
12598
#if QT_VERSION < 210
12605
if test "$kde_qtver" = "3"; then
12606
cat >> conftest.$ac_ext <<EOF
12607
#include <qcursor.h>
12608
#include <qstylefactory.h>
12609
#include <private/qucomextra_p.h>
12613
echo "#if ! ($kde_qt_verstring)" >> conftest.$ac_ext
12614
cat >> conftest.$ac_ext <<EOF
12620
if test "$kde_qtver" = "2"; then
12621
cat >> conftest.$ac_ext <<EOF
12622
QStringList *t = new QStringList();
12625
if test $kde_qtsubver -gt 0; then
12626
cat >> conftest.$ac_ext <<EOF
12628
s.setLatin1("Elvis is alive", 14);
12632
if test "$kde_qtver" = "3"; then
12633
cat >> conftest.$ac_ext <<EOF
12634
(void)QStyleFactory::create(QString::null);
12635
QCursor c(Qt::WhatsThisCursor);
12638
cat >> conftest.$ac_ext <<EOF
12644
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12645
(eval $ac_link) 2>&5
12647
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12648
(exit $ac_status); } && test -s conftest; then
12649
kde_cv_qt_direct="yes"
12651
kde_cv_qt_direct="no"
12652
echo "configure: failed program was:" >&5
12653
cat conftest.$ac_ext >&5
12657
CXXFLAGS="$ac_cxxflags_safe"
12658
LDFLAGS="$ac_ldflags_safe"
12659
LIBS="$ac_libs_safe"
12661
LD_LIBRARY_PATH="$ac_LD_LIBRARY_PATH_safe"
12662
export LD_LIBRARY_PATH
12663
LIBRARY_PATH="$ac_LIBRARY_PATH"
12664
export LIBRARY_PATH
12666
ac_cpp='$CPP $CPPFLAGS'
12667
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12668
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12669
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12675
if test "$kde_cv_qt_direct" = "yes"; then
12676
echo "$as_me:$LINENO: result: yes" >&5
12677
echo "${ECHO_T}yes" >&6
12680
echo "$as_me:$LINENO: result: no" >&5
12681
echo "${ECHO_T}no" >&6
12690
if test "$qt_includes" = "$x_includes" || test -z "$qt_includes"; then
12693
QT_INCLUDES="-I$qt_includes"
12694
all_includes="$QT_INCLUDES $all_includes"
12697
if test "$qt_libraries" = "$x_libraries" || test -z "$qt_libraries"; then
12700
QT_LDFLAGS="-L$qt_libraries"
12701
all_libraries="$all_libraries $QT_LDFLAGS"
12703
test -z "$KDE_MT_LDFLAGS" || all_libraries="$all_libraries $KDE_MT_LDFLAGS"
12709
for dir in $kde_qt_dirs; do
12710
qt_bindirs="$qt_bindirs $dir/bin $dir/src/moc"
12712
qt_bindirs="$qt_bindirs /usr/bin /usr/X11R6/bin /usr/local/qt/bin"
12713
if test ! "$ac_qt_bindir" = "NO"; then
12714
qt_bindirs="$ac_qt_bindir $qt_bindirs"
12718
echo "$as_me:$LINENO: checking for moc" >&5
12719
echo $ECHO_N "checking for moc... $ECHO_C" >&6
12720
if test -n "$MOC"; then
12721
kde_cv_path="$MOC";
12723
kde_cache=`echo moc | sed 'y%./+-%__p_%'`
12725
if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
12726
echo $ECHO_N "(cached) $ECHO_C" >&6
12733
for dir in $PATH; do
12738
for dir in $dirs; do
12739
if test -x "$dir/moc"; then
12742
evalstr="$dir/moc 2>&1 "
12743
if eval $evalstr; then
12744
kde_cv_path="$dir/moc"
12748
kde_cv_path="$dir/moc"
12754
eval "kde_cv_path_$kde_cache=$kde_cv_path"
12760
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
12764
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
12765
echo "$as_me:$LINENO: result: not found" >&5
12766
echo "${ECHO_T}not found" >&6
12768
{ { echo "$as_me:$LINENO: error: No Qt meta object compiler (moc) found!
12769
Please check whether you installed Qt correctly.
12770
You need to have a running moc binary.
12771
configure tried to run $ac_cv_path_moc and the test didn't
12772
succeed. If configure shouldn't have tried this one, set
12773
the environment variable MOC to the right one before running
12776
echo "$as_me: error: No Qt meta object compiler (moc) found!
12777
Please check whether you installed Qt correctly.
12778
You need to have a running moc binary.
12779
configure tried to run $ac_cv_path_moc and the test didn't
12780
succeed. If configure shouldn't have tried this one, set
12781
the environment variable MOC to the right one before running
12784
{ (exit 1); exit 1; }; }
12787
echo "$as_me:$LINENO: result: $kde_cv_path" >&5
12788
echo "${ECHO_T}$kde_cv_path" >&6
12793
if test -z "$UIC_NOT_NEEDED"; then
12795
echo "$as_me:$LINENO: checking for uic" >&5
12796
echo $ECHO_N "checking for uic... $ECHO_C" >&6
12797
if test -n "$UIC_PATH"; then
12798
kde_cv_path="$UIC_PATH";
12800
kde_cache=`echo uic | sed 'y%./+-%__p_%'`
12802
if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
12803
echo $ECHO_N "(cached) $ECHO_C" >&6
12810
for dir in $PATH; do
12815
for dir in $dirs; do
12816
if test -x "$dir/uic"; then
12819
evalstr="$dir/uic 2>&1 "
12820
if eval $evalstr; then
12821
kde_cv_path="$dir/uic"
12825
kde_cv_path="$dir/uic"
12831
eval "kde_cv_path_$kde_cache=$kde_cv_path"
12837
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
12841
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
12842
echo "$as_me:$LINENO: result: not found" >&5
12843
echo "${ECHO_T}not found" >&6
12846
echo "$as_me:$LINENO: result: $kde_cv_path" >&5
12847
echo "${ECHO_T}$kde_cv_path" >&6
12848
UIC_PATH=$kde_cv_path
12852
if test -z "$UIC_PATH" ; then
12854
{ echo "$as_me:$LINENO: WARNING: No Qt ui compiler (uic) found!
12855
Please check whether you installed Qt correctly.
12856
You need to have a running uic binary.
12857
configure tried to run $ac_cv_path_uic and the test didn't
12858
succeed. If configure shouldn't have tried this one, set
12859
the environment variable UIC to the right one before running
12862
echo "$as_me: WARNING: No Qt ui compiler (uic) found!
12863
Please check whether you installed Qt correctly.
12864
You need to have a running uic binary.
12865
configure tried to run $ac_cv_path_uic and the test didn't
12866
succeed. If configure shouldn't have tried this one, set
12867
the environment variable UIC to the right one before running
12872
elif test $kde_qtver = 3; then
12874
echo "$as_me:$LINENO: checking whether uic supports -L " >&5
12875
echo $ECHO_N "checking whether uic supports -L ... $ECHO_C" >&6
12876
kde_cache=`echo L | sed 'y% .=/+-%____p_%'`
12877
if eval "test \"\${kde_cv_prog_uic_$kde_cache+set}\" = set"; then
12878
echo $ECHO_N "(cached) $ECHO_C" >&6
12881
cat >conftest.ui <<EOT
12882
<!DOCTYPE UI><UI version="3" stdsetdef="1"></UI>
12884
ac_uic_testrun="$UIC_PATH -L /nonexistant conftest.ui >/dev/null"
12885
if { (eval echo "$as_me:$LINENO: \"$ac_uic_testrun\"") >&5
12886
(eval $ac_uic_testrun) 2>&5
12888
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12889
(exit $ac_status); }; then
12890
eval "kde_cv_prog_uic_$kde_cache=yes"
12892
eval "kde_cv_prog_uic_$kde_cache=no"
12899
if eval "test \"`echo '$kde_cv_prog_uic_'$kde_cache`\" = yes"; then
12900
echo "$as_me:$LINENO: result: yes" >&5
12901
echo "${ECHO_T}yes" >&6
12903
ac_uic_supports_libpath=yes
12905
echo "$as_me:$LINENO: result: no" >&5
12906
echo "${ECHO_T}no" >&6
12908
ac_uic_supports_libpath=no
12912
echo "$as_me:$LINENO: checking whether uic supports -nounload " >&5
12913
echo $ECHO_N "checking whether uic supports -nounload ... $ECHO_C" >&6
12914
kde_cache=`echo nounload | sed 'y% .=/+-%____p_%'`
12915
if eval "test \"\${kde_cv_prog_uic_$kde_cache+set}\" = set"; then
12916
echo $ECHO_N "(cached) $ECHO_C" >&6
12919
cat >conftest.ui <<EOT
12920
<!DOCTYPE UI><UI version="3" stdsetdef="1"></UI>
12922
ac_uic_testrun="$UIC_PATH -nounload conftest.ui >/dev/null"
12923
if { (eval echo "$as_me:$LINENO: \"$ac_uic_testrun\"") >&5
12924
(eval $ac_uic_testrun) 2>&5
12926
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12927
(exit $ac_status); }; then
12928
eval "kde_cv_prog_uic_$kde_cache=yes"
12930
eval "kde_cv_prog_uic_$kde_cache=no"
12937
if eval "test \"`echo '$kde_cv_prog_uic_'$kde_cache`\" = yes"; then
12938
echo "$as_me:$LINENO: result: yes" >&5
12939
echo "${ECHO_T}yes" >&6
12941
ac_uic_supports_nounload=yes
12943
echo "$as_me:$LINENO: result: no" >&5
12944
echo "${ECHO_T}no" >&6
12946
ac_uic_supports_nounload=no
12951
if test x$ac_uic_supports_libpath = xyes; then
12952
UIC="$UIC -L \$(kde_widgetdir)"
12954
if test x$ac_uic_supports_nounload = xyes; then
12955
UIC="$UIC -nounload"
12959
UIC="echo uic not available: "
12966
if test $kde_qtver = 3; then
12974
if test -n "$LIBJPEG"; then
12975
echo "$as_me:$LINENO: checking if Qt needs $LIBJPEG" >&5
12976
echo $ECHO_N "checking if Qt needs $LIBJPEG... $ECHO_C" >&6
12977
if test "${kde_cv_qt_jpeg+set}" = set; then
12978
echo $ECHO_N "(cached) $ECHO_C" >&6
12984
ac_cpp='$CXXCPP $CPPFLAGS'
12985
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12986
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12987
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12989
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12992
ac_save_LIBS="$LIBS"
12993
LIBS="$all_libraries $USER_LDFLAGS $LIBQT"
12994
LIBS=`echo $LIBS | sed "s/$LIBJPEG//"`
12995
ac_save_CXXFLAGS="$CXXFLAGS"
12996
CXXFLAGS="$CXXFLAGS $all_includes $USER_INCLUDES"
12997
cat >conftest.$ac_ext <<_ACEOF
12998
#line $LINENO "configure"
12999
#include "confdefs.h"
13000
#include <qapplication.h>
13001
#ifdef F77_DUMMY_MAIN
13002
# ifdef __cplusplus
13005
int F77_DUMMY_MAIN() { return 1; }
13013
QApplication app(argc, argv);
13018
rm -f conftest.$ac_objext conftest$ac_exeext
13019
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13020
(eval $ac_link) 2>&5
13022
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13023
(exit $ac_status); } &&
13024
{ ac_try='test -s conftest$ac_exeext'
13025
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13026
(eval $ac_try) 2>&5
13028
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13029
(exit $ac_status); }; }; then
13030
eval "kde_cv_qt_jpeg=no"
13032
echo "$as_me: failed program was:" >&5
13033
cat conftest.$ac_ext >&5
13034
eval "kde_cv_qt_jpeg=yes"
13036
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13037
LIBS="$ac_save_LIBS"
13038
CXXFLAGS="$ac_save_CXXFLAGS"
13040
ac_cpp='$CPP $CPPFLAGS'
13041
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13042
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13043
ac_compiler_gnu=$ac_cv_c_compiler_gnu
13050
if eval "test ! \"`echo $kde_cv_qt_jpeg`\" = no"; then
13051
echo "$as_me:$LINENO: result: yes" >&5
13052
echo "${ECHO_T}yes" >&6
13053
LIBJPEG_QT='$(LIBJPEG)'
13055
echo "$as_me:$LINENO: result: no" >&5
13056
echo "${ECHO_T}no" >&6
13062
if test "x$kde_use_qt_emb" != "xyes"; then
13063
LIB_QT="$kde_int_qt $LIBJPEG_QT "'$(LIBPNG) -lXext $(LIB_X11) $(LIBSM)'
13065
LIB_QT="$kde_int_qt $LIBJPEG_QT "'$(LIBPNG)'
13067
test -z "$KDE_MT_LIBS" || LIB_QT="$LIB_QT $KDE_MT_LIBS"
13081
echo "$as_me:$LINENO: checking for rpath" >&5
13082
echo $ECHO_N "checking for rpath... $ECHO_C" >&6
13083
# Check whether --enable-rpath or --disable-rpath was given.
13084
if test "${enable_rpath+set}" = set; then
13085
enableval="$enable_rpath"
13086
USE_RPATH=$enableval
13091
if test -z "$KDE_RPATH" && test "$USE_RPATH" = "yes"; then
13093
KDE_RPATH="-R \$(kde_libraries)"
13095
if test -n "$qt_libraries"; then
13096
KDE_RPATH="$KDE_RPATH -R \$(qt_libraries)"
13098
if test -n "$X_LDFLAGS"; then
13099
KDE_RPATH="$KDE_RPATH -R \$(x_libraries)"
13101
if test -n "$KDE_EXTRA_RPATH"; then
13102
KDE_RPATH="$KDE_RPATH \$(KDE_EXTRA_RPATH)"
13107
echo "$as_me:$LINENO: result: $USE_RPATH" >&5
13108
echo "${ECHO_T}$USE_RPATH" >&6
13110
echo "$as_me:$LINENO: checking for KDE" >&5
13111
echo $ECHO_N "checking for KDE... $ECHO_C" >&6
13113
if test "${prefix}" != NONE; then
13114
kde_includes=${prefix}/include
13115
ac_kde_includes=$prefix/include
13117
if test "${exec_prefix}" != NONE; then
13118
kde_libraries=${libdir}
13119
ac_kde_libraries=$libdir
13120
if test "$ac_kde_libraries" = '${exec_prefix}/lib'${kdelibsuff}; then
13121
ac_kde_libraries=$exec_prefix/lib${kdelibsuff}
13124
kde_libraries=${prefix}/lib${kdelibsuff}
13125
ac_kde_libraries=$prefix/lib${kdelibsuff}
13134
if test "${ac_cv_have_kde+set}" = set; then
13135
echo $ECHO_N "(cached) $ECHO_C" >&6
13137
#try to guess kde locations
13139
if test "$kde_qtver" = 1; then
13140
kde_check_header="ksock.h"
13141
kde_check_lib="libkdecore.la"
13143
kde_check_header="ksharedptr.h"
13144
kde_check_lib="libkio.la"
13147
if test -z ""; then
13149
kde_incdirs="/usr/lib/kde/include /usr/local/kde/include /usr/local/include /usr/kde/include /usr/include/kde /usr/include /opt/kde3/include /opt/kde/include $x_includes $qt_includes"
13150
test -n "$KDEDIR" && kde_incdirs="$KDEDIR/include $KDEDIR/include/kde $KDEDIR $kde_incdirs"
13151
kde_incdirs="$ac_kde_includes $kde_incdirs"
13154
for i in $kde_incdirs;
13156
for j in $kde_check_header;
13158
echo "configure: 13160: $i/$j" >&5
13159
if test -r "$i/$j"; then
13160
echo "taking that" >&5
13167
ac_kde_includes="$kde_incdir"
13169
if test -n "$ac_kde_includes" && test ! -r "$ac_kde_includes/$kde_check_header"; then
13170
{ { echo "$as_me:$LINENO: error:
13171
in the prefix, you've chosen, are no KDE headers installed. This will fail.
13172
So, check this please and use another prefix!" >&5
13173
echo "$as_me: error:
13174
in the prefix, you've chosen, are no KDE headers installed. This will fail.
13175
So, check this please and use another prefix!" >&2;}
13176
{ (exit 1); exit 1; }; }
13179
kde_libdirs="/usr/lib/kde/lib${kdelibsuff} /usr/local/kde/lib${kdelibsuff} /usr/kde/lib${kdelibsuff} /usr/lib${kdelibsuff}/kde /usr/lib${kdelibsuff}/kde3 /usr/lib${kdelibsuff} /usr/X11R6/lib${kdelibsuff} /usr/local/lib${kdelibsuff} /opt/kde3/lib${kdelibsuff} /opt/kde/lib${kdelibsuff} /usr/X11R6/kde/lib${kdelibsuff}"
13180
test -n "$KDEDIR" && kde_libdirs="$KDEDIR/lib${kdelibsuff} $KDEDIR $kde_libdirs"
13181
kde_libdirs="$ac_kde_libraries $libdir $kde_libdirs"
13184
for i in $kde_libdirs;
13186
for j in $kde_check_lib;
13188
echo "configure: 13190: $i/$j" >&5
13189
if test -r "$i/$j"; then
13190
echo "taking that" >&5
13197
ac_kde_libraries="$kde_libdir"
13202
for i in $kde_libdirs;
13204
for j in "kde3/plugins/designer/kdewidgets.la";
13206
echo "configure: 13208: $i/$j" >&5
13207
if test -r "$i/$j"; then
13208
echo "taking that" >&5
13216
if test -n "$ac_kde_libraries" && test ! -r "$ac_kde_libraries/$kde_check_lib"; then
13217
{ { echo "$as_me:$LINENO: error:
13218
in the prefix, you've chosen, are no KDE libraries installed. This will fail.
13219
So, check this please and use another prefix!" >&5
13220
echo "$as_me: error:
13221
in the prefix, you've chosen, are no KDE libraries installed. This will fail.
13222
So, check this please and use another prefix!" >&2;}
13223
{ (exit 1); exit 1; }; }
13226
if test -n "$kde_widgetdir" && test ! -r "$kde_widgetdir/kde3/plugins/designer/kdewidgets.la"; then
13227
{ { echo "$as_me:$LINENO: error:
13228
I can't find the designer plugins. These are required and should have been installed
13230
echo "$as_me: error:
13231
I can't find the designer plugins. These are required and should have been installed
13233
{ (exit 1); exit 1; }; }
13236
if test -n "$kde_widgetdir"; then
13237
kde_widgetdir="$kde_widgetdir/kde3/plugins/designer"
13241
if test "$ac_kde_includes" = NO || test "$ac_kde_libraries" = NO || test "$kde_widgetdir" = NO; then
13242
ac_cv_have_kde="have_kde=no"
13244
ac_cv_have_kde="have_kde=yes \
13245
ac_kde_includes=$ac_kde_includes ac_kde_libraries=$ac_kde_libraries"
13249
ac_cv_have_kde="have_kde=no"
13255
eval "$ac_cv_have_kde"
13257
if test "$have_kde" != "yes"; then
13258
if test "${prefix}" = NONE; then
13259
ac_kde_prefix="$ac_default_prefix"
13261
ac_kde_prefix="$prefix"
13263
if test "$exec_prefix" = NONE; then
13264
ac_kde_exec_prefix="$ac_kde_prefix"
13265
echo "$as_me:$LINENO: result: will be installed in $ac_kde_prefix" >&5
13266
echo "${ECHO_T}will be installed in $ac_kde_prefix" >&6
13268
ac_kde_exec_prefix="$exec_prefix"
13269
echo "$as_me:$LINENO: result: will be installed in $ac_kde_prefix and $ac_kde_exec_prefix" >&5
13270
echo "${ECHO_T}will be installed in $ac_kde_prefix and $ac_kde_exec_prefix" >&6
13273
kde_libraries="${libdir}"
13274
kde_includes=${ac_kde_prefix}/include
13277
ac_cv_have_kde="have_kde=yes \
13278
ac_kde_includes=$ac_kde_includes ac_kde_libraries=$ac_kde_libraries"
13279
echo "$as_me:$LINENO: result: libraries $ac_kde_libraries, headers $ac_kde_includes" >&5
13280
echo "${ECHO_T}libraries $ac_kde_libraries, headers $ac_kde_includes" >&6
13282
kde_libraries="$ac_kde_libraries"
13283
kde_includes="$ac_kde_includes"
13288
if test "$kde_includes" = "$x_includes" || test "$kde_includes" = "$qt_includes" || test "$kde_includes" = "/usr/include"; then
13291
KDE_INCLUDES="-I$kde_includes"
13292
all_includes="$KDE_INCLUDES $all_includes"
13295
KDE_LDFLAGS="-L$kde_libraries"
13296
if test ! "$kde_libraries" = "$x_libraries" && test ! "$kde_libraries" = "$qt_libraries" ; then
13297
all_libraries="$all_libraries $KDE_LDFLAGS"
13305
all_libraries="$all_libraries $USER_LDFLAGS"
13306
all_includes="$all_includes $USER_INCLUDES"
13310
if test -z ""; then
13314
if test x$ac_uic_supports_libpath = xyes; then
13316
echo "$as_me:$LINENO: checking if UIC has KDE plugins available" >&5
13317
echo $ECHO_N "checking if UIC has KDE plugins available... $ECHO_C" >&6
13318
if test "${kde_cv_uic_plugins+set}" = set; then
13319
echo $ECHO_N "(cached) $ECHO_C" >&6
13322
cat > actest.ui << EOF
13323
<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
13324
<class>NewConnectionDialog</class>
13325
<widget class="QDialog">
13326
<widget class="KLineEdit">
13327
<property name="name">
13328
<cstring>testInput</cstring>
13337
kde_cv_uic_plugins=no
13338
kde_line="$UIC_PATH -L $kde_widgetdir"
13339
if test x$ac_uic_supports_nounload = xyes; then
13340
kde_line="$kde_line -nounload"
13342
kde_line="$kde_line -impl actest.h actest.ui > actest.cpp"
13343
if { (eval echo "$as_me:$LINENO: \"$kde_line\"") >&5
13344
(eval $kde_line) 2>&5
13346
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13347
(exit $ac_status); }; then
13348
if test -f actest.cpp && grep klineedit actest.cpp > /dev/null; then
13349
kde_cv_uic_plugins=yes
13352
rm -f actest.ui actest.cpp
13357
if test "$kde_cv_uic_plugins" = yes; then
13358
echo "$as_me:$LINENO: result: yes" >&5
13359
echo "${ECHO_T}yes" >&6
13361
{ { echo "$as_me:$LINENO: error: not found - you need to install kdelibs first." >&5
13362
echo "$as_me: error: not found - you need to install kdelibs first." >&2;}
13363
{ (exit 1); exit 1; }; }
13369
ac_kde_libraries="$kde_libdir"
13375
# Check whether --enable-path-check or --disable-path-check was given.
13376
if test "${enable_path_check+set}" = set; then
13377
enableval="$enable_path_check"
13379
if test "$enableval" = "no";
13380
then ac_use_path_checking="default"
13381
else ac_use_path_checking=""
13386
if test "$kde_qtver" = 1;
13387
then ac_use_path_checking=""
13388
else ac_use_path_checking="default"
13397
echo "$as_me:$LINENO: checking for KDE paths" >&5
13398
echo $ECHO_N "checking for KDE paths... $ECHO_C" >&6
13400
kde_cached_paths=yes
13401
if test "${kde_cv_all_paths+set}" = set; then
13402
echo $ECHO_N "(cached) $ECHO_C" >&6
13406
if test "$ac_use_path_checking" = "default"; then
13408
if test -z "$kde_htmldir"; then
13409
kde_htmldir='\${prefix}/share/doc/HTML'
13411
if test -z "$kde_appsdir"; then
13412
kde_appsdir='\${prefix}/share/applnk'
13414
if test -z "$kde_icondir"; then
13415
kde_icondir='\${prefix}/share/icons'
13417
if test -z "$kde_sounddir"; then
13418
kde_sounddir='\${prefix}/share/sounds'
13420
if test -z "$kde_datadir"; then
13421
kde_datadir='\${prefix}/share/apps'
13423
if test -z "$kde_locale"; then
13424
kde_locale='\${prefix}/share/locale'
13426
if test -z "$kde_cgidir"; then
13427
kde_cgidir='\${exec_prefix}/cgi-bin'
13429
if test -z "$kde_confdir"; then
13430
kde_confdir='\${prefix}/share/config'
13432
if test -z "$kde_mimedir"; then
13433
kde_mimedir='\${prefix}/share/mimelnk'
13435
if test -z "$kde_toolbardir"; then
13436
kde_toolbardir='\${prefix}/share/toolbar'
13438
if test -z "$kde_wallpaperdir"; then
13439
kde_wallpaperdir='\${prefix}/share/wallpapers'
13441
if test -z "$kde_templatesdir"; then
13442
kde_templatesdir='\${prefix}/share/templates'
13444
if test -z "$kde_bindir"; then
13445
kde_bindir='\${exec_prefix}/bin'
13447
if test -z "$kde_servicesdir"; then
13448
kde_servicesdir='\${prefix}/share/services'
13450
if test -z "$kde_servicetypesdir"; then
13451
kde_servicetypesdir='\${prefix}/share/servicetypes'
13453
if test -z "$kde_moduledir"; then
13454
if test "$kde_qtver" = "2"; then
13455
kde_moduledir='\${libdir}/kde2'
13457
kde_moduledir='\${libdir}/kde3'
13460
if test -z "$kde_styledir"; then
13461
kde_styledir='\${libdir}/kde3/plugins/styles'
13463
if test -z "$kde_widgetdir"; then
13464
kde_widgetdir='\${libdir}/kde3/plugins/designer'
13466
if test -z "$xdg_appsdir"; then
13467
xdg_appsdir='\${datadir}/applications'
13469
if test -z "$xdg_directorydir"; then
13470
xdg_directorydir='\${datadir}/desktop-directories'
13474
kde_cv_all_paths="kde_have_all_paths=\"yes\" \
13475
kde_htmldir=\"$kde_htmldir\" \
13476
kde_appsdir=\"$kde_appsdir\" \
13477
kde_icondir=\"$kde_icondir\" \
13478
kde_sounddir=\"$kde_sounddir\" \
13479
kde_datadir=\"$kde_datadir\" \
13480
kde_locale=\"$kde_locale\" \
13481
kde_cgidir=\"$kde_cgidir\" \
13482
kde_confdir=\"$kde_confdir\" \
13483
kde_mimedir=\"$kde_mimedir\" \
13484
kde_toolbardir=\"$kde_toolbardir\" \
13485
kde_wallpaperdir=\"$kde_wallpaperdir\" \
13486
kde_templatesdir=\"$kde_templatesdir\" \
13487
kde_bindir=\"$kde_bindir\" \
13488
kde_servicesdir=\"$kde_servicesdir\" \
13489
kde_servicetypesdir=\"$kde_servicetypesdir\" \
13490
kde_moduledir=\"$kde_moduledir\" \
13491
kde_styledir=\"$kde_styledir\" \
13492
kde_widgetdir=\"$kde_widgetdir\" \
13493
xdg_appsdir=\"$xdg_appsdir\" \
13494
xdg_directorydir=\"$xdg_directorydir\" \
13495
kde_result=defaults"
13500
if test $kde_qtver = 1; then
13501
echo "$as_me:$LINENO: result: compiling" >&5
13502
echo "${ECHO_T}compiling" >&6
13505
echo "$as_me:$LINENO: checking for KDE headers installed" >&5
13506
echo $ECHO_N "checking for KDE headers installed... $ECHO_C" >&6
13510
ac_cpp='$CXXCPP $CPPFLAGS'
13511
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13512
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13513
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13515
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13518
cat > conftest.$ac_ext <<EOF
13519
#ifdef STDC_HEADERS
13520
# include <stdlib.h>
13523
#include "confdefs.h"
13527
printf("kde_htmldir=\\"%s\\"\n", KApplication::kde_htmldir().data());
13528
printf("kde_appsdir=\\"%s\\"\n", KApplication::kde_appsdir().data());
13529
printf("kde_icondir=\\"%s\\"\n", KApplication::kde_icondir().data());
13530
printf("kde_sounddir=\\"%s\\"\n", KApplication::kde_sounddir().data());
13531
printf("kde_datadir=\\"%s\\"\n", KApplication::kde_datadir().data());
13532
printf("kde_locale=\\"%s\\"\n", KApplication::kde_localedir().data());
13533
printf("kde_cgidir=\\"%s\\"\n", KApplication::kde_cgidir().data());
13534
printf("kde_confdir=\\"%s\\"\n", KApplication::kde_configdir().data());
13535
printf("kde_mimedir=\\"%s\\"\n", KApplication::kde_mimedir().data());
13536
printf("kde_toolbardir=\\"%s\\"\n", KApplication::kde_toolbardir().data());
13537
printf("kde_wallpaperdir=\\"%s\\"\n",
13538
KApplication::kde_wallpaperdir().data());
13539
printf("kde_bindir=\\"%s\\"\n", KApplication::kde_bindir().data());
13540
printf("kde_partsdir=\\"%s\\"\n", KApplication::kde_partsdir().data());
13541
printf("kde_servicesdir=\\"/tmp/dummy\\"\n");
13542
printf("kde_servicetypesdir=\\"/tmp/dummy\\"\n");
13543
printf("kde_moduledir=\\"/tmp/dummy\\"\n");
13544
printf("kde_styledir=\\"/tmp/dummy\\"\n");
13545
printf("kde_widgetdir=\\"/tmp/dummy\\"\n");
13546
printf("xdg_appsdir=\\"/tmp/dummy\\"\n");
13547
printf("xdg_directorydir=\\"/tmp/dummy\\"\n");
13552
ac_compile='${CXX-g++} -c $CXXFLAGS $all_includes $CPPFLAGS conftest.$ac_ext'
13553
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13554
(eval $ac_compile) 2>&5
13556
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13557
(exit $ac_status); }; then
13558
echo "$as_me:$LINENO: result: yes" >&5
13559
echo "${ECHO_T}yes" >&6
13561
{ { echo "$as_me:$LINENO: error: your system is not able to compile a small KDE application!
13562
Check, if you installed the KDE header files correctly.
13563
For more details about this problem, look at the end of config.log." >&5
13564
echo "$as_me: error: your system is not able to compile a small KDE application!
13565
Check, if you installed the KDE header files correctly.
13566
For more details about this problem, look at the end of config.log." >&2;}
13567
{ (exit 1); exit 1; }; }
13571
ac_cpp='$CPP $CPPFLAGS'
13572
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13573
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13574
ac_compiler_gnu=$ac_cv_c_compiler_gnu
13580
if test -n "$USE_RPATH"; then
13582
if test -n "$kde_libraries"; then
13583
KDE_TEST_RPATH="-R $kde_libraries"
13586
if test -n "$qt_libraries"; then
13587
KDE_TEST_RPATH="$KDE_TEST_RPATH -R $qt_libraries"
13590
if test -n "$x_libraries"; then
13591
KDE_TEST_RPATH="$KDE_TEST_RPATH -R $x_libraries"
13594
KDE_TEST_RPATH="$KDE_TEST_RPATH $KDE_EXTRA_RPATH"
13597
echo "$as_me:$LINENO: checking for KDE libraries installed" >&5
13598
echo $ECHO_N "checking for KDE libraries installed... $ECHO_C" >&6
13599
ac_link='$LIBTOOL_SHELL --silent --mode=link ${CXX-g++} -o conftest $CXXFLAGS $all_includes $CPPFLAGS $LDFLAGS $all_libraries conftest.$ac_ext $LIBS -lkdecore $LIBQT $KDE_TEST_RPATH 1>&5'
13601
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13602
(eval $ac_link) 2>&5
13604
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13605
(exit $ac_status); } && test -s conftest; then
13606
echo "$as_me:$LINENO: result: yes" >&5
13607
echo "${ECHO_T}yes" >&6
13609
{ { echo "$as_me:$LINENO: error: your system fails at linking a small KDE application!
13610
Check, if your compiler is installed correctly and if you have used the
13611
same compiler to compile Qt and kdelibs as you did use now.
13612
For more details about this problem, look at the end of config.log." >&5
13613
echo "$as_me: error: your system fails at linking a small KDE application!
13614
Check, if your compiler is installed correctly and if you have used the
13615
same compiler to compile Qt and kdelibs as you did use now.
13616
For more details about this problem, look at the end of config.log." >&2;}
13617
{ (exit 1); exit 1; }; }
13620
if eval `KDEDIR= ./conftest 2>&5`; then
13623
kde_result=problems
13626
KDEDIR= ./conftest 2> /dev/null >&5 # make an echo for config.log
13627
kde_have_all_paths=yes
13630
kde_cv_all_paths="kde_have_all_paths=\"yes\" \
13631
kde_htmldir=\"$kde_htmldir\" \
13632
kde_appsdir=\"$kde_appsdir\" \
13633
kde_icondir=\"$kde_icondir\" \
13634
kde_sounddir=\"$kde_sounddir\" \
13635
kde_datadir=\"$kde_datadir\" \
13636
kde_locale=\"$kde_locale\" \
13637
kde_cgidir=\"$kde_cgidir\" \
13638
kde_confdir=\"$kde_confdir\" \
13639
kde_mimedir=\"$kde_mimedir\" \
13640
kde_toolbardir=\"$kde_toolbardir\" \
13641
kde_wallpaperdir=\"$kde_wallpaperdir\" \
13642
kde_templatesdir=\"$kde_templatesdir\" \
13643
kde_bindir=\"$kde_bindir\" \
13644
kde_servicesdir=\"$kde_servicesdir\" \
13645
kde_servicetypesdir=\"$kde_servicetypesdir\" \
13646
kde_moduledir=\"$kde_moduledir\" \
13647
kde_styledir=\"$kde_styledir\" \
13648
kde_widgetdir=\"$kde_widgetdir\" \
13649
xdg_appsdir=\"$xdg_appsdir\" \
13650
xdg_directorydir=\"$xdg_directorydir\" \
13651
kde_result=$kde_result"
13656
{ { echo "$as_me:$LINENO: error: path checking not yet supported for KDE 2" >&5
13657
echo "$as_me: error: path checking not yet supported for KDE 2" >&2;}
13658
{ (exit 1); exit 1; }; }
13663
kde_cached_paths=no
13667
eval "$kde_cv_all_paths"
13668
if test -z "$kde_htmldir" || test -z "$kde_appsdir" ||
13669
test -z "$kde_icondir" || test -z "$kde_sounddir" ||
13670
test -z "$kde_datadir" || test -z "$kde_locale" ||
13671
test -z "$kde_cgidir" || test -z "$kde_confdir" ||
13672
test -z "$kde_mimedir" || test -z "$kde_toolbardir" ||
13673
test -z "$kde_wallpaperdir" || test -z "$kde_templatesdir" ||
13674
test -z "$kde_bindir" || test -z "$kde_servicesdir" ||
13675
test -z "$kde_servicetypesdir" || test -z "$kde_moduledir" ||
13676
test -z "$kde_styledir" || test -z "kde_widgetdir" ||
13677
test -z "$xdg_appsdir" || test -z "xdg_directorydir"
13678
test "x$kde_have_all_paths" != "xyes"; then
13679
kde_have_all_paths=no
13682
if test "$kde_have_all_paths" = "no" && test "$kde_cached_paths" = "yes"; then
13683
# wrong values were cached, may be, we can set better ones
13685
kde_htmldir= kde_appsdir= kde_icondir= kde_sounddir=
13686
kde_datadir= kde_locale= kde_cgidir= kde_confdir=
13687
kde_mimedir= kde_toolbardir= kde_wallpaperdir= kde_templatesdir=
13688
kde_bindir= kde_servicesdir= kde_servicetypesdir= kde_moduledir=
13689
kde_have_all_paths=
13692
xdg_appsdir = xdg_directorydir=
13694
if test "$ac_use_path_checking" = "default"; then
13696
if test -z "$kde_htmldir"; then
13697
kde_htmldir='\${prefix}/share/doc/HTML'
13699
if test -z "$kde_appsdir"; then
13700
kde_appsdir='\${prefix}/share/applnk'
13702
if test -z "$kde_icondir"; then
13703
kde_icondir='\${prefix}/share/icons'
13705
if test -z "$kde_sounddir"; then
13706
kde_sounddir='\${prefix}/share/sounds'
13708
if test -z "$kde_datadir"; then
13709
kde_datadir='\${prefix}/share/apps'
13711
if test -z "$kde_locale"; then
13712
kde_locale='\${prefix}/share/locale'
13714
if test -z "$kde_cgidir"; then
13715
kde_cgidir='\${exec_prefix}/cgi-bin'
13717
if test -z "$kde_confdir"; then
13718
kde_confdir='\${prefix}/share/config'
13720
if test -z "$kde_mimedir"; then
13721
kde_mimedir='\${prefix}/share/mimelnk'
13723
if test -z "$kde_toolbardir"; then
13724
kde_toolbardir='\${prefix}/share/toolbar'
13726
if test -z "$kde_wallpaperdir"; then
13727
kde_wallpaperdir='\${prefix}/share/wallpapers'
13729
if test -z "$kde_templatesdir"; then
13730
kde_templatesdir='\${prefix}/share/templates'
13732
if test -z "$kde_bindir"; then
13733
kde_bindir='\${exec_prefix}/bin'
13735
if test -z "$kde_servicesdir"; then
13736
kde_servicesdir='\${prefix}/share/services'
13738
if test -z "$kde_servicetypesdir"; then
13739
kde_servicetypesdir='\${prefix}/share/servicetypes'
13741
if test -z "$kde_moduledir"; then
13742
if test "$kde_qtver" = "2"; then
13743
kde_moduledir='\${libdir}/kde2'
13745
kde_moduledir='\${libdir}/kde3'
13748
if test -z "$kde_styledir"; then
13749
kde_styledir='\${libdir}/kde3/plugins/styles'
13751
if test -z "$kde_widgetdir"; then
13752
kde_widgetdir='\${libdir}/kde3/plugins/designer'
13754
if test -z "$xdg_appsdir"; then
13755
xdg_appsdir='\${datadir}/applications'
13757
if test -z "$xdg_directorydir"; then
13758
xdg_directorydir='\${datadir}/desktop-directories'
13762
kde_cv_all_paths="kde_have_all_paths=\"yes\" \
13763
kde_htmldir=\"$kde_htmldir\" \
13764
kde_appsdir=\"$kde_appsdir\" \
13765
kde_icondir=\"$kde_icondir\" \
13766
kde_sounddir=\"$kde_sounddir\" \
13767
kde_datadir=\"$kde_datadir\" \
13768
kde_locale=\"$kde_locale\" \
13769
kde_cgidir=\"$kde_cgidir\" \
13770
kde_confdir=\"$kde_confdir\" \
13771
kde_mimedir=\"$kde_mimedir\" \
13772
kde_toolbardir=\"$kde_toolbardir\" \
13773
kde_wallpaperdir=\"$kde_wallpaperdir\" \
13774
kde_templatesdir=\"$kde_templatesdir\" \
13775
kde_bindir=\"$kde_bindir\" \
13776
kde_servicesdir=\"$kde_servicesdir\" \
13777
kde_servicetypesdir=\"$kde_servicetypesdir\" \
13778
kde_moduledir=\"$kde_moduledir\" \
13779
kde_styledir=\"$kde_styledir\" \
13780
kde_widgetdir=\"$kde_widgetdir\" \
13781
xdg_appsdir=\"$xdg_appsdir\" \
13782
xdg_directorydir=\"$xdg_directorydir\" \
13783
kde_result=defaults"
13788
if test $kde_qtver = 1; then
13789
echo "$as_me:$LINENO: result: compiling" >&5
13790
echo "${ECHO_T}compiling" >&6
13793
echo "$as_me:$LINENO: checking for KDE headers installed" >&5
13794
echo $ECHO_N "checking for KDE headers installed... $ECHO_C" >&6
13798
ac_cpp='$CXXCPP $CPPFLAGS'
13799
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13800
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13801
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13803
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13806
cat > conftest.$ac_ext <<EOF
13807
#ifdef STDC_HEADERS
13808
# include <stdlib.h>
13811
#include "confdefs.h"
13815
printf("kde_htmldir=\\"%s\\"\n", KApplication::kde_htmldir().data());
13816
printf("kde_appsdir=\\"%s\\"\n", KApplication::kde_appsdir().data());
13817
printf("kde_icondir=\\"%s\\"\n", KApplication::kde_icondir().data());
13818
printf("kde_sounddir=\\"%s\\"\n", KApplication::kde_sounddir().data());
13819
printf("kde_datadir=\\"%s\\"\n", KApplication::kde_datadir().data());
13820
printf("kde_locale=\\"%s\\"\n", KApplication::kde_localedir().data());
13821
printf("kde_cgidir=\\"%s\\"\n", KApplication::kde_cgidir().data());
13822
printf("kde_confdir=\\"%s\\"\n", KApplication::kde_configdir().data());
13823
printf("kde_mimedir=\\"%s\\"\n", KApplication::kde_mimedir().data());
13824
printf("kde_toolbardir=\\"%s\\"\n", KApplication::kde_toolbardir().data());
13825
printf("kde_wallpaperdir=\\"%s\\"\n",
13826
KApplication::kde_wallpaperdir().data());
13827
printf("kde_bindir=\\"%s\\"\n", KApplication::kde_bindir().data());
13828
printf("kde_partsdir=\\"%s\\"\n", KApplication::kde_partsdir().data());
13829
printf("kde_servicesdir=\\"/tmp/dummy\\"\n");
13830
printf("kde_servicetypesdir=\\"/tmp/dummy\\"\n");
13831
printf("kde_moduledir=\\"/tmp/dummy\\"\n");
13832
printf("kde_styledir=\\"/tmp/dummy\\"\n");
13833
printf("kde_widgetdir=\\"/tmp/dummy\\"\n");
13834
printf("xdg_appsdir=\\"/tmp/dummy\\"\n");
13835
printf("xdg_directorydir=\\"/tmp/dummy\\"\n");
13840
ac_compile='${CXX-g++} -c $CXXFLAGS $all_includes $CPPFLAGS conftest.$ac_ext'
13841
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13842
(eval $ac_compile) 2>&5
13844
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13845
(exit $ac_status); }; then
13846
echo "$as_me:$LINENO: result: yes" >&5
13847
echo "${ECHO_T}yes" >&6
13849
{ { echo "$as_me:$LINENO: error: your system is not able to compile a small KDE application!
13850
Check, if you installed the KDE header files correctly.
13851
For more details about this problem, look at the end of config.log." >&5
13852
echo "$as_me: error: your system is not able to compile a small KDE application!
13853
Check, if you installed the KDE header files correctly.
13854
For more details about this problem, look at the end of config.log." >&2;}
13855
{ (exit 1); exit 1; }; }
13859
ac_cpp='$CPP $CPPFLAGS'
13860
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13861
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13862
ac_compiler_gnu=$ac_cv_c_compiler_gnu
13868
if test -n "$USE_RPATH"; then
13870
if test -n "$kde_libraries"; then
13871
KDE_TEST_RPATH="-R $kde_libraries"
13874
if test -n "$qt_libraries"; then
13875
KDE_TEST_RPATH="$KDE_TEST_RPATH -R $qt_libraries"
13878
if test -n "$x_libraries"; then
13879
KDE_TEST_RPATH="$KDE_TEST_RPATH -R $x_libraries"
13882
KDE_TEST_RPATH="$KDE_TEST_RPATH $KDE_EXTRA_RPATH"
13885
echo "$as_me:$LINENO: checking for KDE libraries installed" >&5
13886
echo $ECHO_N "checking for KDE libraries installed... $ECHO_C" >&6
13887
ac_link='$LIBTOOL_SHELL --silent --mode=link ${CXX-g++} -o conftest $CXXFLAGS $all_includes $CPPFLAGS $LDFLAGS $all_libraries conftest.$ac_ext $LIBS -lkdecore $LIBQT $KDE_TEST_RPATH 1>&5'
13889
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13890
(eval $ac_link) 2>&5
13892
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13893
(exit $ac_status); } && test -s conftest; then
13894
echo "$as_me:$LINENO: result: yes" >&5
13895
echo "${ECHO_T}yes" >&6
13897
{ { echo "$as_me:$LINENO: error: your system fails at linking a small KDE application!
13898
Check, if your compiler is installed correctly and if you have used the
13899
same compiler to compile Qt and kdelibs as you did use now.
13900
For more details about this problem, look at the end of config.log." >&5
13901
echo "$as_me: error: your system fails at linking a small KDE application!
13902
Check, if your compiler is installed correctly and if you have used the
13903
same compiler to compile Qt and kdelibs as you did use now.
13904
For more details about this problem, look at the end of config.log." >&2;}
13905
{ (exit 1); exit 1; }; }
13908
if eval `KDEDIR= ./conftest 2>&5`; then
13911
kde_result=problems
13914
KDEDIR= ./conftest 2> /dev/null >&5 # make an echo for config.log
13915
kde_have_all_paths=yes
13918
kde_cv_all_paths="kde_have_all_paths=\"yes\" \
13919
kde_htmldir=\"$kde_htmldir\" \
13920
kde_appsdir=\"$kde_appsdir\" \
13921
kde_icondir=\"$kde_icondir\" \
13922
kde_sounddir=\"$kde_sounddir\" \
13923
kde_datadir=\"$kde_datadir\" \
13924
kde_locale=\"$kde_locale\" \
13925
kde_cgidir=\"$kde_cgidir\" \
13926
kde_confdir=\"$kde_confdir\" \
13927
kde_mimedir=\"$kde_mimedir\" \
13928
kde_toolbardir=\"$kde_toolbardir\" \
13929
kde_wallpaperdir=\"$kde_wallpaperdir\" \
13930
kde_templatesdir=\"$kde_templatesdir\" \
13931
kde_bindir=\"$kde_bindir\" \
13932
kde_servicesdir=\"$kde_servicesdir\" \
13933
kde_servicetypesdir=\"$kde_servicetypesdir\" \
13934
kde_moduledir=\"$kde_moduledir\" \
13935
kde_styledir=\"$kde_styledir\" \
13936
kde_widgetdir=\"$kde_widgetdir\" \
13937
xdg_appsdir=\"$xdg_appsdir\" \
13938
xdg_directorydir=\"$xdg_directorydir\" \
13939
kde_result=$kde_result"
13944
{ { echo "$as_me:$LINENO: error: path checking not yet supported for KDE 2" >&5
13945
echo "$as_me: error: path checking not yet supported for KDE 2" >&2;}
13946
{ (exit 1); exit 1; }; }
13951
eval "$kde_cv_all_paths"
13952
if test -z "$kde_htmldir" || test -z "$kde_appsdir" ||
13953
test -z "$kde_icondir" || test -z "$kde_sounddir" ||
13954
test -z "$kde_datadir" || test -z "$kde_locale" ||
13955
test -z "$kde_cgidir" || test -z "$kde_confdir" ||
13956
test -z "$kde_mimedir" || test -z "$kde_toolbardir" ||
13957
test -z "$kde_wallpaperdir" || test -z "$kde_templatesdir" ||
13958
test -z "$kde_bindir" || test -z "$kde_servicesdir" ||
13959
test -z "$kde_servicetypesdir" || test -z "$kde_moduledir" ||
13960
test -z "$kde_styledir" || test -z "kde_widgetdir" ||
13961
test -z "$xdg_appsdir" || test -z "xdg_directorydir"
13962
test "x$kde_have_all_paths" != "xyes"; then
13963
kde_have_all_paths=no
13966
kde_result="$kde_result (cache overridden)"
13968
if test "$kde_have_all_paths" = "no"; then
13969
{ { echo "$as_me:$LINENO: error: configure could not run a little KDE program to test the environment.
13970
Since it had compiled and linked before, it must be a strange problem on your system.
13971
Look at config.log for details. If you are not able to fix this, look at
13972
http://www.kde.org/faq/installation.html or any www.kde.org mirror.
13973
(If you're using an egcs version on Linux, you may update binutils!)
13975
echo "$as_me: error: configure could not run a little KDE program to test the environment.
13976
Since it had compiled and linked before, it must be a strange problem on your system.
13977
Look at config.log for details. If you are not able to fix this, look at
13978
http://www.kde.org/faq/installation.html or any www.kde.org mirror.
13979
(If you're using an egcs version on Linux, you may update binutils!)
13981
{ (exit 1); exit 1; }; }
13984
echo "$as_me:$LINENO: result: $kde_result" >&5
13985
echo "${ECHO_T}$kde_result" >&6
13992
kde_default_bindirs="/usr/bin /usr/local/bin /opt/local/bin /usr/X11R6/bin /opt/kde/bin /opt/kde3/bin /usr/kde/bin /usr/local/kde/bin"
13993
test -n "$KDEDIR" && kde_default_bindirs="$KDEDIR/bin $kde_default_bindirs"
13994
if test -n "$KDEDIRS"; then
13997
for dir in $KDEDIRS; do
13998
kde_default_bindirs="$dir/bin $kde_default_bindirs "
14002
kde_default_bindirs="$exec_prefix/bin $prefix/bin $kde_default_bindirs"
14004
echo "$as_me:$LINENO: checking for dcopidl" >&5
14005
echo $ECHO_N "checking for dcopidl... $ECHO_C" >&6
14006
if test -n "$DCOPIDL"; then
14007
kde_cv_path="$DCOPIDL";
14009
kde_cache=`echo dcopidl | sed 'y%./+-%__p_%'`
14011
if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
14012
echo $ECHO_N "(cached) $ECHO_C" >&6
14016
dirs="$kde_default_bindirs"
14019
for dir in $PATH; do
14024
for dir in $dirs; do
14025
if test -x "$dir/dcopidl"; then
14028
evalstr="$dir/dcopidl 2>&1 "
14029
if eval $evalstr; then
14030
kde_cv_path="$dir/dcopidl"
14034
kde_cv_path="$dir/dcopidl"
14040
eval "kde_cv_path_$kde_cache=$kde_cv_path"
14046
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
14050
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
14051
echo "$as_me:$LINENO: result: not found" >&5
14052
echo "${ECHO_T}not found" >&6
14054
{ { echo "$as_me:$LINENO: error: The important program dcopidl was not found!
14055
Please check whether you installed KDE correctly.
14057
echo "$as_me: error: The important program dcopidl was not found!
14058
Please check whether you installed KDE correctly.
14060
{ (exit 1); exit 1; }; }
14063
echo "$as_me:$LINENO: result: $kde_cv_path" >&5
14064
echo "${ECHO_T}$kde_cv_path" >&6
14065
DCOPIDL=$kde_cv_path
14070
echo "$as_me:$LINENO: checking for dcopidl2cpp" >&5
14071
echo $ECHO_N "checking for dcopidl2cpp... $ECHO_C" >&6
14072
if test -n "$DCOPIDL2CPP"; then
14073
kde_cv_path="$DCOPIDL2CPP";
14075
kde_cache=`echo dcopidl2cpp | sed 'y%./+-%__p_%'`
14077
if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
14078
echo $ECHO_N "(cached) $ECHO_C" >&6
14082
dirs="$kde_default_bindirs"
14085
for dir in $PATH; do
14090
for dir in $dirs; do
14091
if test -x "$dir/dcopidl2cpp"; then
14094
evalstr="$dir/dcopidl2cpp 2>&1 "
14095
if eval $evalstr; then
14096
kde_cv_path="$dir/dcopidl2cpp"
14100
kde_cv_path="$dir/dcopidl2cpp"
14106
eval "kde_cv_path_$kde_cache=$kde_cv_path"
14112
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
14116
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
14117
echo "$as_me:$LINENO: result: not found" >&5
14118
echo "${ECHO_T}not found" >&6
14120
{ { echo "$as_me:$LINENO: error: The important program dcopidl2cpp was not found!
14121
Please check whether you installed KDE correctly.
14123
echo "$as_me: error: The important program dcopidl2cpp was not found!
14124
Please check whether you installed KDE correctly.
14126
{ (exit 1); exit 1; }; }
14129
echo "$as_me:$LINENO: result: $kde_cv_path" >&5
14130
echo "${ECHO_T}$kde_cv_path" >&6
14131
DCOPIDL2CPP=$kde_cv_path
14136
echo "$as_me:$LINENO: checking for mcopidl" >&5
14137
echo $ECHO_N "checking for mcopidl... $ECHO_C" >&6
14138
if test -n "$MCOPIDL"; then
14139
kde_cv_path="$MCOPIDL";
14141
kde_cache=`echo mcopidl | sed 'y%./+-%__p_%'`
14143
if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
14144
echo $ECHO_N "(cached) $ECHO_C" >&6
14148
dirs="$kde_default_bindirs"
14151
for dir in $PATH; do
14156
for dir in $dirs; do
14157
if test -x "$dir/mcopidl"; then
14160
evalstr="$dir/mcopidl 2>&1 "
14161
if eval $evalstr; then
14162
kde_cv_path="$dir/mcopidl"
14166
kde_cv_path="$dir/mcopidl"
14172
eval "kde_cv_path_$kde_cache=$kde_cv_path"
14178
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
14182
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
14183
echo "$as_me:$LINENO: result: not found" >&5
14184
echo "${ECHO_T}not found" >&6
14186
{ { echo "$as_me:$LINENO: error: The important program mcopidl was not found!
14187
Please check whether you installed aRts correctly.
14189
echo "$as_me: error: The important program mcopidl was not found!
14190
Please check whether you installed aRts correctly.
14192
{ (exit 1); exit 1; }; }
14195
echo "$as_me:$LINENO: result: $kde_cv_path" >&5
14196
echo "${ECHO_T}$kde_cv_path" >&6
14197
MCOPIDL=$kde_cv_path
14202
echo "$as_me:$LINENO: checking for artsc-config" >&5
14203
echo $ECHO_N "checking for artsc-config... $ECHO_C" >&6
14204
if test -n "$ARTSCCONFIG"; then
14205
kde_cv_path="$ARTSCCONFIG";
14207
kde_cache=`echo artsc-config | sed 'y%./+-%__p_%'`
14209
if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
14210
echo $ECHO_N "(cached) $ECHO_C" >&6
14214
dirs="$kde_default_bindirs"
14217
for dir in $PATH; do
14222
for dir in $dirs; do
14223
if test -x "$dir/artsc-config"; then
14226
evalstr="$dir/artsc-config 2>&1 "
14227
if eval $evalstr; then
14228
kde_cv_path="$dir/artsc-config"
14232
kde_cv_path="$dir/artsc-config"
14238
eval "kde_cv_path_$kde_cache=$kde_cv_path"
14244
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
14248
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
14249
echo "$as_me:$LINENO: result: not found" >&5
14250
echo "${ECHO_T}not found" >&6
14252
{ { echo "$as_me:$LINENO: error: The important program artsc-config was not found!
14253
Please check whether you installed aRts correctly.
14255
echo "$as_me: error: The important program artsc-config was not found!
14256
Please check whether you installed aRts correctly.
14258
{ (exit 1); exit 1; }; }
14261
echo "$as_me:$LINENO: result: $kde_cv_path" >&5
14262
echo "${ECHO_T}$kde_cv_path" >&6
14263
ARTSCCONFIG=$kde_cv_path
14268
echo "$as_me:$LINENO: checking for kde-config" >&5
14269
echo $ECHO_N "checking for kde-config... $ECHO_C" >&6
14270
if test -n "$KDECONFIG"; then
14271
kde_cv_path="$KDECONFIG";
14273
kde_cache=`echo kde-config | sed 'y%./+-%__p_%'`
14275
if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
14276
echo $ECHO_N "(cached) $ECHO_C" >&6
14280
dirs="$kde_default_bindirs"
14283
for dir in $PATH; do
14288
for dir in $dirs; do
14289
if test -x "$dir/kde-config"; then
14292
evalstr="$dir/kde-config 2>&1 "
14293
if eval $evalstr; then
14294
kde_cv_path="$dir/kde-config"
14298
kde_cv_path="$dir/kde-config"
14304
eval "kde_cv_path_$kde_cache=$kde_cv_path"
14310
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
14314
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
14315
echo "$as_me:$LINENO: result: not found" >&5
14316
echo "${ECHO_T}not found" >&6
14319
echo "$as_me:$LINENO: result: $kde_cv_path" >&5
14320
echo "${ECHO_T}$kde_cv_path" >&6
14321
KDECONFIG=$kde_cv_path
14326
echo "$as_me:$LINENO: checking for meinproc" >&5
14327
echo $ECHO_N "checking for meinproc... $ECHO_C" >&6
14328
if test -n "$MEINPROC"; then
14329
kde_cv_path="$MEINPROC";
14331
kde_cache=`echo meinproc | sed 'y%./+-%__p_%'`
14333
if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
14334
echo $ECHO_N "(cached) $ECHO_C" >&6
14338
dirs="$kde_default_bindirs"
14341
for dir in $PATH; do
14346
for dir in $dirs; do
14347
if test -x "$dir/meinproc"; then
14350
evalstr="$dir/meinproc 2>&1 "
14351
if eval $evalstr; then
14352
kde_cv_path="$dir/meinproc"
14356
kde_cv_path="$dir/meinproc"
14362
eval "kde_cv_path_$kde_cache=$kde_cv_path"
14368
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
14372
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
14373
echo "$as_me:$LINENO: result: not found" >&5
14374
echo "${ECHO_T}not found" >&6
14377
echo "$as_me:$LINENO: result: $kde_cv_path" >&5
14378
echo "${ECHO_T}$kde_cv_path" >&6
14379
MEINPROC=$kde_cv_path
14384
if test -n "$MEINPROC" && test ! "$MEINPROC" = "compiled"; then
14385
kde_sharedirs="/usr/share/kde /usr/local/share /usr/share /opt/kde3/share /opt/kde/share $prefix/share"
14386
test -n "$KDEDIR" && kde_sharedirs="$KDEDIR/share $kde_sharedirs"
14388
KDE_XSL_STYLESHEET=NO
14389
for i in $kde_sharedirs;
14391
for j in apps/ksgmltools2/customization/kde-chunk.xsl;
14393
echo "configure: 14395: $i/$j" >&5
14394
if test -r "$i/$j"; then
14395
echo "taking that" >&5
14396
KDE_XSL_STYLESHEET=$i
14402
if test "$KDE_XSL_STYLESHEET" = "NO"; then
14403
KDE_XSL_STYLESHEET=""
14405
KDE_XSL_STYLESHEET="$KDE_XSL_STYLESHEET/apps/ksgmltools2/customization/kde-chunk.xsl"
14409
DCOP_DEPENDENCIES='$(DCOPIDL)'
14419
if test -x "$KDECONFIG"; then # it can be "compiled"
14420
kde_libs_prefix=`$KDECONFIG --prefix`
14421
if test -z "$kde_libs_prefix" || test ! -x "$kde_libs_prefix"; then
14422
{ { echo "$as_me:$LINENO: error: $KDECONFIG --prefix outputed the non existant prefix '$kde_libs_prefix' for kdelibs.
14423
This means it has been moved since you installed it.
14424
This won't work. Please recompile kdelibs for the new prefix.
14426
echo "$as_me: error: $KDECONFIG --prefix outputed the non existant prefix '$kde_libs_prefix' for kdelibs.
14427
This means it has been moved since you installed it.
14428
This won't work. Please recompile kdelibs for the new prefix.
14430
{ (exit 1); exit 1; }; }
14432
kde_libs_htmldir=`$KDECONFIG --install html --expandvars`
14434
kde_libs_prefix='$(prefix)'
14435
kde_libs_htmldir='$(kde_htmldir)'
14462
if test "$kde_qtver" = 1; then
14463
kde_minidir="$kde_icondir/mini"
14465
# for KDE 1 - this breaks KDE2 apps using minidir, but
14466
# that's the plan ;-/
14467
kde_minidir="/dev/null"
14475
if test $kde_qtver = 3; then
14476
LIB_KDECORE="-lkdecore"
14478
LIB_KDEUI="-lkdeui"
14488
LIB_KHTML="-lkhtml"
14490
LIB_KSPELL="-lkspell"
14492
LIB_KPARTS="-lkparts"
14494
LIB_KDEPRINT="-lkdeprint"
14496
# these are for backward compatibility
14497
LIB_KSYCOCA="-lkio"
14501
elif test $kde_qtver = 2; then
14502
LIB_KDECORE="-lkdecore"
14504
LIB_KDEUI="-lkdeui"
14508
LIB_KSYCOCA="-lksycoca"
14512
LIB_KFILE="-lkfile"
14516
LIB_KHTML="-lkhtml"
14518
LIB_KSPELL="-lkspell"
14520
LIB_KPARTS="-lkparts"
14522
LIB_KDEPRINT="-lkdeprint"
14525
LIB_KDECORE="-lkdecore -lXext $(LIB_QT)"
14527
LIB_KDEUI="-lkdeui $(LIB_KDECORE)"
14529
LIB_KFM="-lkfm $(LIB_KDECORE)"
14531
LIB_KFILE="-lkfile $(LIB_KFM) $(LIB_KDEUI)"
14533
LIB_KAB="-lkab $(LIB_KIMGIO) $(LIB_KDECORE)"
14545
DO_NOT_COMPILE="$DO_NOT_COMPILE CVS debian bsd-port admin"
14547
if test ! -s $srcdir/subdirs; then
14549
files=`cd $srcdir && ls -1`
14550
dirs=`for i in $files; do if test -d $i; then echo $i; fi; done`
14552
echo $i >> $srcdir/subdirs
14556
if test -s $srcdir/inst-apps; then
14557
ac_topsubdirs="`cat $srcdir/inst-apps`"
14559
ac_topsubdirs="`cat $srcdir/subdirs`"
14562
for i in $ac_topsubdirs; do
14563
echo "$as_me:$LINENO: checking if $i should be compiled" >&5
14564
echo $ECHO_N "checking if $i should be compiled... $ECHO_C" >&6
14565
if test -d $srcdir/$i; then
14567
for j in $DO_NOT_COMPILE; do
14568
if test $i = $j; then
14575
echo "$as_me:$LINENO: result: $install_it" >&5
14576
echo "${ECHO_T}$install_it" >&6
14577
vari=`echo $i | sed -e 's,[-+.],_,g'`
14578
if test $install_it = "yes"; then
14579
TOPSUBDIRS="$TOPSUBDIRS $i"
14580
eval "$vari""_SUBDIR_included=yes"
14582
eval "$vari""_SUBDIR_included=no"
14588
ac_config_files="$ac_config_files ./Makefile doc/Makefile doc/cs/Makefile doc/en/Makefile knutclient/Makefile po/Makefile"
14589
cat >confcache <<\_ACEOF
14590
# This file is a shell script that caches the results of configure
14591
# tests run on this system so they can be shared between configure
14592
# scripts and configure runs, see configure's option --config-cache.
14593
# It is not useful on other systems. If it contains results you don't
14594
# want to keep, you may remove or edit it.
14596
# config.status only pays attention to the cache file if you give it
14597
# the --recheck option to rerun configure.
14599
# `ac_cv_env_foo' variables (set or unset) will be overriden when
14600
# loading this file, other *unset* `ac_cv_foo' will be assigned the
14601
# following values.
14605
# The following way of writing the cache mishandles newlines in values,
14606
# but we know of no workaround that is simple, portable, and efficient.
14607
# So, don't put newlines in cache variables' values.
14608
# Ultrix sh set writes to stderr and can't be redirected directly,
14609
# and sets the high bit in the cache file unless we assign to the vars.
14612
case `(ac_space=' '; set | grep ac_space) 2>&1` in
14614
# `set' does not quote correctly, so add quotes (double-quote
14615
# substitution turns \\\\ into \\, and sed turns \\ into \).
14618
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14621
# `set' quotes correctly as required by POSIX, so do not add quotes.
14623
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
14630
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14632
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14634
if cmp -s $cache_file confcache; then :; else
14635
if test -w $cache_file; then
14636
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
14637
cat confcache >$cache_file
14639
echo "not updating unwritable cache $cache_file"
14644
test "x$prefix" = xNONE && prefix=$ac_default_prefix
14645
# Let make expand exec_prefix.
14646
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14648
# VPATH may cause trouble with some makes, so we remove $(srcdir),
14649
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
14650
# trailing colons and then remove the whole line if VPATH becomes empty
14651
# (actually we leave an empty line to preserve line numbers).
14652
if test "x$srcdir" = x.; then
14653
ac_vpsub='/^[ ]*VPATH[ ]*=/{
14654
s/:*\$(srcdir):*/:/;
14655
s/:*\${srcdir}:*/:/;
14657
s/^\([^=]*=[ ]*\):*/\1/;
14663
DEFS=-DHAVE_CONFIG_H
14666
: ${CONFIG_STATUS=./config.status}
14667
ac_clean_files_save=$ac_clean_files
14668
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14669
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
14670
echo "$as_me: creating $CONFIG_STATUS" >&6;}
14671
cat >$CONFIG_STATUS <<_ACEOF
14673
# Generated by $as_me.
14674
# Run this file to recreate the current configuration.
14675
# Compiler output produced by configure, useful for debugging
14676
# configure, is in config.log if it exists.
14679
SHELL=\${CONFIG_SHELL-$SHELL}
14682
cat >>$CONFIG_STATUS <<\_ACEOF
14684
## --------------------- ##
14685
## M4sh Initialization. ##
14686
## --------------------- ##
14688
# Be Bourne compatible
14689
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14692
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
14697
# Support unset when possible.
14698
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
14704
(set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
14705
{ $as_unset LANG || test "${LANG+set}" != set; } ||
14706
{ LANG=C; export LANG; }
14707
(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
14708
{ $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
14709
{ LC_ALL=C; export LC_ALL; }
14710
(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
14711
{ $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
14712
{ LC_TIME=C; export LC_TIME; }
14713
(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
14714
{ $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
14715
{ LC_CTYPE=C; export LC_CTYPE; }
14716
(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
14717
{ $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
14718
{ LANGUAGE=C; export LANGUAGE; }
14719
(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
14720
{ $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
14721
{ LC_COLLATE=C; export LC_COLLATE; }
14722
(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
14723
{ $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
14724
{ LC_NUMERIC=C; export LC_NUMERIC; }
14725
(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
14726
{ $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
14727
{ LC_MESSAGES=C; export LC_MESSAGES; }
14730
# Name of the executable.
14731
as_me=`(basename "$0") 2>/dev/null ||
14732
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14733
X"$0" : 'X\(//\)$' \| \
14734
X"$0" : 'X\(/\)$' \| \
14735
. : '\(.\)' 2>/dev/null ||
14737
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
14738
/^X\/\(\/\/\)$/{ s//\1/; q; }
14739
/^X\/\(\/\).*/{ s//\1/; q; }
14742
# PATH needs CR, and LINENO needs CR and PATH.
14743
# Avoid depending upon Character Ranges.
14744
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14745
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14746
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14747
as_cr_digits='0123456789'
14748
as_cr_alnum=$as_cr_Letters$as_cr_digits
14750
# The user is always right.
14751
if test "${PATH_SEPARATOR+set}" != set; then
14752
echo "#! /bin/sh" >conftest.sh
14753
echo "exit 0" >>conftest.sh
14754
chmod +x conftest.sh
14755
if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
14764
as_lineno_1=$LINENO
14765
as_lineno_2=$LINENO
14766
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
14767
test "x$as_lineno_1" != "x$as_lineno_2" &&
14768
test "x$as_lineno_3" = "x$as_lineno_2" || {
14769
# Find who we are. Look in the path if we contain no path at all
14772
*[\\/]* ) as_myself=$0 ;;
14773
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14774
for as_dir in $PATH
14777
test -z "$as_dir" && as_dir=.
14778
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14783
# We did not find ourselves, most probably we were run as `sh COMMAND'
14784
# in which case we are not to be found in the path.
14785
if test "x$as_myself" = x; then
14788
if test ! -f "$as_myself"; then
14789
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
14790
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
14791
{ (exit 1); exit 1; }; }
14793
case $CONFIG_SHELL in
14795
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14796
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
14799
test -z "$as_dir" && as_dir=.
14800
for as_base in sh bash ksh sh5; do
14803
if ("$as_dir/$as_base" -c '
14804
as_lineno_1=$LINENO
14805
as_lineno_2=$LINENO
14806
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
14807
test "x$as_lineno_1" != "x$as_lineno_2" &&
14808
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
14809
CONFIG_SHELL=$as_dir/$as_base
14810
export CONFIG_SHELL
14811
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
14819
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
14820
# uniformly replaced by the line number. The first 'sed' inserts a
14821
# line-number line before each line; the second 'sed' does the real
14822
# work. The second script uses 'N' to pair each line-number line
14823
# with the numbered line, and appends trailing '-' during
14824
# substitution so that $LINENO is not a special case at line end.
14825
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
14826
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
14827
sed '=' <$as_myself |
14832
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
14835
s,^['$as_cr_digits']*\n,,
14836
' >$as_me.lineno &&
14837
chmod +x $as_me.lineno ||
14838
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
14839
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
14840
{ (exit 1); exit 1; }; }
14842
# Don't try to exec as it changes $[0], causing all sort of problems
14843
# (the dirname of $[0] is not the place where we might find the
14844
# original and so on. Autoconf is especially sensible to this).
14846
# Exit status is that of the last command.
14851
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
14852
*c*,-n*) ECHO_N= ECHO_C='
14854
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
14855
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
14858
if expr a : '\(a\)' >/dev/null 2>&1; then
14864
rm -f conf$$ conf$$.exe conf$$.file
14866
if ln -s conf$$.file conf$$ 2>/dev/null; then
14867
# We could just check for DJGPP; but this test a) works b) is more generic
14868
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
14869
if test -f conf$$.exe; then
14870
# Don't use ln at all; we don't have any links
14875
elif ln conf$$.file conf$$ 2>/dev/null; then
14880
rm -f conf$$ conf$$.exe conf$$.file
14882
as_executable_p="test -f"
14884
# Sed expression to map a string onto a valid CPP name.
14885
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
14887
# Sed expression to map a string onto a valid variable name.
14888
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
14892
# We need space, tab and new line, in precisely that order.
14898
$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
14902
# Open the log real soon, to keep \$[0] and so on meaningful, and to
14903
# report actual input values of CONFIG_FILES etc. instead of their
14904
# values after options handling. Logging --version etc. is OK.
14908
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14909
## Running $as_me. ##
14914
This file was extended by $as_me, which was
14915
generated by GNU Autoconf 2.53. Invocation command line was
14917
CONFIG_FILES = $CONFIG_FILES
14918
CONFIG_HEADERS = $CONFIG_HEADERS
14919
CONFIG_LINKS = $CONFIG_LINKS
14920
CONFIG_COMMANDS = $CONFIG_COMMANDS
14924
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
14928
# Files that config.status was made for.
14929
if test -n "$ac_config_files"; then
14930
echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
14933
if test -n "$ac_config_headers"; then
14934
echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
14937
if test -n "$ac_config_links"; then
14938
echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
14941
if test -n "$ac_config_commands"; then
14942
echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
14945
cat >>$CONFIG_STATUS <<\_ACEOF
14948
\`$as_me' instantiates files from templates according to the
14949
current configuration.
14951
Usage: $0 [OPTIONS] [FILE]...
14953
-h, --help print this help, then exit
14954
-V, --version print version number, then exit
14955
-d, --debug don't remove temporary files
14956
--recheck update $as_me by reconfiguring in the same conditions
14957
--file=FILE[:TEMPLATE]
14958
instantiate the configuration file FILE
14959
--header=FILE[:TEMPLATE]
14960
instantiate the configuration header FILE
14962
Configuration files:
14965
Configuration headers:
14968
Configuration commands:
14971
Report bugs to <bug-autoconf@gnu.org>."
14974
cat >>$CONFIG_STATUS <<_ACEOF
14977
configured by $0, generated by GNU Autoconf 2.53,
14978
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
14980
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
14981
Free Software Foundation, Inc.
14982
This config.status script is free software; the Free Software Foundation
14983
gives unlimited permission to copy, distribute and modify it."
14988
cat >>$CONFIG_STATUS <<\_ACEOF
14989
# If no file are specified by the user, then we need to provide default
14990
# value. By we need to know if files were specified by the user.
14996
ac_option=`expr "x$1" : 'x\([^=]*\)='`
14997
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
14999
set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
15003
*) # This is not an option, so the user has probably given explicit
15005
ac_need_defaults=false;;
15009
# Handling of the options.
15011
cat >>$CONFIG_STATUS <<_ACEOF
15012
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15013
echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
15014
exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
15016
cat >>$CONFIG_STATUS <<\_ACEOF
15017
--version | --vers* | -V )
15018
echo "$ac_cs_version"; exit 0 ;;
15020
# Conflict between --help and --header
15021
{ { echo "$as_me:$LINENO: error: ambiguous option: $1
15022
Try \`$0 --help' for more information." >&5
15023
echo "$as_me: error: ambiguous option: $1
15024
Try \`$0 --help' for more information." >&2;}
15025
{ (exit 1); exit 1; }; };;
15026
--help | --hel | -h )
15027
echo "$ac_cs_usage"; exit 0 ;;
15028
--debug | --d* | -d )
15030
--file | --fil | --fi | --f )
15032
CONFIG_FILES="$CONFIG_FILES $1"
15033
ac_need_defaults=false;;
15034
--header | --heade | --head | --hea )
15036
CONFIG_HEADERS="$CONFIG_HEADERS $1"
15037
ac_need_defaults=false;;
15039
# This is an error.
15040
-*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
15041
Try \`$0 --help' for more information." >&5
15042
echo "$as_me: error: unrecognized option: $1
15043
Try \`$0 --help' for more information." >&2;}
15044
{ (exit 1); exit 1; }; } ;;
15046
*) ac_config_targets="$ac_config_targets $1" ;;
15054
cat >>$CONFIG_STATUS <<_ACEOF
15056
# INIT-COMMANDS section.
15065
cat >>$CONFIG_STATUS <<\_ACEOF
15066
for ac_config_target in $ac_config_targets
15068
case "$ac_config_target" in
15069
# Handling of arguments.
15070
"./Makefile" ) CONFIG_FILES="$CONFIG_FILES ./Makefile" ;;
15071
"doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
15072
"doc/cs/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/cs/Makefile" ;;
15073
"doc/en/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/en/Makefile" ;;
15074
"knutclient/Makefile" ) CONFIG_FILES="$CONFIG_FILES knutclient/Makefile" ;;
15075
"po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
15076
"default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
15077
"config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
15078
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
15079
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
15080
{ (exit 1); exit 1; }; };;
15084
# If the user did not use the arguments to specify the items to instantiate,
15085
# then the envvar interface is used. Set only those that are not.
15086
# We use the long form for the default assignment because of an extremely
15087
# bizarre bug on SunOS 4.1.3.
15088
if $ac_need_defaults; then
15089
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15090
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15091
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15094
# Create a temporary directory, and hook for its removal unless debugging.
15097
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
15098
trap '{ (exit 1); exit 1; }' 1 2 13 15
15101
# Create a (secure) tmp directory for tmp files.
15104
tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
15105
test -n "$tmp" && test -d "$tmp"
15108
tmp=$TMPDIR/cs$$-$RANDOM
15109
(umask 077 && mkdir $tmp)
15112
echo "$me: cannot create a temporary directory in $TMPDIR" >&2
15113
{ (exit 1); exit 1; }
15118
cat >>$CONFIG_STATUS <<_ACEOF
15121
# CONFIG_FILES section.
15124
# No need to generate the scripts if there are no CONFIG_FILES.
15125
# This happens for instance when ./config.status config.h
15126
if test -n "\$CONFIG_FILES"; then
15127
# Protect against being on the right side of a sed subst in config.status.
15128
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
15129
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
15130
s,@SHELL@,$SHELL,;t t
15131
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
15132
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
15133
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
15134
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
15135
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
15136
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
15137
s,@exec_prefix@,$exec_prefix,;t t
15138
s,@prefix@,$prefix,;t t
15139
s,@program_transform_name@,$program_transform_name,;t t
15140
s,@bindir@,$bindir,;t t
15141
s,@sbindir@,$sbindir,;t t
15142
s,@libexecdir@,$libexecdir,;t t
15143
s,@datadir@,$datadir,;t t
15144
s,@sysconfdir@,$sysconfdir,;t t
15145
s,@sharedstatedir@,$sharedstatedir,;t t
15146
s,@localstatedir@,$localstatedir,;t t
15147
s,@libdir@,$libdir,;t t
15148
s,@includedir@,$includedir,;t t
15149
s,@oldincludedir@,$oldincludedir,;t t
15150
s,@infodir@,$infodir,;t t
15151
s,@mandir@,$mandir,;t t
15152
s,@build_alias@,$build_alias,;t t
15153
s,@host_alias@,$host_alias,;t t
15154
s,@target_alias@,$target_alias,;t t
15155
s,@DEFS@,$DEFS,;t t
15156
s,@ECHO_C@,$ECHO_C,;t t
15157
s,@ECHO_N@,$ECHO_N,;t t
15158
s,@ECHO_T@,$ECHO_T,;t t
15159
s,@LIBS@,$LIBS,;t t
15160
s,@build@,$build,;t t
15161
s,@build_cpu@,$build_cpu,;t t
15162
s,@build_vendor@,$build_vendor,;t t
15163
s,@build_os@,$build_os,;t t
15164
s,@host@,$host,;t t
15165
s,@host_cpu@,$host_cpu,;t t
15166
s,@host_vendor@,$host_vendor,;t t
15167
s,@host_os@,$host_os,;t t
15168
s,@target@,$target,;t t
15169
s,@target_cpu@,$target_cpu,;t t
15170
s,@target_vendor@,$target_vendor,;t t
15171
s,@target_os@,$target_os,;t t
15172
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
15173
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
15174
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
15175
s,@PACKAGE@,$PACKAGE,;t t
15176
s,@VERSION@,$VERSION,;t t
15177
s,@ACLOCAL@,$ACLOCAL,;t t
15178
s,@AUTOCONF@,$AUTOCONF,;t t
15179
s,@AUTOMAKE@,$AUTOMAKE,;t t
15180
s,@AUTOHEADER@,$AUTOHEADER,;t t
15181
s,@MAKEINFO@,$MAKEINFO,;t t
15182
s,@SET_MAKE@,$SET_MAKE,;t t
15183
s,@CONF_FILES@,$CONF_FILES,;t t
15185
s,@CFLAGS@,$CFLAGS,;t t
15186
s,@LDFLAGS@,$LDFLAGS,;t t
15187
s,@CPPFLAGS@,$CPPFLAGS,;t t
15188
s,@ac_ct_CC@,$ac_ct_CC,;t t
15189
s,@EXEEXT@,$EXEEXT,;t t
15190
s,@OBJEXT@,$OBJEXT,;t t
15193
s,@CXXFLAGS@,$CXXFLAGS,;t t
15194
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
15195
s,@WOVERLOADED_VIRTUAL@,$WOVERLOADED_VIRTUAL,;t t
15196
s,@USE_EXCEPTIONS@,$USE_EXCEPTIONS,;t t
15197
s,@USE_RTTI@,$USE_RTTI,;t t
15198
s,@CXXCPP@,$CXXCPP,;t t
15199
s,@NOOPT_CXXFLAGS@,$NOOPT_CXXFLAGS,;t t
15200
s,@NOOPT_CFLAGS@,$NOOPT_CFLAGS,;t t
15201
s,@KDE_USE_FINAL_TRUE@,$KDE_USE_FINAL_TRUE,;t t
15202
s,@KDE_USE_FINAL_FALSE@,$KDE_USE_FINAL_FALSE,;t t
15203
s,@KDE_USE_CLOSURE_TRUE@,$KDE_USE_CLOSURE_TRUE,;t t
15204
s,@KDE_USE_CLOSURE_FALSE@,$KDE_USE_CLOSURE_FALSE,;t t
15205
s,@KDE_NO_UNDEFINED@,$KDE_NO_UNDEFINED,;t t
15206
s,@KDE_USE_NMCHECK_TRUE@,$KDE_USE_NMCHECK_TRUE,;t t
15207
s,@KDE_USE_NMCHECK_FALSE@,$KDE_USE_NMCHECK_FALSE,;t t
15208
s,@LN_S@,$LN_S,;t t
15209
s,@RANLIB@,$RANLIB,;t t
15210
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
15211
s,@STRIP@,$STRIP,;t t
15212
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
15213
s,@LIBTOOL@,$LIBTOOL,;t t
15214
s,@KDE_PLUGIN@,$KDE_PLUGIN,;t t
15215
s,@MSGFMT@,$MSGFMT,;t t
15216
s,@GMSGFMT@,$GMSGFMT,;t t
15217
s,@XGETTEXT@,$XGETTEXT,;t t
15218
s,@LIBUTIL@,$LIBUTIL,;t t
15219
s,@LIBCOMPAT@,$LIBCOMPAT,;t t
15220
s,@LIBCRYPT@,$LIBCRYPT,;t t
15221
s,@LIBRESOLV@,$LIBRESOLV,;t t
15222
s,@LIB_POLL@,$LIB_POLL,;t t
15223
s,@FRAMEWORK_COREAUDIO@,$FRAMEWORK_COREAUDIO,;t t
15224
s,@LIBSOCKET@,$LIBSOCKET,;t t
15225
s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
15226
s,@LIBUCB@,$LIBUCB,;t t
15227
s,@LIBDL@,$LIBDL,;t t
15228
s,@X_INCLUDES@,$X_INCLUDES,;t t
15229
s,@X_LDFLAGS@,$X_LDFLAGS,;t t
15230
s,@x_libraries@,$x_libraries,;t t
15231
s,@x_includes@,$x_includes,;t t
15232
s,@LIBSM@,$LIBSM,;t t
15233
s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
15234
s,@LIB_X11@,$LIB_X11,;t t
15235
s,@QTE_NORTTI@,$QTE_NORTTI,;t t
15236
s,@LIB_XEXT@,$LIB_XEXT,;t t
15237
s,@LIBPTHREAD@,$LIBPTHREAD,;t t
15238
s,@USE_THREADS@,$USE_THREADS,;t t
15239
s,@KDE_MT_LDFLAGS@,$KDE_MT_LDFLAGS,;t t
15240
s,@KDE_MT_LIBS@,$KDE_MT_LIBS,;t t
15241
s,@USER_INCLUDES@,$USER_INCLUDES,;t t
15242
s,@USER_LDFLAGS@,$USER_LDFLAGS,;t t
15243
s,@LIBZ@,$LIBZ,;t t
15244
s,@LIBPNG@,$LIBPNG,;t t
15245
s,@LIBJPEG@,$LIBJPEG,;t t
15246
s,@qt_libraries@,$qt_libraries,;t t
15247
s,@qt_includes@,$qt_includes,;t t
15248
s,@QT_INCLUDES@,$QT_INCLUDES,;t t
15249
s,@QT_LDFLAGS@,$QT_LDFLAGS,;t t
15252
s,@UIC_TR@,$UIC_TR,;t t
15253
s,@LIB_QT@,$LIB_QT,;t t
15254
s,@LIB_QPE@,$LIB_QPE,;t t
15255
s,@kde_qtver@,$kde_qtver,;t t
15256
s,@KDE_EXTRA_RPATH@,$KDE_EXTRA_RPATH,;t t
15257
s,@KDE_RPATH@,$KDE_RPATH,;t t
15258
s,@kde_libraries@,$kde_libraries,;t t
15259
s,@kde_includes@,$kde_includes,;t t
15260
s,@KDE_LDFLAGS@,$KDE_LDFLAGS,;t t
15261
s,@KDE_INCLUDES@,$KDE_INCLUDES,;t t
15262
s,@all_includes@,$all_includes,;t t
15263
s,@all_libraries@,$all_libraries,;t t
15264
s,@AUTODIRS@,$AUTODIRS,;t t
15265
s,@DCOPIDL@,$DCOPIDL,;t t
15266
s,@DCOPIDL2CPP@,$DCOPIDL2CPP,;t t
15267
s,@DCOP_DEPENDENCIES@,$DCOP_DEPENDENCIES,;t t
15268
s,@MCOPIDL@,$MCOPIDL,;t t
15269
s,@ARTSCCONFIG@,$ARTSCCONFIG,;t t
15270
s,@KDECONFIG@,$KDECONFIG,;t t
15271
s,@MEINPROC@,$MEINPROC,;t t
15272
s,@KDE_XSL_STYLESHEET@,$KDE_XSL_STYLESHEET,;t t
15273
s,@kde_libs_prefix@,$kde_libs_prefix,;t t
15274
s,@kde_libs_htmldir@,$kde_libs_htmldir,;t t
15275
s,@kde_htmldir@,$kde_htmldir,;t t
15276
s,@kde_appsdir@,$kde_appsdir,;t t
15277
s,@kde_icondir@,$kde_icondir,;t t
15278
s,@kde_sounddir@,$kde_sounddir,;t t
15279
s,@kde_datadir@,$kde_datadir,;t t
15280
s,@kde_locale@,$kde_locale,;t t
15281
s,@kde_confdir@,$kde_confdir,;t t
15282
s,@kde_mimedir@,$kde_mimedir,;t t
15283
s,@kde_wallpaperdir@,$kde_wallpaperdir,;t t
15284
s,@kde_bindir@,$kde_bindir,;t t
15285
s,@xdg_appsdir@,$xdg_appsdir,;t t
15286
s,@xdg_directorydir@,$xdg_directorydir,;t t
15287
s,@kde_templatesdir@,$kde_templatesdir,;t t
15288
s,@kde_servicesdir@,$kde_servicesdir,;t t
15289
s,@kde_servicetypesdir@,$kde_servicetypesdir,;t t
15290
s,@kde_moduledir@,$kde_moduledir,;t t
15291
s,@kde_styledir@,$kde_styledir,;t t
15292
s,@kde_widgetdir@,$kde_widgetdir,;t t
15293
s,@LIB_KDECORE@,$LIB_KDECORE,;t t
15294
s,@LIB_KDEUI@,$LIB_KDEUI,;t t
15295
s,@LIB_KIO@,$LIB_KIO,;t t
15296
s,@LIB_SMB@,$LIB_SMB,;t t
15297
s,@LIB_KAB@,$LIB_KAB,;t t
15298
s,@LIB_KABC@,$LIB_KABC,;t t
15299
s,@LIB_KHTML@,$LIB_KHTML,;t t
15300
s,@LIB_KSPELL@,$LIB_KSPELL,;t t
15301
s,@LIB_KPARTS@,$LIB_KPARTS,;t t
15302
s,@LIB_KDEPRINT@,$LIB_KDEPRINT,;t t
15303
s,@LIB_KSYCOCA@,$LIB_KSYCOCA,;t t
15304
s,@LIB_KFILE@,$LIB_KFILE,;t t
15305
s,@LIB_KFM@,$LIB_KFM,;t t
15306
s,@TOPSUBDIRS@,$TOPSUBDIRS,;t t
15311
cat >>$CONFIG_STATUS <<\_ACEOF
15312
# Split the substitutions into bite-sized pieces for seds with
15313
# small command number limits, like on Digital OSF/1 and HP-UX.
15314
ac_max_sed_lines=48
15315
ac_sed_frag=1 # Number of current file.
15316
ac_beg=1 # First line for current file.
15317
ac_end=$ac_max_sed_lines # Line after last line for current file.
15320
while $ac_more_lines; do
15321
if test $ac_beg -gt 1; then
15322
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
15324
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
15326
if test ! -s $tmp/subs.frag; then
15327
ac_more_lines=false
15329
# The purpose of the label and of the branching condition is to
15330
# speed up the sed processing (if there are no `@' at all, there
15331
# is no need to browse any of the substitutions).
15332
# These are the two extra sed commands mentioned above.
15334
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
15335
if test -z "$ac_sed_cmds"; then
15336
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
15338
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
15340
ac_sed_frag=`expr $ac_sed_frag + 1`
15342
ac_end=`expr $ac_end + $ac_max_sed_lines`
15345
if test -z "$ac_sed_cmds"; then
15348
fi # test -n "$CONFIG_FILES"
15351
cat >>$CONFIG_STATUS <<\_ACEOF
15352
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
15353
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
15355
- | *:- | *:-:* ) # input from stdin
15357
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
15358
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
15359
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
15360
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
15361
* ) ac_file_in=$ac_file.in ;;
15364
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
15365
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
15366
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15367
X"$ac_file" : 'X\(//\)[^/]' \| \
15368
X"$ac_file" : 'X\(//\)$' \| \
15369
X"$ac_file" : 'X\(/\)' \| \
15370
. : '\(.\)' 2>/dev/null ||
15372
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15373
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
15374
/^X\(\/\/\)$/{ s//\1/; q; }
15375
/^X\(\/\).*/{ s//\1/; q; }
15377
{ case "$ac_dir" in
15378
[\\/]* | ?:[\\/]* ) as_incr_dir=;;
15382
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
15383
case $as_mkdir_dir in
15384
# Skip DOS drivespec
15385
?:) as_incr_dir=$as_mkdir_dir ;;
15387
as_incr_dir=$as_incr_dir/$as_mkdir_dir
15388
test -d "$as_incr_dir" ||
15389
mkdir "$as_incr_dir" ||
15390
{ { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
15391
echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
15392
{ (exit 1); exit 1; }; }
15399
if test "$ac_dir" != .; then
15400
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
15401
# A "../" for each directory in $ac_dir_suffix.
15402
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
15404
ac_dir_suffix= ac_top_builddir=
15408
.) # No --srcdir option. We are building in place.
15410
if test -z "$ac_top_builddir"; then
15413
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
15415
[\\/]* | ?:[\\/]* ) # Absolute path.
15416
ac_srcdir=$srcdir$ac_dir_suffix;
15417
ac_top_srcdir=$srcdir ;;
15418
*) # Relative path.
15419
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
15420
ac_top_srcdir=$ac_top_builddir$srcdir ;;
15422
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
15424
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
15425
ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
15426
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
15427
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
15431
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15432
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
15435
if test x"$ac_file" != x-; then
15436
{ echo "$as_me:$LINENO: creating $ac_file" >&5
15437
echo "$as_me: creating $ac_file" >&6;}
15440
# Let's still pretend it is `configure' which instantiates (i.e., don't
15441
# use $as_me), people would be surprised to read:
15442
# /* config.h. Generated by config.status. */
15443
if test x"$ac_file" = x-; then
15446
configure_input="$ac_file. "
15448
configure_input=$configure_input"Generated from `echo $ac_file_in |
15449
sed 's,.*/,,'` by configure."
15451
# First look for the input files in the build tree, otherwise in the
15453
ac_file_inputs=`IFS=:
15454
for f in $ac_file_in; do
15456
-) echo $tmp/stdin ;;
15458
# Absolute (can't be DOS-style, as IFS=:)
15459
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15460
echo "$as_me: error: cannot find input file: $f" >&2;}
15461
{ (exit 1); exit 1; }; }
15464
if test -f "$f"; then
15467
elif test -f "$srcdir/$f"; then
15472
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15473
echo "$as_me: error: cannot find input file: $f" >&2;}
15474
{ (exit 1); exit 1; }; }
15477
done` || { (exit 1); exit 1; }
15479
cat >>$CONFIG_STATUS <<_ACEOF
15483
cat >>$CONFIG_STATUS <<\_ACEOF
15485
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15486
s,@configure_input@,$configure_input,;t t
15487
s,@srcdir@,$ac_srcdir,;t t
15488
s,@abs_srcdir@,$ac_abs_srcdir,;t t
15489
s,@top_srcdir@,$ac_top_srcdir,;t t
15490
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
15491
s,@builddir@,$ac_builddir,;t t
15492
s,@abs_builddir@,$ac_abs_builddir,;t t
15493
s,@top_builddir@,$ac_top_builddir,;t t
15494
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
15495
s,@INSTALL@,$ac_INSTALL,;t t
15496
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
15498
if test x"$ac_file" != x-; then
15499
mv $tmp/out $ac_file
15507
cat >>$CONFIG_STATUS <<\_ACEOF
15510
# CONFIG_HEADER section.
15513
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
15514
# NAME is the cpp macro being defined and VALUE is the value it is being given.
15516
# ac_d sets the value in "#define NAME VALUE" lines.
15517
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
15518
ac_dB='[ ].*$,\1#\2'
15521
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
15522
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
15523
ac_uB='$,\1#\2define\3'
15527
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
15528
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
15530
- | *:- | *:-:* ) # input from stdin
15532
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
15533
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
15534
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
15535
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
15536
* ) ac_file_in=$ac_file.in ;;
15539
test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
15540
echo "$as_me: creating $ac_file" >&6;}
15542
# First look for the input files in the build tree, otherwise in the
15544
ac_file_inputs=`IFS=:
15545
for f in $ac_file_in; do
15547
-) echo $tmp/stdin ;;
15549
# Absolute (can't be DOS-style, as IFS=:)
15550
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15551
echo "$as_me: error: cannot find input file: $f" >&2;}
15552
{ (exit 1); exit 1; }; }
15555
if test -f "$f"; then
15558
elif test -f "$srcdir/$f"; then
15563
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15564
echo "$as_me: error: cannot find input file: $f" >&2;}
15565
{ (exit 1); exit 1; }; }
15568
done` || { (exit 1); exit 1; }
15569
# Remove the trailing spaces.
15570
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
15574
# Transform confdefs.h into two sed scripts, `conftest.defines' and
15575
# `conftest.undefs', that substitutes the proper values into
15576
# config.h.in to produce config.h. The first handles `#define'
15577
# templates, and the second `#undef' templates.
15578
# And first: Protect against being on the right side of a sed subst in
15579
# config.status. Protect against being in an unquoted here document
15580
# in config.status.
15581
rm -f conftest.defines conftest.undefs
15582
# Using a here document instead of a string reduces the quoting nightmare.
15583
# Putting comments in sed scripts is not portable.
15585
# `end' is used to avoid that the second main sed command (meant for
15586
# 0-ary CPP macros) applies to n-ary macro definitions.
15587
# See the Autoconf documentation for `clear'.
15588
cat >confdef2sed.sed <<\_ACEOF
15593
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
15595
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
15598
# If some macros were called several times there might be several times
15599
# the same #defines, which is useless. Nevertheless, we may not want to
15600
# sort them, since we want the *last* AC-DEFINE to be honored.
15601
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
15602
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
15603
rm -f confdef2sed.sed
15605
# This sed command replaces #undef with comments. This is necessary, for
15606
# example, in the case of _POSIX_SOURCE, which is predefined and required
15607
# on some systems where configure will not decide to define it.
15608
cat >>conftest.undefs <<\_ACEOF
15609
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
15612
# Break up conftest.defines because some shells have a limit on the size
15613
# of here documents, and old seds have small limits too (100 cmds).
15614
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
15615
echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
15616
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
15617
echo ' :' >>$CONFIG_STATUS
15618
rm -f conftest.tail
15619
while grep . conftest.defines >/dev/null
15621
# Write a limited-size here document to $tmp/defines.sed.
15622
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
15623
# Speed up: don't consider the non `#define' lines.
15624
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
15625
# Work around the forget-to-reset-the-flag bug.
15626
echo 't clr' >>$CONFIG_STATUS
15627
echo ': clr' >>$CONFIG_STATUS
15628
sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
15630
sed -f $tmp/defines.sed $tmp/in >$tmp/out
15632
mv $tmp/out $tmp/in
15634
sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
15635
rm -f conftest.defines
15636
mv conftest.tail conftest.defines
15638
rm -f conftest.defines
15639
echo ' fi # egrep' >>$CONFIG_STATUS
15640
echo >>$CONFIG_STATUS
15642
# Break up conftest.undefs because some shells have a limit on the size
15643
# of here documents, and old seds have small limits too (100 cmds).
15644
echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
15645
rm -f conftest.tail
15646
while grep . conftest.undefs >/dev/null
15648
# Write a limited-size here document to $tmp/undefs.sed.
15649
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
15650
# Speed up: don't consider the non `#undef'
15651
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
15652
# Work around the forget-to-reset-the-flag bug.
15653
echo 't clr' >>$CONFIG_STATUS
15654
echo ': clr' >>$CONFIG_STATUS
15655
sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
15657
sed -f $tmp/undefs.sed $tmp/in >$tmp/out
15659
mv $tmp/out $tmp/in
15661
sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
15662
rm -f conftest.undefs
15663
mv conftest.tail conftest.undefs
15665
rm -f conftest.undefs
15667
cat >>$CONFIG_STATUS <<\_ACEOF
15668
# Let's still pretend it is `configure' which instantiates (i.e., don't
15669
# use $as_me), people would be surprised to read:
15670
# /* config.h. Generated by config.status. */
15671
if test x"$ac_file" = x-; then
15672
echo "/* Generated by configure. */" >$tmp/config.h
15674
echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
15676
cat $tmp/in >>$tmp/config.h
15678
if test x"$ac_file" != x-; then
15679
if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
15680
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
15681
echo "$as_me: $ac_file is unchanged" >&6;}
15683
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
15684
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15685
X"$ac_file" : 'X\(//\)[^/]' \| \
15686
X"$ac_file" : 'X\(//\)$' \| \
15687
X"$ac_file" : 'X\(/\)' \| \
15688
. : '\(.\)' 2>/dev/null ||
15690
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15691
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
15692
/^X\(\/\/\)$/{ s//\1/; q; }
15693
/^X\(\/\).*/{ s//\1/; q; }
15695
{ case "$ac_dir" in
15696
[\\/]* | ?:[\\/]* ) as_incr_dir=;;
15700
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
15701
case $as_mkdir_dir in
15702
# Skip DOS drivespec
15703
?:) as_incr_dir=$as_mkdir_dir ;;
15705
as_incr_dir=$as_incr_dir/$as_mkdir_dir
15706
test -d "$as_incr_dir" ||
15707
mkdir "$as_incr_dir" ||
15708
{ { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
15709
echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
15710
{ (exit 1); exit 1; }; }
15716
mv $tmp/config.h $ac_file
15720
rm -f $tmp/config.h
15724
cat >>$CONFIG_STATUS <<\_ACEOF
15727
# CONFIG_COMMANDS section.
15729
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
15730
ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
15731
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
15732
ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
15733
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15734
X"$ac_dest" : 'X\(//\)[^/]' \| \
15735
X"$ac_dest" : 'X\(//\)$' \| \
15736
X"$ac_dest" : 'X\(/\)' \| \
15737
. : '\(.\)' 2>/dev/null ||
15739
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15740
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
15741
/^X\(\/\/\)$/{ s//\1/; q; }
15742
/^X\(\/\).*/{ s//\1/; q; }
15746
if test "$ac_dir" != .; then
15747
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
15748
# A "../" for each directory in $ac_dir_suffix.
15749
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
15751
ac_dir_suffix= ac_top_builddir=
15755
.) # No --srcdir option. We are building in place.
15757
if test -z "$ac_top_builddir"; then
15760
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
15762
[\\/]* | ?:[\\/]* ) # Absolute path.
15763
ac_srcdir=$srcdir$ac_dir_suffix;
15764
ac_top_srcdir=$srcdir ;;
15765
*) # Relative path.
15766
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
15767
ac_top_srcdir=$ac_top_builddir$srcdir ;;
15769
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
15771
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
15772
ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
15773
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
15774
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
15777
{ echo "$as_me:$LINENO: executing $ac_dest commands" >&5
15778
echo "$as_me: executing $ac_dest commands" >&6;}
15780
default-1 ) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h ;;
15785
cat >>$CONFIG_STATUS <<\_ACEOF
15787
{ (exit 0); exit 0; }
15789
if test "x$with_fast_perl" = "xyes" ; then
15790
perl -i.bak $ac_aux_dir/conf.change.pl $CONFIG_STATUS || mv $CONFIG_STATUS.bak $CONFIG_STATUS;
15791
rm -f $CONFIG_STATUS.bak;
15793
chmod +x $CONFIG_STATUS
15794
ac_clean_files=$ac_clean_files_save
15797
# configure is writing to config.log, and then calls config.status.
15798
# config.status does its own redirection, appending to config.log.
15799
# Unfortunately, on DOS this fails, as config.log is still kept open
15800
# by configure, so config.status won't be able to write to it; its
15801
# output is simply discarded. So we exec the FD to /dev/null,
15802
# effectively closing config.log, so it can be properly (re)opened and
15803
# appended to by config.status. When coming back to configure, we
15804
# need to make the FD available again.
15805
if test "$no_create" != yes; then
15808
$SHELL $CONFIG_STATUS || ac_cs_success=false
15810
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
15811
# would make configure fail if this is the last instruction.
15812
$ac_cs_success || { (exit 1); exit 1; }