2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.53.
6 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
7 # Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
11 if expr a
: '\(a\)' >/dev
/null
2>&1; then
18 ## --------------------- ##
19 ## M4sh Initialization. ##
20 ## --------------------- ##
22 # Be Bourne compatible
23 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
26 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
31 # Support unset when possible.
32 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
38 (set +x
; test -n "`(LANG=C; export LANG) 2>&1`") &&
39 { $as_unset LANG
|| test "${LANG+set}" != set; } ||
40 { LANG
=C
; export LANG
; }
41 (set +x
; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
42 { $as_unset LC_ALL
|| test "${LC_ALL+set}" != set; } ||
43 { LC_ALL
=C
; export LC_ALL
; }
44 (set +x
; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
45 { $as_unset LC_TIME
|| test "${LC_TIME+set}" != set; } ||
46 { LC_TIME
=C
; export LC_TIME
; }
47 (set +x
; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
48 { $as_unset LC_CTYPE
|| test "${LC_CTYPE+set}" != set; } ||
49 { LC_CTYPE
=C
; export LC_CTYPE
; }
50 (set +x
; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
51 { $as_unset LANGUAGE
|| test "${LANGUAGE+set}" != set; } ||
52 { LANGUAGE
=C
; export LANGUAGE
; }
53 (set +x
; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
54 { $as_unset LC_COLLATE
|| test "${LC_COLLATE+set}" != set; } ||
55 { LC_COLLATE
=C
; export LC_COLLATE
; }
56 (set +x
; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
57 { $as_unset LC_NUMERIC
|| test "${LC_NUMERIC+set}" != set; } ||
58 { LC_NUMERIC
=C
; export LC_NUMERIC
; }
59 (set +x
; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
60 { $as_unset LC_MESSAGES
|| test "${LC_MESSAGES+set}" != set; } ||
61 { LC_MESSAGES
=C
; export LC_MESSAGES
; }
64 # Name of the executable.
65 as_me
=`(basename "$0") 2>/dev/null ||
66 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
67 X"$0" : 'X\(//\)$' \| \
68 X"$0" : 'X\(/\)$' \| \
69 . : '\(.\)' 2>/dev/null ||
71 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
72 /^X\/\(\/\/\)$/{ s//\1/; q; }
73 /^X\/\(\/\).*/{ s//\1/; q; }
76 # PATH needs CR, and LINENO needs CR and PATH.
77 # Avoid depending upon Character Ranges.
78 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
79 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
80 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
81 as_cr_digits
='0123456789'
82 as_cr_alnum
=$as_cr_Letters$as_cr_digits
84 # The user is always right.
85 if test "${PATH_SEPARATOR+set}" != set; then
86 echo "#! /bin/sh" >conftest.sh
87 echo "exit 0" >>conftest.sh
89 if (PATH
=".;."; conftest.sh
) >/dev
/null
2>&1; then
100 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
101 test "x$as_lineno_1" != "x$as_lineno_2" &&
102 test "x$as_lineno_3" = "x$as_lineno_2" || {
103 # Find who we are. Look in the path if we contain no path at all
106 *[\\/]* ) as_myself
=$0 ;;
107 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
111 test -z "$as_dir" && as_dir
=.
112 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
117 # We did not find ourselves, most probably we were run as `sh COMMAND'
118 # in which case we are not to be found in the path.
119 if test "x$as_myself" = x
; then
122 if test ! -f "$as_myself"; then
123 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
124 { (exit 1); exit 1; }; }
126 case $CONFIG_SHELL in
128 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
129 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
132 test -z "$as_dir" && as_dir
=.
133 for as_base
in sh bash ksh sh5
; do
136 if ("$as_dir/$as_base" -c '
139 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
140 test "x$as_lineno_1" != "x$as_lineno_2" &&
141 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
142 CONFIG_SHELL
=$as_dir/$as_base
144 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
152 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
153 # uniformly replaced by the line number. The first 'sed' inserts a
154 # line-number line before each line; the second 'sed' does the real
155 # work. The second script uses 'N' to pair each line-number line
156 # with the numbered line, and appends trailing '-' during
157 # substitution so that $LINENO is not a special case at line end.
158 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
159 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
160 sed '=' <$as_myself |
165 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
168 s,^['$as_cr_digits']*\n,,
170 chmod +x
$as_me.lineno
||
171 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
172 { (exit 1); exit 1; }; }
174 # Don't try to exec as it changes $[0], causing all sort of problems
175 # (the dirname of $[0] is not the place where we might find the
176 # original and so on. Autoconf is especially sensible to this).
178 # Exit status is that of the last command.
183 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
184 *c
*,-n*) ECHO_N
= ECHO_C
='
186 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
187 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
190 if expr a
: '\(a\)' >/dev
/null
2>&1; then
196 rm -f conf$$ conf$$.exe conf$$.
file
198 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
199 # We could just check for DJGPP; but this test a) works b) is more generic
200 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
201 if test -f conf$$.exe
; then
202 # Don't use ln at all; we don't have any links
207 elif ln conf$$.
file conf$$
2>/dev
/null
; then
212 rm -f conf$$ conf$$.exe conf$$.
file
214 as_executable_p
="test -f"
216 # Sed expression to map a string onto a valid CPP name.
217 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
219 # Sed expression to map a string onto a valid variable name.
220 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
224 # We need space, tab and new line, in precisely that order.
230 $as_unset CDPATH
|| test "${CDPATH+set}" != set || { CDPATH
=$PATH_SEPARATOR; export CDPATH
; }
234 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
235 # so uname gets run too.
236 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
243 ac_default_prefix
=/usr
/local
248 SHELL
=${CONFIG_SHELL-/bin/sh}
250 # Maximum number of lines to put in a shell here document.
251 # This variable seems obsolete. It should probably be removed, and
252 # only ac_max_sed_lines should be used.
253 : ${ac_max_here_lines=38}
255 # Identity of this package.
262 ac_unique_file
="wx-config.in"
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>
300 ac_subdirs_all
="$ac_subdirs_all demos samples utils contrib"
302 # Initialize some variables set by options.
304 ac_init_version
=false
305 # The variables have the same names as the options, with
306 # dashes changed to underlines.
314 program_transform_name
=s
,x
,x
,
322 # Installation directory options.
323 # These are left unexpanded so users can "make install exec_prefix=/foo"
324 # and all the variables that are supposed to be based on exec_prefix
325 # by default will actually change.
326 # Use braces instead of parens because sh, perl, etc. also accept them.
327 bindir
='${exec_prefix}/bin'
328 sbindir
='${exec_prefix}/sbin'
329 libexecdir
='${exec_prefix}/libexec'
330 datadir
='${prefix}/share'
331 sysconfdir
='${prefix}/etc'
332 sharedstatedir
='${prefix}/com'
333 localstatedir
='${prefix}/var'
334 libdir
='${exec_prefix}/lib'
335 includedir
='${prefix}/include'
336 oldincludedir
='/usr/include'
337 infodir
='${prefix}/info'
338 mandir
='${prefix}/man'
343 # If the previous option needs an argument, assign it.
344 if test -n "$ac_prev"; then
345 eval "$ac_prev=\$ac_option"
350 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
352 # Accept the important Cygnus configure options, so we can diagnose typos.
356 -bindir | --bindir | --bindi | --bind | --bin | --bi)
358 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
361 -build | --build | --buil | --bui | --bu)
362 ac_prev
=build_alias
;;
363 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
364 build_alias
=$ac_optarg ;;
366 -cache-file | --cache-file | --cache-fil | --cache-fi \
367 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
368 ac_prev
=cache_file
;;
369 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
370 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
371 cache_file
=$ac_optarg ;;
374 cache_file
=config.cache
;;
376 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
378 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
380 datadir
=$ac_optarg ;;
382 -disable-* | --disable-*)
383 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
384 # Reject names that are not valid shell variable names.
385 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
386 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
387 { (exit 1); exit 1; }; }
388 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
389 eval "enable_$ac_feature=no" ;;
391 -enable-* | --enable-*)
392 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
393 # Reject names that are not valid shell variable names.
394 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
395 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
396 { (exit 1); exit 1; }; }
397 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
399 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
402 eval "enable_$ac_feature='$ac_optarg'" ;;
404 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
405 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
406 | --exec | --exe | --ex)
407 ac_prev
=exec_prefix
;;
408 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
409 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
410 | --exec=* | --exe=* | --ex=*)
411 exec_prefix
=$ac_optarg ;;
413 -gas | --gas | --ga | --g)
414 # Obsolete; use --with-gas.
417 -help | --help | --hel | --he | -h)
419 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
420 ac_init_help
=recursive
;;
421 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
422 ac_init_help
=short
;;
424 -host | --host | --hos | --ho)
425 ac_prev
=host_alias
;;
426 -host=* | --host=* | --hos=* | --ho=*)
427 host_alias
=$ac_optarg ;;
429 -includedir | --includedir | --includedi | --included | --include \
430 | --includ | --inclu | --incl | --inc)
431 ac_prev
=includedir
;;
432 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
433 | --includ=* | --inclu=* | --incl=* | --inc=*)
434 includedir
=$ac_optarg ;;
436 -infodir | --infodir | --infodi | --infod | --info | --inf)
438 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
439 infodir
=$ac_optarg ;;
441 -libdir | --libdir | --libdi | --libd)
443 -libdir=* | --libdir=* | --libdi=* | --libd=*)
446 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
447 | --libexe | --libex | --libe)
448 ac_prev
=libexecdir
;;
449 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
450 | --libexe=* | --libex=* | --libe=*)
451 libexecdir
=$ac_optarg ;;
453 -localstatedir | --localstatedir | --localstatedi | --localstated \
454 | --localstate | --localstat | --localsta | --localst \
455 | --locals | --local | --loca | --loc | --lo)
456 ac_prev
=localstatedir
;;
457 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
458 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
459 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
460 localstatedir
=$ac_optarg ;;
462 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
464 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
468 # Obsolete; use --without-fp.
471 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
472 | --no-cr | --no-c | -n)
475 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
476 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
479 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
480 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
481 | --oldin | --oldi | --old | --ol | --o)
482 ac_prev
=oldincludedir
;;
483 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
484 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
485 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
486 oldincludedir
=$ac_optarg ;;
488 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
490 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
493 -program-prefix | --program-prefix | --program-prefi | --program-pref \
494 | --program-pre | --program-pr | --program-p)
495 ac_prev
=program_prefix
;;
496 -program-prefix=* | --program-prefix=* | --program-prefi=* \
497 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
498 program_prefix
=$ac_optarg ;;
500 -program-suffix | --program-suffix | --program-suffi | --program-suff \
501 | --program-suf | --program-su | --program-s)
502 ac_prev
=program_suffix
;;
503 -program-suffix=* | --program-suffix=* | --program-suffi=* \
504 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
505 program_suffix
=$ac_optarg ;;
507 -program-transform-name | --program-transform-name \
508 | --program-transform-nam | --program-transform-na \
509 | --program-transform-n | --program-transform- \
510 | --program-transform | --program-transfor \
511 | --program-transfo | --program-transf \
512 | --program-trans | --program-tran \
513 | --progr-tra | --program-tr | --program-t)
514 ac_prev
=program_transform_name
;;
515 -program-transform-name=* | --program-transform-name=* \
516 | --program-transform-nam=* | --program-transform-na=* \
517 | --program-transform-n=* | --program-transform-=* \
518 | --program-transform=* | --program-transfor=* \
519 | --program-transfo=* | --program-transf=* \
520 | --program-trans=* | --program-tran=* \
521 | --progr-tra=* | --program-tr=* | --program-t=*)
522 program_transform_name
=$ac_optarg ;;
524 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
525 | -silent | --silent | --silen | --sile | --sil)
528 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
530 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
532 sbindir
=$ac_optarg ;;
534 -sharedstatedir | --sharedstatedir | --sharedstatedi \
535 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
536 | --sharedst | --shareds | --shared | --share | --shar \
538 ac_prev
=sharedstatedir
;;
539 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
540 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
541 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
543 sharedstatedir
=$ac_optarg ;;
545 -site | --site | --sit)
547 -site=* | --site=* | --sit=*)
550 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
552 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
555 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
556 | --syscon | --sysco | --sysc | --sys | --sy)
557 ac_prev
=sysconfdir
;;
558 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
559 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
560 sysconfdir
=$ac_optarg ;;
562 -target | --target | --targe | --targ | --tar | --ta | --t)
563 ac_prev
=target_alias
;;
564 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
565 target_alias
=$ac_optarg ;;
567 -v | -verbose | --verbose | --verbos | --verbo | --verb)
570 -version | --version | --versio | --versi | --vers | -V)
574 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
575 # Reject names that are not valid shell variable names.
576 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
577 { echo "$as_me: error: invalid package name: $ac_package" >&2
578 { (exit 1); exit 1; }; }
579 ac_package
=`echo $ac_package| sed 's/-/_/g'`
581 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
584 eval "with_$ac_package='$ac_optarg'" ;;
586 -without-* | --without-*)
587 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package
=`echo $ac_package | sed 's/-/_/g'`
593 eval "with_$ac_package=no" ;;
596 # Obsolete; use --with-x.
599 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
600 | --x-incl | --x-inc | --x-in | --x-i)
601 ac_prev
=x_includes
;;
602 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
603 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
604 x_includes
=$ac_optarg ;;
606 -x-libraries | --x-libraries | --x-librarie | --x-librari \
607 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
608 ac_prev
=x_libraries
;;
609 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
610 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
611 x_libraries
=$ac_optarg ;;
613 -*) { echo "$as_me: error: unrecognized option: $ac_option
614 Try \`$0 --help' for more information." >&2
615 { (exit 1); exit 1; }; }
619 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
620 # Reject names that are not valid shell variable names.
621 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
622 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
623 { (exit 1); exit 1; }; }
624 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
625 eval "$ac_envvar='$ac_optarg'"
629 # FIXME: should be removed in autoconf 3.0.
630 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
631 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
632 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
633 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
639 if test -n "$ac_prev"; then
640 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
641 { echo "$as_me: error: missing argument to $ac_option" >&2
642 { (exit 1); exit 1; }; }
645 # Be sure to have absolute paths.
646 for ac_var
in exec_prefix prefix
648 eval ac_val
=$
`echo $ac_var`
650 [\\/$
]* | ?
:[\\/]* | NONE
| '' ) ;;
651 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
652 { (exit 1); exit 1; }; };;
656 # Be sure to have absolute paths.
657 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
658 localstatedir libdir includedir oldincludedir infodir mandir
660 eval ac_val
=$
`echo $ac_var`
662 [\\/$
]* | ?
:[\\/]* ) ;;
663 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
664 { (exit 1); exit 1; }; };;
668 # There might be people who depend on the old broken behavior: `$host'
669 # used to hold the argument of --host etc.
670 # FIXME: To remove some day.
675 # FIXME: To remove some day.
676 if test "x$host_alias" != x
; then
677 if test "x$build_alias" = x
; then
678 cross_compiling
=maybe
679 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
680 If a cross compiler is detected then cross compile mode will be used." >&2
681 elif test "x$build_alias" != "x$host_alias"; then
687 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
689 test "$silent" = yes && exec 6>/dev
/null
692 # Find the source files, if location was not specified.
693 if test -z "$srcdir"; then
694 ac_srcdir_defaulted
=yes
695 # Try the directory containing this script, then its parent.
696 ac_confdir
=`(dirname "$0") 2>/dev/null ||
697 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
698 X"$0" : 'X\(//\)[^/]' \| \
699 X"$0" : 'X\(//\)$' \| \
700 X"$0" : 'X\(/\)' \| \
701 . : '\(.\)' 2>/dev/null ||
703 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
704 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
705 /^X\(\/\/\)$/{ s//\1/; q; }
706 /^X\(\/\).*/{ s//\1/; q; }
709 if test ! -r $srcdir/$ac_unique_file; then
713 ac_srcdir_defaulted
=no
715 if test ! -r $srcdir/$ac_unique_file; then
716 if test "$ac_srcdir_defaulted" = yes; then
717 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
718 { (exit 1); exit 1; }; }
720 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
721 { (exit 1); exit 1; }; }
724 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
725 ac_env_build_alias_set
=${build_alias+set}
726 ac_env_build_alias_value
=$build_alias
727 ac_cv_env_build_alias_set
=${build_alias+set}
728 ac_cv_env_build_alias_value
=$build_alias
729 ac_env_host_alias_set
=${host_alias+set}
730 ac_env_host_alias_value
=$host_alias
731 ac_cv_env_host_alias_set
=${host_alias+set}
732 ac_cv_env_host_alias_value
=$host_alias
733 ac_env_target_alias_set
=${target_alias+set}
734 ac_env_target_alias_value
=$target_alias
735 ac_cv_env_target_alias_set
=${target_alias+set}
736 ac_cv_env_target_alias_value
=$target_alias
737 ac_env_CC_set
=${CC+set}
739 ac_cv_env_CC_set
=${CC+set}
740 ac_cv_env_CC_value
=$CC
741 ac_env_CFLAGS_set
=${CFLAGS+set}
742 ac_env_CFLAGS_value
=$CFLAGS
743 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
744 ac_cv_env_CFLAGS_value
=$CFLAGS
745 ac_env_LDFLAGS_set
=${LDFLAGS+set}
746 ac_env_LDFLAGS_value
=$LDFLAGS
747 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
748 ac_cv_env_LDFLAGS_value
=$LDFLAGS
749 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
750 ac_env_CPPFLAGS_value
=$CPPFLAGS
751 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
752 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
753 ac_env_CPP_set
=${CPP+set}
754 ac_env_CPP_value
=$CPP
755 ac_cv_env_CPP_set
=${CPP+set}
756 ac_cv_env_CPP_value
=$CPP
757 ac_env_CXX_set
=${CXX+set}
758 ac_env_CXX_value
=$CXX
759 ac_cv_env_CXX_set
=${CXX+set}
760 ac_cv_env_CXX_value
=$CXX
761 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
762 ac_env_CXXFLAGS_value
=$CXXFLAGS
763 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
764 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
765 ac_env_CXXCPP_set
=${CXXCPP+set}
766 ac_env_CXXCPP_value
=$CXXCPP
767 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
768 ac_cv_env_CXXCPP_value
=$CXXCPP
771 # Report the --help message.
773 if test "$ac_init_help" = "long"; then
774 # Omit some internal or obsolete options to make the list less imposing.
775 # This message is too long to be a string in the A/UX 3.1 sh.
777 \`configure' configures this package to adapt to many kinds of systems.
779 Usage: $0 [OPTION]... [VAR=VALUE]...
781 To assign environment variables (e.g., CC, CFLAGS...), specify them as
782 VAR=VALUE. See below for descriptions of some of the useful variables.
784 Defaults for the options are specified in brackets.
787 -h, --help display this help and exit
788 --help=short display options specific to this package
789 --help=recursive display the short help of all the included packages
790 -V, --version display version information and exit
791 -q, --quiet, --silent do not print \`checking...' messages
792 --cache-file=FILE cache test results in FILE [disabled]
793 -C, --config-cache alias for \`--cache-file=config.cache'
794 -n, --no-create do not create output files
795 --srcdir=DIR find the sources in DIR [configure dir or \`..']
800 Installation directories:
801 --prefix=PREFIX install architecture-independent files in PREFIX
803 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
806 By default, \`make install' will install all the files in
807 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
808 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
809 for instance \`--prefix=\$HOME'.
811 For better control, use the options below.
813 Fine tuning of the installation directories:
814 --bindir=DIR user executables [EPREFIX/bin]
815 --sbindir=DIR system admin executables [EPREFIX/sbin]
816 --libexecdir=DIR program executables [EPREFIX/libexec]
817 --datadir=DIR read-only architecture-independent data [PREFIX/share]
818 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
819 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
820 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
821 --libdir=DIR object code libraries [EPREFIX/lib]
822 --includedir=DIR C header files [PREFIX/include]
823 --oldincludedir=DIR C header files for non-gcc [/usr/include]
824 --infodir=DIR info documentation [PREFIX/info]
825 --mandir=DIR man documentation [PREFIX/man]
831 --x-includes=DIR X include files are
in DIR
832 --x-libraries=DIR X library files are
in DIR
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 --enable-gui use GUI classes
849 --enable-universal use wxWindows GUI controls instead of native ones
850 --enable-nanox use NanoX
851 --enable-gtk2 use GTK
+ 2.0 if available
(EXPERIMENTAL
)
852 --enable-shared create shared library code
853 --enable-soname set the DT_SONAME field
in ELF shared libraries
854 --enable-optimise create optimised code
855 --enable-debug same as debug_flag and debug_info
856 --enable-precomp enable use of precompiled headers
(Mac OS X
)
857 --enable-debug_flag set __WXDEBUG__ flag
(recommended
for developers
!)
858 --enable-debug_info create code with debugging information
859 --enable-debug_gdb create code with extra GDB debugging information
860 --enable-debug_cntxt use wxDebugContext
861 --enable-mem_tracing create code with memory tracing
862 --enable-profile create code with profiling information
863 --enable-no_rtti create code without RTTI information
864 --enable-no_exceptions create code without C
++ exceptions handling
865 --enable-permissive compile code disregarding strict ANSI
866 --enable-no_deps create code without dependency information
867 --enable-compat20 enable wxWindows
2.0 compatibility
868 --disable-compat22 disable wxWindows
2.2 compatibility
869 --enable-rpath=DIR output the rpath flag from wx
-config
870 --enable-intl use internationalization system
871 --enable-config use wxConfig
(and derived
) classes
872 --enable-protocols use wxProtocol and derived classes
873 --enable-ftp use wxFTP
(requires wxProtocol
874 --enable-http use wxHTTP
(requires wxProtocol
875 --enable-fileproto use wxFileProto class
(requires wxProtocol
876 --enable-sockets use socket
/network classes
877 --enable-ipc use interprocess communication
(wxSocket etc.
)
878 --enable-cmdline use wxCmdLineParser class
879 --enable-datetime use wxDateTime class
880 --enable-timedate use obsolete wxDate
/wxTime classes
881 --enable-stopwatch use wxStopWatch class
882 --enable-dialupman use dialup network classes
883 --enable-apple_ieee use the Apple IEEE codec
884 --enable-timer use wxTimer class
885 --enable-wave use wxWave class
886 --enable-fraction use wxFraction class
887 --enable-dynlib use wxLibrary class
for DLL loading
888 --enable-dynamicloader use
(new
) wxDynamicLibrary class
889 --enable-longlong use wxLongLong class
890 --enable-geometry use geometry class
891 --enable-log use logging system
892 --enable-streams use wxStream etc classes
893 --enable-file use wxFile classes
894 --enable-ffile use wxFFile classes
895 --enable-textbuf use wxTextBuffer class
896 --enable-textfile use wxTextFile class
897 --enable-fontmap use font encodings conversion classes
898 --enable-unicode compile wxString with Unicode support
899 --enable-mslu use MS Layer
for Unicode on Windows
9x
(win32 only
)
900 --enable-wxprintfv use wxWindows implementation of vprintf
()
901 --enable-std_iostreams use standard C
++ stream classes
902 --enable-filesystem use virtual
file systems classes
903 --enable-fs_inet use virtual HTTP
/FTP filesystems
904 --enable-fs_zip use virtual ZIP filesystems
905 --enable-zipstream use wxZipInputStream
906 --enable-catch_segvs catch signals and pass them to wxApp
::OnFatalException
907 --enable-snglinst use wxSingleInstanceChecker class
908 --enable-mimetype use wxMimeTypesManager
909 --enable-sysoptions use wxSystemOptions
910 --enable-url use wxURL class
911 --enable-protocol use wxProtocol class
912 --enable-protocol-http HTTP support
in wxProtocol
913 --enable-protocol-ftp FTP support
in wxProtocol
914 --enable-protocol-file FILE support
in wxProtocol
915 --enable-threads use threads
916 --enable-docview use document view architecture
917 --enable-help use
help subsystem
918 --enable-mshtmlhelp use MS HTML Help
(win32
)
919 --enable-html use wxHTML sub
-library
920 --enable-htmlhelp use wxHTML
-based help
921 --enable-constraints use layout
-constraints system
922 --enable-printarch use printing architecture
923 --enable-mdi use multiple document interface architecture
924 --enable-loggui use standard GUI logger
925 --enable-logwin use wxLogWindow
926 --enable-logdialog use wxLogDialog
927 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
928 --enable-prologio use Prolog IO library
929 --enable-resources use wxWindows resources
930 --enable-xresources use X resources
for save
(default
for gtk
+)
931 --enable-clipboard use wxClipboard classes
932 --enable-dnd use Drag
'n'Drop classes
933 --enable-metafile use win32 metafiles
934 --enable-treelayout use wxTreeLayout classes
935 --enable-controls use all usual controls
936 --enable-accel use accelerators
937 --enable-button use wxButton class
938 --enable-bmpbutton use wxBitmapButton class
939 --enable-calendar use wxCalendarCtrl class
940 --enable-caret use wxCaret class
941 --enable-checkbox use wxCheckBox class
942 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
943 --enable-choice use wxChoice class
944 --enable-combobox use wxComboBox classes
945 --enable-gauge use wxGauge class
946 --enable-grid use wxGrid class
947 --enable-newgrid use new wxGrid class
948 --enable-imaglist use wxImageList class
949 --enable-listbox use wxListBox class
950 --enable-listctrl use wxListCtrl class
951 --enable-notebook use wxNotebook class
952 --enable-propsheet use wxPropertySheet class
953 --enable-radiobox use wxRadioBox class
954 --enable-radiobtn use wxRadioButton class
955 --enable-sash use wxSashWindow class
956 --enable-scrollbar use wxScrollBar class and scrollable windows
957 --enable-slider use wxSlider class
958 --enable-spinbtn use wxSpinButton class
959 --enable-spinctrl use wxSpinCtrl class
960 --enable-splitter use wxSplitterWindow class
961 --enable-statbmp use wxStaticBitmap class
962 --enable-statbox use wxStaticBox class
963 --enable-statline use wxStaticLine class
964 --enable-stattext use wxStaticText class
965 --enable-statusbar use wxStatusBar class
966 --enable-tabdialog use wxTabControl class
967 --enable-textctrl use wxTextCtrl class
968 --enable-togglebtn use wxToggleButton class
969 --enable-toolbar use wxToolBar class
970 --enable-tbarnative use native wxToolBar class
971 --enable-tbarsmpl use wxToolBarSimple class
972 --enable-treectrl use wxTreeCtrl class
973 --enable-tipwindow use wxTipWindow class
974 --enable-popupwin use wxPopUpWindow class
975 --enable-commondlg use all common dialogs
976 --enable-choicedlg use wxChoiceDialog
977 --enable-coldlg use wxColourDialog
978 --enable-filedlg use wxFileDialog
979 --enable-finddlg use wxFindReplaceDialog
980 --enable-fontdlg use wxFontDialog
981 --enable-dirdlg use wxDirDialog
982 --enable-msgdlg use wxMessageDialog
983 --enable-numberdlg use wxNumberEntryDialog
984 --enable-splash use wxSplashScreen
985 --enable-textdlg use wxTextDialog
986 --enable-tipdlg use startup tips
987 --enable-progressdlg use wxProgressDialog
988 --enable-wizarddlg use wxWizard
989 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
990 --enable-miniframe use wxMiniFrame class
991 --enable-tooltips use wxToolTip class
992 --enable-splines use spline drawing code
993 --enable-validators use wxValidator and derived classes
994 --enable-busyinfo use wxBusyInfo
995 --enable-joystick use wxJoystick
(Linux only
)
996 --enable-metafiles use wxMetaFile
(Windows only
)
997 --enable-dragimage use wxDragImage
998 --enable-palette use wxPalette class
999 --enable-image use wxImage class
1000 --enable-gif use gif images
(GIF
file format
)
1001 --enable-pcx use pcx images
(PCX
file format
)
1002 --enable-iff use iff images
(IFF
file format
)
1003 --enable-pnm use pnm images
(PNM
file format
)
1004 --enable-xpm use xpm images
(XPM
file format
)
1005 --enable-icocur use Windows ICO and CUR formats
1006 --disable-largefile omit support
for large files
1007 --disable-gtktest do not try to compile and run a
test GTK
+ program
1008 --disable-gtktest Do not try to compile and run a
test GTK program
1011 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1012 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1014 --with-motif use Motif
/Lesstif
1015 --with-mac use Mac OS X
1016 --with-wine use WINE
1017 --with-msw use MS
-Windows
1018 --with-pm use OS
/2 Presentation Manager
1019 --with-mgl use SciTech MGL
1020 --with-microwin use MicroWindows
1022 --with-libpng use libpng
(PNG image format
)
1023 --with-libjpeg use libjpeg
(JPEG
file format
)
1024 --with-libtiff use libtiff
(TIFF
file format
)
1025 --with-opengl use OpenGL
(or Mesa
)
1026 --with-dmalloc use dmalloc library
(http
://dmalloc.com
/)
1027 --with-regex enable support
for wxRegEx class
1028 --with-zlib use zlib
for LZW compression
1029 --with-odbc use the IODBC and wxODBC classes
1030 --with-gtk-prefix=PFX Prefix where GTK is installed
(optional
)
1031 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed
(optional
)
1032 --with-x use the X Window System
1033 --with-libiconv-prefix=DIR search
for libiconv
in DIR
/include and DIR
/lib
1035 Some influential environment variables
:
1036 CC C compiler
command
1037 CFLAGS C compiler flags
1038 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1039 nonstandard directory
<lib dir
>
1040 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
1041 headers
in a nonstandard directory
<include dir
>
1043 CXX C
++ compiler
command
1044 CXXFLAGS C
++ compiler flags
1045 CXXCPP C
++ preprocessor
1047 Use these variables to override the choices made by
`configure' or to help
1048 it to find libraries and programs with nonstandard names/locations.
1053 if test "$ac_init_help" = "recursive"; then
1054 # If there are subdirs, report their specific --help.
1056 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1057 test -d $ac_dir || continue
1060 if test "$ac_dir" != .; then
1061 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1062 # A "../" for each directory in $ac_dir_suffix.
1063 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1065 ac_dir_suffix= ac_top_builddir=
1069 .) # No --srcdir option. We are building in place.
1071 if test -z "$ac_top_builddir"; then
1074 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1076 [\\/]* | ?:[\\/]* ) # Absolute path.
1077 ac_srcdir=$srcdir$ac_dir_suffix;
1078 ac_top_srcdir=$srcdir ;;
1080 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1081 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1083 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1085 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1086 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
1087 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1088 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1091 # Check for guested configure; otherwise get Cygnus style configure.
1092 if test -f $ac_srcdir/configure.gnu; then
1094 $SHELL $ac_srcdir/configure.gnu --help=recursive
1095 elif test -f $ac_srcdir/configure; then
1097 $SHELL $ac_srcdir/configure --help=recursive
1098 elif test -f $ac_srcdir/configure.ac ||
1099 test -f $ac_srcdir/configure.in; then
1101 $ac_configure --help
1103 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1109 test -n "$ac_init_help" && exit 0
1110 if $ac_init_version; then
1113 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1114 Free Software Foundation, Inc.
1115 This configure script is free software; the Free Software Foundation
1116 gives unlimited permission to copy, distribute and modify it.
1122 This file contains any messages produced by compilers while
1123 running configure, to aid debugging if configure makes a mistake.
1125 It was created by $as_me, which was
1126 generated by GNU Autoconf 2.53. Invocation command line was
1137 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
1138 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
1139 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
1140 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
1141 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
1143 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
1144 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
1146 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
1147 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
1148 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
1149 hostinfo = `(hostinfo
) 2>/dev
/null
|| echo unknown
`
1150 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
1151 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
1152 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
1156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1160 test -z "$as_dir" && as_dir=.
1161 echo "PATH: $as_dir"
1176 # Keep a trace of the command line.
1177 # Strip out --no-create and --no-recursion so they do not pile up.
1178 # Also quote any args containing shell meta-characters.
1184 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1185 | --no-cr | --no-c | -n ) continue ;;
1186 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1187 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1189 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1190 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1192 case " $ac_configure_args " in
1193 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1194 *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1197 # Get rid of the leading space.
1200 # When interrupted or exit'd, cleanup temporary files, and complete
1201 # config.log. We remove comments because anyway the quotes in there
1202 # would cause problems or look ugly.
1203 # WARNING: Be sure not to use single quotes in there, as some shells,
1204 # such as our DU 5.0 friend, will then `close
' the trap.
1205 trap 'exit_status
=$?
1206 # Save into config.log some information that might help in debugging.
1210 ## ---------------- ##
1211 ## Cache variables. ##
1212 ## ---------------- ##
1215 # The following way of writing the cache mishandles newlines in values,
1218 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1221 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1222 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1226 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1231 if test -s confdefs.h
; then
1238 sed "/^$/d" confdefs.h
1241 test "$ac_signal" != 0 &&
1242 echo "$as_me: caught signal $ac_signal"
1243 echo "$as_me: exit $exit_status"
1245 rm -f core core.
* *.core
&&
1246 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1249 for ac_signal in 1 2 13 15; do
1250 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1254 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1255 rm -rf conftest* confdefs.h
1256 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1259 # Predefined preprocessor variables.
1261 cat >>confdefs.h <<_ACEOF
1262 #define PACKAGE_NAME "$PACKAGE_NAME"
1266 cat >>confdefs.h <<_ACEOF
1267 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1271 cat >>confdefs.h <<_ACEOF
1272 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1276 cat >>confdefs.h <<_ACEOF
1277 #define PACKAGE_STRING "$PACKAGE_STRING"
1281 cat >>confdefs.h <<_ACEOF
1282 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1286 # Let the site file select an alternate cache file if it wants to.
1287 # Prefer explicitly selected file to automatically selected ones.
1288 if test -z "$CONFIG_SITE"; then
1289 if test "x$prefix" != xNONE; then
1290 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1292 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1295 for ac_site_file in $CONFIG_SITE; do
1296 if test -r "$ac_site_file"; then
1297 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1298 echo "$as_me: loading site script $ac_site_file" >&6;}
1299 sed 's
/^
/| /' "$ac_site_file" >&5
1304 if test -r "$cache_file"; then
1305 # Some versions of bash will fail to source /dev/null (special
1306 # files actually), so we avoid doing that.
1307 if test -f "$cache_file"; then
1308 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1309 echo "$as_me: loading cache $cache_file" >&6;}
1311 [\\/]* | ?:[\\/]* ) . $cache_file;;
1312 *) . ./$cache_file;;
1316 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1317 echo "$as_me: creating cache $cache_file" >&6;}
1321 # Check that the precious variables saved in the cache have kept the same
1323 ac_cache_corrupted=false
1324 for ac_var in `(set) 2>&1 |
1325 sed -n 's
/^ac_env_\
([a
-zA-Z_0-9]*\
)_set
=.
*/\
1/p
'`; do
1326 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1327 eval ac_new_set=\$ac_env_${ac_var}_set
1328 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1329 eval ac_new_val="\$ac_env_${ac_var}_value"
1330 case $ac_old_set,$ac_new_set in
1332 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1333 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1334 ac_cache_corrupted=: ;;
1336 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1337 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1338 ac_cache_corrupted=: ;;
1341 if test "x$ac_old_val" != "x$ac_new_val"; then
1342 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1343 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1344 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1345 echo "$as_me: former value: $ac_old_val" >&2;}
1346 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1347 echo "$as_me: current value: $ac_new_val" >&2;}
1348 ac_cache_corrupted=:
1351 # Pass precious variables to config.status.
1352 if test "$ac_new_set" = set; then
1354 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1355 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1356 *) ac_arg=$ac_var=$ac_new_val ;;
1358 case " $ac_configure_args " in
1359 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1360 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1364 if $ac_cache_corrupted; then
1365 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1366 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1367 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1368 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1369 { (exit 1); exit 1; }; }
1373 ac_cpp='$CPP $CPPFLAGS'
1374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1375 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1397 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1398 if test -f $ac_dir/install-sh; then
1400 ac_install_sh="$ac_aux_dir/install-sh -c"
1402 elif test -f $ac_dir/install.sh; then
1404 ac_install_sh="$ac_aux_dir/install.sh -c"
1406 elif test -f $ac_dir/shtool; then
1408 ac_install_sh="$ac_aux_dir/shtool install -c"
1412 if test -z "$ac_aux_dir"; then
1413 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1414 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1415 { (exit 1); exit 1; }; }
1417 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1418 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1419 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1421 # Make sure we can run config.sub.
1422 $ac_config_sub sun4 >/dev/null 2>&1 ||
1423 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1424 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1425 { (exit 1); exit 1; }; }
1427 echo "$as_me:$LINENO: checking build system type" >&5
1428 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1429 if test "${ac_cv_build+set}" = set; then
1430 echo $ECHO_N "(cached) $ECHO_C" >&6
1432 ac_cv_build_alias=$build_alias
1433 test -z "$ac_cv_build_alias" &&
1434 ac_cv_build_alias=`$ac_config_guess`
1435 test -z "$ac_cv_build_alias" &&
1436 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1437 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1438 { (exit 1); exit 1; }; }
1439 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1440 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1441 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1442 { (exit 1); exit 1; }; }
1445 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1446 echo "${ECHO_T}$ac_cv_build" >&6
1448 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1449 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1450 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1453 echo "$as_me:$LINENO: checking host system type" >&5
1454 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1455 if test "${ac_cv_host+set}" = set; then
1456 echo $ECHO_N "(cached) $ECHO_C" >&6
1458 ac_cv_host_alias=$host_alias
1459 test -z "$ac_cv_host_alias" &&
1460 ac_cv_host_alias=$ac_cv_build_alias
1461 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1462 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1463 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1464 { (exit 1); exit 1; }; }
1467 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1468 echo "${ECHO_T}$ac_cv_host" >&6
1470 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1471 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1472 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1475 echo "$as_me:$LINENO: checking target system type" >&5
1476 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1477 if test "${ac_cv_target+set}" = set; then
1478 echo $ECHO_N "(cached) $ECHO_C" >&6
1480 ac_cv_target_alias=$target_alias
1481 test "x$ac_cv_target_alias" = "x" &&
1482 ac_cv_target_alias=$ac_cv_host_alias
1483 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1484 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1485 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1486 { (exit 1); exit 1; }; }
1489 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1490 echo "${ECHO_T}$ac_cv_target" >&6
1491 target=$ac_cv_target
1492 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1493 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1494 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1497 # The aliases save the names the user supplied, while $host etc.
1498 # will get canonicalized.
1499 test -n "$target_alias" &&
1500 test "$program_prefix$program_suffix$program_transform_name" = \
1502 program_prefix=${target_alias}-
1505 WX_MAJOR_VERSION_NUMBER=2
1506 WX_MINOR_VERSION_NUMBER=3
1509 WX_VERSION=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER.$WX_RELEASE_NUMBER
1510 WX_RELEASE=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER
1512 WX_MSW_VERSION=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1546 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1548 ALL_TOOLKITS="GTK MAC MGL MICROWIN MOTIF MSW PM WINE X11"
1553 DEFAULT_wxUSE_MICROWIN=0
1554 DEFAULT_wxUSE_MOTIF=0
1557 DEFAULT_wxUSE_WINE=0
1560 DEFAULT_DEFAULT_wxUSE_GTK=0
1561 DEFAULT_DEFAULT_wxUSE_MAC=0
1562 DEFAULT_DEFAULT_wxUSE_MGL=0
1563 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1564 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1565 DEFAULT_DEFAULT_wxUSE_MSW=0
1566 DEFAULT_DEFAULT_wxUSE_PM=0
1567 DEFAULT_DEFAULT_wxUSE_WINE=0
1568 DEFAULT_DEFAULT_wxUSE_X11=0
1576 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1577 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1579 cat >>confdefs.h <<\_ACEOF
1586 cat >>confdefs.h <<\_ACEOF
1591 if test "x$TMP" = "xalpha"; then
1593 cat >>confdefs.h <<\_ACEOF
1598 DEFAULT_DEFAULT_wxUSE_GTK=1
1600 *-*-irix5* | *-*-irix6* )
1603 cat >>confdefs.h <<\_ACEOF
1607 cat >>confdefs.h <<\_ACEOF
1611 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1617 cat >>confdefs.h <<\_ACEOF
1621 cat >>confdefs.h <<\_ACEOF
1622 #define __SOLARIS__ 1
1625 cat >>confdefs.h <<\_ACEOF
1629 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1630 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1636 cat >>confdefs.h <<\_ACEOF
1640 cat >>confdefs.h <<\_ACEOF
1644 cat >>confdefs.h <<\_ACEOF
1648 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1653 cat >>confdefs.h <<\_ACEOF
1654 #define __FREEBSD__ 1
1657 cat >>confdefs.h <<\_ACEOF
1661 DEFAULT_DEFAULT_wxUSE_GTK=1
1666 cat >>confdefs.h <<\_ACEOF
1667 #define __FREEBSD__ 1
1670 cat >>confdefs.h <<\_ACEOF
1671 #define __OPENBSD__ 1
1674 DEFAULT_DEFAULT_wxUSE_GTK=1
1679 cat >>confdefs.h <<\_ACEOF
1680 #define __FREEBSD__ 1
1683 cat >>confdefs.h <<\_ACEOF
1684 #define __NETBSD__ 1
1687 DEFAULT_DEFAULT_wxUSE_GTK=1
1692 cat >>confdefs.h <<\_ACEOF
1696 cat >>confdefs.h <<\_ACEOF
1700 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1701 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1706 cat >>confdefs.h <<\_ACEOF
1710 cat >>confdefs.h <<\_ACEOF
1714 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1719 cat >>confdefs.h <<\_ACEOF
1723 cat >>confdefs.h <<\_ACEOF
1727 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1734 cat >>confdefs.h <<\_ACEOF
1738 cat >>confdefs.h <<\_ACEOF
1742 cat >>confdefs.h <<\_ACEOF
1746 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1749 *-*-cygwin* | *-*-mingw32* )
1753 DEFAULT_DEFAULT_wxUSE_MSW=1
1759 cat >>confdefs.h <<\_ACEOF
1764 DEFAULT_DEFAULT_wxUSE_MGL=1
1765 LIBS="$LIBS -lstdc++"
1768 *-pc-os2_emx | *-pc-os2-emx )
1769 cat >>confdefs.h <<\_ACEOF
1774 DEFAULT_DEFAULT_wxUSE_PM=1
1775 LIBS="$LIBS -lstdcpp"
1782 cat >>confdefs.h <<\_ACEOF
1786 cat >>confdefs.h <<\_ACEOF
1787 #define __DARWIN__ 1
1790 cat >>confdefs.h <<\_ACEOF
1791 #define __POWERPC__ 1
1794 DEFAULT_DEFAULT_wxUSE_MAC=1
1799 cat >>confdefs.h <<\_ACEOF
1806 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
1807 echo "$as_me: error: unknown system type ${host}." >&2;}
1808 { (exit 1); exit 1; }; }
1814 wx_arg_cache_file="configarg.cache"
1815 echo "loading argument cache $wx_arg_cache_file"
1816 rm -f ${wx_arg_cache_file}.tmp
1817 touch ${wx_arg_cache_file}.tmp
1818 touch ${wx_arg_cache_file}
1822 if test $DEBUG_CONFIGURE = 1; then
1823 DEFAULT_wxUSE_UNIVERSAL=no
1825 DEFAULT_wxUSE_NANOX=no
1827 DEFAULT_wxUSE_THREADS=yes
1829 DEFAULT_wxUSE_SHARED=yes
1830 DEFAULT_wxUSE_SONAME=no
1831 DEFAULT_wxUSE_OPTIMISE=no
1832 DEFAULT_wxUSE_PROFILE=no
1833 DEFAULT_wxUSE_NO_DEPS=no
1834 DEFAULT_wxUSE_NO_RTTI=no
1835 DEFAULT_wxUSE_NO_EXCEPTIONS=no
1836 DEFAULT_wxUSE_PERMISSIVE=no
1837 DEFAULT_wxUSE_DEBUG_FLAG=yes
1838 DEFAULT_wxUSE_DEBUG_INFO=yes
1839 DEFAULT_wxUSE_DEBUG_GDB=yes
1840 DEFAULT_wxUSE_MEM_TRACING=no
1841 DEFAULT_wxUSE_DEBUG_CONTEXT=no
1842 DEFAULT_wxUSE_DMALLOC=no
1843 DEFAULT_wxUSE_PRECOMP=no
1844 DEFAULT_wxUSE_APPLE_IEEE=no
1846 DEFAULT_wxUSE_LOG=yes
1847 DEFAULT_wxUSE_LOGWINDOW=no
1848 DEFAULT_wxUSE_LOGGUI=no
1849 DEFAULT_wxUSE_LOGDIALOG=no
1851 DEFAULT_wxUSE_GUI=yes
1852 DEFAULT_wxUSE_CONTROLS=no
1854 DEFAULT_wxUSE_REGEX=no
1855 DEFAULT_wxUSE_ZLIB=no
1856 DEFAULT_wxUSE_LIBPNG=no
1857 DEFAULT_wxUSE_LIBJPEG=no
1858 DEFAULT_wxUSE_LIBTIFF=no
1859 DEFAULT_wxUSE_ODBC=no
1860 DEFAULT_wxUSE_OPENGL=no
1862 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
1863 DEFAULT_wxUSE_SNGLINST_CHECKER=no
1864 DEFAULT_wxUSE_STD_IOSTREAM=no
1865 DEFAULT_wxUSE_CMDLINE_PARSER=no
1866 DEFAULT_wxUSE_DATETIME=no
1867 DEFAULT_wxUSE_TIMEDATE=no
1868 DEFAULT_wxUSE_TIMER=no
1869 DEFAULT_wxUSE_STOPWATCH=no
1870 DEFAULT_wxUSE_FILE=no
1871 DEFAULT_wxUSE_FFILE=no
1872 DEFAULT_wxUSE_TEXTBUFFER=no
1873 DEFAULT_wxUSE_TEXTFILE=no
1874 DEFAULT_wxUSE_WAVE=no
1875 DEFAULT_wxUSE_INTL=no
1876 DEFAULT_wxUSE_CONFIG=no
1877 DEFAULT_wxUSE_FONTMAP=no
1878 DEFAULT_wxUSE_STREAMS=no
1879 DEFAULT_wxUSE_SOCKETS=no
1880 DEFAULT_wxUSE_DIALUP_MANAGER=no
1881 DEFAULT_wxUSE_JOYSTICK=no
1882 DEFAULT_wxUSE_DYNLIB_CLASS=no
1883 DEFAULT_wxUSE_DYNAMIC_LOADER=no
1884 DEFAULT_wxUSE_LONGLONG=no
1885 DEFAULT_wxUSE_GEOMETRY=no
1887 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
1888 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
1889 DEFAULT_wxUSE_POSTSCRIPT=no
1891 DEFAULT_wxUSE_X_RESOURCES=no
1892 DEFAULT_wxUSE_CLIPBOARD=no
1893 DEFAULT_wxUSE_TOOLTIPS=no
1894 DEFAULT_wxUSE_DRAG_AND_DROP=no
1895 DEFAULT_wxUSE_DRAGIMAGE=no
1896 DEFAULT_wxUSE_SPLINES=no
1898 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
1899 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
1900 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
1902 DEFAULT_wxUSE_PROLOGIO=no
1903 DEFAULT_wxUSE_RESOURCES=no
1904 DEFAULT_wxUSE_CONSTRAINTS=no
1905 DEFAULT_wxUSE_IPC=no
1906 DEFAULT_wxUSE_HELP=no
1907 DEFAULT_wxUSE_MS_HTML_HELP=no
1908 DEFAULT_wxUSE_WXHTML_HELP=no
1909 DEFAULT_wxUSE_TREELAYOUT=no
1910 DEFAULT_wxUSE_METAFILE=no
1911 DEFAULT_wxUSE_MIMETYPE=no
1912 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
1913 DEFAULT_wxUSE_PROTOCOL=no
1914 DEFAULT_wxUSE_PROTOCOL_HTTP=no
1915 DEFAULT_wxUSE_PROTOCOL_FTP=no
1916 DEFAULT_wxUSE_PROTOCOL_FILE=no
1917 DEFAULT_wxUSE_URL=no
1919 DEFAULT_wxUSE_COMMONDLGS=no
1920 DEFAULT_wxUSE_CHOICEDLG=no
1921 DEFAULT_wxUSE_COLOURDLG=no
1922 DEFAULT_wxUSE_DIRDLG=no
1923 DEFAULT_wxUSE_FILEDLG=no
1924 DEFAULT_wxUSE_FINDREPLDLG=no
1925 DEFAULT_wxUSE_FONTDLG=no
1926 DEFAULT_wxUSE_MSGDLG=no
1927 DEFAULT_wxUSE_NUMBERDLG=no
1928 DEFAULT_wxUSE_TEXTDLG=no
1929 DEFAULT_wxUSE_SPLASH=no
1930 DEFAULT_wxUSE_STARTUP_TIPS=no
1931 DEFAULT_wxUSE_PROGRESSDLG=no
1932 DEFAULT_wxUSE_WIZARDDLG=no
1934 DEFAULT_wxUSE_MENUS=no
1935 DEFAULT_wxUSE_MINIFRAME=no
1936 DEFAULT_wxUSE_HTML=no
1937 DEFAULT_wxUSE_FILESYSTEM=no
1938 DEFAULT_wxUSE_FS_INET=no
1939 DEFAULT_wxUSE_FS_ZIP=no
1940 DEFAULT_wxUSE_BUSYINFO=no
1941 DEFAULT_wxUSE_ZIPSTREAM=no
1942 DEFAULT_wxUSE_VALIDATORS=no
1944 DEFAULT_wxUSE_ACCEL=no
1945 DEFAULT_wxUSE_BUTTON=no
1946 DEFAULT_wxUSE_BMPBUTTON=no
1947 DEFAULT_wxUSE_CALCTRL=no
1948 DEFAULT_wxUSE_CARET=no
1949 DEFAULT_wxUSE_CHECKBOX=no
1950 DEFAULT_wxUSE_CHECKLST=no
1951 DEFAULT_wxUSE_CHOICE=no
1952 DEFAULT_wxUSE_COMBOBOX=no
1953 DEFAULT_wxUSE_GAUGE=no
1954 DEFAULT_wxUSE_GRID=no
1955 DEFAULT_wxUSE_NEW_GRID=no
1956 DEFAULT_wxUSE_IMAGLIST=no
1957 DEFAULT_wxUSE_LISTBOX=no
1958 DEFAULT_wxUSE_LISTCTRL=no
1959 DEFAULT_wxUSE_NOTEBOOK=no
1960 DEFAULT_wxUSE_PROPSHEET=no
1961 DEFAULT_wxUSE_RADIOBOX=no
1962 DEFAULT_wxUSE_RADIOBTN=no
1963 DEFAULT_wxUSE_SASH=no
1964 DEFAULT_wxUSE_SCROLLBAR=no
1965 DEFAULT_wxUSE_SLIDER=no
1966 DEFAULT_wxUSE_SPINBTN=no
1967 DEFAULT_wxUSE_SPINCTRL=no
1968 DEFAULT_wxUSE_SPLITTER=no
1969 DEFAULT_wxUSE_STATBMP=no
1970 DEFAULT_wxUSE_STATBOX=no
1971 DEFAULT_wxUSE_STATLINE=no
1972 DEFAULT_wxUSE_STATTEXT=no
1973 DEFAULT_wxUSE_STATUSBAR=yes
1974 DEFAULT_wxUSE_TABDIALOG=no
1975 DEFAULT_wxUSE_TEXTCTRL=no
1976 DEFAULT_wxUSE_TOGGLEBTN=no
1977 DEFAULT_wxUSE_TOOLBAR=no
1978 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
1979 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
1980 DEFAULT_wxUSE_TREECTRL=no
1981 DEFAULT_wxUSE_POPUPWIN=no
1982 DEFAULT_wxUSE_TIPWINDOW=no
1984 DEFAULT_wxUSE_UNICODE=no
1985 DEFAULT_wxUSE_UNICODE_MSLU=no
1986 DEFAULT_wxUSE_WCSRTOMBS=no
1988 DEFAULT_wxUSE_PALETTE=no
1989 DEFAULT_wxUSE_IMAGE=no
1990 DEFAULT_wxUSE_GIF=no
1991 DEFAULT_wxUSE_PCX=no
1992 DEFAULT_wxUSE_PNM=no
1993 DEFAULT_wxUSE_IFF=no
1994 DEFAULT_wxUSE_XPM=no
1995 DEFAULT_wxUSE_ICO_CUR=no
1997 DEFAULT_wxUSE_UNIVERSAL=no
1999 DEFAULT_wxUSE_NANOX=no
2001 DEFAULT_wxUSE_THREADS=yes
2003 DEFAULT_wxUSE_SHARED=yes
2004 DEFAULT_wxUSE_SONAME=no
2005 DEFAULT_wxUSE_OPTIMISE=yes
2006 DEFAULT_wxUSE_PROFILE=no
2007 DEFAULT_wxUSE_NO_DEPS=no
2008 DEFAULT_wxUSE_NO_RTTI=no
2009 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2010 DEFAULT_wxUSE_PERMISSIVE=no
2011 DEFAULT_wxUSE_DEBUG_FLAG=no
2012 DEFAULT_wxUSE_DEBUG_INFO=no
2013 DEFAULT_wxUSE_DEBUG_GDB=no
2014 DEFAULT_wxUSE_MEM_TRACING=no
2015 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2016 DEFAULT_wxUSE_DMALLOC=no
2017 DEFAULT_wxUSE_PRECOMP=no
2018 DEFAULT_wxUSE_APPLE_IEEE=yes
2020 DEFAULT_wxUSE_LOG=yes
2021 DEFAULT_wxUSE_LOGWINDOW=yes
2022 DEFAULT_wxUSE_LOGGUI=yes
2023 DEFAULT_wxUSE_LOGDIALOG=yes
2025 DEFAULT_wxUSE_GUI=yes
2027 DEFAULT_wxUSE_REGEX=yes
2028 DEFAULT_wxUSE_ZLIB=yes
2029 DEFAULT_wxUSE_LIBPNG=yes
2030 DEFAULT_wxUSE_LIBJPEG=yes
2031 DEFAULT_wxUSE_LIBTIFF=yes
2032 DEFAULT_wxUSE_ODBC=no
2033 DEFAULT_wxUSE_OPENGL=no
2035 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2036 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2037 DEFAULT_wxUSE_STD_IOSTREAM=no
2038 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2039 DEFAULT_wxUSE_DATETIME=yes
2040 DEFAULT_wxUSE_TIMEDATE=no
2041 DEFAULT_wxUSE_TIMER=yes
2042 DEFAULT_wxUSE_STOPWATCH=yes
2043 DEFAULT_wxUSE_FILE=yes
2044 DEFAULT_wxUSE_FFILE=yes
2045 DEFAULT_wxUSE_TEXTBUFFER=yes
2046 DEFAULT_wxUSE_TEXTFILE=yes
2047 DEFAULT_wxUSE_WAVE=no
2048 DEFAULT_wxUSE_INTL=yes
2049 DEFAULT_wxUSE_CONFIG=yes
2050 DEFAULT_wxUSE_FONTMAP=yes
2051 DEFAULT_wxUSE_STREAMS=yes
2052 DEFAULT_wxUSE_SOCKETS=yes
2053 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2054 DEFAULT_wxUSE_JOYSTICK=yes
2055 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2056 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2057 DEFAULT_wxUSE_LONGLONG=yes
2058 DEFAULT_wxUSE_GEOMETRY=yes
2060 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2061 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2062 DEFAULT_wxUSE_POSTSCRIPT=yes
2064 DEFAULT_wxUSE_X_RESOURCES=no
2065 DEFAULT_wxUSE_CLIPBOARD=yes
2066 DEFAULT_wxUSE_TOOLTIPS=yes
2067 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2068 DEFAULT_wxUSE_DRAGIMAGE=yes
2069 DEFAULT_wxUSE_SPLINES=yes
2071 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2072 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2073 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2075 DEFAULT_wxUSE_PROLOGIO=yes
2076 DEFAULT_wxUSE_RESOURCES=yes
2077 DEFAULT_wxUSE_CONSTRAINTS=yes
2078 DEFAULT_wxUSE_IPC=yes
2079 DEFAULT_wxUSE_HELP=yes
2080 DEFAULT_wxUSE_MS_HTML_HELP=yes
2081 DEFAULT_wxUSE_WXHTML_HELP=yes
2082 DEFAULT_wxUSE_TREELAYOUT=yes
2083 DEFAULT_wxUSE_METAFILE=yes
2084 DEFAULT_wxUSE_MIMETYPE=yes
2085 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2086 DEFAULT_wxUSE_PROTOCOL=yes
2087 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2088 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2089 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2090 DEFAULT_wxUSE_URL=yes
2092 DEFAULT_wxUSE_COMMONDLGS=yes
2093 DEFAULT_wxUSE_CHOICEDLG=yes
2094 DEFAULT_wxUSE_COLOURDLG=yes
2095 DEFAULT_wxUSE_DIRDLG=yes
2096 DEFAULT_wxUSE_FILEDLG=yes
2097 DEFAULT_wxUSE_FINDREPLDLG=yes
2098 DEFAULT_wxUSE_FONTDLG=yes
2099 DEFAULT_wxUSE_MSGDLG=yes
2100 DEFAULT_wxUSE_NUMBERDLG=yes
2101 DEFAULT_wxUSE_TEXTDLG=yes
2102 DEFAULT_wxUSE_SPLASH=yes
2103 DEFAULT_wxUSE_STARTUP_TIPS=yes
2104 DEFAULT_wxUSE_PROGRESSDLG=yes
2105 DEFAULT_wxUSE_WIZARDDLG=yes
2107 DEFAULT_wxUSE_MENUS=yes
2108 DEFAULT_wxUSE_MINIFRAME=yes
2109 DEFAULT_wxUSE_HTML=yes
2110 DEFAULT_wxUSE_FILESYSTEM=yes
2111 DEFAULT_wxUSE_FS_INET=yes
2112 DEFAULT_wxUSE_FS_ZIP=yes
2113 DEFAULT_wxUSE_BUSYINFO=yes
2114 DEFAULT_wxUSE_ZIPSTREAM=yes
2115 DEFAULT_wxUSE_VALIDATORS=yes
2117 DEFAULT_wxUSE_ACCEL=yes
2118 DEFAULT_wxUSE_BUTTON=yes
2119 DEFAULT_wxUSE_BMPBUTTON=yes
2120 DEFAULT_wxUSE_CALCTRL=yes
2121 DEFAULT_wxUSE_CARET=yes
2122 DEFAULT_wxUSE_CHECKBOX=yes
2123 DEFAULT_wxUSE_CHECKLST=yes
2124 DEFAULT_wxUSE_CHOICE=yes
2125 DEFAULT_wxUSE_COMBOBOX=yes
2126 DEFAULT_wxUSE_GAUGE=yes
2127 DEFAULT_wxUSE_GRID=yes
2128 DEFAULT_wxUSE_NEW_GRID=yes
2129 DEFAULT_wxUSE_IMAGLIST=yes
2130 DEFAULT_wxUSE_LISTBOX=yes
2131 DEFAULT_wxUSE_LISTCTRL=yes
2132 DEFAULT_wxUSE_NOTEBOOK=yes
2133 DEFAULT_wxUSE_PROPSHEET=yes
2134 DEFAULT_wxUSE_RADIOBOX=yes
2135 DEFAULT_wxUSE_RADIOBTN=yes
2136 DEFAULT_wxUSE_SASH=yes
2137 DEFAULT_wxUSE_SCROLLBAR=yes
2138 DEFAULT_wxUSE_SLIDER=yes
2139 DEFAULT_wxUSE_SPINBTN=yes
2140 DEFAULT_wxUSE_SPINCTRL=yes
2141 DEFAULT_wxUSE_SPLITTER=yes
2142 DEFAULT_wxUSE_STATBMP=yes
2143 DEFAULT_wxUSE_STATBOX=yes
2144 DEFAULT_wxUSE_STATLINE=yes
2145 DEFAULT_wxUSE_STATTEXT=yes
2146 DEFAULT_wxUSE_STATUSBAR=yes
2147 DEFAULT_wxUSE_TABDIALOG=no
2148 DEFAULT_wxUSE_TEXTCTRL=yes
2149 DEFAULT_wxUSE_TOGGLEBTN=yes
2150 DEFAULT_wxUSE_TOOLBAR=yes
2151 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2152 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2153 DEFAULT_wxUSE_TREECTRL=yes
2154 DEFAULT_wxUSE_POPUPWIN=yes
2155 DEFAULT_wxUSE_TIPWINDOW=yes
2157 DEFAULT_wxUSE_UNICODE=no
2158 DEFAULT_wxUSE_UNICODE_MSLU=yes
2159 DEFAULT_wxUSE_WCSRTOMBS=no
2161 DEFAULT_wxUSE_PALETTE=yes
2162 DEFAULT_wxUSE_IMAGE=yes
2163 DEFAULT_wxUSE_GIF=yes
2164 DEFAULT_wxUSE_PCX=yes
2165 DEFAULT_wxUSE_IFF=no
2166 DEFAULT_wxUSE_PNM=yes
2167 DEFAULT_wxUSE_XPM=yes
2168 DEFAULT_wxUSE_ICO_CUR=yes
2173 for toolkit in `echo $ALL_TOOLKITS`; do
2174 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2175 if test "x$LINE" != "x" ; then
2176 has_toolkit_in_cache=1
2177 eval "DEFAULT_$LINE"
2178 eval "CACHE_$toolkit=1"
2184 echo "$as_me:$LINENO: checking for --enable-gui" >&5
2185 echo $ECHO_N "checking for --enable-gui... $ECHO_C" >&6
2187 # Check whether --enable-gui or --disable-gui was given.
2188 if test "${enable_gui+set}" = set; then
2189 enableval="$enable_gui"
2191 if test "$enableval" = yes; then
2192 ac_cv_use_gui='wxUSE_GUI
=yes'
2194 ac_cv_use_gui='wxUSE_GUI
=no
'
2199 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2200 if test "x$LINE" != x ; then
2201 eval "DEFAULT_$LINE"
2206 ac_cv_use_gui='wxUSE_GUI
='$DEFAULT_wxUSE_GUI
2210 eval "$ac_cv_use_gui"
2211 if test "$no_cache" != 1; then
2212 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2215 if test "$wxUSE_GUI" = yes; then
2216 echo "$as_me:$LINENO: result: yes" >&5
2217 echo "${ECHO_T}yes" >&6
2219 echo "$as_me:$LINENO: result: no" >&5
2220 echo "${ECHO_T}no" >&6
2224 if test "$wxUSE_GUI" = "yes"; then
2227 echo "$as_me:$LINENO: checking for --enable-universal" >&5
2228 echo $ECHO_N "checking for --enable-universal... $ECHO_C" >&6
2230 # Check whether --enable-universal or --disable-universal was given.
2231 if test "${enable_universal+set}" = set; then
2232 enableval="$enable_universal"
2234 if test "$enableval" = yes; then
2235 ac_cv_use_universal='wxUSE_UNIVERSAL
=yes'
2237 ac_cv_use_universal='wxUSE_UNIVERSAL
=no
'
2242 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2243 if test "x$LINE" != x ; then
2244 eval "DEFAULT_$LINE"
2249 ac_cv_use_universal='wxUSE_UNIVERSAL
='$DEFAULT_wxUSE_UNIVERSAL
2253 eval "$ac_cv_use_universal"
2254 if test "$no_cache" != 1; then
2255 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2258 if test "$wxUSE_UNIVERSAL" = yes; then
2259 echo "$as_me:$LINENO: result: yes" >&5
2260 echo "${ECHO_T}yes" >&6
2262 echo "$as_me:$LINENO: result: no" >&5
2263 echo "${ECHO_T}no" >&6
2267 # Check whether --with-gtk or --without-gtk was given.
2268 if test "${with_gtk+set}" = set; then
2270 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2273 # Check whether --with-motif or --without-motif was given.
2274 if test "${with_motif+set}" = set; then
2275 withval="$with_motif"
2276 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2279 # Check whether --with-mac or --without-mac was given.
2280 if test "${with_mac+set}" = set; then
2282 wxUSE_MAC="$withval" TOOLKIT_GIVEN=1
2285 # Check whether --with-wine or --without-wine was given.
2286 if test "${with_wine+set}" = set; then
2287 withval="$with_wine"
2288 wxUSE_WINE="$withval" CACHE_WINE=1 TOOLKIT_GIVEN=1
2291 # Check whether --with-msw or --without-msw was given.
2292 if test "${with_msw+set}" = set; then
2294 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2297 # Check whether --with-pm or --without-pm was given.
2298 if test "${with_pm+set}" = set; then
2300 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2303 # Check whether --with-mgl or --without-mgl was given.
2304 if test "${with_mgl+set}" = set; then
2306 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2309 # Check whether --with-microwin or --without-microwin was given.
2310 if test "${with_microwin+set}" = set; then
2311 withval="$with_microwin"
2312 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2315 # Check whether --with-x11 or --without-x11 was given.
2316 if test "${with_x11+set}" = set; then
2318 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2321 echo "$as_me:$LINENO: checking for --enable-nanox" >&5
2322 echo $ECHO_N "checking for --enable-nanox... $ECHO_C" >&6
2324 # Check whether --enable-nanox or --disable-nanox was given.
2325 if test "${enable_nanox+set}" = set; then
2326 enableval="$enable_nanox"
2328 if test "$enableval" = yes; then
2329 ac_cv_use_nanox='wxUSE_NANOX
=yes'
2331 ac_cv_use_nanox='wxUSE_NANOX
=no
'
2336 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2337 if test "x$LINE" != x ; then
2338 eval "DEFAULT_$LINE"
2343 ac_cv_use_nanox='wxUSE_NANOX
='$DEFAULT_wxUSE_NANOX
2347 eval "$ac_cv_use_nanox"
2348 if test "$no_cache" != 1; then
2349 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2352 if test "$wxUSE_NANOX" = yes; then
2353 echo "$as_me:$LINENO: result: yes" >&5
2354 echo "${ECHO_T}yes" >&6
2356 echo "$as_me:$LINENO: result: no" >&5
2357 echo "${ECHO_T}no" >&6
2362 echo "$as_me:$LINENO: checking for --enable-gtk2" >&5
2363 echo $ECHO_N "checking for --enable-gtk2... $ECHO_C" >&6
2365 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2366 if test "${enable_gtk2+set}" = set; then
2367 enableval="$enable_gtk2"
2369 if test "$enableval" = yes; then
2370 ac_cv_use_gtk2='wxUSE_GTK2
=yes'
2372 ac_cv_use_gtk2='wxUSE_GTK2
=no
'
2377 LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2378 if test "x$LINE" != x ; then
2379 eval "DEFAULT_$LINE"
2384 ac_cv_use_gtk2='wxUSE_GTK2
='$DEFAULT_wxUSE_GTK2
2388 eval "$ac_cv_use_gtk2"
2389 if test "$no_cache" != 1; then
2390 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2393 if test "$wxUSE_GTK2" = yes; then
2394 echo "$as_me:$LINENO: result: yes" >&5
2395 echo "${ECHO_T}yes" >&6
2397 echo "$as_me:$LINENO: result: no" >&5
2398 echo "${ECHO_T}no" >&6
2403 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2404 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2407 # Check whether --with-libpng or --without-libpng was given.
2408 if test "${with_libpng+set}" = set; then
2409 withval="$with_libpng"
2411 if test "$withval" = yes; then
2412 ac_cv_use_libpng='wxUSE_LIBPNG
=yes'
2413 elif test "$withval" = no; then
2414 ac_cv_use_libpng='wxUSE_LIBPNG
=no
'
2415 elif test "$withval" = sys; then
2416 ac_cv_use_libpng='wxUSE_LIBPNG
=sys
'
2417 elif test "$withval" = builtin; then
2418 ac_cv_use_libpng='wxUSE_LIBPNG
=builtin'
2420 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2421 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2422 { (exit 1); exit 1; }; }
2427 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2428 if test "x$LINE" != x ; then
2429 eval "DEFAULT_$LINE"
2434 ac_cv_use_libpng='wxUSE_LIBPNG
='$DEFAULT_wxUSE_LIBPNG
2438 eval "$ac_cv_use_libpng"
2439 if test "$no_cache" != 1; then
2440 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2443 if test "$wxUSE_LIBPNG" = yes; then
2444 echo "$as_me:$LINENO: result: yes" >&5
2445 echo "${ECHO_T}yes" >&6
2446 elif test "$wxUSE_LIBPNG" = no; then
2447 echo "$as_me:$LINENO: result: no" >&5
2448 echo "${ECHO_T}no" >&6
2449 elif test "$wxUSE_LIBPNG" = sys; then
2450 echo "$as_me:$LINENO: result: system version" >&5
2451 echo "${ECHO_T}system version" >&6
2452 elif test "$wxUSE_LIBPNG" = builtin; then
2453 echo "$as_me:$LINENO: result: builtin version" >&5
2454 echo "${ECHO_T}builtin version" >&6
2456 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2457 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2458 { (exit 1); exit 1; }; }
2462 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2463 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2466 # Check whether --with-libjpeg or --without-libjpeg was given.
2467 if test "${with_libjpeg+set}" = set; then
2468 withval="$with_libjpeg"
2470 if test "$withval" = yes; then
2471 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
2472 elif test "$withval" = no; then
2473 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
2474 elif test "$withval" = sys; then
2475 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
2476 elif test "$withval" = builtin; then
2477 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
2479 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2480 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2481 { (exit 1); exit 1; }; }
2486 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2487 if test "x$LINE" != x ; then
2488 eval "DEFAULT_$LINE"
2493 ac_cv_use_libjpeg='wxUSE_LIBJPEG
='$DEFAULT_wxUSE_LIBJPEG
2497 eval "$ac_cv_use_libjpeg"
2498 if test "$no_cache" != 1; then
2499 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2502 if test "$wxUSE_LIBJPEG" = yes; then
2503 echo "$as_me:$LINENO: result: yes" >&5
2504 echo "${ECHO_T}yes" >&6
2505 elif test "$wxUSE_LIBJPEG" = no; then
2506 echo "$as_me:$LINENO: result: no" >&5
2507 echo "${ECHO_T}no" >&6
2508 elif test "$wxUSE_LIBJPEG" = sys; then
2509 echo "$as_me:$LINENO: result: system version" >&5
2510 echo "${ECHO_T}system version" >&6
2511 elif test "$wxUSE_LIBJPEG" = builtin; then
2512 echo "$as_me:$LINENO: result: builtin version" >&5
2513 echo "${ECHO_T}builtin version" >&6
2515 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2516 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2517 { (exit 1); exit 1; }; }
2521 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2522 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2525 # Check whether --with-libtiff or --without-libtiff was given.
2526 if test "${with_libtiff+set}" = set; then
2527 withval="$with_libtiff"
2529 if test "$withval" = yes; then
2530 ac_cv_use_libtiff='wxUSE_LIBTIFF
=yes'
2531 elif test "$withval" = no; then
2532 ac_cv_use_libtiff='wxUSE_LIBTIFF
=no
'
2533 elif test "$withval" = sys; then
2534 ac_cv_use_libtiff='wxUSE_LIBTIFF
=sys
'
2535 elif test "$withval" = builtin; then
2536 ac_cv_use_libtiff='wxUSE_LIBTIFF
=builtin'
2538 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2539 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2540 { (exit 1); exit 1; }; }
2545 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2546 if test "x$LINE" != x ; then
2547 eval "DEFAULT_$LINE"
2552 ac_cv_use_libtiff='wxUSE_LIBTIFF
='$DEFAULT_wxUSE_LIBTIFF
2556 eval "$ac_cv_use_libtiff"
2557 if test "$no_cache" != 1; then
2558 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2561 if test "$wxUSE_LIBTIFF" = yes; then
2562 echo "$as_me:$LINENO: result: yes" >&5
2563 echo "${ECHO_T}yes" >&6
2564 elif test "$wxUSE_LIBTIFF" = no; then
2565 echo "$as_me:$LINENO: result: no" >&5
2566 echo "${ECHO_T}no" >&6
2567 elif test "$wxUSE_LIBTIFF" = sys; then
2568 echo "$as_me:$LINENO: result: system version" >&5
2569 echo "${ECHO_T}system version" >&6
2570 elif test "$wxUSE_LIBTIFF" = builtin; then
2571 echo "$as_me:$LINENO: result: builtin version" >&5
2572 echo "${ECHO_T}builtin version" >&6
2574 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2575 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2576 { (exit 1); exit 1; }; }
2580 echo "$as_me:$LINENO: checking for --with-opengl" >&5
2581 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
2584 # Check whether --with-opengl or --without-opengl was given.
2585 if test "${with_opengl+set}" = set; then
2586 withval="$with_opengl"
2588 if test "$withval" = yes; then
2589 ac_cv_use_opengl='wxUSE_OPENGL
=yes'
2591 ac_cv_use_opengl='wxUSE_OPENGL
=no
'
2596 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2597 if test "x$LINE" != x ; then
2598 eval "DEFAULT_$LINE"
2603 ac_cv_use_opengl='wxUSE_OPENGL
='$DEFAULT_wxUSE_OPENGL
2607 eval "$ac_cv_use_opengl"
2608 if test "$no_cache" != 1; then
2609 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2612 if test "$wxUSE_OPENGL" = yes; then
2613 echo "$as_me:$LINENO: result: yes" >&5
2614 echo "${ECHO_T}yes" >&6
2616 echo "$as_me:$LINENO: result: no" >&5
2617 echo "${ECHO_T}no" >&6
2624 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
2625 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
2628 # Check whether --with-dmalloc or --without-dmalloc was given.
2629 if test "${with_dmalloc+set}" = set; then
2630 withval="$with_dmalloc"
2632 if test "$withval" = yes; then
2633 ac_cv_use_dmalloc='wxUSE_DMALLOC
=yes'
2635 ac_cv_use_dmalloc='wxUSE_DMALLOC
=no
'
2640 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2641 if test "x$LINE" != x ; then
2642 eval "DEFAULT_$LINE"
2647 ac_cv_use_dmalloc='wxUSE_DMALLOC
='$DEFAULT_wxUSE_DMALLOC
2651 eval "$ac_cv_use_dmalloc"
2652 if test "$no_cache" != 1; then
2653 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2656 if test "$wxUSE_DMALLOC" = yes; then
2657 echo "$as_me:$LINENO: result: yes" >&5
2658 echo "${ECHO_T}yes" >&6
2660 echo "$as_me:$LINENO: result: no" >&5
2661 echo "${ECHO_T}no" >&6
2665 echo "$as_me:$LINENO: checking for --with-regex" >&5
2666 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
2669 # Check whether --with-regex or --without-regex was given.
2670 if test "${with_regex+set}" = set; then
2671 withval="$with_regex"
2673 if test "$withval" = yes; then
2674 ac_cv_use_regex='wxUSE_REGEX
=yes'
2675 elif test "$withval" = no; then
2676 ac_cv_use_regex='wxUSE_REGEX
=no
'
2677 elif test "$withval" = sys; then
2678 ac_cv_use_regex='wxUSE_REGEX
=sys
'
2679 elif test "$withval" = builtin; then
2680 ac_cv_use_regex='wxUSE_REGEX
=builtin'
2682 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2683 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2684 { (exit 1); exit 1; }; }
2689 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2690 if test "x$LINE" != x ; then
2691 eval "DEFAULT_$LINE"
2696 ac_cv_use_regex='wxUSE_REGEX
='$DEFAULT_wxUSE_REGEX
2700 eval "$ac_cv_use_regex"
2701 if test "$no_cache" != 1; then
2702 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2705 if test "$wxUSE_REGEX" = yes; then
2706 echo "$as_me:$LINENO: result: yes" >&5
2707 echo "${ECHO_T}yes" >&6
2708 elif test "$wxUSE_REGEX" = no; then
2709 echo "$as_me:$LINENO: result: no" >&5
2710 echo "${ECHO_T}no" >&6
2711 elif test "$wxUSE_REGEX" = sys; then
2712 echo "$as_me:$LINENO: result: system version" >&5
2713 echo "${ECHO_T}system version" >&6
2714 elif test "$wxUSE_REGEX" = builtin; then
2715 echo "$as_me:$LINENO: result: builtin version" >&5
2716 echo "${ECHO_T}builtin version" >&6
2718 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2719 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2720 { (exit 1); exit 1; }; }
2724 echo "$as_me:$LINENO: checking for --with-zlib" >&5
2725 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
2728 # Check whether --with-zlib or --without-zlib was given.
2729 if test "${with_zlib+set}" = set; then
2730 withval="$with_zlib"
2732 if test "$withval" = yes; then
2733 ac_cv_use_zlib='wxUSE_ZLIB
=yes'
2734 elif test "$withval" = no; then
2735 ac_cv_use_zlib='wxUSE_ZLIB
=no
'
2736 elif test "$withval" = sys; then
2737 ac_cv_use_zlib='wxUSE_ZLIB
=sys
'
2738 elif test "$withval" = builtin; then
2739 ac_cv_use_zlib='wxUSE_ZLIB
=builtin'
2741 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2742 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2743 { (exit 1); exit 1; }; }
2748 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2749 if test "x$LINE" != x ; then
2750 eval "DEFAULT_$LINE"
2755 ac_cv_use_zlib='wxUSE_ZLIB
='$DEFAULT_wxUSE_ZLIB
2759 eval "$ac_cv_use_zlib"
2760 if test "$no_cache" != 1; then
2761 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2764 if test "$wxUSE_ZLIB" = yes; then
2765 echo "$as_me:$LINENO: result: yes" >&5
2766 echo "${ECHO_T}yes" >&6
2767 elif test "$wxUSE_ZLIB" = no; then
2768 echo "$as_me:$LINENO: result: no" >&5
2769 echo "${ECHO_T}no" >&6
2770 elif test "$wxUSE_ZLIB" = sys; then
2771 echo "$as_me:$LINENO: result: system version" >&5
2772 echo "${ECHO_T}system version" >&6
2773 elif test "$wxUSE_ZLIB" = builtin; then
2774 echo "$as_me:$LINENO: result: builtin version" >&5
2775 echo "${ECHO_T}builtin version" >&6
2777 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2778 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2779 { (exit 1); exit 1; }; }
2783 echo "$as_me:$LINENO: checking for --with-odbc" >&5
2784 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
2787 # Check whether --with-odbc or --without-odbc was given.
2788 if test "${with_odbc+set}" = set; then
2789 withval="$with_odbc"
2791 if test "$withval" = yes; then
2792 ac_cv_use_odbc='wxUSE_ODBC
=yes'
2794 ac_cv_use_odbc='wxUSE_ODBC
=no
'
2799 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2800 if test "x$LINE" != x ; then
2801 eval "DEFAULT_$LINE"
2806 ac_cv_use_odbc='wxUSE_ODBC
='$DEFAULT_wxUSE_ODBC
2810 eval "$ac_cv_use_odbc"
2811 if test "$no_cache" != 1; then
2812 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2815 if test "$wxUSE_ODBC" = yes; then
2816 echo "$as_me:$LINENO: result: yes" >&5
2817 echo "${ECHO_T}yes" >&6
2819 echo "$as_me:$LINENO: result: no" >&5
2820 echo "${ECHO_T}no" >&6
2826 echo "$as_me:$LINENO: checking for --enable-shared" >&5
2827 echo $ECHO_N "checking for --enable-shared... $ECHO_C" >&6
2829 # Check whether --enable-shared or --disable-shared was given.
2830 if test "${enable_shared+set}" = set; then
2831 enableval="$enable_shared"
2833 if test "$enableval" = yes; then
2834 ac_cv_use_shared='wxUSE_SHARED
=yes'
2836 ac_cv_use_shared='wxUSE_SHARED
=no
'
2841 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2842 if test "x$LINE" != x ; then
2843 eval "DEFAULT_$LINE"
2848 ac_cv_use_shared='wxUSE_SHARED
='$DEFAULT_wxUSE_SHARED
2852 eval "$ac_cv_use_shared"
2853 if test "$no_cache" != 1; then
2854 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2857 if test "$wxUSE_SHARED" = yes; then
2858 echo "$as_me:$LINENO: result: yes" >&5
2859 echo "${ECHO_T}yes" >&6
2861 echo "$as_me:$LINENO: result: no" >&5
2862 echo "${ECHO_T}no" >&6
2866 echo "$as_me:$LINENO: checking for --enable-soname" >&5
2867 echo $ECHO_N "checking for --enable-soname... $ECHO_C" >&6
2869 # Check whether --enable-soname or --disable-soname was given.
2870 if test "${enable_soname+set}" = set; then
2871 enableval="$enable_soname"
2873 if test "$enableval" = yes; then
2874 ac_cv_use_soname='wxUSE_SONAME
=yes'
2876 ac_cv_use_soname='wxUSE_SONAME
=no
'
2881 LINE=`grep "wxUSE_SONAME" ${wx_arg_cache_file}`
2882 if test "x$LINE" != x ; then
2883 eval "DEFAULT_$LINE"
2888 ac_cv_use_soname='wxUSE_SONAME
='$DEFAULT_wxUSE_SONAME
2892 eval "$ac_cv_use_soname"
2893 if test "$no_cache" != 1; then
2894 echo $ac_cv_use_soname >> ${wx_arg_cache_file}.tmp
2897 if test "$wxUSE_SONAME" = yes; then
2898 echo "$as_me:$LINENO: result: yes" >&5
2899 echo "${ECHO_T}yes" >&6
2901 echo "$as_me:$LINENO: result: no" >&5
2902 echo "${ECHO_T}no" >&6
2906 echo "$as_me:$LINENO: checking for --enable-optimise" >&5
2907 echo $ECHO_N "checking for --enable-optimise... $ECHO_C" >&6
2909 # Check whether --enable-optimise or --disable-optimise was given.
2910 if test "${enable_optimise+set}" = set; then
2911 enableval="$enable_optimise"
2913 if test "$enableval" = yes; then
2914 ac_cv_use_optimise='wxUSE_OPTIMISE
=yes'
2916 ac_cv_use_optimise='wxUSE_OPTIMISE
=no
'
2921 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2922 if test "x$LINE" != x ; then
2923 eval "DEFAULT_$LINE"
2928 ac_cv_use_optimise='wxUSE_OPTIMISE
='$DEFAULT_wxUSE_OPTIMISE
2932 eval "$ac_cv_use_optimise"
2933 if test "$no_cache" != 1; then
2934 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2937 if test "$wxUSE_OPTIMISE" = yes; then
2938 echo "$as_me:$LINENO: result: yes" >&5
2939 echo "${ECHO_T}yes" >&6
2941 echo "$as_me:$LINENO: result: no" >&5
2942 echo "${ECHO_T}no" >&6
2946 echo "$as_me:$LINENO: checking for --enable-debug" >&5
2947 echo $ECHO_N "checking for --enable-debug... $ECHO_C" >&6
2949 # Check whether --enable-debug or --disable-debug was given.
2950 if test "${enable_debug+set}" = set; then
2951 enableval="$enable_debug"
2953 if test "$enableval" = yes; then
2954 ac_cv_use_debug='wxUSE_DEBUG
=yes'
2956 ac_cv_use_debug='wxUSE_DEBUG
=no
'
2961 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2962 if test "x$LINE" != x ; then
2963 eval "DEFAULT_$LINE"
2968 ac_cv_use_debug='wxUSE_DEBUG
='$DEFAULT_wxUSE_DEBUG
2972 eval "$ac_cv_use_debug"
2973 if test "$no_cache" != 1; then
2974 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2977 if test "$wxUSE_DEBUG" = yes; then
2978 echo "$as_me:$LINENO: result: yes" >&5
2979 echo "${ECHO_T}yes" >&6
2981 echo "$as_me:$LINENO: result: no" >&5
2982 echo "${ECHO_T}no" >&6
2987 echo "$as_me:$LINENO: checking for --enable-precomp" >&5
2988 echo $ECHO_N "checking for --enable-precomp... $ECHO_C" >&6
2990 # Check whether --enable-precomp or --disable-precomp was given.
2991 if test "${enable_precomp+set}" = set; then
2992 enableval="$enable_precomp"
2994 if test "$enableval" = yes; then
2995 ac_cv_use_precomp='wxUSE_PRECOMP
=yes'
2997 ac_cv_use_precomp='wxUSE_PRECOMP
=no
'
3002 LINE=`grep "wxUSE_PRECOMP" ${wx_arg_cache_file}`
3003 if test "x$LINE" != x ; then
3004 eval "DEFAULT_$LINE"
3009 ac_cv_use_precomp='wxUSE_PRECOMP
='$DEFAULT_wxUSE_PRECOMP
3013 eval "$ac_cv_use_precomp"
3014 if test "$no_cache" != 1; then
3015 echo $ac_cv_use_precomp >> ${wx_arg_cache_file}.tmp
3018 if test "$wxUSE_PRECOMP" = yes; then
3019 echo "$as_me:$LINENO: result: yes" >&5
3020 echo "${ECHO_T}yes" >&6
3022 echo "$as_me:$LINENO: result: no" >&5
3023 echo "${ECHO_T}no" >&6
3027 if test "$wxUSE_DEBUG" = "yes"; then
3028 DEFAULT_wxUSE_DEBUG_FLAG=yes
3029 DEFAULT_wxUSE_DEBUG_INFO=yes
3030 elif test "$wxUSE_DEBUG" = "no"; then
3031 DEFAULT_wxUSE_DEBUG_FLAG=no
3032 DEFAULT_wxUSE_DEBUG_INFO=no
3036 echo "$as_me:$LINENO: checking for --enable-debug_flag" >&5
3037 echo $ECHO_N "checking for --enable-debug_flag... $ECHO_C" >&6
3039 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3040 if test "${enable_debug_flag+set}" = set; then
3041 enableval="$enable_debug_flag"
3043 if test "$enableval" = yes; then
3044 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=yes'
3046 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=no
'
3051 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3052 if test "x$LINE" != x ; then
3053 eval "DEFAULT_$LINE"
3058 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
='$DEFAULT_wxUSE_DEBUG_FLAG
3062 eval "$ac_cv_use_debug_flag"
3063 if test "$no_cache" != 1; then
3064 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3067 if test "$wxUSE_DEBUG_FLAG" = yes; then
3068 echo "$as_me:$LINENO: result: yes" >&5
3069 echo "${ECHO_T}yes" >&6
3071 echo "$as_me:$LINENO: result: no" >&5
3072 echo "${ECHO_T}no" >&6
3076 echo "$as_me:$LINENO: checking for --enable-debug_info" >&5
3077 echo $ECHO_N "checking for --enable-debug_info... $ECHO_C" >&6
3079 # Check whether --enable-debug_info or --disable-debug_info was given.
3080 if test "${enable_debug_info+set}" = set; then
3081 enableval="$enable_debug_info"
3083 if test "$enableval" = yes; then
3084 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
=yes'
3086 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
=no
'
3091 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3092 if test "x$LINE" != x ; then
3093 eval "DEFAULT_$LINE"
3098 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
='$DEFAULT_wxUSE_DEBUG_INFO
3102 eval "$ac_cv_use_debug_info"
3103 if test "$no_cache" != 1; then
3104 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3107 if test "$wxUSE_DEBUG_INFO" = yes; then
3108 echo "$as_me:$LINENO: result: yes" >&5
3109 echo "${ECHO_T}yes" >&6
3111 echo "$as_me:$LINENO: result: no" >&5
3112 echo "${ECHO_T}no" >&6
3116 echo "$as_me:$LINENO: checking for --enable-debug_gdb" >&5
3117 echo $ECHO_N "checking for --enable-debug_gdb... $ECHO_C" >&6
3119 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3120 if test "${enable_debug_gdb+set}" = set; then
3121 enableval="$enable_debug_gdb"
3123 if test "$enableval" = yes; then
3124 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=yes'
3126 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=no
'
3131 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3132 if test "x$LINE" != x ; then
3133 eval "DEFAULT_$LINE"
3138 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
='$DEFAULT_wxUSE_DEBUG_GDB
3142 eval "$ac_cv_use_debug_gdb"
3143 if test "$no_cache" != 1; then
3144 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3147 if test "$wxUSE_DEBUG_GDB" = yes; then
3148 echo "$as_me:$LINENO: result: yes" >&5
3149 echo "${ECHO_T}yes" >&6
3151 echo "$as_me:$LINENO: result: no" >&5
3152 echo "${ECHO_T}no" >&6
3156 echo "$as_me:$LINENO: checking for --enable-debug_cntxt" >&5
3157 echo $ECHO_N "checking for --enable-debug_cntxt... $ECHO_C" >&6
3159 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3160 if test "${enable_debug_cntxt+set}" = set; then
3161 enableval="$enable_debug_cntxt"
3163 if test "$enableval" = yes; then
3164 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=yes'
3166 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=no
'
3171 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3172 if test "x$LINE" != x ; then
3173 eval "DEFAULT_$LINE"
3178 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
='$DEFAULT_wxUSE_DEBUG_CONTEXT
3182 eval "$ac_cv_use_debug_cntxt"
3183 if test "$no_cache" != 1; then
3184 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3187 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3188 echo "$as_me:$LINENO: result: yes" >&5
3189 echo "${ECHO_T}yes" >&6
3191 echo "$as_me:$LINENO: result: no" >&5
3192 echo "${ECHO_T}no" >&6
3196 echo "$as_me:$LINENO: checking for --enable-mem_tracing" >&5
3197 echo $ECHO_N "checking for --enable-mem_tracing... $ECHO_C" >&6
3199 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3200 if test "${enable_mem_tracing+set}" = set; then
3201 enableval="$enable_mem_tracing"
3203 if test "$enableval" = yes; then
3204 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
=yes'
3206 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
=no
'
3211 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3212 if test "x$LINE" != x ; then
3213 eval "DEFAULT_$LINE"
3218 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
='$DEFAULT_wxUSE_MEM_TRACING
3222 eval "$ac_cv_use_mem_tracing"
3223 if test "$no_cache" != 1; then
3224 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3227 if test "$wxUSE_MEM_TRACING" = yes; then
3228 echo "$as_me:$LINENO: result: yes" >&5
3229 echo "${ECHO_T}yes" >&6
3231 echo "$as_me:$LINENO: result: no" >&5
3232 echo "${ECHO_T}no" >&6
3236 echo "$as_me:$LINENO: checking for --enable-profile" >&5
3237 echo $ECHO_N "checking for --enable-profile... $ECHO_C" >&6
3239 # Check whether --enable-profile or --disable-profile was given.
3240 if test "${enable_profile+set}" = set; then
3241 enableval="$enable_profile"
3243 if test "$enableval" = yes; then
3244 ac_cv_use_profile='wxUSE_PROFILE
=yes'
3246 ac_cv_use_profile='wxUSE_PROFILE
=no
'
3251 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3252 if test "x$LINE" != x ; then
3253 eval "DEFAULT_$LINE"
3258 ac_cv_use_profile='wxUSE_PROFILE
='$DEFAULT_wxUSE_PROFILE
3262 eval "$ac_cv_use_profile"
3263 if test "$no_cache" != 1; then
3264 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3267 if test "$wxUSE_PROFILE" = yes; then
3268 echo "$as_me:$LINENO: result: yes" >&5
3269 echo "${ECHO_T}yes" >&6
3271 echo "$as_me:$LINENO: result: no" >&5
3272 echo "${ECHO_T}no" >&6
3276 echo "$as_me:$LINENO: checking for --enable-no_rtti" >&5
3277 echo $ECHO_N "checking for --enable-no_rtti... $ECHO_C" >&6
3279 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3280 if test "${enable_no_rtti+set}" = set; then
3281 enableval="$enable_no_rtti"
3283 if test "$enableval" = yes; then
3284 ac_cv_use_no_rtti='wxUSE_NO_RTTI
=yes'
3286 ac_cv_use_no_rtti='wxUSE_NO_RTTI
=no
'
3291 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3292 if test "x$LINE" != x ; then
3293 eval "DEFAULT_$LINE"
3298 ac_cv_use_no_rtti='wxUSE_NO_RTTI
='$DEFAULT_wxUSE_NO_RTTI
3302 eval "$ac_cv_use_no_rtti"
3303 if test "$no_cache" != 1; then
3304 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3307 if test "$wxUSE_NO_RTTI" = yes; then
3308 echo "$as_me:$LINENO: result: yes" >&5
3309 echo "${ECHO_T}yes" >&6
3311 echo "$as_me:$LINENO: result: no" >&5
3312 echo "${ECHO_T}no" >&6
3316 echo "$as_me:$LINENO: checking for --enable-no_exceptions" >&5
3317 echo $ECHO_N "checking for --enable-no_exceptions... $ECHO_C" >&6
3319 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3320 if test "${enable_no_exceptions+set}" = set; then
3321 enableval="$enable_no_exceptions"
3323 if test "$enableval" = yes; then
3324 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=yes'
3326 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=no
'
3331 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3332 if test "x$LINE" != x ; then
3333 eval "DEFAULT_$LINE"
3338 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
='$DEFAULT_wxUSE_NO_EXCEPTIONS
3342 eval "$ac_cv_use_no_exceptions"
3343 if test "$no_cache" != 1; then
3344 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3347 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3348 echo "$as_me:$LINENO: result: yes" >&5
3349 echo "${ECHO_T}yes" >&6
3351 echo "$as_me:$LINENO: result: no" >&5
3352 echo "${ECHO_T}no" >&6
3356 echo "$as_me:$LINENO: checking for --enable-permissive" >&5
3357 echo $ECHO_N "checking for --enable-permissive... $ECHO_C" >&6
3359 # Check whether --enable-permissive or --disable-permissive was given.
3360 if test "${enable_permissive+set}" = set; then
3361 enableval="$enable_permissive"
3363 if test "$enableval" = yes; then
3364 ac_cv_use_permissive='wxUSE_PERMISSIVE
=yes'
3366 ac_cv_use_permissive='wxUSE_PERMISSIVE
=no
'
3371 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3372 if test "x$LINE" != x ; then
3373 eval "DEFAULT_$LINE"
3378 ac_cv_use_permissive='wxUSE_PERMISSIVE
='$DEFAULT_wxUSE_PERMISSIVE
3382 eval "$ac_cv_use_permissive"
3383 if test "$no_cache" != 1; then
3384 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3387 if test "$wxUSE_PERMISSIVE" = yes; then
3388 echo "$as_me:$LINENO: result: yes" >&5
3389 echo "${ECHO_T}yes" >&6
3391 echo "$as_me:$LINENO: result: no" >&5
3392 echo "${ECHO_T}no" >&6
3396 echo "$as_me:$LINENO: checking for --enable-no_deps" >&5
3397 echo $ECHO_N "checking for --enable-no_deps... $ECHO_C" >&6
3399 # Check whether --enable-no_deps or --disable-no_deps was given.
3400 if test "${enable_no_deps+set}" = set; then
3401 enableval="$enable_no_deps"
3403 if test "$enableval" = yes; then
3404 ac_cv_use_no_deps='wxUSE_NO_DEPS
=yes'
3406 ac_cv_use_no_deps='wxUSE_NO_DEPS
=no
'
3411 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3412 if test "x$LINE" != x ; then
3413 eval "DEFAULT_$LINE"
3418 ac_cv_use_no_deps='wxUSE_NO_DEPS
='$DEFAULT_wxUSE_NO_DEPS
3422 eval "$ac_cv_use_no_deps"
3423 if test "$no_cache" != 1; then
3424 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
3427 if test "$wxUSE_NO_DEPS" = yes; then
3428 echo "$as_me:$LINENO: result: yes" >&5
3429 echo "${ECHO_T}yes" >&6
3431 echo "$as_me:$LINENO: result: no" >&5
3432 echo "${ECHO_T}no" >&6
3437 echo "$as_me:$LINENO: checking for --enable-compat20" >&5
3438 echo $ECHO_N "checking for --enable-compat20... $ECHO_C" >&6
3440 # Check whether --enable-compat20 or --disable-compat20 was given.
3441 if test "${enable_compat20+set}" = set; then
3442 enableval="$enable_compat20"
3444 if test "$enableval" = yes; then
3445 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2
=yes'
3447 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2
=no
'
3452 LINE=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
3453 if test "x$LINE" != x ; then
3454 eval "DEFAULT_$LINE"
3459 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2
='$DEFAULT_WXWIN_COMPATIBILITY_2
3463 eval "$ac_cv_use_compat20"
3464 if test "$no_cache" != 1; then
3465 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
3468 if test "$WXWIN_COMPATIBILITY_2" = yes; then
3469 echo "$as_me:$LINENO: result: yes" >&5
3470 echo "${ECHO_T}yes" >&6
3472 echo "$as_me:$LINENO: result: no" >&5
3473 echo "${ECHO_T}no" >&6
3477 echo "$as_me:$LINENO: checking for --enable-compat22" >&5
3478 echo $ECHO_N "checking for --enable-compat22... $ECHO_C" >&6
3480 # Check whether --enable-compat22 or --disable-compat22 was given.
3481 if test "${enable_compat22+set}" = set; then
3482 enableval="$enable_compat22"
3484 if test "$enableval" = yes; then
3485 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2
=yes'
3487 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2
=no
'
3492 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3493 if test "x$LINE" != x ; then
3494 eval "DEFAULT_$LINE"
3499 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2
='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3503 eval "$ac_cv_use_compat22"
3504 if test "$no_cache" != 1; then
3505 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3508 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3509 echo "$as_me:$LINENO: result: yes" >&5
3510 echo "${ECHO_T}yes" >&6
3512 echo "$as_me:$LINENO: result: no" >&5
3513 echo "${ECHO_T}no" >&6
3517 # Check whether --enable-rpath or --disable-rpath was given.
3518 if test "${enable_rpath+set}" = set; then
3519 enableval="$enable_rpath"
3520 wxRPATH_DIR="$enableval"
3523 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
3524 WXCONFIG_RPATH="-Wl,-rpath -Wl,$wxRPATH_DIR"
3530 echo "$as_me:$LINENO: checking for --enable-intl" >&5
3531 echo $ECHO_N "checking for --enable-intl... $ECHO_C" >&6
3533 # Check whether --enable-intl or --disable-intl was given.
3534 if test "${enable_intl+set}" = set; then
3535 enableval="$enable_intl"
3537 if test "$enableval" = yes; then
3538 ac_cv_use_intl='wxUSE_INTL
=yes'
3540 ac_cv_use_intl='wxUSE_INTL
=no
'
3545 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3546 if test "x$LINE" != x ; then
3547 eval "DEFAULT_$LINE"
3552 ac_cv_use_intl='wxUSE_INTL
='$DEFAULT_wxUSE_INTL
3556 eval "$ac_cv_use_intl"
3557 if test "$no_cache" != 1; then
3558 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3561 if test "$wxUSE_INTL" = yes; then
3562 echo "$as_me:$LINENO: result: yes" >&5
3563 echo "${ECHO_T}yes" >&6
3565 echo "$as_me:$LINENO: result: no" >&5
3566 echo "${ECHO_T}no" >&6
3570 echo "$as_me:$LINENO: checking for --enable-config" >&5
3571 echo $ECHO_N "checking for --enable-config... $ECHO_C" >&6
3573 # Check whether --enable-config or --disable-config was given.
3574 if test "${enable_config+set}" = set; then
3575 enableval="$enable_config"
3577 if test "$enableval" = yes; then
3578 ac_cv_use_config='wxUSE_CONFIG
=yes'
3580 ac_cv_use_config='wxUSE_CONFIG
=no
'
3585 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3586 if test "x$LINE" != x ; then
3587 eval "DEFAULT_$LINE"
3592 ac_cv_use_config='wxUSE_CONFIG
='$DEFAULT_wxUSE_CONFIG
3596 eval "$ac_cv_use_config"
3597 if test "$no_cache" != 1; then
3598 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3601 if test "$wxUSE_CONFIG" = yes; then
3602 echo "$as_me:$LINENO: result: yes" >&5
3603 echo "${ECHO_T}yes" >&6
3605 echo "$as_me:$LINENO: result: no" >&5
3606 echo "${ECHO_T}no" >&6
3611 echo "$as_me:$LINENO: checking for --enable-protocols" >&5
3612 echo $ECHO_N "checking for --enable-protocols... $ECHO_C" >&6
3614 # Check whether --enable-protocols or --disable-protocols was given.
3615 if test "${enable_protocols+set}" = set; then
3616 enableval="$enable_protocols"
3618 if test "$enableval" = yes; then
3619 ac_cv_use_protocols='wxUSE_PROTOCOL
=yes'
3621 ac_cv_use_protocols='wxUSE_PROTOCOL
=no
'
3626 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3627 if test "x$LINE" != x ; then
3628 eval "DEFAULT_$LINE"
3633 ac_cv_use_protocols='wxUSE_PROTOCOL
='$DEFAULT_wxUSE_PROTOCOL
3637 eval "$ac_cv_use_protocols"
3638 if test "$no_cache" != 1; then
3639 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3642 if test "$wxUSE_PROTOCOL" = yes; then
3643 echo "$as_me:$LINENO: result: yes" >&5
3644 echo "${ECHO_T}yes" >&6
3646 echo "$as_me:$LINENO: result: no" >&5
3647 echo "${ECHO_T}no" >&6
3651 echo "$as_me:$LINENO: checking for --enable-ftp" >&5
3652 echo $ECHO_N "checking for --enable-ftp... $ECHO_C" >&6
3654 # Check whether --enable-ftp or --disable-ftp was given.
3655 if test "${enable_ftp+set}" = set; then
3656 enableval="$enable_ftp"
3658 if test "$enableval" = yes; then
3659 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
=yes'
3661 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
=no
'
3666 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3667 if test "x$LINE" != x ; then
3668 eval "DEFAULT_$LINE"
3673 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
='$DEFAULT_wxUSE_PROTOCOL_FTP
3677 eval "$ac_cv_use_ftp"
3678 if test "$no_cache" != 1; then
3679 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3682 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3683 echo "$as_me:$LINENO: result: yes" >&5
3684 echo "${ECHO_T}yes" >&6
3686 echo "$as_me:$LINENO: result: no" >&5
3687 echo "${ECHO_T}no" >&6
3691 echo "$as_me:$LINENO: checking for --enable-http" >&5
3692 echo $ECHO_N "checking for --enable-http... $ECHO_C" >&6
3694 # Check whether --enable-http or --disable-http was given.
3695 if test "${enable_http+set}" = set; then
3696 enableval="$enable_http"
3698 if test "$enableval" = yes; then
3699 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
=yes'
3701 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
=no
'
3706 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3707 if test "x$LINE" != x ; then
3708 eval "DEFAULT_$LINE"
3713 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
='$DEFAULT_wxUSE_PROTOCOL_HTTP
3717 eval "$ac_cv_use_http"
3718 if test "$no_cache" != 1; then
3719 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
3722 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
3723 echo "$as_me:$LINENO: result: yes" >&5
3724 echo "${ECHO_T}yes" >&6
3726 echo "$as_me:$LINENO: result: no" >&5
3727 echo "${ECHO_T}no" >&6
3731 echo "$as_me:$LINENO: checking for --enable-fileproto" >&5
3732 echo $ECHO_N "checking for --enable-fileproto... $ECHO_C" >&6
3734 # Check whether --enable-fileproto or --disable-fileproto was given.
3735 if test "${enable_fileproto+set}" = set; then
3736 enableval="$enable_fileproto"
3738 if test "$enableval" = yes; then
3739 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=yes'
3741 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=no
'
3746 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
3747 if test "x$LINE" != x ; then
3748 eval "DEFAULT_$LINE"
3753 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
='$DEFAULT_wxUSE_PROTOCOL_FILE
3757 eval "$ac_cv_use_fileproto"
3758 if test "$no_cache" != 1; then
3759 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
3762 if test "$wxUSE_PROTOCOL_FILE" = yes; then
3763 echo "$as_me:$LINENO: result: yes" >&5
3764 echo "${ECHO_T}yes" >&6
3766 echo "$as_me:$LINENO: result: no" >&5
3767 echo "${ECHO_T}no" >&6
3771 echo "$as_me:$LINENO: checking for --enable-sockets" >&5
3772 echo $ECHO_N "checking for --enable-sockets... $ECHO_C" >&6
3774 # Check whether --enable-sockets or --disable-sockets was given.
3775 if test "${enable_sockets+set}" = set; then
3776 enableval="$enable_sockets"
3778 if test "$enableval" = yes; then
3779 ac_cv_use_sockets='wxUSE_SOCKETS
=yes'
3781 ac_cv_use_sockets='wxUSE_SOCKETS
=no
'
3786 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
3787 if test "x$LINE" != x ; then
3788 eval "DEFAULT_$LINE"
3793 ac_cv_use_sockets='wxUSE_SOCKETS
='$DEFAULT_wxUSE_SOCKETS
3797 eval "$ac_cv_use_sockets"
3798 if test "$no_cache" != 1; then
3799 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
3802 if test "$wxUSE_SOCKETS" = yes; then
3803 echo "$as_me:$LINENO: result: yes" >&5
3804 echo "${ECHO_T}yes" >&6
3806 echo "$as_me:$LINENO: result: no" >&5
3807 echo "${ECHO_T}no" >&6
3812 echo "$as_me:$LINENO: checking for --enable-ipc" >&5
3813 echo $ECHO_N "checking for --enable-ipc... $ECHO_C" >&6
3815 # Check whether --enable-ipc or --disable-ipc was given.
3816 if test "${enable_ipc+set}" = set; then
3817 enableval="$enable_ipc"
3819 if test "$enableval" = yes; then
3820 ac_cv_use_ipc='wxUSE_IPC
=yes'
3822 ac_cv_use_ipc='wxUSE_IPC
=no
'
3827 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
3828 if test "x$LINE" != x ; then
3829 eval "DEFAULT_$LINE"
3834 ac_cv_use_ipc='wxUSE_IPC
='$DEFAULT_wxUSE_IPC
3838 eval "$ac_cv_use_ipc"
3839 if test "$no_cache" != 1; then
3840 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
3843 if test "$wxUSE_IPC" = yes; then
3844 echo "$as_me:$LINENO: result: yes" >&5
3845 echo "${ECHO_T}yes" >&6
3847 echo "$as_me:$LINENO: result: no" >&5
3848 echo "${ECHO_T}no" >&6
3853 echo "$as_me:$LINENO: checking for --enable-cmdline" >&5
3854 echo $ECHO_N "checking for --enable-cmdline... $ECHO_C" >&6
3856 # Check whether --enable-cmdline or --disable-cmdline was given.
3857 if test "${enable_cmdline+set}" = set; then
3858 enableval="$enable_cmdline"
3860 if test "$enableval" = yes; then
3861 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=yes'
3863 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=no
'
3868 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
3869 if test "x$LINE" != x ; then
3870 eval "DEFAULT_$LINE"
3875 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
='$DEFAULT_wxUSE_CMDLINE_PARSER
3879 eval "$ac_cv_use_cmdline"
3880 if test "$no_cache" != 1; then
3881 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
3884 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3885 echo "$as_me:$LINENO: result: yes" >&5
3886 echo "${ECHO_T}yes" >&6
3888 echo "$as_me:$LINENO: result: no" >&5
3889 echo "${ECHO_T}no" >&6
3893 echo "$as_me:$LINENO: checking for --enable-datetime" >&5
3894 echo $ECHO_N "checking for --enable-datetime... $ECHO_C" >&6
3896 # Check whether --enable-datetime or --disable-datetime was given.
3897 if test "${enable_datetime+set}" = set; then
3898 enableval="$enable_datetime"
3900 if test "$enableval" = yes; then
3901 ac_cv_use_datetime='wxUSE_DATETIME
=yes'
3903 ac_cv_use_datetime='wxUSE_DATETIME
=no
'
3908 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3909 if test "x$LINE" != x ; then
3910 eval "DEFAULT_$LINE"
3915 ac_cv_use_datetime='wxUSE_DATETIME
='$DEFAULT_wxUSE_DATETIME
3919 eval "$ac_cv_use_datetime"
3920 if test "$no_cache" != 1; then
3921 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3924 if test "$wxUSE_DATETIME" = yes; then
3925 echo "$as_me:$LINENO: result: yes" >&5
3926 echo "${ECHO_T}yes" >&6
3928 echo "$as_me:$LINENO: result: no" >&5
3929 echo "${ECHO_T}no" >&6
3933 echo "$as_me:$LINENO: checking for --enable-timedate" >&5
3934 echo $ECHO_N "checking for --enable-timedate... $ECHO_C" >&6
3936 # Check whether --enable-timedate or --disable-timedate was given.
3937 if test "${enable_timedate+set}" = set; then
3938 enableval="$enable_timedate"
3940 if test "$enableval" = yes; then
3941 ac_cv_use_timedate='wxUSE_TIMEDATE
=yes'
3943 ac_cv_use_timedate='wxUSE_TIMEDATE
=no
'
3948 LINE=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
3949 if test "x$LINE" != x ; then
3950 eval "DEFAULT_$LINE"
3955 ac_cv_use_timedate='wxUSE_TIMEDATE
='$DEFAULT_wxUSE_TIMEDATE
3959 eval "$ac_cv_use_timedate"
3960 if test "$no_cache" != 1; then
3961 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
3964 if test "$wxUSE_TIMEDATE" = yes; then
3965 echo "$as_me:$LINENO: result: yes" >&5
3966 echo "${ECHO_T}yes" >&6
3968 echo "$as_me:$LINENO: result: no" >&5
3969 echo "${ECHO_T}no" >&6
3973 echo "$as_me:$LINENO: checking for --enable-stopwatch" >&5
3974 echo $ECHO_N "checking for --enable-stopwatch... $ECHO_C" >&6
3976 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3977 if test "${enable_stopwatch+set}" = set; then
3978 enableval="$enable_stopwatch"
3980 if test "$enableval" = yes; then
3981 ac_cv_use_stopwatch='wxUSE_STOPWATCH
=yes'
3983 ac_cv_use_stopwatch='wxUSE_STOPWATCH
=no
'
3988 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3989 if test "x$LINE" != x ; then
3990 eval "DEFAULT_$LINE"
3995 ac_cv_use_stopwatch='wxUSE_STOPWATCH
='$DEFAULT_wxUSE_STOPWATCH
3999 eval "$ac_cv_use_stopwatch"
4000 if test "$no_cache" != 1; then
4001 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
4004 if test "$wxUSE_STOPWATCH" = yes; then
4005 echo "$as_me:$LINENO: result: yes" >&5
4006 echo "${ECHO_T}yes" >&6
4008 echo "$as_me:$LINENO: result: no" >&5
4009 echo "${ECHO_T}no" >&6
4013 echo "$as_me:$LINENO: checking for --enable-dialupman" >&5
4014 echo $ECHO_N "checking for --enable-dialupman... $ECHO_C" >&6
4016 # Check whether --enable-dialupman or --disable-dialupman was given.
4017 if test "${enable_dialupman+set}" = set; then
4018 enableval="$enable_dialupman"
4020 if test "$enableval" = yes; then
4021 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=yes'
4023 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=no
'
4028 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4029 if test "x$LINE" != x ; then
4030 eval "DEFAULT_$LINE"
4035 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
='$DEFAULT_wxUSE_DIALUP_MANAGER
4039 eval "$ac_cv_use_dialupman"
4040 if test "$no_cache" != 1; then
4041 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4044 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4045 echo "$as_me:$LINENO: result: yes" >&5
4046 echo "${ECHO_T}yes" >&6
4048 echo "$as_me:$LINENO: result: no" >&5
4049 echo "${ECHO_T}no" >&6
4053 echo "$as_me:$LINENO: checking for --enable-apple_ieee" >&5
4054 echo $ECHO_N "checking for --enable-apple_ieee... $ECHO_C" >&6
4056 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4057 if test "${enable_apple_ieee+set}" = set; then
4058 enableval="$enable_apple_ieee"
4060 if test "$enableval" = yes; then
4061 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=yes'
4063 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=no
'
4068 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4069 if test "x$LINE" != x ; then
4070 eval "DEFAULT_$LINE"
4075 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
='$DEFAULT_wxUSE_APPLE_IEEE
4079 eval "$ac_cv_use_apple_ieee"
4080 if test "$no_cache" != 1; then
4081 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4084 if test "$wxUSE_APPLE_IEEE" = yes; then
4085 echo "$as_me:$LINENO: result: yes" >&5
4086 echo "${ECHO_T}yes" >&6
4088 echo "$as_me:$LINENO: result: no" >&5
4089 echo "${ECHO_T}no" >&6
4093 echo "$as_me:$LINENO: checking for --enable-timer" >&5
4094 echo $ECHO_N "checking for --enable-timer... $ECHO_C" >&6
4096 # Check whether --enable-timer or --disable-timer was given.
4097 if test "${enable_timer+set}" = set; then
4098 enableval="$enable_timer"
4100 if test "$enableval" = yes; then
4101 ac_cv_use_timer='wxUSE_TIMER
=yes'
4103 ac_cv_use_timer='wxUSE_TIMER
=no
'
4108 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
4109 if test "x$LINE" != x ; then
4110 eval "DEFAULT_$LINE"
4115 ac_cv_use_timer='wxUSE_TIMER
='$DEFAULT_wxUSE_TIMER
4119 eval "$ac_cv_use_timer"
4120 if test "$no_cache" != 1; then
4121 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
4124 if test "$wxUSE_TIMER" = yes; then
4125 echo "$as_me:$LINENO: result: yes" >&5
4126 echo "${ECHO_T}yes" >&6
4128 echo "$as_me:$LINENO: result: no" >&5
4129 echo "${ECHO_T}no" >&6
4133 echo "$as_me:$LINENO: checking for --enable-wave" >&5
4134 echo $ECHO_N "checking for --enable-wave... $ECHO_C" >&6
4136 # Check whether --enable-wave or --disable-wave was given.
4137 if test "${enable_wave+set}" = set; then
4138 enableval="$enable_wave"
4140 if test "$enableval" = yes; then
4141 ac_cv_use_wave='wxUSE_WAVE
=yes'
4143 ac_cv_use_wave='wxUSE_WAVE
=no
'
4148 LINE=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
4149 if test "x$LINE" != x ; then
4150 eval "DEFAULT_$LINE"
4155 ac_cv_use_wave='wxUSE_WAVE
='$DEFAULT_wxUSE_WAVE
4159 eval "$ac_cv_use_wave"
4160 if test "$no_cache" != 1; then
4161 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
4164 if test "$wxUSE_WAVE" = yes; then
4165 echo "$as_me:$LINENO: result: yes" >&5
4166 echo "${ECHO_T}yes" >&6
4168 echo "$as_me:$LINENO: result: no" >&5
4169 echo "${ECHO_T}no" >&6
4173 echo "$as_me:$LINENO: checking for --enable-fraction" >&5
4174 echo $ECHO_N "checking for --enable-fraction... $ECHO_C" >&6
4176 # Check whether --enable-fraction or --disable-fraction was given.
4177 if test "${enable_fraction+set}" = set; then
4178 enableval="$enable_fraction"
4180 if test "$enableval" = yes; then
4181 ac_cv_use_fraction='wxUSE_FRACTION
=yes'
4183 ac_cv_use_fraction='wxUSE_FRACTION
=no
'
4188 LINE=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
4189 if test "x$LINE" != x ; then
4190 eval "DEFAULT_$LINE"
4195 ac_cv_use_fraction='wxUSE_FRACTION
='$DEFAULT_wxUSE_FRACTION
4199 eval "$ac_cv_use_fraction"
4200 if test "$no_cache" != 1; then
4201 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
4204 if test "$wxUSE_FRACTION" = yes; then
4205 echo "$as_me:$LINENO: result: yes" >&5
4206 echo "${ECHO_T}yes" >&6
4208 echo "$as_me:$LINENO: result: no" >&5
4209 echo "${ECHO_T}no" >&6
4213 echo "$as_me:$LINENO: checking for --enable-dynlib" >&5
4214 echo $ECHO_N "checking for --enable-dynlib... $ECHO_C" >&6
4216 # Check whether --enable-dynlib or --disable-dynlib was given.
4217 if test "${enable_dynlib+set}" = set; then
4218 enableval="$enable_dynlib"
4220 if test "$enableval" = yes; then
4221 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=yes'
4223 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=no
'
4228 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4229 if test "x$LINE" != x ; then
4230 eval "DEFAULT_$LINE"
4235 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
='$DEFAULT_wxUSE_DYNLIB_CLASS
4239 eval "$ac_cv_use_dynlib"
4240 if test "$no_cache" != 1; then
4241 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4244 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4245 echo "$as_me:$LINENO: result: yes" >&5
4246 echo "${ECHO_T}yes" >&6
4248 echo "$as_me:$LINENO: result: no" >&5
4249 echo "${ECHO_T}no" >&6
4253 echo "$as_me:$LINENO: checking for --enable-dynamicloader" >&5
4254 echo $ECHO_N "checking for --enable-dynamicloader... $ECHO_C" >&6
4256 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4257 if test "${enable_dynamicloader+set}" = set; then
4258 enableval="$enable_dynamicloader"
4260 if test "$enableval" = yes; then
4261 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
=yes'
4263 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
=no
'
4268 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4269 if test "x$LINE" != x ; then
4270 eval "DEFAULT_$LINE"
4275 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
='$DEFAULT_wxUSE_DYNAMIC_LOADER
4279 eval "$ac_cv_use_dynamicloader"
4280 if test "$no_cache" != 1; then
4281 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4284 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4285 echo "$as_me:$LINENO: result: yes" >&5
4286 echo "${ECHO_T}yes" >&6
4288 echo "$as_me:$LINENO: result: no" >&5
4289 echo "${ECHO_T}no" >&6
4293 echo "$as_me:$LINENO: checking for --enable-longlong" >&5
4294 echo $ECHO_N "checking for --enable-longlong... $ECHO_C" >&6
4296 # Check whether --enable-longlong or --disable-longlong was given.
4297 if test "${enable_longlong+set}" = set; then
4298 enableval="$enable_longlong"
4300 if test "$enableval" = yes; then
4301 ac_cv_use_longlong='wxUSE_LONGLONG
=yes'
4303 ac_cv_use_longlong='wxUSE_LONGLONG
=no
'
4308 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
4309 if test "x$LINE" != x ; then
4310 eval "DEFAULT_$LINE"
4315 ac_cv_use_longlong='wxUSE_LONGLONG
='$DEFAULT_wxUSE_LONGLONG
4319 eval "$ac_cv_use_longlong"
4320 if test "$no_cache" != 1; then
4321 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
4324 if test "$wxUSE_LONGLONG" = yes; then
4325 echo "$as_me:$LINENO: result: yes" >&5
4326 echo "${ECHO_T}yes" >&6
4328 echo "$as_me:$LINENO: result: no" >&5
4329 echo "${ECHO_T}no" >&6
4333 echo "$as_me:$LINENO: checking for --enable-geometry" >&5
4334 echo $ECHO_N "checking for --enable-geometry... $ECHO_C" >&6
4336 # Check whether --enable-geometry or --disable-geometry was given.
4337 if test "${enable_geometry+set}" = set; then
4338 enableval="$enable_geometry"
4340 if test "$enableval" = yes; then
4341 ac_cv_use_geometry='wxUSE_GEOMETRY
=yes'
4343 ac_cv_use_geometry='wxUSE_GEOMETRY
=no
'
4348 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
4349 if test "x$LINE" != x ; then
4350 eval "DEFAULT_$LINE"
4355 ac_cv_use_geometry='wxUSE_GEOMETRY
='$DEFAULT_wxUSE_GEOMETRY
4359 eval "$ac_cv_use_geometry"
4360 if test "$no_cache" != 1; then
4361 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
4364 if test "$wxUSE_GEOMETRY" = yes; then
4365 echo "$as_me:$LINENO: result: yes" >&5
4366 echo "${ECHO_T}yes" >&6
4368 echo "$as_me:$LINENO: result: no" >&5
4369 echo "${ECHO_T}no" >&6
4373 echo "$as_me:$LINENO: checking for --enable-log" >&5
4374 echo $ECHO_N "checking for --enable-log... $ECHO_C" >&6
4376 # Check whether --enable-log or --disable-log was given.
4377 if test "${enable_log+set}" = set; then
4378 enableval="$enable_log"
4380 if test "$enableval" = yes; then
4381 ac_cv_use_log='wxUSE_LOG
=yes'
4383 ac_cv_use_log='wxUSE_LOG
=no
'
4388 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
4389 if test "x$LINE" != x ; then
4390 eval "DEFAULT_$LINE"
4395 ac_cv_use_log='wxUSE_LOG
='$DEFAULT_wxUSE_LOG
4399 eval "$ac_cv_use_log"
4400 if test "$no_cache" != 1; then
4401 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
4404 if test "$wxUSE_LOG" = yes; then
4405 echo "$as_me:$LINENO: result: yes" >&5
4406 echo "${ECHO_T}yes" >&6
4408 echo "$as_me:$LINENO: result: no" >&5
4409 echo "${ECHO_T}no" >&6
4413 echo "$as_me:$LINENO: checking for --enable-streams" >&5
4414 echo $ECHO_N "checking for --enable-streams... $ECHO_C" >&6
4416 # Check whether --enable-streams or --disable-streams was given.
4417 if test "${enable_streams+set}" = set; then
4418 enableval="$enable_streams"
4420 if test "$enableval" = yes; then
4421 ac_cv_use_streams='wxUSE_STREAMS
=yes'
4423 ac_cv_use_streams='wxUSE_STREAMS
=no
'
4428 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
4429 if test "x$LINE" != x ; then
4430 eval "DEFAULT_$LINE"
4435 ac_cv_use_streams='wxUSE_STREAMS
='$DEFAULT_wxUSE_STREAMS
4439 eval "$ac_cv_use_streams"
4440 if test "$no_cache" != 1; then
4441 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
4444 if test "$wxUSE_STREAMS" = yes; then
4445 echo "$as_me:$LINENO: result: yes" >&5
4446 echo "${ECHO_T}yes" >&6
4448 echo "$as_me:$LINENO: result: no" >&5
4449 echo "${ECHO_T}no" >&6
4453 echo "$as_me:$LINENO: checking for --enable-file" >&5
4454 echo $ECHO_N "checking for --enable-file... $ECHO_C" >&6
4456 # Check whether --enable-file or --disable-file was given.
4457 if test "${enable_file+set}" = set; then
4458 enableval="$enable_file"
4460 if test "$enableval" = yes; then
4461 ac_cv_use_file='wxUSE_FILE
=yes'
4463 ac_cv_use_file='wxUSE_FILE
=no
'
4468 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4469 if test "x$LINE" != x ; then
4470 eval "DEFAULT_$LINE"
4475 ac_cv_use_file='wxUSE_FILE
='$DEFAULT_wxUSE_FILE
4479 eval "$ac_cv_use_file"
4480 if test "$no_cache" != 1; then
4481 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4484 if test "$wxUSE_FILE" = yes; then
4485 echo "$as_me:$LINENO: result: yes" >&5
4486 echo "${ECHO_T}yes" >&6
4488 echo "$as_me:$LINENO: result: no" >&5
4489 echo "${ECHO_T}no" >&6
4493 echo "$as_me:$LINENO: checking for --enable-ffile" >&5
4494 echo $ECHO_N "checking for --enable-ffile... $ECHO_C" >&6
4496 # Check whether --enable-ffile or --disable-ffile was given.
4497 if test "${enable_ffile+set}" = set; then
4498 enableval="$enable_ffile"
4500 if test "$enableval" = yes; then
4501 ac_cv_use_ffile='wxUSE_FFILE
=yes'
4503 ac_cv_use_ffile='wxUSE_FFILE
=no
'
4508 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4509 if test "x$LINE" != x ; then
4510 eval "DEFAULT_$LINE"
4515 ac_cv_use_ffile='wxUSE_FFILE
='$DEFAULT_wxUSE_FFILE
4519 eval "$ac_cv_use_ffile"
4520 if test "$no_cache" != 1; then
4521 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4524 if test "$wxUSE_FFILE" = yes; then
4525 echo "$as_me:$LINENO: result: yes" >&5
4526 echo "${ECHO_T}yes" >&6
4528 echo "$as_me:$LINENO: result: no" >&5
4529 echo "${ECHO_T}no" >&6
4533 echo "$as_me:$LINENO: checking for --enable-textbuf" >&5
4534 echo $ECHO_N "checking for --enable-textbuf... $ECHO_C" >&6
4536 # Check whether --enable-textbuf or --disable-textbuf was given.
4537 if test "${enable_textbuf+set}" = set; then
4538 enableval="$enable_textbuf"
4540 if test "$enableval" = yes; then
4541 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
=yes'
4543 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
=no
'
4548 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
4549 if test "x$LINE" != x ; then
4550 eval "DEFAULT_$LINE"
4555 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
='$DEFAULT_wxUSE_TEXTBUFFER
4559 eval "$ac_cv_use_textbuf"
4560 if test "$no_cache" != 1; then
4561 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
4564 if test "$wxUSE_TEXTBUFFER" = yes; then
4565 echo "$as_me:$LINENO: result: yes" >&5
4566 echo "${ECHO_T}yes" >&6
4568 echo "$as_me:$LINENO: result: no" >&5
4569 echo "${ECHO_T}no" >&6
4573 echo "$as_me:$LINENO: checking for --enable-textfile" >&5
4574 echo $ECHO_N "checking for --enable-textfile... $ECHO_C" >&6
4576 # Check whether --enable-textfile or --disable-textfile was given.
4577 if test "${enable_textfile+set}" = set; then
4578 enableval="$enable_textfile"
4580 if test "$enableval" = yes; then
4581 ac_cv_use_textfile='wxUSE_TEXTFILE
=yes'
4583 ac_cv_use_textfile='wxUSE_TEXTFILE
=no
'
4588 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
4589 if test "x$LINE" != x ; then
4590 eval "DEFAULT_$LINE"
4595 ac_cv_use_textfile='wxUSE_TEXTFILE
='$DEFAULT_wxUSE_TEXTFILE
4599 eval "$ac_cv_use_textfile"
4600 if test "$no_cache" != 1; then
4601 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4604 if test "$wxUSE_TEXTFILE" = yes; then
4605 echo "$as_me:$LINENO: result: yes" >&5
4606 echo "${ECHO_T}yes" >&6
4608 echo "$as_me:$LINENO: result: no" >&5
4609 echo "${ECHO_T}no" >&6
4613 echo "$as_me:$LINENO: checking for --enable-fontmap" >&5
4614 echo $ECHO_N "checking for --enable-fontmap... $ECHO_C" >&6
4616 # Check whether --enable-fontmap or --disable-fontmap was given.
4617 if test "${enable_fontmap+set}" = set; then
4618 enableval="$enable_fontmap"
4620 if test "$enableval" = yes; then
4621 ac_cv_use_fontmap='wxUSE_FONTMAP
=yes'
4623 ac_cv_use_fontmap='wxUSE_FONTMAP
=no
'
4628 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4629 if test "x$LINE" != x ; then
4630 eval "DEFAULT_$LINE"
4635 ac_cv_use_fontmap='wxUSE_FONTMAP
='$DEFAULT_wxUSE_FONTMAP
4639 eval "$ac_cv_use_fontmap"
4640 if test "$no_cache" != 1; then
4641 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4644 if test "$wxUSE_FONTMAP" = yes; then
4645 echo "$as_me:$LINENO: result: yes" >&5
4646 echo "${ECHO_T}yes" >&6
4648 echo "$as_me:$LINENO: result: no" >&5
4649 echo "${ECHO_T}no" >&6
4653 echo "$as_me:$LINENO: checking for --enable-unicode" >&5
4654 echo $ECHO_N "checking for --enable-unicode... $ECHO_C" >&6
4656 # Check whether --enable-unicode or --disable-unicode was given.
4657 if test "${enable_unicode+set}" = set; then
4658 enableval="$enable_unicode"
4660 if test "$enableval" = yes; then
4661 ac_cv_use_unicode='wxUSE_UNICODE
=yes'
4663 ac_cv_use_unicode='wxUSE_UNICODE
=no
'
4668 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
4669 if test "x$LINE" != x ; then
4670 eval "DEFAULT_$LINE"
4675 ac_cv_use_unicode='wxUSE_UNICODE
='$DEFAULT_wxUSE_UNICODE
4679 eval "$ac_cv_use_unicode"
4680 if test "$no_cache" != 1; then
4681 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
4684 if test "$wxUSE_UNICODE" = yes; then
4685 echo "$as_me:$LINENO: result: yes" >&5
4686 echo "${ECHO_T}yes" >&6
4688 echo "$as_me:$LINENO: result: no" >&5
4689 echo "${ECHO_T}no" >&6
4693 echo "$as_me:$LINENO: checking for --enable-mslu" >&5
4694 echo $ECHO_N "checking for --enable-mslu... $ECHO_C" >&6
4696 # Check whether --enable-mslu or --disable-mslu was given.
4697 if test "${enable_mslu+set}" = set; then
4698 enableval="$enable_mslu"
4700 if test "$enableval" = yes; then
4701 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
4703 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
4708 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
4709 if test "x$LINE" != x ; then
4710 eval "DEFAULT_$LINE"
4715 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
='$DEFAULT_wxUSE_UNICODE_MSLU
4719 eval "$ac_cv_use_mslu"
4720 if test "$no_cache" != 1; then
4721 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
4724 if test "$wxUSE_UNICODE_MSLU" = yes; then
4725 echo "$as_me:$LINENO: result: yes" >&5
4726 echo "${ECHO_T}yes" >&6
4728 echo "$as_me:$LINENO: result: no" >&5
4729 echo "${ECHO_T}no" >&6
4733 echo "$as_me:$LINENO: checking for --enable-wxprintfv" >&5
4734 echo $ECHO_N "checking for --enable-wxprintfv... $ECHO_C" >&6
4736 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
4737 if test "${enable_wxprintfv+set}" = set; then
4738 enableval="$enable_wxprintfv"
4740 if test "$enableval" = yes; then
4741 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF
=yes'
4743 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF
=no
'
4748 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
4749 if test "x$LINE" != x ; then
4750 eval "DEFAULT_$LINE"
4755 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF
='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
4759 eval "$ac_cv_use_wxprintfv"
4760 if test "$no_cache" != 1; then
4761 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
4764 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
4765 echo "$as_me:$LINENO: result: yes" >&5
4766 echo "${ECHO_T}yes" >&6
4768 echo "$as_me:$LINENO: result: no" >&5
4769 echo "${ECHO_T}no" >&6
4773 echo "$as_me:$LINENO: checking for --enable-std_iostreams" >&5
4774 echo $ECHO_N "checking for --enable-std_iostreams... $ECHO_C" >&6
4776 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
4777 if test "${enable_std_iostreams+set}" = set; then
4778 enableval="$enable_std_iostreams"
4780 if test "$enableval" = yes; then
4781 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=yes'
4783 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=no
'
4788 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
4789 if test "x$LINE" != x ; then
4790 eval "DEFAULT_$LINE"
4795 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
='$DEFAULT_wxUSE_STD_IOSTREAM
4799 eval "$ac_cv_use_std_iostreams"
4800 if test "$no_cache" != 1; then
4801 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
4804 if test "$wxUSE_STD_IOSTREAM" = yes; then
4805 echo "$as_me:$LINENO: result: yes" >&5
4806 echo "${ECHO_T}yes" >&6
4808 echo "$as_me:$LINENO: result: no" >&5
4809 echo "${ECHO_T}no" >&6
4813 echo "$as_me:$LINENO: checking for --enable-filesystem" >&5
4814 echo $ECHO_N "checking for --enable-filesystem... $ECHO_C" >&6
4816 # Check whether --enable-filesystem or --disable-filesystem was given.
4817 if test "${enable_filesystem+set}" = set; then
4818 enableval="$enable_filesystem"
4820 if test "$enableval" = yes; then
4821 ac_cv_use_filesystem='wxUSE_FILESYSTEM
=yes'
4823 ac_cv_use_filesystem='wxUSE_FILESYSTEM
=no
'
4828 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4829 if test "x$LINE" != x ; then
4830 eval "DEFAULT_$LINE"
4835 ac_cv_use_filesystem='wxUSE_FILESYSTEM
='$DEFAULT_wxUSE_FILESYSTEM
4839 eval "$ac_cv_use_filesystem"
4840 if test "$no_cache" != 1; then
4841 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4844 if test "$wxUSE_FILESYSTEM" = yes; then
4845 echo "$as_me:$LINENO: result: yes" >&5
4846 echo "${ECHO_T}yes" >&6
4848 echo "$as_me:$LINENO: result: no" >&5
4849 echo "${ECHO_T}no" >&6
4853 echo "$as_me:$LINENO: checking for --enable-fs_inet" >&5
4854 echo $ECHO_N "checking for --enable-fs_inet... $ECHO_C" >&6
4856 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4857 if test "${enable_fs_inet+set}" = set; then
4858 enableval="$enable_fs_inet"
4860 if test "$enableval" = yes; then
4861 ac_cv_use_fs_inet='wxUSE_FS_INET
=yes'
4863 ac_cv_use_fs_inet='wxUSE_FS_INET
=no
'
4868 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4869 if test "x$LINE" != x ; then
4870 eval "DEFAULT_$LINE"
4875 ac_cv_use_fs_inet='wxUSE_FS_INET
='$DEFAULT_wxUSE_FS_INET
4879 eval "$ac_cv_use_fs_inet"
4880 if test "$no_cache" != 1; then
4881 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
4884 if test "$wxUSE_FS_INET" = yes; then
4885 echo "$as_me:$LINENO: result: yes" >&5
4886 echo "${ECHO_T}yes" >&6
4888 echo "$as_me:$LINENO: result: no" >&5
4889 echo "${ECHO_T}no" >&6
4893 echo "$as_me:$LINENO: checking for --enable-fs_zip" >&5
4894 echo $ECHO_N "checking for --enable-fs_zip... $ECHO_C" >&6
4896 # Check whether --enable-fs_zip or --disable-fs_zip was given.
4897 if test "${enable_fs_zip+set}" = set; then
4898 enableval="$enable_fs_zip"
4900 if test "$enableval" = yes; then
4901 ac_cv_use_fs_zip='wxUSE_FS_ZIP
=yes'
4903 ac_cv_use_fs_zip='wxUSE_FS_ZIP
=no
'
4908 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4909 if test "x$LINE" != x ; then
4910 eval "DEFAULT_$LINE"
4915 ac_cv_use_fs_zip='wxUSE_FS_ZIP
='$DEFAULT_wxUSE_FS_ZIP
4919 eval "$ac_cv_use_fs_zip"
4920 if test "$no_cache" != 1; then
4921 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4924 if test "$wxUSE_FS_ZIP" = yes; then
4925 echo "$as_me:$LINENO: result: yes" >&5
4926 echo "${ECHO_T}yes" >&6
4928 echo "$as_me:$LINENO: result: no" >&5
4929 echo "${ECHO_T}no" >&6
4933 echo "$as_me:$LINENO: checking for --enable-zipstream" >&5
4934 echo $ECHO_N "checking for --enable-zipstream... $ECHO_C" >&6
4936 # Check whether --enable-zipstream or --disable-zipstream was given.
4937 if test "${enable_zipstream+set}" = set; then
4938 enableval="$enable_zipstream"
4940 if test "$enableval" = yes; then
4941 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
=yes'
4943 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
=no
'
4948 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
4949 if test "x$LINE" != x ; then
4950 eval "DEFAULT_$LINE"
4955 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
='$DEFAULT_wxUSE_ZIPSTREAM
4959 eval "$ac_cv_use_zipstream"
4960 if test "$no_cache" != 1; then
4961 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
4964 if test "$wxUSE_ZIPSTREAM" = yes; then
4965 echo "$as_me:$LINENO: result: yes" >&5
4966 echo "${ECHO_T}yes" >&6
4968 echo "$as_me:$LINENO: result: no" >&5
4969 echo "${ECHO_T}no" >&6
4974 echo "$as_me:$LINENO: checking for --enable-catch_segvs" >&5
4975 echo $ECHO_N "checking for --enable-catch_segvs... $ECHO_C" >&6
4977 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4978 if test "${enable_catch_segvs+set}" = set; then
4979 enableval="$enable_catch_segvs"
4981 if test "$enableval" = yes; then
4982 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
=yes'
4984 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
=no
'
4989 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4990 if test "x$LINE" != x ; then
4991 eval "DEFAULT_$LINE"
4996 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5000 eval "$ac_cv_use_catch_segvs"
5001 if test "$no_cache" != 1; then
5002 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5005 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5006 echo "$as_me:$LINENO: result: yes" >&5
5007 echo "${ECHO_T}yes" >&6
5009 echo "$as_me:$LINENO: result: no" >&5
5010 echo "${ECHO_T}no" >&6
5014 echo "$as_me:$LINENO: checking for --enable-snglinst" >&5
5015 echo $ECHO_N "checking for --enable-snglinst... $ECHO_C" >&6
5017 # Check whether --enable-snglinst or --disable-snglinst was given.
5018 if test "${enable_snglinst+set}" = set; then
5019 enableval="$enable_snglinst"
5021 if test "$enableval" = yes; then
5022 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=yes'
5024 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=no
'
5029 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5030 if test "x$LINE" != x ; then
5031 eval "DEFAULT_$LINE"
5036 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
='$DEFAULT_wxUSE_SNGLINST_CHECKER
5040 eval "$ac_cv_use_snglinst"
5041 if test "$no_cache" != 1; then
5042 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5045 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5046 echo "$as_me:$LINENO: result: yes" >&5
5047 echo "${ECHO_T}yes" >&6
5049 echo "$as_me:$LINENO: result: no" >&5
5050 echo "${ECHO_T}no" >&6
5055 echo "$as_me:$LINENO: checking for --enable-mimetype" >&5
5056 echo $ECHO_N "checking for --enable-mimetype... $ECHO_C" >&6
5058 # Check whether --enable-mimetype or --disable-mimetype was given.
5059 if test "${enable_mimetype+set}" = set; then
5060 enableval="$enable_mimetype"
5062 if test "$enableval" = yes; then
5063 ac_cv_use_mimetype='wxUSE_MIMETYPE
=yes'
5065 ac_cv_use_mimetype='wxUSE_MIMETYPE
=no
'
5070 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5071 if test "x$LINE" != x ; then
5072 eval "DEFAULT_$LINE"
5077 ac_cv_use_mimetype='wxUSE_MIMETYPE
='$DEFAULT_wxUSE_MIMETYPE
5081 eval "$ac_cv_use_mimetype"
5082 if test "$no_cache" != 1; then
5083 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5086 if test "$wxUSE_MIMETYPE" = yes; then
5087 echo "$as_me:$LINENO: result: yes" >&5
5088 echo "${ECHO_T}yes" >&6
5090 echo "$as_me:$LINENO: result: no" >&5
5091 echo "${ECHO_T}no" >&6
5095 echo "$as_me:$LINENO: checking for --enable-system_options" >&5
5096 echo $ECHO_N "checking for --enable-system_options... $ECHO_C" >&6
5098 # Check whether --enable-system_options or --disable-system_options was given.
5099 if test "${enable_system_options+set}" = set; then
5100 enableval="$enable_system_options"
5102 if test "$enableval" = yes; then
5103 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=yes'
5105 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=no
'
5110 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5111 if test "x$LINE" != x ; then
5112 eval "DEFAULT_$LINE"
5117 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5121 eval "$ac_cv_use_system_options"
5122 if test "$no_cache" != 1; then
5123 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5126 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5127 echo "$as_me:$LINENO: result: yes" >&5
5128 echo "${ECHO_T}yes" >&6
5130 echo "$as_me:$LINENO: result: no" >&5
5131 echo "${ECHO_T}no" >&6
5136 echo "$as_me:$LINENO: checking for --enable-url" >&5
5137 echo $ECHO_N "checking for --enable-url... $ECHO_C" >&6
5139 # Check whether --enable-url or --disable-url was given.
5140 if test "${enable_url+set}" = set; then
5141 enableval="$enable_url"
5143 if test "$enableval" = yes; then
5144 ac_cv_use_url='wxUSE_URL
=yes'
5146 ac_cv_use_url='wxUSE_URL
=no
'
5151 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5152 if test "x$LINE" != x ; then
5153 eval "DEFAULT_$LINE"
5158 ac_cv_use_url='wxUSE_URL
='$DEFAULT_wxUSE_URL
5162 eval "$ac_cv_use_url"
5163 if test "$no_cache" != 1; then
5164 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5167 if test "$wxUSE_URL" = yes; then
5168 echo "$as_me:$LINENO: result: yes" >&5
5169 echo "${ECHO_T}yes" >&6
5171 echo "$as_me:$LINENO: result: no" >&5
5172 echo "${ECHO_T}no" >&6
5176 echo "$as_me:$LINENO: checking for --enable-protocol" >&5
5177 echo $ECHO_N "checking for --enable-protocol... $ECHO_C" >&6
5179 # Check whether --enable-protocol or --disable-protocol was given.
5180 if test "${enable_protocol+set}" = set; then
5181 enableval="$enable_protocol"
5183 if test "$enableval" = yes; then
5184 ac_cv_use_protocol='wxUSE_PROTOCOL
=yes'
5186 ac_cv_use_protocol='wxUSE_PROTOCOL
=no
'
5191 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5192 if test "x$LINE" != x ; then
5193 eval "DEFAULT_$LINE"
5198 ac_cv_use_protocol='wxUSE_PROTOCOL
='$DEFAULT_wxUSE_PROTOCOL
5202 eval "$ac_cv_use_protocol"
5203 if test "$no_cache" != 1; then
5204 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5207 if test "$wxUSE_PROTOCOL" = yes; then
5208 echo "$as_me:$LINENO: result: yes" >&5
5209 echo "${ECHO_T}yes" >&6
5211 echo "$as_me:$LINENO: result: no" >&5
5212 echo "${ECHO_T}no" >&6
5216 echo "$as_me:$LINENO: checking for --enable-protocol_http" >&5
5217 echo $ECHO_N "checking for --enable-protocol_http... $ECHO_C" >&6
5219 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5220 if test "${enable_protocol_http+set}" = set; then
5221 enableval="$enable_protocol_http"
5223 if test "$enableval" = yes; then
5224 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=yes'
5226 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=no
'
5231 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5232 if test "x$LINE" != x ; then
5233 eval "DEFAULT_$LINE"
5238 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
='$DEFAULT_wxUSE_PROTOCOL_HTTP
5242 eval "$ac_cv_use_protocol_http"
5243 if test "$no_cache" != 1; then
5244 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5247 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5248 echo "$as_me:$LINENO: result: yes" >&5
5249 echo "${ECHO_T}yes" >&6
5251 echo "$as_me:$LINENO: result: no" >&5
5252 echo "${ECHO_T}no" >&6
5256 echo "$as_me:$LINENO: checking for --enable-protocol_ftp" >&5
5257 echo $ECHO_N "checking for --enable-protocol_ftp... $ECHO_C" >&6
5259 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5260 if test "${enable_protocol_ftp+set}" = set; then
5261 enableval="$enable_protocol_ftp"
5263 if test "$enableval" = yes; then
5264 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=yes'
5266 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=no
'
5271 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5272 if test "x$LINE" != x ; then
5273 eval "DEFAULT_$LINE"
5278 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
='$DEFAULT_wxUSE_PROTOCOL_FTP
5282 eval "$ac_cv_use_protocol_ftp"
5283 if test "$no_cache" != 1; then
5284 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5287 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5288 echo "$as_me:$LINENO: result: yes" >&5
5289 echo "${ECHO_T}yes" >&6
5291 echo "$as_me:$LINENO: result: no" >&5
5292 echo "${ECHO_T}no" >&6
5296 echo "$as_me:$LINENO: checking for --enable-protocol_file" >&5
5297 echo $ECHO_N "checking for --enable-protocol_file... $ECHO_C" >&6
5299 # Check whether --enable-protocol_file or --disable-protocol_file was given.
5300 if test "${enable_protocol_file+set}" = set; then
5301 enableval="$enable_protocol_file"
5303 if test "$enableval" = yes; then
5304 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=yes'
5306 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=no
'
5311 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5312 if test "x$LINE" != x ; then
5313 eval "DEFAULT_$LINE"
5318 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
='$DEFAULT_wxUSE_PROTOCOL_FILE
5322 eval "$ac_cv_use_protocol_file"
5323 if test "$no_cache" != 1; then
5324 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
5327 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5328 echo "$as_me:$LINENO: result: yes" >&5
5329 echo "${ECHO_T}yes" >&6
5331 echo "$as_me:$LINENO: result: no" >&5
5332 echo "${ECHO_T}no" >&6
5339 echo "$as_me:$LINENO: checking for --enable-threads" >&5
5340 echo $ECHO_N "checking for --enable-threads... $ECHO_C" >&6
5342 # Check whether --enable-threads or --disable-threads was given.
5343 if test "${enable_threads+set}" = set; then
5344 enableval="$enable_threads"
5346 if test "$enableval" = yes; then
5347 ac_cv_use_threads='wxUSE_THREADS
=yes'
5349 ac_cv_use_threads='wxUSE_THREADS
=no
'
5354 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
5355 if test "x$LINE" != x ; then
5356 eval "DEFAULT_$LINE"
5361 ac_cv_use_threads='wxUSE_THREADS
='$DEFAULT_wxUSE_THREADS
5365 eval "$ac_cv_use_threads"
5366 if test "$no_cache" != 1; then
5367 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
5370 if test "$wxUSE_THREADS" = yes; then
5371 echo "$as_me:$LINENO: result: yes" >&5
5372 echo "${ECHO_T}yes" >&6
5374 echo "$as_me:$LINENO: result: no" >&5
5375 echo "${ECHO_T}no" >&6
5379 if test "$wxUSE_GUI" = "yes"; then
5383 echo "$as_me:$LINENO: checking for --enable-docview" >&5
5384 echo $ECHO_N "checking for --enable-docview... $ECHO_C" >&6
5386 # Check whether --enable-docview or --disable-docview was given.
5387 if test "${enable_docview+set}" = set; then
5388 enableval="$enable_docview"
5390 if test "$enableval" = yes; then
5391 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=yes'
5393 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=no
'
5398 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
5399 if test "x$LINE" != x ; then
5400 eval "DEFAULT_$LINE"
5405 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
5409 eval "$ac_cv_use_docview"
5410 if test "$no_cache" != 1; then
5411 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
5414 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
5415 echo "$as_me:$LINENO: result: yes" >&5
5416 echo "${ECHO_T}yes" >&6
5418 echo "$as_me:$LINENO: result: no" >&5
5419 echo "${ECHO_T}no" >&6
5423 echo "$as_me:$LINENO: checking for --enable-help" >&5
5424 echo $ECHO_N "checking for --enable-help... $ECHO_C" >&6
5426 # Check whether --enable-help or --disable-help was given.
5427 if test "${enable_help+set}" = set; then
5428 enableval="$enable_help"
5430 if test "$enableval" = yes; then
5431 ac_cv_use_help='wxUSE_HELP
=yes'
5433 ac_cv_use_help='wxUSE_HELP
=no
'
5438 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
5439 if test "x$LINE" != x ; then
5440 eval "DEFAULT_$LINE"
5445 ac_cv_use_help='wxUSE_HELP
='$DEFAULT_wxUSE_HELP
5449 eval "$ac_cv_use_help"
5450 if test "$no_cache" != 1; then
5451 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
5454 if test "$wxUSE_HELP" = yes; then
5455 echo "$as_me:$LINENO: result: yes" >&5
5456 echo "${ECHO_T}yes" >&6
5458 echo "$as_me:$LINENO: result: no" >&5
5459 echo "${ECHO_T}no" >&6
5463 echo "$as_me:$LINENO: checking for --enable-mshtmlhelp" >&5
5464 echo $ECHO_N "checking for --enable-mshtmlhelp... $ECHO_C" >&6
5466 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
5467 if test "${enable_mshtmlhelp+set}" = set; then
5468 enableval="$enable_mshtmlhelp"
5470 if test "$enableval" = yes; then
5471 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=yes'
5473 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=no
'
5478 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
5479 if test "x$LINE" != x ; then
5480 eval "DEFAULT_$LINE"
5485 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
='$DEFAULT_wxUSE_MS_HTML_HELP
5489 eval "$ac_cv_use_mshtmlhelp"
5490 if test "$no_cache" != 1; then
5491 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
5494 if test "$wxUSE_MS_HTML_HELP" = yes; then
5495 echo "$as_me:$LINENO: result: yes" >&5
5496 echo "${ECHO_T}yes" >&6
5498 echo "$as_me:$LINENO: result: no" >&5
5499 echo "${ECHO_T}no" >&6
5503 echo "$as_me:$LINENO: checking for --enable-html" >&5
5504 echo $ECHO_N "checking for --enable-html... $ECHO_C" >&6
5506 # Check whether --enable-html or --disable-html was given.
5507 if test "${enable_html+set}" = set; then
5508 enableval="$enable_html"
5510 if test "$enableval" = yes; then
5511 ac_cv_use_html='wxUSE_HTML
=yes'
5513 ac_cv_use_html='wxUSE_HTML
=no
'
5518 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5519 if test "x$LINE" != x ; then
5520 eval "DEFAULT_$LINE"
5525 ac_cv_use_html='wxUSE_HTML
='$DEFAULT_wxUSE_HTML
5529 eval "$ac_cv_use_html"
5530 if test "$no_cache" != 1; then
5531 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5534 if test "$wxUSE_HTML" = yes; then
5535 echo "$as_me:$LINENO: result: yes" >&5
5536 echo "${ECHO_T}yes" >&6
5538 echo "$as_me:$LINENO: result: no" >&5
5539 echo "${ECHO_T}no" >&6
5543 echo "$as_me:$LINENO: checking for --enable-htmlhelp" >&5
5544 echo $ECHO_N "checking for --enable-htmlhelp... $ECHO_C" >&6
5546 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
5547 if test "${enable_htmlhelp+set}" = set; then
5548 enableval="$enable_htmlhelp"
5550 if test "$enableval" = yes; then
5551 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=yes'
5553 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=no
'
5558 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
5559 if test "x$LINE" != x ; then
5560 eval "DEFAULT_$LINE"
5565 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
='$DEFAULT_wxUSE_WXHTML_HELP
5569 eval "$ac_cv_use_htmlhelp"
5570 if test "$no_cache" != 1; then
5571 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
5574 if test "$wxUSE_WXHTML_HELP" = yes; then
5575 echo "$as_me:$LINENO: result: yes" >&5
5576 echo "${ECHO_T}yes" >&6
5578 echo "$as_me:$LINENO: result: no" >&5
5579 echo "${ECHO_T}no" >&6
5583 echo "$as_me:$LINENO: checking for --enable-constraints" >&5
5584 echo $ECHO_N "checking for --enable-constraints... $ECHO_C" >&6
5586 # Check whether --enable-constraints or --disable-constraints was given.
5587 if test "${enable_constraints+set}" = set; then
5588 enableval="$enable_constraints"
5590 if test "$enableval" = yes; then
5591 ac_cv_use_constraints='wxUSE_CONSTRAINTS
=yes'
5593 ac_cv_use_constraints='wxUSE_CONSTRAINTS
=no
'
5598 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5599 if test "x$LINE" != x ; then
5600 eval "DEFAULT_$LINE"
5605 ac_cv_use_constraints='wxUSE_CONSTRAINTS
='$DEFAULT_wxUSE_CONSTRAINTS
5609 eval "$ac_cv_use_constraints"
5610 if test "$no_cache" != 1; then
5611 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
5614 if test "$wxUSE_CONSTRAINTS" = yes; then
5615 echo "$as_me:$LINENO: result: yes" >&5
5616 echo "${ECHO_T}yes" >&6
5618 echo "$as_me:$LINENO: result: no" >&5
5619 echo "${ECHO_T}no" >&6
5623 echo "$as_me:$LINENO: checking for --enable-printarch" >&5
5624 echo $ECHO_N "checking for --enable-printarch... $ECHO_C" >&6
5626 # Check whether --enable-printarch or --disable-printarch was given.
5627 if test "${enable_printarch+set}" = set; then
5628 enableval="$enable_printarch"
5630 if test "$enableval" = yes; then
5631 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=yes'
5633 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=no
'
5638 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
5639 if test "x$LINE" != x ; then
5640 eval "DEFAULT_$LINE"
5645 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
5649 eval "$ac_cv_use_printarch"
5650 if test "$no_cache" != 1; then
5651 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
5654 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
5655 echo "$as_me:$LINENO: result: yes" >&5
5656 echo "${ECHO_T}yes" >&6
5658 echo "$as_me:$LINENO: result: no" >&5
5659 echo "${ECHO_T}no" >&6
5663 echo "$as_me:$LINENO: checking for --enable-mdi" >&5
5664 echo $ECHO_N "checking for --enable-mdi... $ECHO_C" >&6
5666 # Check whether --enable-mdi or --disable-mdi was given.
5667 if test "${enable_mdi+set}" = set; then
5668 enableval="$enable_mdi"
5670 if test "$enableval" = yes; then
5671 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE
=yes'
5673 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE
=no
'
5678 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
5679 if test "x$LINE" != x ; then
5680 eval "DEFAULT_$LINE"
5685 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE
='$DEFAULT_wxUSE_MDI_ARCHITECTURE
5689 eval "$ac_cv_use_mdi"
5690 if test "$no_cache" != 1; then
5691 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
5694 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
5695 echo "$as_me:$LINENO: result: yes" >&5
5696 echo "${ECHO_T}yes" >&6
5698 echo "$as_me:$LINENO: result: no" >&5
5699 echo "${ECHO_T}no" >&6
5703 echo "$as_me:$LINENO: checking for --enable-loggui" >&5
5704 echo $ECHO_N "checking for --enable-loggui... $ECHO_C" >&6
5706 # Check whether --enable-loggui or --disable-loggui was given.
5707 if test "${enable_loggui+set}" = set; then
5708 enableval="$enable_loggui"
5710 if test "$enableval" = yes; then
5711 ac_cv_use_loggui='wxUSE_LOGGUI
=yes'
5713 ac_cv_use_loggui='wxUSE_LOGGUI
=no
'
5718 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
5719 if test "x$LINE" != x ; then
5720 eval "DEFAULT_$LINE"
5725 ac_cv_use_loggui='wxUSE_LOGGUI
='$DEFAULT_wxUSE_LOGGUI
5729 eval "$ac_cv_use_loggui"
5730 if test "$no_cache" != 1; then
5731 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
5734 if test "$wxUSE_LOGGUI" = yes; then
5735 echo "$as_me:$LINENO: result: yes" >&5
5736 echo "${ECHO_T}yes" >&6
5738 echo "$as_me:$LINENO: result: no" >&5
5739 echo "${ECHO_T}no" >&6
5743 echo "$as_me:$LINENO: checking for --enable-logwin" >&5
5744 echo $ECHO_N "checking for --enable-logwin... $ECHO_C" >&6
5746 # Check whether --enable-logwin or --disable-logwin was given.
5747 if test "${enable_logwin+set}" = set; then
5748 enableval="$enable_logwin"
5750 if test "$enableval" = yes; then
5751 ac_cv_use_logwin='wxUSE_LOGWINDOW
=yes'
5753 ac_cv_use_logwin='wxUSE_LOGWINDOW
=no
'
5758 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
5759 if test "x$LINE" != x ; then
5760 eval "DEFAULT_$LINE"
5765 ac_cv_use_logwin='wxUSE_LOGWINDOW
='$DEFAULT_wxUSE_LOGWINDOW
5769 eval "$ac_cv_use_logwin"
5770 if test "$no_cache" != 1; then
5771 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
5774 if test "$wxUSE_LOGWINDOW" = yes; then
5775 echo "$as_me:$LINENO: result: yes" >&5
5776 echo "${ECHO_T}yes" >&6
5778 echo "$as_me:$LINENO: result: no" >&5
5779 echo "${ECHO_T}no" >&6
5783 echo "$as_me:$LINENO: checking for --enable-logdialog" >&5
5784 echo $ECHO_N "checking for --enable-logdialog... $ECHO_C" >&6
5786 # Check whether --enable-logdialog or --disable-logdialog was given.
5787 if test "${enable_logdialog+set}" = set; then
5788 enableval="$enable_logdialog"
5790 if test "$enableval" = yes; then
5791 ac_cv_use_logdialog='wxUSE_LOGDIALOG
=yes'
5793 ac_cv_use_logdialog='wxUSE_LOGDIALOG
=no
'
5798 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
5799 if test "x$LINE" != x ; then
5800 eval "DEFAULT_$LINE"
5805 ac_cv_use_logdialog='wxUSE_LOGDIALOG
='$DEFAULT_wxUSE_LOGDIALOG
5809 eval "$ac_cv_use_logdialog"
5810 if test "$no_cache" != 1; then
5811 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
5814 if test "$wxUSE_LOGDIALOG" = yes; then
5815 echo "$as_me:$LINENO: result: yes" >&5
5816 echo "${ECHO_T}yes" >&6
5818 echo "$as_me:$LINENO: result: no" >&5
5819 echo "${ECHO_T}no" >&6
5824 echo "$as_me:$LINENO: checking for --enable-postscript" >&5
5825 echo $ECHO_N "checking for --enable-postscript... $ECHO_C" >&6
5827 # Check whether --enable-postscript or --disable-postscript was given.
5828 if test "${enable_postscript+set}" = set; then
5829 enableval="$enable_postscript"
5831 if test "$enableval" = yes; then
5832 ac_cv_use_postscript='wxUSE_POSTSCRIPT
=yes'
5834 ac_cv_use_postscript='wxUSE_POSTSCRIPT
=no
'
5839 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
5840 if test "x$LINE" != x ; then
5841 eval "DEFAULT_$LINE"
5846 ac_cv_use_postscript='wxUSE_POSTSCRIPT
='$DEFAULT_wxUSE_POSTSCRIPT
5850 eval "$ac_cv_use_postscript"
5851 if test "$no_cache" != 1; then
5852 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
5855 if test "$wxUSE_POSTSCRIPT" = yes; then
5856 echo "$as_me:$LINENO: result: yes" >&5
5857 echo "${ECHO_T}yes" >&6
5859 echo "$as_me:$LINENO: result: no" >&5
5860 echo "${ECHO_T}no" >&6
5867 echo "$as_me:$LINENO: checking for --enable-prologio" >&5
5868 echo $ECHO_N "checking for --enable-prologio... $ECHO_C" >&6
5870 # Check whether --enable-prologio or --disable-prologio was given.
5871 if test "${enable_prologio+set}" = set; then
5872 enableval="$enable_prologio"
5874 if test "$enableval" = yes; then
5875 ac_cv_use_prologio='wxUSE_PROLOGIO
=yes'
5877 ac_cv_use_prologio='wxUSE_PROLOGIO
=no
'
5882 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
5883 if test "x$LINE" != x ; then
5884 eval "DEFAULT_$LINE"
5889 ac_cv_use_prologio='wxUSE_PROLOGIO
='$DEFAULT_wxUSE_PROLOGIO
5893 eval "$ac_cv_use_prologio"
5894 if test "$no_cache" != 1; then
5895 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
5898 if test "$wxUSE_PROLOGIO" = yes; then
5899 echo "$as_me:$LINENO: result: yes" >&5
5900 echo "${ECHO_T}yes" >&6
5902 echo "$as_me:$LINENO: result: no" >&5
5903 echo "${ECHO_T}no" >&6
5907 echo "$as_me:$LINENO: checking for --enable-resources" >&5
5908 echo $ECHO_N "checking for --enable-resources... $ECHO_C" >&6
5910 # Check whether --enable-resources or --disable-resources was given.
5911 if test "${enable_resources+set}" = set; then
5912 enableval="$enable_resources"
5914 if test "$enableval" = yes; then
5915 ac_cv_use_resources='wxUSE_RESOURCES
=yes'
5917 ac_cv_use_resources='wxUSE_RESOURCES
=no
'
5922 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
5923 if test "x$LINE" != x ; then
5924 eval "DEFAULT_$LINE"
5929 ac_cv_use_resources='wxUSE_RESOURCES
='$DEFAULT_wxUSE_RESOURCES
5933 eval "$ac_cv_use_resources"
5934 if test "$no_cache" != 1; then
5935 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
5938 if test "$wxUSE_RESOURCES" = yes; then
5939 echo "$as_me:$LINENO: result: yes" >&5
5940 echo "${ECHO_T}yes" >&6
5942 echo "$as_me:$LINENO: result: no" >&5
5943 echo "${ECHO_T}no" >&6
5948 echo "$as_me:$LINENO: checking for --enable-xresources" >&5
5949 echo $ECHO_N "checking for --enable-xresources... $ECHO_C" >&6
5951 # Check whether --enable-xresources or --disable-xresources was given.
5952 if test "${enable_xresources+set}" = set; then
5953 enableval="$enable_xresources"
5955 if test "$enableval" = yes; then
5956 ac_cv_use_xresources='wxUSE_X_RESOURCES
=yes'
5958 ac_cv_use_xresources='wxUSE_X_RESOURCES
=no
'
5963 LINE=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
5964 if test "x$LINE" != x ; then
5965 eval "DEFAULT_$LINE"
5970 ac_cv_use_xresources='wxUSE_X_RESOURCES
='$DEFAULT_wxUSE_X_RESOURCES
5974 eval "$ac_cv_use_xresources"
5975 if test "$no_cache" != 1; then
5976 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
5979 if test "$wxUSE_X_RESOURCES" = yes; then
5980 echo "$as_me:$LINENO: result: yes" >&5
5981 echo "${ECHO_T}yes" >&6
5983 echo "$as_me:$LINENO: result: no" >&5
5984 echo "${ECHO_T}no" >&6
5990 echo "$as_me:$LINENO: checking for --enable-clipboard" >&5
5991 echo $ECHO_N "checking for --enable-clipboard... $ECHO_C" >&6
5993 # Check whether --enable-clipboard or --disable-clipboard was given.
5994 if test "${enable_clipboard+set}" = set; then
5995 enableval="$enable_clipboard"
5997 if test "$enableval" = yes; then
5998 ac_cv_use_clipboard='wxUSE_CLIPBOARD
=yes'
6000 ac_cv_use_clipboard='wxUSE_CLIPBOARD
=no
'
6005 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6006 if test "x$LINE" != x ; then
6007 eval "DEFAULT_$LINE"
6012 ac_cv_use_clipboard='wxUSE_CLIPBOARD
='$DEFAULT_wxUSE_CLIPBOARD
6016 eval "$ac_cv_use_clipboard"
6017 if test "$no_cache" != 1; then
6018 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6021 if test "$wxUSE_CLIPBOARD" = yes; then
6022 echo "$as_me:$LINENO: result: yes" >&5
6023 echo "${ECHO_T}yes" >&6
6025 echo "$as_me:$LINENO: result: no" >&5
6026 echo "${ECHO_T}no" >&6
6030 echo "$as_me:$LINENO: checking for --enable-dnd" >&5
6031 echo $ECHO_N "checking for --enable-dnd... $ECHO_C" >&6
6033 # Check whether --enable-dnd or --disable-dnd was given.
6034 if test "${enable_dnd+set}" = set; then
6035 enableval="$enable_dnd"
6037 if test "$enableval" = yes; then
6038 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
=yes'
6040 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
=no
'
6045 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6046 if test "x$LINE" != x ; then
6047 eval "DEFAULT_$LINE"
6052 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
='$DEFAULT_wxUSE_DRAG_AND_DROP
6056 eval "$ac_cv_use_dnd"
6057 if test "$no_cache" != 1; then
6058 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6061 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6062 echo "$as_me:$LINENO: result: yes" >&5
6063 echo "${ECHO_T}yes" >&6
6065 echo "$as_me:$LINENO: result: no" >&5
6066 echo "${ECHO_T}no" >&6
6070 echo "$as_me:$LINENO: checking for --enable-metafile" >&5
6071 echo $ECHO_N "checking for --enable-metafile... $ECHO_C" >&6
6073 # Check whether --enable-metafile or --disable-metafile was given.
6074 if test "${enable_metafile+set}" = set; then
6075 enableval="$enable_metafile"
6077 if test "$enableval" = yes; then
6078 ac_cv_use_metafile='wxUSE_METAFILE
=yes'
6080 ac_cv_use_metafile='wxUSE_METAFILE
=no
'
6085 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6086 if test "x$LINE" != x ; then
6087 eval "DEFAULT_$LINE"
6092 ac_cv_use_metafile='wxUSE_METAFILE
='$DEFAULT_wxUSE_METAFILE
6096 eval "$ac_cv_use_metafile"
6097 if test "$no_cache" != 1; then
6098 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6101 if test "$wxUSE_METAFILE" = yes; then
6102 echo "$as_me:$LINENO: result: yes" >&5
6103 echo "${ECHO_T}yes" >&6
6105 echo "$as_me:$LINENO: result: no" >&5
6106 echo "${ECHO_T}no" >&6
6111 echo "$as_me:$LINENO: checking for --enable-treelayout" >&5
6112 echo $ECHO_N "checking for --enable-treelayout... $ECHO_C" >&6
6114 # Check whether --enable-treelayout or --disable-treelayout was given.
6115 if test "${enable_treelayout+set}" = set; then
6116 enableval="$enable_treelayout"
6118 if test "$enableval" = yes; then
6119 ac_cv_use_treelayout='wxUSE_TREELAYOUT
=yes'
6121 ac_cv_use_treelayout='wxUSE_TREELAYOUT
=no
'
6126 LINE=`grep "wxUSE_TREELAYOUT" ${wx_arg_cache_file}`
6127 if test "x$LINE" != x ; then
6128 eval "DEFAULT_$LINE"
6133 ac_cv_use_treelayout='wxUSE_TREELAYOUT
='$DEFAULT_wxUSE_TREELAYOUT
6137 eval "$ac_cv_use_treelayout"
6138 if test "$no_cache" != 1; then
6139 echo $ac_cv_use_treelayout >> ${wx_arg_cache_file}.tmp
6142 if test "$wxUSE_TREELAYOUT" = yes; then
6143 echo "$as_me:$LINENO: result: yes" >&5
6144 echo "${ECHO_T}yes" >&6
6146 echo "$as_me:$LINENO: result: no" >&5
6147 echo "${ECHO_T}no" >&6
6153 echo "$as_me:$LINENO: checking for --enable-controls" >&5
6154 echo $ECHO_N "checking for --enable-controls... $ECHO_C" >&6
6156 # Check whether --enable-controls or --disable-controls was given.
6157 if test "${enable_controls+set}" = set; then
6158 enableval="$enable_controls"
6160 if test "$enableval" = yes; then
6161 ac_cv_use_controls='wxUSE_CONTROLS
=yes'
6163 ac_cv_use_controls='wxUSE_CONTROLS
=no
'
6168 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6169 if test "x$LINE" != x ; then
6170 eval "DEFAULT_$LINE"
6175 ac_cv_use_controls='wxUSE_CONTROLS
='$DEFAULT_wxUSE_CONTROLS
6179 eval "$ac_cv_use_controls"
6180 if test "$no_cache" != 1; then
6181 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6184 if test "$wxUSE_CONTROLS" = yes; then
6185 echo "$as_me:$LINENO: result: yes" >&5
6186 echo "${ECHO_T}yes" >&6
6188 echo "$as_me:$LINENO: result: no" >&5
6189 echo "${ECHO_T}no" >&6
6193 if test "$wxUSE_CONTROLS" = "yes"; then
6194 DEFAULT_wxUSE_ACCEL=yes
6195 DEFAULT_wxUSE_BMPBUTTON=yes
6196 DEFAULT_wxUSE_BUTTON=yes
6197 DEFAULT_wxUSE_CALCTRL=no
6198 DEFAULT_wxUSE_CARET=yes
6199 DEFAULT_wxUSE_COMBOBOX=yes
6200 DEFAULT_wxUSE_CHECKBOX=yes
6201 DEFAULT_wxUSE_CHECKLISTBOX=yes
6202 DEFAULT_wxUSE_CHOICE=yes
6203 DEFAULT_wxUSE_GAUGE=yes
6204 DEFAULT_wxUSE_GRID=yes
6205 DEFAULT_wxUSE_NEW_GRID=yes
6206 DEFAULT_wxUSE_IMAGLIST=yes
6207 DEFAULT_wxUSE_LISTBOX=yes
6208 DEFAULT_wxUSE_LISTCTRL=yes
6209 DEFAULT_wxUSE_NOTEBOOK=yes
6210 DEFAULT_wxUSE_PROPSHEET=yes
6211 DEFAULT_wxUSE_RADIOBOX=yes
6212 DEFAULT_wxUSE_RADIOBTN=yes
6213 DEFAULT_wxUSE_SASH=yes
6214 DEFAULT_wxUSE_SCROLLBAR=yes
6215 DEFAULT_wxUSE_SLIDER=yes
6216 DEFAULT_wxUSE_SPINBTN=yes
6217 DEFAULT_wxUSE_SPINCTRL=yes
6218 DEFAULT_wxUSE_SPLITTER=yes
6219 DEFAULT_wxUSE_STATBMP=yes
6220 DEFAULT_wxUSE_STATBOX=yes
6221 DEFAULT_wxUSE_STATLINE=yes
6222 DEFAULT_wxUSE_STATUSBAR=yes
6223 DEFAULT_wxUSE_TAB_DIALOG=yes
6224 DEFAULT_wxUSE_TOGGLEBTN=yes
6225 DEFAULT_wxUSE_TOOLBAR=yes
6226 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
6227 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
6228 DEFAULT_wxUSE_TOOLTIPS=yes
6229 DEFAULT_wxUSE_TREECTRL=yes
6230 DEFAULT_wxUSE_POPUPWIN=yes
6231 DEFAULT_wxUSE_TIPWINDOW=yes
6232 elif test "$wxUSE_CONTROLS" = "no"; then
6233 DEFAULT_wxUSE_ACCEL=no
6234 DEFAULT_wxUSE_BMPBUTTON=no
6235 DEFAULT_wxUSE_BUTTON=no
6236 DEFAULT_wxUSE_CALCTRL=no
6237 DEFAULT_wxUSE_CARET=no
6238 DEFAULT_wxUSE_COMBOBOX=no
6239 DEFAULT_wxUSE_CHECKBOX=no
6240 DEFAULT_wxUSE_CHECKLISTBOX=no
6241 DEFAULT_wxUSE_CHOICE=no
6242 DEFAULT_wxUSE_GAUGE=no
6243 DEFAULT_wxUSE_GRID=no
6244 DEFAULT_wxUSE_NEW_GRID=no
6245 DEFAULT_wxUSE_IMAGLIST=no
6246 DEFAULT_wxUSE_LISTBOX=no
6247 DEFAULT_wxUSE_LISTCTRL=no
6248 DEFAULT_wxUSE_NOTEBOOK=no
6249 DEFAULT_wxUSE_PROPSHEET=no
6250 DEFAULT_wxUSE_RADIOBOX=no
6251 DEFAULT_wxUSE_RADIOBTN=no
6252 DEFAULT_wxUSE_SASH=no
6253 DEFAULT_wxUSE_SCROLLBAR=no
6254 DEFAULT_wxUSE_SLIDER=no
6255 DEFAULT_wxUSE_SPINBTN=no
6256 DEFAULT_wxUSE_SPINCTRL=no
6257 DEFAULT_wxUSE_SPLITTER=no
6258 DEFAULT_wxUSE_STATBMP=no
6259 DEFAULT_wxUSE_STATBOX=no
6260 DEFAULT_wxUSE_STATLINE=no
6261 DEFAULT_wxUSE_STATUSBAR=no
6262 DEFAULT_wxUSE_TAB_DIALOG=no
6263 DEFAULT_wxUSE_TOGGLEBTN=no
6264 DEFAULT_wxUSE_TOOLBAR=no
6265 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6266 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
6267 DEFAULT_wxUSE_TOOLTIPS=no
6268 DEFAULT_wxUSE_TREECTRL=no
6269 DEFAULT_wxUSE_POPUPWIN=no
6270 DEFAULT_wxUSE_TIPWINDOW=no
6274 echo "$as_me:$LINENO: checking for --enable-accel" >&5
6275 echo $ECHO_N "checking for --enable-accel... $ECHO_C" >&6
6277 # Check whether --enable-accel or --disable-accel was given.
6278 if test "${enable_accel+set}" = set; then
6279 enableval="$enable_accel"
6281 if test "$enableval" = yes; then
6282 ac_cv_use_accel='wxUSE_ACCEL
=yes'
6284 ac_cv_use_accel='wxUSE_ACCEL
=no
'
6289 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6290 if test "x$LINE" != x ; then
6291 eval "DEFAULT_$LINE"
6296 ac_cv_use_accel='wxUSE_ACCEL
='$DEFAULT_wxUSE_ACCEL
6300 eval "$ac_cv_use_accel"
6301 if test "$no_cache" != 1; then
6302 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6305 if test "$wxUSE_ACCEL" = yes; then
6306 echo "$as_me:$LINENO: result: yes" >&5
6307 echo "${ECHO_T}yes" >&6
6309 echo "$as_me:$LINENO: result: no" >&5
6310 echo "${ECHO_T}no" >&6
6314 echo "$as_me:$LINENO: checking for --enable-button" >&5
6315 echo $ECHO_N "checking for --enable-button... $ECHO_C" >&6
6317 # Check whether --enable-button or --disable-button was given.
6318 if test "${enable_button+set}" = set; then
6319 enableval="$enable_button"
6321 if test "$enableval" = yes; then
6322 ac_cv_use_button='wxUSE_BUTTON
=yes'
6324 ac_cv_use_button='wxUSE_BUTTON
=no
'
6329 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
6330 if test "x$LINE" != x ; then
6331 eval "DEFAULT_$LINE"
6336 ac_cv_use_button='wxUSE_BUTTON
='$DEFAULT_wxUSE_BUTTON
6340 eval "$ac_cv_use_button"
6341 if test "$no_cache" != 1; then
6342 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6345 if test "$wxUSE_BUTTON" = yes; then
6346 echo "$as_me:$LINENO: result: yes" >&5
6347 echo "${ECHO_T}yes" >&6
6349 echo "$as_me:$LINENO: result: no" >&5
6350 echo "${ECHO_T}no" >&6
6354 echo "$as_me:$LINENO: checking for --enable-bmpbutton" >&5
6355 echo $ECHO_N "checking for --enable-bmpbutton... $ECHO_C" >&6
6357 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
6358 if test "${enable_bmpbutton+set}" = set; then
6359 enableval="$enable_bmpbutton"
6361 if test "$enableval" = yes; then
6362 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
=yes'
6364 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
=no
'
6369 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
6370 if test "x$LINE" != x ; then
6371 eval "DEFAULT_$LINE"
6376 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
='$DEFAULT_wxUSE_BMPBUTTON
6380 eval "$ac_cv_use_bmpbutton"
6381 if test "$no_cache" != 1; then
6382 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
6385 if test "$wxUSE_BMPBUTTON" = yes; then
6386 echo "$as_me:$LINENO: result: yes" >&5
6387 echo "${ECHO_T}yes" >&6
6389 echo "$as_me:$LINENO: result: no" >&5
6390 echo "${ECHO_T}no" >&6
6394 echo "$as_me:$LINENO: checking for --enable-calendar" >&5
6395 echo $ECHO_N "checking for --enable-calendar... $ECHO_C" >&6
6397 # Check whether --enable-calendar or --disable-calendar was given.
6398 if test "${enable_calendar+set}" = set; then
6399 enableval="$enable_calendar"
6401 if test "$enableval" = yes; then
6402 ac_cv_use_calendar='wxUSE_CALCTRL
=yes'
6404 ac_cv_use_calendar='wxUSE_CALCTRL
=no
'
6409 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
6410 if test "x$LINE" != x ; then
6411 eval "DEFAULT_$LINE"
6416 ac_cv_use_calendar='wxUSE_CALCTRL
='$DEFAULT_wxUSE_CALCTRL
6420 eval "$ac_cv_use_calendar"
6421 if test "$no_cache" != 1; then
6422 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
6425 if test "$wxUSE_CALCTRL" = yes; then
6426 echo "$as_me:$LINENO: result: yes" >&5
6427 echo "${ECHO_T}yes" >&6
6429 echo "$as_me:$LINENO: result: no" >&5
6430 echo "${ECHO_T}no" >&6
6434 echo "$as_me:$LINENO: checking for --enable-caret" >&5
6435 echo $ECHO_N "checking for --enable-caret... $ECHO_C" >&6
6437 # Check whether --enable-caret or --disable-caret was given.
6438 if test "${enable_caret+set}" = set; then
6439 enableval="$enable_caret"
6441 if test "$enableval" = yes; then
6442 ac_cv_use_caret='wxUSE_CARET
=yes'
6444 ac_cv_use_caret='wxUSE_CARET
=no
'
6449 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
6450 if test "x$LINE" != x ; then
6451 eval "DEFAULT_$LINE"
6456 ac_cv_use_caret='wxUSE_CARET
='$DEFAULT_wxUSE_CARET
6460 eval "$ac_cv_use_caret"
6461 if test "$no_cache" != 1; then
6462 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
6465 if test "$wxUSE_CARET" = yes; then
6466 echo "$as_me:$LINENO: result: yes" >&5
6467 echo "${ECHO_T}yes" >&6
6469 echo "$as_me:$LINENO: result: no" >&5
6470 echo "${ECHO_T}no" >&6
6474 echo "$as_me:$LINENO: checking for --enable-checkbox" >&5
6475 echo $ECHO_N "checking for --enable-checkbox... $ECHO_C" >&6
6477 # Check whether --enable-checkbox or --disable-checkbox was given.
6478 if test "${enable_checkbox+set}" = set; then
6479 enableval="$enable_checkbox"
6481 if test "$enableval" = yes; then
6482 ac_cv_use_checkbox='wxUSE_CHECKBOX
=yes'
6484 ac_cv_use_checkbox='wxUSE_CHECKBOX
=no
'
6489 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
6490 if test "x$LINE" != x ; then
6491 eval "DEFAULT_$LINE"
6496 ac_cv_use_checkbox='wxUSE_CHECKBOX
='$DEFAULT_wxUSE_CHECKBOX
6500 eval "$ac_cv_use_checkbox"
6501 if test "$no_cache" != 1; then
6502 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
6505 if test "$wxUSE_CHECKBOX" = yes; then
6506 echo "$as_me:$LINENO: result: yes" >&5
6507 echo "${ECHO_T}yes" >&6
6509 echo "$as_me:$LINENO: result: no" >&5
6510 echo "${ECHO_T}no" >&6
6514 echo "$as_me:$LINENO: checking for --enable-checklst" >&5
6515 echo $ECHO_N "checking for --enable-checklst... $ECHO_C" >&6
6517 # Check whether --enable-checklst or --disable-checklst was given.
6518 if test "${enable_checklst+set}" = set; then
6519 enableval="$enable_checklst"
6521 if test "$enableval" = yes; then
6522 ac_cv_use_checklst='wxUSE_CHECKLST
=yes'
6524 ac_cv_use_checklst='wxUSE_CHECKLST
=no
'
6529 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
6530 if test "x$LINE" != x ; then
6531 eval "DEFAULT_$LINE"
6536 ac_cv_use_checklst='wxUSE_CHECKLST
='$DEFAULT_wxUSE_CHECKLST
6540 eval "$ac_cv_use_checklst"
6541 if test "$no_cache" != 1; then
6542 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
6545 if test "$wxUSE_CHECKLST" = yes; then
6546 echo "$as_me:$LINENO: result: yes" >&5
6547 echo "${ECHO_T}yes" >&6
6549 echo "$as_me:$LINENO: result: no" >&5
6550 echo "${ECHO_T}no" >&6
6554 echo "$as_me:$LINENO: checking for --enable-choice" >&5
6555 echo $ECHO_N "checking for --enable-choice... $ECHO_C" >&6
6557 # Check whether --enable-choice or --disable-choice was given.
6558 if test "${enable_choice+set}" = set; then
6559 enableval="$enable_choice"
6561 if test "$enableval" = yes; then
6562 ac_cv_use_choice='wxUSE_CHOICE
=yes'
6564 ac_cv_use_choice='wxUSE_CHOICE
=no
'
6569 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
6570 if test "x$LINE" != x ; then
6571 eval "DEFAULT_$LINE"
6576 ac_cv_use_choice='wxUSE_CHOICE
='$DEFAULT_wxUSE_CHOICE
6580 eval "$ac_cv_use_choice"
6581 if test "$no_cache" != 1; then
6582 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
6585 if test "$wxUSE_CHOICE" = yes; then
6586 echo "$as_me:$LINENO: result: yes" >&5
6587 echo "${ECHO_T}yes" >&6
6589 echo "$as_me:$LINENO: result: no" >&5
6590 echo "${ECHO_T}no" >&6
6594 echo "$as_me:$LINENO: checking for --enable-combobox" >&5
6595 echo $ECHO_N "checking for --enable-combobox... $ECHO_C" >&6
6597 # Check whether --enable-combobox or --disable-combobox was given.
6598 if test "${enable_combobox+set}" = set; then
6599 enableval="$enable_combobox"
6601 if test "$enableval" = yes; then
6602 ac_cv_use_combobox='wxUSE_COMBOBOX
=yes'
6604 ac_cv_use_combobox='wxUSE_COMBOBOX
=no
'
6609 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6610 if test "x$LINE" != x ; then
6611 eval "DEFAULT_$LINE"
6616 ac_cv_use_combobox='wxUSE_COMBOBOX
='$DEFAULT_wxUSE_COMBOBOX
6620 eval "$ac_cv_use_combobox"
6621 if test "$no_cache" != 1; then
6622 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6625 if test "$wxUSE_COMBOBOX" = yes; then
6626 echo "$as_me:$LINENO: result: yes" >&5
6627 echo "${ECHO_T}yes" >&6
6629 echo "$as_me:$LINENO: result: no" >&5
6630 echo "${ECHO_T}no" >&6
6634 echo "$as_me:$LINENO: checking for --enable-gauge" >&5
6635 echo $ECHO_N "checking for --enable-gauge... $ECHO_C" >&6
6637 # Check whether --enable-gauge or --disable-gauge was given.
6638 if test "${enable_gauge+set}" = set; then
6639 enableval="$enable_gauge"
6641 if test "$enableval" = yes; then
6642 ac_cv_use_gauge='wxUSE_GAUGE
=yes'
6644 ac_cv_use_gauge='wxUSE_GAUGE
=no
'
6649 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
6650 if test "x$LINE" != x ; then
6651 eval "DEFAULT_$LINE"
6656 ac_cv_use_gauge='wxUSE_GAUGE
='$DEFAULT_wxUSE_GAUGE
6660 eval "$ac_cv_use_gauge"
6661 if test "$no_cache" != 1; then
6662 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
6665 if test "$wxUSE_GAUGE" = yes; then
6666 echo "$as_me:$LINENO: result: yes" >&5
6667 echo "${ECHO_T}yes" >&6
6669 echo "$as_me:$LINENO: result: no" >&5
6670 echo "${ECHO_T}no" >&6
6674 echo "$as_me:$LINENO: checking for --enable-grid" >&5
6675 echo $ECHO_N "checking for --enable-grid... $ECHO_C" >&6
6677 # Check whether --enable-grid or --disable-grid was given.
6678 if test "${enable_grid+set}" = set; then
6679 enableval="$enable_grid"
6681 if test "$enableval" = yes; then
6682 ac_cv_use_grid='wxUSE_GRID
=yes'
6684 ac_cv_use_grid='wxUSE_GRID
=no
'
6689 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
6690 if test "x$LINE" != x ; then
6691 eval "DEFAULT_$LINE"
6696 ac_cv_use_grid='wxUSE_GRID
='$DEFAULT_wxUSE_GRID
6700 eval "$ac_cv_use_grid"
6701 if test "$no_cache" != 1; then
6702 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
6705 if test "$wxUSE_GRID" = yes; then
6706 echo "$as_me:$LINENO: result: yes" >&5
6707 echo "${ECHO_T}yes" >&6
6709 echo "$as_me:$LINENO: result: no" >&5
6710 echo "${ECHO_T}no" >&6
6714 echo "$as_me:$LINENO: checking for --enable-newgrid" >&5
6715 echo $ECHO_N "checking for --enable-newgrid... $ECHO_C" >&6
6717 # Check whether --enable-newgrid or --disable-newgrid was given.
6718 if test "${enable_newgrid+set}" = set; then
6719 enableval="$enable_newgrid"
6721 if test "$enableval" = yes; then
6722 ac_cv_use_newgrid='wxUSE_NEW_GRID
=yes'
6724 ac_cv_use_newgrid='wxUSE_NEW_GRID
=no
'
6729 LINE=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
6730 if test "x$LINE" != x ; then
6731 eval "DEFAULT_$LINE"
6736 ac_cv_use_newgrid='wxUSE_NEW_GRID
='$DEFAULT_wxUSE_NEW_GRID
6740 eval "$ac_cv_use_newgrid"
6741 if test "$no_cache" != 1; then
6742 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
6745 if test "$wxUSE_NEW_GRID" = yes; then
6746 echo "$as_me:$LINENO: result: yes" >&5
6747 echo "${ECHO_T}yes" >&6
6749 echo "$as_me:$LINENO: result: no" >&5
6750 echo "${ECHO_T}no" >&6
6754 echo "$as_me:$LINENO: checking for --enable-imaglist" >&5
6755 echo $ECHO_N "checking for --enable-imaglist... $ECHO_C" >&6
6757 # Check whether --enable-imaglist or --disable-imaglist was given.
6758 if test "${enable_imaglist+set}" = set; then
6759 enableval="$enable_imaglist"
6761 if test "$enableval" = yes; then
6762 ac_cv_use_imaglist='wxUSE_IMAGLIST
=yes'
6764 ac_cv_use_imaglist='wxUSE_IMAGLIST
=no
'
6769 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
6770 if test "x$LINE" != x ; then
6771 eval "DEFAULT_$LINE"
6776 ac_cv_use_imaglist='wxUSE_IMAGLIST
='$DEFAULT_wxUSE_IMAGLIST
6780 eval "$ac_cv_use_imaglist"
6781 if test "$no_cache" != 1; then
6782 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
6785 if test "$wxUSE_IMAGLIST" = yes; then
6786 echo "$as_me:$LINENO: result: yes" >&5
6787 echo "${ECHO_T}yes" >&6
6789 echo "$as_me:$LINENO: result: no" >&5
6790 echo "${ECHO_T}no" >&6
6794 echo "$as_me:$LINENO: checking for --enable-listbox" >&5
6795 echo $ECHO_N "checking for --enable-listbox... $ECHO_C" >&6
6797 # Check whether --enable-listbox or --disable-listbox was given.
6798 if test "${enable_listbox+set}" = set; then
6799 enableval="$enable_listbox"
6801 if test "$enableval" = yes; then
6802 ac_cv_use_listbox='wxUSE_LISTBOX
=yes'
6804 ac_cv_use_listbox='wxUSE_LISTBOX
=no
'
6809 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
6810 if test "x$LINE" != x ; then
6811 eval "DEFAULT_$LINE"
6816 ac_cv_use_listbox='wxUSE_LISTBOX
='$DEFAULT_wxUSE_LISTBOX
6820 eval "$ac_cv_use_listbox"
6821 if test "$no_cache" != 1; then
6822 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
6825 if test "$wxUSE_LISTBOX" = yes; then
6826 echo "$as_me:$LINENO: result: yes" >&5
6827 echo "${ECHO_T}yes" >&6
6829 echo "$as_me:$LINENO: result: no" >&5
6830 echo "${ECHO_T}no" >&6
6834 echo "$as_me:$LINENO: checking for --enable-listctrl" >&5
6835 echo $ECHO_N "checking for --enable-listctrl... $ECHO_C" >&6
6837 # Check whether --enable-listctrl or --disable-listctrl was given.
6838 if test "${enable_listctrl+set}" = set; then
6839 enableval="$enable_listctrl"
6841 if test "$enableval" = yes; then
6842 ac_cv_use_listctrl='wxUSE_LISTCTRL
=yes'
6844 ac_cv_use_listctrl='wxUSE_LISTCTRL
=no
'
6849 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
6850 if test "x$LINE" != x ; then
6851 eval "DEFAULT_$LINE"
6856 ac_cv_use_listctrl='wxUSE_LISTCTRL
='$DEFAULT_wxUSE_LISTCTRL
6860 eval "$ac_cv_use_listctrl"
6861 if test "$no_cache" != 1; then
6862 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
6865 if test "$wxUSE_LISTCTRL" = yes; then
6866 echo "$as_me:$LINENO: result: yes" >&5
6867 echo "${ECHO_T}yes" >&6
6869 echo "$as_me:$LINENO: result: no" >&5
6870 echo "${ECHO_T}no" >&6
6874 echo "$as_me:$LINENO: checking for --enable-notebook" >&5
6875 echo $ECHO_N "checking for --enable-notebook... $ECHO_C" >&6
6877 # Check whether --enable-notebook or --disable-notebook was given.
6878 if test "${enable_notebook+set}" = set; then
6879 enableval="$enable_notebook"
6881 if test "$enableval" = yes; then
6882 ac_cv_use_notebook='wxUSE_NOTEBOOK
=yes'
6884 ac_cv_use_notebook='wxUSE_NOTEBOOK
=no
'
6889 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
6890 if test "x$LINE" != x ; then
6891 eval "DEFAULT_$LINE"
6896 ac_cv_use_notebook='wxUSE_NOTEBOOK
='$DEFAULT_wxUSE_NOTEBOOK
6900 eval "$ac_cv_use_notebook"
6901 if test "$no_cache" != 1; then
6902 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
6905 if test "$wxUSE_NOTEBOOK" = yes; then
6906 echo "$as_me:$LINENO: result: yes" >&5
6907 echo "${ECHO_T}yes" >&6
6909 echo "$as_me:$LINENO: result: no" >&5
6910 echo "${ECHO_T}no" >&6
6914 echo "$as_me:$LINENO: checking for --enable-propsheet" >&5
6915 echo $ECHO_N "checking for --enable-propsheet... $ECHO_C" >&6
6917 # Check whether --enable-propsheet or --disable-propsheet was given.
6918 if test "${enable_propsheet+set}" = set; then
6919 enableval="$enable_propsheet"
6921 if test "$enableval" = yes; then
6922 ac_cv_use_propsheet='wxUSE_PROPSHEET
=yes'
6924 ac_cv_use_propsheet='wxUSE_PROPSHEET
=no
'
6929 LINE=`grep "wxUSE_PROPSHEET" ${wx_arg_cache_file}`
6930 if test "x$LINE" != x ; then
6931 eval "DEFAULT_$LINE"
6936 ac_cv_use_propsheet='wxUSE_PROPSHEET
='$DEFAULT_wxUSE_PROPSHEET
6940 eval "$ac_cv_use_propsheet"
6941 if test "$no_cache" != 1; then
6942 echo $ac_cv_use_propsheet >> ${wx_arg_cache_file}.tmp
6945 if test "$wxUSE_PROPSHEET" = yes; then
6946 echo "$as_me:$LINENO: result: yes" >&5
6947 echo "${ECHO_T}yes" >&6
6949 echo "$as_me:$LINENO: result: no" >&5
6950 echo "${ECHO_T}no" >&6
6954 echo "$as_me:$LINENO: checking for --enable-radiobox" >&5
6955 echo $ECHO_N "checking for --enable-radiobox... $ECHO_C" >&6
6957 # Check whether --enable-radiobox or --disable-radiobox was given.
6958 if test "${enable_radiobox+set}" = set; then
6959 enableval="$enable_radiobox"
6961 if test "$enableval" = yes; then
6962 ac_cv_use_radiobox='wxUSE_RADIOBOX
=yes'
6964 ac_cv_use_radiobox='wxUSE_RADIOBOX
=no
'
6969 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
6970 if test "x$LINE" != x ; then
6971 eval "DEFAULT_$LINE"
6976 ac_cv_use_radiobox='wxUSE_RADIOBOX
='$DEFAULT_wxUSE_RADIOBOX
6980 eval "$ac_cv_use_radiobox"
6981 if test "$no_cache" != 1; then
6982 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
6985 if test "$wxUSE_RADIOBOX" = yes; then
6986 echo "$as_me:$LINENO: result: yes" >&5
6987 echo "${ECHO_T}yes" >&6
6989 echo "$as_me:$LINENO: result: no" >&5
6990 echo "${ECHO_T}no" >&6
6994 echo "$as_me:$LINENO: checking for --enable-radiobtn" >&5
6995 echo $ECHO_N "checking for --enable-radiobtn... $ECHO_C" >&6
6997 # Check whether --enable-radiobtn or --disable-radiobtn was given.
6998 if test "${enable_radiobtn+set}" = set; then
6999 enableval="$enable_radiobtn"
7001 if test "$enableval" = yes; then
7002 ac_cv_use_radiobtn='wxUSE_RADIOBTN
=yes'
7004 ac_cv_use_radiobtn='wxUSE_RADIOBTN
=no
'
7009 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7010 if test "x$LINE" != x ; then
7011 eval "DEFAULT_$LINE"
7016 ac_cv_use_radiobtn='wxUSE_RADIOBTN
='$DEFAULT_wxUSE_RADIOBTN
7020 eval "$ac_cv_use_radiobtn"
7021 if test "$no_cache" != 1; then
7022 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7025 if test "$wxUSE_RADIOBTN" = yes; then
7026 echo "$as_me:$LINENO: result: yes" >&5
7027 echo "${ECHO_T}yes" >&6
7029 echo "$as_me:$LINENO: result: no" >&5
7030 echo "${ECHO_T}no" >&6
7034 echo "$as_me:$LINENO: checking for --enable-sash" >&5
7035 echo $ECHO_N "checking for --enable-sash... $ECHO_C" >&6
7037 # Check whether --enable-sash or --disable-sash was given.
7038 if test "${enable_sash+set}" = set; then
7039 enableval="$enable_sash"
7041 if test "$enableval" = yes; then
7042 ac_cv_use_sash='wxUSE_SASH
=yes'
7044 ac_cv_use_sash='wxUSE_SASH
=no
'
7049 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7050 if test "x$LINE" != x ; then
7051 eval "DEFAULT_$LINE"
7056 ac_cv_use_sash='wxUSE_SASH
='$DEFAULT_wxUSE_SASH
7060 eval "$ac_cv_use_sash"
7061 if test "$no_cache" != 1; then
7062 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7065 if test "$wxUSE_SASH" = yes; then
7066 echo "$as_me:$LINENO: result: yes" >&5
7067 echo "${ECHO_T}yes" >&6
7069 echo "$as_me:$LINENO: result: no" >&5
7070 echo "${ECHO_T}no" >&6
7074 echo "$as_me:$LINENO: checking for --enable-scrollbar" >&5
7075 echo $ECHO_N "checking for --enable-scrollbar... $ECHO_C" >&6
7077 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7078 if test "${enable_scrollbar+set}" = set; then
7079 enableval="$enable_scrollbar"
7081 if test "$enableval" = yes; then
7082 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
=yes'
7084 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
=no
'
7089 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7090 if test "x$LINE" != x ; then
7091 eval "DEFAULT_$LINE"
7096 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
='$DEFAULT_wxUSE_SCROLLBAR
7100 eval "$ac_cv_use_scrollbar"
7101 if test "$no_cache" != 1; then
7102 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7105 if test "$wxUSE_SCROLLBAR" = yes; then
7106 echo "$as_me:$LINENO: result: yes" >&5
7107 echo "${ECHO_T}yes" >&6
7109 echo "$as_me:$LINENO: result: no" >&5
7110 echo "${ECHO_T}no" >&6
7114 echo "$as_me:$LINENO: checking for --enable-slider" >&5
7115 echo $ECHO_N "checking for --enable-slider... $ECHO_C" >&6
7117 # Check whether --enable-slider or --disable-slider was given.
7118 if test "${enable_slider+set}" = set; then
7119 enableval="$enable_slider"
7121 if test "$enableval" = yes; then
7122 ac_cv_use_slider='wxUSE_SLIDER
=yes'
7124 ac_cv_use_slider='wxUSE_SLIDER
=no
'
7129 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7130 if test "x$LINE" != x ; then
7131 eval "DEFAULT_$LINE"
7136 ac_cv_use_slider='wxUSE_SLIDER
='$DEFAULT_wxUSE_SLIDER
7140 eval "$ac_cv_use_slider"
7141 if test "$no_cache" != 1; then
7142 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7145 if test "$wxUSE_SLIDER" = yes; then
7146 echo "$as_me:$LINENO: result: yes" >&5
7147 echo "${ECHO_T}yes" >&6
7149 echo "$as_me:$LINENO: result: no" >&5
7150 echo "${ECHO_T}no" >&6
7154 echo "$as_me:$LINENO: checking for --enable-spinbtn" >&5
7155 echo $ECHO_N "checking for --enable-spinbtn... $ECHO_C" >&6
7157 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7158 if test "${enable_spinbtn+set}" = set; then
7159 enableval="$enable_spinbtn"
7161 if test "$enableval" = yes; then
7162 ac_cv_use_spinbtn='wxUSE_SPINBTN
=yes'
7164 ac_cv_use_spinbtn='wxUSE_SPINBTN
=no
'
7169 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7170 if test "x$LINE" != x ; then
7171 eval "DEFAULT_$LINE"
7176 ac_cv_use_spinbtn='wxUSE_SPINBTN
='$DEFAULT_wxUSE_SPINBTN
7180 eval "$ac_cv_use_spinbtn"
7181 if test "$no_cache" != 1; then
7182 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7185 if test "$wxUSE_SPINBTN" = yes; then
7186 echo "$as_me:$LINENO: result: yes" >&5
7187 echo "${ECHO_T}yes" >&6
7189 echo "$as_me:$LINENO: result: no" >&5
7190 echo "${ECHO_T}no" >&6
7194 echo "$as_me:$LINENO: checking for --enable-spinctrl" >&5
7195 echo $ECHO_N "checking for --enable-spinctrl... $ECHO_C" >&6
7197 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7198 if test "${enable_spinctrl+set}" = set; then
7199 enableval="$enable_spinctrl"
7201 if test "$enableval" = yes; then
7202 ac_cv_use_spinctrl='wxUSE_SPINCTRL
=yes'
7204 ac_cv_use_spinctrl='wxUSE_SPINCTRL
=no
'
7209 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7210 if test "x$LINE" != x ; then
7211 eval "DEFAULT_$LINE"
7216 ac_cv_use_spinctrl='wxUSE_SPINCTRL
='$DEFAULT_wxUSE_SPINCTRL
7220 eval "$ac_cv_use_spinctrl"
7221 if test "$no_cache" != 1; then
7222 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7225 if test "$wxUSE_SPINCTRL" = yes; then
7226 echo "$as_me:$LINENO: result: yes" >&5
7227 echo "${ECHO_T}yes" >&6
7229 echo "$as_me:$LINENO: result: no" >&5
7230 echo "${ECHO_T}no" >&6
7234 echo "$as_me:$LINENO: checking for --enable-splitter" >&5
7235 echo $ECHO_N "checking for --enable-splitter... $ECHO_C" >&6
7237 # Check whether --enable-splitter or --disable-splitter was given.
7238 if test "${enable_splitter+set}" = set; then
7239 enableval="$enable_splitter"
7241 if test "$enableval" = yes; then
7242 ac_cv_use_splitter='wxUSE_SPLITTER
=yes'
7244 ac_cv_use_splitter='wxUSE_SPLITTER
=no
'
7249 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7250 if test "x$LINE" != x ; then
7251 eval "DEFAULT_$LINE"
7256 ac_cv_use_splitter='wxUSE_SPLITTER
='$DEFAULT_wxUSE_SPLITTER
7260 eval "$ac_cv_use_splitter"
7261 if test "$no_cache" != 1; then
7262 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7265 if test "$wxUSE_SPLITTER" = yes; then
7266 echo "$as_me:$LINENO: result: yes" >&5
7267 echo "${ECHO_T}yes" >&6
7269 echo "$as_me:$LINENO: result: no" >&5
7270 echo "${ECHO_T}no" >&6
7274 echo "$as_me:$LINENO: checking for --enable-statbmp" >&5
7275 echo $ECHO_N "checking for --enable-statbmp... $ECHO_C" >&6
7277 # Check whether --enable-statbmp or --disable-statbmp was given.
7278 if test "${enable_statbmp+set}" = set; then
7279 enableval="$enable_statbmp"
7281 if test "$enableval" = yes; then
7282 ac_cv_use_statbmp='wxUSE_STATBMP
=yes'
7284 ac_cv_use_statbmp='wxUSE_STATBMP
=no
'
7289 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
7290 if test "x$LINE" != x ; then
7291 eval "DEFAULT_$LINE"
7296 ac_cv_use_statbmp='wxUSE_STATBMP
='$DEFAULT_wxUSE_STATBMP
7300 eval "$ac_cv_use_statbmp"
7301 if test "$no_cache" != 1; then
7302 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
7305 if test "$wxUSE_STATBMP" = yes; then
7306 echo "$as_me:$LINENO: result: yes" >&5
7307 echo "${ECHO_T}yes" >&6
7309 echo "$as_me:$LINENO: result: no" >&5
7310 echo "${ECHO_T}no" >&6
7314 echo "$as_me:$LINENO: checking for --enable-statbox" >&5
7315 echo $ECHO_N "checking for --enable-statbox... $ECHO_C" >&6
7317 # Check whether --enable-statbox or --disable-statbox was given.
7318 if test "${enable_statbox+set}" = set; then
7319 enableval="$enable_statbox"
7321 if test "$enableval" = yes; then
7322 ac_cv_use_statbox='wxUSE_STATBOX
=yes'
7324 ac_cv_use_statbox='wxUSE_STATBOX
=no
'
7329 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
7330 if test "x$LINE" != x ; then
7331 eval "DEFAULT_$LINE"
7336 ac_cv_use_statbox='wxUSE_STATBOX
='$DEFAULT_wxUSE_STATBOX
7340 eval "$ac_cv_use_statbox"
7341 if test "$no_cache" != 1; then
7342 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
7345 if test "$wxUSE_STATBOX" = yes; then
7346 echo "$as_me:$LINENO: result: yes" >&5
7347 echo "${ECHO_T}yes" >&6
7349 echo "$as_me:$LINENO: result: no" >&5
7350 echo "${ECHO_T}no" >&6
7354 echo "$as_me:$LINENO: checking for --enable-statline" >&5
7355 echo $ECHO_N "checking for --enable-statline... $ECHO_C" >&6
7357 # Check whether --enable-statline or --disable-statline was given.
7358 if test "${enable_statline+set}" = set; then
7359 enableval="$enable_statline"
7361 if test "$enableval" = yes; then
7362 ac_cv_use_statline='wxUSE_STATLINE
=yes'
7364 ac_cv_use_statline='wxUSE_STATLINE
=no
'
7369 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
7370 if test "x$LINE" != x ; then
7371 eval "DEFAULT_$LINE"
7376 ac_cv_use_statline='wxUSE_STATLINE
='$DEFAULT_wxUSE_STATLINE
7380 eval "$ac_cv_use_statline"
7381 if test "$no_cache" != 1; then
7382 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
7385 if test "$wxUSE_STATLINE" = yes; then
7386 echo "$as_me:$LINENO: result: yes" >&5
7387 echo "${ECHO_T}yes" >&6
7389 echo "$as_me:$LINENO: result: no" >&5
7390 echo "${ECHO_T}no" >&6
7394 echo "$as_me:$LINENO: checking for --enable-stattext" >&5
7395 echo $ECHO_N "checking for --enable-stattext... $ECHO_C" >&6
7397 # Check whether --enable-stattext or --disable-stattext was given.
7398 if test "${enable_stattext+set}" = set; then
7399 enableval="$enable_stattext"
7401 if test "$enableval" = yes; then
7402 ac_cv_use_stattext='wxUSE_STATTEXT
=yes'
7404 ac_cv_use_stattext='wxUSE_STATTEXT
=no
'
7409 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
7410 if test "x$LINE" != x ; then
7411 eval "DEFAULT_$LINE"
7416 ac_cv_use_stattext='wxUSE_STATTEXT
='$DEFAULT_wxUSE_STATTEXT
7420 eval "$ac_cv_use_stattext"
7421 if test "$no_cache" != 1; then
7422 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
7425 if test "$wxUSE_STATTEXT" = yes; then
7426 echo "$as_me:$LINENO: result: yes" >&5
7427 echo "${ECHO_T}yes" >&6
7429 echo "$as_me:$LINENO: result: no" >&5
7430 echo "${ECHO_T}no" >&6
7434 echo "$as_me:$LINENO: checking for --enable-statusbar" >&5
7435 echo $ECHO_N "checking for --enable-statusbar... $ECHO_C" >&6
7437 # Check whether --enable-statusbar or --disable-statusbar was given.
7438 if test "${enable_statusbar+set}" = set; then
7439 enableval="$enable_statusbar"
7441 if test "$enableval" = yes; then
7442 ac_cv_use_statusbar='wxUSE_STATUSBAR
=yes'
7444 ac_cv_use_statusbar='wxUSE_STATUSBAR
=no
'
7449 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
7450 if test "x$LINE" != x ; then
7451 eval "DEFAULT_$LINE"
7456 ac_cv_use_statusbar='wxUSE_STATUSBAR
='$DEFAULT_wxUSE_STATUSBAR
7460 eval "$ac_cv_use_statusbar"
7461 if test "$no_cache" != 1; then
7462 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
7465 if test "$wxUSE_STATUSBAR" = yes; then
7466 echo "$as_me:$LINENO: result: yes" >&5
7467 echo "${ECHO_T}yes" >&6
7469 echo "$as_me:$LINENO: result: no" >&5
7470 echo "${ECHO_T}no" >&6
7474 echo "$as_me:$LINENO: checking for --enable-tabdialog" >&5
7475 echo $ECHO_N "checking for --enable-tabdialog... $ECHO_C" >&6
7477 # Check whether --enable-tabdialog or --disable-tabdialog was given.
7478 if test "${enable_tabdialog+set}" = set; then
7479 enableval="$enable_tabdialog"
7481 if test "$enableval" = yes; then
7482 ac_cv_use_tabdialog='wxUSE_TABDIALOG
=yes'
7484 ac_cv_use_tabdialog='wxUSE_TABDIALOG
=no
'
7489 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
7490 if test "x$LINE" != x ; then
7491 eval "DEFAULT_$LINE"
7496 ac_cv_use_tabdialog='wxUSE_TABDIALOG
='$DEFAULT_wxUSE_TABDIALOG
7500 eval "$ac_cv_use_tabdialog"
7501 if test "$no_cache" != 1; then
7502 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
7505 if test "$wxUSE_TABDIALOG" = yes; then
7506 echo "$as_me:$LINENO: result: yes" >&5
7507 echo "${ECHO_T}yes" >&6
7509 echo "$as_me:$LINENO: result: no" >&5
7510 echo "${ECHO_T}no" >&6
7514 echo "$as_me:$LINENO: checking for --enable-textctrl" >&5
7515 echo $ECHO_N "checking for --enable-textctrl... $ECHO_C" >&6
7517 # Check whether --enable-textctrl or --disable-textctrl was given.
7518 if test "${enable_textctrl+set}" = set; then
7519 enableval="$enable_textctrl"
7521 if test "$enableval" = yes; then
7522 ac_cv_use_textctrl='wxUSE_TEXTCTRL
=yes'
7524 ac_cv_use_textctrl='wxUSE_TEXTCTRL
=no
'
7529 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
7530 if test "x$LINE" != x ; then
7531 eval "DEFAULT_$LINE"
7536 ac_cv_use_textctrl='wxUSE_TEXTCTRL
='$DEFAULT_wxUSE_TEXTCTRL
7540 eval "$ac_cv_use_textctrl"
7541 if test "$no_cache" != 1; then
7542 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
7545 if test "$wxUSE_TEXTCTRL" = yes; then
7546 echo "$as_me:$LINENO: result: yes" >&5
7547 echo "${ECHO_T}yes" >&6
7549 echo "$as_me:$LINENO: result: no" >&5
7550 echo "${ECHO_T}no" >&6
7554 echo "$as_me:$LINENO: checking for --enable-togglebtn" >&5
7555 echo $ECHO_N "checking for --enable-togglebtn... $ECHO_C" >&6
7557 # Check whether --enable-togglebtn or --disable-togglebtn was given.
7558 if test "${enable_togglebtn+set}" = set; then
7559 enableval="$enable_togglebtn"
7561 if test "$enableval" = yes; then
7562 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
=yes'
7564 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
=no
'
7569 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
7570 if test "x$LINE" != x ; then
7571 eval "DEFAULT_$LINE"
7576 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
='$DEFAULT_wxUSE_TOGGLEBTN
7580 eval "$ac_cv_use_togglebtn"
7581 if test "$no_cache" != 1; then
7582 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
7585 if test "$wxUSE_TOGGLEBTN" = yes; then
7586 echo "$as_me:$LINENO: result: yes" >&5
7587 echo "${ECHO_T}yes" >&6
7589 echo "$as_me:$LINENO: result: no" >&5
7590 echo "${ECHO_T}no" >&6
7594 echo "$as_me:$LINENO: checking for --enable-toolbar" >&5
7595 echo $ECHO_N "checking for --enable-toolbar... $ECHO_C" >&6
7597 # Check whether --enable-toolbar or --disable-toolbar was given.
7598 if test "${enable_toolbar+set}" = set; then
7599 enableval="$enable_toolbar"
7601 if test "$enableval" = yes; then
7602 ac_cv_use_toolbar='wxUSE_TOOLBAR
=yes'
7604 ac_cv_use_toolbar='wxUSE_TOOLBAR
=no
'
7609 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
7610 if test "x$LINE" != x ; then
7611 eval "DEFAULT_$LINE"
7616 ac_cv_use_toolbar='wxUSE_TOOLBAR
='$DEFAULT_wxUSE_TOOLBAR
7620 eval "$ac_cv_use_toolbar"
7621 if test "$no_cache" != 1; then
7622 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7625 if test "$wxUSE_TOOLBAR" = yes; then
7626 echo "$as_me:$LINENO: result: yes" >&5
7627 echo "${ECHO_T}yes" >&6
7629 echo "$as_me:$LINENO: result: no" >&5
7630 echo "${ECHO_T}no" >&6
7634 echo "$as_me:$LINENO: checking for --enable-tbarnative" >&5
7635 echo $ECHO_N "checking for --enable-tbarnative... $ECHO_C" >&6
7637 # Check whether --enable-tbarnative or --disable-tbarnative was given.
7638 if test "${enable_tbarnative+set}" = set; then
7639 enableval="$enable_tbarnative"
7641 if test "$enableval" = yes; then
7642 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=yes'
7644 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=no
'
7649 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7650 if test "x$LINE" != x ; then
7651 eval "DEFAULT_$LINE"
7656 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7660 eval "$ac_cv_use_tbarnative"
7661 if test "$no_cache" != 1; then
7662 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7665 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7666 echo "$as_me:$LINENO: result: yes" >&5
7667 echo "${ECHO_T}yes" >&6
7669 echo "$as_me:$LINENO: result: no" >&5
7670 echo "${ECHO_T}no" >&6
7674 echo "$as_me:$LINENO: checking for --enable-tbarsmpl" >&5
7675 echo $ECHO_N "checking for --enable-tbarsmpl... $ECHO_C" >&6
7677 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
7678 if test "${enable_tbarsmpl+set}" = set; then
7679 enableval="$enable_tbarsmpl"
7681 if test "$enableval" = yes; then
7682 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
=yes'
7684 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
=no
'
7689 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
7690 if test "x$LINE" != x ; then
7691 eval "DEFAULT_$LINE"
7696 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
7700 eval "$ac_cv_use_tbarsmpl"
7701 if test "$no_cache" != 1; then
7702 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
7705 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
7706 echo "$as_me:$LINENO: result: yes" >&5
7707 echo "${ECHO_T}yes" >&6
7709 echo "$as_me:$LINENO: result: no" >&5
7710 echo "${ECHO_T}no" >&6
7714 echo "$as_me:$LINENO: checking for --enable-treectrl" >&5
7715 echo $ECHO_N "checking for --enable-treectrl... $ECHO_C" >&6
7717 # Check whether --enable-treectrl or --disable-treectrl was given.
7718 if test "${enable_treectrl+set}" = set; then
7719 enableval="$enable_treectrl"
7721 if test "$enableval" = yes; then
7722 ac_cv_use_treectrl='wxUSE_TREECTRL
=yes'
7724 ac_cv_use_treectrl='wxUSE_TREECTRL
=no
'
7729 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
7730 if test "x$LINE" != x ; then
7731 eval "DEFAULT_$LINE"
7736 ac_cv_use_treectrl='wxUSE_TREECTRL
='$DEFAULT_wxUSE_TREECTRL
7740 eval "$ac_cv_use_treectrl"
7741 if test "$no_cache" != 1; then
7742 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
7745 if test "$wxUSE_TREECTRL" = yes; then
7746 echo "$as_me:$LINENO: result: yes" >&5
7747 echo "${ECHO_T}yes" >&6
7749 echo "$as_me:$LINENO: result: no" >&5
7750 echo "${ECHO_T}no" >&6
7754 echo "$as_me:$LINENO: checking for --enable-tipwindow" >&5
7755 echo $ECHO_N "checking for --enable-tipwindow... $ECHO_C" >&6
7757 # Check whether --enable-tipwindow or --disable-tipwindow was given.
7758 if test "${enable_tipwindow+set}" = set; then
7759 enableval="$enable_tipwindow"
7761 if test "$enableval" = yes; then
7762 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
=yes'
7764 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
=no
'
7769 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
7770 if test "x$LINE" != x ; then
7771 eval "DEFAULT_$LINE"
7776 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
='$DEFAULT_wxUSE_TIPWINDOW
7780 eval "$ac_cv_use_tipwindow"
7781 if test "$no_cache" != 1; then
7782 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
7785 if test "$wxUSE_TIPWINDOW" = yes; then
7786 echo "$as_me:$LINENO: result: yes" >&5
7787 echo "${ECHO_T}yes" >&6
7789 echo "$as_me:$LINENO: result: no" >&5
7790 echo "${ECHO_T}no" >&6
7794 echo "$as_me:$LINENO: checking for --enable-popupwin" >&5
7795 echo $ECHO_N "checking for --enable-popupwin... $ECHO_C" >&6
7797 # Check whether --enable-popupwin or --disable-popupwin was given.
7798 if test "${enable_popupwin+set}" = set; then
7799 enableval="$enable_popupwin"
7801 if test "$enableval" = yes; then
7802 ac_cv_use_popupwin='wxUSE_POPUPWIN
=yes'
7804 ac_cv_use_popupwin='wxUSE_POPUPWIN
=no
'
7809 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
7810 if test "x$LINE" != x ; then
7811 eval "DEFAULT_$LINE"
7816 ac_cv_use_popupwin='wxUSE_POPUPWIN
='$DEFAULT_wxUSE_POPUPWIN
7820 eval "$ac_cv_use_popupwin"
7821 if test "$no_cache" != 1; then
7822 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
7825 if test "$wxUSE_POPUPWIN" = yes; then
7826 echo "$as_me:$LINENO: result: yes" >&5
7827 echo "${ECHO_T}yes" >&6
7829 echo "$as_me:$LINENO: result: no" >&5
7830 echo "${ECHO_T}no" >&6
7836 echo "$as_me:$LINENO: checking for --enable-commondlg" >&5
7837 echo $ECHO_N "checking for --enable-commondlg... $ECHO_C" >&6
7839 # Check whether --enable-commondlg or --disable-commondlg was given.
7840 if test "${enable_commondlg+set}" = set; then
7841 enableval="$enable_commondlg"
7843 if test "$enableval" = yes; then
7844 ac_cv_use_commondlg='wxUSE_COMMONDLGS
=yes'
7846 ac_cv_use_commondlg='wxUSE_COMMONDLGS
=no
'
7851 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
7852 if test "x$LINE" != x ; then
7853 eval "DEFAULT_$LINE"
7858 ac_cv_use_commondlg='wxUSE_COMMONDLGS
='$DEFAULT_wxUSE_COMMONDLGS
7862 eval "$ac_cv_use_commondlg"
7863 if test "$no_cache" != 1; then
7864 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
7867 if test "$wxUSE_COMMONDLGS" = yes; then
7868 echo "$as_me:$LINENO: result: yes" >&5
7869 echo "${ECHO_T}yes" >&6
7871 echo "$as_me:$LINENO: result: no" >&5
7872 echo "${ECHO_T}no" >&6
7876 echo "$as_me:$LINENO: checking for --enable-choicedlg" >&5
7877 echo $ECHO_N "checking for --enable-choicedlg... $ECHO_C" >&6
7879 # Check whether --enable-choicedlg or --disable-choicedlg was given.
7880 if test "${enable_choicedlg+set}" = set; then
7881 enableval="$enable_choicedlg"
7883 if test "$enableval" = yes; then
7884 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
=yes'
7886 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
=no
'
7891 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
7892 if test "x$LINE" != x ; then
7893 eval "DEFAULT_$LINE"
7898 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
='$DEFAULT_wxUSE_CHOICEDLG
7902 eval "$ac_cv_use_choicedlg"
7903 if test "$no_cache" != 1; then
7904 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
7907 if test "$wxUSE_CHOICEDLG" = yes; then
7908 echo "$as_me:$LINENO: result: yes" >&5
7909 echo "${ECHO_T}yes" >&6
7911 echo "$as_me:$LINENO: result: no" >&5
7912 echo "${ECHO_T}no" >&6
7916 echo "$as_me:$LINENO: checking for --enable-coldlg" >&5
7917 echo $ECHO_N "checking for --enable-coldlg... $ECHO_C" >&6
7919 # Check whether --enable-coldlg or --disable-coldlg was given.
7920 if test "${enable_coldlg+set}" = set; then
7921 enableval="$enable_coldlg"
7923 if test "$enableval" = yes; then
7924 ac_cv_use_coldlg='wxUSE_COLOURDLG
=yes'
7926 ac_cv_use_coldlg='wxUSE_COLOURDLG
=no
'
7931 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
7932 if test "x$LINE" != x ; then
7933 eval "DEFAULT_$LINE"
7938 ac_cv_use_coldlg='wxUSE_COLOURDLG
='$DEFAULT_wxUSE_COLOURDLG
7942 eval "$ac_cv_use_coldlg"
7943 if test "$no_cache" != 1; then
7944 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
7947 if test "$wxUSE_COLOURDLG" = yes; then
7948 echo "$as_me:$LINENO: result: yes" >&5
7949 echo "${ECHO_T}yes" >&6
7951 echo "$as_me:$LINENO: result: no" >&5
7952 echo "${ECHO_T}no" >&6
7956 echo "$as_me:$LINENO: checking for --enable-filedlg" >&5
7957 echo $ECHO_N "checking for --enable-filedlg... $ECHO_C" >&6
7959 # Check whether --enable-filedlg or --disable-filedlg was given.
7960 if test "${enable_filedlg+set}" = set; then
7961 enableval="$enable_filedlg"
7963 if test "$enableval" = yes; then
7964 ac_cv_use_filedlg='wxUSE_FILEDLG
=yes'
7966 ac_cv_use_filedlg='wxUSE_FILEDLG
=no
'
7971 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
7972 if test "x$LINE" != x ; then
7973 eval "DEFAULT_$LINE"
7978 ac_cv_use_filedlg='wxUSE_FILEDLG
='$DEFAULT_wxUSE_FILEDLG
7982 eval "$ac_cv_use_filedlg"
7983 if test "$no_cache" != 1; then
7984 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
7987 if test "$wxUSE_FILEDLG" = yes; then
7988 echo "$as_me:$LINENO: result: yes" >&5
7989 echo "${ECHO_T}yes" >&6
7991 echo "$as_me:$LINENO: result: no" >&5
7992 echo "${ECHO_T}no" >&6
7996 echo "$as_me:$LINENO: checking for --enable-finddlg" >&5
7997 echo $ECHO_N "checking for --enable-finddlg... $ECHO_C" >&6
7999 # Check whether --enable-finddlg or --disable-finddlg was given.
8000 if test "${enable_finddlg+set}" = set; then
8001 enableval="$enable_finddlg"
8003 if test "$enableval" = yes; then
8004 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
=yes'
8006 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
=no
'
8011 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8012 if test "x$LINE" != x ; then
8013 eval "DEFAULT_$LINE"
8018 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
='$DEFAULT_wxUSE_FINDREPLDLG
8022 eval "$ac_cv_use_finddlg"
8023 if test "$no_cache" != 1; then
8024 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8027 if test "$wxUSE_FINDREPLDLG" = yes; then
8028 echo "$as_me:$LINENO: result: yes" >&5
8029 echo "${ECHO_T}yes" >&6
8031 echo "$as_me:$LINENO: result: no" >&5
8032 echo "${ECHO_T}no" >&6
8036 echo "$as_me:$LINENO: checking for --enable-fontdlg" >&5
8037 echo $ECHO_N "checking for --enable-fontdlg... $ECHO_C" >&6
8039 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8040 if test "${enable_fontdlg+set}" = set; then
8041 enableval="$enable_fontdlg"
8043 if test "$enableval" = yes; then
8044 ac_cv_use_fontdlg='wxUSE_FONTDLG
=yes'
8046 ac_cv_use_fontdlg='wxUSE_FONTDLG
=no
'
8051 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8052 if test "x$LINE" != x ; then
8053 eval "DEFAULT_$LINE"
8058 ac_cv_use_fontdlg='wxUSE_FONTDLG
='$DEFAULT_wxUSE_FONTDLG
8062 eval "$ac_cv_use_fontdlg"
8063 if test "$no_cache" != 1; then
8064 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8067 if test "$wxUSE_FONTDLG" = yes; then
8068 echo "$as_me:$LINENO: result: yes" >&5
8069 echo "${ECHO_T}yes" >&6
8071 echo "$as_me:$LINENO: result: no" >&5
8072 echo "${ECHO_T}no" >&6
8076 echo "$as_me:$LINENO: checking for --enable-dirdlg" >&5
8077 echo $ECHO_N "checking for --enable-dirdlg... $ECHO_C" >&6
8079 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8080 if test "${enable_dirdlg+set}" = set; then
8081 enableval="$enable_dirdlg"
8083 if test "$enableval" = yes; then
8084 ac_cv_use_dirdlg='wxUSE_DIRDLG
=yes'
8086 ac_cv_use_dirdlg='wxUSE_DIRDLG
=no
'
8091 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8092 if test "x$LINE" != x ; then
8093 eval "DEFAULT_$LINE"
8098 ac_cv_use_dirdlg='wxUSE_DIRDLG
='$DEFAULT_wxUSE_DIRDLG
8102 eval "$ac_cv_use_dirdlg"
8103 if test "$no_cache" != 1; then
8104 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8107 if test "$wxUSE_DIRDLG" = yes; then
8108 echo "$as_me:$LINENO: result: yes" >&5
8109 echo "${ECHO_T}yes" >&6
8111 echo "$as_me:$LINENO: result: no" >&5
8112 echo "${ECHO_T}no" >&6
8116 echo "$as_me:$LINENO: checking for --enable-msgdlg" >&5
8117 echo $ECHO_N "checking for --enable-msgdlg... $ECHO_C" >&6
8119 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8120 if test "${enable_msgdlg+set}" = set; then
8121 enableval="$enable_msgdlg"
8123 if test "$enableval" = yes; then
8124 ac_cv_use_msgdlg='wxUSE_MSGDLG
=yes'
8126 ac_cv_use_msgdlg='wxUSE_MSGDLG
=no
'
8131 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8132 if test "x$LINE" != x ; then
8133 eval "DEFAULT_$LINE"
8138 ac_cv_use_msgdlg='wxUSE_MSGDLG
='$DEFAULT_wxUSE_MSGDLG
8142 eval "$ac_cv_use_msgdlg"
8143 if test "$no_cache" != 1; then
8144 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8147 if test "$wxUSE_MSGDLG" = yes; then
8148 echo "$as_me:$LINENO: result: yes" >&5
8149 echo "${ECHO_T}yes" >&6
8151 echo "$as_me:$LINENO: result: no" >&5
8152 echo "${ECHO_T}no" >&6
8156 echo "$as_me:$LINENO: checking for --enable-numberdlg" >&5
8157 echo $ECHO_N "checking for --enable-numberdlg... $ECHO_C" >&6
8159 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8160 if test "${enable_numberdlg+set}" = set; then
8161 enableval="$enable_numberdlg"
8163 if test "$enableval" = yes; then
8164 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
=yes'
8166 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
=no
'
8171 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8172 if test "x$LINE" != x ; then
8173 eval "DEFAULT_$LINE"
8178 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
='$DEFAULT_wxUSE_NUMBERDLG
8182 eval "$ac_cv_use_numberdlg"
8183 if test "$no_cache" != 1; then
8184 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8187 if test "$wxUSE_NUMBERDLG" = yes; then
8188 echo "$as_me:$LINENO: result: yes" >&5
8189 echo "${ECHO_T}yes" >&6
8191 echo "$as_me:$LINENO: result: no" >&5
8192 echo "${ECHO_T}no" >&6
8196 echo "$as_me:$LINENO: checking for --enable-splash" >&5
8197 echo $ECHO_N "checking for --enable-splash... $ECHO_C" >&6
8199 # Check whether --enable-splash or --disable-splash was given.
8200 if test "${enable_splash+set}" = set; then
8201 enableval="$enable_splash"
8203 if test "$enableval" = yes; then
8204 ac_cv_use_splash='wxUSE_SPLASH
=yes'
8206 ac_cv_use_splash='wxUSE_SPLASH
=no
'
8211 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8212 if test "x$LINE" != x ; then
8213 eval "DEFAULT_$LINE"
8218 ac_cv_use_splash='wxUSE_SPLASH
='$DEFAULT_wxUSE_SPLASH
8222 eval "$ac_cv_use_splash"
8223 if test "$no_cache" != 1; then
8224 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8227 if test "$wxUSE_SPLASH" = yes; then
8228 echo "$as_me:$LINENO: result: yes" >&5
8229 echo "${ECHO_T}yes" >&6
8231 echo "$as_me:$LINENO: result: no" >&5
8232 echo "${ECHO_T}no" >&6
8236 echo "$as_me:$LINENO: checking for --enable-textdlg" >&5
8237 echo $ECHO_N "checking for --enable-textdlg... $ECHO_C" >&6
8239 # Check whether --enable-textdlg or --disable-textdlg was given.
8240 if test "${enable_textdlg+set}" = set; then
8241 enableval="$enable_textdlg"
8243 if test "$enableval" = yes; then
8244 ac_cv_use_textdlg='wxUSE_TEXTDLG
=yes'
8246 ac_cv_use_textdlg='wxUSE_TEXTDLG
=no
'
8251 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8252 if test "x$LINE" != x ; then
8253 eval "DEFAULT_$LINE"
8258 ac_cv_use_textdlg='wxUSE_TEXTDLG
='$DEFAULT_wxUSE_TEXTDLG
8262 eval "$ac_cv_use_textdlg"
8263 if test "$no_cache" != 1; then
8264 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
8267 if test "$wxUSE_TEXTDLG" = yes; then
8268 echo "$as_me:$LINENO: result: yes" >&5
8269 echo "${ECHO_T}yes" >&6
8271 echo "$as_me:$LINENO: result: no" >&5
8272 echo "${ECHO_T}no" >&6
8276 echo "$as_me:$LINENO: checking for --enable-tipdlg" >&5
8277 echo $ECHO_N "checking for --enable-tipdlg... $ECHO_C" >&6
8279 # Check whether --enable-tipdlg or --disable-tipdlg was given.
8280 if test "${enable_tipdlg+set}" = set; then
8281 enableval="$enable_tipdlg"
8283 if test "$enableval" = yes; then
8284 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=yes'
8286 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=no
'
8291 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
8292 if test "x$LINE" != x ; then
8293 eval "DEFAULT_$LINE"
8298 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
='$DEFAULT_wxUSE_STARTUP_TIPS
8302 eval "$ac_cv_use_tipdlg"
8303 if test "$no_cache" != 1; then
8304 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
8307 if test "$wxUSE_STARTUP_TIPS" = yes; then
8308 echo "$as_me:$LINENO: result: yes" >&5
8309 echo "${ECHO_T}yes" >&6
8311 echo "$as_me:$LINENO: result: no" >&5
8312 echo "${ECHO_T}no" >&6
8316 echo "$as_me:$LINENO: checking for --enable-progressdlg" >&5
8317 echo $ECHO_N "checking for --enable-progressdlg... $ECHO_C" >&6
8319 # Check whether --enable-progressdlg or --disable-progressdlg was given.
8320 if test "${enable_progressdlg+set}" = set; then
8321 enableval="$enable_progressdlg"
8323 if test "$enableval" = yes; then
8324 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
=yes'
8326 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
=no
'
8331 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
8332 if test "x$LINE" != x ; then
8333 eval "DEFAULT_$LINE"
8338 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
='$DEFAULT_wxUSE_PROGRESSDLG
8342 eval "$ac_cv_use_progressdlg"
8343 if test "$no_cache" != 1; then
8344 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
8347 if test "$wxUSE_PROGRESSDLG" = yes; then
8348 echo "$as_me:$LINENO: result: yes" >&5
8349 echo "${ECHO_T}yes" >&6
8351 echo "$as_me:$LINENO: result: no" >&5
8352 echo "${ECHO_T}no" >&6
8356 echo "$as_me:$LINENO: checking for --enable-wizarddlg" >&5
8357 echo $ECHO_N "checking for --enable-wizarddlg... $ECHO_C" >&6
8359 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
8360 if test "${enable_wizarddlg+set}" = set; then
8361 enableval="$enable_wizarddlg"
8363 if test "$enableval" = yes; then
8364 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
=yes'
8366 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
=no
'
8371 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
8372 if test "x$LINE" != x ; then
8373 eval "DEFAULT_$LINE"
8378 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
='$DEFAULT_wxUSE_WIZARDDLG
8382 eval "$ac_cv_use_wizarddlg"
8383 if test "$no_cache" != 1; then
8384 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
8387 if test "$wxUSE_WIZARDDLG" = yes; then
8388 echo "$as_me:$LINENO: result: yes" >&5
8389 echo "${ECHO_T}yes" >&6
8391 echo "$as_me:$LINENO: result: no" >&5
8392 echo "${ECHO_T}no" >&6
8398 echo "$as_me:$LINENO: checking for --enable-menus" >&5
8399 echo $ECHO_N "checking for --enable-menus... $ECHO_C" >&6
8401 # Check whether --enable-menus or --disable-menus was given.
8402 if test "${enable_menus+set}" = set; then
8403 enableval="$enable_menus"
8405 if test "$enableval" = yes; then
8406 ac_cv_use_menus='wxUSE_MENUS
=yes'
8408 ac_cv_use_menus='wxUSE_MENUS
=no
'
8413 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
8414 if test "x$LINE" != x ; then
8415 eval "DEFAULT_$LINE"
8420 ac_cv_use_menus='wxUSE_MENUS
='$DEFAULT_wxUSE_MENUS
8424 eval "$ac_cv_use_menus"
8425 if test "$no_cache" != 1; then
8426 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
8429 if test "$wxUSE_MENUS" = yes; then
8430 echo "$as_me:$LINENO: result: yes" >&5
8431 echo "${ECHO_T}yes" >&6
8433 echo "$as_me:$LINENO: result: no" >&5
8434 echo "${ECHO_T}no" >&6
8438 echo "$as_me:$LINENO: checking for --enable-miniframe" >&5
8439 echo $ECHO_N "checking for --enable-miniframe... $ECHO_C" >&6
8441 # Check whether --enable-miniframe or --disable-miniframe was given.
8442 if test "${enable_miniframe+set}" = set; then
8443 enableval="$enable_miniframe"
8445 if test "$enableval" = yes; then
8446 ac_cv_use_miniframe='wxUSE_MINIFRAME
=yes'
8448 ac_cv_use_miniframe='wxUSE_MINIFRAME
=no
'
8453 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
8454 if test "x$LINE" != x ; then
8455 eval "DEFAULT_$LINE"
8460 ac_cv_use_miniframe='wxUSE_MINIFRAME
='$DEFAULT_wxUSE_MINIFRAME
8464 eval "$ac_cv_use_miniframe"
8465 if test "$no_cache" != 1; then
8466 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
8469 if test "$wxUSE_MINIFRAME" = yes; then
8470 echo "$as_me:$LINENO: result: yes" >&5
8471 echo "${ECHO_T}yes" >&6
8473 echo "$as_me:$LINENO: result: no" >&5
8474 echo "${ECHO_T}no" >&6
8478 echo "$as_me:$LINENO: checking for --enable-tooltips" >&5
8479 echo $ECHO_N "checking for --enable-tooltips... $ECHO_C" >&6
8481 # Check whether --enable-tooltips or --disable-tooltips was given.
8482 if test "${enable_tooltips+set}" = set; then
8483 enableval="$enable_tooltips"
8485 if test "$enableval" = yes; then
8486 ac_cv_use_tooltips='wxUSE_TOOLTIPS
=yes'
8488 ac_cv_use_tooltips='wxUSE_TOOLTIPS
=no
'
8493 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
8494 if test "x$LINE" != x ; then
8495 eval "DEFAULT_$LINE"
8500 ac_cv_use_tooltips='wxUSE_TOOLTIPS
='$DEFAULT_wxUSE_TOOLTIPS
8504 eval "$ac_cv_use_tooltips"
8505 if test "$no_cache" != 1; then
8506 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
8509 if test "$wxUSE_TOOLTIPS" = yes; then
8510 echo "$as_me:$LINENO: result: yes" >&5
8511 echo "${ECHO_T}yes" >&6
8513 echo "$as_me:$LINENO: result: no" >&5
8514 echo "${ECHO_T}no" >&6
8518 echo "$as_me:$LINENO: checking for --enable-splines" >&5
8519 echo $ECHO_N "checking for --enable-splines... $ECHO_C" >&6
8521 # Check whether --enable-splines or --disable-splines was given.
8522 if test "${enable_splines+set}" = set; then
8523 enableval="$enable_splines"
8525 if test "$enableval" = yes; then
8526 ac_cv_use_splines='wxUSE_SPLINES
=yes'
8528 ac_cv_use_splines='wxUSE_SPLINES
=no
'
8533 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
8534 if test "x$LINE" != x ; then
8535 eval "DEFAULT_$LINE"
8540 ac_cv_use_splines='wxUSE_SPLINES
='$DEFAULT_wxUSE_SPLINES
8544 eval "$ac_cv_use_splines"
8545 if test "$no_cache" != 1; then
8546 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
8549 if test "$wxUSE_SPLINES" = yes; then
8550 echo "$as_me:$LINENO: result: yes" >&5
8551 echo "${ECHO_T}yes" >&6
8553 echo "$as_me:$LINENO: result: no" >&5
8554 echo "${ECHO_T}no" >&6
8558 echo "$as_me:$LINENO: checking for --enable-validators" >&5
8559 echo $ECHO_N "checking for --enable-validators... $ECHO_C" >&6
8561 # Check whether --enable-validators or --disable-validators was given.
8562 if test "${enable_validators+set}" = set; then
8563 enableval="$enable_validators"
8565 if test "$enableval" = yes; then
8566 ac_cv_use_validators='wxUSE_VALIDATORS
=yes'
8568 ac_cv_use_validators='wxUSE_VALIDATORS
=no
'
8573 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
8574 if test "x$LINE" != x ; then
8575 eval "DEFAULT_$LINE"
8580 ac_cv_use_validators='wxUSE_VALIDATORS
='$DEFAULT_wxUSE_VALIDATORS
8584 eval "$ac_cv_use_validators"
8585 if test "$no_cache" != 1; then
8586 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
8589 if test "$wxUSE_VALIDATORS" = yes; then
8590 echo "$as_me:$LINENO: result: yes" >&5
8591 echo "${ECHO_T}yes" >&6
8593 echo "$as_me:$LINENO: result: no" >&5
8594 echo "${ECHO_T}no" >&6
8598 echo "$as_me:$LINENO: checking for --enable-busyinfo" >&5
8599 echo $ECHO_N "checking for --enable-busyinfo... $ECHO_C" >&6
8601 # Check whether --enable-busyinfo or --disable-busyinfo was given.
8602 if test "${enable_busyinfo+set}" = set; then
8603 enableval="$enable_busyinfo"
8605 if test "$enableval" = yes; then
8606 ac_cv_use_busyinfo='wxUSE_BUSYINFO
=yes'
8608 ac_cv_use_busyinfo='wxUSE_BUSYINFO
=no
'
8613 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
8614 if test "x$LINE" != x ; then
8615 eval "DEFAULT_$LINE"
8620 ac_cv_use_busyinfo='wxUSE_BUSYINFO
='$DEFAULT_wxUSE_BUSYINFO
8624 eval "$ac_cv_use_busyinfo"
8625 if test "$no_cache" != 1; then
8626 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
8629 if test "$wxUSE_BUSYINFO" = yes; then
8630 echo "$as_me:$LINENO: result: yes" >&5
8631 echo "${ECHO_T}yes" >&6
8633 echo "$as_me:$LINENO: result: no" >&5
8634 echo "${ECHO_T}no" >&6
8638 echo "$as_me:$LINENO: checking for --enable-joystick" >&5
8639 echo $ECHO_N "checking for --enable-joystick... $ECHO_C" >&6
8641 # Check whether --enable-joystick or --disable-joystick was given.
8642 if test "${enable_joystick+set}" = set; then
8643 enableval="$enable_joystick"
8645 if test "$enableval" = yes; then
8646 ac_cv_use_joystick='wxUSE_JOYSTICK
=yes'
8648 ac_cv_use_joystick='wxUSE_JOYSTICK
=no
'
8653 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
8654 if test "x$LINE" != x ; then
8655 eval "DEFAULT_$LINE"
8660 ac_cv_use_joystick='wxUSE_JOYSTICK
='$DEFAULT_wxUSE_JOYSTICK
8664 eval "$ac_cv_use_joystick"
8665 if test "$no_cache" != 1; then
8666 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
8669 if test "$wxUSE_JOYSTICK" = yes; then
8670 echo "$as_me:$LINENO: result: yes" >&5
8671 echo "${ECHO_T}yes" >&6
8673 echo "$as_me:$LINENO: result: no" >&5
8674 echo "${ECHO_T}no" >&6
8678 echo "$as_me:$LINENO: checking for --enable-metafile" >&5
8679 echo $ECHO_N "checking for --enable-metafile... $ECHO_C" >&6
8681 # Check whether --enable-metafile or --disable-metafile was given.
8682 if test "${enable_metafile+set}" = set; then
8683 enableval="$enable_metafile"
8685 if test "$enableval" = yes; then
8686 ac_cv_use_metafile='wxUSE_METAFILE
=yes'
8688 ac_cv_use_metafile='wxUSE_METAFILE
=no
'
8693 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8694 if test "x$LINE" != x ; then
8695 eval "DEFAULT_$LINE"
8700 ac_cv_use_metafile='wxUSE_METAFILE
='$DEFAULT_wxUSE_METAFILE
8704 eval "$ac_cv_use_metafile"
8705 if test "$no_cache" != 1; then
8706 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8709 if test "$wxUSE_METAFILE" = yes; then
8710 echo "$as_me:$LINENO: result: yes" >&5
8711 echo "${ECHO_T}yes" >&6
8713 echo "$as_me:$LINENO: result: no" >&5
8714 echo "${ECHO_T}no" >&6
8718 echo "$as_me:$LINENO: checking for --enable-dragimage" >&5
8719 echo $ECHO_N "checking for --enable-dragimage... $ECHO_C" >&6
8721 # Check whether --enable-dragimage or --disable-dragimage was given.
8722 if test "${enable_dragimage+set}" = set; then
8723 enableval="$enable_dragimage"
8725 if test "$enableval" = yes; then
8726 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
=yes'
8728 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
=no
'
8733 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
8734 if test "x$LINE" != x ; then
8735 eval "DEFAULT_$LINE"
8740 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
='$DEFAULT_wxUSE_DRAGIMAGE
8744 eval "$ac_cv_use_dragimage"
8745 if test "$no_cache" != 1; then
8746 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
8749 if test "$wxUSE_DRAGIMAGE" = yes; then
8750 echo "$as_me:$LINENO: result: yes" >&5
8751 echo "${ECHO_T}yes" >&6
8753 echo "$as_me:$LINENO: result: no" >&5
8754 echo "${ECHO_T}no" >&6
8760 echo "$as_me:$LINENO: checking for --enable-palette" >&5
8761 echo $ECHO_N "checking for --enable-palette... $ECHO_C" >&6
8763 # Check whether --enable-palette or --disable-palette was given.
8764 if test "${enable_palette+set}" = set; then
8765 enableval="$enable_palette"
8767 if test "$enableval" = yes; then
8768 ac_cv_use_palette='wxUSE_PALETTE
=yes'
8770 ac_cv_use_palette='wxUSE_PALETTE
=no
'
8775 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
8776 if test "x$LINE" != x ; then
8777 eval "DEFAULT_$LINE"
8782 ac_cv_use_palette='wxUSE_PALETTE
='$DEFAULT_wxUSE_PALETTE
8786 eval "$ac_cv_use_palette"
8787 if test "$no_cache" != 1; then
8788 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
8791 if test "$wxUSE_PALETTE" = yes; then
8792 echo "$as_me:$LINENO: result: yes" >&5
8793 echo "${ECHO_T}yes" >&6
8795 echo "$as_me:$LINENO: result: no" >&5
8796 echo "${ECHO_T}no" >&6
8800 echo "$as_me:$LINENO: checking for --enable-image" >&5
8801 echo $ECHO_N "checking for --enable-image... $ECHO_C" >&6
8803 # Check whether --enable-image or --disable-image was given.
8804 if test "${enable_image+set}" = set; then
8805 enableval="$enable_image"
8807 if test "$enableval" = yes; then
8808 ac_cv_use_image='wxUSE_IMAGE
=yes'
8810 ac_cv_use_image='wxUSE_IMAGE
=no
'
8815 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
8816 if test "x$LINE" != x ; then
8817 eval "DEFAULT_$LINE"
8822 ac_cv_use_image='wxUSE_IMAGE
='$DEFAULT_wxUSE_IMAGE
8826 eval "$ac_cv_use_image"
8827 if test "$no_cache" != 1; then
8828 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
8831 if test "$wxUSE_IMAGE" = yes; then
8832 echo "$as_me:$LINENO: result: yes" >&5
8833 echo "${ECHO_T}yes" >&6
8835 echo "$as_me:$LINENO: result: no" >&5
8836 echo "${ECHO_T}no" >&6
8840 echo "$as_me:$LINENO: checking for --enable-gif" >&5
8841 echo $ECHO_N "checking for --enable-gif... $ECHO_C" >&6
8843 # Check whether --enable-gif or --disable-gif was given.
8844 if test "${enable_gif+set}" = set; then
8845 enableval="$enable_gif"
8847 if test "$enableval" = yes; then
8848 ac_cv_use_gif='wxUSE_GIF
=yes'
8850 ac_cv_use_gif='wxUSE_GIF
=no
'
8855 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
8856 if test "x$LINE" != x ; then
8857 eval "DEFAULT_$LINE"
8862 ac_cv_use_gif='wxUSE_GIF
='$DEFAULT_wxUSE_GIF
8866 eval "$ac_cv_use_gif"
8867 if test "$no_cache" != 1; then
8868 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
8871 if test "$wxUSE_GIF" = yes; then
8872 echo "$as_me:$LINENO: result: yes" >&5
8873 echo "${ECHO_T}yes" >&6
8875 echo "$as_me:$LINENO: result: no" >&5
8876 echo "${ECHO_T}no" >&6
8880 echo "$as_me:$LINENO: checking for --enable-pcx" >&5
8881 echo $ECHO_N "checking for --enable-pcx... $ECHO_C" >&6
8883 # Check whether --enable-pcx or --disable-pcx was given.
8884 if test "${enable_pcx+set}" = set; then
8885 enableval="$enable_pcx"
8887 if test "$enableval" = yes; then
8888 ac_cv_use_pcx='wxUSE_PCX
=yes'
8890 ac_cv_use_pcx='wxUSE_PCX
=no
'
8895 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
8896 if test "x$LINE" != x ; then
8897 eval "DEFAULT_$LINE"
8902 ac_cv_use_pcx='wxUSE_PCX
='$DEFAULT_wxUSE_PCX
8906 eval "$ac_cv_use_pcx"
8907 if test "$no_cache" != 1; then
8908 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
8911 if test "$wxUSE_PCX" = yes; then
8912 echo "$as_me:$LINENO: result: yes" >&5
8913 echo "${ECHO_T}yes" >&6
8915 echo "$as_me:$LINENO: result: no" >&5
8916 echo "${ECHO_T}no" >&6
8920 echo "$as_me:$LINENO: checking for --enable-iff" >&5
8921 echo $ECHO_N "checking for --enable-iff... $ECHO_C" >&6
8923 # Check whether --enable-iff or --disable-iff was given.
8924 if test "${enable_iff+set}" = set; then
8925 enableval="$enable_iff"
8927 if test "$enableval" = yes; then
8928 ac_cv_use_iff='wxUSE_IFF
=yes'
8930 ac_cv_use_iff='wxUSE_IFF
=no
'
8935 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
8936 if test "x$LINE" != x ; then
8937 eval "DEFAULT_$LINE"
8942 ac_cv_use_iff='wxUSE_IFF
='$DEFAULT_wxUSE_IFF
8946 eval "$ac_cv_use_iff"
8947 if test "$no_cache" != 1; then
8948 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
8951 if test "$wxUSE_IFF" = yes; then
8952 echo "$as_me:$LINENO: result: yes" >&5
8953 echo "${ECHO_T}yes" >&6
8955 echo "$as_me:$LINENO: result: no" >&5
8956 echo "${ECHO_T}no" >&6
8960 echo "$as_me:$LINENO: checking for --enable-pnm" >&5
8961 echo $ECHO_N "checking for --enable-pnm... $ECHO_C" >&6
8963 # Check whether --enable-pnm or --disable-pnm was given.
8964 if test "${enable_pnm+set}" = set; then
8965 enableval="$enable_pnm"
8967 if test "$enableval" = yes; then
8968 ac_cv_use_pnm='wxUSE_PNM
=yes'
8970 ac_cv_use_pnm='wxUSE_PNM
=no
'
8975 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
8976 if test "x$LINE" != x ; then
8977 eval "DEFAULT_$LINE"
8982 ac_cv_use_pnm='wxUSE_PNM
='$DEFAULT_wxUSE_PNM
8986 eval "$ac_cv_use_pnm"
8987 if test "$no_cache" != 1; then
8988 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
8991 if test "$wxUSE_PNM" = yes; then
8992 echo "$as_me:$LINENO: result: yes" >&5
8993 echo "${ECHO_T}yes" >&6
8995 echo "$as_me:$LINENO: result: no" >&5
8996 echo "${ECHO_T}no" >&6
9000 echo "$as_me:$LINENO: checking for --enable-xpm" >&5
9001 echo $ECHO_N "checking for --enable-xpm... $ECHO_C" >&6
9003 # Check whether --enable-xpm or --disable-xpm was given.
9004 if test "${enable_xpm+set}" = set; then
9005 enableval="$enable_xpm"
9007 if test "$enableval" = yes; then
9008 ac_cv_use_xpm='wxUSE_XPM
=yes'
9010 ac_cv_use_xpm='wxUSE_XPM
=no
'
9015 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9016 if test "x$LINE" != x ; then
9017 eval "DEFAULT_$LINE"
9022 ac_cv_use_xpm='wxUSE_XPM
='$DEFAULT_wxUSE_XPM
9026 eval "$ac_cv_use_xpm"
9027 if test "$no_cache" != 1; then
9028 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9031 if test "$wxUSE_XPM" = yes; then
9032 echo "$as_me:$LINENO: result: yes" >&5
9033 echo "${ECHO_T}yes" >&6
9035 echo "$as_me:$LINENO: result: no" >&5
9036 echo "${ECHO_T}no" >&6
9040 echo "$as_me:$LINENO: checking for --enable-ico_cur" >&5
9041 echo $ECHO_N "checking for --enable-ico_cur... $ECHO_C" >&6
9043 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9044 if test "${enable_ico_cur+set}" = set; then
9045 enableval="$enable_ico_cur"
9047 if test "$enableval" = yes; then
9048 ac_cv_use_ico_cur='wxUSE_ICO_CUR
=yes'
9050 ac_cv_use_ico_cur='wxUSE_ICO_CUR
=no
'
9055 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9056 if test "x$LINE" != x ; then
9057 eval "DEFAULT_$LINE"
9062 ac_cv_use_ico_cur='wxUSE_ICO_CUR
='$DEFAULT_wxUSE_ICO_CUR
9066 eval "$ac_cv_use_ico_cur"
9067 if test "$no_cache" != 1; then
9068 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9071 if test "$wxUSE_ICO_CUR" = yes; then
9072 echo "$as_me:$LINENO: result: yes" >&5
9073 echo "${ECHO_T}yes" >&6
9075 echo "$as_me:$LINENO: result: no" >&5
9076 echo "${ECHO_T}no" >&6
9083 *-pc-os2_emx | *-pc-os2-emx )
9094 echo "saving argument cache $wx_arg_cache_file"
9095 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
9099 echo "$as_me:$LINENO: checking for toolkit" >&5
9100 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9102 if test "$wxUSE_GUI" = "yes"; then
9104 if test "$USE_BEOS" = 1; then
9105 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9106 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9107 { (exit 1); exit 1; }; }
9110 if test "$TOOLKIT_GIVEN" = 1; then
9111 for toolkit in `echo $ALL_TOOLKITS`; do
9113 eval "value=\$${var}"
9114 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
9117 for toolkit in `echo $ALL_TOOLKITS`; do
9118 if test "$has_toolkit_in_cache" != 1; then
9119 var=DEFAULT_DEFAULT_wxUSE_$toolkit
9121 var=DEFAULT_wxUSE_$toolkit
9123 eval "wxUSE_$toolkit=\$${var}"
9127 NUM_TOOLKITS=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} \
9128 + ${wxUSE_WINE:-0} + ${wxUSE_MSW:-0} + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} + ${wxUSE_X11:-0}`
9131 *-pc-os2_emx | *-pc-os2-emx )
9132 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9135 case "$NUM_TOOLKITS" in
9139 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
9140 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
9141 { (exit 1); exit 1; }; }
9144 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
9145 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
9146 { (exit 1); exit 1; }; }
9149 for toolkit in `echo $ALL_TOOLKITS`; do
9151 eval "value=\$${var}"
9152 if test "x$value" != x; then
9153 cache_var=CACHE_$toolkit
9154 eval "cache=\$${cache_var}"
9155 if test "$cache" = 1; then
9156 echo "$var=$value" >> ${wx_arg_cache_file}
9158 if test "$value" = 1; then
9159 toolkit_echo=`echo $toolkit | tr [A-Z] [a-z]`
9160 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
9161 echo "${ECHO_T}$toolkit_echo" >&6
9166 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
9167 echo "${ECHO_T}base ($host_alias hosted) only" >&6
9175 if test "$wxUSE_MSW" = 1 ; then
9186 if test "$wants_win32" = 1 ; then
9189 cat >>confdefs.h <<\_ACEOF
9193 cat >>confdefs.h <<\_ACEOF
9197 cat >>confdefs.h <<\_ACEOF
9198 #define __WINDOWS__ 1
9201 cat >>confdefs.h <<\_ACEOF
9202 #define __GNUWIN32__ 1
9205 cat >>confdefs.h <<\_ACEOF
9209 cat >>confdefs.h <<\_ACEOF
9210 #define WINVER 0x0400
9214 if test "$doesnt_want_win32" = 1 ; then
9219 if test "$USE_UNIX" = 1 ; then
9221 cat >>confdefs.h <<\_ACEOF
9228 cat >confcache <<\_ACEOF
9229 # This file is a shell script that caches the results of configure
9230 # tests run on this system so they can be shared between configure
9231 # scripts and configure runs, see configure's option
--config-cache.
9232 # It is not useful on other systems. If it contains results you don't
9233 # want to keep, you may remove or edit it.
9235 # config.status only pays attention to the cache file if you give it
9236 # the --recheck option to rerun configure.
9238 # `ac_cv_env_foo' variables (set or unset) will be overriden when
9239 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9244 # The following way of writing the cache mishandles newlines in values,
9245 # but we know of no workaround that is simple, portable, and efficient.
9246 # So, don't put newlines in cache variables' values.
9247 # Ultrix sh set writes to stderr and can't be redirected directly,
9248 # and sets the high bit in the cache file unless we assign to the vars.
9251 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9253 # `set' does not quote correctly, so add quotes (double-quote
9254 # substitution turns \\\\ into \\, and sed turns \\ into \).
9257 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9260 # `set' quotes correctly as required by POSIX, so do not add quotes.
9262 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9269 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9271 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9273 if cmp -s $cache_file confcache
; then :; else
9274 if test -w $cache_file; then
9275 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9276 cat confcache
>$cache_file
9278 echo "not updating unwritable cache $cache_file"
9283 if test "$build" != "$host" ; then
9284 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
9288 RANLIB
=$host_alias-ranlib
9289 DLLTOOL
=$host_alias-dlltool
9290 RESCOMP
=$host_alias-windres
9293 STRIP
=$host_alias-strip
9295 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
9296 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
9297 { (exit 1); exit 1; }; }
9303 ac_cpp
='$CPP $CPPFLAGS'
9304 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9305 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9306 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9307 if test -n "$ac_tool_prefix"; then
9308 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
9309 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
9310 echo "$as_me:$LINENO: checking for $ac_word" >&5
9311 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9312 if test "${ac_cv_prog_CC+set}" = set; then
9313 echo $ECHO_N "(cached) $ECHO_C" >&6
9315 if test -n "$CC"; then
9316 ac_cv_prog_CC
="$CC" # Let the user override the test.
9318 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9322 test -z "$as_dir" && as_dir
=.
9323 for ac_exec_ext
in '' $ac_executable_extensions; do
9324 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9325 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
9326 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9335 if test -n "$CC"; then
9336 echo "$as_me:$LINENO: result: $CC" >&5
9337 echo "${ECHO_T}$CC" >&6
9339 echo "$as_me:$LINENO: result: no" >&5
9340 echo "${ECHO_T}no" >&6
9344 if test -z "$ac_cv_prog_CC"; then
9346 # Extract the first word of "gcc", so it can be a program name with args.
9347 set dummy gcc
; ac_word
=$2
9348 echo "$as_me:$LINENO: checking for $ac_word" >&5
9349 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9350 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9351 echo $ECHO_N "(cached) $ECHO_C" >&6
9353 if test -n "$ac_ct_CC"; then
9354 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
9356 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9360 test -z "$as_dir" && as_dir
=.
9361 for ac_exec_ext
in '' $ac_executable_extensions; do
9362 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9363 ac_cv_prog_ac_ct_CC
="gcc"
9364 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9372 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
9373 if test -n "$ac_ct_CC"; then
9374 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9375 echo "${ECHO_T}$ac_ct_CC" >&6
9377 echo "$as_me:$LINENO: result: no" >&5
9378 echo "${ECHO_T}no" >&6
9386 if test -z "$CC"; then
9387 if test -n "$ac_tool_prefix"; then
9388 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
9389 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
9390 echo "$as_me:$LINENO: checking for $ac_word" >&5
9391 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9392 if test "${ac_cv_prog_CC+set}" = set; then
9393 echo $ECHO_N "(cached) $ECHO_C" >&6
9395 if test -n "$CC"; then
9396 ac_cv_prog_CC
="$CC" # Let the user override the test.
9398 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9402 test -z "$as_dir" && as_dir
=.
9403 for ac_exec_ext
in '' $ac_executable_extensions; do
9404 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9405 ac_cv_prog_CC
="${ac_tool_prefix}cc"
9406 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9415 if test -n "$CC"; then
9416 echo "$as_me:$LINENO: result: $CC" >&5
9417 echo "${ECHO_T}$CC" >&6
9419 echo "$as_me:$LINENO: result: no" >&5
9420 echo "${ECHO_T}no" >&6
9424 if test -z "$ac_cv_prog_CC"; then
9426 # Extract the first word of "cc", so it can be a program name with args.
9427 set dummy cc
; ac_word
=$2
9428 echo "$as_me:$LINENO: checking for $ac_word" >&5
9429 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9430 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9431 echo $ECHO_N "(cached) $ECHO_C" >&6
9433 if test -n "$ac_ct_CC"; then
9434 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
9436 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9440 test -z "$as_dir" && as_dir
=.
9441 for ac_exec_ext
in '' $ac_executable_extensions; do
9442 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9443 ac_cv_prog_ac_ct_CC
="cc"
9444 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9452 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
9453 if test -n "$ac_ct_CC"; then
9454 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9455 echo "${ECHO_T}$ac_ct_CC" >&6
9457 echo "$as_me:$LINENO: result: no" >&5
9458 echo "${ECHO_T}no" >&6
9467 if test -z "$CC"; then
9468 # Extract the first word of "cc", so it can be a program name with args.
9469 set dummy cc
; ac_word
=$2
9470 echo "$as_me:$LINENO: checking for $ac_word" >&5
9471 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9472 if test "${ac_cv_prog_CC+set}" = set; then
9473 echo $ECHO_N "(cached) $ECHO_C" >&6
9475 if test -n "$CC"; then
9476 ac_cv_prog_CC
="$CC" # Let the user override the test.
9479 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9483 test -z "$as_dir" && as_dir
=.
9484 for ac_exec_ext
in '' $ac_executable_extensions; do
9485 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9486 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
9487 ac_prog_rejected
=yes
9491 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9497 if test $ac_prog_rejected = yes; then
9498 # We found a bogon in the path, so make sure we never use it.
9499 set dummy
$ac_cv_prog_CC
9501 if test $# != 0; then
9502 # We chose a different compiler from the bogus one.
9503 # However, it has the same basename, so the bogon will be chosen
9504 # first if we set CC to just the basename; use the full file name.
9506 set dummy
"$as_dir/$ac_word" ${1+"$@"}
9514 if test -n "$CC"; then
9515 echo "$as_me:$LINENO: result: $CC" >&5
9516 echo "${ECHO_T}$CC" >&6
9518 echo "$as_me:$LINENO: result: no" >&5
9519 echo "${ECHO_T}no" >&6
9523 if test -z "$CC"; then
9524 if test -n "$ac_tool_prefix"; then
9527 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9528 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
9529 echo "$as_me:$LINENO: checking for $ac_word" >&5
9530 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9531 if test "${ac_cv_prog_CC+set}" = set; then
9532 echo $ECHO_N "(cached) $ECHO_C" >&6
9534 if test -n "$CC"; then
9535 ac_cv_prog_CC
="$CC" # Let the user override the test.
9537 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9541 test -z "$as_dir" && as_dir
=.
9542 for ac_exec_ext
in '' $ac_executable_extensions; do
9543 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9544 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
9545 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9554 if test -n "$CC"; then
9555 echo "$as_me:$LINENO: result: $CC" >&5
9556 echo "${ECHO_T}$CC" >&6
9558 echo "$as_me:$LINENO: result: no" >&5
9559 echo "${ECHO_T}no" >&6
9562 test -n "$CC" && break
9565 if test -z "$CC"; then
9569 # Extract the first word of "$ac_prog", so it can be a program name with args.
9570 set dummy
$ac_prog; ac_word
=$2
9571 echo "$as_me:$LINENO: checking for $ac_word" >&5
9572 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9573 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9574 echo $ECHO_N "(cached) $ECHO_C" >&6
9576 if test -n "$ac_ct_CC"; then
9577 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
9579 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9583 test -z "$as_dir" && as_dir
=.
9584 for ac_exec_ext
in '' $ac_executable_extensions; do
9585 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9586 ac_cv_prog_ac_ct_CC
="$ac_prog"
9587 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9595 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
9596 if test -n "$ac_ct_CC"; then
9597 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9598 echo "${ECHO_T}$ac_ct_CC" >&6
9600 echo "$as_me:$LINENO: result: no" >&5
9601 echo "${ECHO_T}no" >&6
9604 test -n "$ac_ct_CC" && break
9613 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
9614 echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
9615 { (exit 1); exit 1; }; }
9617 # Provide some information about the compiler.
9618 echo "$as_me:$LINENO:" \
9619 "checking for C compiler version" >&5
9620 ac_compiler
=`set X $ac_compile; echo $2`
9621 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
9622 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
9624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9625 (exit $ac_status); }
9626 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
9627 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
9629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9630 (exit $ac_status); }
9631 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
9632 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
9634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9635 (exit $ac_status); }
9637 cat >conftest.
$ac_ext <<_ACEOF
9638 #line $LINENO "configure"
9639 #include "confdefs.h"
9641 #ifdef F77_DUMMY_MAIN
9645 int F77_DUMMY_MAIN() { return 1; }
9655 ac_clean_files_save
=$ac_clean_files
9656 ac_clean_files
="$ac_clean_files a.out a.exe"
9657 # Try to create an executable without -o first, disregard a.out.
9658 # It will help us diagnose broken compilers, and finding out an intuition
9660 echo "$as_me:$LINENO: checking for C compiler default output" >&5
9661 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
9662 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
9663 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
9664 (eval $ac_link_default) 2>&5
9666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9667 (exit $ac_status); }; then
9668 # Find the output, starting from the most likely. This scheme is
9669 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
9672 # Be careful to initialize this variable, since it used to be cached.
9673 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
9675 for ac_file
in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
9676 ls a.out conftest 2>/dev/null;
9677 ls a.* conftest.* 2>/dev/null`; do
9679 *.
$ac_ext | *.o
| *.obj
| *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
) ;;
9680 a.out
) # We found the default executable, but exeext='' is most
9683 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
9684 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
9691 echo "$as_me: failed program was:" >&5
9692 cat conftest.
$ac_ext >&5
9693 { { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5
9694 echo "$as_me: error: C compiler cannot create executables" >&2;}
9695 { (exit 77); exit 77; }; }
9698 ac_exeext
=$ac_cv_exeext
9699 echo "$as_me:$LINENO: result: $ac_file" >&5
9700 echo "${ECHO_T}$ac_file" >&6
9702 # Check the compiler produces executables we can run. If not, either
9703 # the compiler is broken, or we cross compile.
9704 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
9705 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
9706 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
9707 # If not cross compiling, check that we can run a simple program.
9708 if test "$cross_compiling" != yes; then
9709 if { ac_try
='./$ac_file'
9710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9714 (exit $ac_status); }; }; then
9717 if test "$cross_compiling" = maybe
; then
9720 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
9721 If you meant to cross compile, use \`--host'." >&5
9722 echo "$as_me: error: cannot run C compiled programs.
9723 If you meant to cross compile, use \`--host'." >&2;}
9724 { (exit 1); exit 1; }; }
9728 echo "$as_me:$LINENO: result: yes" >&5
9729 echo "${ECHO_T}yes" >&6
9731 rm -f a.out a.exe conftest
$ac_cv_exeext
9732 ac_clean_files
=$ac_clean_files_save
9733 # Check the compiler produces executables we can run. If not, either
9734 # the compiler is broken, or we cross compile.
9735 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
9736 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
9737 echo "$as_me:$LINENO: result: $cross_compiling" >&5
9738 echo "${ECHO_T}$cross_compiling" >&6
9740 echo "$as_me:$LINENO: checking for suffix of executables" >&5
9741 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
9742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9743 (eval $ac_link) 2>&5
9745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9746 (exit $ac_status); }; then
9747 # If both `conftest.exe' and `conftest' are `present' (well, observable)
9748 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
9749 # work properly (i.e., refer to `conftest.exe'), while it won't with
9751 for ac_file
in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
9753 *.
$ac_ext | *.o
| *.obj
| *.xcoff
| *.tds
| *.d
| *.pdb
) ;;
9754 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
9761 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
9762 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
9763 { (exit 1); exit 1; }; }
9766 rm -f conftest
$ac_cv_exeext
9767 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
9768 echo "${ECHO_T}$ac_cv_exeext" >&6
9770 rm -f conftest.
$ac_ext
9771 EXEEXT
=$ac_cv_exeext
9773 echo "$as_me:$LINENO: checking for suffix of object files" >&5
9774 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
9775 if test "${ac_cv_objext+set}" = set; then
9776 echo $ECHO_N "(cached) $ECHO_C" >&6
9778 cat >conftest.
$ac_ext <<_ACEOF
9779 #line $LINENO "configure"
9780 #include "confdefs.h"
9782 #ifdef F77_DUMMY_MAIN
9786 int F77_DUMMY_MAIN() { return 1; }
9796 rm -f conftest.o conftest.obj
9797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9798 (eval $ac_compile) 2>&5
9800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9801 (exit $ac_status); }; then
9802 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
9804 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
) ;;
9805 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
9810 echo "$as_me: failed program was:" >&5
9811 cat conftest.
$ac_ext >&5
9812 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
9813 echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
9814 { (exit 1); exit 1; }; }
9817 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
9819 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
9820 echo "${ECHO_T}$ac_cv_objext" >&6
9821 OBJEXT
=$ac_cv_objext
9823 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
9824 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
9825 if test "${ac_cv_c_compiler_gnu+set}" = set; then
9826 echo $ECHO_N "(cached) $ECHO_C" >&6
9828 cat >conftest.
$ac_ext <<_ACEOF
9829 #line $LINENO "configure"
9830 #include "confdefs.h"
9832 #ifdef F77_DUMMY_MAIN
9836 int F77_DUMMY_MAIN() { return 1; }
9849 rm -f conftest.
$ac_objext
9850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9851 (eval $ac_compile) 2>&5
9853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9854 (exit $ac_status); } &&
9855 { ac_try
='test -s conftest.$ac_objext'
9856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9860 (exit $ac_status); }; }; then
9863 echo "$as_me: failed program was:" >&5
9864 cat conftest.
$ac_ext >&5
9867 rm -f conftest.
$ac_objext conftest.
$ac_ext
9868 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
9871 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
9872 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
9873 GCC
=`test $ac_compiler_gnu = yes && echo yes`
9874 ac_test_CFLAGS
=${CFLAGS+set}
9875 ac_save_CFLAGS
=$CFLAGS
9877 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
9878 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
9879 if test "${ac_cv_prog_cc_g+set}" = set; then
9880 echo $ECHO_N "(cached) $ECHO_C" >&6
9882 cat >conftest.
$ac_ext <<_ACEOF
9883 #line $LINENO "configure"
9884 #include "confdefs.h"
9886 #ifdef F77_DUMMY_MAIN
9890 int F77_DUMMY_MAIN() { return 1; }
9900 rm -f conftest.
$ac_objext
9901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9902 (eval $ac_compile) 2>&5
9904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9905 (exit $ac_status); } &&
9906 { ac_try
='test -s conftest.$ac_objext'
9907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9911 (exit $ac_status); }; }; then
9914 echo "$as_me: failed program was:" >&5
9915 cat conftest.
$ac_ext >&5
9918 rm -f conftest.
$ac_objext conftest.
$ac_ext
9920 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
9921 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
9922 if test "$ac_test_CFLAGS" = set; then
9923 CFLAGS
=$ac_save_CFLAGS
9924 elif test $ac_cv_prog_cc_g = yes; then
9925 if test "$GCC" = yes; then
9931 if test "$GCC" = yes; then
9937 # Some people use a C++ compiler to compile C. Since we use `exit',
9938 # in C++ we need to declare it. In case someone uses the same compiler
9939 # for both compiling C and C++ we need to have the C++ compiler decide
9940 # the declaration of exit, since it's the most demanding environment.
9941 cat >conftest.
$ac_ext <<_ACEOF
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
9958 for ac_declaration
in \
9960 '#include <stdlib.h>' \
9961 'extern "C" void std::exit (int) throw (); using std::exit;' \
9962 'extern "C" void std::exit (int); using std::exit;' \
9963 'extern "C" void exit (int) throw ();' \
9964 'extern "C" void exit (int);' \
9967 cat >conftest.
$ac_ext <<_ACEOF
9968 #line $LINENO "configure"
9969 #include "confdefs.h"
9972 #ifdef F77_DUMMY_MAIN
9976 int F77_DUMMY_MAIN() { return 1; }
9986 rm -f conftest.
$ac_objext
9987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9988 (eval $ac_compile) 2>&5
9990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9991 (exit $ac_status); } &&
9992 { ac_try
='test -s conftest.$ac_objext'
9993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9997 (exit $ac_status); }; }; then
10000 echo "$as_me: failed program was:" >&5
10001 cat conftest.
$ac_ext >&5
10004 rm -f conftest.
$ac_objext conftest.
$ac_ext
10005 cat >conftest.
$ac_ext <<_ACEOF
10006 #line $LINENO "configure"
10007 #include "confdefs.h"
10009 #ifdef F77_DUMMY_MAIN
10010 # ifdef __cplusplus
10013 int F77_DUMMY_MAIN() { return 1; }
10023 rm -f conftest.
$ac_objext
10024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10025 (eval $ac_compile) 2>&5
10027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10028 (exit $ac_status); } &&
10029 { ac_try
='test -s conftest.$ac_objext'
10030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10031 (eval $ac_try) 2>&5
10033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10034 (exit $ac_status); }; }; then
10037 echo "$as_me: failed program was:" >&5
10038 cat conftest.
$ac_ext >&5
10040 rm -f conftest.
$ac_objext conftest.
$ac_ext
10043 if test -n "$ac_declaration"; then
10044 echo '#ifdef __cplusplus' >>confdefs.h
10045 echo $ac_declaration >>confdefs.h
10046 echo '#endif' >>confdefs.h
10050 echo "$as_me: failed program was:" >&5
10051 cat conftest.
$ac_ext >&5
10053 rm -f conftest.
$ac_objext conftest.
$ac_ext
10055 ac_cpp
='$CPP $CPPFLAGS'
10056 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10057 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10058 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10063 ac_cpp
='$CPP $CPPFLAGS'
10064 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10065 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10066 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10067 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10068 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
10069 # On Suns, sometimes $CPP names a directory.
10070 if test -n "$CPP" && test -d "$CPP"; then
10073 if test -z "$CPP"; then
10074 if test "${ac_cv_prog_CPP+set}" = set; then
10075 echo $ECHO_N "(cached) $ECHO_C" >&6
10077 # Double quotes because CPP needs to be expanded
10078 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
10080 ac_preproc_ok
=false
10081 for ac_c_preproc_warn_flag
in '' yes
10083 # Use a header file that comes with gcc, so configuring glibc
10084 # with a fresh cross-compiler works.
10085 # On the NeXT, cc -E runs the code through the compiler's parser,
10086 # not just through cpp. "Syntax error" is here to catch this case.
10087 cat >conftest.
$ac_ext <<_ACEOF
10088 #line $LINENO "configure"
10089 #include "confdefs.h"
10090 #include <assert.h>
10093 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10094 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10096 egrep -v '^ *\+' conftest.er1
>conftest.err
10098 cat conftest.err
>&5
10099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10100 (exit $ac_status); } >/dev
/null
; then
10101 if test -s conftest.err
; then
10102 ac_cpp_err
=$ac_c_preproc_warn_flag
10109 if test -z "$ac_cpp_err"; then
10112 echo "$as_me: failed program was:" >&5
10113 cat conftest.
$ac_ext >&5
10114 # Broken: fails on valid input.
10117 rm -f conftest.err conftest.
$ac_ext
10119 # OK, works on sane cases. Now check whether non-existent headers
10120 # can be detected and how.
10121 cat >conftest.
$ac_ext <<_ACEOF
10122 #line $LINENO "configure"
10123 #include "confdefs.h"
10124 #include <ac_nonexistent.h>
10126 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10127 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10129 egrep -v '^ *\+' conftest.er1
>conftest.err
10131 cat conftest.err
>&5
10132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10133 (exit $ac_status); } >/dev
/null
; then
10134 if test -s conftest.err
; then
10135 ac_cpp_err
=$ac_c_preproc_warn_flag
10142 if test -z "$ac_cpp_err"; then
10143 # Broken: success on invalid input.
10146 echo "$as_me: failed program was:" >&5
10147 cat conftest.
$ac_ext >&5
10148 # Passes both tests.
10152 rm -f conftest.err conftest.
$ac_ext
10155 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10156 rm -f conftest.err conftest.
$ac_ext
10157 if $ac_preproc_ok; then
10162 ac_cv_prog_CPP
=$CPP
10165 CPP
=$ac_cv_prog_CPP
10167 ac_cv_prog_CPP
=$CPP
10169 echo "$as_me:$LINENO: result: $CPP" >&5
10170 echo "${ECHO_T}$CPP" >&6
10171 ac_preproc_ok
=false
10172 for ac_c_preproc_warn_flag
in '' yes
10174 # Use a header file that comes with gcc, so configuring glibc
10175 # with a fresh cross-compiler works.
10176 # On the NeXT, cc -E runs the code through the compiler's parser,
10177 # not just through cpp. "Syntax error" is here to catch this case.
10178 cat >conftest.
$ac_ext <<_ACEOF
10179 #line $LINENO "configure"
10180 #include "confdefs.h"
10181 #include <assert.h>
10184 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10185 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10187 egrep -v '^ *\+' conftest.er1
>conftest.err
10189 cat conftest.err
>&5
10190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10191 (exit $ac_status); } >/dev
/null
; then
10192 if test -s conftest.err
; then
10193 ac_cpp_err
=$ac_c_preproc_warn_flag
10200 if test -z "$ac_cpp_err"; then
10203 echo "$as_me: failed program was:" >&5
10204 cat conftest.
$ac_ext >&5
10205 # Broken: fails on valid input.
10208 rm -f conftest.err conftest.
$ac_ext
10210 # OK, works on sane cases. Now check whether non-existent headers
10211 # can be detected and how.
10212 cat >conftest.
$ac_ext <<_ACEOF
10213 #line $LINENO "configure"
10214 #include "confdefs.h"
10215 #include <ac_nonexistent.h>
10217 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10218 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10220 egrep -v '^ *\+' conftest.er1
>conftest.err
10222 cat conftest.err
>&5
10223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10224 (exit $ac_status); } >/dev
/null
; then
10225 if test -s conftest.err
; then
10226 ac_cpp_err
=$ac_c_preproc_warn_flag
10233 if test -z "$ac_cpp_err"; then
10234 # Broken: success on invalid input.
10237 echo "$as_me: failed program was:" >&5
10238 cat conftest.
$ac_ext >&5
10239 # Passes both tests.
10243 rm -f conftest.err conftest.
$ac_ext
10246 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10247 rm -f conftest.err conftest.
$ac_ext
10248 if $ac_preproc_ok; then
10251 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
10252 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
10253 { (exit 1); exit 1; }; }
10257 ac_cpp
='$CPP $CPPFLAGS'
10258 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10259 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10260 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10263 if test $ac_cv_c_compiler_gnu = yes; then
10264 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
10265 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
10266 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
10267 echo $ECHO_N "(cached) $ECHO_C" >&6
10269 ac_pattern
="Autoconf.*'x'"
10270 cat >conftest.
$ac_ext <<_ACEOF
10271 #line $LINENO "configure"
10272 #include "confdefs.h"
10276 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10277 egrep "$ac_pattern" >/dev
/null
2>&1; then
10278 ac_cv_prog_gcc_traditional
=yes
10280 ac_cv_prog_gcc_traditional
=no
10285 if test $ac_cv_prog_gcc_traditional = no
; then
10286 cat >conftest.
$ac_ext <<_ACEOF
10287 #line $LINENO "configure"
10288 #include "confdefs.h"
10289 #include <termio.h>
10292 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10293 egrep "$ac_pattern" >/dev
/null
2>&1; then
10294 ac_cv_prog_gcc_traditional
=yes
10300 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
10301 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
10302 if test $ac_cv_prog_gcc_traditional = yes; then
10303 CC
="$CC -traditional"
10311 ac_cpp
='$CXXCPP $CPPFLAGS'
10312 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10313 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10314 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10317 CXXFLAGS
=${CXXFLAGS:=}
10319 ac_cpp
='$CXXCPP $CPPFLAGS'
10320 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10321 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10322 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10323 if test -n "$ac_tool_prefix"; then
10324 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
10326 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10327 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10328 echo "$as_me:$LINENO: checking for $ac_word" >&5
10329 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10330 if test "${ac_cv_prog_CXX+set}" = set; then
10331 echo $ECHO_N "(cached) $ECHO_C" >&6
10333 if test -n "$CXX"; then
10334 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
10336 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10337 for as_dir
in $PATH
10340 test -z "$as_dir" && as_dir
=.
10341 for ac_exec_ext
in '' $ac_executable_extensions; do
10342 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10343 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
10344 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10352 CXX
=$ac_cv_prog_CXX
10353 if test -n "$CXX"; then
10354 echo "$as_me:$LINENO: result: $CXX" >&5
10355 echo "${ECHO_T}$CXX" >&6
10357 echo "$as_me:$LINENO: result: no" >&5
10358 echo "${ECHO_T}no" >&6
10361 test -n "$CXX" && break
10364 if test -z "$CXX"; then
10366 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
10368 # Extract the first word of "$ac_prog", so it can be a program name with args.
10369 set dummy
$ac_prog; ac_word
=$2
10370 echo "$as_me:$LINENO: checking for $ac_word" >&5
10371 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10372 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
10373 echo $ECHO_N "(cached) $ECHO_C" >&6
10375 if test -n "$ac_ct_CXX"; then
10376 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
10378 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10379 for as_dir
in $PATH
10382 test -z "$as_dir" && as_dir
=.
10383 for ac_exec_ext
in '' $ac_executable_extensions; do
10384 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10385 ac_cv_prog_ac_ct_CXX
="$ac_prog"
10386 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10394 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
10395 if test -n "$ac_ct_CXX"; then
10396 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
10397 echo "${ECHO_T}$ac_ct_CXX" >&6
10399 echo "$as_me:$LINENO: result: no" >&5
10400 echo "${ECHO_T}no" >&6
10403 test -n "$ac_ct_CXX" && break
10405 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
10411 # Provide some information about the compiler.
10412 echo "$as_me:$LINENO:" \
10413 "checking for C++ compiler version" >&5
10414 ac_compiler
=`set X $ac_compile; echo $2`
10415 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10416 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
10418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10419 (exit $ac_status); }
10420 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10421 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
10423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10424 (exit $ac_status); }
10425 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10426 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
10428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10429 (exit $ac_status); }
10431 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
10432 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
10433 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
10434 echo $ECHO_N "(cached) $ECHO_C" >&6
10436 cat >conftest.
$ac_ext <<_ACEOF
10437 #line $LINENO "configure"
10438 #include "confdefs.h"
10440 #ifdef F77_DUMMY_MAIN
10441 # ifdef __cplusplus
10444 int F77_DUMMY_MAIN() { return 1; }
10457 rm -f conftest.
$ac_objext
10458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10459 (eval $ac_compile) 2>&5
10461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10462 (exit $ac_status); } &&
10463 { ac_try
='test -s conftest.$ac_objext'
10464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10465 (eval $ac_try) 2>&5
10467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10468 (exit $ac_status); }; }; then
10469 ac_compiler_gnu
=yes
10471 echo "$as_me: failed program was:" >&5
10472 cat conftest.
$ac_ext >&5
10475 rm -f conftest.
$ac_objext conftest.
$ac_ext
10476 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
10479 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
10480 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
10481 GXX
=`test $ac_compiler_gnu = yes && echo yes`
10482 ac_test_CXXFLAGS
=${CXXFLAGS+set}
10483 ac_save_CXXFLAGS
=$CXXFLAGS
10485 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
10486 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
10487 if test "${ac_cv_prog_cxx_g+set}" = set; then
10488 echo $ECHO_N "(cached) $ECHO_C" >&6
10490 cat >conftest.
$ac_ext <<_ACEOF
10491 #line $LINENO "configure"
10492 #include "confdefs.h"
10494 #ifdef F77_DUMMY_MAIN
10495 # ifdef __cplusplus
10498 int F77_DUMMY_MAIN() { return 1; }
10508 rm -f conftest.
$ac_objext
10509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10510 (eval $ac_compile) 2>&5
10512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10513 (exit $ac_status); } &&
10514 { ac_try
='test -s conftest.$ac_objext'
10515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10516 (eval $ac_try) 2>&5
10518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10519 (exit $ac_status); }; }; then
10520 ac_cv_prog_cxx_g
=yes
10522 echo "$as_me: failed program was:" >&5
10523 cat conftest.
$ac_ext >&5
10524 ac_cv_prog_cxx_g
=no
10526 rm -f conftest.
$ac_objext conftest.
$ac_ext
10528 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
10529 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
10530 if test "$ac_test_CXXFLAGS" = set; then
10531 CXXFLAGS
=$ac_save_CXXFLAGS
10532 elif test $ac_cv_prog_cxx_g = yes; then
10533 if test "$GXX" = yes; then
10539 if test "$GXX" = yes; then
10545 for ac_declaration
in \
10547 '#include <stdlib.h>' \
10548 'extern "C" void std::exit (int) throw (); using std::exit;' \
10549 'extern "C" void std::exit (int); using std::exit;' \
10550 'extern "C" void exit (int) throw ();' \
10551 'extern "C" void exit (int);' \
10554 cat >conftest.
$ac_ext <<_ACEOF
10555 #line $LINENO "configure"
10556 #include "confdefs.h"
10557 #include <stdlib.h>
10559 #ifdef F77_DUMMY_MAIN
10560 # ifdef __cplusplus
10563 int F77_DUMMY_MAIN() { return 1; }
10573 rm -f conftest.
$ac_objext
10574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10575 (eval $ac_compile) 2>&5
10577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10578 (exit $ac_status); } &&
10579 { ac_try
='test -s conftest.$ac_objext'
10580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10581 (eval $ac_try) 2>&5
10583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10584 (exit $ac_status); }; }; then
10587 echo "$as_me: failed program was:" >&5
10588 cat conftest.
$ac_ext >&5
10591 rm -f conftest.
$ac_objext conftest.
$ac_ext
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; }
10610 rm -f conftest.
$ac_objext
10611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10612 (eval $ac_compile) 2>&5
10614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10615 (exit $ac_status); } &&
10616 { ac_try
='test -s conftest.$ac_objext'
10617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10618 (eval $ac_try) 2>&5
10620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10621 (exit $ac_status); }; }; then
10624 echo "$as_me: failed program was:" >&5
10625 cat conftest.
$ac_ext >&5
10627 rm -f conftest.
$ac_objext conftest.
$ac_ext
10630 if test -n "$ac_declaration"; then
10631 echo '#ifdef __cplusplus' >>confdefs.h
10632 echo $ac_declaration >>confdefs.h
10633 echo '#endif' >>confdefs.h
10637 ac_cpp
='$CXXCPP $CPPFLAGS'
10638 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10639 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10640 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10644 ac_cpp
='$CPP $CPPFLAGS'
10645 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10646 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10647 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10650 if test -n "$ac_tool_prefix"; then
10651 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
10652 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
10653 echo "$as_me:$LINENO: checking for $ac_word" >&5
10654 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10655 if test "${ac_cv_prog_RANLIB+set}" = set; then
10656 echo $ECHO_N "(cached) $ECHO_C" >&6
10658 if test -n "$RANLIB"; then
10659 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
10661 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10662 for as_dir
in $PATH
10665 test -z "$as_dir" && as_dir
=.
10666 for ac_exec_ext
in '' $ac_executable_extensions; do
10667 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10668 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
10669 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10677 RANLIB
=$ac_cv_prog_RANLIB
10678 if test -n "$RANLIB"; then
10679 echo "$as_me:$LINENO: result: $RANLIB" >&5
10680 echo "${ECHO_T}$RANLIB" >&6
10682 echo "$as_me:$LINENO: result: no" >&5
10683 echo "${ECHO_T}no" >&6
10687 if test -z "$ac_cv_prog_RANLIB"; then
10688 ac_ct_RANLIB
=$RANLIB
10689 # Extract the first word of "ranlib", so it can be a program name with args.
10690 set dummy ranlib
; ac_word
=$2
10691 echo "$as_me:$LINENO: checking for $ac_word" >&5
10692 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10693 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
10694 echo $ECHO_N "(cached) $ECHO_C" >&6
10696 if test -n "$ac_ct_RANLIB"; then
10697 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
10699 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10700 for as_dir
in $PATH
10703 test -z "$as_dir" && as_dir
=.
10704 for ac_exec_ext
in '' $ac_executable_extensions; do
10705 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10706 ac_cv_prog_ac_ct_RANLIB
="ranlib"
10707 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10713 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
10716 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
10717 if test -n "$ac_ct_RANLIB"; then
10718 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
10719 echo "${ECHO_T}$ac_ct_RANLIB" >&6
10721 echo "$as_me:$LINENO: result: no" >&5
10722 echo "${ECHO_T}no" >&6
10725 RANLIB
=$ac_ct_RANLIB
10727 RANLIB
="$ac_cv_prog_RANLIB"
10731 # Extract the first word of "ar", so it can be a program name with args.
10732 set dummy
ar; ac_word
=$2
10733 echo "$as_me:$LINENO: checking for $ac_word" >&5
10734 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10735 if test "${ac_cv_prog_AR+set}" = set; then
10736 echo $ECHO_N "(cached) $ECHO_C" >&6
10738 if test -n "$AR"; then
10739 ac_cv_prog_AR
="$AR" # Let the user override the test.
10741 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10742 for as_dir
in $PATH
10745 test -z "$as_dir" && as_dir
=.
10746 for ac_exec_ext
in '' $ac_executable_extensions; do
10747 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10749 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10755 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
10759 if test -n "$AR"; then
10760 echo "$as_me:$LINENO: result: $AR" >&5
10761 echo "${ECHO_T}$AR" >&6
10763 echo "$as_me:$LINENO: result: no" >&5
10764 echo "${ECHO_T}no" >&6
10768 # Find a good install program. We prefer a C program (faster),
10769 # so one script is as good as another. But avoid the broken or
10770 # incompatible versions:
10771 # SysV /etc/install, /usr/sbin/install
10772 # SunOS /usr/etc/install
10773 # IRIX /sbin/install
10775 # AmigaOS /C/install, which installs bootblocks on floppy discs
10776 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
10777 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
10778 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
10779 # ./install, which can be erroneously created by make from ./install.sh.
10780 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
10781 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
10782 if test -z "$INSTALL"; then
10783 if test "${ac_cv_path_install+set}" = set; then
10784 echo $ECHO_N "(cached) $ECHO_C" >&6
10786 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10787 for as_dir
in $PATH
10790 test -z "$as_dir" && as_dir
=.
10791 # Account for people who put trailing slashes in PATH elements.
10793 .
/ | .
// | /cC
/* | \
10794 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
10797 # OSF1 and SCO ODT 3.0 have their own names for install.
10798 # Don't use installbsd from OSF since it installs stuff as root
10800 for ac_prog
in ginstall scoinst
install; do
10801 for ac_exec_ext
in '' $ac_executable_extensions; do
10802 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
10803 if test $ac_prog = install &&
10804 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
10805 # AIX install. It has an incompatible calling convention.
10807 elif test $ac_prog = install &&
10808 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
10809 # program-specific install script used by HP pwplus--don't use.
10812 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
10824 if test "${ac_cv_path_install+set}" = set; then
10825 INSTALL
=$ac_cv_path_install
10827 # As a last resort, use the slow shell script. We don't cache a
10828 # path for INSTALL within a source directory, because that will
10829 # break other packages using the cache if that directory is
10830 # removed, or if the path is relative.
10831 INSTALL
=$ac_install_sh
10834 echo "$as_me:$LINENO: result: $INSTALL" >&5
10835 echo "${ECHO_T}$INSTALL" >&6
10837 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
10838 # It thinks the first close brace ends the variable substitution.
10839 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
10841 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
10843 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
10850 INSTALL
=`pwd`/${INSTALL} ;;
10856 powerpc
-*-darwin* )
10857 INSTALL_PROGRAM
="cp -fp"
10858 INSTALL_DATA
="cp -fp"
10864 # Extract the first word of "strip", so it can be a program name with args.
10865 set dummy strip
; ac_word
=$2
10866 echo "$as_me:$LINENO: checking for $ac_word" >&5
10867 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10868 if test "${ac_cv_prog_STRIP+set}" = set; then
10869 echo $ECHO_N "(cached) $ECHO_C" >&6
10871 if test -n "$STRIP"; then
10872 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
10874 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10875 for as_dir
in $PATH
10878 test -z "$as_dir" && as_dir
=.
10879 for ac_exec_ext
in '' $ac_executable_extensions; do
10880 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10881 ac_cv_prog_STRIP
="strip"
10882 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10888 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
10891 STRIP
=$ac_cv_prog_STRIP
10892 if test -n "$STRIP"; then
10893 echo "$as_me:$LINENO: result: $STRIP" >&5
10894 echo "${ECHO_T}$STRIP" >&6
10896 echo "$as_me:$LINENO: result: no" >&5
10897 echo "${ECHO_T}no" >&6
10901 echo "$as_me:$LINENO: checking if make is GNU make" >&5
10902 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
10903 if test "${wx_cv_prog_makeisgnu+set}" = set; then
10904 echo $ECHO_N "(cached) $ECHO_C" >&6
10907 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
10908 egrep -s GNU
> /dev
/null
); then
10909 wx_cv_prog_makeisgnu
="yes"
10911 wx_cv_prog_makeisgnu
="no"
10915 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
10916 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
10918 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
10926 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
10927 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
10928 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
10929 if test "${wx_cv_prog_makevpath+set}" = set; then
10930 echo $ECHO_N "(cached) $ECHO_C" >&6
10933 cat - << EOF > confMake
10939 if test ! -d sub
; then
10942 echo dummy
> sub
/file
10943 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
10945 rm -f sub
/file check final_file confMake
10947 if test "$RESULT" = 0; then
10948 wx_cv_prog_makevpath
="yes"
10950 wx_cv_prog_makevpath
="no"
10954 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
10955 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
10957 if test "x$wx_cv_prog_makevpath" != "xyes"; then
10958 { { echo "$as_me:$LINENO: error:
10959 You need a make-utility that is able to use the variable
10961 If your version of make does not support VPATH correctly,
10962 please install GNU-make (possibly as gmake), and start
10963 configure with the following command:
10964 export MAKE=gmake; ./configure for sh-type shells
10965 setenv MAKE gmake; ./configure for csh-type shells
10966 Also please do remember to use gmake in this case every time
10967 you are trying to compile.
10969 echo "$as_me: error:
10970 You need a make-utility that is able to use the variable
10972 If your version of make does not support VPATH correctly,
10973 please install GNU-make (possibly as gmake), and start
10974 configure with the following command:
10975 export MAKE=gmake; ./configure for sh-type shells
10976 setenv MAKE gmake; ./configure for csh-type shells
10977 Also please do remember to use gmake in this case every time
10978 you are trying to compile.
10980 { (exit 1); exit 1; }; }
10982 for ac_prog
in 'bison -y' byacc
10984 # Extract the first word of "$ac_prog", so it can be a program name with args.
10985 set dummy
$ac_prog; ac_word
=$2
10986 echo "$as_me:$LINENO: checking for $ac_word" >&5
10987 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10988 if test "${ac_cv_prog_YACC+set}" = set; then
10989 echo $ECHO_N "(cached) $ECHO_C" >&6
10991 if test -n "$YACC"; then
10992 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
10994 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10995 for as_dir
in $PATH
10998 test -z "$as_dir" && as_dir
=.
10999 for ac_exec_ext
in '' $ac_executable_extensions; do
11000 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11001 ac_cv_prog_YACC
="$ac_prog"
11002 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11010 YACC
=$ac_cv_prog_YACC
11011 if test -n "$YACC"; then
11012 echo "$as_me:$LINENO: result: $YACC" >&5
11013 echo "${ECHO_T}$YACC" >&6
11015 echo "$as_me:$LINENO: result: no" >&5
11016 echo "${ECHO_T}no" >&6
11019 test -n "$YACC" && break
11021 test -n "$YACC" || YACC
="yacc"
11024 for ac_prog
in flex
lex
11026 # Extract the first word of "$ac_prog", so it can be a program name with args.
11027 set dummy
$ac_prog; ac_word
=$2
11028 echo "$as_me:$LINENO: checking for $ac_word" >&5
11029 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11030 if test "${ac_cv_prog_LEX+set}" = set; then
11031 echo $ECHO_N "(cached) $ECHO_C" >&6
11033 if test -n "$LEX"; then
11034 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
11036 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11037 for as_dir
in $PATH
11040 test -z "$as_dir" && as_dir
=.
11041 for ac_exec_ext
in '' $ac_executable_extensions; do
11042 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11043 ac_cv_prog_LEX
="$ac_prog"
11044 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11052 LEX
=$ac_cv_prog_LEX
11053 if test -n "$LEX"; then
11054 echo "$as_me:$LINENO: result: $LEX" >&5
11055 echo "${ECHO_T}$LEX" >&6
11057 echo "$as_me:$LINENO: result: no" >&5
11058 echo "${ECHO_T}no" >&6
11061 test -n "$LEX" && break
11063 test -n "$LEX" || LEX
=":"
11065 if test -z "$LEXLIB"
11067 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
11068 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
11069 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
11070 echo $ECHO_N "(cached) $ECHO_C" >&6
11072 ac_check_lib_save_LIBS
=$LIBS
11074 cat >conftest.
$ac_ext <<_ACEOF
11075 #line $LINENO "configure"
11076 #include "confdefs.h"
11078 /* Override any gcc2 internal prototype to avoid an error. */
11082 /* We use char because int might match the return type of a gcc2
11083 builtin and then its argument prototype would still apply. */
11085 #ifdef F77_DUMMY_MAIN
11086 # ifdef __cplusplus
11089 int F77_DUMMY_MAIN() { return 1; }
11099 rm -f conftest.
$ac_objext conftest
$ac_exeext
11100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11101 (eval $ac_link) 2>&5
11103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11104 (exit $ac_status); } &&
11105 { ac_try
='test -s conftest$ac_exeext'
11106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11107 (eval $ac_try) 2>&5
11109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11110 (exit $ac_status); }; }; then
11111 ac_cv_lib_fl_yywrap
=yes
11113 echo "$as_me: failed program was:" >&5
11114 cat conftest.
$ac_ext >&5
11115 ac_cv_lib_fl_yywrap
=no
11117 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11118 LIBS
=$ac_check_lib_save_LIBS
11120 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
11121 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
11122 if test $ac_cv_lib_fl_yywrap = yes; then
11125 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
11126 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
11127 if test "${ac_cv_lib_l_yywrap+set}" = set; then
11128 echo $ECHO_N "(cached) $ECHO_C" >&6
11130 ac_check_lib_save_LIBS
=$LIBS
11132 cat >conftest.
$ac_ext <<_ACEOF
11133 #line $LINENO "configure"
11134 #include "confdefs.h"
11136 /* Override any gcc2 internal prototype to avoid an error. */
11140 /* We use char because int might match the return type of a gcc2
11141 builtin and then its argument prototype would still apply. */
11143 #ifdef F77_DUMMY_MAIN
11144 # ifdef __cplusplus
11147 int F77_DUMMY_MAIN() { return 1; }
11157 rm -f conftest.
$ac_objext conftest
$ac_exeext
11158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11159 (eval $ac_link) 2>&5
11161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11162 (exit $ac_status); } &&
11163 { ac_try
='test -s conftest$ac_exeext'
11164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11165 (eval $ac_try) 2>&5
11167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11168 (exit $ac_status); }; }; then
11169 ac_cv_lib_l_yywrap
=yes
11171 echo "$as_me: failed program was:" >&5
11172 cat conftest.
$ac_ext >&5
11173 ac_cv_lib_l_yywrap
=no
11175 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11176 LIBS
=$ac_check_lib_save_LIBS
11178 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
11179 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
11180 if test $ac_cv_lib_l_yywrap = yes; then
11188 if test "x$LEX" != "x:"; then
11189 echo "$as_me:$LINENO: checking lex output file root" >&5
11190 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
11191 if test "${ac_cv_prog_lex_root+set}" = set; then
11192 echo $ECHO_N "(cached) $ECHO_C" >&6
11194 # The minimal lex program is just a single line: %%. But some broken lexes
11195 # (Solaris, I think it was) want two %% lines, so accommodate them.
11196 cat >conftest.l
<<_ACEOF
11200 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
11201 (eval $LEX conftest.l
) 2>&5
11203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11204 (exit $ac_status); }
11205 if test -f lex.yy.c
; then
11206 ac_cv_prog_lex_root
=lex.yy
11207 elif test -f lexyy.c
; then
11208 ac_cv_prog_lex_root
=lexyy
11210 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
11211 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
11212 { (exit 1); exit 1; }; }
11215 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
11216 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
11218 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
11220 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
11221 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
11222 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
11223 echo $ECHO_N "(cached) $ECHO_C" >&6
11225 # POSIX says lex can declare yytext either as a pointer or an array; the
11226 # default is implementation-dependent. Figure out which it is, since
11227 # not all implementations provide the %pointer and %array declarations.
11228 ac_cv_prog_lex_yytext_pointer
=no
11229 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
11231 LIBS
="$LIBS $LEXLIB"
11232 cat >conftest.
$ac_ext <<_ACEOF
11233 `cat $LEX_OUTPUT_ROOT.c`
11235 rm -f conftest.
$ac_objext conftest
$ac_exeext
11236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11237 (eval $ac_link) 2>&5
11239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11240 (exit $ac_status); } &&
11241 { ac_try
='test -s conftest$ac_exeext'
11242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11243 (eval $ac_try) 2>&5
11245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11246 (exit $ac_status); }; }; then
11247 ac_cv_prog_lex_yytext_pointer
=yes
11249 echo "$as_me: failed program was:" >&5
11250 cat conftest.
$ac_ext >&5
11252 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11254 rm -f "${LEX_OUTPUT_ROOT}.c"
11257 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
11258 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
11259 if test $ac_cv_prog_lex_yytext_pointer = yes; then
11261 cat >>confdefs.h
<<\_ACEOF
11262 #define YYTEXT_POINTER 1
11269 echo "$as_me:$LINENO: checking whether ln -s works" >&5
11270 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
11272 if test "$LN_S" = "ln -s"; then
11273 echo "$as_me:$LINENO: result: yes" >&5
11274 echo "${ECHO_T}yes" >&6
11276 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
11277 echo "${ECHO_T}no, using $LN_S" >&6
11282 if test "$wxUSE_MAC" != 1; then
11283 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11284 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
11285 if test "${ac_cv_header_stdc+set}" = set; then
11286 echo $ECHO_N "(cached) $ECHO_C" >&6
11288 cat >conftest.
$ac_ext <<_ACEOF
11289 #line $LINENO "configure"
11290 #include "confdefs.h"
11291 #include <stdlib.h>
11292 #include <stdarg.h>
11293 #include <string.h>
11297 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11298 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11300 egrep -v '^ *\+' conftest.er1
>conftest.err
11302 cat conftest.err
>&5
11303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11304 (exit $ac_status); } >/dev
/null
; then
11305 if test -s conftest.err
; then
11306 ac_cpp_err
=$ac_c_preproc_warn_flag
11313 if test -z "$ac_cpp_err"; then
11314 ac_cv_header_stdc
=yes
11316 echo "$as_me: failed program was:" >&5
11317 cat conftest.
$ac_ext >&5
11318 ac_cv_header_stdc
=no
11320 rm -f conftest.err conftest.
$ac_ext
11322 if test $ac_cv_header_stdc = yes; then
11323 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11324 cat >conftest.
$ac_ext <<_ACEOF
11325 #line $LINENO "configure"
11326 #include "confdefs.h"
11327 #include <string.h>
11330 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11331 egrep "memchr" >/dev
/null
2>&1; then
11334 ac_cv_header_stdc
=no
11340 if test $ac_cv_header_stdc = yes; then
11341 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11342 cat >conftest.
$ac_ext <<_ACEOF
11343 #line $LINENO "configure"
11344 #include "confdefs.h"
11345 #include <stdlib.h>
11348 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11349 egrep "free" >/dev
/null
2>&1; then
11352 ac_cv_header_stdc
=no
11358 if test $ac_cv_header_stdc = yes; then
11359 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11360 if test "$cross_compiling" = yes; then
11363 cat >conftest.
$ac_ext <<_ACEOF
11364 #line $LINENO "configure"
11365 #include "confdefs.h"
11367 #if ((' ' & 0x0FF) == 0x020)
11368 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11369 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11371 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
11372 || ('j' <= (c) && (c) <= 'r') \
11373 || ('s' <= (c) && (c) <= 'z'))
11374 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11377 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11382 for (i = 0; i < 256; i++)
11383 if (XOR (islower (i), ISLOWER (i))
11384 || toupper (i) != TOUPPER (i))
11389 rm -f conftest
$ac_exeext
11390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11391 (eval $ac_link) 2>&5
11393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11394 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11396 (eval $ac_try) 2>&5
11398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11399 (exit $ac_status); }; }; then
11402 echo "$as_me: program exited with status $ac_status" >&5
11403 echo "$as_me: failed program was:" >&5
11404 cat conftest.
$ac_ext >&5
11405 ( exit $ac_status )
11406 ac_cv_header_stdc
=no
11408 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11412 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
11413 echo "${ECHO_T}$ac_cv_header_stdc" >&6
11414 if test $ac_cv_header_stdc = yes; then
11416 cat >>confdefs.h
<<\_ACEOF
11417 #define STDC_HEADERS 1
11422 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
11432 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
11433 inttypes.h stdint.h unistd.h
11435 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11436 echo "$as_me:$LINENO: checking for $ac_header" >&5
11437 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11438 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11439 echo $ECHO_N "(cached) $ECHO_C" >&6
11441 cat >conftest.
$ac_ext <<_ACEOF
11442 #line $LINENO "configure"
11443 #include "confdefs.h"
11444 $ac_includes_default
11446 #include <$ac_header>
11448 rm -f conftest.
$ac_objext
11449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11450 (eval $ac_compile) 2>&5
11452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11453 (exit $ac_status); } &&
11454 { ac_try
='test -s conftest.$ac_objext'
11455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11456 (eval $ac_try) 2>&5
11458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11459 (exit $ac_status); }; }; then
11460 eval "$as_ac_Header=yes"
11462 echo "$as_me: failed program was:" >&5
11463 cat conftest.
$ac_ext >&5
11464 eval "$as_ac_Header=no"
11466 rm -f conftest.
$ac_objext conftest.
$ac_ext
11468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11469 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11470 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11471 cat >>confdefs.h
<<_ACEOF
11472 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11481 for ac_header
in strings.h
11483 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11484 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11485 echo "$as_me:$LINENO: checking for $ac_header" >&5
11486 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11487 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11488 echo $ECHO_N "(cached) $ECHO_C" >&6
11490 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11491 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11493 # Is the header compilable?
11494 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11495 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11496 cat >conftest.
$ac_ext <<_ACEOF
11497 #line $LINENO "configure"
11498 #include "confdefs.h"
11499 $ac_includes_default
11500 #include <$ac_header>
11502 rm -f conftest.
$ac_objext
11503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11504 (eval $ac_compile) 2>&5
11506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11507 (exit $ac_status); } &&
11508 { ac_try
='test -s conftest.$ac_objext'
11509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11510 (eval $ac_try) 2>&5
11512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11513 (exit $ac_status); }; }; then
11514 ac_header_compiler
=yes
11516 echo "$as_me: failed program was:" >&5
11517 cat conftest.
$ac_ext >&5
11518 ac_header_compiler
=no
11520 rm -f conftest.
$ac_objext conftest.
$ac_ext
11521 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11522 echo "${ECHO_T}$ac_header_compiler" >&6
11524 # Is the header present?
11525 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11526 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11527 cat >conftest.
$ac_ext <<_ACEOF
11528 #line $LINENO "configure"
11529 #include "confdefs.h"
11530 #include <$ac_header>
11532 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11533 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11535 egrep -v '^ *\+' conftest.er1
>conftest.err
11537 cat conftest.err
>&5
11538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11539 (exit $ac_status); } >/dev
/null
; then
11540 if test -s conftest.err
; then
11541 ac_cpp_err
=$ac_c_preproc_warn_flag
11548 if test -z "$ac_cpp_err"; then
11549 ac_header_preproc
=yes
11551 echo "$as_me: failed program was:" >&5
11552 cat conftest.
$ac_ext >&5
11553 ac_header_preproc
=no
11555 rm -f conftest.err conftest.
$ac_ext
11556 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11557 echo "${ECHO_T}$ac_header_preproc" >&6
11559 # So? What about this header?
11560 case $ac_header_compiler:$ac_header_preproc in
11562 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11563 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11564 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11565 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
11567 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11568 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11569 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11570 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11571 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11572 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
11574 echo "$as_me:$LINENO: checking for $ac_header" >&5
11575 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11576 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11577 echo $ECHO_N "(cached) $ECHO_C" >&6
11579 eval "$as_ac_Header=$ac_header_preproc"
11581 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11582 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11585 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11586 cat >>confdefs.h
<<_ACEOF
11587 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11597 for ac_header
in stdlib.h
11599 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11600 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11601 echo "$as_me:$LINENO: checking for $ac_header" >&5
11602 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11603 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11604 echo $ECHO_N "(cached) $ECHO_C" >&6
11606 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11607 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11609 # Is the header compilable?
11610 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11611 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11612 cat >conftest.
$ac_ext <<_ACEOF
11613 #line $LINENO "configure"
11614 #include "confdefs.h"
11615 $ac_includes_default
11616 #include <$ac_header>
11618 rm -f conftest.
$ac_objext
11619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11620 (eval $ac_compile) 2>&5
11622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11623 (exit $ac_status); } &&
11624 { ac_try
='test -s conftest.$ac_objext'
11625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11626 (eval $ac_try) 2>&5
11628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11629 (exit $ac_status); }; }; then
11630 ac_header_compiler
=yes
11632 echo "$as_me: failed program was:" >&5
11633 cat conftest.
$ac_ext >&5
11634 ac_header_compiler
=no
11636 rm -f conftest.
$ac_objext conftest.
$ac_ext
11637 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11638 echo "${ECHO_T}$ac_header_compiler" >&6
11640 # Is the header present?
11641 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11642 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11643 cat >conftest.
$ac_ext <<_ACEOF
11644 #line $LINENO "configure"
11645 #include "confdefs.h"
11646 #include <$ac_header>
11648 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11649 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11651 egrep -v '^ *\+' conftest.er1
>conftest.err
11653 cat conftest.err
>&5
11654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11655 (exit $ac_status); } >/dev
/null
; then
11656 if test -s conftest.err
; then
11657 ac_cpp_err
=$ac_c_preproc_warn_flag
11664 if test -z "$ac_cpp_err"; then
11665 ac_header_preproc
=yes
11667 echo "$as_me: failed program was:" >&5
11668 cat conftest.
$ac_ext >&5
11669 ac_header_preproc
=no
11671 rm -f conftest.err conftest.
$ac_ext
11672 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11673 echo "${ECHO_T}$ac_header_preproc" >&6
11675 # So? What about this header?
11676 case $ac_header_compiler:$ac_header_preproc in
11678 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11679 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11680 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11681 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
11683 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11684 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11685 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11686 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11687 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11688 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
11690 echo "$as_me:$LINENO: checking for $ac_header" >&5
11691 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11692 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11693 echo $ECHO_N "(cached) $ECHO_C" >&6
11695 eval "$as_ac_Header=$ac_header_preproc"
11697 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11698 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11701 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11702 cat >>confdefs.h
<<_ACEOF
11703 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11711 for ac_header
in malloc.h
11713 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11714 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11715 echo "$as_me:$LINENO: checking for $ac_header" >&5
11716 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11717 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11718 echo $ECHO_N "(cached) $ECHO_C" >&6
11720 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11721 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11723 # Is the header compilable?
11724 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11725 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11726 cat >conftest.
$ac_ext <<_ACEOF
11727 #line $LINENO "configure"
11728 #include "confdefs.h"
11729 $ac_includes_default
11730 #include <$ac_header>
11732 rm -f conftest.
$ac_objext
11733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11734 (eval $ac_compile) 2>&5
11736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11737 (exit $ac_status); } &&
11738 { ac_try
='test -s conftest.$ac_objext'
11739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11740 (eval $ac_try) 2>&5
11742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11743 (exit $ac_status); }; }; then
11744 ac_header_compiler
=yes
11746 echo "$as_me: failed program was:" >&5
11747 cat conftest.
$ac_ext >&5
11748 ac_header_compiler
=no
11750 rm -f conftest.
$ac_objext conftest.
$ac_ext
11751 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11752 echo "${ECHO_T}$ac_header_compiler" >&6
11754 # Is the header present?
11755 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11756 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11757 cat >conftest.
$ac_ext <<_ACEOF
11758 #line $LINENO "configure"
11759 #include "confdefs.h"
11760 #include <$ac_header>
11762 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11763 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11765 egrep -v '^ *\+' conftest.er1
>conftest.err
11767 cat conftest.err
>&5
11768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11769 (exit $ac_status); } >/dev
/null
; then
11770 if test -s conftest.err
; then
11771 ac_cpp_err
=$ac_c_preproc_warn_flag
11778 if test -z "$ac_cpp_err"; then
11779 ac_header_preproc
=yes
11781 echo "$as_me: failed program was:" >&5
11782 cat conftest.
$ac_ext >&5
11783 ac_header_preproc
=no
11785 rm -f conftest.err conftest.
$ac_ext
11786 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11787 echo "${ECHO_T}$ac_header_preproc" >&6
11789 # So? What about this header?
11790 case $ac_header_compiler:$ac_header_preproc in
11792 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11793 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11794 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11795 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
11797 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11798 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11799 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11800 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11801 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11802 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
11804 echo "$as_me:$LINENO: checking for $ac_header" >&5
11805 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11806 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11807 echo $ECHO_N "(cached) $ECHO_C" >&6
11809 eval "$as_ac_Header=$ac_header_preproc"
11811 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11812 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11815 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11816 cat >>confdefs.h
<<_ACEOF
11817 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11825 for ac_header
in unistd.h
11827 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11828 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11829 echo "$as_me:$LINENO: checking for $ac_header" >&5
11830 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11831 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11832 echo $ECHO_N "(cached) $ECHO_C" >&6
11834 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11835 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11837 # Is the header compilable?
11838 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11839 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11840 cat >conftest.
$ac_ext <<_ACEOF
11841 #line $LINENO "configure"
11842 #include "confdefs.h"
11843 $ac_includes_default
11844 #include <$ac_header>
11846 rm -f conftest.
$ac_objext
11847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11848 (eval $ac_compile) 2>&5
11850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11851 (exit $ac_status); } &&
11852 { ac_try
='test -s conftest.$ac_objext'
11853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11854 (eval $ac_try) 2>&5
11856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11857 (exit $ac_status); }; }; then
11858 ac_header_compiler
=yes
11860 echo "$as_me: failed program was:" >&5
11861 cat conftest.
$ac_ext >&5
11862 ac_header_compiler
=no
11864 rm -f conftest.
$ac_objext conftest.
$ac_ext
11865 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11866 echo "${ECHO_T}$ac_header_compiler" >&6
11868 # Is the header present?
11869 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11870 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11871 cat >conftest.
$ac_ext <<_ACEOF
11872 #line $LINENO "configure"
11873 #include "confdefs.h"
11874 #include <$ac_header>
11876 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11877 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11879 egrep -v '^ *\+' conftest.er1
>conftest.err
11881 cat conftest.err
>&5
11882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11883 (exit $ac_status); } >/dev
/null
; then
11884 if test -s conftest.err
; then
11885 ac_cpp_err
=$ac_c_preproc_warn_flag
11892 if test -z "$ac_cpp_err"; then
11893 ac_header_preproc
=yes
11895 echo "$as_me: failed program was:" >&5
11896 cat conftest.
$ac_ext >&5
11897 ac_header_preproc
=no
11899 rm -f conftest.err conftest.
$ac_ext
11900 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11901 echo "${ECHO_T}$ac_header_preproc" >&6
11903 # So? What about this header?
11904 case $ac_header_compiler:$ac_header_preproc in
11906 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11907 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11908 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11909 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
11911 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11912 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11913 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11914 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11915 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11916 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
11918 echo "$as_me:$LINENO: checking for $ac_header" >&5
11919 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11920 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11921 echo $ECHO_N "(cached) $ECHO_C" >&6
11923 eval "$as_ac_Header=$ac_header_preproc"
11925 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11926 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11929 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11930 cat >>confdefs.h
<<_ACEOF
11931 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11939 for ac_header
in wchar.h
11941 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11942 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11943 echo "$as_me:$LINENO: checking for $ac_header" >&5
11944 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11945 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11946 echo $ECHO_N "(cached) $ECHO_C" >&6
11948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11949 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11951 # Is the header compilable?
11952 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11953 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11954 cat >conftest.
$ac_ext <<_ACEOF
11955 #line $LINENO "configure"
11956 #include "confdefs.h"
11957 $ac_includes_default
11958 #include <$ac_header>
11960 rm -f conftest.
$ac_objext
11961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11962 (eval $ac_compile) 2>&5
11964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11965 (exit $ac_status); } &&
11966 { ac_try
='test -s conftest.$ac_objext'
11967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11968 (eval $ac_try) 2>&5
11970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11971 (exit $ac_status); }; }; then
11972 ac_header_compiler
=yes
11974 echo "$as_me: failed program was:" >&5
11975 cat conftest.
$ac_ext >&5
11976 ac_header_compiler
=no
11978 rm -f conftest.
$ac_objext conftest.
$ac_ext
11979 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11980 echo "${ECHO_T}$ac_header_compiler" >&6
11982 # Is the header present?
11983 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11984 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11985 cat >conftest.
$ac_ext <<_ACEOF
11986 #line $LINENO "configure"
11987 #include "confdefs.h"
11988 #include <$ac_header>
11990 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11991 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11993 egrep -v '^ *\+' conftest.er1
>conftest.err
11995 cat conftest.err
>&5
11996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11997 (exit $ac_status); } >/dev
/null
; then
11998 if test -s conftest.err
; then
11999 ac_cpp_err
=$ac_c_preproc_warn_flag
12006 if test -z "$ac_cpp_err"; then
12007 ac_header_preproc
=yes
12009 echo "$as_me: failed program was:" >&5
12010 cat conftest.
$ac_ext >&5
12011 ac_header_preproc
=no
12013 rm -f conftest.err conftest.
$ac_ext
12014 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12015 echo "${ECHO_T}$ac_header_preproc" >&6
12017 # So? What about this header?
12018 case $ac_header_compiler:$ac_header_preproc in
12020 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12021 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12022 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12023 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
12025 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12026 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12027 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12028 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12029 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12030 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
12032 echo "$as_me:$LINENO: checking for $ac_header" >&5
12033 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12034 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12035 echo $ECHO_N "(cached) $ECHO_C" >&6
12037 eval "$as_ac_Header=$ac_header_preproc"
12039 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12040 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12043 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12044 cat >>confdefs.h
<<_ACEOF
12045 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12053 if test "$ac_cv_header_wchar_h" != "yes"; then
12055 for ac_header
in wcstr.h
12057 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12058 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12059 echo "$as_me:$LINENO: checking for $ac_header" >&5
12060 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12061 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12062 echo $ECHO_N "(cached) $ECHO_C" >&6
12064 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12065 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12067 # Is the header compilable?
12068 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12069 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12070 cat >conftest.
$ac_ext <<_ACEOF
12071 #line $LINENO "configure"
12072 #include "confdefs.h"
12073 $ac_includes_default
12074 #include <$ac_header>
12076 rm -f conftest.
$ac_objext
12077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12078 (eval $ac_compile) 2>&5
12080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12081 (exit $ac_status); } &&
12082 { ac_try
='test -s conftest.$ac_objext'
12083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12084 (eval $ac_try) 2>&5
12086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12087 (exit $ac_status); }; }; then
12088 ac_header_compiler
=yes
12090 echo "$as_me: failed program was:" >&5
12091 cat conftest.
$ac_ext >&5
12092 ac_header_compiler
=no
12094 rm -f conftest.
$ac_objext conftest.
$ac_ext
12095 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12096 echo "${ECHO_T}$ac_header_compiler" >&6
12098 # Is the header present?
12099 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12100 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12101 cat >conftest.
$ac_ext <<_ACEOF
12102 #line $LINENO "configure"
12103 #include "confdefs.h"
12104 #include <$ac_header>
12106 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12107 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12109 egrep -v '^ *\+' conftest.er1
>conftest.err
12111 cat conftest.err
>&5
12112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12113 (exit $ac_status); } >/dev
/null
; then
12114 if test -s conftest.err
; then
12115 ac_cpp_err
=$ac_c_preproc_warn_flag
12122 if test -z "$ac_cpp_err"; then
12123 ac_header_preproc
=yes
12125 echo "$as_me: failed program was:" >&5
12126 cat conftest.
$ac_ext >&5
12127 ac_header_preproc
=no
12129 rm -f conftest.err conftest.
$ac_ext
12130 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12131 echo "${ECHO_T}$ac_header_preproc" >&6
12133 # So? What about this header?
12134 case $ac_header_compiler:$ac_header_preproc in
12136 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12137 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12138 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12139 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
12141 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12142 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12143 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12144 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12145 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12146 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
12148 echo "$as_me:$LINENO: checking for $ac_header" >&5
12149 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12150 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12151 echo $ECHO_N "(cached) $ECHO_C" >&6
12153 eval "$as_ac_Header=$ac_header_preproc"
12155 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12156 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12159 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12160 cat >>confdefs.h
<<_ACEOF
12161 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12171 for ac_header
in fnmatch.h
12173 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12174 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12175 echo "$as_me:$LINENO: checking for $ac_header" >&5
12176 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12177 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12178 echo $ECHO_N "(cached) $ECHO_C" >&6
12180 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12181 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12183 # Is the header compilable?
12184 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12185 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12186 cat >conftest.
$ac_ext <<_ACEOF
12187 #line $LINENO "configure"
12188 #include "confdefs.h"
12189 $ac_includes_default
12190 #include <$ac_header>
12192 rm -f conftest.
$ac_objext
12193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12194 (eval $ac_compile) 2>&5
12196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12197 (exit $ac_status); } &&
12198 { ac_try
='test -s conftest.$ac_objext'
12199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12200 (eval $ac_try) 2>&5
12202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12203 (exit $ac_status); }; }; then
12204 ac_header_compiler
=yes
12206 echo "$as_me: failed program was:" >&5
12207 cat conftest.
$ac_ext >&5
12208 ac_header_compiler
=no
12210 rm -f conftest.
$ac_objext conftest.
$ac_ext
12211 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12212 echo "${ECHO_T}$ac_header_compiler" >&6
12214 # Is the header present?
12215 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12216 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12217 cat >conftest.
$ac_ext <<_ACEOF
12218 #line $LINENO "configure"
12219 #include "confdefs.h"
12220 #include <$ac_header>
12222 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12223 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12225 egrep -v '^ *\+' conftest.er1
>conftest.err
12227 cat conftest.err
>&5
12228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12229 (exit $ac_status); } >/dev
/null
; then
12230 if test -s conftest.err
; then
12231 ac_cpp_err
=$ac_c_preproc_warn_flag
12238 if test -z "$ac_cpp_err"; then
12239 ac_header_preproc
=yes
12241 echo "$as_me: failed program was:" >&5
12242 cat conftest.
$ac_ext >&5
12243 ac_header_preproc
=no
12245 rm -f conftest.err conftest.
$ac_ext
12246 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12247 echo "${ECHO_T}$ac_header_preproc" >&6
12249 # So? What about this header?
12250 case $ac_header_compiler:$ac_header_preproc in
12252 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12253 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12254 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12255 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
12257 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12258 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12259 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12260 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12261 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12262 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
12264 echo "$as_me:$LINENO: checking for $ac_header" >&5
12265 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12266 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12267 echo $ECHO_N "(cached) $ECHO_C" >&6
12269 eval "$as_ac_Header=$ac_header_preproc"
12271 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12272 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12275 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12276 cat >>confdefs.h
<<_ACEOF
12277 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12285 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
12287 for ac_func
in fnmatch
12289 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12290 echo "$as_me:$LINENO: checking for $ac_func" >&5
12291 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12292 if eval "test \"\${$as_ac_var+set}\" = set"; then
12293 echo $ECHO_N "(cached) $ECHO_C" >&6
12295 cat >conftest.
$ac_ext <<_ACEOF
12296 #line $LINENO "configure"
12297 #include "confdefs.h"
12298 /* System header to define __stub macros and hopefully few prototypes,
12299 which can conflict with char $ac_func (); below. */
12300 #include <assert.h>
12301 /* Override any gcc2 internal prototype to avoid an error. */
12305 /* We use char because int might match the return type of a gcc2
12306 builtin and then its argument prototype would still apply. */
12310 #ifdef F77_DUMMY_MAIN
12311 # ifdef __cplusplus
12314 int F77_DUMMY_MAIN() { return 1; }
12319 /* The GNU C library defines this for functions which it implements
12320 to always fail with ENOSYS. Some functions are actually named
12321 something starting with __ and the normal name is an alias. */
12322 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12332 rm -f conftest.
$ac_objext conftest
$ac_exeext
12333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12334 (eval $ac_link) 2>&5
12336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12337 (exit $ac_status); } &&
12338 { ac_try
='test -s conftest$ac_exeext'
12339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12340 (eval $ac_try) 2>&5
12342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12343 (exit $ac_status); }; }; then
12344 eval "$as_ac_var=yes"
12346 echo "$as_me: failed program was:" >&5
12347 cat conftest.
$ac_ext >&5
12348 eval "$as_ac_var=no"
12350 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
12352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12353 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12354 if test `eval echo '${'$as_ac_var'}'` = yes; then
12355 cat >>confdefs.h
<<_ACEOF
12356 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12365 for ac_header
in langinfo.h
12367 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12368 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12369 echo "$as_me:$LINENO: checking for $ac_header" >&5
12370 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12371 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12372 echo $ECHO_N "(cached) $ECHO_C" >&6
12374 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12375 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12377 # Is the header compilable?
12378 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12379 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12380 cat >conftest.
$ac_ext <<_ACEOF
12381 #line $LINENO "configure"
12382 #include "confdefs.h"
12383 $ac_includes_default
12384 #include <$ac_header>
12386 rm -f conftest.
$ac_objext
12387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12388 (eval $ac_compile) 2>&5
12390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12391 (exit $ac_status); } &&
12392 { ac_try
='test -s conftest.$ac_objext'
12393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12394 (eval $ac_try) 2>&5
12396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12397 (exit $ac_status); }; }; then
12398 ac_header_compiler
=yes
12400 echo "$as_me: failed program was:" >&5
12401 cat conftest.
$ac_ext >&5
12402 ac_header_compiler
=no
12404 rm -f conftest.
$ac_objext conftest.
$ac_ext
12405 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12406 echo "${ECHO_T}$ac_header_compiler" >&6
12408 # Is the header present?
12409 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12410 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12411 cat >conftest.
$ac_ext <<_ACEOF
12412 #line $LINENO "configure"
12413 #include "confdefs.h"
12414 #include <$ac_header>
12416 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12417 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12419 egrep -v '^ *\+' conftest.er1
>conftest.err
12421 cat conftest.err
>&5
12422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12423 (exit $ac_status); } >/dev
/null
; then
12424 if test -s conftest.err
; then
12425 ac_cpp_err
=$ac_c_preproc_warn_flag
12432 if test -z "$ac_cpp_err"; then
12433 ac_header_preproc
=yes
12435 echo "$as_me: failed program was:" >&5
12436 cat conftest.
$ac_ext >&5
12437 ac_header_preproc
=no
12439 rm -f conftest.err conftest.
$ac_ext
12440 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12441 echo "${ECHO_T}$ac_header_preproc" >&6
12443 # So? What about this header?
12444 case $ac_header_compiler:$ac_header_preproc in
12446 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12447 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12448 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12449 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
12451 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12452 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12453 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12454 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12455 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12456 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
12458 echo "$as_me:$LINENO: checking for $ac_header" >&5
12459 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12460 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12461 echo $ECHO_N "(cached) $ECHO_C" >&6
12463 eval "$as_ac_Header=$ac_header_preproc"
12465 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12466 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12469 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12470 cat >>confdefs.h
<<_ACEOF
12471 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12479 if test "$wxUSE_GUI" = "yes"; then
12480 if test "$wxUSE_UNIX" = "yes"; then
12482 for ac_header
in X
11/XKBlib.h
12484 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12485 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12486 echo "$as_me:$LINENO: checking for $ac_header" >&5
12487 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12488 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12489 echo $ECHO_N "(cached) $ECHO_C" >&6
12491 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12492 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12494 # Is the header compilable?
12495 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12496 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12497 cat >conftest.
$ac_ext <<_ACEOF
12498 #line $LINENO "configure"
12499 #include "confdefs.h"
12500 $ac_includes_default
12501 #include <$ac_header>
12503 rm -f conftest.
$ac_objext
12504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12505 (eval $ac_compile) 2>&5
12507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12508 (exit $ac_status); } &&
12509 { ac_try
='test -s conftest.$ac_objext'
12510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12511 (eval $ac_try) 2>&5
12513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12514 (exit $ac_status); }; }; then
12515 ac_header_compiler
=yes
12517 echo "$as_me: failed program was:" >&5
12518 cat conftest.
$ac_ext >&5
12519 ac_header_compiler
=no
12521 rm -f conftest.
$ac_objext conftest.
$ac_ext
12522 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12523 echo "${ECHO_T}$ac_header_compiler" >&6
12525 # Is the header present?
12526 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12527 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12528 cat >conftest.
$ac_ext <<_ACEOF
12529 #line $LINENO "configure"
12530 #include "confdefs.h"
12531 #include <$ac_header>
12533 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12534 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12536 egrep -v '^ *\+' conftest.er1
>conftest.err
12538 cat conftest.err
>&5
12539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12540 (exit $ac_status); } >/dev
/null
; then
12541 if test -s conftest.err
; then
12542 ac_cpp_err
=$ac_c_preproc_warn_flag
12549 if test -z "$ac_cpp_err"; then
12550 ac_header_preproc
=yes
12552 echo "$as_me: failed program was:" >&5
12553 cat conftest.
$ac_ext >&5
12554 ac_header_preproc
=no
12556 rm -f conftest.err conftest.
$ac_ext
12557 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12558 echo "${ECHO_T}$ac_header_preproc" >&6
12560 # So? What about this header?
12561 case $ac_header_compiler:$ac_header_preproc in
12563 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12564 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12565 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12566 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
12568 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12569 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12570 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12571 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12572 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12573 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
12575 echo "$as_me:$LINENO: checking for $ac_header" >&5
12576 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12577 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12578 echo $ECHO_N "(cached) $ECHO_C" >&6
12580 eval "$as_ac_Header=$ac_header_preproc"
12582 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12583 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12586 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12587 cat >>confdefs.h
<<_ACEOF
12588 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12599 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
12600 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
12601 if test "${ac_cv_prog_cc_stdc+set}" = set; then
12602 echo $ECHO_N "(cached) $ECHO_C" >&6
12604 ac_cv_prog_cc_stdc
=no
12606 cat >conftest.
$ac_ext <<_ACEOF
12607 #line $LINENO "configure"
12608 #include "confdefs.h"
12609 #include <stdarg.h>
12611 #include <sys/types.h>
12612 #include <sys/stat.h>
12613 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12614 struct buf { int x; };
12615 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12616 static char *e (p, i)
12622 static char *f (char * (*g) (char **, int), char **p, ...)
12627 s = g (p, va_arg (v,int));
12631 int test (int i, double x);
12632 struct s1 {int (*f) (int a);};
12633 struct s2 {int (*f) (double a);};
12634 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12637 #ifdef F77_DUMMY_MAIN
12638 # ifdef __cplusplus
12641 int F77_DUMMY_MAIN() { return 1; }
12646 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12651 # Don't try gcc -ansi; that turns off useful extensions and
12652 # breaks some systems' header files.
12653 # AIX -qlanglvl=ansi
12654 # Ultrix and OSF/1 -std1
12655 # HP-UX 10.20 and later -Ae
12656 # HP-UX older versions -Aa -D_HPUX_SOURCE
12657 # SVR4 -Xc -D__EXTENSIONS__
12658 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12660 CC
="$ac_save_CC $ac_arg"
12661 rm -f conftest.
$ac_objext
12662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12663 (eval $ac_compile) 2>&5
12665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12666 (exit $ac_status); } &&
12667 { ac_try
='test -s conftest.$ac_objext'
12668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12669 (eval $ac_try) 2>&5
12671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12672 (exit $ac_status); }; }; then
12673 ac_cv_prog_cc_stdc
=$ac_arg
12676 echo "$as_me: failed program was:" >&5
12677 cat conftest.
$ac_ext >&5
12679 rm -f conftest.
$ac_objext
12681 rm -f conftest.
$ac_ext conftest.
$ac_objext
12686 case "x$ac_cv_prog_cc_stdc" in
12688 echo "$as_me:$LINENO: result: none needed" >&5
12689 echo "${ECHO_T}none needed" >&6 ;;
12691 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
12692 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
12693 CC
="$CC $ac_cv_prog_cc_stdc" ;;
12696 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
12697 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
12698 if test "${ac_cv_c_const+set}" = set; then
12699 echo $ECHO_N "(cached) $ECHO_C" >&6
12701 cat >conftest.
$ac_ext <<_ACEOF
12702 #line $LINENO "configure"
12703 #include "confdefs.h"
12705 #ifdef F77_DUMMY_MAIN
12706 # ifdef __cplusplus
12709 int F77_DUMMY_MAIN() { return 1; }
12714 /* FIXME: Include the comments suggested by Paul. */
12715 #ifndef __cplusplus
12716 /* Ultrix mips cc rejects this. */
12717 typedef int charset[2];
12719 /* SunOS 4.1.1 cc rejects this. */
12720 char const *const *ccp;
12722 /* NEC SVR4.0.2 mips cc rejects this. */
12723 struct point {int x, y;};
12724 static struct point const zero = {0,0};
12725 /* AIX XL C 1.02.0.0 rejects this.
12726 It does not let you subtract one const X* pointer from another in
12727 an arm of an if-expression whose if-part is not a constant
12729 const char *g = "string";
12730 ccp = &g + (g ? g-g : 0);
12731 /* HPUX 7.0 cc rejects these. */
12734 ccp = (char const *const *) p;
12735 { /* SCO 3.2v4 cc rejects this. */
12737 char const *s = 0 ? (char *) 0 : (char const *) 0;
12741 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
12742 int x[] = {25, 17};
12743 const int *foo = &x[0];
12746 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12747 typedef const int *iptr;
12751 { /* AIX XL C 1.02.0.0 rejects this saying
12752 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12753 struct s { int j; const int *ap[3]; };
12754 struct s *b; b->j = 5;
12756 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12757 const int foo = 10;
12765 rm -f conftest.
$ac_objext
12766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12767 (eval $ac_compile) 2>&5
12769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12770 (exit $ac_status); } &&
12771 { ac_try
='test -s conftest.$ac_objext'
12772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12773 (eval $ac_try) 2>&5
12775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12776 (exit $ac_status); }; }; then
12779 echo "$as_me: failed program was:" >&5
12780 cat conftest.
$ac_ext >&5
12783 rm -f conftest.
$ac_objext conftest.
$ac_ext
12785 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
12786 echo "${ECHO_T}$ac_cv_c_const" >&6
12787 if test $ac_cv_c_const = no
; then
12789 cat >>confdefs.h
<<\_ACEOF
12795 echo "$as_me:$LINENO: checking for inline" >&5
12796 echo $ECHO_N "checking for inline... $ECHO_C" >&6
12797 if test "${ac_cv_c_inline+set}" = set; then
12798 echo $ECHO_N "(cached) $ECHO_C" >&6
12801 for ac_kw
in inline __inline__ __inline
; do
12802 cat >conftest.
$ac_ext <<_ACEOF
12803 #line $LINENO "configure"
12804 #include "confdefs.h"
12805 #ifndef __cplusplus
12806 static $ac_kw int static_foo () {return 0; }
12807 $ac_kw int foo () {return 0; }
12811 rm -f conftest.
$ac_objext
12812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12813 (eval $ac_compile) 2>&5
12815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12816 (exit $ac_status); } &&
12817 { ac_try
='test -s conftest.$ac_objext'
12818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12819 (eval $ac_try) 2>&5
12821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12822 (exit $ac_status); }; }; then
12823 ac_cv_c_inline
=$ac_kw; break
12825 echo "$as_me: failed program was:" >&5
12826 cat conftest.
$ac_ext >&5
12828 rm -f conftest.
$ac_objext conftest.
$ac_ext
12832 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
12833 echo "${ECHO_T}$ac_cv_c_inline" >&6
12834 case $ac_cv_c_inline in
12837 cat >>confdefs.h
<<\_ACEOF
12841 *) cat >>confdefs.h
<<_ACEOF
12842 #define inline $ac_cv_c_inline
12848 echo "$as_me:$LINENO: checking for char" >&5
12849 echo $ECHO_N "checking for char... $ECHO_C" >&6
12850 if test "${ac_cv_type_char+set}" = set; then
12851 echo $ECHO_N "(cached) $ECHO_C" >&6
12853 cat >conftest.
$ac_ext <<_ACEOF
12854 #line $LINENO "configure"
12855 #include "confdefs.h"
12856 $ac_includes_default
12857 #ifdef F77_DUMMY_MAIN
12858 # ifdef __cplusplus
12861 int F77_DUMMY_MAIN() { return 1; }
12874 rm -f conftest.
$ac_objext
12875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12876 (eval $ac_compile) 2>&5
12878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12879 (exit $ac_status); } &&
12880 { ac_try
='test -s conftest.$ac_objext'
12881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12882 (eval $ac_try) 2>&5
12884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12885 (exit $ac_status); }; }; then
12886 ac_cv_type_char
=yes
12888 echo "$as_me: failed program was:" >&5
12889 cat conftest.
$ac_ext >&5
12892 rm -f conftest.
$ac_objext conftest.
$ac_ext
12894 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
12895 echo "${ECHO_T}$ac_cv_type_char" >&6
12897 echo "$as_me:$LINENO: checking size of char" >&5
12898 echo $ECHO_N "checking size of char... $ECHO_C" >&6
12899 if test "${ac_cv_sizeof_char+set}" = set; then
12900 echo $ECHO_N "(cached) $ECHO_C" >&6
12902 if test "$ac_cv_type_char" = yes; then
12903 # The cast to unsigned long works around a bug in the HP C Compiler
12904 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12905 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12906 # This bug is HP SR number 8606223364.
12907 if test "$cross_compiling" = yes; then
12908 # Depending upon the size, compute the lo and hi bounds.
12909 cat >conftest.
$ac_ext <<_ACEOF
12910 #line $LINENO "configure"
12911 #include "confdefs.h"
12912 $ac_includes_default
12913 #ifdef F77_DUMMY_MAIN
12914 # ifdef __cplusplus
12917 int F77_DUMMY_MAIN() { return 1; }
12922 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
12929 rm -f conftest.
$ac_objext
12930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12931 (eval $ac_compile) 2>&5
12933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12934 (exit $ac_status); } &&
12935 { ac_try
='test -s conftest.$ac_objext'
12936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12937 (eval $ac_try) 2>&5
12939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12940 (exit $ac_status); }; }; then
12943 cat >conftest.
$ac_ext <<_ACEOF
12944 #line $LINENO "configure"
12945 #include "confdefs.h"
12946 $ac_includes_default
12947 #ifdef F77_DUMMY_MAIN
12948 # ifdef __cplusplus
12951 int F77_DUMMY_MAIN() { return 1; }
12956 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
12963 rm -f conftest.
$ac_objext
12964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12965 (eval $ac_compile) 2>&5
12967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12968 (exit $ac_status); } &&
12969 { ac_try
='test -s conftest.$ac_objext'
12970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12971 (eval $ac_try) 2>&5
12973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12974 (exit $ac_status); }; }; then
12975 ac_hi
=$ac_mid; break
12977 echo "$as_me: failed program was:" >&5
12978 cat conftest.
$ac_ext >&5
12979 ac_lo
=`expr $ac_mid + 1`
12980 if test $ac_lo -le $ac_mid; then
12984 ac_mid
=`expr 2 '*' $ac_mid + 1`
12986 rm -f conftest.
$ac_objext conftest.
$ac_ext
12989 echo "$as_me: failed program was:" >&5
12990 cat conftest.
$ac_ext >&5
12991 cat >conftest.
$ac_ext <<_ACEOF
12992 #line $LINENO "configure"
12993 #include "confdefs.h"
12994 $ac_includes_default
12995 #ifdef F77_DUMMY_MAIN
12996 # ifdef __cplusplus
12999 int F77_DUMMY_MAIN() { return 1; }
13004 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
13011 rm -f conftest.
$ac_objext
13012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13013 (eval $ac_compile) 2>&5
13015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13016 (exit $ac_status); } &&
13017 { ac_try
='test -s conftest.$ac_objext'
13018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13019 (eval $ac_try) 2>&5
13021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13022 (exit $ac_status); }; }; then
13025 cat >conftest.
$ac_ext <<_ACEOF
13026 #line $LINENO "configure"
13027 #include "confdefs.h"
13028 $ac_includes_default
13029 #ifdef F77_DUMMY_MAIN
13030 # ifdef __cplusplus
13033 int F77_DUMMY_MAIN() { return 1; }
13038 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
13045 rm -f conftest.
$ac_objext
13046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13047 (eval $ac_compile) 2>&5
13049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13050 (exit $ac_status); } &&
13051 { ac_try
='test -s conftest.$ac_objext'
13052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13053 (eval $ac_try) 2>&5
13055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13056 (exit $ac_status); }; }; then
13057 ac_lo
=$ac_mid; break
13059 echo "$as_me: failed program was:" >&5
13060 cat conftest.
$ac_ext >&5
13061 ac_hi
=`expr '(' $ac_mid ')' - 1`
13062 if test $ac_mid -le $ac_hi; then
13066 ac_mid
=`expr 2 '*' $ac_mid`
13068 rm -f conftest.
$ac_objext conftest.
$ac_ext
13071 echo "$as_me: failed program was:" >&5
13072 cat conftest.
$ac_ext >&5
13075 rm -f conftest.
$ac_objext conftest.
$ac_ext
13077 rm -f conftest.
$ac_objext conftest.
$ac_ext
13078 # Binary search between lo and hi bounds.
13079 while test "x$ac_lo" != "x$ac_hi"; do
13080 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13081 cat >conftest.
$ac_ext <<_ACEOF
13082 #line $LINENO "configure"
13083 #include "confdefs.h"
13084 $ac_includes_default
13085 #ifdef F77_DUMMY_MAIN
13086 # ifdef __cplusplus
13089 int F77_DUMMY_MAIN() { return 1; }
13094 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13101 rm -f conftest.
$ac_objext
13102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13103 (eval $ac_compile) 2>&5
13105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13106 (exit $ac_status); } &&
13107 { ac_try
='test -s conftest.$ac_objext'
13108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13109 (eval $ac_try) 2>&5
13111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13112 (exit $ac_status); }; }; then
13115 echo "$as_me: failed program was:" >&5
13116 cat conftest.
$ac_ext >&5
13117 ac_lo
=`expr '(' $ac_mid ')' + 1`
13119 rm -f conftest.
$ac_objext conftest.
$ac_ext
13122 ?
*) ac_cv_sizeof_char
=$ac_lo;;
13123 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77" >&5
13124 echo "$as_me: error: cannot compute sizeof (char), 77" >&2;}
13125 { (exit 1); exit 1; }; } ;;
13128 if test "$cross_compiling" = yes; then
13129 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
13130 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
13131 { (exit 1); exit 1; }; }
13133 cat >conftest.
$ac_ext <<_ACEOF
13134 #line $LINENO "configure"
13135 #include "confdefs.h"
13136 $ac_includes_default
13137 long longval () { return (long) (sizeof (char)); }
13138 unsigned long ulongval () { return (long) (sizeof (char)); }
13140 #include <stdlib.h>
13141 #ifdef F77_DUMMY_MAIN
13142 # ifdef __cplusplus
13145 int F77_DUMMY_MAIN() { return 1; }
13151 FILE *f = fopen ("conftest.val", "w");
13154 if (((long) (sizeof (char))) < 0)
13156 long i = longval ();
13157 if (i != ((long) (sizeof (char))))
13159 fprintf (f, "%ld\n", i);
13163 unsigned long i = ulongval ();
13164 if (i != ((long) (sizeof (char))))
13166 fprintf (f, "%lu\n", i);
13168 exit (ferror (f) || fclose (f) != 0);
13174 rm -f conftest
$ac_exeext
13175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13176 (eval $ac_link) 2>&5
13178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13179 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13181 (eval $ac_try) 2>&5
13183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13184 (exit $ac_status); }; }; then
13185 ac_cv_sizeof_char
=`cat conftest.val`
13187 echo "$as_me: program exited with status $ac_status" >&5
13188 echo "$as_me: failed program was:" >&5
13189 cat conftest.
$ac_ext >&5
13190 ( exit $ac_status )
13191 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77" >&5
13192 echo "$as_me: error: cannot compute sizeof (char), 77" >&2;}
13193 { (exit 1); exit 1; }; }
13195 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13200 ac_cv_sizeof_char
=0
13203 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
13204 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
13205 cat >>confdefs.h
<<_ACEOF
13206 #define SIZEOF_CHAR $ac_cv_sizeof_char
13210 echo "$as_me:$LINENO: checking for short" >&5
13211 echo $ECHO_N "checking for short... $ECHO_C" >&6
13212 if test "${ac_cv_type_short+set}" = set; then
13213 echo $ECHO_N "(cached) $ECHO_C" >&6
13215 cat >conftest.
$ac_ext <<_ACEOF
13216 #line $LINENO "configure"
13217 #include "confdefs.h"
13218 $ac_includes_default
13219 #ifdef F77_DUMMY_MAIN
13220 # ifdef __cplusplus
13223 int F77_DUMMY_MAIN() { return 1; }
13230 if (sizeof (short))
13236 rm -f conftest.
$ac_objext
13237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13238 (eval $ac_compile) 2>&5
13240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13241 (exit $ac_status); } &&
13242 { ac_try
='test -s conftest.$ac_objext'
13243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13244 (eval $ac_try) 2>&5
13246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13247 (exit $ac_status); }; }; then
13248 ac_cv_type_short
=yes
13250 echo "$as_me: failed program was:" >&5
13251 cat conftest.
$ac_ext >&5
13252 ac_cv_type_short
=no
13254 rm -f conftest.
$ac_objext conftest.
$ac_ext
13256 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
13257 echo "${ECHO_T}$ac_cv_type_short" >&6
13259 echo "$as_me:$LINENO: checking size of short" >&5
13260 echo $ECHO_N "checking size of short... $ECHO_C" >&6
13261 if test "${ac_cv_sizeof_short+set}" = set; then
13262 echo $ECHO_N "(cached) $ECHO_C" >&6
13264 if test "$ac_cv_type_short" = yes; then
13265 # The cast to unsigned long works around a bug in the HP C Compiler
13266 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13267 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13268 # This bug is HP SR number 8606223364.
13269 if test "$cross_compiling" = yes; then
13270 # Depending upon the size, compute the lo and hi bounds.
13271 cat >conftest.
$ac_ext <<_ACEOF
13272 #line $LINENO "configure"
13273 #include "confdefs.h"
13274 $ac_includes_default
13275 #ifdef F77_DUMMY_MAIN
13276 # ifdef __cplusplus
13279 int F77_DUMMY_MAIN() { return 1; }
13284 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
13291 rm -f conftest.
$ac_objext
13292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13293 (eval $ac_compile) 2>&5
13295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13296 (exit $ac_status); } &&
13297 { ac_try
='test -s conftest.$ac_objext'
13298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13299 (eval $ac_try) 2>&5
13301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13302 (exit $ac_status); }; }; then
13305 cat >conftest.
$ac_ext <<_ACEOF
13306 #line $LINENO "configure"
13307 #include "confdefs.h"
13308 $ac_includes_default
13309 #ifdef F77_DUMMY_MAIN
13310 # ifdef __cplusplus
13313 int F77_DUMMY_MAIN() { return 1; }
13318 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
13325 rm -f conftest.
$ac_objext
13326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13327 (eval $ac_compile) 2>&5
13329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13330 (exit $ac_status); } &&
13331 { ac_try
='test -s conftest.$ac_objext'
13332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13333 (eval $ac_try) 2>&5
13335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13336 (exit $ac_status); }; }; then
13337 ac_hi
=$ac_mid; break
13339 echo "$as_me: failed program was:" >&5
13340 cat conftest.
$ac_ext >&5
13341 ac_lo
=`expr $ac_mid + 1`
13342 if test $ac_lo -le $ac_mid; then
13346 ac_mid
=`expr 2 '*' $ac_mid + 1`
13348 rm -f conftest.
$ac_objext conftest.
$ac_ext
13351 echo "$as_me: failed program was:" >&5
13352 cat conftest.
$ac_ext >&5
13353 cat >conftest.
$ac_ext <<_ACEOF
13354 #line $LINENO "configure"
13355 #include "confdefs.h"
13356 $ac_includes_default
13357 #ifdef F77_DUMMY_MAIN
13358 # ifdef __cplusplus
13361 int F77_DUMMY_MAIN() { return 1; }
13366 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
13373 rm -f conftest.
$ac_objext
13374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13375 (eval $ac_compile) 2>&5
13377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13378 (exit $ac_status); } &&
13379 { ac_try
='test -s conftest.$ac_objext'
13380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13381 (eval $ac_try) 2>&5
13383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13384 (exit $ac_status); }; }; then
13387 cat >conftest.
$ac_ext <<_ACEOF
13388 #line $LINENO "configure"
13389 #include "confdefs.h"
13390 $ac_includes_default
13391 #ifdef F77_DUMMY_MAIN
13392 # ifdef __cplusplus
13395 int F77_DUMMY_MAIN() { return 1; }
13400 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
13407 rm -f conftest.
$ac_objext
13408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13409 (eval $ac_compile) 2>&5
13411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13412 (exit $ac_status); } &&
13413 { ac_try
='test -s conftest.$ac_objext'
13414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13415 (eval $ac_try) 2>&5
13417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13418 (exit $ac_status); }; }; then
13419 ac_lo
=$ac_mid; break
13421 echo "$as_me: failed program was:" >&5
13422 cat conftest.
$ac_ext >&5
13423 ac_hi
=`expr '(' $ac_mid ')' - 1`
13424 if test $ac_mid -le $ac_hi; then
13428 ac_mid
=`expr 2 '*' $ac_mid`
13430 rm -f conftest.
$ac_objext conftest.
$ac_ext
13433 echo "$as_me: failed program was:" >&5
13434 cat conftest.
$ac_ext >&5
13437 rm -f conftest.
$ac_objext conftest.
$ac_ext
13439 rm -f conftest.
$ac_objext conftest.
$ac_ext
13440 # Binary search between lo and hi bounds.
13441 while test "x$ac_lo" != "x$ac_hi"; do
13442 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13443 cat >conftest.
$ac_ext <<_ACEOF
13444 #line $LINENO "configure"
13445 #include "confdefs.h"
13446 $ac_includes_default
13447 #ifdef F77_DUMMY_MAIN
13448 # ifdef __cplusplus
13451 int F77_DUMMY_MAIN() { return 1; }
13456 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
13463 rm -f conftest.
$ac_objext
13464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13465 (eval $ac_compile) 2>&5
13467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13468 (exit $ac_status); } &&
13469 { ac_try
='test -s conftest.$ac_objext'
13470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13471 (eval $ac_try) 2>&5
13473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13474 (exit $ac_status); }; }; then
13477 echo "$as_me: failed program was:" >&5
13478 cat conftest.
$ac_ext >&5
13479 ac_lo
=`expr '(' $ac_mid ')' + 1`
13481 rm -f conftest.
$ac_objext conftest.
$ac_ext
13484 ?
*) ac_cv_sizeof_short
=$ac_lo;;
13485 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77" >&5
13486 echo "$as_me: error: cannot compute sizeof (short), 77" >&2;}
13487 { (exit 1); exit 1; }; } ;;
13490 if test "$cross_compiling" = yes; then
13491 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
13492 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
13493 { (exit 1); exit 1; }; }
13495 cat >conftest.
$ac_ext <<_ACEOF
13496 #line $LINENO "configure"
13497 #include "confdefs.h"
13498 $ac_includes_default
13499 long longval () { return (long) (sizeof (short)); }
13500 unsigned long ulongval () { return (long) (sizeof (short)); }
13502 #include <stdlib.h>
13503 #ifdef F77_DUMMY_MAIN
13504 # ifdef __cplusplus
13507 int F77_DUMMY_MAIN() { return 1; }
13513 FILE *f = fopen ("conftest.val", "w");
13516 if (((long) (sizeof (short))) < 0)
13518 long i = longval ();
13519 if (i != ((long) (sizeof (short))))
13521 fprintf (f, "%ld\n", i);
13525 unsigned long i = ulongval ();
13526 if (i != ((long) (sizeof (short))))
13528 fprintf (f, "%lu\n", i);
13530 exit (ferror (f) || fclose (f) != 0);
13536 rm -f conftest
$ac_exeext
13537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13538 (eval $ac_link) 2>&5
13540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13541 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13543 (eval $ac_try) 2>&5
13545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13546 (exit $ac_status); }; }; then
13547 ac_cv_sizeof_short
=`cat conftest.val`
13549 echo "$as_me: program exited with status $ac_status" >&5
13550 echo "$as_me: failed program was:" >&5
13551 cat conftest.
$ac_ext >&5
13552 ( exit $ac_status )
13553 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77" >&5
13554 echo "$as_me: error: cannot compute sizeof (short), 77" >&2;}
13555 { (exit 1); exit 1; }; }
13557 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13562 ac_cv_sizeof_short
=0
13565 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
13566 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
13567 cat >>confdefs.h
<<_ACEOF
13568 #define SIZEOF_SHORT $ac_cv_sizeof_short
13572 echo "$as_me:$LINENO: checking for void *" >&5
13573 echo $ECHO_N "checking for void *... $ECHO_C" >&6
13574 if test "${ac_cv_type_void_p+set}" = set; then
13575 echo $ECHO_N "(cached) $ECHO_C" >&6
13577 cat >conftest.
$ac_ext <<_ACEOF
13578 #line $LINENO "configure"
13579 #include "confdefs.h"
13580 $ac_includes_default
13581 #ifdef F77_DUMMY_MAIN
13582 # ifdef __cplusplus
13585 int F77_DUMMY_MAIN() { return 1; }
13592 if (sizeof (void *))
13598 rm -f conftest.
$ac_objext
13599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13600 (eval $ac_compile) 2>&5
13602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13603 (exit $ac_status); } &&
13604 { ac_try
='test -s conftest.$ac_objext'
13605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13606 (eval $ac_try) 2>&5
13608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13609 (exit $ac_status); }; }; then
13610 ac_cv_type_void_p
=yes
13612 echo "$as_me: failed program was:" >&5
13613 cat conftest.
$ac_ext >&5
13614 ac_cv_type_void_p
=no
13616 rm -f conftest.
$ac_objext conftest.
$ac_ext
13618 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
13619 echo "${ECHO_T}$ac_cv_type_void_p" >&6
13621 echo "$as_me:$LINENO: checking size of void *" >&5
13622 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
13623 if test "${ac_cv_sizeof_void_p+set}" = set; then
13624 echo $ECHO_N "(cached) $ECHO_C" >&6
13626 if test "$ac_cv_type_void_p" = yes; then
13627 # The cast to unsigned long works around a bug in the HP C Compiler
13628 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13629 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13630 # This bug is HP SR number 8606223364.
13631 if test "$cross_compiling" = yes; then
13632 # Depending upon the size, compute the lo and hi bounds.
13633 cat >conftest.
$ac_ext <<_ACEOF
13634 #line $LINENO "configure"
13635 #include "confdefs.h"
13636 $ac_includes_default
13637 #ifdef F77_DUMMY_MAIN
13638 # ifdef __cplusplus
13641 int F77_DUMMY_MAIN() { return 1; }
13646 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
13653 rm -f conftest.
$ac_objext
13654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13655 (eval $ac_compile) 2>&5
13657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13658 (exit $ac_status); } &&
13659 { ac_try
='test -s conftest.$ac_objext'
13660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13661 (eval $ac_try) 2>&5
13663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13664 (exit $ac_status); }; }; then
13667 cat >conftest.
$ac_ext <<_ACEOF
13668 #line $LINENO "configure"
13669 #include "confdefs.h"
13670 $ac_includes_default
13671 #ifdef F77_DUMMY_MAIN
13672 # ifdef __cplusplus
13675 int F77_DUMMY_MAIN() { return 1; }
13680 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
13687 rm -f conftest.
$ac_objext
13688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13689 (eval $ac_compile) 2>&5
13691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13692 (exit $ac_status); } &&
13693 { ac_try
='test -s conftest.$ac_objext'
13694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13695 (eval $ac_try) 2>&5
13697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13698 (exit $ac_status); }; }; then
13699 ac_hi
=$ac_mid; break
13701 echo "$as_me: failed program was:" >&5
13702 cat conftest.
$ac_ext >&5
13703 ac_lo
=`expr $ac_mid + 1`
13704 if test $ac_lo -le $ac_mid; then
13708 ac_mid
=`expr 2 '*' $ac_mid + 1`
13710 rm -f conftest.
$ac_objext conftest.
$ac_ext
13713 echo "$as_me: failed program was:" >&5
13714 cat conftest.
$ac_ext >&5
13715 cat >conftest.
$ac_ext <<_ACEOF
13716 #line $LINENO "configure"
13717 #include "confdefs.h"
13718 $ac_includes_default
13719 #ifdef F77_DUMMY_MAIN
13720 # ifdef __cplusplus
13723 int F77_DUMMY_MAIN() { return 1; }
13728 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
13735 rm -f conftest.
$ac_objext
13736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13737 (eval $ac_compile) 2>&5
13739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13740 (exit $ac_status); } &&
13741 { ac_try
='test -s conftest.$ac_objext'
13742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13743 (eval $ac_try) 2>&5
13745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13746 (exit $ac_status); }; }; then
13749 cat >conftest.
$ac_ext <<_ACEOF
13750 #line $LINENO "configure"
13751 #include "confdefs.h"
13752 $ac_includes_default
13753 #ifdef F77_DUMMY_MAIN
13754 # ifdef __cplusplus
13757 int F77_DUMMY_MAIN() { return 1; }
13762 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
13769 rm -f conftest.
$ac_objext
13770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13771 (eval $ac_compile) 2>&5
13773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13774 (exit $ac_status); } &&
13775 { ac_try
='test -s conftest.$ac_objext'
13776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13777 (eval $ac_try) 2>&5
13779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13780 (exit $ac_status); }; }; then
13781 ac_lo
=$ac_mid; break
13783 echo "$as_me: failed program was:" >&5
13784 cat conftest.
$ac_ext >&5
13785 ac_hi
=`expr '(' $ac_mid ')' - 1`
13786 if test $ac_mid -le $ac_hi; then
13790 ac_mid
=`expr 2 '*' $ac_mid`
13792 rm -f conftest.
$ac_objext conftest.
$ac_ext
13795 echo "$as_me: failed program was:" >&5
13796 cat conftest.
$ac_ext >&5
13799 rm -f conftest.
$ac_objext conftest.
$ac_ext
13801 rm -f conftest.
$ac_objext conftest.
$ac_ext
13802 # Binary search between lo and hi bounds.
13803 while test "x$ac_lo" != "x$ac_hi"; do
13804 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13805 cat >conftest.
$ac_ext <<_ACEOF
13806 #line $LINENO "configure"
13807 #include "confdefs.h"
13808 $ac_includes_default
13809 #ifdef F77_DUMMY_MAIN
13810 # ifdef __cplusplus
13813 int F77_DUMMY_MAIN() { return 1; }
13818 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
13825 rm -f conftest.
$ac_objext
13826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13827 (eval $ac_compile) 2>&5
13829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13830 (exit $ac_status); } &&
13831 { ac_try
='test -s conftest.$ac_objext'
13832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13833 (eval $ac_try) 2>&5
13835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13836 (exit $ac_status); }; }; then
13839 echo "$as_me: failed program was:" >&5
13840 cat conftest.
$ac_ext >&5
13841 ac_lo
=`expr '(' $ac_mid ')' + 1`
13843 rm -f conftest.
$ac_objext conftest.
$ac_ext
13846 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
13847 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77" >&5
13848 echo "$as_me: error: cannot compute sizeof (void *), 77" >&2;}
13849 { (exit 1); exit 1; }; } ;;
13852 if test "$cross_compiling" = yes; then
13853 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
13854 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
13855 { (exit 1); exit 1; }; }
13857 cat >conftest.
$ac_ext <<_ACEOF
13858 #line $LINENO "configure"
13859 #include "confdefs.h"
13860 $ac_includes_default
13861 long longval () { return (long) (sizeof (void *)); }
13862 unsigned long ulongval () { return (long) (sizeof (void *)); }
13864 #include <stdlib.h>
13865 #ifdef F77_DUMMY_MAIN
13866 # ifdef __cplusplus
13869 int F77_DUMMY_MAIN() { return 1; }
13875 FILE *f = fopen ("conftest.val", "w");
13878 if (((long) (sizeof (void *))) < 0)
13880 long i = longval ();
13881 if (i != ((long) (sizeof (void *))))
13883 fprintf (f, "%ld\n", i);
13887 unsigned long i = ulongval ();
13888 if (i != ((long) (sizeof (void *))))
13890 fprintf (f, "%lu\n", i);
13892 exit (ferror (f) || fclose (f) != 0);
13898 rm -f conftest
$ac_exeext
13899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13900 (eval $ac_link) 2>&5
13902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13903 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13905 (eval $ac_try) 2>&5
13907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13908 (exit $ac_status); }; }; then
13909 ac_cv_sizeof_void_p
=`cat conftest.val`
13911 echo "$as_me: program exited with status $ac_status" >&5
13912 echo "$as_me: failed program was:" >&5
13913 cat conftest.
$ac_ext >&5
13914 ( exit $ac_status )
13915 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77" >&5
13916 echo "$as_me: error: cannot compute sizeof (void *), 77" >&2;}
13917 { (exit 1); exit 1; }; }
13919 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13924 ac_cv_sizeof_void_p
=0
13927 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
13928 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
13929 cat >>confdefs.h
<<_ACEOF
13930 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
13934 echo "$as_me:$LINENO: checking for int" >&5
13935 echo $ECHO_N "checking for int... $ECHO_C" >&6
13936 if test "${ac_cv_type_int+set}" = set; then
13937 echo $ECHO_N "(cached) $ECHO_C" >&6
13939 cat >conftest.
$ac_ext <<_ACEOF
13940 #line $LINENO "configure"
13941 #include "confdefs.h"
13942 $ac_includes_default
13943 #ifdef F77_DUMMY_MAIN
13944 # ifdef __cplusplus
13947 int F77_DUMMY_MAIN() { return 1; }
13960 rm -f conftest.
$ac_objext
13961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13962 (eval $ac_compile) 2>&5
13964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13965 (exit $ac_status); } &&
13966 { ac_try
='test -s conftest.$ac_objext'
13967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13968 (eval $ac_try) 2>&5
13970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13971 (exit $ac_status); }; }; then
13974 echo "$as_me: failed program was:" >&5
13975 cat conftest.
$ac_ext >&5
13978 rm -f conftest.
$ac_objext conftest.
$ac_ext
13980 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
13981 echo "${ECHO_T}$ac_cv_type_int" >&6
13983 echo "$as_me:$LINENO: checking size of int" >&5
13984 echo $ECHO_N "checking size of int... $ECHO_C" >&6
13985 if test "${ac_cv_sizeof_int+set}" = set; then
13986 echo $ECHO_N "(cached) $ECHO_C" >&6
13988 if test "$ac_cv_type_int" = yes; then
13989 # The cast to unsigned long works around a bug in the HP C Compiler
13990 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13991 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13992 # This bug is HP SR number 8606223364.
13993 if test "$cross_compiling" = yes; then
13994 # Depending upon the size, compute the lo and hi bounds.
13995 cat >conftest.
$ac_ext <<_ACEOF
13996 #line $LINENO "configure"
13997 #include "confdefs.h"
13998 $ac_includes_default
13999 #ifdef F77_DUMMY_MAIN
14000 # ifdef __cplusplus
14003 int F77_DUMMY_MAIN() { return 1; }
14008 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
14015 rm -f conftest.
$ac_objext
14016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14017 (eval $ac_compile) 2>&5
14019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14020 (exit $ac_status); } &&
14021 { ac_try
='test -s conftest.$ac_objext'
14022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14023 (eval $ac_try) 2>&5
14025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14026 (exit $ac_status); }; }; then
14029 cat >conftest.
$ac_ext <<_ACEOF
14030 #line $LINENO "configure"
14031 #include "confdefs.h"
14032 $ac_includes_default
14033 #ifdef F77_DUMMY_MAIN
14034 # ifdef __cplusplus
14037 int F77_DUMMY_MAIN() { return 1; }
14042 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14049 rm -f conftest.
$ac_objext
14050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14051 (eval $ac_compile) 2>&5
14053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14054 (exit $ac_status); } &&
14055 { ac_try
='test -s conftest.$ac_objext'
14056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14057 (eval $ac_try) 2>&5
14059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14060 (exit $ac_status); }; }; then
14061 ac_hi
=$ac_mid; break
14063 echo "$as_me: failed program was:" >&5
14064 cat conftest.
$ac_ext >&5
14065 ac_lo
=`expr $ac_mid + 1`
14066 if test $ac_lo -le $ac_mid; then
14070 ac_mid
=`expr 2 '*' $ac_mid + 1`
14072 rm -f conftest.
$ac_objext conftest.
$ac_ext
14075 echo "$as_me: failed program was:" >&5
14076 cat conftest.
$ac_ext >&5
14077 cat >conftest.
$ac_ext <<_ACEOF
14078 #line $LINENO "configure"
14079 #include "confdefs.h"
14080 $ac_includes_default
14081 #ifdef F77_DUMMY_MAIN
14082 # ifdef __cplusplus
14085 int F77_DUMMY_MAIN() { return 1; }
14090 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
14097 rm -f conftest.
$ac_objext
14098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14099 (eval $ac_compile) 2>&5
14101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14102 (exit $ac_status); } &&
14103 { ac_try
='test -s conftest.$ac_objext'
14104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14105 (eval $ac_try) 2>&5
14107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14108 (exit $ac_status); }; }; then
14111 cat >conftest.
$ac_ext <<_ACEOF
14112 #line $LINENO "configure"
14113 #include "confdefs.h"
14114 $ac_includes_default
14115 #ifdef F77_DUMMY_MAIN
14116 # ifdef __cplusplus
14119 int F77_DUMMY_MAIN() { return 1; }
14124 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
14131 rm -f conftest.
$ac_objext
14132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14133 (eval $ac_compile) 2>&5
14135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14136 (exit $ac_status); } &&
14137 { ac_try
='test -s conftest.$ac_objext'
14138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14139 (eval $ac_try) 2>&5
14141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14142 (exit $ac_status); }; }; then
14143 ac_lo
=$ac_mid; break
14145 echo "$as_me: failed program was:" >&5
14146 cat conftest.
$ac_ext >&5
14147 ac_hi
=`expr '(' $ac_mid ')' - 1`
14148 if test $ac_mid -le $ac_hi; then
14152 ac_mid
=`expr 2 '*' $ac_mid`
14154 rm -f conftest.
$ac_objext conftest.
$ac_ext
14157 echo "$as_me: failed program was:" >&5
14158 cat conftest.
$ac_ext >&5
14161 rm -f conftest.
$ac_objext conftest.
$ac_ext
14163 rm -f conftest.
$ac_objext conftest.
$ac_ext
14164 # Binary search between lo and hi bounds.
14165 while test "x$ac_lo" != "x$ac_hi"; do
14166 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14167 cat >conftest.
$ac_ext <<_ACEOF
14168 #line $LINENO "configure"
14169 #include "confdefs.h"
14170 $ac_includes_default
14171 #ifdef F77_DUMMY_MAIN
14172 # ifdef __cplusplus
14175 int F77_DUMMY_MAIN() { return 1; }
14180 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14187 rm -f conftest.
$ac_objext
14188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14189 (eval $ac_compile) 2>&5
14191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14192 (exit $ac_status); } &&
14193 { ac_try
='test -s conftest.$ac_objext'
14194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14195 (eval $ac_try) 2>&5
14197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14198 (exit $ac_status); }; }; then
14201 echo "$as_me: failed program was:" >&5
14202 cat conftest.
$ac_ext >&5
14203 ac_lo
=`expr '(' $ac_mid ')' + 1`
14205 rm -f conftest.
$ac_objext conftest.
$ac_ext
14208 ?
*) ac_cv_sizeof_int
=$ac_lo;;
14209 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77" >&5
14210 echo "$as_me: error: cannot compute sizeof (int), 77" >&2;}
14211 { (exit 1); exit 1; }; } ;;
14214 if test "$cross_compiling" = yes; then
14215 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
14216 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
14217 { (exit 1); exit 1; }; }
14219 cat >conftest.
$ac_ext <<_ACEOF
14220 #line $LINENO "configure"
14221 #include "confdefs.h"
14222 $ac_includes_default
14223 long longval () { return (long) (sizeof (int)); }
14224 unsigned long ulongval () { return (long) (sizeof (int)); }
14226 #include <stdlib.h>
14227 #ifdef F77_DUMMY_MAIN
14228 # ifdef __cplusplus
14231 int F77_DUMMY_MAIN() { return 1; }
14237 FILE *f = fopen ("conftest.val", "w");
14240 if (((long) (sizeof (int))) < 0)
14242 long i = longval ();
14243 if (i != ((long) (sizeof (int))))
14245 fprintf (f, "%ld\n", i);
14249 unsigned long i = ulongval ();
14250 if (i != ((long) (sizeof (int))))
14252 fprintf (f, "%lu\n", i);
14254 exit (ferror (f) || fclose (f) != 0);
14260 rm -f conftest
$ac_exeext
14261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14262 (eval $ac_link) 2>&5
14264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14265 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14267 (eval $ac_try) 2>&5
14269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14270 (exit $ac_status); }; }; then
14271 ac_cv_sizeof_int
=`cat conftest.val`
14273 echo "$as_me: program exited with status $ac_status" >&5
14274 echo "$as_me: failed program was:" >&5
14275 cat conftest.
$ac_ext >&5
14276 ( exit $ac_status )
14277 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77" >&5
14278 echo "$as_me: error: cannot compute sizeof (int), 77" >&2;}
14279 { (exit 1); exit 1; }; }
14281 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14289 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
14290 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
14291 cat >>confdefs.h
<<_ACEOF
14292 #define SIZEOF_INT $ac_cv_sizeof_int
14296 echo "$as_me:$LINENO: checking for long" >&5
14297 echo $ECHO_N "checking for long... $ECHO_C" >&6
14298 if test "${ac_cv_type_long+set}" = set; then
14299 echo $ECHO_N "(cached) $ECHO_C" >&6
14301 cat >conftest.
$ac_ext <<_ACEOF
14302 #line $LINENO "configure"
14303 #include "confdefs.h"
14304 $ac_includes_default
14305 #ifdef F77_DUMMY_MAIN
14306 # ifdef __cplusplus
14309 int F77_DUMMY_MAIN() { return 1; }
14322 rm -f conftest.
$ac_objext
14323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14324 (eval $ac_compile) 2>&5
14326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14327 (exit $ac_status); } &&
14328 { ac_try
='test -s conftest.$ac_objext'
14329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14330 (eval $ac_try) 2>&5
14332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14333 (exit $ac_status); }; }; then
14334 ac_cv_type_long
=yes
14336 echo "$as_me: failed program was:" >&5
14337 cat conftest.
$ac_ext >&5
14340 rm -f conftest.
$ac_objext conftest.
$ac_ext
14342 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
14343 echo "${ECHO_T}$ac_cv_type_long" >&6
14345 echo "$as_me:$LINENO: checking size of long" >&5
14346 echo $ECHO_N "checking size of long... $ECHO_C" >&6
14347 if test "${ac_cv_sizeof_long+set}" = set; then
14348 echo $ECHO_N "(cached) $ECHO_C" >&6
14350 if test "$ac_cv_type_long" = yes; then
14351 # The cast to unsigned long works around a bug in the HP C Compiler
14352 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14353 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14354 # This bug is HP SR number 8606223364.
14355 if test "$cross_compiling" = yes; then
14356 # Depending upon the size, compute the lo and hi bounds.
14357 cat >conftest.
$ac_ext <<_ACEOF
14358 #line $LINENO "configure"
14359 #include "confdefs.h"
14360 $ac_includes_default
14361 #ifdef F77_DUMMY_MAIN
14362 # ifdef __cplusplus
14365 int F77_DUMMY_MAIN() { return 1; }
14370 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
14377 rm -f conftest.
$ac_objext
14378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14379 (eval $ac_compile) 2>&5
14381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14382 (exit $ac_status); } &&
14383 { ac_try
='test -s conftest.$ac_objext'
14384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14385 (eval $ac_try) 2>&5
14387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14388 (exit $ac_status); }; }; then
14391 cat >conftest.
$ac_ext <<_ACEOF
14392 #line $LINENO "configure"
14393 #include "confdefs.h"
14394 $ac_includes_default
14395 #ifdef F77_DUMMY_MAIN
14396 # ifdef __cplusplus
14399 int F77_DUMMY_MAIN() { return 1; }
14404 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
14411 rm -f conftest.
$ac_objext
14412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14413 (eval $ac_compile) 2>&5
14415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14416 (exit $ac_status); } &&
14417 { ac_try
='test -s conftest.$ac_objext'
14418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14419 (eval $ac_try) 2>&5
14421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14422 (exit $ac_status); }; }; then
14423 ac_hi
=$ac_mid; break
14425 echo "$as_me: failed program was:" >&5
14426 cat conftest.
$ac_ext >&5
14427 ac_lo
=`expr $ac_mid + 1`
14428 if test $ac_lo -le $ac_mid; then
14432 ac_mid
=`expr 2 '*' $ac_mid + 1`
14434 rm -f conftest.
$ac_objext conftest.
$ac_ext
14437 echo "$as_me: failed program was:" >&5
14438 cat conftest.
$ac_ext >&5
14439 cat >conftest.
$ac_ext <<_ACEOF
14440 #line $LINENO "configure"
14441 #include "confdefs.h"
14442 $ac_includes_default
14443 #ifdef F77_DUMMY_MAIN
14444 # ifdef __cplusplus
14447 int F77_DUMMY_MAIN() { return 1; }
14452 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
14459 rm -f conftest.
$ac_objext
14460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14461 (eval $ac_compile) 2>&5
14463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14464 (exit $ac_status); } &&
14465 { ac_try
='test -s conftest.$ac_objext'
14466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14467 (eval $ac_try) 2>&5
14469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14470 (exit $ac_status); }; }; then
14473 cat >conftest.
$ac_ext <<_ACEOF
14474 #line $LINENO "configure"
14475 #include "confdefs.h"
14476 $ac_includes_default
14477 #ifdef F77_DUMMY_MAIN
14478 # ifdef __cplusplus
14481 int F77_DUMMY_MAIN() { return 1; }
14486 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
14493 rm -f conftest.
$ac_objext
14494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14495 (eval $ac_compile) 2>&5
14497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14498 (exit $ac_status); } &&
14499 { ac_try
='test -s conftest.$ac_objext'
14500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14501 (eval $ac_try) 2>&5
14503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14504 (exit $ac_status); }; }; then
14505 ac_lo
=$ac_mid; break
14507 echo "$as_me: failed program was:" >&5
14508 cat conftest.
$ac_ext >&5
14509 ac_hi
=`expr '(' $ac_mid ')' - 1`
14510 if test $ac_mid -le $ac_hi; then
14514 ac_mid
=`expr 2 '*' $ac_mid`
14516 rm -f conftest.
$ac_objext conftest.
$ac_ext
14519 echo "$as_me: failed program was:" >&5
14520 cat conftest.
$ac_ext >&5
14523 rm -f conftest.
$ac_objext conftest.
$ac_ext
14525 rm -f conftest.
$ac_objext conftest.
$ac_ext
14526 # Binary search between lo and hi bounds.
14527 while test "x$ac_lo" != "x$ac_hi"; do
14528 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14529 cat >conftest.
$ac_ext <<_ACEOF
14530 #line $LINENO "configure"
14531 #include "confdefs.h"
14532 $ac_includes_default
14533 #ifdef F77_DUMMY_MAIN
14534 # ifdef __cplusplus
14537 int F77_DUMMY_MAIN() { return 1; }
14542 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
14549 rm -f conftest.
$ac_objext
14550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14551 (eval $ac_compile) 2>&5
14553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14554 (exit $ac_status); } &&
14555 { ac_try
='test -s conftest.$ac_objext'
14556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14557 (eval $ac_try) 2>&5
14559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14560 (exit $ac_status); }; }; then
14563 echo "$as_me: failed program was:" >&5
14564 cat conftest.
$ac_ext >&5
14565 ac_lo
=`expr '(' $ac_mid ')' + 1`
14567 rm -f conftest.
$ac_objext conftest.
$ac_ext
14570 ?
*) ac_cv_sizeof_long
=$ac_lo;;
14571 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77" >&5
14572 echo "$as_me: error: cannot compute sizeof (long), 77" >&2;}
14573 { (exit 1); exit 1; }; } ;;
14576 if test "$cross_compiling" = yes; then
14577 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
14578 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
14579 { (exit 1); exit 1; }; }
14581 cat >conftest.
$ac_ext <<_ACEOF
14582 #line $LINENO "configure"
14583 #include "confdefs.h"
14584 $ac_includes_default
14585 long longval () { return (long) (sizeof (long)); }
14586 unsigned long ulongval () { return (long) (sizeof (long)); }
14588 #include <stdlib.h>
14589 #ifdef F77_DUMMY_MAIN
14590 # ifdef __cplusplus
14593 int F77_DUMMY_MAIN() { return 1; }
14599 FILE *f = fopen ("conftest.val", "w");
14602 if (((long) (sizeof (long))) < 0)
14604 long i = longval ();
14605 if (i != ((long) (sizeof (long))))
14607 fprintf (f, "%ld\n", i);
14611 unsigned long i = ulongval ();
14612 if (i != ((long) (sizeof (long))))
14614 fprintf (f, "%lu\n", i);
14616 exit (ferror (f) || fclose (f) != 0);
14622 rm -f conftest
$ac_exeext
14623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14624 (eval $ac_link) 2>&5
14626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14627 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14629 (eval $ac_try) 2>&5
14631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14632 (exit $ac_status); }; }; then
14633 ac_cv_sizeof_long
=`cat conftest.val`
14635 echo "$as_me: program exited with status $ac_status" >&5
14636 echo "$as_me: failed program was:" >&5
14637 cat conftest.
$ac_ext >&5
14638 ( exit $ac_status )
14639 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77" >&5
14640 echo "$as_me: error: cannot compute sizeof (long), 77" >&2;}
14641 { (exit 1); exit 1; }; }
14643 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14648 ac_cv_sizeof_long
=0
14651 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
14652 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
14653 cat >>confdefs.h
<<_ACEOF
14654 #define SIZEOF_LONG $ac_cv_sizeof_long
14661 echo "$as_me:$LINENO: checking for long long" >&5
14662 echo $ECHO_N "checking for long long... $ECHO_C" >&6
14663 if test "${ac_cv_type_long_long+set}" = set; then
14664 echo $ECHO_N "(cached) $ECHO_C" >&6
14666 cat >conftest.
$ac_ext <<_ACEOF
14667 #line $LINENO "configure"
14668 #include "confdefs.h"
14669 $ac_includes_default
14670 #ifdef F77_DUMMY_MAIN
14671 # ifdef __cplusplus
14674 int F77_DUMMY_MAIN() { return 1; }
14679 if ((long long *) 0)
14681 if (sizeof (long long))
14687 rm -f conftest.
$ac_objext
14688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14689 (eval $ac_compile) 2>&5
14691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14692 (exit $ac_status); } &&
14693 { ac_try
='test -s conftest.$ac_objext'
14694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14695 (eval $ac_try) 2>&5
14697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14698 (exit $ac_status); }; }; then
14699 ac_cv_type_long_long
=yes
14701 echo "$as_me: failed program was:" >&5
14702 cat conftest.
$ac_ext >&5
14703 ac_cv_type_long_long
=no
14705 rm -f conftest.
$ac_objext conftest.
$ac_ext
14707 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
14708 echo "${ECHO_T}$ac_cv_type_long_long" >&6
14710 echo "$as_me:$LINENO: checking size of long long" >&5
14711 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
14712 if test "${ac_cv_sizeof_long_long+set}" = set; then
14713 echo $ECHO_N "(cached) $ECHO_C" >&6
14715 if test "$ac_cv_type_long_long" = yes; then
14716 # The cast to unsigned long works around a bug in the HP C Compiler
14717 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14718 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14719 # This bug is HP SR number 8606223364.
14720 if test "$cross_compiling" = yes; then
14721 # Depending upon the size, compute the lo and hi bounds.
14722 cat >conftest.
$ac_ext <<_ACEOF
14723 #line $LINENO "configure"
14724 #include "confdefs.h"
14725 $ac_includes_default
14726 #ifdef F77_DUMMY_MAIN
14727 # ifdef __cplusplus
14730 int F77_DUMMY_MAIN() { return 1; }
14735 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
14742 rm -f conftest.
$ac_objext
14743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14744 (eval $ac_compile) 2>&5
14746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14747 (exit $ac_status); } &&
14748 { ac_try
='test -s conftest.$ac_objext'
14749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14750 (eval $ac_try) 2>&5
14752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14753 (exit $ac_status); }; }; then
14756 cat >conftest.
$ac_ext <<_ACEOF
14757 #line $LINENO "configure"
14758 #include "confdefs.h"
14759 $ac_includes_default
14760 #ifdef F77_DUMMY_MAIN
14761 # ifdef __cplusplus
14764 int F77_DUMMY_MAIN() { return 1; }
14769 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
14776 rm -f conftest.
$ac_objext
14777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14778 (eval $ac_compile) 2>&5
14780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14781 (exit $ac_status); } &&
14782 { ac_try
='test -s conftest.$ac_objext'
14783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14784 (eval $ac_try) 2>&5
14786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14787 (exit $ac_status); }; }; then
14788 ac_hi
=$ac_mid; break
14790 echo "$as_me: failed program was:" >&5
14791 cat conftest.
$ac_ext >&5
14792 ac_lo
=`expr $ac_mid + 1`
14793 if test $ac_lo -le $ac_mid; then
14797 ac_mid
=`expr 2 '*' $ac_mid + 1`
14799 rm -f conftest.
$ac_objext conftest.
$ac_ext
14802 echo "$as_me: failed program was:" >&5
14803 cat conftest.
$ac_ext >&5
14804 cat >conftest.
$ac_ext <<_ACEOF
14805 #line $LINENO "configure"
14806 #include "confdefs.h"
14807 $ac_includes_default
14808 #ifdef F77_DUMMY_MAIN
14809 # ifdef __cplusplus
14812 int F77_DUMMY_MAIN() { return 1; }
14817 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
14824 rm -f conftest.
$ac_objext
14825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14826 (eval $ac_compile) 2>&5
14828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14829 (exit $ac_status); } &&
14830 { ac_try
='test -s conftest.$ac_objext'
14831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14832 (eval $ac_try) 2>&5
14834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14835 (exit $ac_status); }; }; then
14838 cat >conftest.
$ac_ext <<_ACEOF
14839 #line $LINENO "configure"
14840 #include "confdefs.h"
14841 $ac_includes_default
14842 #ifdef F77_DUMMY_MAIN
14843 # ifdef __cplusplus
14846 int F77_DUMMY_MAIN() { return 1; }
14851 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
14858 rm -f conftest.
$ac_objext
14859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14860 (eval $ac_compile) 2>&5
14862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14863 (exit $ac_status); } &&
14864 { ac_try
='test -s conftest.$ac_objext'
14865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14866 (eval $ac_try) 2>&5
14868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14869 (exit $ac_status); }; }; then
14870 ac_lo
=$ac_mid; break
14872 echo "$as_me: failed program was:" >&5
14873 cat conftest.
$ac_ext >&5
14874 ac_hi
=`expr '(' $ac_mid ')' - 1`
14875 if test $ac_mid -le $ac_hi; then
14879 ac_mid
=`expr 2 '*' $ac_mid`
14881 rm -f conftest.
$ac_objext conftest.
$ac_ext
14884 echo "$as_me: failed program was:" >&5
14885 cat conftest.
$ac_ext >&5
14888 rm -f conftest.
$ac_objext conftest.
$ac_ext
14890 rm -f conftest.
$ac_objext conftest.
$ac_ext
14891 # Binary search between lo and hi bounds.
14892 while test "x$ac_lo" != "x$ac_hi"; do
14893 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14894 cat >conftest.
$ac_ext <<_ACEOF
14895 #line $LINENO "configure"
14896 #include "confdefs.h"
14897 $ac_includes_default
14898 #ifdef F77_DUMMY_MAIN
14899 # ifdef __cplusplus
14902 int F77_DUMMY_MAIN() { return 1; }
14907 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
14914 rm -f conftest.
$ac_objext
14915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14916 (eval $ac_compile) 2>&5
14918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14919 (exit $ac_status); } &&
14920 { ac_try
='test -s conftest.$ac_objext'
14921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14922 (eval $ac_try) 2>&5
14924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14925 (exit $ac_status); }; }; then
14928 echo "$as_me: failed program was:" >&5
14929 cat conftest.
$ac_ext >&5
14930 ac_lo
=`expr '(' $ac_mid ')' + 1`
14932 rm -f conftest.
$ac_objext conftest.
$ac_ext
14935 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
14936 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77" >&5
14937 echo "$as_me: error: cannot compute sizeof (long long), 77" >&2;}
14938 { (exit 1); exit 1; }; } ;;
14941 if test "$cross_compiling" = yes; then
14942 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
14943 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
14944 { (exit 1); exit 1; }; }
14946 cat >conftest.
$ac_ext <<_ACEOF
14947 #line $LINENO "configure"
14948 #include "confdefs.h"
14949 $ac_includes_default
14950 long longval () { return (long) (sizeof (long long)); }
14951 unsigned long ulongval () { return (long) (sizeof (long long)); }
14953 #include <stdlib.h>
14954 #ifdef F77_DUMMY_MAIN
14955 # ifdef __cplusplus
14958 int F77_DUMMY_MAIN() { return 1; }
14964 FILE *f = fopen ("conftest.val", "w");
14967 if (((long) (sizeof (long long))) < 0)
14969 long i = longval ();
14970 if (i != ((long) (sizeof (long long))))
14972 fprintf (f, "%ld\n", i);
14976 unsigned long i = ulongval ();
14977 if (i != ((long) (sizeof (long long))))
14979 fprintf (f, "%lu\n", i);
14981 exit (ferror (f) || fclose (f) != 0);
14987 rm -f conftest
$ac_exeext
14988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14989 (eval $ac_link) 2>&5
14991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14992 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14994 (eval $ac_try) 2>&5
14996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14997 (exit $ac_status); }; }; then
14998 ac_cv_sizeof_long_long
=`cat conftest.val`
15000 echo "$as_me: program exited with status $ac_status" >&5
15001 echo "$as_me: failed program was:" >&5
15002 cat conftest.
$ac_ext >&5
15003 ( exit $ac_status )
15004 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77" >&5
15005 echo "$as_me: error: cannot compute sizeof (long long), 77" >&2;}
15006 { (exit 1); exit 1; }; }
15008 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15013 ac_cv_sizeof_long_long
=0
15016 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
15017 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
15018 cat >>confdefs.h
<<_ACEOF
15019 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
15025 echo "$as_me:$LINENO: checking for long long" >&5
15026 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15027 if test "${ac_cv_type_long_long+set}" = set; then
15028 echo $ECHO_N "(cached) $ECHO_C" >&6
15030 cat >conftest.
$ac_ext <<_ACEOF
15031 #line $LINENO "configure"
15032 #include "confdefs.h"
15033 $ac_includes_default
15034 #ifdef F77_DUMMY_MAIN
15035 # ifdef __cplusplus
15038 int F77_DUMMY_MAIN() { return 1; }
15043 if ((long long *) 0)
15045 if (sizeof (long long))
15051 rm -f conftest.
$ac_objext
15052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15053 (eval $ac_compile) 2>&5
15055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15056 (exit $ac_status); } &&
15057 { ac_try
='test -s conftest.$ac_objext'
15058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15059 (eval $ac_try) 2>&5
15061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15062 (exit $ac_status); }; }; then
15063 ac_cv_type_long_long
=yes
15065 echo "$as_me: failed program was:" >&5
15066 cat conftest.
$ac_ext >&5
15067 ac_cv_type_long_long
=no
15069 rm -f conftest.
$ac_objext conftest.
$ac_ext
15071 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15072 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15074 echo "$as_me:$LINENO: checking size of long long" >&5
15075 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15076 if test "${ac_cv_sizeof_long_long+set}" = set; then
15077 echo $ECHO_N "(cached) $ECHO_C" >&6
15079 if test "$ac_cv_type_long_long" = yes; then
15080 # The cast to unsigned long works around a bug in the HP C Compiler
15081 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15082 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15083 # This bug is HP SR number 8606223364.
15084 if test "$cross_compiling" = yes; then
15085 # Depending upon the size, compute the lo and hi bounds.
15086 cat >conftest.
$ac_ext <<_ACEOF
15087 #line $LINENO "configure"
15088 #include "confdefs.h"
15089 $ac_includes_default
15090 #ifdef F77_DUMMY_MAIN
15091 # ifdef __cplusplus
15094 int F77_DUMMY_MAIN() { return 1; }
15099 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15106 rm -f conftest.
$ac_objext
15107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15108 (eval $ac_compile) 2>&5
15110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15111 (exit $ac_status); } &&
15112 { ac_try
='test -s conftest.$ac_objext'
15113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15114 (eval $ac_try) 2>&5
15116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15117 (exit $ac_status); }; }; then
15120 cat >conftest.
$ac_ext <<_ACEOF
15121 #line $LINENO "configure"
15122 #include "confdefs.h"
15123 $ac_includes_default
15124 #ifdef F77_DUMMY_MAIN
15125 # ifdef __cplusplus
15128 int F77_DUMMY_MAIN() { return 1; }
15133 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15140 rm -f conftest.
$ac_objext
15141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15142 (eval $ac_compile) 2>&5
15144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15145 (exit $ac_status); } &&
15146 { ac_try
='test -s conftest.$ac_objext'
15147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15148 (eval $ac_try) 2>&5
15150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15151 (exit $ac_status); }; }; then
15152 ac_hi
=$ac_mid; break
15154 echo "$as_me: failed program was:" >&5
15155 cat conftest.
$ac_ext >&5
15156 ac_lo
=`expr $ac_mid + 1`
15157 if test $ac_lo -le $ac_mid; then
15161 ac_mid
=`expr 2 '*' $ac_mid + 1`
15163 rm -f conftest.
$ac_objext conftest.
$ac_ext
15166 echo "$as_me: failed program was:" >&5
15167 cat conftest.
$ac_ext >&5
15168 cat >conftest.
$ac_ext <<_ACEOF
15169 #line $LINENO "configure"
15170 #include "confdefs.h"
15171 $ac_includes_default
15172 #ifdef F77_DUMMY_MAIN
15173 # ifdef __cplusplus
15176 int F77_DUMMY_MAIN() { return 1; }
15181 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15188 rm -f conftest.
$ac_objext
15189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15190 (eval $ac_compile) 2>&5
15192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15193 (exit $ac_status); } &&
15194 { ac_try
='test -s conftest.$ac_objext'
15195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15196 (eval $ac_try) 2>&5
15198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15199 (exit $ac_status); }; }; then
15202 cat >conftest.
$ac_ext <<_ACEOF
15203 #line $LINENO "configure"
15204 #include "confdefs.h"
15205 $ac_includes_default
15206 #ifdef F77_DUMMY_MAIN
15207 # ifdef __cplusplus
15210 int F77_DUMMY_MAIN() { return 1; }
15215 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
15222 rm -f conftest.
$ac_objext
15223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15224 (eval $ac_compile) 2>&5
15226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15227 (exit $ac_status); } &&
15228 { ac_try
='test -s conftest.$ac_objext'
15229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15230 (eval $ac_try) 2>&5
15232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15233 (exit $ac_status); }; }; then
15234 ac_lo
=$ac_mid; break
15236 echo "$as_me: failed program was:" >&5
15237 cat conftest.
$ac_ext >&5
15238 ac_hi
=`expr '(' $ac_mid ')' - 1`
15239 if test $ac_mid -le $ac_hi; then
15243 ac_mid
=`expr 2 '*' $ac_mid`
15245 rm -f conftest.
$ac_objext conftest.
$ac_ext
15248 echo "$as_me: failed program was:" >&5
15249 cat conftest.
$ac_ext >&5
15252 rm -f conftest.
$ac_objext conftest.
$ac_ext
15254 rm -f conftest.
$ac_objext conftest.
$ac_ext
15255 # Binary search between lo and hi bounds.
15256 while test "x$ac_lo" != "x$ac_hi"; do
15257 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15258 cat >conftest.
$ac_ext <<_ACEOF
15259 #line $LINENO "configure"
15260 #include "confdefs.h"
15261 $ac_includes_default
15262 #ifdef F77_DUMMY_MAIN
15263 # ifdef __cplusplus
15266 int F77_DUMMY_MAIN() { return 1; }
15271 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15278 rm -f conftest.
$ac_objext
15279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15280 (eval $ac_compile) 2>&5
15282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15283 (exit $ac_status); } &&
15284 { ac_try
='test -s conftest.$ac_objext'
15285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15286 (eval $ac_try) 2>&5
15288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15289 (exit $ac_status); }; }; then
15292 echo "$as_me: failed program was:" >&5
15293 cat conftest.
$ac_ext >&5
15294 ac_lo
=`expr '(' $ac_mid ')' + 1`
15296 rm -f conftest.
$ac_objext conftest.
$ac_ext
15299 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
15300 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77" >&5
15301 echo "$as_me: error: cannot compute sizeof (long long), 77" >&2;}
15302 { (exit 1); exit 1; }; } ;;
15305 if test "$cross_compiling" = yes; then
15306 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
15307 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
15308 { (exit 1); exit 1; }; }
15310 cat >conftest.
$ac_ext <<_ACEOF
15311 #line $LINENO "configure"
15312 #include "confdefs.h"
15313 $ac_includes_default
15314 long longval () { return (long) (sizeof (long long)); }
15315 unsigned long ulongval () { return (long) (sizeof (long long)); }
15317 #include <stdlib.h>
15318 #ifdef F77_DUMMY_MAIN
15319 # ifdef __cplusplus
15322 int F77_DUMMY_MAIN() { return 1; }
15328 FILE *f = fopen ("conftest.val", "w");
15331 if (((long) (sizeof (long long))) < 0)
15333 long i = longval ();
15334 if (i != ((long) (sizeof (long long))))
15336 fprintf (f, "%ld\n", i);
15340 unsigned long i = ulongval ();
15341 if (i != ((long) (sizeof (long long))))
15343 fprintf (f, "%lu\n", i);
15345 exit (ferror (f) || fclose (f) != 0);
15351 rm -f conftest
$ac_exeext
15352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15353 (eval $ac_link) 2>&5
15355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15356 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15358 (eval $ac_try) 2>&5
15360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15361 (exit $ac_status); }; }; then
15362 ac_cv_sizeof_long_long
=`cat conftest.val`
15364 echo "$as_me: program exited with status $ac_status" >&5
15365 echo "$as_me: failed program was:" >&5
15366 cat conftest.
$ac_ext >&5
15367 ( exit $ac_status )
15368 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77" >&5
15369 echo "$as_me: error: cannot compute sizeof (long long), 77" >&2;}
15370 { (exit 1); exit 1; }; }
15372 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15377 ac_cv_sizeof_long_long
=0
15380 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
15381 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
15382 cat >>confdefs.h
<<_ACEOF
15383 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
15389 echo "$as_me:$LINENO: checking size of wchar_t" >&5
15390 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
15391 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
15392 echo $ECHO_N "(cached) $ECHO_C" >&6
15395 if test "$cross_compiling" = yes; then
15396 wx_cv_sizeof_wchar_t
=4
15399 cat >conftest.
$ac_ext <<_ACEOF
15400 #line $LINENO "configure"
15401 #include "confdefs.h"
15403 #ifdef HAVE_WCHAR_H
15405 # include <stddef.h>
15407 # include <wchar.h>
15409 #ifdef HAVE_STDLIB_H
15410 # include <stdlib.h>
15415 FILE *f=fopen("conftestval", "w");
15417 fprintf(f, "%i", sizeof(wchar_t));
15422 rm -f conftest
$ac_exeext
15423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15424 (eval $ac_link) 2>&5
15426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15427 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15429 (eval $ac_try) 2>&5
15431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15432 (exit $ac_status); }; }; then
15433 wx_cv_sizeof_wchar_t
=`cat conftestval`
15435 echo "$as_me: program exited with status $ac_status" >&5
15436 echo "$as_me: failed program was:" >&5
15437 cat conftest.
$ac_ext >&5
15438 ( exit $ac_status )
15439 wx_cv_sizeof_wchar_t
=0
15441 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15445 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
15446 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
15448 cat >>confdefs.h
<<_ACEOF
15449 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
15453 # Check whether --enable-largefile or --disable-largefile was given.
15454 if test "${enable_largefile+set}" = set; then
15455 enableval
="$enable_largefile"
15458 if test "$enable_largefile" != no
; then
15461 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
15462 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
15463 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
15464 echo $ECHO_N "(cached) $ECHO_C" >&6
15467 cat >conftest.
$ac_ext <<_ACEOF
15468 #line $LINENO "configure"
15469 #include "confdefs.h"
15470 #define _FILE_OFFSET_BITS 64
15471 #include <sys/types.h>
15472 #ifdef F77_DUMMY_MAIN
15473 # ifdef __cplusplus
15476 int F77_DUMMY_MAIN() { return 1; }
15482 unsigned int field: sizeof(off_t) == 8;
15489 rm -f conftest.
$ac_objext
15490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15491 (eval $ac_compile) 2>&5
15493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15494 (exit $ac_status); } &&
15495 { ac_try
='test -s conftest.$ac_objext'
15496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15497 (eval $ac_try) 2>&5
15499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15500 (exit $ac_status); }; }; then
15501 ac_cv_sys_file_offset_bits
=64
15503 echo "$as_me: failed program was:" >&5
15504 cat conftest.
$ac_ext >&5
15505 ac_cv_sys_file_offset_bits
=no
15507 rm -f conftest.
$ac_objext conftest.
$ac_ext
15511 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
15512 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
15514 if test "$ac_cv_sys_file_offset_bits" != no
; then
15516 cat >>confdefs.h
<<_ACEOF
15517 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
15522 if test "x$wx_largefile" != "xyes"; then
15524 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
15525 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
15526 if test "${ac_cv_sys_large_files+set}" = set; then
15527 echo $ECHO_N "(cached) $ECHO_C" >&6
15530 cat >conftest.
$ac_ext <<_ACEOF
15531 #line $LINENO "configure"
15532 #include "confdefs.h"
15533 #define _LARGE_FILES 1
15534 #include <sys/types.h>
15535 #ifdef F77_DUMMY_MAIN
15536 # ifdef __cplusplus
15539 int F77_DUMMY_MAIN() { return 1; }
15545 unsigned int field: sizeof(off_t) == 8;
15552 rm -f conftest.
$ac_objext
15553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15554 (eval $ac_compile) 2>&5
15556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15557 (exit $ac_status); } &&
15558 { ac_try
='test -s conftest.$ac_objext'
15559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15560 (eval $ac_try) 2>&5
15562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15563 (exit $ac_status); }; }; then
15564 ac_cv_sys_large_files
=1
15566 echo "$as_me: failed program was:" >&5
15567 cat conftest.
$ac_ext >&5
15568 ac_cv_sys_large_files
=no
15570 rm -f conftest.
$ac_objext conftest.
$ac_ext
15574 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
15575 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
15577 if test "$ac_cv_sys_large_files" != no
; then
15579 cat >>confdefs.h
<<_ACEOF
15580 #define _LARGE_FILES $ac_cv_sys_large_files
15587 echo "$as_me:$LINENO: checking if large file support is available" >&5
15588 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
15589 if test "x$wx_largefile" = "xyes"; then
15590 cat >>confdefs.h
<<\_ACEOF
15591 #define HAVE_LARGEFILE_SUPPORT 1
15595 echo "$as_me:$LINENO: result: $wx_largefile" >&5
15596 echo "${ECHO_T}$wx_largefile" >&6
15600 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
15601 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
15602 if test "${ac_cv_c_bigendian+set}" = set; then
15603 echo $ECHO_N "(cached) $ECHO_C" >&6
15605 ac_cv_c_bigendian
=unknown
15606 # See if sys/param.h defines the BYTE_ORDER macro.
15607 cat >conftest.
$ac_ext <<_ACEOF
15608 #line $LINENO "configure"
15609 #include "confdefs.h"
15610 #include <sys/types.h>
15611 #include <sys/param.h>
15612 #ifdef F77_DUMMY_MAIN
15613 # ifdef __cplusplus
15616 int F77_DUMMY_MAIN() { return 1; }
15622 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
15623 bogus endian macros
15629 rm -f conftest.
$ac_objext
15630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15631 (eval $ac_compile) 2>&5
15633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15634 (exit $ac_status); } &&
15635 { ac_try
='test -s conftest.$ac_objext'
15636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15637 (eval $ac_try) 2>&5
15639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15640 (exit $ac_status); }; }; then
15641 # It does; now see whether it defined to BIG_ENDIAN or not.
15642 cat >conftest.
$ac_ext <<_ACEOF
15643 #line $LINENO "configure"
15644 #include "confdefs.h"
15645 #include <sys/types.h>
15646 #include <sys/param.h>
15647 #ifdef F77_DUMMY_MAIN
15648 # ifdef __cplusplus
15651 int F77_DUMMY_MAIN() { return 1; }
15657 #if BYTE_ORDER != BIG_ENDIAN
15664 rm -f conftest.
$ac_objext
15665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15666 (eval $ac_compile) 2>&5
15668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15669 (exit $ac_status); } &&
15670 { ac_try
='test -s conftest.$ac_objext'
15671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15672 (eval $ac_try) 2>&5
15674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15675 (exit $ac_status); }; }; then
15676 ac_cv_c_bigendian
=yes
15678 echo "$as_me: failed program was:" >&5
15679 cat conftest.
$ac_ext >&5
15680 ac_cv_c_bigendian
=no
15682 rm -f conftest.
$ac_objext conftest.
$ac_ext
15684 echo "$as_me: failed program was:" >&5
15685 cat conftest.
$ac_ext >&5
15687 rm -f conftest.
$ac_objext conftest.
$ac_ext
15688 if test $ac_cv_c_bigendian = unknown
; then
15689 if test "$cross_compiling" = yes; then
15690 ac_cv_c_bigendian
=unknown
15692 cat >conftest.
$ac_ext <<_ACEOF
15693 #line $LINENO "configure"
15694 #include "confdefs.h"
15696 /* Are we little or big endian? From Harbison&Steele. */
15700 char c[sizeof (long)];
15703 exit (u.c[sizeof (long) - 1] == 1);
15706 rm -f conftest
$ac_exeext
15707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15708 (eval $ac_link) 2>&5
15710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15711 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15713 (eval $ac_try) 2>&5
15715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15716 (exit $ac_status); }; }; then
15717 ac_cv_c_bigendian
=no
15719 echo "$as_me: program exited with status $ac_status" >&5
15720 echo "$as_me: failed program was:" >&5
15721 cat conftest.
$ac_ext >&5
15722 ( exit $ac_status )
15723 ac_cv_c_bigendian
=yes
15725 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15729 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
15730 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
15731 if test $ac_cv_c_bigendian = unknown
; then
15732 { echo "$as_me:$LINENO: WARNING: Assuming little-endian target machine - this may be overriden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&5
15733 echo "$as_me: WARNING: Assuming little-endian target machine - this may be overriden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&2;}
15735 if test $ac_cv_c_bigendian = yes; then
15736 cat >>confdefs.h
<<\_ACEOF
15737 #define WORDS_BIGENDIAN 1
15745 ac_cpp
='$CXXCPP $CPPFLAGS'
15746 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15747 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15748 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15749 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
15750 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
15751 if test -z "$CXXCPP"; then
15752 if test "${ac_cv_prog_CXXCPP+set}" = set; then
15753 echo $ECHO_N "(cached) $ECHO_C" >&6
15755 # Double quotes because CXXCPP needs to be expanded
15756 for CXXCPP
in "$CXX -E" "/lib/cpp"
15758 ac_preproc_ok
=false
15759 for ac_cxx_preproc_warn_flag
in '' yes
15761 # Use a header file that comes with gcc, so configuring glibc
15762 # with a fresh cross-compiler works.
15763 # On the NeXT, cc -E runs the code through the compiler's parser,
15764 # not just through cpp. "Syntax error" is here to catch this case.
15765 cat >conftest.
$ac_ext <<_ACEOF
15766 #line $LINENO "configure"
15767 #include "confdefs.h"
15768 #include <assert.h>
15771 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15772 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15774 egrep -v '^ *\+' conftest.er1
>conftest.err
15776 cat conftest.err
>&5
15777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15778 (exit $ac_status); } >/dev
/null
; then
15779 if test -s conftest.err
; then
15780 ac_cpp_err
=$ac_cxx_preproc_warn_flag
15787 if test -z "$ac_cpp_err"; then
15790 echo "$as_me: failed program was:" >&5
15791 cat conftest.
$ac_ext >&5
15792 # Broken: fails on valid input.
15795 rm -f conftest.err conftest.
$ac_ext
15797 # OK, works on sane cases. Now check whether non-existent headers
15798 # can be detected and how.
15799 cat >conftest.
$ac_ext <<_ACEOF
15800 #line $LINENO "configure"
15801 #include "confdefs.h"
15802 #include <ac_nonexistent.h>
15804 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15805 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15807 egrep -v '^ *\+' conftest.er1
>conftest.err
15809 cat conftest.err
>&5
15810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15811 (exit $ac_status); } >/dev
/null
; then
15812 if test -s conftest.err
; then
15813 ac_cpp_err
=$ac_cxx_preproc_warn_flag
15820 if test -z "$ac_cpp_err"; then
15821 # Broken: success on invalid input.
15824 echo "$as_me: failed program was:" >&5
15825 cat conftest.
$ac_ext >&5
15826 # Passes both tests.
15830 rm -f conftest.err conftest.
$ac_ext
15833 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15834 rm -f conftest.err conftest.
$ac_ext
15835 if $ac_preproc_ok; then
15840 ac_cv_prog_CXXCPP
=$CXXCPP
15843 CXXCPP
=$ac_cv_prog_CXXCPP
15845 ac_cv_prog_CXXCPP
=$CXXCPP
15847 echo "$as_me:$LINENO: result: $CXXCPP" >&5
15848 echo "${ECHO_T}$CXXCPP" >&6
15849 ac_preproc_ok
=false
15850 for ac_cxx_preproc_warn_flag
in '' yes
15852 # Use a header file that comes with gcc, so configuring glibc
15853 # with a fresh cross-compiler works.
15854 # On the NeXT, cc -E runs the code through the compiler's parser,
15855 # not just through cpp. "Syntax error" is here to catch this case.
15856 cat >conftest.
$ac_ext <<_ACEOF
15857 #line $LINENO "configure"
15858 #include "confdefs.h"
15859 #include <assert.h>
15862 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15863 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15865 egrep -v '^ *\+' conftest.er1
>conftest.err
15867 cat conftest.err
>&5
15868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15869 (exit $ac_status); } >/dev
/null
; then
15870 if test -s conftest.err
; then
15871 ac_cpp_err
=$ac_cxx_preproc_warn_flag
15878 if test -z "$ac_cpp_err"; then
15881 echo "$as_me: failed program was:" >&5
15882 cat conftest.
$ac_ext >&5
15883 # Broken: fails on valid input.
15886 rm -f conftest.err conftest.
$ac_ext
15888 # OK, works on sane cases. Now check whether non-existent headers
15889 # can be detected and how.
15890 cat >conftest.
$ac_ext <<_ACEOF
15891 #line $LINENO "configure"
15892 #include "confdefs.h"
15893 #include <ac_nonexistent.h>
15895 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15896 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15898 egrep -v '^ *\+' conftest.er1
>conftest.err
15900 cat conftest.err
>&5
15901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15902 (exit $ac_status); } >/dev
/null
; then
15903 if test -s conftest.err
; then
15904 ac_cpp_err
=$ac_cxx_preproc_warn_flag
15911 if test -z "$ac_cpp_err"; then
15912 # Broken: success on invalid input.
15915 echo "$as_me: failed program was:" >&5
15916 cat conftest.
$ac_ext >&5
15917 # Passes both tests.
15921 rm -f conftest.err conftest.
$ac_ext
15924 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15925 rm -f conftest.err conftest.
$ac_ext
15926 if $ac_preproc_ok; then
15929 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check" >&5
15930 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check" >&2;}
15931 { (exit 1); exit 1; }; }
15935 ac_cpp
='$CXXCPP $CPPFLAGS'
15936 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15937 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15938 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15942 if test "$cross_compiling" = "yes"; then
15943 cat >>confdefs.h
<<\_ACEOF
15944 #define wxUSE_IOSTREAMH 1
15951 ac_cpp
='$CXXCPP $CPPFLAGS'
15952 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15953 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15954 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15958 for ac_header
in iostream
15960 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15961 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15962 echo "$as_me:$LINENO: checking for $ac_header" >&5
15963 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15964 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15965 echo $ECHO_N "(cached) $ECHO_C" >&6
15967 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15968 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15970 # Is the header compilable?
15971 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15972 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15973 cat >conftest.
$ac_ext <<_ACEOF
15974 #line $LINENO "configure"
15975 #include "confdefs.h"
15976 $ac_includes_default
15977 #include <$ac_header>
15979 rm -f conftest.
$ac_objext
15980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15981 (eval $ac_compile) 2>&5
15983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15984 (exit $ac_status); } &&
15985 { ac_try
='test -s conftest.$ac_objext'
15986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15987 (eval $ac_try) 2>&5
15989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15990 (exit $ac_status); }; }; then
15991 ac_header_compiler
=yes
15993 echo "$as_me: failed program was:" >&5
15994 cat conftest.
$ac_ext >&5
15995 ac_header_compiler
=no
15997 rm -f conftest.
$ac_objext conftest.
$ac_ext
15998 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15999 echo "${ECHO_T}$ac_header_compiler" >&6
16001 # Is the header present?
16002 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16003 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16004 cat >conftest.
$ac_ext <<_ACEOF
16005 #line $LINENO "configure"
16006 #include "confdefs.h"
16007 #include <$ac_header>
16009 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16010 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16012 egrep -v '^ *\+' conftest.er1
>conftest.err
16014 cat conftest.err
>&5
16015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16016 (exit $ac_status); } >/dev
/null
; then
16017 if test -s conftest.err
; then
16018 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16025 if test -z "$ac_cpp_err"; then
16026 ac_header_preproc
=yes
16028 echo "$as_me: failed program was:" >&5
16029 cat conftest.
$ac_ext >&5
16030 ac_header_preproc
=no
16032 rm -f conftest.err conftest.
$ac_ext
16033 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16034 echo "${ECHO_T}$ac_header_preproc" >&6
16036 # So? What about this header?
16037 case $ac_header_compiler:$ac_header_preproc in
16039 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16040 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16041 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16042 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
16044 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16045 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16046 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16047 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16048 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16049 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
16051 echo "$as_me:$LINENO: checking for $ac_header" >&5
16052 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16053 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16054 echo $ECHO_N "(cached) $ECHO_C" >&6
16056 eval "$as_ac_Header=$ac_header_preproc"
16058 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16059 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16062 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16063 cat >>confdefs.h
<<_ACEOF
16064 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16072 if test "$ac_cv_header_iostream" = "yes" ; then
16075 cat >>confdefs.h
<<\_ACEOF
16076 #define wxUSE_IOSTREAMH 1
16082 ac_cpp
='$CPP $CPPFLAGS'
16083 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16084 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16085 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16091 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
16092 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
16093 if test "${wx_cv_cpp_bool+set}" = set; then
16094 echo $ECHO_N "(cached) $ECHO_C" >&6
16100 ac_cpp
='$CXXCPP $CPPFLAGS'
16101 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16102 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16103 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16106 cat >conftest.
$ac_ext <<_ACEOF
16107 #line $LINENO "configure"
16108 #include "confdefs.h"
16111 #ifdef F77_DUMMY_MAIN
16112 # ifdef __cplusplus
16115 int F77_DUMMY_MAIN() { return 1; }
16129 rm -f conftest.
$ac_objext
16130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16131 (eval $ac_compile) 2>&5
16133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16134 (exit $ac_status); } &&
16135 { ac_try
='test -s conftest.$ac_objext'
16136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16137 (eval $ac_try) 2>&5
16139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16140 (exit $ac_status); }; }; then
16145 echo "$as_me: failed program was:" >&5
16146 cat conftest.
$ac_ext >&5
16152 rm -f conftest.
$ac_objext conftest.
$ac_ext
16155 ac_cpp
='$CPP $CPPFLAGS'
16156 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16157 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16158 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16162 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
16163 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
16165 if test "$wx_cv_cpp_bool" = "yes"; then
16166 cat >>confdefs.h
<<\_ACEOF
16167 #define HAVE_BOOL 1
16174 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
16175 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
16176 if test "${wx_cv_explicit+set}" = set; then
16177 echo $ECHO_N "(cached) $ECHO_C" >&6
16183 ac_cpp
='$CXXCPP $CPPFLAGS'
16184 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16185 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16186 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16189 cat >conftest.
$ac_ext <<_ACEOF
16190 #line $LINENO "configure"
16191 #include "confdefs.h"
16193 class Foo { public: explicit Foo(int) {} };
16195 #ifdef F77_DUMMY_MAIN
16196 # ifdef __cplusplus
16199 int F77_DUMMY_MAIN() { return 1; }
16211 rm -f conftest.
$ac_objext
16212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16213 (eval $ac_compile) 2>&5
16215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16216 (exit $ac_status); } &&
16217 { ac_try
='test -s conftest.$ac_objext'
16218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16219 (eval $ac_try) 2>&5
16221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16222 (exit $ac_status); }; }; then
16224 cat >conftest.
$ac_ext <<_ACEOF
16225 #line $LINENO "configure"
16226 #include "confdefs.h"
16228 class Foo { public: explicit Foo(int) {} };
16229 static void TakeFoo(const Foo& foo) { }
16231 #ifdef F77_DUMMY_MAIN
16232 # ifdef __cplusplus
16235 int F77_DUMMY_MAIN() { return 1; }
16248 rm -f conftest.
$ac_objext
16249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16250 (eval $ac_compile) 2>&5
16252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16253 (exit $ac_status); } &&
16254 { ac_try
='test -s conftest.$ac_objext'
16255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16256 (eval $ac_try) 2>&5
16258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16259 (exit $ac_status); }; }; then
16262 echo "$as_me: failed program was:" >&5
16263 cat conftest.
$ac_ext >&5
16267 rm -f conftest.
$ac_objext conftest.
$ac_ext
16270 echo "$as_me: failed program was:" >&5
16271 cat conftest.
$ac_ext >&5
16275 rm -f conftest.
$ac_objext conftest.
$ac_ext
16278 ac_cpp
='$CPP $CPPFLAGS'
16279 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16280 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16281 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16285 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
16286 echo "${ECHO_T}$wx_cv_explicit" >&6
16288 if test "$wx_cv_explicit" = "yes"; then
16289 cat >>confdefs.h
<<\_ACEOF
16290 #define HAVE_EXPLICIT 1
16298 /usr/local/include \
16300 /usr/Motif-1.2/include \
16301 /usr/Motif-2.1/include \
16303 /usr/include/Motif1.2 \
16304 /opt/xpm/include/X11 \
16305 /opt/GBxpm/include/ \
16306 /opt/GBxpm/X11/include/ \
16308 /usr/Motif1.2/include \
16310 /usr/openwin/include \
16314 /usr/X11R6/include \
16315 /usr/X11R6.4/include \
16316 /usr/X11R5/include \
16317 /usr/X11R4/include \
16319 /usr/include/X11R6 \
16320 /usr/include/X11R5 \
16321 /usr/include/X11R4 \
16323 /usr/local/X11R6/include \
16324 /usr/local/X11R5/include \
16325 /usr/local/X11R4/include \
16327 /usr/local/include/X11R6 \
16328 /usr/local/include/X11R5 \
16329 /usr/local/include/X11R4 \
16333 /usr/local/X11/include \
16334 /usr/local/include/X11 \
16336 /usr/X386/include \
16337 /usr/x386/include \
16338 /usr/XFree86/include/X11 \
16340 X:/XFree86/include \
16341 X:/XFree86/include/X11 \
16344 /usr/local/include/gtk \
16345 /usr/include/glib \
16346 /usr/local/include/glib \
16349 /usr/local/include/qt \
16351 /usr/include/windows \
16352 /usr/include/wine \
16353 /usr/local/include/wine \
16355 /usr/unsupported/include \
16356 /usr/athena/include \
16357 /usr/local/x11r5/include \
16358 /usr/lpp/Xamples/include \
16360 /usr/openwin/share/include \
16364 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
16367 cat >confcache
<<\_ACEOF
16368 # This file is a shell script that caches the results of configure
16369 # tests run on this system so they can be shared between configure
16370 # scripts and configure runs, see configure's option --config-cache.
16371 # It is not useful on other systems. If it contains results you don't
16372 # want to keep, you may remove or edit it.
16374 # config.status only pays attention to the cache file if you give it
16375 # the --recheck option to rerun configure.
16377 # `ac_cv_env_foo' variables (set or unset) will be overriden when
16378 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16379 # following values.
16383 # The following way of writing the cache mishandles newlines in values,
16384 # but we know of no workaround that is simple, portable, and efficient.
16385 # So, don't put newlines in cache variables' values.
16386 # Ultrix sh set writes to stderr and can't be redirected directly,
16387 # and sets the high bit in the cache file unless we assign to the vars.
16390 case `(ac_space=' '; set | grep ac_space) 2>&1` in
16392 # `set' does not quote correctly, so add quotes (double-quote
16393 # substitution turns \\\\ into \\, and sed turns \\ into \).
16396 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16399 # `set' quotes correctly as required by POSIX, so do not add quotes.
16401 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
16408 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16410 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16412 if cmp -s $cache_file confcache
; then :; else
16413 if test -w $cache_file; then
16414 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
16415 cat confcache
>$cache_file
16417 echo "not updating unwritable cache $cache_file"
16422 if test "$USE_LINUX" = 1; then
16423 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
16424 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
16425 if test "${wx_cv_lib_glibc21+set}" = set; then
16426 echo $ECHO_N "(cached) $ECHO_C" >&6
16429 cat >conftest.
$ac_ext <<_ACEOF
16430 #line $LINENO "configure"
16431 #include "confdefs.h"
16432 #include <features.h>
16433 #ifdef F77_DUMMY_MAIN
16434 # ifdef __cplusplus
16437 int F77_DUMMY_MAIN() { return 1; }
16443 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
16444 #error not glibc2.1
16451 rm -f conftest.
$ac_objext
16452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16453 (eval $ac_compile) 2>&5
16455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16456 (exit $ac_status); } &&
16457 { ac_try
='test -s conftest.$ac_objext'
16458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16459 (eval $ac_try) 2>&5
16461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16462 (exit $ac_status); }; }; then
16464 wx_cv_lib_glibc21
=yes
16467 echo "$as_me: failed program was:" >&5
16468 cat conftest.
$ac_ext >&5
16470 wx_cv_lib_glibc21
=no
16474 rm -f conftest.
$ac_objext conftest.
$ac_ext
16477 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
16478 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
16479 if test "$wx_cv_lib_glibc21" = "yes"; then
16480 cat >>confdefs.h
<<\_ACEOF
16481 #define wxHAVE_GLIBC2 1
16487 if test "x$wx_cv_lib_glibc21" = "xyes"; then
16488 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
16489 cat >>confdefs.h
<<\_ACEOF
16490 #define _GNU_SOURCE 1
16499 if test "$wxUSE_REGEX" != "no"; then
16500 cat >>confdefs.h
<<\_ACEOF
16501 #define wxUSE_REGEX 1
16505 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
16506 if test "${ac_cv_header_regex_h+set}" = set; then
16507 echo "$as_me:$LINENO: checking for regex.h" >&5
16508 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
16509 if test "${ac_cv_header_regex_h+set}" = set; then
16510 echo $ECHO_N "(cached) $ECHO_C" >&6
16512 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
16513 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
16515 # Is the header compilable?
16516 echo "$as_me:$LINENO: checking regex.h usability" >&5
16517 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
16518 cat >conftest.
$ac_ext <<_ACEOF
16519 #line $LINENO "configure"
16520 #include "confdefs.h"
16521 $ac_includes_default
16524 rm -f conftest.
$ac_objext
16525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16526 (eval $ac_compile) 2>&5
16528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16529 (exit $ac_status); } &&
16530 { ac_try
='test -s conftest.$ac_objext'
16531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16532 (eval $ac_try) 2>&5
16534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16535 (exit $ac_status); }; }; then
16536 ac_header_compiler
=yes
16538 echo "$as_me: failed program was:" >&5
16539 cat conftest.
$ac_ext >&5
16540 ac_header_compiler
=no
16542 rm -f conftest.
$ac_objext conftest.
$ac_ext
16543 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16544 echo "${ECHO_T}$ac_header_compiler" >&6
16546 # Is the header present?
16547 echo "$as_me:$LINENO: checking regex.h presence" >&5
16548 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
16549 cat >conftest.
$ac_ext <<_ACEOF
16550 #line $LINENO "configure"
16551 #include "confdefs.h"
16554 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16555 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16557 egrep -v '^ *\+' conftest.er1
>conftest.err
16559 cat conftest.err
>&5
16560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16561 (exit $ac_status); } >/dev
/null
; then
16562 if test -s conftest.err
; then
16563 ac_cpp_err
=$ac_c_preproc_warn_flag
16570 if test -z "$ac_cpp_err"; then
16571 ac_header_preproc
=yes
16573 echo "$as_me: failed program was:" >&5
16574 cat conftest.
$ac_ext >&5
16575 ac_header_preproc
=no
16577 rm -f conftest.err conftest.
$ac_ext
16578 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16579 echo "${ECHO_T}$ac_header_preproc" >&6
16581 # So? What about this header?
16582 case $ac_header_compiler:$ac_header_preproc in
16584 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
16585 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
16586 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
16587 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;};;
16589 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
16590 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
16591 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
16592 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
16593 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
16594 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;};;
16596 echo "$as_me:$LINENO: checking for regex.h" >&5
16597 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
16598 if test "${ac_cv_header_regex_h+set}" = set; then
16599 echo $ECHO_N "(cached) $ECHO_C" >&6
16601 ac_cv_header_regex_h
=$ac_header_preproc
16603 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
16604 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
16607 if test $ac_cv_header_regex_h = yes; then
16609 for ac_func
in regcomp
16611 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16612 echo "$as_me:$LINENO: checking for $ac_func" >&5
16613 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16614 if eval "test \"\${$as_ac_var+set}\" = set"; then
16615 echo $ECHO_N "(cached) $ECHO_C" >&6
16617 cat >conftest.
$ac_ext <<_ACEOF
16618 #line $LINENO "configure"
16619 #include "confdefs.h"
16620 /* System header to define __stub macros and hopefully few prototypes
16622 which can conflict with char $ac_func (); below. */
16623 #include <assert.h>
16624 /* Override any gcc2 internal prototype to avoid an error. */
16628 /* We use char because int might match the return type of a gcc2
16629 builtin and then its argument prototype would still apply. */
16633 #ifdef F77_DUMMY_MAIN
16634 # ifdef __cplusplus
16637 int F77_DUMMY_MAIN() { return 1; }
16642 /* The GNU C library defines this for functions which it implements
16643 to always fail with ENOSYS. Some functions are actually named
16644 something starting with __ and the normal name is an alias. */
16645 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16655 rm -f conftest.
$ac_objext conftest
$ac_exeext
16656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16657 (eval $ac_link) 2>&5
16659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16660 (exit $ac_status); } &&
16661 { ac_try
='test -s conftest$ac_exeext'
16662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16663 (eval $ac_try) 2>&5
16665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16666 (exit $ac_status); }; }; then
16667 eval "$as_ac_var=yes"
16669 echo "$as_me: failed program was:" >&5
16670 cat conftest.
$ac_ext >&5
16671 eval "$as_ac_var=no"
16673 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
16675 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16676 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16677 if test `eval echo '${'$as_ac_var'}'` = yes; then
16678 cat >>confdefs.h
<<_ACEOF
16679 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16689 if test "x$ac_cv_func_regcomp" != "xyes"; then
16690 if test "$wxUSE_REGEX" = "sys" ; then
16691 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
16692 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
16693 { (exit 1); exit 1; }; }
16695 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
16696 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
16697 wxUSE_REGEX
=builtin
16704 if test "$wxUSE_REGEX" = "builtin" ; then
16705 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
16712 if test "$wxUSE_ZLIB" != "no" ; then
16713 cat >>confdefs.h
<<\_ACEOF
16714 #define wxUSE_ZLIB 1
16718 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
16719 if test "${ac_cv_header_zlib_h+set}" = set; then
16720 echo "$as_me:$LINENO: checking for zlib.h" >&5
16721 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
16722 if test "${ac_cv_header_zlib_h+set}" = set; then
16723 echo $ECHO_N "(cached) $ECHO_C" >&6
16725 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
16726 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
16728 # Is the header compilable?
16729 echo "$as_me:$LINENO: checking zlib.h usability" >&5
16730 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
16731 cat >conftest.
$ac_ext <<_ACEOF
16732 #line $LINENO "configure"
16733 #include "confdefs.h"
16734 $ac_includes_default
16737 rm -f conftest.
$ac_objext
16738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16739 (eval $ac_compile) 2>&5
16741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16742 (exit $ac_status); } &&
16743 { ac_try
='test -s conftest.$ac_objext'
16744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16745 (eval $ac_try) 2>&5
16747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16748 (exit $ac_status); }; }; then
16749 ac_header_compiler
=yes
16751 echo "$as_me: failed program was:" >&5
16752 cat conftest.
$ac_ext >&5
16753 ac_header_compiler
=no
16755 rm -f conftest.
$ac_objext conftest.
$ac_ext
16756 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16757 echo "${ECHO_T}$ac_header_compiler" >&6
16759 # Is the header present?
16760 echo "$as_me:$LINENO: checking zlib.h presence" >&5
16761 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
16762 cat >conftest.
$ac_ext <<_ACEOF
16763 #line $LINENO "configure"
16764 #include "confdefs.h"
16767 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16768 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16770 egrep -v '^ *\+' conftest.er1
>conftest.err
16772 cat conftest.err
>&5
16773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16774 (exit $ac_status); } >/dev
/null
; then
16775 if test -s conftest.err
; then
16776 ac_cpp_err
=$ac_c_preproc_warn_flag
16783 if test -z "$ac_cpp_err"; then
16784 ac_header_preproc
=yes
16786 echo "$as_me: failed program was:" >&5
16787 cat conftest.
$ac_ext >&5
16788 ac_header_preproc
=no
16790 rm -f conftest.err conftest.
$ac_ext
16791 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16792 echo "${ECHO_T}$ac_header_preproc" >&6
16794 # So? What about this header?
16795 case $ac_header_compiler:$ac_header_preproc in
16797 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
16798 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
16799 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
16800 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;};;
16802 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
16803 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
16804 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
16805 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
16806 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
16807 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;};;
16809 echo "$as_me:$LINENO: checking for zlib.h" >&5
16810 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
16811 if test "${ac_cv_header_zlib_h+set}" = set; then
16812 echo $ECHO_N "(cached) $ECHO_C" >&6
16814 ac_cv_header_zlib_h
=$ac_header_preproc
16816 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
16817 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
16820 if test $ac_cv_header_zlib_h = yes; then
16821 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
16822 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
16823 if test "${ac_cv_lib_z_deflate+set}" = set; then
16824 echo $ECHO_N "(cached) $ECHO_C" >&6
16826 ac_check_lib_save_LIBS
=$LIBS
16828 cat >conftest.
$ac_ext <<_ACEOF
16829 #line $LINENO "configure"
16830 #include "confdefs.h"
16832 /* Override any gcc2 internal prototype to avoid an error. */
16836 /* We use char because int might match the return type of a gcc2
16837 builtin and then its argument prototype would still apply. */
16839 #ifdef F77_DUMMY_MAIN
16840 # ifdef __cplusplus
16843 int F77_DUMMY_MAIN() { return 1; }
16853 rm -f conftest.
$ac_objext conftest
$ac_exeext
16854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16855 (eval $ac_link) 2>&5
16857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16858 (exit $ac_status); } &&
16859 { ac_try
='test -s conftest$ac_exeext'
16860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16861 (eval $ac_try) 2>&5
16863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16864 (exit $ac_status); }; }; then
16865 ac_cv_lib_z_deflate
=yes
16867 echo "$as_me: failed program was:" >&5
16868 cat conftest.
$ac_ext >&5
16869 ac_cv_lib_z_deflate
=no
16871 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
16872 LIBS
=$ac_check_lib_save_LIBS
16874 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
16875 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
16876 if test $ac_cv_lib_z_deflate = yes; then
16884 if test "x$ZLIB_LINK" = "x" ; then
16885 if test "$wxUSE_ZLIB" = "sys" ; then
16886 { { echo "$as_me:$LINENO: error: system zlib compression library not found! Use --with-zlib=builtin to use built-in version" >&5
16887 echo "$as_me: error: system zlib compression library not found! Use --with-zlib=builtin to use built-in version" >&2;}
16888 { (exit 1); exit 1; }; }
16890 { echo "$as_me:$LINENO: WARNING: system zlib compression library not found, will use built-in instead" >&5
16891 echo "$as_me: WARNING: system zlib compression library not found, will use built-in instead" >&2;}
16899 if test "$wxUSE_ZLIB" = "builtin" ; then
16900 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
16907 if test "$wxUSE_LIBPNG" != "no" ; then
16908 cat >>confdefs.h
<<\_ACEOF
16909 #define wxUSE_LIBPNG 1
16913 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
16914 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
16915 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
16919 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
16920 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
16921 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
16922 wxUSE_LIBPNG
=builtin
16925 if test "$wxUSE_MGL" != 1 ; then
16926 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
16927 if test "${ac_cv_header_png_h+set}" = set; then
16928 echo "$as_me:$LINENO: checking for png.h" >&5
16929 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
16930 if test "${ac_cv_header_png_h+set}" = set; then
16931 echo $ECHO_N "(cached) $ECHO_C" >&6
16933 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
16934 echo "${ECHO_T}$ac_cv_header_png_h" >&6
16936 # Is the header compilable?
16937 echo "$as_me:$LINENO: checking png.h usability" >&5
16938 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
16939 cat >conftest.
$ac_ext <<_ACEOF
16940 #line $LINENO "configure"
16941 #include "confdefs.h"
16942 $ac_includes_default
16945 rm -f conftest.
$ac_objext
16946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16947 (eval $ac_compile) 2>&5
16949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16950 (exit $ac_status); } &&
16951 { ac_try
='test -s conftest.$ac_objext'
16952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16953 (eval $ac_try) 2>&5
16955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16956 (exit $ac_status); }; }; then
16957 ac_header_compiler
=yes
16959 echo "$as_me: failed program was:" >&5
16960 cat conftest.
$ac_ext >&5
16961 ac_header_compiler
=no
16963 rm -f conftest.
$ac_objext conftest.
$ac_ext
16964 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16965 echo "${ECHO_T}$ac_header_compiler" >&6
16967 # Is the header present?
16968 echo "$as_me:$LINENO: checking png.h presence" >&5
16969 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
16970 cat >conftest.
$ac_ext <<_ACEOF
16971 #line $LINENO "configure"
16972 #include "confdefs.h"
16975 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16976 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16978 egrep -v '^ *\+' conftest.er1
>conftest.err
16980 cat conftest.err
>&5
16981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16982 (exit $ac_status); } >/dev
/null
; then
16983 if test -s conftest.err
; then
16984 ac_cpp_err
=$ac_c_preproc_warn_flag
16991 if test -z "$ac_cpp_err"; then
16992 ac_header_preproc
=yes
16994 echo "$as_me: failed program was:" >&5
16995 cat conftest.
$ac_ext >&5
16996 ac_header_preproc
=no
16998 rm -f conftest.err conftest.
$ac_ext
16999 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17000 echo "${ECHO_T}$ac_header_preproc" >&6
17002 # So? What about this header?
17003 case $ac_header_compiler:$ac_header_preproc in
17005 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
17006 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
17007 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
17008 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;};;
17010 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
17011 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
17012 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
17013 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
17014 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
17015 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;};;
17017 echo "$as_me:$LINENO: checking for png.h" >&5
17018 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
17019 if test "${ac_cv_header_png_h+set}" = set; then
17020 echo $ECHO_N "(cached) $ECHO_C" >&6
17022 ac_cv_header_png_h
=$ac_header_preproc
17024 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
17025 echo "${ECHO_T}$ac_cv_header_png_h" >&6
17028 if test $ac_cv_header_png_h = yes; then
17029 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
17030 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
17031 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
17032 echo $ECHO_N "(cached) $ECHO_C" >&6
17034 ac_check_lib_save_LIBS
=$LIBS
17035 LIBS
="-lpng -lz -lm $LIBS"
17036 cat >conftest.
$ac_ext <<_ACEOF
17037 #line $LINENO "configure"
17038 #include "confdefs.h"
17040 /* Override any gcc2 internal prototype to avoid an error. */
17044 /* We use char because int might match the return type of a gcc2
17045 builtin and then its argument prototype would still apply. */
17046 char png_check_sig ();
17047 #ifdef F77_DUMMY_MAIN
17048 # ifdef __cplusplus
17051 int F77_DUMMY_MAIN() { return 1; }
17061 rm -f conftest.
$ac_objext conftest
$ac_exeext
17062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17063 (eval $ac_link) 2>&5
17065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17066 (exit $ac_status); } &&
17067 { ac_try
='test -s conftest$ac_exeext'
17068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17069 (eval $ac_try) 2>&5
17071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17072 (exit $ac_status); }; }; then
17073 ac_cv_lib_png_png_check_sig
=yes
17075 echo "$as_me: failed program was:" >&5
17076 cat conftest.
$ac_ext >&5
17077 ac_cv_lib_png_png_check_sig
=no
17079 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
17080 LIBS
=$ac_check_lib_save_LIBS
17082 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
17083 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
17084 if test $ac_cv_lib_png_png_check_sig = yes; then
17093 if test "x$PNG_LINK" = "x" ; then
17094 if test "$wxUSE_LIBPNG" = "sys" ; then
17095 { { echo "$as_me:$LINENO: error: system png library not found! Use --with-libpng=builtin to use built-in version" >&5
17096 echo "$as_me: error: system png library not found! Use --with-libpng=builtin to use built-in version" >&2;}
17097 { (exit 1); exit 1; }; }
17099 { echo "$as_me:$LINENO: WARNING: system png library not found, will use built-in instead" >&5
17100 echo "$as_me: WARNING: system png library not found, will use built-in instead" >&2;}
17101 wxUSE_LIBPNG
=builtin
17109 if test "$wxUSE_LIBPNG" = "builtin" ; then
17110 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
17113 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
17119 if test "$wxUSE_LIBJPEG" != "no" ; then
17120 cat >>confdefs.h
<<\_ACEOF
17121 #define wxUSE_LIBJPEG 1
17125 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
17126 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
17127 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
17131 if test "$wxUSE_MGL" != 1 ; then
17132 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
17133 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
17134 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
17135 if test "${ac_cv_header_jpeglib_h+set}" = set; then
17136 echo $ECHO_N "(cached) $ECHO_C" >&6
17138 cat >conftest.
$ac_ext <<_ACEOF
17139 #line $LINENO "configure"
17140 #include "confdefs.h"
17142 #undef HAVE_STDLIB_H
17144 #include <jpeglib.h>
17146 #ifdef F77_DUMMY_MAIN
17147 # ifdef __cplusplus
17150 int F77_DUMMY_MAIN() { return 1; }
17161 rm -f conftest.
$ac_objext
17162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17163 (eval $ac_compile) 2>&5
17165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17166 (exit $ac_status); } &&
17167 { ac_try
='test -s conftest.$ac_objext'
17168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17169 (eval $ac_try) 2>&5
17171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17172 (exit $ac_status); }; }; then
17173 ac_cv_header_jpeglib_h
=yes
17175 echo "$as_me: failed program was:" >&5
17176 cat conftest.
$ac_ext >&5
17177 ac_cv_header_jpeglib_h
=no
17180 rm -f conftest.
$ac_objext conftest.
$ac_ext
17184 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
17185 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
17187 if test "$ac_cv_header_jpeglib_h" = "yes"; then
17188 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
17189 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
17190 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
17191 echo $ECHO_N "(cached) $ECHO_C" >&6
17193 ac_check_lib_save_LIBS
=$LIBS
17194 LIBS
="-ljpeg $LIBS"
17195 cat >conftest.
$ac_ext <<_ACEOF
17196 #line $LINENO "configure"
17197 #include "confdefs.h"
17199 /* Override any gcc2 internal prototype to avoid an error. */
17203 /* We use char because int might match the return type of a gcc2
17204 builtin and then its argument prototype would still apply. */
17205 char jpeg_read_header ();
17206 #ifdef F77_DUMMY_MAIN
17207 # ifdef __cplusplus
17210 int F77_DUMMY_MAIN() { return 1; }
17215 jpeg_read_header ();
17220 rm -f conftest.
$ac_objext conftest
$ac_exeext
17221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17222 (eval $ac_link) 2>&5
17224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17225 (exit $ac_status); } &&
17226 { ac_try
='test -s conftest$ac_exeext'
17227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17228 (eval $ac_try) 2>&5
17230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17231 (exit $ac_status); }; }; then
17232 ac_cv_lib_jpeg_jpeg_read_header
=yes
17234 echo "$as_me: failed program was:" >&5
17235 cat conftest.
$ac_ext >&5
17236 ac_cv_lib_jpeg_jpeg_read_header
=no
17238 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
17239 LIBS
=$ac_check_lib_save_LIBS
17241 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
17242 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
17243 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
17244 JPEG_LINK
=" -ljpeg"
17249 if test "x$JPEG_LINK" = "x" ; then
17250 if test "$wxUSE_LIBJPEG" = "sys" ; then
17251 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
17252 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
17253 { (exit 1); exit 1; }; }
17255 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
17256 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
17257 wxUSE_LIBJPEG
=builtin
17265 if test "$wxUSE_LIBJPEG" = "builtin" ; then
17266 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
17273 if test "$wxUSE_LIBTIFF" != "no" ; then
17274 cat >>confdefs.h
<<\_ACEOF
17275 #define wxUSE_LIBTIFF 1
17279 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
17280 if test "${ac_cv_header_tiffio_h+set}" = set; then
17281 echo "$as_me:$LINENO: checking for tiffio.h" >&5
17282 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
17283 if test "${ac_cv_header_tiffio_h+set}" = set; then
17284 echo $ECHO_N "(cached) $ECHO_C" >&6
17286 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
17287 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
17289 # Is the header compilable?
17290 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
17291 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
17292 cat >conftest.
$ac_ext <<_ACEOF
17293 #line $LINENO "configure"
17294 #include "confdefs.h"
17295 $ac_includes_default
17296 #include <tiffio.h>
17298 rm -f conftest.
$ac_objext
17299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17300 (eval $ac_compile) 2>&5
17302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17303 (exit $ac_status); } &&
17304 { ac_try
='test -s conftest.$ac_objext'
17305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17306 (eval $ac_try) 2>&5
17308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17309 (exit $ac_status); }; }; then
17310 ac_header_compiler
=yes
17312 echo "$as_me: failed program was:" >&5
17313 cat conftest.
$ac_ext >&5
17314 ac_header_compiler
=no
17316 rm -f conftest.
$ac_objext conftest.
$ac_ext
17317 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17318 echo "${ECHO_T}$ac_header_compiler" >&6
17320 # Is the header present?
17321 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
17322 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
17323 cat >conftest.
$ac_ext <<_ACEOF
17324 #line $LINENO "configure"
17325 #include "confdefs.h"
17326 #include <tiffio.h>
17328 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17329 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17331 egrep -v '^ *\+' conftest.er1
>conftest.err
17333 cat conftest.err
>&5
17334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17335 (exit $ac_status); } >/dev
/null
; then
17336 if test -s conftest.err
; then
17337 ac_cpp_err
=$ac_c_preproc_warn_flag
17344 if test -z "$ac_cpp_err"; then
17345 ac_header_preproc
=yes
17347 echo "$as_me: failed program was:" >&5
17348 cat conftest.
$ac_ext >&5
17349 ac_header_preproc
=no
17351 rm -f conftest.err conftest.
$ac_ext
17352 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17353 echo "${ECHO_T}$ac_header_preproc" >&6
17355 # So? What about this header?
17356 case $ac_header_compiler:$ac_header_preproc in
17358 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
17359 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
17360 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
17361 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;};;
17363 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
17364 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
17365 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
17366 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
17367 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
17368 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;};;
17370 echo "$as_me:$LINENO: checking for tiffio.h" >&5
17371 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
17372 if test "${ac_cv_header_tiffio_h+set}" = set; then
17373 echo $ECHO_N "(cached) $ECHO_C" >&6
17375 ac_cv_header_tiffio_h
=$ac_header_preproc
17377 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
17378 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
17381 if test $ac_cv_header_tiffio_h = yes; then
17382 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
17383 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
17384 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
17385 echo $ECHO_N "(cached) $ECHO_C" >&6
17387 ac_check_lib_save_LIBS
=$LIBS
17388 LIBS
="-ltiff -lm $LIBS"
17389 cat >conftest.
$ac_ext <<_ACEOF
17390 #line $LINENO "configure"
17391 #include "confdefs.h"
17393 /* Override any gcc2 internal prototype to avoid an error. */
17397 /* We use char because int might match the return type of a gcc2
17398 builtin and then its argument prototype would still apply. */
17400 #ifdef F77_DUMMY_MAIN
17401 # ifdef __cplusplus
17404 int F77_DUMMY_MAIN() { return 1; }
17414 rm -f conftest.
$ac_objext conftest
$ac_exeext
17415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17416 (eval $ac_link) 2>&5
17418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17419 (exit $ac_status); } &&
17420 { ac_try
='test -s conftest$ac_exeext'
17421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17422 (eval $ac_try) 2>&5
17424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17425 (exit $ac_status); }; }; then
17426 ac_cv_lib_tiff_TIFFError
=yes
17428 echo "$as_me: failed program was:" >&5
17429 cat conftest.
$ac_ext >&5
17430 ac_cv_lib_tiff_TIFFError
=no
17432 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
17433 LIBS
=$ac_check_lib_save_LIBS
17435 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
17436 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
17437 if test $ac_cv_lib_tiff_TIFFError = yes; then
17438 TIFF_LINK
=" -ltiff"
17446 if test "x$TIFF_LINK" = "x" ; then
17447 if test "$wxUSE_LIBTIFF" = "sys" ; then
17448 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
17449 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
17450 { (exit 1); exit 1; }; }
17452 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
17453 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
17454 wxUSE_LIBTIFF
=builtin
17461 if test "$wxUSE_LIBTIFF" = "builtin" ; then
17462 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
17473 if test "$USE_WIN32" = 1 ; then
17475 for ac_header
in w32api.h
17477 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17478 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17479 echo "$as_me:$LINENO: checking for $ac_header" >&5
17480 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17481 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17482 echo $ECHO_N "(cached) $ECHO_C" >&6
17484 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17485 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17487 # Is the header compilable?
17488 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17489 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17490 cat >conftest.
$ac_ext <<_ACEOF
17491 #line $LINENO "configure"
17492 #include "confdefs.h"
17493 $ac_includes_default
17494 #include <$ac_header>
17496 rm -f conftest.
$ac_objext
17497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17498 (eval $ac_compile) 2>&5
17500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17501 (exit $ac_status); } &&
17502 { ac_try
='test -s conftest.$ac_objext'
17503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17504 (eval $ac_try) 2>&5
17506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17507 (exit $ac_status); }; }; then
17508 ac_header_compiler
=yes
17510 echo "$as_me: failed program was:" >&5
17511 cat conftest.
$ac_ext >&5
17512 ac_header_compiler
=no
17514 rm -f conftest.
$ac_objext conftest.
$ac_ext
17515 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17516 echo "${ECHO_T}$ac_header_compiler" >&6
17518 # Is the header present?
17519 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17520 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17521 cat >conftest.
$ac_ext <<_ACEOF
17522 #line $LINENO "configure"
17523 #include "confdefs.h"
17524 #include <$ac_header>
17526 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17527 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17529 egrep -v '^ *\+' conftest.er1
>conftest.err
17531 cat conftest.err
>&5
17532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17533 (exit $ac_status); } >/dev
/null
; then
17534 if test -s conftest.err
; then
17535 ac_cpp_err
=$ac_c_preproc_warn_flag
17542 if test -z "$ac_cpp_err"; then
17543 ac_header_preproc
=yes
17545 echo "$as_me: failed program was:" >&5
17546 cat conftest.
$ac_ext >&5
17547 ac_header_preproc
=no
17549 rm -f conftest.err conftest.
$ac_ext
17550 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17551 echo "${ECHO_T}$ac_header_preproc" >&6
17553 # So? What about this header?
17554 case $ac_header_compiler:$ac_header_preproc in
17556 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17557 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17558 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17559 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
17561 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17562 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17563 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17564 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17565 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17566 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
17568 echo "$as_me:$LINENO: checking for $ac_header" >&5
17569 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17570 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17571 echo $ECHO_N "(cached) $ECHO_C" >&6
17573 eval "$as_ac_Header=$ac_header_preproc"
17575 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17576 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17579 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17580 cat >>confdefs.h
<<_ACEOF
17581 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17588 if test "${ac_cv_header_windows_h+set}" = set; then
17589 echo "$as_me:$LINENO: checking for windows.h" >&5
17590 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
17591 if test "${ac_cv_header_windows_h+set}" = set; then
17592 echo $ECHO_N "(cached) $ECHO_C" >&6
17594 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
17595 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
17597 # Is the header compilable?
17598 echo "$as_me:$LINENO: checking windows.h usability" >&5
17599 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
17600 cat >conftest.
$ac_ext <<_ACEOF
17601 #line $LINENO "configure"
17602 #include "confdefs.h"
17603 $ac_includes_default
17604 #include <windows.h>
17606 rm -f conftest.
$ac_objext
17607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17608 (eval $ac_compile) 2>&5
17610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17611 (exit $ac_status); } &&
17612 { ac_try
='test -s conftest.$ac_objext'
17613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17614 (eval $ac_try) 2>&5
17616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17617 (exit $ac_status); }; }; then
17618 ac_header_compiler
=yes
17620 echo "$as_me: failed program was:" >&5
17621 cat conftest.
$ac_ext >&5
17622 ac_header_compiler
=no
17624 rm -f conftest.
$ac_objext conftest.
$ac_ext
17625 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17626 echo "${ECHO_T}$ac_header_compiler" >&6
17628 # Is the header present?
17629 echo "$as_me:$LINENO: checking windows.h presence" >&5
17630 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
17631 cat >conftest.
$ac_ext <<_ACEOF
17632 #line $LINENO "configure"
17633 #include "confdefs.h"
17634 #include <windows.h>
17636 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17637 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17639 egrep -v '^ *\+' conftest.er1
>conftest.err
17641 cat conftest.err
>&5
17642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17643 (exit $ac_status); } >/dev
/null
; then
17644 if test -s conftest.err
; then
17645 ac_cpp_err
=$ac_c_preproc_warn_flag
17652 if test -z "$ac_cpp_err"; then
17653 ac_header_preproc
=yes
17655 echo "$as_me: failed program was:" >&5
17656 cat conftest.
$ac_ext >&5
17657 ac_header_preproc
=no
17659 rm -f conftest.err conftest.
$ac_ext
17660 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17661 echo "${ECHO_T}$ac_header_preproc" >&6
17663 # So? What about this header?
17664 case $ac_header_compiler:$ac_header_preproc in
17666 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
17667 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
17668 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
17669 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;};;
17671 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
17672 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
17673 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
17674 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
17675 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
17676 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;};;
17678 echo "$as_me:$LINENO: checking for windows.h" >&5
17679 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
17680 if test "${ac_cv_header_windows_h+set}" = set; then
17681 echo $ECHO_N "(cached) $ECHO_C" >&6
17683 ac_cv_header_windows_h
=$ac_header_preproc
17685 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
17686 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
17689 if test $ac_cv_header_windows_h = yes; then
17693 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
17694 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
17695 { (exit 1); exit 1; }; }
17701 echo "$as_me:$LINENO: checking if w32api has good enough MSIE support" >&5
17702 echo $ECHO_N "checking if w32api has good enough MSIE support... $ECHO_C" >&6
17703 if test "${wx_cv_w32api_win32_ie+set}" = set; then
17704 echo $ECHO_N "(cached) $ECHO_C" >&6
17707 cat >conftest.
$ac_ext <<_ACEOF
17708 #line $LINENO "configure"
17709 #include "confdefs.h"
17710 #include <w32api.h>
17711 #ifdef F77_DUMMY_MAIN
17712 # ifdef __cplusplus
17715 int F77_DUMMY_MAIN() { return 1; }
17721 #define wxCHECK_W32API_VERSION( major, minor ) \
17722 ( defined( __W32API_MAJOR_VERSION ) && defined( __W32API_MINOR_VERSION ) \
17723 && ( ( __W32API_MAJOR_VERSION > (major) ) \
17724 || ( __W32API_MAJOR_VERSION == (major) && __W32API_MINOR_VERSION >= (minor))))
17726 #if !wxCHECK_W32API_VERSION(1,1)
17727 #error You need w32api 1.1 or newer
17734 rm -f conftest.
$ac_objext
17735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17736 (eval $ac_compile) 2>&5
17738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17739 (exit $ac_status); } &&
17740 { ac_try
='test -s conftest.$ac_objext'
17741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17742 (eval $ac_try) 2>&5
17744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17745 (exit $ac_status); }; }; then
17747 wx_cv_w32api_win32_ie
=yes
17750 echo "$as_me: failed program was:" >&5
17751 cat conftest.
$ac_ext >&5
17753 wx_cv_w32api_win32_ie
=no
17756 rm -f conftest.
$ac_objext conftest.
$ac_ext
17759 echo "$as_me:$LINENO: result: $wx_cv_w32api_win32_ie" >&5
17760 echo "${ECHO_T}$wx_cv_w32api_win32_ie" >&6
17761 if test "$wx_cv_w32api_win32_ie" = "yes" ; then
17762 CPPFLAGS
="$CPPFLAGS -D_WIN32_IE=0x400"
17765 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
17769 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32"
17770 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
17773 if test "$wxUSE_ODBC" = "yes" ; then
17774 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
17777 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
17778 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
17781 if test "$wxUSE_GUI" = "yes"; then
17790 if test "$wxUSE_MSW" = 1 ; then
17796 LDFLAGS
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
17800 if test "$wxUSE_GTK" = 1; then
17801 echo "$as_me:$LINENO: checking for GTK+ version" >&5
17802 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
17804 gtk_version_cached
=1
17805 if test "${wx_cv_lib_gtk+set}" = set; then
17806 echo $ECHO_N "(cached) $ECHO_C" >&6
17809 gtk_version_cached
=0
17810 echo "$as_me:$LINENO: result: " >&5
17811 echo "${ECHO_T}" >&6
17814 if test "$wxUSE_THREADS" = "yes"; then
17815 GTK_MODULES
=gthread
17819 if test "x$wxUSE_GTK2" = "xyes"; then
17820 # Check whether --enable-gtktest or --disable-gtktest was given.
17821 if test "${enable_gtktest+set}" = set; then
17822 enableval
="$enable_gtktest"
17828 pkg_config_args
=gtk
+-2.0
17829 for module
in .
$GTK_MODULES
17833 pkg_config_args
="$pkg_config_args gthread-2.0"
17840 # Extract the first word of "pkg-config", so it can be a program name with args.
17841 set dummy pkg
-config; ac_word
=$2
17842 echo "$as_me:$LINENO: checking for $ac_word" >&5
17843 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
17844 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
17845 echo $ECHO_N "(cached) $ECHO_C" >&6
17847 case $PKG_CONFIG in
17849 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
17852 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17853 for as_dir
in $PATH
17856 test -z "$as_dir" && as_dir
=.
17857 for ac_exec_ext
in '' $ac_executable_extensions; do
17858 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17859 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
17860 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17866 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
17870 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
17872 if test -n "$PKG_CONFIG"; then
17873 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
17874 echo "${ECHO_T}$PKG_CONFIG" >&6
17876 echo "$as_me:$LINENO: result: no" >&5
17877 echo "${ECHO_T}no" >&6
17881 if test x
$PKG_CONFIG != xno
; then
17882 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
17885 echo *** pkg
-config too old
; version
0.7 or better required.
17893 min_gtk_version
=2.0.0
17894 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
17895 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
17897 if test x
$PKG_CONFIG != xno
; then
17898 ## don't try to run the test against uninstalled libtool libs
17899 if $PKG_CONFIG --uninstalled $pkg_config_args; then
17900 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
17904 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
17911 if test x
"$no_gtk" = x
; then
17912 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
17913 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
17914 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
17915 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
17916 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
17917 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
17918 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
17919 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
17920 if test "x$enable_gtktest" = "xyes" ; then
17921 ac_save_CFLAGS
="$CFLAGS"
17922 ac_save_LIBS
="$LIBS"
17923 CFLAGS
="$CFLAGS $GTK_CFLAGS"
17924 LIBS
="$GTK_LIBS $LIBS"
17926 if test "$cross_compiling" = yes; then
17927 echo $ac_n "cross compiling; assumed OK... $ac_c"
17929 cat >conftest.
$ac_ext <<_ACEOF
17930 #line $LINENO "configure"
17931 #include "confdefs.h"
17933 #include <gtk/gtk.h>
17935 #include <stdlib.h>
17940 int major, minor, micro;
17943 system ("touch conf.gtktest");
17945 /* HP/UX 9 (%@#!) writes to sscanf strings */
17946 tmp_version = g_strdup("$min_gtk_version");
17947 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
17948 printf("%s, bad version string\n", "$min_gtk_version");
17952 if ((gtk_major_version != $gtk_config_major_version) ||
17953 (gtk_minor_version != $gtk_config_minor_version) ||
17954 (gtk_micro_version != $gtk_config_micro_version))
17956 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
17957 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
17958 gtk_major_version, gtk_minor_version, gtk_micro_version);
17959 printf ("*** was found! If pkg-config was correct, then it is best\n");
17960 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
17961 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
17962 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
17963 printf("*** required on your system.\n");
17964 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
17965 printf("*** to point to the correct configuration files\n");
17967 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
17968 (gtk_minor_version != GTK_MINOR_VERSION) ||
17969 (gtk_micro_version != GTK_MICRO_VERSION))
17971 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
17972 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
17973 printf("*** library (version %d.%d.%d)\n",
17974 gtk_major_version, gtk_minor_version, gtk_micro_version);
17978 if ((gtk_major_version > major) ||
17979 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
17980 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
17986 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
17987 gtk_major_version, gtk_minor_version, gtk_micro_version);
17988 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
17989 major, minor, micro);
17990 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
17992 printf("*** If you have already installed a sufficiently new version, this error\n");
17993 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
17994 printf("*** being found. The easiest way to fix this is to remove the old version\n");
17995 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
17996 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
17997 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
17998 printf("*** so that the correct libraries are found at run-time))\n");
18005 rm -f conftest
$ac_exeext
18006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18007 (eval $ac_link) 2>&5
18009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18010 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18012 (eval $ac_try) 2>&5
18014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18015 (exit $ac_status); }; }; then
18018 echo "$as_me: program exited with status $ac_status" >&5
18019 echo "$as_me: failed program was:" >&5
18020 cat conftest.
$ac_ext >&5
18021 ( exit $ac_status )
18024 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18026 CFLAGS
="$ac_save_CFLAGS"
18027 LIBS
="$ac_save_LIBS"
18030 if test "x$no_gtk" = x
; then
18031 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
18032 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
18035 echo "$as_me:$LINENO: result: no" >&5
18036 echo "${ECHO_T}no" >&6
18037 if test "$PKG_CONFIG" = "no" ; then
18038 echo "*** A new enough version of pkg-config was not found."
18039 echo "*** See http://pkgconfig.sourceforge.net"
18041 if test -f conf.gtktest
; then
18044 echo "*** Could not run GTK+ test program, checking why..."
18045 ac_save_CFLAGS
="$CFLAGS"
18046 ac_save_LIBS
="$LIBS"
18047 CFLAGS
="$CFLAGS $GTK_CFLAGS"
18048 LIBS
="$LIBS $GTK_LIBS"
18049 cat >conftest.
$ac_ext <<_ACEOF
18050 #line $LINENO "configure"
18051 #include "confdefs.h"
18053 #include <gtk/gtk.h>
18056 #ifdef F77_DUMMY_MAIN
18057 # ifdef __cplusplus
18060 int F77_DUMMY_MAIN() { return 1; }
18065 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
18070 rm -f conftest.
$ac_objext conftest
$ac_exeext
18071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18072 (eval $ac_link) 2>&5
18074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18075 (exit $ac_status); } &&
18076 { ac_try
='test -s conftest$ac_exeext'
18077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18078 (eval $ac_try) 2>&5
18080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18081 (exit $ac_status); }; }; then
18082 echo "*** The test program compiled, but did not run. This usually means"
18083 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
18084 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
18085 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
18086 echo "*** to the installed location Also, make sure you have run ldconfig if that"
18087 echo "*** is required on your system"
18089 echo "*** If you have an old version installed, it is best to remove it, although"
18090 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
18092 echo "$as_me: failed program was:" >&5
18093 cat conftest.
$ac_ext >&5
18094 echo "*** The test program failed to compile or link. See the file config.log for the"
18095 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
18097 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18098 CFLAGS
="$ac_save_CFLAGS"
18099 LIBS
="$ac_save_LIBS"
18112 if test -z "$wx_cv_lib_gtk"; then
18114 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
18115 if test "${with_gtk_prefix+set}" = set; then
18116 withval
="$with_gtk_prefix"
18117 gtk_config_prefix
="$withval"
18119 gtk_config_prefix
=""
18122 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
18123 if test "${with_gtk_exec_prefix+set}" = set; then
18124 withval
="$with_gtk_exec_prefix"
18125 gtk_config_exec_prefix
="$withval"
18127 gtk_config_exec_prefix
=""
18129 # Check whether --enable-gtktest or --disable-gtktest was given.
18130 if test "${enable_gtktest+set}" = set; then
18131 enableval
="$enable_gtktest"
18137 for module
in .
$GTK_MODULES
18141 gtk_config_args
="$gtk_config_args gthread"
18146 if test x
$gtk_config_exec_prefix != x
; then
18147 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
18148 if test x
${GTK_CONFIG+set} != xset
; then
18149 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
18152 if test x
$gtk_config_prefix != x
; then
18153 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
18154 if test x
${GTK_CONFIG+set} != xset
; then
18155 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
18159 # Extract the first word of "gtk-config", so it can be a program name with args.
18160 set dummy gtk
-config; ac_word
=$2
18161 echo "$as_me:$LINENO: checking for $ac_word" >&5
18162 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18163 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
18164 echo $ECHO_N "(cached) $ECHO_C" >&6
18166 case $GTK_CONFIG in
18168 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
18171 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18172 for as_dir
in $PATH
18175 test -z "$as_dir" && as_dir
=.
18176 for ac_exec_ext
in '' $ac_executable_extensions; do
18177 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18178 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
18179 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18185 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
18189 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
18191 if test -n "$GTK_CONFIG"; then
18192 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
18193 echo "${ECHO_T}$GTK_CONFIG" >&6
18195 echo "$as_me:$LINENO: result: no" >&5
18196 echo "${ECHO_T}no" >&6
18199 min_gtk_version
=1.2.7
18200 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
18201 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
18203 if test "$GTK_CONFIG" = "no" ; then
18206 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
18207 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
18208 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
18209 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
18210 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
18211 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
18212 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
18213 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
18214 if test "x$enable_gtktest" = "xyes" ; then
18215 ac_save_CFLAGS
="$CFLAGS"
18216 ac_save_LIBS
="$LIBS"
18217 CFLAGS
="$CFLAGS $GTK_CFLAGS"
18218 LIBS
="$GTK_LIBS $LIBS"
18220 if test "$cross_compiling" = yes; then
18221 echo $ac_n "cross compiling; assumed OK... $ac_c"
18223 cat >conftest.
$ac_ext <<_ACEOF
18224 #line $LINENO "configure"
18225 #include "confdefs.h"
18227 #include <gtk/gtk.h>
18229 #include <stdlib.h>
18234 int major, minor, micro;
18237 system ("touch conf.gtktest");
18239 /* HP/UX 9 (%@#!) writes to sscanf strings */
18240 tmp_version = g_strdup("$min_gtk_version");
18241 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
18242 printf("%s, bad version string\n", "$min_gtk_version");
18246 if ((gtk_major_version != $gtk_config_major_version) ||
18247 (gtk_minor_version != $gtk_config_minor_version) ||
18248 (gtk_micro_version != $gtk_config_micro_version))
18250 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
18251 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
18252 gtk_major_version, gtk_minor_version, gtk_micro_version);
18253 printf ("*** was found! If gtk-config was correct, then it is best\n");
18254 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
18255 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
18256 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
18257 printf("*** required on your system.\n");
18258 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
18259 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
18260 printf("*** before re-running configure\n");
18262 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
18263 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
18264 (gtk_minor_version != GTK_MINOR_VERSION) ||
18265 (gtk_micro_version != GTK_MICRO_VERSION))
18267 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
18268 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
18269 printf("*** library (version %d.%d.%d)\n",
18270 gtk_major_version, gtk_minor_version, gtk_micro_version);
18272 #endif /* defined (GTK_MAJOR_VERSION) ... */
18275 if ((gtk_major_version > major) ||
18276 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
18277 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
18283 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
18284 gtk_major_version, gtk_minor_version, gtk_micro_version);
18285 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
18286 major, minor, micro);
18287 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
18289 printf("*** If you have already installed a sufficiently new version, this error\n");
18290 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
18291 printf("*** being found. The easiest way to fix this is to remove the old version\n");
18292 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
18293 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
18294 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
18295 printf("*** so that the correct libraries are found at run-time))\n");
18302 rm -f conftest
$ac_exeext
18303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18304 (eval $ac_link) 2>&5
18306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18307 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18309 (eval $ac_try) 2>&5
18311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18312 (exit $ac_status); }; }; then
18315 echo "$as_me: program exited with status $ac_status" >&5
18316 echo "$as_me: failed program was:" >&5
18317 cat conftest.
$ac_ext >&5
18318 ( exit $ac_status )
18321 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18323 CFLAGS
="$ac_save_CFLAGS"
18324 LIBS
="$ac_save_LIBS"
18327 if test "x$no_gtk" = x
; then
18328 echo "$as_me:$LINENO: result: yes" >&5
18329 echo "${ECHO_T}yes" >&6
18330 wx_cv_lib_gtk
=1.2.7
18332 echo "$as_me:$LINENO: result: no" >&5
18333 echo "${ECHO_T}no" >&6
18334 if test "$GTK_CONFIG" = "no" ; then
18335 echo "*** The gtk-config script installed by GTK could not be found"
18336 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
18337 echo "*** your path, or set the GTK_CONFIG environment variable to the"
18338 echo "*** full path to gtk-config."
18340 if test -f conf.gtktest
; then
18343 echo "*** Could not run GTK test program, checking why..."
18344 CFLAGS
="$CFLAGS $GTK_CFLAGS"
18345 LIBS
="$LIBS $GTK_LIBS"
18346 cat >conftest.
$ac_ext <<_ACEOF
18347 #line $LINENO "configure"
18348 #include "confdefs.h"
18350 #include <gtk/gtk.h>
18353 #ifdef F77_DUMMY_MAIN
18354 # ifdef __cplusplus
18357 int F77_DUMMY_MAIN() { return 1; }
18362 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
18367 rm -f conftest.
$ac_objext conftest
$ac_exeext
18368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18369 (eval $ac_link) 2>&5
18371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18372 (exit $ac_status); } &&
18373 { ac_try
='test -s conftest$ac_exeext'
18374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18375 (eval $ac_try) 2>&5
18377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18378 (exit $ac_status); }; }; then
18379 echo "*** The test program compiled, but did not run. This usually means"
18380 echo "*** that the run-time linker is not finding GTK or finding the wrong"
18381 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
18382 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
18383 echo "*** to the installed location Also, make sure you have run ldconfig if that"
18384 echo "*** is required on your system"
18386 echo "*** If you have an old version installed, it is best to remove it, although"
18387 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
18389 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
18390 echo "*** came with the system with the command"
18392 echo "*** rpm --erase --nodeps gtk gtk-devel"
18394 echo "$as_me: failed program was:" >&5
18395 cat conftest.
$ac_ext >&5
18396 echo "*** The test program failed to compile or link. See the file config.log for the"
18397 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
18398 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
18399 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
18401 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18402 CFLAGS
="$ac_save_CFLAGS"
18403 LIBS
="$ac_save_LIBS"
18416 if test -z "$wx_cv_lib_gtk"; then
18418 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
18419 if test "${with_gtk_prefix+set}" = set; then
18420 withval
="$with_gtk_prefix"
18421 gtk_config_prefix
="$withval"
18423 gtk_config_prefix
=""
18426 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
18427 if test "${with_gtk_exec_prefix+set}" = set; then
18428 withval
="$with_gtk_exec_prefix"
18429 gtk_config_exec_prefix
="$withval"
18431 gtk_config_exec_prefix
=""
18433 # Check whether --enable-gtktest or --disable-gtktest was given.
18434 if test "${enable_gtktest+set}" = set; then
18435 enableval
="$enable_gtktest"
18441 for module
in .
$GTK_MODULES
18445 gtk_config_args
="$gtk_config_args gthread"
18450 if test x
$gtk_config_exec_prefix != x
; then
18451 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
18452 if test x
${GTK_CONFIG+set} != xset
; then
18453 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
18456 if test x
$gtk_config_prefix != x
; then
18457 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
18458 if test x
${GTK_CONFIG+set} != xset
; then
18459 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
18463 # Extract the first word of "gtk-config", so it can be a program name with args.
18464 set dummy gtk
-config; ac_word
=$2
18465 echo "$as_me:$LINENO: checking for $ac_word" >&5
18466 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18467 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
18468 echo $ECHO_N "(cached) $ECHO_C" >&6
18470 case $GTK_CONFIG in
18472 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
18475 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18476 for as_dir
in $PATH
18479 test -z "$as_dir" && as_dir
=.
18480 for ac_exec_ext
in '' $ac_executable_extensions; do
18481 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18482 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
18483 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18489 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
18493 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
18495 if test -n "$GTK_CONFIG"; then
18496 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
18497 echo "${ECHO_T}$GTK_CONFIG" >&6
18499 echo "$as_me:$LINENO: result: no" >&5
18500 echo "${ECHO_T}no" >&6
18503 min_gtk_version
=1.2.3
18504 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
18505 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
18507 if test "$GTK_CONFIG" = "no" ; then
18510 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
18511 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
18512 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
18513 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
18514 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
18515 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
18516 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
18517 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
18518 if test "x$enable_gtktest" = "xyes" ; then
18519 ac_save_CFLAGS
="$CFLAGS"
18520 ac_save_LIBS
="$LIBS"
18521 CFLAGS
="$CFLAGS $GTK_CFLAGS"
18522 LIBS
="$GTK_LIBS $LIBS"
18524 if test "$cross_compiling" = yes; then
18525 echo $ac_n "cross compiling; assumed OK... $ac_c"
18527 cat >conftest.
$ac_ext <<_ACEOF
18528 #line $LINENO "configure"
18529 #include "confdefs.h"
18531 #include <gtk/gtk.h>
18533 #include <stdlib.h>
18538 int major, minor, micro;
18541 system ("touch conf.gtktest");
18543 /* HP/UX 9 (%@#!) writes to sscanf strings */
18544 tmp_version = g_strdup("$min_gtk_version");
18545 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
18546 printf("%s, bad version string\n", "$min_gtk_version");
18550 if ((gtk_major_version != $gtk_config_major_version) ||
18551 (gtk_minor_version != $gtk_config_minor_version) ||
18552 (gtk_micro_version != $gtk_config_micro_version))
18554 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
18555 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
18556 gtk_major_version, gtk_minor_version, gtk_micro_version);
18557 printf ("*** was found! If gtk-config was correct, then it is best\n");
18558 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
18559 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
18560 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
18561 printf("*** required on your system.\n");
18562 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
18563 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
18564 printf("*** before re-running configure\n");
18566 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
18567 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
18568 (gtk_minor_version != GTK_MINOR_VERSION) ||
18569 (gtk_micro_version != GTK_MICRO_VERSION))
18571 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
18572 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
18573 printf("*** library (version %d.%d.%d)\n",
18574 gtk_major_version, gtk_minor_version, gtk_micro_version);
18576 #endif /* defined (GTK_MAJOR_VERSION) ... */
18579 if ((gtk_major_version > major) ||
18580 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
18581 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
18587 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
18588 gtk_major_version, gtk_minor_version, gtk_micro_version);
18589 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
18590 major, minor, micro);
18591 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
18593 printf("*** If you have already installed a sufficiently new version, this error\n");
18594 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
18595 printf("*** being found. The easiest way to fix this is to remove the old version\n");
18596 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
18597 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
18598 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
18599 printf("*** so that the correct libraries are found at run-time))\n");
18606 rm -f conftest
$ac_exeext
18607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18608 (eval $ac_link) 2>&5
18610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18611 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18613 (eval $ac_try) 2>&5
18615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18616 (exit $ac_status); }; }; then
18619 echo "$as_me: program exited with status $ac_status" >&5
18620 echo "$as_me: failed program was:" >&5
18621 cat conftest.
$ac_ext >&5
18622 ( exit $ac_status )
18625 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18627 CFLAGS
="$ac_save_CFLAGS"
18628 LIBS
="$ac_save_LIBS"
18631 if test "x$no_gtk" = x
; then
18632 echo "$as_me:$LINENO: result: yes" >&5
18633 echo "${ECHO_T}yes" >&6
18634 wx_cv_lib_gtk
=1.2.3
18636 echo "$as_me:$LINENO: result: no" >&5
18637 echo "${ECHO_T}no" >&6
18638 if test "$GTK_CONFIG" = "no" ; then
18639 echo "*** The gtk-config script installed by GTK could not be found"
18640 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
18641 echo "*** your path, or set the GTK_CONFIG environment variable to the"
18642 echo "*** full path to gtk-config."
18644 if test -f conf.gtktest
; then
18647 echo "*** Could not run GTK test program, checking why..."
18648 CFLAGS
="$CFLAGS $GTK_CFLAGS"
18649 LIBS
="$LIBS $GTK_LIBS"
18650 cat >conftest.
$ac_ext <<_ACEOF
18651 #line $LINENO "configure"
18652 #include "confdefs.h"
18654 #include <gtk/gtk.h>
18657 #ifdef F77_DUMMY_MAIN
18658 # ifdef __cplusplus
18661 int F77_DUMMY_MAIN() { return 1; }
18666 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
18671 rm -f conftest.
$ac_objext conftest
$ac_exeext
18672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18673 (eval $ac_link) 2>&5
18675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18676 (exit $ac_status); } &&
18677 { ac_try
='test -s conftest$ac_exeext'
18678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18679 (eval $ac_try) 2>&5
18681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18682 (exit $ac_status); }; }; then
18683 echo "*** The test program compiled, but did not run. This usually means"
18684 echo "*** that the run-time linker is not finding GTK or finding the wrong"
18685 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
18686 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
18687 echo "*** to the installed location Also, make sure you have run ldconfig if that"
18688 echo "*** is required on your system"
18690 echo "*** If you have an old version installed, it is best to remove it, although"
18691 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
18693 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
18694 echo "*** came with the system with the command"
18696 echo "*** rpm --erase --nodeps gtk gtk-devel"
18698 echo "$as_me: failed program was:" >&5
18699 cat conftest.
$ac_ext >&5
18700 echo "*** The test program failed to compile or link. See the file config.log for the"
18701 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
18702 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
18703 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
18705 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18706 CFLAGS
="$ac_save_CFLAGS"
18707 LIBS
="$ac_save_LIBS"
18720 if test -z "$wx_cv_lib_gtk"; then
18723 wx_cv_cflags_gtk
=$GTK_CFLAGS
18724 wx_cv_libs_gtk
=$GTK_LIBS
18731 if test "$gtk_version_cached" = 1; then
18732 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
18733 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
18736 case "$wx_cv_lib_gtk" in
18744 *) { { echo "$as_me:$LINENO: error:
18745 Please check that gtk-config is in path, the directory
18746 where GTK+ libraries are installed (returned by
18747 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
18748 equivalent variable and GTK+ is version 1.2.3 or above.
18750 echo "$as_me: error:
18751 Please check that gtk-config is in path, the directory
18752 where GTK+ libraries are installed (returned by
18753 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
18754 equivalent variable and GTK+ is version 1.2.3 or above.
18756 { (exit 1); exit 1; }; }
18760 if test "$WXGTK20" = 1; then
18761 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
18765 if test -z "$PKG_CONFIG"; then
18766 # Extract the first word of "pkg-config", so it can be a program name with args.
18767 set dummy pkg
-config; ac_word
=$2
18768 echo "$as_me:$LINENO: checking for $ac_word" >&5
18769 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18770 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
18771 echo $ECHO_N "(cached) $ECHO_C" >&6
18773 case $PKG_CONFIG in
18775 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
18778 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18779 for as_dir
in $PATH
18782 test -z "$as_dir" && as_dir
=.
18783 for ac_exec_ext
in '' $ac_executable_extensions; do
18784 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18785 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
18786 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18792 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
18796 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
18798 if test -n "$PKG_CONFIG"; then
18799 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
18800 echo "${ECHO_T}$PKG_CONFIG" >&6
18802 echo "$as_me:$LINENO: result: no" >&5
18803 echo "${ECHO_T}no" >&6
18808 if test "$PKG_CONFIG" = "no" ; then
18809 echo "*** The pkg-config script could not be found. Make sure it is"
18810 echo "*** in your path, or set the PKG_CONFIG environment variable"
18811 echo "*** to the full path to pkg-config."
18812 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
18814 PKG_CONFIG_MIN_VERSION
=0.9.0
18815 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
18816 echo "$as_me:$LINENO: checking for pangoft2" >&5
18817 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
18819 if $PKG_CONFIG --exists "pangoft2" ; then
18820 echo "$as_me:$LINENO: result: yes" >&5
18821 echo "${ECHO_T}yes" >&6
18824 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
18825 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
18826 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
18827 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
18828 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
18830 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
18831 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
18832 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
18833 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
18834 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
18838 ## If we have a custom action on failure, don't print errors, but
18839 ## do set a variable so people can do so.
18840 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
18847 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
18848 echo "*** See http://www.freedesktop.org/software/pkgconfig"
18852 if test $succeeded = yes; then
18854 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
18855 LIBS
="$LIBS $PANGOFT2_LIBS"
18859 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
18860 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
18861 wxUSE_PRINTING_ARCHITECTURE
="no"
18869 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
18870 GUI_TK_LIBRARY
="$wx_cv_libs_gtk"
18872 AFMINSTALL
=afminstall
18876 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
18877 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
18878 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
18879 echo $ECHO_N "(cached) $ECHO_C" >&6
18881 ac_check_lib_save_LIBS
=$LIBS
18883 cat >conftest.
$ac_ext <<_ACEOF
18884 #line $LINENO "configure"
18885 #include "confdefs.h"
18887 /* Override any gcc2 internal prototype to avoid an error. */
18891 /* We use char because int might match the return type of a gcc2
18892 builtin and then its argument prototype would still apply. */
18893 char gdk_im_open ();
18894 #ifdef F77_DUMMY_MAIN
18895 # ifdef __cplusplus
18898 int F77_DUMMY_MAIN() { return 1; }
18908 rm -f conftest.
$ac_objext conftest
$ac_exeext
18909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18910 (eval $ac_link) 2>&5
18912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18913 (exit $ac_status); } &&
18914 { ac_try
='test -s conftest$ac_exeext'
18915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18916 (eval $ac_try) 2>&5
18918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18919 (exit $ac_status); }; }; then
18920 ac_cv_lib_gdk_gdk_im_open
=yes
18922 echo "$as_me: failed program was:" >&5
18923 cat conftest.
$ac_ext >&5
18924 ac_cv_lib_gdk_gdk_im_open
=no
18926 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18927 LIBS
=$ac_check_lib_save_LIBS
18929 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
18930 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
18931 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
18932 cat >>confdefs.h
<<\_ACEOF
18940 if test "$wxUSE_MGL" = 1; then
18941 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
18942 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
18943 if test "x$MGL_ROOT" = x
; then
18944 echo "$as_me:$LINENO: result: not found" >&5
18945 echo "${ECHO_T}not found" >&6
18946 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
18947 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
18948 { (exit 1); exit 1; }; }
18950 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
18951 echo "${ECHO_T}$MGL_ROOT" >&6
18956 mgl_os
=linux
/gcc
/glibc
18962 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
18963 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
18964 { (exit 1); exit 1; }; }
18969 if test "$wxUSE_DEBUG_FLAG" = yes ; then
18970 if test -f $MGL_ROOT/lib
/debug
/$mgl_os/libmgl.a
-o \
18971 -f $MGL_ROOT/lib
/debug
/$mgl_os/libmgl.so
; then
18975 if test "x$mgl_lib_type" = x
; then
18976 if test -f $MGL_ROOT/lib
/release
/$mgl_os/libmgl.a
-o \
18977 -f $MGL_ROOT/lib
/release
/$mgl_os/libmgl.so
; then
18978 mgl_lib_type
=release
18980 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
18981 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
18982 { (exit 1); exit 1; }; }
18986 wxUSE_UNIVERSAL
="yes"
18988 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
18989 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
18991 AFMINSTALL
=afminstall
18996 if test "$wxUSE_MICROWIN" = 1; then
18997 echo "$as_me:$LINENO: checking for MicroWindows" >&5
18998 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
18999 if test "x$MICROWINDOWS" = x
; then
19000 echo "$as_me:$LINENO: result: not found" >&5
19001 echo "${ECHO_T}not found" >&6
19002 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
19003 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
19004 { (exit 1); exit 1; }; }
19006 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
19007 echo "${ECHO_T}$MICROWINDOWS" >&6
19010 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
19011 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
19012 echo "${ECHO_T}MicroWindows' libraries found." >&6
19014 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
19015 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
19016 { (exit 1); exit 1; }; }
19019 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
19020 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
19022 wxUSE_UNIVERSAL
="yes"
19024 AFMINSTALL
=afminstall
19026 GUIDIST
=MICROWIN_DIST
19028 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
19031 if test "$wxUSE_X11" = 1; then
19032 echo "$as_me:$LINENO: checking for X" >&5
19033 echo $ECHO_N "checking for X... $ECHO_C" >&6
19036 # Check whether --with-x or --without-x was given.
19037 if test "${with_x+set}" = set; then
19041 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
19042 if test "x$with_x" = xno
; then
19043 # The user explicitly disabled X.
19046 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
19047 # Both variables are already set.
19050 if test "${ac_cv_have_x+set}" = set; then
19051 echo $ECHO_N "(cached) $ECHO_C" >&6
19053 # One or both of the vars are not set, and there is no cached value.
19054 ac_x_includes
=no ac_x_libraries
=no
19055 rm -fr conftest.dir
19056 if mkdir conftest.dir
; then
19058 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
19059 cat >Imakefile
<<'_ACEOF'
19061 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
19063 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
19064 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
19065 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
19066 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
19067 for ac_extension
in a so sl
; do
19068 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
19069 test -f $ac_im_libdir/libX11.
$ac_extension; then
19070 ac_im_usrlibdir
=$ac_im_libdir; break
19073 # Screen out bogus values from the imake configuration. They are
19074 # bogus both because they are the default anyway, and because
19075 # using them would break gcc on systems where it needs fixed includes.
19076 case $ac_im_incroot in
19078 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
19080 case $ac_im_usrlibdir in
19081 /usr
/lib
| /lib
) ;;
19082 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
19086 rm -fr conftest.dir
19089 # Standard set of common directories for X headers.
19090 # Check X11 before X11Rn because it is often a symlink to the current release.
19102 /usr/local/X11/include
19103 /usr/local/X11R6/include
19104 /usr/local/X11R5/include
19105 /usr/local/X11R4/include
19107 /usr/local/include/X11
19108 /usr/local/include/X11R6
19109 /usr/local/include/X11R5
19110 /usr/local/include/X11R4
19114 /usr/XFree86/include/X11
19118 /usr/unsupported/include
19119 /usr/athena/include
19120 /usr/local/x11r5/include
19121 /usr/lpp/Xamples/include
19123 /usr/openwin/include
19124 /usr/openwin/share/include'
19126 if test "$ac_x_includes" = no
; then
19127 # Guess where to find include files, by looking for Intrinsic.h.
19128 # First, try using that file with no special directory specified.
19129 cat >conftest.
$ac_ext <<_ACEOF
19130 #line $LINENO "configure"
19131 #include "confdefs.h"
19132 #include <X11/Intrinsic.h>
19134 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19135 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19137 egrep -v '^ *\+' conftest.er1
>conftest.err
19139 cat conftest.err
>&5
19140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19141 (exit $ac_status); } >/dev
/null
; then
19142 if test -s conftest.err
; then
19143 ac_cpp_err
=$ac_c_preproc_warn_flag
19150 if test -z "$ac_cpp_err"; then
19151 # We can compile using X headers with no special include directory.
19154 echo "$as_me: failed program was:" >&5
19155 cat conftest.
$ac_ext >&5
19156 for ac_dir
in $ac_x_header_dirs; do
19157 if test -r "$ac_dir/X11/Intrinsic.h"; then
19158 ac_x_includes
=$ac_dir
19163 rm -f conftest.err conftest.
$ac_ext
19164 fi # $ac_x_includes = no
19166 if test "$ac_x_libraries" = no
; then
19167 # Check for the libraries.
19168 # See if we find them without any special options.
19169 # Don't add to $LIBS permanently.
19172 cat >conftest.
$ac_ext <<_ACEOF
19173 #line $LINENO "configure"
19174 #include "confdefs.h"
19175 #include <X11/Intrinsic.h>
19176 #ifdef F77_DUMMY_MAIN
19177 # ifdef __cplusplus
19180 int F77_DUMMY_MAIN() { return 1; }
19190 rm -f conftest.
$ac_objext conftest
$ac_exeext
19191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19192 (eval $ac_link) 2>&5
19194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19195 (exit $ac_status); } &&
19196 { ac_try
='test -s conftest$ac_exeext'
19197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19198 (eval $ac_try) 2>&5
19200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19201 (exit $ac_status); }; }; then
19203 # We can link X programs with no special library path.
19206 echo "$as_me: failed program was:" >&5
19207 cat conftest.
$ac_ext >&5
19209 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
19211 # Don't even attempt the hair of trying to link an X program!
19212 for ac_extension
in a so sl
; do
19213 if test -r $ac_dir/libXt.
$ac_extension; then
19214 ac_x_libraries
=$ac_dir
19220 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19221 fi # $ac_x_libraries = no
19223 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
19224 # Didn't find X anywhere. Cache the known absence of X.
19225 ac_cv_have_x
="have_x=no"
19227 # Record where we found X for the cache.
19228 ac_cv_have_x
="have_x=yes \
19229 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
19234 eval "$ac_cv_have_x"
19237 if test "$have_x" != yes; then
19238 echo "$as_me:$LINENO: result: $have_x" >&5
19239 echo "${ECHO_T}$have_x" >&6
19242 # If each of the values was on the command line, it overrides each guess.
19243 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
19244 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
19245 # Update the cache value to reflect the command line values.
19246 ac_cv_have_x
="have_x=yes \
19247 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
19248 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
19249 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
19252 if test "$no_x" = yes; then
19253 # Not all programs may use this symbol, but it does not hurt to define it.
19255 cat >>confdefs.h
<<\_ACEOF
19256 #define X_DISPLAY_MISSING 1
19259 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
19261 if test -n "$x_includes"; then
19262 X_CFLAGS
="$X_CFLAGS -I$x_includes"
19265 # It would also be nice to do this for all -L options, not just this one.
19266 if test -n "$x_libraries"; then
19267 X_LIBS
="$X_LIBS -L$x_libraries"
19268 # For Solaris; some versions of Sun CC require a space after -R and
19269 # others require no space. Words are not sufficient . . . .
19270 case `(uname -sr) 2>/dev/null` in
19272 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
19273 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
19274 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
19275 cat >conftest.
$ac_ext <<_ACEOF
19276 #line $LINENO "configure"
19277 #include "confdefs.h"
19279 #ifdef F77_DUMMY_MAIN
19280 # ifdef __cplusplus
19283 int F77_DUMMY_MAIN() { return 1; }
19293 rm -f conftest.
$ac_objext conftest
$ac_exeext
19294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19295 (eval $ac_link) 2>&5
19297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19298 (exit $ac_status); } &&
19299 { ac_try
='test -s conftest$ac_exeext'
19300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19301 (eval $ac_try) 2>&5
19303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19304 (exit $ac_status); }; }; then
19307 echo "$as_me: failed program was:" >&5
19308 cat conftest.
$ac_ext >&5
19311 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19312 if test $ac_R_nospace = yes; then
19313 echo "$as_me:$LINENO: result: no" >&5
19314 echo "${ECHO_T}no" >&6
19315 X_LIBS
="$X_LIBS -R$x_libraries"
19317 LIBS
="$ac_xsave_LIBS -R $x_libraries"
19318 cat >conftest.
$ac_ext <<_ACEOF
19319 #line $LINENO "configure"
19320 #include "confdefs.h"
19322 #ifdef F77_DUMMY_MAIN
19323 # ifdef __cplusplus
19326 int F77_DUMMY_MAIN() { return 1; }
19336 rm -f conftest.
$ac_objext conftest
$ac_exeext
19337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19338 (eval $ac_link) 2>&5
19340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19341 (exit $ac_status); } &&
19342 { ac_try
='test -s conftest$ac_exeext'
19343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19344 (eval $ac_try) 2>&5
19346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19347 (exit $ac_status); }; }; then
19350 echo "$as_me: failed program was:" >&5
19351 cat conftest.
$ac_ext >&5
19354 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19355 if test $ac_R_space = yes; then
19356 echo "$as_me:$LINENO: result: yes" >&5
19357 echo "${ECHO_T}yes" >&6
19358 X_LIBS
="$X_LIBS -R $x_libraries"
19360 echo "$as_me:$LINENO: result: neither works" >&5
19361 echo "${ECHO_T}neither works" >&6
19364 LIBS
=$ac_xsave_LIBS
19368 # Check for system-dependent libraries X programs must link with.
19369 # Do this before checking for the system-independent R6 libraries
19370 # (-lICE), since we may need -lsocket or whatever for X linking.
19372 if test "$ISC" = yes; then
19373 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
19375 # Martyn Johnson says this is needed for Ultrix, if the X
19376 # libraries were built with DECnet support. And Karl Berry says
19377 # the Alpha needs dnet_stub (dnet does not exist).
19378 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
19379 cat >conftest.
$ac_ext <<_ACEOF
19380 #line $LINENO "configure"
19381 #include "confdefs.h"
19383 /* Override any gcc2 internal prototype to avoid an error. */
19387 /* We use char because int might match the return type of a gcc2
19388 builtin and then its argument prototype would still apply. */
19389 char XOpenDisplay ();
19390 #ifdef F77_DUMMY_MAIN
19391 # ifdef __cplusplus
19394 int F77_DUMMY_MAIN() { return 1; }
19404 rm -f conftest.
$ac_objext conftest
$ac_exeext
19405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19406 (eval $ac_link) 2>&5
19408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19409 (exit $ac_status); } &&
19410 { ac_try
='test -s conftest$ac_exeext'
19411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19412 (eval $ac_try) 2>&5
19414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19415 (exit $ac_status); }; }; then
19418 echo "$as_me: failed program was:" >&5
19419 cat conftest.
$ac_ext >&5
19420 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
19421 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
19422 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
19423 echo $ECHO_N "(cached) $ECHO_C" >&6
19425 ac_check_lib_save_LIBS
=$LIBS
19426 LIBS
="-ldnet $LIBS"
19427 cat >conftest.
$ac_ext <<_ACEOF
19428 #line $LINENO "configure"
19429 #include "confdefs.h"
19431 /* Override any gcc2 internal prototype to avoid an error. */
19435 /* We use char because int might match the return type of a gcc2
19436 builtin and then its argument prototype would still apply. */
19438 #ifdef F77_DUMMY_MAIN
19439 # ifdef __cplusplus
19442 int F77_DUMMY_MAIN() { return 1; }
19452 rm -f conftest.
$ac_objext conftest
$ac_exeext
19453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19454 (eval $ac_link) 2>&5
19456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19457 (exit $ac_status); } &&
19458 { ac_try
='test -s conftest$ac_exeext'
19459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19460 (eval $ac_try) 2>&5
19462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19463 (exit $ac_status); }; }; then
19464 ac_cv_lib_dnet_dnet_ntoa
=yes
19466 echo "$as_me: failed program was:" >&5
19467 cat conftest.
$ac_ext >&5
19468 ac_cv_lib_dnet_dnet_ntoa
=no
19470 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19471 LIBS
=$ac_check_lib_save_LIBS
19473 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
19474 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
19475 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
19476 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
19479 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
19480 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
19481 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
19482 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
19483 echo $ECHO_N "(cached) $ECHO_C" >&6
19485 ac_check_lib_save_LIBS
=$LIBS
19486 LIBS
="-ldnet_stub $LIBS"
19487 cat >conftest.
$ac_ext <<_ACEOF
19488 #line $LINENO "configure"
19489 #include "confdefs.h"
19491 /* Override any gcc2 internal prototype to avoid an error. */
19495 /* We use char because int might match the return type of a gcc2
19496 builtin and then its argument prototype would still apply. */
19498 #ifdef F77_DUMMY_MAIN
19499 # ifdef __cplusplus
19502 int F77_DUMMY_MAIN() { return 1; }
19512 rm -f conftest.
$ac_objext conftest
$ac_exeext
19513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19514 (eval $ac_link) 2>&5
19516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19517 (exit $ac_status); } &&
19518 { ac_try
='test -s conftest$ac_exeext'
19519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19520 (eval $ac_try) 2>&5
19522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19523 (exit $ac_status); }; }; then
19524 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
19526 echo "$as_me: failed program was:" >&5
19527 cat conftest.
$ac_ext >&5
19528 ac_cv_lib_dnet_stub_dnet_ntoa
=no
19530 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19531 LIBS
=$ac_check_lib_save_LIBS
19533 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
19534 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
19535 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
19536 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
19541 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19542 LIBS
="$ac_xsave_LIBS"
19544 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
19545 # to get the SysV transport functions.
19546 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
19548 # The nsl library prevents programs from opening the X display
19549 # on Irix 5.2, according to T.E. Dickey.
19550 # The functions gethostbyname, getservbyname, and inet_addr are
19551 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
19552 echo "$as_me:$LINENO: checking for gethostbyname" >&5
19553 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
19554 if test "${ac_cv_func_gethostbyname+set}" = set; then
19555 echo $ECHO_N "(cached) $ECHO_C" >&6
19557 cat >conftest.
$ac_ext <<_ACEOF
19558 #line $LINENO "configure"
19559 #include "confdefs.h"
19560 /* System header to define __stub macros and hopefully few prototypes,
19561 which can conflict with char gethostbyname (); below. */
19562 #include <assert.h>
19563 /* Override any gcc2 internal prototype to avoid an error. */
19567 /* We use char because int might match the return type of a gcc2
19568 builtin and then its argument prototype would still apply. */
19569 char gethostbyname ();
19572 #ifdef F77_DUMMY_MAIN
19573 # ifdef __cplusplus
19576 int F77_DUMMY_MAIN() { return 1; }
19581 /* The GNU C library defines this for functions which it implements
19582 to always fail with ENOSYS. Some functions are actually named
19583 something starting with __ and the normal name is an alias. */
19584 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
19594 rm -f conftest.
$ac_objext conftest
$ac_exeext
19595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19596 (eval $ac_link) 2>&5
19598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19599 (exit $ac_status); } &&
19600 { ac_try
='test -s conftest$ac_exeext'
19601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19602 (eval $ac_try) 2>&5
19604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19605 (exit $ac_status); }; }; then
19606 ac_cv_func_gethostbyname
=yes
19608 echo "$as_me: failed program was:" >&5
19609 cat conftest.
$ac_ext >&5
19610 ac_cv_func_gethostbyname
=no
19612 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19614 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
19615 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
19617 if test $ac_cv_func_gethostbyname = no
; then
19618 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
19619 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
19620 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
19621 echo $ECHO_N "(cached) $ECHO_C" >&6
19623 ac_check_lib_save_LIBS
=$LIBS
19625 cat >conftest.
$ac_ext <<_ACEOF
19626 #line $LINENO "configure"
19627 #include "confdefs.h"
19629 /* Override any gcc2 internal prototype to avoid an error. */
19633 /* We use char because int might match the return type of a gcc2
19634 builtin and then its argument prototype would still apply. */
19635 char gethostbyname ();
19636 #ifdef F77_DUMMY_MAIN
19637 # ifdef __cplusplus
19640 int F77_DUMMY_MAIN() { return 1; }
19650 rm -f conftest.
$ac_objext conftest
$ac_exeext
19651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19652 (eval $ac_link) 2>&5
19654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19655 (exit $ac_status); } &&
19656 { ac_try
='test -s conftest$ac_exeext'
19657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19658 (eval $ac_try) 2>&5
19660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19661 (exit $ac_status); }; }; then
19662 ac_cv_lib_nsl_gethostbyname
=yes
19664 echo "$as_me: failed program was:" >&5
19665 cat conftest.
$ac_ext >&5
19666 ac_cv_lib_nsl_gethostbyname
=no
19668 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19669 LIBS
=$ac_check_lib_save_LIBS
19671 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
19672 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
19673 if test $ac_cv_lib_nsl_gethostbyname = yes; then
19674 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
19677 if test $ac_cv_lib_nsl_gethostbyname = no
; then
19678 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
19679 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
19680 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
19681 echo $ECHO_N "(cached) $ECHO_C" >&6
19683 ac_check_lib_save_LIBS
=$LIBS
19685 cat >conftest.
$ac_ext <<_ACEOF
19686 #line $LINENO "configure"
19687 #include "confdefs.h"
19689 /* Override any gcc2 internal prototype to avoid an error. */
19693 /* We use char because int might match the return type of a gcc2
19694 builtin and then its argument prototype would still apply. */
19695 char gethostbyname ();
19696 #ifdef F77_DUMMY_MAIN
19697 # ifdef __cplusplus
19700 int F77_DUMMY_MAIN() { return 1; }
19710 rm -f conftest.
$ac_objext conftest
$ac_exeext
19711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19712 (eval $ac_link) 2>&5
19714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19715 (exit $ac_status); } &&
19716 { ac_try
='test -s conftest$ac_exeext'
19717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19718 (eval $ac_try) 2>&5
19720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19721 (exit $ac_status); }; }; then
19722 ac_cv_lib_bsd_gethostbyname
=yes
19724 echo "$as_me: failed program was:" >&5
19725 cat conftest.
$ac_ext >&5
19726 ac_cv_lib_bsd_gethostbyname
=no
19728 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19729 LIBS
=$ac_check_lib_save_LIBS
19731 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
19732 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
19733 if test $ac_cv_lib_bsd_gethostbyname = yes; then
19734 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
19740 # lieder@skyler.mavd.honeywell.com says without -lsocket,
19741 # socket/setsockopt and other routines are undefined under SCO ODT
19742 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
19743 # on later versions), says Simon Leinen: it contains gethostby*
19744 # variants that don't use the nameserver (or something). -lsocket
19745 # must be given before -lnsl if both are needed. We assume that
19746 # if connect needs -lnsl, so does gethostbyname.
19747 echo "$as_me:$LINENO: checking for connect" >&5
19748 echo $ECHO_N "checking for connect... $ECHO_C" >&6
19749 if test "${ac_cv_func_connect+set}" = set; then
19750 echo $ECHO_N "(cached) $ECHO_C" >&6
19752 cat >conftest.
$ac_ext <<_ACEOF
19753 #line $LINENO "configure"
19754 #include "confdefs.h"
19755 /* System header to define __stub macros and hopefully few prototypes,
19756 which can conflict with char connect (); below. */
19757 #include <assert.h>
19758 /* Override any gcc2 internal prototype to avoid an error. */
19762 /* We use char because int might match the return type of a gcc2
19763 builtin and then its argument prototype would still apply. */
19767 #ifdef F77_DUMMY_MAIN
19768 # ifdef __cplusplus
19771 int F77_DUMMY_MAIN() { return 1; }
19776 /* The GNU C library defines this for functions which it implements
19777 to always fail with ENOSYS. Some functions are actually named
19778 something starting with __ and the normal name is an alias. */
19779 #if defined (__stub_connect) || defined (__stub___connect)
19789 rm -f conftest.
$ac_objext conftest
$ac_exeext
19790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19791 (eval $ac_link) 2>&5
19793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19794 (exit $ac_status); } &&
19795 { ac_try
='test -s conftest$ac_exeext'
19796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19797 (eval $ac_try) 2>&5
19799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19800 (exit $ac_status); }; }; then
19801 ac_cv_func_connect
=yes
19803 echo "$as_me: failed program was:" >&5
19804 cat conftest.
$ac_ext >&5
19805 ac_cv_func_connect
=no
19807 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19809 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
19810 echo "${ECHO_T}$ac_cv_func_connect" >&6
19812 if test $ac_cv_func_connect = no
; then
19813 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
19814 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
19815 if test "${ac_cv_lib_socket_connect+set}" = set; then
19816 echo $ECHO_N "(cached) $ECHO_C" >&6
19818 ac_check_lib_save_LIBS
=$LIBS
19819 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
19820 cat >conftest.
$ac_ext <<_ACEOF
19821 #line $LINENO "configure"
19822 #include "confdefs.h"
19824 /* Override any gcc2 internal prototype to avoid an error. */
19828 /* We use char because int might match the return type of a gcc2
19829 builtin and then its argument prototype would still apply. */
19831 #ifdef F77_DUMMY_MAIN
19832 # ifdef __cplusplus
19835 int F77_DUMMY_MAIN() { return 1; }
19845 rm -f conftest.
$ac_objext conftest
$ac_exeext
19846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19847 (eval $ac_link) 2>&5
19849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19850 (exit $ac_status); } &&
19851 { ac_try
='test -s conftest$ac_exeext'
19852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19853 (eval $ac_try) 2>&5
19855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19856 (exit $ac_status); }; }; then
19857 ac_cv_lib_socket_connect
=yes
19859 echo "$as_me: failed program was:" >&5
19860 cat conftest.
$ac_ext >&5
19861 ac_cv_lib_socket_connect
=no
19863 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19864 LIBS
=$ac_check_lib_save_LIBS
19866 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
19867 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
19868 if test $ac_cv_lib_socket_connect = yes; then
19869 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
19874 # Guillermo Gomez says -lposix is necessary on A/UX.
19875 echo "$as_me:$LINENO: checking for remove" >&5
19876 echo $ECHO_N "checking for remove... $ECHO_C" >&6
19877 if test "${ac_cv_func_remove+set}" = set; then
19878 echo $ECHO_N "(cached) $ECHO_C" >&6
19880 cat >conftest.
$ac_ext <<_ACEOF
19881 #line $LINENO "configure"
19882 #include "confdefs.h"
19883 /* System header to define __stub macros and hopefully few prototypes,
19884 which can conflict with char remove (); below. */
19885 #include <assert.h>
19886 /* Override any gcc2 internal prototype to avoid an error. */
19890 /* We use char because int might match the return type of a gcc2
19891 builtin and then its argument prototype would still apply. */
19895 #ifdef F77_DUMMY_MAIN
19896 # ifdef __cplusplus
19899 int F77_DUMMY_MAIN() { return 1; }
19904 /* The GNU C library defines this for functions which it implements
19905 to always fail with ENOSYS. Some functions are actually named
19906 something starting with __ and the normal name is an alias. */
19907 #if defined (__stub_remove) || defined (__stub___remove)
19917 rm -f conftest.
$ac_objext conftest
$ac_exeext
19918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19919 (eval $ac_link) 2>&5
19921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19922 (exit $ac_status); } &&
19923 { ac_try
='test -s conftest$ac_exeext'
19924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19925 (eval $ac_try) 2>&5
19927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19928 (exit $ac_status); }; }; then
19929 ac_cv_func_remove
=yes
19931 echo "$as_me: failed program was:" >&5
19932 cat conftest.
$ac_ext >&5
19933 ac_cv_func_remove
=no
19935 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19937 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
19938 echo "${ECHO_T}$ac_cv_func_remove" >&6
19940 if test $ac_cv_func_remove = no
; then
19941 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
19942 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
19943 if test "${ac_cv_lib_posix_remove+set}" = set; then
19944 echo $ECHO_N "(cached) $ECHO_C" >&6
19946 ac_check_lib_save_LIBS
=$LIBS
19947 LIBS
="-lposix $LIBS"
19948 cat >conftest.
$ac_ext <<_ACEOF
19949 #line $LINENO "configure"
19950 #include "confdefs.h"
19952 /* Override any gcc2 internal prototype to avoid an error. */
19956 /* We use char because int might match the return type of a gcc2
19957 builtin and then its argument prototype would still apply. */
19959 #ifdef F77_DUMMY_MAIN
19960 # ifdef __cplusplus
19963 int F77_DUMMY_MAIN() { return 1; }
19973 rm -f conftest.
$ac_objext conftest
$ac_exeext
19974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19975 (eval $ac_link) 2>&5
19977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19978 (exit $ac_status); } &&
19979 { ac_try
='test -s conftest$ac_exeext'
19980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19981 (eval $ac_try) 2>&5
19983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19984 (exit $ac_status); }; }; then
19985 ac_cv_lib_posix_remove
=yes
19987 echo "$as_me: failed program was:" >&5
19988 cat conftest.
$ac_ext >&5
19989 ac_cv_lib_posix_remove
=no
19991 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19992 LIBS
=$ac_check_lib_save_LIBS
19994 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
19995 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
19996 if test $ac_cv_lib_posix_remove = yes; then
19997 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
20002 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
20003 echo "$as_me:$LINENO: checking for shmat" >&5
20004 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
20005 if test "${ac_cv_func_shmat+set}" = set; then
20006 echo $ECHO_N "(cached) $ECHO_C" >&6
20008 cat >conftest.
$ac_ext <<_ACEOF
20009 #line $LINENO "configure"
20010 #include "confdefs.h"
20011 /* System header to define __stub macros and hopefully few prototypes,
20012 which can conflict with char shmat (); below. */
20013 #include <assert.h>
20014 /* Override any gcc2 internal prototype to avoid an error. */
20018 /* We use char because int might match the return type of a gcc2
20019 builtin and then its argument prototype would still apply. */
20023 #ifdef F77_DUMMY_MAIN
20024 # ifdef __cplusplus
20027 int F77_DUMMY_MAIN() { return 1; }
20032 /* The GNU C library defines this for functions which it implements
20033 to always fail with ENOSYS. Some functions are actually named
20034 something starting with __ and the normal name is an alias. */
20035 #if defined (__stub_shmat) || defined (__stub___shmat)
20045 rm -f conftest.
$ac_objext conftest
$ac_exeext
20046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20047 (eval $ac_link) 2>&5
20049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20050 (exit $ac_status); } &&
20051 { ac_try
='test -s conftest$ac_exeext'
20052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20053 (eval $ac_try) 2>&5
20055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20056 (exit $ac_status); }; }; then
20057 ac_cv_func_shmat
=yes
20059 echo "$as_me: failed program was:" >&5
20060 cat conftest.
$ac_ext >&5
20061 ac_cv_func_shmat
=no
20063 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20065 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
20066 echo "${ECHO_T}$ac_cv_func_shmat" >&6
20068 if test $ac_cv_func_shmat = no
; then
20069 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
20070 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
20071 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
20072 echo $ECHO_N "(cached) $ECHO_C" >&6
20074 ac_check_lib_save_LIBS
=$LIBS
20076 cat >conftest.
$ac_ext <<_ACEOF
20077 #line $LINENO "configure"
20078 #include "confdefs.h"
20080 /* Override any gcc2 internal prototype to avoid an error. */
20084 /* We use char because int might match the return type of a gcc2
20085 builtin and then its argument prototype would still apply. */
20087 #ifdef F77_DUMMY_MAIN
20088 # ifdef __cplusplus
20091 int F77_DUMMY_MAIN() { return 1; }
20101 rm -f conftest.
$ac_objext conftest
$ac_exeext
20102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20103 (eval $ac_link) 2>&5
20105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20106 (exit $ac_status); } &&
20107 { ac_try
='test -s conftest$ac_exeext'
20108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20109 (eval $ac_try) 2>&5
20111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20112 (exit $ac_status); }; }; then
20113 ac_cv_lib_ipc_shmat
=yes
20115 echo "$as_me: failed program was:" >&5
20116 cat conftest.
$ac_ext >&5
20117 ac_cv_lib_ipc_shmat
=no
20119 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20120 LIBS
=$ac_check_lib_save_LIBS
20122 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
20123 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
20124 if test $ac_cv_lib_ipc_shmat = yes; then
20125 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
20131 # Check for libraries that X11R6 Xt/Xaw programs need.
20132 ac_save_LDFLAGS
=$LDFLAGS
20133 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
20134 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
20135 # check for ICE first), but we must link in the order -lSM -lICE or
20136 # we get undefined symbols. So assume we have SM if we have ICE.
20137 # These have to be linked with before -lX11, unlike the other
20138 # libraries we check for below, so use a different variable.
20139 # John Interrante, Karl Berry
20140 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
20141 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
20142 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
20143 echo $ECHO_N "(cached) $ECHO_C" >&6
20145 ac_check_lib_save_LIBS
=$LIBS
20146 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
20147 cat >conftest.
$ac_ext <<_ACEOF
20148 #line $LINENO "configure"
20149 #include "confdefs.h"
20151 /* Override any gcc2 internal prototype to avoid an error. */
20155 /* We use char because int might match the return type of a gcc2
20156 builtin and then its argument prototype would still apply. */
20157 char IceConnectionNumber ();
20158 #ifdef F77_DUMMY_MAIN
20159 # ifdef __cplusplus
20162 int F77_DUMMY_MAIN() { return 1; }
20167 IceConnectionNumber ();
20172 rm -f conftest.
$ac_objext conftest
$ac_exeext
20173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20174 (eval $ac_link) 2>&5
20176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20177 (exit $ac_status); } &&
20178 { ac_try
='test -s conftest$ac_exeext'
20179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20180 (eval $ac_try) 2>&5
20182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20183 (exit $ac_status); }; }; then
20184 ac_cv_lib_ICE_IceConnectionNumber
=yes
20186 echo "$as_me: failed program was:" >&5
20187 cat conftest.
$ac_ext >&5
20188 ac_cv_lib_ICE_IceConnectionNumber
=no
20190 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20191 LIBS
=$ac_check_lib_save_LIBS
20193 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
20194 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
20195 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
20196 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
20199 LDFLAGS
=$ac_save_LDFLAGS
20204 if test "$no_x" = "yes"; then
20205 { { echo "$as_me:$LINENO: error: X11 not found" >&5
20206 echo "$as_me: error: X11 not found" >&2;}
20207 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
20210 GUI_TK_LIBRARY
="$X_LIBS"
20211 TOOLKIT_INCLUDE
="$X_CFLAGS"
20212 AFMINSTALL
=afminstall
20213 COMPILED_X_PROGRAM
=0
20215 if test "$wxUSE_NANOX" = "yes"; then
20216 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
20217 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
20218 if test "x$MICROWIN" = x
; then
20219 echo "$as_me:$LINENO: result: not found" >&5
20220 echo "${ECHO_T}not found" >&6
20221 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
20222 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
20223 { (exit 1); exit 1; }; }
20225 echo "$as_me:$LINENO: result: $MICROWIN" >&5
20226 echo "${ECHO_T}$MICROWIN" >&6
20227 cat >>confdefs.h
<<\_ACEOF
20228 #define wxUSE_NANOX 1
20235 echo "$as_me:$LINENO: checking for Xpm library" >&5
20236 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
20239 for ac_dir
in $SEARCH_LIB;
20241 for ac_extension
in a so sl dylib
; do
20242 if test -f "$ac_dir/libXpm.$ac_extension"; then
20243 ac_find_libraries
=$ac_dir
20249 if test "$ac_find_libraries" != "" ; then
20251 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
20253 if test $result = 0; then
20256 ac_path_to_link
=" -L$ac_find_libraries"
20259 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
20261 cat >>confdefs.h
<<\_ACEOF
20262 #define wxHAVE_LIB_XPM 1
20265 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
20266 echo "${ECHO_T}found at $ac_find_libraries" >&6
20268 cat >conftest.
$ac_ext <<_ACEOF
20269 #line $LINENO "configure"
20270 #include "confdefs.h"
20272 #include <X11/xpm.h>
20274 #ifdef F77_DUMMY_MAIN
20275 # ifdef __cplusplus
20278 int F77_DUMMY_MAIN() { return 1; }
20285 version = XpmLibraryVersion();
20291 rm -f conftest.
$ac_objext
20292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20293 (eval $ac_compile) 2>&5
20295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20296 (exit $ac_status); } &&
20297 { ac_try
='test -s conftest.$ac_objext'
20298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20299 (eval $ac_try) 2>&5
20301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20302 (exit $ac_status); }; }; then
20305 cat >>confdefs.h
<<\_ACEOF
20306 #define wxHAVE_LIB_XPM 1
20309 echo "$as_me:$LINENO: result: found in default search path" >&5
20310 echo "${ECHO_T}found in default search path" >&6
20311 COMPILED_X_PROGRAM
=0
20314 echo "$as_me: failed program was:" >&5
20315 cat conftest.
$ac_ext >&5
20317 echo "$as_me:$LINENO: result: no" >&5
20318 echo "${ECHO_T}no" >&6
20319 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
20320 echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
20324 rm -f conftest.
$ac_objext conftest.
$ac_ext
20327 wxUSE_UNIVERSAL
="yes"
20329 if test "$wxUSE_NANOX" = "yes"; then
20330 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
20331 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__NANOX__ -DMWPIXEL_FORMAT=MWPF_TRUECOLOR0888 -DHAVE_FILEIO -DHAVE_BMP_SUPPORT=1 -DHAVE_GIF_SUPPORT=1 -DHAVE_PNM_SUPPORT=1 -DHAVE_XPM_SUPPORT=1 -DLINUX=1 -DUNIX=1 -DUSE_EXPOSURE -DSCREEN_HEIGHT=480 -DSCREEN_WIDTH=640 -DSCREEN_DEPTH=4 -DX11=1"
20332 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
20334 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11$xpm_link"
20337 TOOLKIT_VPATH
="\${top_srcdir}/src/x11"
20342 if test "$wxUSE_WINE" = 1; then
20343 if test "${ac_cv_header_windows_h+set}" = set; then
20344 echo "$as_me:$LINENO: checking for windows.h" >&5
20345 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
20346 if test "${ac_cv_header_windows_h+set}" = set; then
20347 echo $ECHO_N "(cached) $ECHO_C" >&6
20349 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
20350 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
20352 # Is the header compilable?
20353 echo "$as_me:$LINENO: checking windows.h usability" >&5
20354 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
20355 cat >conftest.
$ac_ext <<_ACEOF
20356 #line $LINENO "configure"
20357 #include "confdefs.h"
20358 $ac_includes_default
20359 #include <windows.h>
20361 rm -f conftest.
$ac_objext
20362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20363 (eval $ac_compile) 2>&5
20365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20366 (exit $ac_status); } &&
20367 { ac_try
='test -s conftest.$ac_objext'
20368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20369 (eval $ac_try) 2>&5
20371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20372 (exit $ac_status); }; }; then
20373 ac_header_compiler
=yes
20375 echo "$as_me: failed program was:" >&5
20376 cat conftest.
$ac_ext >&5
20377 ac_header_compiler
=no
20379 rm -f conftest.
$ac_objext conftest.
$ac_ext
20380 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20381 echo "${ECHO_T}$ac_header_compiler" >&6
20383 # Is the header present?
20384 echo "$as_me:$LINENO: checking windows.h presence" >&5
20385 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
20386 cat >conftest.
$ac_ext <<_ACEOF
20387 #line $LINENO "configure"
20388 #include "confdefs.h"
20389 #include <windows.h>
20391 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20392 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20394 egrep -v '^ *\+' conftest.er1
>conftest.err
20396 cat conftest.err
>&5
20397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20398 (exit $ac_status); } >/dev
/null
; then
20399 if test -s conftest.err
; then
20400 ac_cpp_err
=$ac_c_preproc_warn_flag
20407 if test -z "$ac_cpp_err"; then
20408 ac_header_preproc
=yes
20410 echo "$as_me: failed program was:" >&5
20411 cat conftest.
$ac_ext >&5
20412 ac_header_preproc
=no
20414 rm -f conftest.err conftest.
$ac_ext
20415 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20416 echo "${ECHO_T}$ac_header_preproc" >&6
20418 # So? What about this header?
20419 case $ac_header_compiler:$ac_header_preproc in
20421 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
20422 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20423 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
20424 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;};;
20426 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
20427 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
20428 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
20429 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
20430 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
20431 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;};;
20433 echo "$as_me:$LINENO: checking for windows.h" >&5
20434 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
20435 if test "${ac_cv_header_windows_h+set}" = set; then
20436 echo $ECHO_N "(cached) $ECHO_C" >&6
20438 ac_cv_header_windows_h
=$ac_header_preproc
20440 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
20441 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
20444 if test $ac_cv_header_windows_h = yes; then
20448 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
20449 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
20450 { (exit 1); exit 1; }; }
20457 echo "$as_me:$LINENO: checking for Xpm library" >&5
20458 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
20461 for ac_dir
in $SEARCH_LIB;
20463 for ac_extension
in a so sl dylib
; do
20464 if test -f "$ac_dir/libXpm.$ac_extension"; then
20465 ac_find_libraries
=$ac_dir
20471 if test "$ac_find_libraries" != "" ; then
20472 GUI_TK_LIBRARY
="-L$ac_find_libraries"
20474 cat >>confdefs.h
<<\_ACEOF
20475 #define wxHAVE_LIB_XPM 1
20478 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
20479 echo "${ECHO_T}found at $ac_find_libraries" >&6
20481 echo "$as_me:$LINENO: result: no" >&5
20482 echo "${ECHO_T}no" >&6
20483 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
20484 echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
20488 echo "$as_me:$LINENO: checking for Mesa library" >&5
20489 echo $ECHO_N "checking for Mesa library... $ECHO_C" >&6
20492 for ac_dir
in $SEARCH_LIB;
20494 for ac_extension
in a so sl dylib
; do
20495 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
20496 ac_find_libraries
=$ac_dir
20502 if test "$ac_find_libraries" != "" ; then
20503 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
20504 mesa_link
=" -lMesaGL"
20505 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
20506 echo "${ECHO_T}found at $ac_find_libraries" >&6
20508 { { echo "$as_me:$LINENO: error: no" >&5
20509 echo "$as_me: error: no" >&2;}
20510 { (exit 1); exit 1; }; }
20513 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lwine$mesa_link$xpm_link -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
20516 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXWINE__"
20519 if test "$wxUSE_MOTIF" = 1; then
20520 if test "$no_x" = yes; then
20521 # Not all programs may use this symbol, but it does not hurt to define it.
20523 cat >>confdefs.h
<<\_ACEOF
20524 #define X_DISPLAY_MISSING 1
20527 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
20529 if test -n "$x_includes"; then
20530 X_CFLAGS
="$X_CFLAGS -I$x_includes"
20533 # It would also be nice to do this for all -L options, not just this one.
20534 if test -n "$x_libraries"; then
20535 X_LIBS
="$X_LIBS -L$x_libraries"
20536 # For Solaris; some versions of Sun CC require a space after -R and
20537 # others require no space. Words are not sufficient . . . .
20538 case `(uname -sr) 2>/dev/null` in
20540 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
20541 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
20542 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
20543 cat >conftest.
$ac_ext <<_ACEOF
20544 #line $LINENO "configure"
20545 #include "confdefs.h"
20547 #ifdef F77_DUMMY_MAIN
20548 # ifdef __cplusplus
20551 int F77_DUMMY_MAIN() { return 1; }
20561 rm -f conftest.
$ac_objext conftest
$ac_exeext
20562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20563 (eval $ac_link) 2>&5
20565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20566 (exit $ac_status); } &&
20567 { ac_try
='test -s conftest$ac_exeext'
20568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20569 (eval $ac_try) 2>&5
20571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20572 (exit $ac_status); }; }; then
20575 echo "$as_me: failed program was:" >&5
20576 cat conftest.
$ac_ext >&5
20579 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20580 if test $ac_R_nospace = yes; then
20581 echo "$as_me:$LINENO: result: no" >&5
20582 echo "${ECHO_T}no" >&6
20583 X_LIBS
="$X_LIBS -R$x_libraries"
20585 LIBS
="$ac_xsave_LIBS -R $x_libraries"
20586 cat >conftest.
$ac_ext <<_ACEOF
20587 #line $LINENO "configure"
20588 #include "confdefs.h"
20590 #ifdef F77_DUMMY_MAIN
20591 # ifdef __cplusplus
20594 int F77_DUMMY_MAIN() { return 1; }
20604 rm -f conftest.
$ac_objext conftest
$ac_exeext
20605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20606 (eval $ac_link) 2>&5
20608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20609 (exit $ac_status); } &&
20610 { ac_try
='test -s conftest$ac_exeext'
20611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20612 (eval $ac_try) 2>&5
20614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20615 (exit $ac_status); }; }; then
20618 echo "$as_me: failed program was:" >&5
20619 cat conftest.
$ac_ext >&5
20622 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20623 if test $ac_R_space = yes; then
20624 echo "$as_me:$LINENO: result: yes" >&5
20625 echo "${ECHO_T}yes" >&6
20626 X_LIBS
="$X_LIBS -R $x_libraries"
20628 echo "$as_me:$LINENO: result: neither works" >&5
20629 echo "${ECHO_T}neither works" >&6
20632 LIBS
=$ac_xsave_LIBS
20636 # Check for system-dependent libraries X programs must link with.
20637 # Do this before checking for the system-independent R6 libraries
20638 # (-lICE), since we may need -lsocket or whatever for X linking.
20640 if test "$ISC" = yes; then
20641 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
20643 # Martyn Johnson says this is needed for Ultrix, if the X
20644 # libraries were built with DECnet support. And Karl Berry says
20645 # the Alpha needs dnet_stub (dnet does not exist).
20646 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
20647 cat >conftest.
$ac_ext <<_ACEOF
20648 #line $LINENO "configure"
20649 #include "confdefs.h"
20651 /* Override any gcc2 internal prototype to avoid an error. */
20655 /* We use char because int might match the return type of a gcc2
20656 builtin and then its argument prototype would still apply. */
20657 char XOpenDisplay ();
20658 #ifdef F77_DUMMY_MAIN
20659 # ifdef __cplusplus
20662 int F77_DUMMY_MAIN() { return 1; }
20672 rm -f conftest.
$ac_objext conftest
$ac_exeext
20673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20674 (eval $ac_link) 2>&5
20676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20677 (exit $ac_status); } &&
20678 { ac_try
='test -s conftest$ac_exeext'
20679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20680 (eval $ac_try) 2>&5
20682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20683 (exit $ac_status); }; }; then
20686 echo "$as_me: failed program was:" >&5
20687 cat conftest.
$ac_ext >&5
20688 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
20689 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
20690 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
20691 echo $ECHO_N "(cached) $ECHO_C" >&6
20693 ac_check_lib_save_LIBS
=$LIBS
20694 LIBS
="-ldnet $LIBS"
20695 cat >conftest.
$ac_ext <<_ACEOF
20696 #line $LINENO "configure"
20697 #include "confdefs.h"
20699 /* Override any gcc2 internal prototype to avoid an error. */
20703 /* We use char because int might match the return type of a gcc2
20704 builtin and then its argument prototype would still apply. */
20706 #ifdef F77_DUMMY_MAIN
20707 # ifdef __cplusplus
20710 int F77_DUMMY_MAIN() { return 1; }
20720 rm -f conftest.
$ac_objext conftest
$ac_exeext
20721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20722 (eval $ac_link) 2>&5
20724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20725 (exit $ac_status); } &&
20726 { ac_try
='test -s conftest$ac_exeext'
20727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20728 (eval $ac_try) 2>&5
20730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20731 (exit $ac_status); }; }; then
20732 ac_cv_lib_dnet_dnet_ntoa
=yes
20734 echo "$as_me: failed program was:" >&5
20735 cat conftest.
$ac_ext >&5
20736 ac_cv_lib_dnet_dnet_ntoa
=no
20738 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20739 LIBS
=$ac_check_lib_save_LIBS
20741 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
20742 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
20743 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
20744 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
20747 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
20748 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
20749 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
20750 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
20751 echo $ECHO_N "(cached) $ECHO_C" >&6
20753 ac_check_lib_save_LIBS
=$LIBS
20754 LIBS
="-ldnet_stub $LIBS"
20755 cat >conftest.
$ac_ext <<_ACEOF
20756 #line $LINENO "configure"
20757 #include "confdefs.h"
20759 /* Override any gcc2 internal prototype to avoid an error. */
20763 /* We use char because int might match the return type of a gcc2
20764 builtin and then its argument prototype would still apply. */
20766 #ifdef F77_DUMMY_MAIN
20767 # ifdef __cplusplus
20770 int F77_DUMMY_MAIN() { return 1; }
20780 rm -f conftest.
$ac_objext conftest
$ac_exeext
20781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20782 (eval $ac_link) 2>&5
20784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20785 (exit $ac_status); } &&
20786 { ac_try
='test -s conftest$ac_exeext'
20787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20788 (eval $ac_try) 2>&5
20790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20791 (exit $ac_status); }; }; then
20792 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
20794 echo "$as_me: failed program was:" >&5
20795 cat conftest.
$ac_ext >&5
20796 ac_cv_lib_dnet_stub_dnet_ntoa
=no
20798 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20799 LIBS
=$ac_check_lib_save_LIBS
20801 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
20802 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
20803 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
20804 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
20809 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20810 LIBS
="$ac_xsave_LIBS"
20812 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
20813 # to get the SysV transport functions.
20814 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
20816 # The nsl library prevents programs from opening the X display
20817 # on Irix 5.2, according to T.E. Dickey.
20818 # The functions gethostbyname, getservbyname, and inet_addr are
20819 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
20820 echo "$as_me:$LINENO: checking for gethostbyname" >&5
20821 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
20822 if test "${ac_cv_func_gethostbyname+set}" = set; then
20823 echo $ECHO_N "(cached) $ECHO_C" >&6
20825 cat >conftest.
$ac_ext <<_ACEOF
20826 #line $LINENO "configure"
20827 #include "confdefs.h"
20828 /* System header to define __stub macros and hopefully few prototypes,
20829 which can conflict with char gethostbyname (); below. */
20830 #include <assert.h>
20831 /* Override any gcc2 internal prototype to avoid an error. */
20835 /* We use char because int might match the return type of a gcc2
20836 builtin and then its argument prototype would still apply. */
20837 char gethostbyname ();
20840 #ifdef F77_DUMMY_MAIN
20841 # ifdef __cplusplus
20844 int F77_DUMMY_MAIN() { return 1; }
20849 /* The GNU C library defines this for functions which it implements
20850 to always fail with ENOSYS. Some functions are actually named
20851 something starting with __ and the normal name is an alias. */
20852 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
20862 rm -f conftest.
$ac_objext conftest
$ac_exeext
20863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20864 (eval $ac_link) 2>&5
20866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20867 (exit $ac_status); } &&
20868 { ac_try
='test -s conftest$ac_exeext'
20869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20870 (eval $ac_try) 2>&5
20872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20873 (exit $ac_status); }; }; then
20874 ac_cv_func_gethostbyname
=yes
20876 echo "$as_me: failed program was:" >&5
20877 cat conftest.
$ac_ext >&5
20878 ac_cv_func_gethostbyname
=no
20880 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20882 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
20883 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
20885 if test $ac_cv_func_gethostbyname = no
; then
20886 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
20887 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
20888 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
20889 echo $ECHO_N "(cached) $ECHO_C" >&6
20891 ac_check_lib_save_LIBS
=$LIBS
20893 cat >conftest.
$ac_ext <<_ACEOF
20894 #line $LINENO "configure"
20895 #include "confdefs.h"
20897 /* Override any gcc2 internal prototype to avoid an error. */
20901 /* We use char because int might match the return type of a gcc2
20902 builtin and then its argument prototype would still apply. */
20903 char gethostbyname ();
20904 #ifdef F77_DUMMY_MAIN
20905 # ifdef __cplusplus
20908 int F77_DUMMY_MAIN() { return 1; }
20918 rm -f conftest.
$ac_objext conftest
$ac_exeext
20919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20920 (eval $ac_link) 2>&5
20922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20923 (exit $ac_status); } &&
20924 { ac_try
='test -s conftest$ac_exeext'
20925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20926 (eval $ac_try) 2>&5
20928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20929 (exit $ac_status); }; }; then
20930 ac_cv_lib_nsl_gethostbyname
=yes
20932 echo "$as_me: failed program was:" >&5
20933 cat conftest.
$ac_ext >&5
20934 ac_cv_lib_nsl_gethostbyname
=no
20936 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20937 LIBS
=$ac_check_lib_save_LIBS
20939 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
20940 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
20941 if test $ac_cv_lib_nsl_gethostbyname = yes; then
20942 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
20945 if test $ac_cv_lib_nsl_gethostbyname = no
; then
20946 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
20947 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
20948 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
20949 echo $ECHO_N "(cached) $ECHO_C" >&6
20951 ac_check_lib_save_LIBS
=$LIBS
20953 cat >conftest.
$ac_ext <<_ACEOF
20954 #line $LINENO "configure"
20955 #include "confdefs.h"
20957 /* Override any gcc2 internal prototype to avoid an error. */
20961 /* We use char because int might match the return type of a gcc2
20962 builtin and then its argument prototype would still apply. */
20963 char gethostbyname ();
20964 #ifdef F77_DUMMY_MAIN
20965 # ifdef __cplusplus
20968 int F77_DUMMY_MAIN() { return 1; }
20978 rm -f conftest.
$ac_objext conftest
$ac_exeext
20979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20980 (eval $ac_link) 2>&5
20982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20983 (exit $ac_status); } &&
20984 { ac_try
='test -s conftest$ac_exeext'
20985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20986 (eval $ac_try) 2>&5
20988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20989 (exit $ac_status); }; }; then
20990 ac_cv_lib_bsd_gethostbyname
=yes
20992 echo "$as_me: failed program was:" >&5
20993 cat conftest.
$ac_ext >&5
20994 ac_cv_lib_bsd_gethostbyname
=no
20996 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20997 LIBS
=$ac_check_lib_save_LIBS
20999 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
21000 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
21001 if test $ac_cv_lib_bsd_gethostbyname = yes; then
21002 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
21008 # lieder@skyler.mavd.honeywell.com says without -lsocket,
21009 # socket/setsockopt and other routines are undefined under SCO ODT
21010 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
21011 # on later versions), says Simon Leinen: it contains gethostby*
21012 # variants that don't use the nameserver (or something). -lsocket
21013 # must be given before -lnsl if both are needed. We assume that
21014 # if connect needs -lnsl, so does gethostbyname.
21015 echo "$as_me:$LINENO: checking for connect" >&5
21016 echo $ECHO_N "checking for connect... $ECHO_C" >&6
21017 if test "${ac_cv_func_connect+set}" = set; then
21018 echo $ECHO_N "(cached) $ECHO_C" >&6
21020 cat >conftest.
$ac_ext <<_ACEOF
21021 #line $LINENO "configure"
21022 #include "confdefs.h"
21023 /* System header to define __stub macros and hopefully few prototypes,
21024 which can conflict with char connect (); below. */
21025 #include <assert.h>
21026 /* Override any gcc2 internal prototype to avoid an error. */
21030 /* We use char because int might match the return type of a gcc2
21031 builtin and then its argument prototype would still apply. */
21035 #ifdef F77_DUMMY_MAIN
21036 # ifdef __cplusplus
21039 int F77_DUMMY_MAIN() { return 1; }
21044 /* The GNU C library defines this for functions which it implements
21045 to always fail with ENOSYS. Some functions are actually named
21046 something starting with __ and the normal name is an alias. */
21047 #if defined (__stub_connect) || defined (__stub___connect)
21057 rm -f conftest.
$ac_objext conftest
$ac_exeext
21058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21059 (eval $ac_link) 2>&5
21061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21062 (exit $ac_status); } &&
21063 { ac_try
='test -s conftest$ac_exeext'
21064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21065 (eval $ac_try) 2>&5
21067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21068 (exit $ac_status); }; }; then
21069 ac_cv_func_connect
=yes
21071 echo "$as_me: failed program was:" >&5
21072 cat conftest.
$ac_ext >&5
21073 ac_cv_func_connect
=no
21075 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21077 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
21078 echo "${ECHO_T}$ac_cv_func_connect" >&6
21080 if test $ac_cv_func_connect = no
; then
21081 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
21082 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
21083 if test "${ac_cv_lib_socket_connect+set}" = set; then
21084 echo $ECHO_N "(cached) $ECHO_C" >&6
21086 ac_check_lib_save_LIBS
=$LIBS
21087 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
21088 cat >conftest.
$ac_ext <<_ACEOF
21089 #line $LINENO "configure"
21090 #include "confdefs.h"
21092 /* Override any gcc2 internal prototype to avoid an error. */
21096 /* We use char because int might match the return type of a gcc2
21097 builtin and then its argument prototype would still apply. */
21099 #ifdef F77_DUMMY_MAIN
21100 # ifdef __cplusplus
21103 int F77_DUMMY_MAIN() { return 1; }
21113 rm -f conftest.
$ac_objext conftest
$ac_exeext
21114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21115 (eval $ac_link) 2>&5
21117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21118 (exit $ac_status); } &&
21119 { ac_try
='test -s conftest$ac_exeext'
21120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21121 (eval $ac_try) 2>&5
21123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21124 (exit $ac_status); }; }; then
21125 ac_cv_lib_socket_connect
=yes
21127 echo "$as_me: failed program was:" >&5
21128 cat conftest.
$ac_ext >&5
21129 ac_cv_lib_socket_connect
=no
21131 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21132 LIBS
=$ac_check_lib_save_LIBS
21134 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
21135 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
21136 if test $ac_cv_lib_socket_connect = yes; then
21137 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
21142 # Guillermo Gomez says -lposix is necessary on A/UX.
21143 echo "$as_me:$LINENO: checking for remove" >&5
21144 echo $ECHO_N "checking for remove... $ECHO_C" >&6
21145 if test "${ac_cv_func_remove+set}" = set; then
21146 echo $ECHO_N "(cached) $ECHO_C" >&6
21148 cat >conftest.
$ac_ext <<_ACEOF
21149 #line $LINENO "configure"
21150 #include "confdefs.h"
21151 /* System header to define __stub macros and hopefully few prototypes,
21152 which can conflict with char remove (); below. */
21153 #include <assert.h>
21154 /* Override any gcc2 internal prototype to avoid an error. */
21158 /* We use char because int might match the return type of a gcc2
21159 builtin and then its argument prototype would still apply. */
21163 #ifdef F77_DUMMY_MAIN
21164 # ifdef __cplusplus
21167 int F77_DUMMY_MAIN() { return 1; }
21172 /* The GNU C library defines this for functions which it implements
21173 to always fail with ENOSYS. Some functions are actually named
21174 something starting with __ and the normal name is an alias. */
21175 #if defined (__stub_remove) || defined (__stub___remove)
21185 rm -f conftest.
$ac_objext conftest
$ac_exeext
21186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21187 (eval $ac_link) 2>&5
21189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21190 (exit $ac_status); } &&
21191 { ac_try
='test -s conftest$ac_exeext'
21192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21193 (eval $ac_try) 2>&5
21195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21196 (exit $ac_status); }; }; then
21197 ac_cv_func_remove
=yes
21199 echo "$as_me: failed program was:" >&5
21200 cat conftest.
$ac_ext >&5
21201 ac_cv_func_remove
=no
21203 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21205 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
21206 echo "${ECHO_T}$ac_cv_func_remove" >&6
21208 if test $ac_cv_func_remove = no
; then
21209 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
21210 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
21211 if test "${ac_cv_lib_posix_remove+set}" = set; then
21212 echo $ECHO_N "(cached) $ECHO_C" >&6
21214 ac_check_lib_save_LIBS
=$LIBS
21215 LIBS
="-lposix $LIBS"
21216 cat >conftest.
$ac_ext <<_ACEOF
21217 #line $LINENO "configure"
21218 #include "confdefs.h"
21220 /* Override any gcc2 internal prototype to avoid an error. */
21224 /* We use char because int might match the return type of a gcc2
21225 builtin and then its argument prototype would still apply. */
21227 #ifdef F77_DUMMY_MAIN
21228 # ifdef __cplusplus
21231 int F77_DUMMY_MAIN() { return 1; }
21241 rm -f conftest.
$ac_objext conftest
$ac_exeext
21242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21243 (eval $ac_link) 2>&5
21245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21246 (exit $ac_status); } &&
21247 { ac_try
='test -s conftest$ac_exeext'
21248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21249 (eval $ac_try) 2>&5
21251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21252 (exit $ac_status); }; }; then
21253 ac_cv_lib_posix_remove
=yes
21255 echo "$as_me: failed program was:" >&5
21256 cat conftest.
$ac_ext >&5
21257 ac_cv_lib_posix_remove
=no
21259 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21260 LIBS
=$ac_check_lib_save_LIBS
21262 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
21263 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
21264 if test $ac_cv_lib_posix_remove = yes; then
21265 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
21270 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
21271 echo "$as_me:$LINENO: checking for shmat" >&5
21272 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
21273 if test "${ac_cv_func_shmat+set}" = set; then
21274 echo $ECHO_N "(cached) $ECHO_C" >&6
21276 cat >conftest.
$ac_ext <<_ACEOF
21277 #line $LINENO "configure"
21278 #include "confdefs.h"
21279 /* System header to define __stub macros and hopefully few prototypes,
21280 which can conflict with char shmat (); below. */
21281 #include <assert.h>
21282 /* Override any gcc2 internal prototype to avoid an error. */
21286 /* We use char because int might match the return type of a gcc2
21287 builtin and then its argument prototype would still apply. */
21291 #ifdef F77_DUMMY_MAIN
21292 # ifdef __cplusplus
21295 int F77_DUMMY_MAIN() { return 1; }
21300 /* The GNU C library defines this for functions which it implements
21301 to always fail with ENOSYS. Some functions are actually named
21302 something starting with __ and the normal name is an alias. */
21303 #if defined (__stub_shmat) || defined (__stub___shmat)
21313 rm -f conftest.
$ac_objext conftest
$ac_exeext
21314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21315 (eval $ac_link) 2>&5
21317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21318 (exit $ac_status); } &&
21319 { ac_try
='test -s conftest$ac_exeext'
21320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21321 (eval $ac_try) 2>&5
21323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21324 (exit $ac_status); }; }; then
21325 ac_cv_func_shmat
=yes
21327 echo "$as_me: failed program was:" >&5
21328 cat conftest.
$ac_ext >&5
21329 ac_cv_func_shmat
=no
21331 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21333 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
21334 echo "${ECHO_T}$ac_cv_func_shmat" >&6
21336 if test $ac_cv_func_shmat = no
; then
21337 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
21338 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
21339 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
21340 echo $ECHO_N "(cached) $ECHO_C" >&6
21342 ac_check_lib_save_LIBS
=$LIBS
21344 cat >conftest.
$ac_ext <<_ACEOF
21345 #line $LINENO "configure"
21346 #include "confdefs.h"
21348 /* Override any gcc2 internal prototype to avoid an error. */
21352 /* We use char because int might match the return type of a gcc2
21353 builtin and then its argument prototype would still apply. */
21355 #ifdef F77_DUMMY_MAIN
21356 # ifdef __cplusplus
21359 int F77_DUMMY_MAIN() { return 1; }
21369 rm -f conftest.
$ac_objext conftest
$ac_exeext
21370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21371 (eval $ac_link) 2>&5
21373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21374 (exit $ac_status); } &&
21375 { ac_try
='test -s conftest$ac_exeext'
21376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21377 (eval $ac_try) 2>&5
21379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21380 (exit $ac_status); }; }; then
21381 ac_cv_lib_ipc_shmat
=yes
21383 echo "$as_me: failed program was:" >&5
21384 cat conftest.
$ac_ext >&5
21385 ac_cv_lib_ipc_shmat
=no
21387 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21388 LIBS
=$ac_check_lib_save_LIBS
21390 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
21391 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
21392 if test $ac_cv_lib_ipc_shmat = yes; then
21393 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
21399 # Check for libraries that X11R6 Xt/Xaw programs need.
21400 ac_save_LDFLAGS
=$LDFLAGS
21401 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
21402 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
21403 # check for ICE first), but we must link in the order -lSM -lICE or
21404 # we get undefined symbols. So assume we have SM if we have ICE.
21405 # These have to be linked with before -lX11, unlike the other
21406 # libraries we check for below, so use a different variable.
21407 # John Interrante, Karl Berry
21408 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
21409 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
21410 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
21411 echo $ECHO_N "(cached) $ECHO_C" >&6
21413 ac_check_lib_save_LIBS
=$LIBS
21414 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
21415 cat >conftest.
$ac_ext <<_ACEOF
21416 #line $LINENO "configure"
21417 #include "confdefs.h"
21419 /* Override any gcc2 internal prototype to avoid an error. */
21423 /* We use char because int might match the return type of a gcc2
21424 builtin and then its argument prototype would still apply. */
21425 char IceConnectionNumber ();
21426 #ifdef F77_DUMMY_MAIN
21427 # ifdef __cplusplus
21430 int F77_DUMMY_MAIN() { return 1; }
21435 IceConnectionNumber ();
21440 rm -f conftest.
$ac_objext conftest
$ac_exeext
21441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21442 (eval $ac_link) 2>&5
21444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21445 (exit $ac_status); } &&
21446 { ac_try
='test -s conftest$ac_exeext'
21447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21448 (eval $ac_try) 2>&5
21450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21451 (exit $ac_status); }; }; then
21452 ac_cv_lib_ICE_IceConnectionNumber
=yes
21454 echo "$as_me: failed program was:" >&5
21455 cat conftest.
$ac_ext >&5
21456 ac_cv_lib_ICE_IceConnectionNumber
=no
21458 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21459 LIBS
=$ac_check_lib_save_LIBS
21461 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
21462 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
21463 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
21464 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
21467 LDFLAGS
=$ac_save_LDFLAGS
21472 if test "$no_x" = "yes"; then
21473 { { echo "$as_me:$LINENO: error: X11 not found" >&5
21474 echo "$as_me: error: X11 not found" >&2;}
21475 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
21478 GUI_TK_LIBRARY
="$X_LIBS"
21479 TOOLKIT_INCLUDE
="$X_CFLAGS"
21480 AFMINSTALL
=afminstall
21481 COMPILED_X_PROGRAM
=0
21483 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
21484 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
21487 for ac_dir
in $SEARCH_INCLUDE;
21489 if test -f "$ac_dir/Xm/Xm.h"; then
21490 ac_find_includes
=$ac_dir
21495 if test "$ac_find_includes" != "" ; then
21496 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
21497 echo "${ECHO_T}found in $ac_find_includes" >&6
21499 ac_path_to_include
=$ac_find_includes
21500 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
21502 if test $result = 0; then
21503 ac_path_to_include
=""
21505 ac_path_to_include
=" -I$ac_find_includes"
21508 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
21510 cat >conftest.
$ac_ext <<_ACEOF
21511 #line $LINENO "configure"
21512 #include "confdefs.h"
21516 #ifdef F77_DUMMY_MAIN
21517 # ifdef __cplusplus
21520 int F77_DUMMY_MAIN() { return 1; }
21527 version = xmUseVersion;
21533 rm -f conftest.
$ac_objext
21534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21535 (eval $ac_compile) 2>&5
21537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21538 (exit $ac_status); } &&
21539 { ac_try
='test -s conftest.$ac_objext'
21540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21541 (eval $ac_try) 2>&5
21543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21544 (exit $ac_status); }; }; then
21546 echo "$as_me:$LINENO: result: found in default search path" >&5
21547 echo "${ECHO_T}found in default search path" >&6
21548 COMPILED_X_PROGRAM
=1
21551 echo "$as_me: failed program was:" >&5
21552 cat conftest.
$ac_ext >&5
21554 echo "$as_me:$LINENO: result: no" >&5
21555 echo "${ECHO_T}no" >&6
21556 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
21557 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
21558 { (exit 1); exit 1; }; }
21562 rm -f conftest.
$ac_objext conftest.
$ac_ext
21565 if test "$COMPILED_X_PROGRAM" = 0; then
21566 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
21567 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
21570 for ac_dir
in $SEARCH_LIB;
21572 for ac_extension
in a so sl dylib
; do
21573 if test -f "$ac_dir/libXm.$ac_extension"; then
21574 ac_find_libraries
=$ac_dir
21580 if test "$ac_find_libraries" != "" ; then
21581 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
21582 echo "${ECHO_T}found at $ac_find_libraries" >&6
21585 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
21587 if test $result = 0; then
21590 ac_path_to_link
=" -L$ac_find_libraries"
21593 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
21595 save_CFLAGS
=$CFLAGS
21596 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
21598 cat >conftest.
$ac_ext <<_ACEOF
21599 #line $LINENO "configure"
21600 #include "confdefs.h"
21604 #ifdef F77_DUMMY_MAIN
21605 # ifdef __cplusplus
21608 int F77_DUMMY_MAIN() { return 1; }
21615 version = xmUseVersion;
21621 rm -f conftest.
$ac_objext
21622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21623 (eval $ac_compile) 2>&5
21625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21626 (exit $ac_status); } &&
21627 { ac_try
='test -s conftest.$ac_objext'
21628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21629 (eval $ac_try) 2>&5
21631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21632 (exit $ac_status); }; }; then
21634 echo "$as_me:$LINENO: result: found in default search path" >&5
21635 echo "${ECHO_T}found in default search path" >&6
21636 COMPILED_X_PROGRAM
=1
21639 echo "$as_me: failed program was:" >&5
21640 cat conftest.
$ac_ext >&5
21642 echo "$as_me:$LINENO: result: no" >&5
21643 echo "${ECHO_T}no" >&6
21644 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
21645 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
21646 { (exit 1); exit 1; }; }
21650 rm -f conftest.
$ac_objext conftest.
$ac_ext
21652 CFLAGS
=$save_CFLAGS
21657 echo "$as_me:$LINENO: checking for Xpm library" >&5
21658 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
21661 for ac_dir
in $SEARCH_LIB;
21663 for ac_extension
in a so sl dylib
; do
21664 if test -f "$ac_dir/libXpm.$ac_extension"; then
21665 ac_find_libraries
=$ac_dir
21671 if test "$ac_find_libraries" != "" ; then
21673 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
21675 if test $result = 0; then
21678 ac_path_to_link
=" -L$ac_find_libraries"
21681 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
21684 cat >>confdefs.h
<<\_ACEOF
21685 #define wxHAVE_LIB_XPM 1
21688 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
21689 echo "${ECHO_T}found at $ac_find_libraries" >&6
21691 save_CFLAGS
=$CFLAGS
21692 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
21694 cat >conftest.
$ac_ext <<_ACEOF
21695 #line $LINENO "configure"
21696 #include "confdefs.h"
21698 #include <X11/xpm.h>
21700 #ifdef F77_DUMMY_MAIN
21701 # ifdef __cplusplus
21704 int F77_DUMMY_MAIN() { return 1; }
21711 version = XpmLibraryVersion();
21717 rm -f conftest.
$ac_objext
21718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21719 (eval $ac_compile) 2>&5
21721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21722 (exit $ac_status); } &&
21723 { ac_try
='test -s conftest.$ac_objext'
21724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21725 (eval $ac_try) 2>&5
21727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21728 (exit $ac_status); }; }; then
21731 cat >>confdefs.h
<<\_ACEOF
21732 #define wxHAVE_LIB_XPM 1
21735 echo "$as_me:$LINENO: result: found in default search path" >&5
21736 echo "${ECHO_T}found in default search path" >&6
21737 COMPILED_X_PROGRAM
=0
21740 echo "$as_me: failed program was:" >&5
21741 cat conftest.
$ac_ext >&5
21743 echo "$as_me:$LINENO: result: no" >&5
21744 echo "${ECHO_T}no" >&6
21745 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
21746 echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
21750 rm -f conftest.
$ac_objext conftest.
$ac_ext
21752 CFLAGS
=$save_CFLAGS
21755 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
21756 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
21760 for libp
in "" " -lXp"; do
21761 if test "$libs_found" = "0"; then
21762 for libsm_ice
in " -lSM -lICE"; do
21763 if test "$libs_found" = "0"; then
21765 LIBS
="$GUI_TK_LIBRARY -lXm${xpm_link} ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
21766 save_CFLAGS
=$CFLAGS
21767 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
21769 cat >conftest.
$ac_ext <<_ACEOF
21770 #line $LINENO "configure"
21771 #include "confdefs.h"
21774 #include <Xm/List.h>
21776 #ifdef F77_DUMMY_MAIN
21777 # ifdef __cplusplus
21780 int F77_DUMMY_MAIN() { return 1; }
21786 XmString string = NULL;
21789 XmListAddItem(w, string, position);
21795 rm -f conftest.
$ac_objext conftest
$ac_exeext
21796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21797 (eval $ac_link) 2>&5
21799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21800 (exit $ac_status); } &&
21801 { ac_try
='test -s conftest$ac_exeext'
21802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21803 (eval $ac_try) 2>&5
21805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21806 (exit $ac_status); }; }; then
21809 libsm_ice_link
="$libsm_ice"
21810 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
21811 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
21815 echo "$as_me: failed program was:" >&5
21816 cat conftest.
$ac_ext >&5
21820 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21823 CFLAGS
=$save_CFLAGS
21829 if test "$libs_found" = "0"; then
21830 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
21831 echo "${ECHO_T}can't find the right libraries" >&6
21832 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
21833 echo "$as_me: error: can't link a simple motif program" >&2;}
21834 { (exit 1); exit 1; }; }
21837 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm$xpm_link${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
21838 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo"
21843 if test "$wxUSE_MAC" = 1; then
21844 if test "$wxUSE_PRECOMP" = "yes"; then
21845 CPPFLAGS
="$CPPFLAGS -cpp-precomp"
21847 CPPFLAGS
="$CPPFLAGS -no-cpp-precomp"
21849 CPPFLAGS
="$CPPFLAGS -I/Developer/Headers/FlatCarbon -I\${top_srcdir}/src/mac/morefile"
21850 CFLAGS
="$CFLAGS -fpascal-strings"
21851 CXXFLAGS
="$CXXFLAGS -fpascal-strings"
21853 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefile"
21858 if test "$wxUSE_PM" = 1; then
21863 if test "$TOOLKIT" = "PM" ; then
21866 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
21869 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
21871 if test "$wxUSE_UNIVERSAL" = "yes"; then
21872 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
21874 ALL_SOURCES
="\$(ALL_SOURCES) \${UNIV_SOURCES}"
21875 ALL_HEADERS
="\$(ALL_HEADERS) \${UNIV_HEADERS}"
21877 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
21878 if test "$wxUSE_X11" = 1; then
21879 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
21881 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
21883 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
21886 ALL_OBJECTS
="\$(GUIOBJS)"
21887 ALL_SOURCES
="\$(ALL_SOURCES)"
21888 ALL_HEADERS
="\$(ALL_HEADERS)"
21891 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
21893 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
21894 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
21897 if test "$wxUSE_HTML" = "yes"; then
21898 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
21901 if test "$wxUSE_LIBJPEG" = "builtin" ; then
21902 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
21904 if test "$wxUSE_LIBTIFF" = "builtin" ; then
21905 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
21907 if test "$wxUSE_LIBPNG" = "builtin" ; then
21908 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
21911 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
21912 DISTDIR
="wx\$(TOOLKIT)"
21918 if test "$USE_WIN32" = 1 ; then
21919 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
21920 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
21924 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
21925 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
21928 ALL_SOURCES
="\$(ALL_SOURCES)"
21929 ALL_HEADERS
="\$(ALL_HEADERS)"
21931 PORT_FILES
="\${top_srcdir}/src/files.lst"
21933 GUIDIST
="BASE_DIST"
21938 if test "$TOOLKIT" != "MSW" -a "$wxUSE_ODBC" = "yes" ; then
21939 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
21942 if test "$wxUSE_REGEX" = "builtin" ; then
21943 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
21945 if test "$wxUSE_ZLIB" = "builtin" ; then
21946 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
21950 if test "$wxUSE_OPENGL" = "yes"; then
21951 if test "$wxUSE_MAC" = 1; then
21952 OPENGL_LIBS
="-framework OpenGL -framework AGL"
21953 elif test "$wxUSE_MSW" = 1; then
21954 OPENGL_LIBS
="-lopengl32 -lglu32"
21956 if test "${ac_cv_header_GL_gl_h+set}" = set; then
21957 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
21958 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
21959 if test "${ac_cv_header_GL_gl_h+set}" = set; then
21960 echo $ECHO_N "(cached) $ECHO_C" >&6
21962 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
21963 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
21965 # Is the header compilable?
21966 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
21967 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
21968 cat >conftest.
$ac_ext <<_ACEOF
21969 #line $LINENO "configure"
21970 #include "confdefs.h"
21971 $ac_includes_default
21974 rm -f conftest.
$ac_objext
21975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21976 (eval $ac_compile) 2>&5
21978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21979 (exit $ac_status); } &&
21980 { ac_try
='test -s conftest.$ac_objext'
21981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21982 (eval $ac_try) 2>&5
21984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21985 (exit $ac_status); }; }; then
21986 ac_header_compiler
=yes
21988 echo "$as_me: failed program was:" >&5
21989 cat conftest.
$ac_ext >&5
21990 ac_header_compiler
=no
21992 rm -f conftest.
$ac_objext conftest.
$ac_ext
21993 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21994 echo "${ECHO_T}$ac_header_compiler" >&6
21996 # Is the header present?
21997 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
21998 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
21999 cat >conftest.
$ac_ext <<_ACEOF
22000 #line $LINENO "configure"
22001 #include "confdefs.h"
22004 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22005 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22007 egrep -v '^ *\+' conftest.er1
>conftest.err
22009 cat conftest.err
>&5
22010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22011 (exit $ac_status); } >/dev
/null
; then
22012 if test -s conftest.err
; then
22013 ac_cpp_err
=$ac_c_preproc_warn_flag
22020 if test -z "$ac_cpp_err"; then
22021 ac_header_preproc
=yes
22023 echo "$as_me: failed program was:" >&5
22024 cat conftest.
$ac_ext >&5
22025 ac_header_preproc
=no
22027 rm -f conftest.err conftest.
$ac_ext
22028 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22029 echo "${ECHO_T}$ac_header_preproc" >&6
22031 # So? What about this header?
22032 case $ac_header_compiler:$ac_header_preproc in
22034 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
22035 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22036 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
22037 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;};;
22039 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
22040 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
22041 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
22042 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
22043 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
22044 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;};;
22046 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
22047 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
22048 if test "${ac_cv_header_GL_gl_h+set}" = set; then
22049 echo $ECHO_N "(cached) $ECHO_C" >&6
22051 ac_cv_header_GL_gl_h
=$ac_header_preproc
22053 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
22054 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
22057 if test $ac_cv_header_GL_gl_h = yes; then
22059 echo "$as_me:$LINENO: checking for -lGL" >&5
22060 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
22063 for ac_dir
in $SEARCH_LIB;
22065 for ac_extension
in a so sl dylib
; do
22066 if test -f "$ac_dir/libGL.$ac_extension"; then
22067 ac_find_libraries
=$ac_dir
22073 if test "$ac_find_libraries" != "" ; then
22075 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
22077 if test $result = 0; then
22080 ac_path_to_link
=" -L$ac_find_libraries"
22083 if test "$ac_path_to_link" = " -L/usr/lib" ; then
22084 LDFLAGS_GL
="$LDFLAGS"
22086 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
22088 OPENGL_LIBS
="-lGL -lGLU"
22089 echo "$as_me:$LINENO: result: yes" >&5
22090 echo "${ECHO_T}yes" >&6
22092 echo "$as_me:$LINENO: result: no" >&5
22093 echo "${ECHO_T}no" >&6
22094 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
22095 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
22098 for ac_dir
in $SEARCH_LIB;
22100 for ac_extension
in a so sl dylib
; do
22101 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
22102 ac_find_libraries
=$ac_dir
22108 if test "$ac_find_libraries" != "" ; then
22110 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
22112 if test $result = 0; then
22115 ac_path_to_link
=" -L$ac_find_libraries"
22118 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
22119 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
22120 echo "$as_me:$LINENO: result: yes" >&5
22121 echo "${ECHO_T}yes" >&6
22123 echo "$as_me:$LINENO: result: no" >&5
22124 echo "${ECHO_T}no" >&6
22132 if test "x$OPENGL_LIBS" = "x"; then
22133 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
22134 echo "$as_me: error: OpenGL libraries not available" >&2;}
22135 { (exit 1); exit 1; }; }
22139 if test "$wxUSE_OPENGL" = "yes"; then
22140 cat >>confdefs.h
<<\_ACEOF
22141 #define wxUSE_OPENGL 1
22144 cat >>confdefs.h
<<\_ACEOF
22145 #define wxUSE_GLCANVAS 1
22148 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl"
22152 if test -z "$TOOLKIT_VPATH" ; then
22153 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
22156 if test -n "$TOOLKIT" ; then
22157 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
22160 lib_unicode_suffix
=
22161 if test "$wxUSE_UNICODE" = "yes"; then
22162 lib_unicode_suffix
=u
22166 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
22170 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
22171 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
22173 if test "$cross_compiling" = "yes"; then
22174 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
22175 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
22178 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
22179 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
22181 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
22182 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
22184 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
22185 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
22186 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
22187 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
22190 *-*-cygwin* | *-*-mingw32* )
22194 if test "$cross_compiling" != "yes" -a "$TOOLKIT_DIR" = "msw"; then
22195 WX_LIBRARY
="wxmsw${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
22196 WX_LIBRARY_GL
="wxmsw_gl${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
22197 WX_LIBRARY_NAME_SHARED
="${WX_LIBRARY}.${SO_SUFFIX}"
22198 WX_LIBRARY_NAME_SHARED_GL
="${WX_LIBRARY_GL}.${SO_SUFFIX}"
22200 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
22201 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
22206 if test "$wxUSE_MAC" = 1; then
22207 WX_RESOURCES_MACOSX_ASCII
="lib${WX_LIBRARY}.r"
22208 WX_RESOURCES_MACOSX_DATA
="lib${WX_LIBRARY}.rsrc"
22213 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
22214 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
22216 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
22217 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
22219 if test "$wxUSE_OPENGL" = "yes"; then
22220 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
22221 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
22226 if test "$wxUSE_SHARED" = "yes"; then
22228 *-pc-os2_emx | *-pc-os2-emx | \
22231 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
22232 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
22237 if test "$wxUSE_SHARED" = "yes"; then
22239 if test "$wxUSE_OPENGL" = "yes"; then
22240 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
22241 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1} \$(build_libdir)/${WX_LIBRARY_LINK1_GL}"
22243 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
22244 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1}"
22247 if test "$GCC" = "yes"; then
22251 SHARED_LD
="${CXX} -shared -o"
22255 if test "$GCC" == "yes"; then
22256 SHARED_LD
="${SHARED_LD} ${PIC_FLAG}"
22258 LDFLAGS
="$LDFLAGS -L/usr/lib"
22260 SHARED_LD
="${CXX} -b -o"
22264 if test "$wxUSE_OPENGL" = "yes"; then
22265 WX_ALL_INSTALLED
="preinstall_gl"
22266 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
22268 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
22273 if test "$GCC" != "yes"; then
22274 echo "$as_me:$LINENO: checking for Intel compiler" >&5
22275 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
22276 if test "${wx_cv_prog_icc+set}" = set; then
22277 echo $ECHO_N "(cached) $ECHO_C" >&6
22280 cat >conftest.
$ac_ext <<_ACEOF
22281 #line $LINENO "configure"
22282 #include "confdefs.h"
22284 #ifdef F77_DUMMY_MAIN
22285 # ifdef __cplusplus
22288 int F77_DUMMY_MAIN() { return 1; }
22294 #ifndef __INTEL_COMPILER
22302 rm -f conftest.
$ac_objext
22303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22304 (eval $ac_compile) 2>&5
22306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22307 (exit $ac_status); } &&
22308 { ac_try
='test -s conftest.$ac_objext'
22309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22310 (eval $ac_try) 2>&5
22312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22313 (exit $ac_status); }; }; then
22316 echo "$as_me: failed program was:" >&5
22317 cat conftest.
$ac_ext >&5
22321 rm -f conftest.
$ac_objext conftest.
$ac_ext
22324 echo "$as_me:$LINENO: result: $wx_cv_prog_icc" >&5
22325 echo "${ECHO_T}$wx_cv_prog_icc" >&6
22326 if test "$wx_cv_prog_icc" = "yes"; then
22331 if test "$wxUSE_SONAME" = "yes" ; then
22332 SONAME_FLAGS
="-Wl,-soname,${WX_LIBRARY_LINK1}"
22333 SONAME_FLAGS_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
22334 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
22339 if test "$GCC" = yes ; then
22340 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
22342 SHARED_LD
="${CXX} -G -o"
22344 SONAME_FLAGS
="-h ${WX_LIBRARY_NAME_SHARED}"
22345 SONAME_FLAGS_GL
="-h ${WX_LIBRARY_NAME_SHARED_GL}"
22350 CFLAGS
="$CFLAGS -fno-common -DWXMAKINGDLL"
22351 CXXFLAGS
="$CXXFLAGS -fno-common -DWXMAKINGDLL"
22352 SHARED_LD
="\${top_srcdir}/distrib/mac/shared-ld-sh -undefined suppress -flat_namespace -o"
22353 PIC_FLAG
="-dynamic -fPIC"
22354 SONAME_FLAGS
="-compatibility_version ${WX_RELEASE} -current_version ${WX_VERSION}"
22355 SONAME_FLAGS_GL
=${SONAME_FLAGS}
22359 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
22360 set dummy makeC
++SharedLib
; ac_word
=$2
22361 echo "$as_me:$LINENO: checking for $ac_word" >&5
22362 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22363 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
22364 echo $ECHO_N "(cached) $ECHO_C" >&6
22366 if test -n "$AIX_CXX_LD"; then
22367 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
22369 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22370 for as_dir
in $PATH
22373 test -z "$as_dir" && as_dir
=.
22374 for ac_exec_ext
in '' $ac_executable_extensions; do
22375 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22376 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
22377 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22383 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
22386 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
22387 if test -n "$AIX_CXX_LD"; then
22388 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
22389 echo "${ECHO_T}$AIX_CXX_LD" >&6
22391 echo "$as_me:$LINENO: result: no" >&5
22392 echo "${ECHO_T}no" >&6
22396 SHARED_LD
="$(AIX_CXX_LD) -p 0 -o"
22399 *-*-cygwin* | *-*-mingw32* )
22401 WX_LIBRARY_IMPORTLIB
="${WX_LIBRARY_NAME_SHARED}.a"
22403 SHARED_LD
="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_IMPORTLIB} -o"
22404 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
22406 PIC_FLAG
="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
22408 if test "$wxUSE_OPENGL" = "yes"; then
22409 WX_ALL_INSTALLED
="preinstall_gl"
22410 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
22412 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
22417 SHARED_LD
="${LD} -shared -o"
22420 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
22422 *-*-irix5* | *-*-irix6* | \
22429 { { echo "$as_me:$LINENO: error: unknown system type $host." >&5
22430 echo "$as_me: error: unknown system type $host." >&2;}
22431 { (exit 1); exit 1; }; }
22434 if test "x$WX_TARGET_LIBRARY" = "x"; then
22435 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
22436 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
22439 WX_TARGET_LIBRARY_TYPE
="so"
22440 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
22443 if test "$wxUSE_SHARED" = "no"; then
22445 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
22446 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
22449 if test "$wxUSE_MAC" = 1; then
22450 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
22453 if test "$wxUSE_OPENGL" = "yes"; then
22454 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
22455 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
22457 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
22460 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
22461 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
22463 WX_TARGET_LIBRARY_TYPE
="a"
22464 INSTALL_LIBRARY
='$(INSTALL_DATA)'
22467 if test "$wxUSE_MAC" = 1; then
22468 LIBWXMACRES
="\$(top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
22469 WX_ALL
="${WX_ALL} ${LIBWXMACRES}"
22470 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
22471 # Extract the first word of "Rez", so it can be a program name with args.
22472 set dummy Rez
; ac_word
=$2
22473 echo "$as_me:$LINENO: checking for $ac_word" >&5
22474 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22475 if test "${ac_cv_prog_RESCOMP+set}" = set; then
22476 echo $ECHO_N "(cached) $ECHO_C" >&6
22478 if test -n "$RESCOMP"; then
22479 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
22481 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22482 for as_dir
in $PATH
22485 test -z "$as_dir" && as_dir
=.
22486 for ac_exec_ext
in '' $ac_executable_extensions; do
22487 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22488 ac_cv_prog_RESCOMP
="Rez"
22489 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22495 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
22498 RESCOMP
=$ac_cv_prog_RESCOMP
22499 if test -n "$RESCOMP"; then
22500 echo "$as_me:$LINENO: result: $RESCOMP" >&5
22501 echo "${ECHO_T}$RESCOMP" >&6
22503 echo "$as_me:$LINENO: result: no" >&5
22504 echo "${ECHO_T}no" >&6
22507 # Extract the first word of "DeRez", so it can be a program name with args.
22508 set dummy DeRez
; ac_word
=$2
22509 echo "$as_me:$LINENO: checking for $ac_word" >&5
22510 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22511 if test "${ac_cv_prog_DEREZ+set}" = set; then
22512 echo $ECHO_N "(cached) $ECHO_C" >&6
22514 if test -n "$DEREZ"; then
22515 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
22517 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22518 for as_dir
in $PATH
22521 test -z "$as_dir" && as_dir
=.
22522 for ac_exec_ext
in '' $ac_executable_extensions; do
22523 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22524 ac_cv_prog_DEREZ
="DeRez"
22525 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22531 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
22534 DEREZ
=$ac_cv_prog_DEREZ
22535 if test -n "$DEREZ"; then
22536 echo "$as_me:$LINENO: result: $DEREZ" >&5
22537 echo "${ECHO_T}$DEREZ" >&6
22539 echo "$as_me:$LINENO: result: no" >&5
22540 echo "${ECHO_T}no" >&6
22543 MACOSX_BUNDLE
="bundle"
22544 if test "$wxUSE_SHARED" = "yes"; then
22545 LIBWXMACRESCOMP
="\$(RESCOMP) -t APPL Carbon.r -o \$(BIN_PROGRAM)"
22546 LIBWXMACRESWXCONFIG
="${RESCOMP} -t APPL Carbon.r -o"
22548 LIBWXMACRESCOMP
="\$(RESCOMP) -t APPL Carbon.r ${LIBWXMACRES} -o \$(BIN_PROGRAM)"
22549 LIBWXMACRESWXCONFIG
="${RESCOMP} -t APPL Carbon.r \${prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
22552 if test "$wxUSE_PM" = 1; then
22553 LIBWXMACRESCOMP
="emxbind -ep \$(BIN_PROGRAM)"
22558 echo "$as_me:$LINENO: checking for mode_t" >&5
22559 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
22560 if test "${ac_cv_type_mode_t+set}" = set; then
22561 echo $ECHO_N "(cached) $ECHO_C" >&6
22563 cat >conftest.
$ac_ext <<_ACEOF
22564 #line $LINENO "configure"
22565 #include "confdefs.h"
22566 $ac_includes_default
22567 #ifdef F77_DUMMY_MAIN
22568 # ifdef __cplusplus
22571 int F77_DUMMY_MAIN() { return 1; }
22578 if (sizeof (mode_t))
22584 rm -f conftest.
$ac_objext
22585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22586 (eval $ac_compile) 2>&5
22588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22589 (exit $ac_status); } &&
22590 { ac_try
='test -s conftest.$ac_objext'
22591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22592 (eval $ac_try) 2>&5
22594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22595 (exit $ac_status); }; }; then
22596 ac_cv_type_mode_t
=yes
22598 echo "$as_me: failed program was:" >&5
22599 cat conftest.
$ac_ext >&5
22600 ac_cv_type_mode_t
=no
22602 rm -f conftest.
$ac_objext conftest.
$ac_ext
22604 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
22605 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
22606 if test $ac_cv_type_mode_t = yes; then
22610 cat >>confdefs.h
<<_ACEOF
22616 echo "$as_me:$LINENO: checking for off_t" >&5
22617 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
22618 if test "${ac_cv_type_off_t+set}" = set; then
22619 echo $ECHO_N "(cached) $ECHO_C" >&6
22621 cat >conftest.
$ac_ext <<_ACEOF
22622 #line $LINENO "configure"
22623 #include "confdefs.h"
22624 $ac_includes_default
22625 #ifdef F77_DUMMY_MAIN
22626 # ifdef __cplusplus
22629 int F77_DUMMY_MAIN() { return 1; }
22636 if (sizeof (off_t))
22642 rm -f conftest.
$ac_objext
22643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22644 (eval $ac_compile) 2>&5
22646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22647 (exit $ac_status); } &&
22648 { ac_try
='test -s conftest.$ac_objext'
22649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22650 (eval $ac_try) 2>&5
22652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22653 (exit $ac_status); }; }; then
22654 ac_cv_type_off_t
=yes
22656 echo "$as_me: failed program was:" >&5
22657 cat conftest.
$ac_ext >&5
22658 ac_cv_type_off_t
=no
22660 rm -f conftest.
$ac_objext conftest.
$ac_ext
22662 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
22663 echo "${ECHO_T}$ac_cv_type_off_t" >&6
22664 if test $ac_cv_type_off_t = yes; then
22668 cat >>confdefs.h
<<_ACEOF
22674 echo "$as_me:$LINENO: checking for pid_t" >&5
22675 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
22676 if test "${ac_cv_type_pid_t+set}" = set; then
22677 echo $ECHO_N "(cached) $ECHO_C" >&6
22679 cat >conftest.
$ac_ext <<_ACEOF
22680 #line $LINENO "configure"
22681 #include "confdefs.h"
22682 $ac_includes_default
22683 #ifdef F77_DUMMY_MAIN
22684 # ifdef __cplusplus
22687 int F77_DUMMY_MAIN() { return 1; }
22694 if (sizeof (pid_t))
22700 rm -f conftest.
$ac_objext
22701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22702 (eval $ac_compile) 2>&5
22704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22705 (exit $ac_status); } &&
22706 { ac_try
='test -s conftest.$ac_objext'
22707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22708 (eval $ac_try) 2>&5
22710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22711 (exit $ac_status); }; }; then
22712 ac_cv_type_pid_t
=yes
22714 echo "$as_me: failed program was:" >&5
22715 cat conftest.
$ac_ext >&5
22716 ac_cv_type_pid_t
=no
22718 rm -f conftest.
$ac_objext conftest.
$ac_ext
22720 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
22721 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
22722 if test $ac_cv_type_pid_t = yes; then
22726 cat >>confdefs.h
<<_ACEOF
22732 echo "$as_me:$LINENO: checking for size_t" >&5
22733 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
22734 if test "${ac_cv_type_size_t+set}" = set; then
22735 echo $ECHO_N "(cached) $ECHO_C" >&6
22737 cat >conftest.
$ac_ext <<_ACEOF
22738 #line $LINENO "configure"
22739 #include "confdefs.h"
22740 $ac_includes_default
22741 #ifdef F77_DUMMY_MAIN
22742 # ifdef __cplusplus
22745 int F77_DUMMY_MAIN() { return 1; }
22752 if (sizeof (size_t))
22758 rm -f conftest.
$ac_objext
22759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22760 (eval $ac_compile) 2>&5
22762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22763 (exit $ac_status); } &&
22764 { ac_try
='test -s conftest.$ac_objext'
22765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22766 (eval $ac_try) 2>&5
22768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22769 (exit $ac_status); }; }; then
22770 ac_cv_type_size_t
=yes
22772 echo "$as_me: failed program was:" >&5
22773 cat conftest.
$ac_ext >&5
22774 ac_cv_type_size_t
=no
22776 rm -f conftest.
$ac_objext conftest.
$ac_ext
22778 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
22779 echo "${ECHO_T}$ac_cv_type_size_t" >&6
22780 if test $ac_cv_type_size_t = yes; then
22784 cat >>confdefs.h
<<_ACEOF
22785 #define size_t unsigned
22790 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
22791 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
22792 if test "${ac_cv_type_uid_t+set}" = set; then
22793 echo $ECHO_N "(cached) $ECHO_C" >&6
22795 cat >conftest.
$ac_ext <<_ACEOF
22796 #line $LINENO "configure"
22797 #include "confdefs.h"
22798 #include <sys/types.h>
22801 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22802 egrep "uid_t" >/dev
/null
2>&1; then
22803 ac_cv_type_uid_t
=yes
22805 ac_cv_type_uid_t
=no
22810 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
22811 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
22812 if test $ac_cv_type_uid_t = no
; then
22814 cat >>confdefs.h
<<\_ACEOF
22819 cat >>confdefs.h
<<\_ACEOF
22829 ac_cpp
='$CXXCPP $CPPFLAGS'
22830 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22831 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22832 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22834 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
22835 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
22836 if test "${wx_cv_size_t_is_uint+set}" = set; then
22837 echo $ECHO_N "(cached) $ECHO_C" >&6
22839 cat >conftest.
$ac_ext <<_ACEOF
22840 #line $LINENO "configure"
22841 #include "confdefs.h"
22842 #include <stddef.h>
22843 #ifdef F77_DUMMY_MAIN
22844 # ifdef __cplusplus
22847 int F77_DUMMY_MAIN() { return 1; }
22855 struct Foo { void foo(size_t); void foo(unsigned int); };
22863 rm -f conftest.
$ac_objext
22864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22865 (eval $ac_compile) 2>&5
22867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22868 (exit $ac_status); } &&
22869 { ac_try
='test -s conftest.$ac_objext'
22870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22871 (eval $ac_try) 2>&5
22873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22874 (exit $ac_status); }; }; then
22875 wx_cv_size_t_is_uint
=no
22877 echo "$as_me: failed program was:" >&5
22878 cat conftest.
$ac_ext >&5
22879 wx_cv_size_t_is_uint
=yes
22882 rm -f conftest.
$ac_objext conftest.
$ac_ext
22885 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
22886 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
22888 if test "$wx_cv_size_t_is_uint" = "yes"; then
22889 cat >>confdefs.h
<<\_ACEOF
22890 #define wxSIZE_T_IS_UINT 1
22894 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
22895 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
22896 if test "${wx_cv_size_t_is_ulong+set}" = set; then
22897 echo $ECHO_N "(cached) $ECHO_C" >&6
22899 cat >conftest.
$ac_ext <<_ACEOF
22900 #line $LINENO "configure"
22901 #include "confdefs.h"
22902 #include <stddef.h>
22903 #ifdef F77_DUMMY_MAIN
22904 # ifdef __cplusplus
22907 int F77_DUMMY_MAIN() { return 1; }
22915 struct Foo { void foo(size_t); void foo(unsigned long); };
22923 rm -f conftest.
$ac_objext
22924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22925 (eval $ac_compile) 2>&5
22927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22928 (exit $ac_status); } &&
22929 { ac_try
='test -s conftest.$ac_objext'
22930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22931 (eval $ac_try) 2>&5
22933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22934 (exit $ac_status); }; }; then
22935 wx_cv_size_t_is_ulong
=no
22937 echo "$as_me: failed program was:" >&5
22938 cat conftest.
$ac_ext >&5
22939 wx_cv_size_t_is_ulong
=yes
22942 rm -f conftest.
$ac_objext conftest.
$ac_ext
22945 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
22946 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
22948 if test "$wx_cv_size_t_is_ulong" = "yes"; then
22949 cat >>confdefs.h
<<\_ACEOF
22950 #define wxSIZE_T_IS_ULONG 1
22957 ac_cpp
='$CPP $CPPFLAGS'
22958 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22959 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22960 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22964 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
22965 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
22966 if test "${wx_cv_struct_pw_gecos+set}" = set; then
22967 echo $ECHO_N "(cached) $ECHO_C" >&6
22970 cat >conftest.
$ac_ext <<_ACEOF
22971 #line $LINENO "configure"
22972 #include "confdefs.h"
22974 #ifdef F77_DUMMY_MAIN
22975 # ifdef __cplusplus
22978 int F77_DUMMY_MAIN() { return 1; }
22992 rm -f conftest.
$ac_objext
22993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22994 (eval $ac_compile) 2>&5
22996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22997 (exit $ac_status); } &&
22998 { ac_try
='test -s conftest.$ac_objext'
22999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23000 (eval $ac_try) 2>&5
23002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23003 (exit $ac_status); }; }; then
23005 wx_cv_struct_pw_gecos
=yes
23008 echo "$as_me: failed program was:" >&5
23009 cat conftest.
$ac_ext >&5
23011 wx_cv_struct_pw_gecos
=no
23015 rm -f conftest.
$ac_objext conftest.
$ac_ext
23019 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
23020 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
23022 if test "$wx_cv_struct_pw_gecos" = "yes"; then
23023 cat >>confdefs.h
<<\_ACEOF
23024 #define HAVE_PW_GECOS 1
23030 if test "$wx_cv_sizeof_wchar_t" != "0"; then
23031 cat >>confdefs.h
<<\_ACEOF
23032 #define wxUSE_WCHAR_T 1
23039 for ac_func
in wcslen
23041 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23042 echo "$as_me:$LINENO: checking for $ac_func" >&5
23043 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23044 if eval "test \"\${$as_ac_var+set}\" = set"; then
23045 echo $ECHO_N "(cached) $ECHO_C" >&6
23047 cat >conftest.
$ac_ext <<_ACEOF
23048 #line $LINENO "configure"
23049 #include "confdefs.h"
23050 /* System header to define __stub macros and hopefully few prototypes,
23051 which can conflict with char $ac_func (); below. */
23052 #include <assert.h>
23053 /* Override any gcc2 internal prototype to avoid an error. */
23057 /* We use char because int might match the return type of a gcc2
23058 builtin and then its argument prototype would still apply. */
23062 #ifdef F77_DUMMY_MAIN
23063 # ifdef __cplusplus
23066 int F77_DUMMY_MAIN() { return 1; }
23071 /* The GNU C library defines this for functions which it implements
23072 to always fail with ENOSYS. Some functions are actually named
23073 something starting with __ and the normal name is an alias. */
23074 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23084 rm -f conftest.
$ac_objext conftest
$ac_exeext
23085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23086 (eval $ac_link) 2>&5
23088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23089 (exit $ac_status); } &&
23090 { ac_try
='test -s conftest$ac_exeext'
23091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23092 (eval $ac_try) 2>&5
23094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23095 (exit $ac_status); }; }; then
23096 eval "$as_ac_var=yes"
23098 echo "$as_me: failed program was:" >&5
23099 cat conftest.
$ac_ext >&5
23100 eval "$as_ac_var=no"
23102 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23104 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23105 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23106 if test `eval echo '${'$as_ac_var'}'` = yes; then
23107 cat >>confdefs.h
<<_ACEOF
23108 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23115 if test "$WCSLEN_FOUND" = 0; then
23116 if test "$TOOLKIT" = "MSW"; then
23117 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
23118 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
23119 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
23120 echo $ECHO_N "(cached) $ECHO_C" >&6
23122 ac_check_lib_save_LIBS
=$LIBS
23123 LIBS
="-lmsvcrt $LIBS"
23124 cat >conftest.
$ac_ext <<_ACEOF
23125 #line $LINENO "configure"
23126 #include "confdefs.h"
23128 /* Override any gcc2 internal prototype to avoid an error. */
23132 /* We use char because int might match the return type of a gcc2
23133 builtin and then its argument prototype would still apply. */
23135 #ifdef F77_DUMMY_MAIN
23136 # ifdef __cplusplus
23139 int F77_DUMMY_MAIN() { return 1; }
23149 rm -f conftest.
$ac_objext conftest
$ac_exeext
23150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23151 (eval $ac_link) 2>&5
23153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23154 (exit $ac_status); } &&
23155 { ac_try
='test -s conftest$ac_exeext'
23156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23157 (eval $ac_try) 2>&5
23159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23160 (exit $ac_status); }; }; then
23161 ac_cv_lib_msvcrt_wcslen
=yes
23163 echo "$as_me: failed program was:" >&5
23164 cat conftest.
$ac_ext >&5
23165 ac_cv_lib_msvcrt_wcslen
=no
23167 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23168 LIBS
=$ac_check_lib_save_LIBS
23170 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
23171 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
23172 if test $ac_cv_lib_msvcrt_wcslen = yes; then
23177 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
23178 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
23179 if test "${ac_cv_lib_w_wcslen+set}" = set; then
23180 echo $ECHO_N "(cached) $ECHO_C" >&6
23182 ac_check_lib_save_LIBS
=$LIBS
23184 cat >conftest.
$ac_ext <<_ACEOF
23185 #line $LINENO "configure"
23186 #include "confdefs.h"
23188 /* Override any gcc2 internal prototype to avoid an error. */
23192 /* We use char because int might match the return type of a gcc2
23193 builtin and then its argument prototype would still apply. */
23195 #ifdef F77_DUMMY_MAIN
23196 # ifdef __cplusplus
23199 int F77_DUMMY_MAIN() { return 1; }
23209 rm -f conftest.
$ac_objext conftest
$ac_exeext
23210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23211 (eval $ac_link) 2>&5
23213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23214 (exit $ac_status); } &&
23215 { ac_try
='test -s conftest$ac_exeext'
23216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23217 (eval $ac_try) 2>&5
23219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23220 (exit $ac_status); }; }; then
23221 ac_cv_lib_w_wcslen
=yes
23223 echo "$as_me: failed program was:" >&5
23224 cat conftest.
$ac_ext >&5
23225 ac_cv_lib_w_wcslen
=no
23227 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23228 LIBS
=$ac_check_lib_save_LIBS
23230 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
23231 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
23232 if test $ac_cv_lib_w_wcslen = yes; then
23242 if test "$WCSLEN_FOUND" = 1; then
23243 cat >>confdefs.h
<<\_ACEOF
23244 #define HAVE_WCSLEN 1
23250 for ac_func
in wcsrtombs
23252 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23253 echo "$as_me:$LINENO: checking for $ac_func" >&5
23254 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23255 if eval "test \"\${$as_ac_var+set}\" = set"; then
23256 echo $ECHO_N "(cached) $ECHO_C" >&6
23258 cat >conftest.
$ac_ext <<_ACEOF
23259 #line $LINENO "configure"
23260 #include "confdefs.h"
23261 /* System header to define __stub macros and hopefully few prototypes,
23262 which can conflict with char $ac_func (); below. */
23263 #include <assert.h>
23264 /* Override any gcc2 internal prototype to avoid an error. */
23268 /* We use char because int might match the return type of a gcc2
23269 builtin and then its argument prototype would still apply. */
23273 #ifdef F77_DUMMY_MAIN
23274 # ifdef __cplusplus
23277 int F77_DUMMY_MAIN() { return 1; }
23282 /* The GNU C library defines this for functions which it implements
23283 to always fail with ENOSYS. Some functions are actually named
23284 something starting with __ and the normal name is an alias. */
23285 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23295 rm -f conftest.
$ac_objext conftest
$ac_exeext
23296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23297 (eval $ac_link) 2>&5
23299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23300 (exit $ac_status); } &&
23301 { ac_try
='test -s conftest$ac_exeext'
23302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23303 (eval $ac_try) 2>&5
23305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23306 (exit $ac_status); }; }; then
23307 eval "$as_ac_var=yes"
23309 echo "$as_me: failed program was:" >&5
23310 cat conftest.
$ac_ext >&5
23311 eval "$as_ac_var=no"
23313 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23315 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23316 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23317 if test `eval echo '${'$as_ac_var'}'` = yes; then
23318 cat >>confdefs.h
<<_ACEOF
23319 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23326 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
23327 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
23333 ac_cpp
='$CXXCPP $CPPFLAGS'
23334 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23335 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23336 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23340 for ac_func
in vsnprintf
23342 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23343 echo "$as_me:$LINENO: checking for $ac_func" >&5
23344 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23345 if eval "test \"\${$as_ac_var+set}\" = set"; then
23346 echo $ECHO_N "(cached) $ECHO_C" >&6
23348 cat >conftest.
$ac_ext <<_ACEOF
23349 #line $LINENO "configure"
23350 #include "confdefs.h"
23351 /* System header to define __stub macros and hopefully few prototypes,
23352 which can conflict with char $ac_func (); below. */
23353 #include <assert.h>
23354 /* Override any gcc2 internal prototype to avoid an error. */
23358 /* We use char because int might match the return type of a gcc2
23359 builtin and then its argument prototype would still apply. */
23363 #ifdef F77_DUMMY_MAIN
23364 # ifdef __cplusplus
23367 int F77_DUMMY_MAIN() { return 1; }
23372 /* The GNU C library defines this for functions which it implements
23373 to always fail with ENOSYS. Some functions are actually named
23374 something starting with __ and the normal name is an alias. */
23375 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23385 rm -f conftest.
$ac_objext conftest
$ac_exeext
23386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23387 (eval $ac_link) 2>&5
23389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23390 (exit $ac_status); } &&
23391 { ac_try
='test -s conftest$ac_exeext'
23392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23393 (eval $ac_try) 2>&5
23395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23396 (exit $ac_status); }; }; then
23397 eval "$as_ac_var=yes"
23399 echo "$as_me: failed program was:" >&5
23400 cat conftest.
$ac_ext >&5
23401 eval "$as_ac_var=no"
23403 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23405 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23406 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23407 if test `eval echo '${'$as_ac_var'}'` = yes; then
23408 cat >>confdefs.h
<<_ACEOF
23409 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23416 if test "$wxUSE_UNICODE" = yes; then
23420 for ac_func
in fputwc wprintf vswprintf
23422 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23423 echo "$as_me:$LINENO: checking for $ac_func" >&5
23424 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23425 if eval "test \"\${$as_ac_var+set}\" = set"; then
23426 echo $ECHO_N "(cached) $ECHO_C" >&6
23428 cat >conftest.
$ac_ext <<_ACEOF
23429 #line $LINENO "configure"
23430 #include "confdefs.h"
23431 /* System header to define __stub macros and hopefully few prototypes,
23432 which can conflict with char $ac_func (); below. */
23433 #include <assert.h>
23434 /* Override any gcc2 internal prototype to avoid an error. */
23438 /* We use char because int might match the return type of a gcc2
23439 builtin and then its argument prototype would still apply. */
23443 #ifdef F77_DUMMY_MAIN
23444 # ifdef __cplusplus
23447 int F77_DUMMY_MAIN() { return 1; }
23452 /* The GNU C library defines this for functions which it implements
23453 to always fail with ENOSYS. Some functions are actually named
23454 something starting with __ and the normal name is an alias. */
23455 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23465 rm -f conftest.
$ac_objext conftest
$ac_exeext
23466 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23467 (eval $ac_link) 2>&5
23469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23470 (exit $ac_status); } &&
23471 { ac_try
='test -s conftest$ac_exeext'
23472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23473 (eval $ac_try) 2>&5
23475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23476 (exit $ac_status); }; }; then
23477 eval "$as_ac_var=yes"
23479 echo "$as_me: failed program was:" >&5
23480 cat conftest.
$ac_ext >&5
23481 eval "$as_ac_var=no"
23483 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23485 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23486 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23487 if test `eval echo '${'$as_ac_var'}'` = yes; then
23488 cat >>confdefs.h
<<_ACEOF
23489 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23498 ac_cpp
='$CPP $CPPFLAGS'
23499 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23500 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23501 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23506 if test "$TOOLKIT" != "MSW"; then
23512 ac_cpp
='$CXXCPP $CPPFLAGS'
23513 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23514 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23515 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23520 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
23521 if test "${with_libiconv_prefix+set}" = set; then
23522 withval
="$with_libiconv_prefix"
23524 for dir
in `echo "$withval" | tr : ' '`; do
23525 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
23526 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
23531 echo "$as_me:$LINENO: checking for iconv" >&5
23532 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
23533 if test "${am_cv_func_iconv+set}" = set; then
23534 echo $ECHO_N "(cached) $ECHO_C" >&6
23537 am_cv_func_iconv
="no, consider installing GNU libiconv"
23539 cat >conftest.
$ac_ext <<_ACEOF
23540 #line $LINENO "configure"
23541 #include "confdefs.h"
23542 #include <stdlib.h>
23544 #ifdef F77_DUMMY_MAIN
23545 # ifdef __cplusplus
23548 int F77_DUMMY_MAIN() { return 1; }
23553 iconv_t cd = iconv_open("","");
23554 iconv(cd,NULL,NULL,NULL,NULL);
23560 rm -f conftest.
$ac_objext conftest
$ac_exeext
23561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23562 (eval $ac_link) 2>&5
23564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23565 (exit $ac_status); } &&
23566 { ac_try
='test -s conftest$ac_exeext'
23567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23568 (eval $ac_try) 2>&5
23570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23571 (exit $ac_status); }; }; then
23572 am_cv_func_iconv
=yes
23574 echo "$as_me: failed program was:" >&5
23575 cat conftest.
$ac_ext >&5
23577 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23578 if test "$am_cv_func_iconv" != yes; then
23579 am_save_LIBS
="$LIBS"
23580 LIBS
="$LIBS -liconv"
23581 cat >conftest.
$ac_ext <<_ACEOF
23582 #line $LINENO "configure"
23583 #include "confdefs.h"
23584 #include <stdlib.h>
23586 #ifdef F77_DUMMY_MAIN
23587 # ifdef __cplusplus
23590 int F77_DUMMY_MAIN() { return 1; }
23595 iconv_t cd = iconv_open("","");
23596 iconv(cd,NULL,NULL,NULL,NULL);
23602 rm -f conftest.
$ac_objext conftest
$ac_exeext
23603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23604 (eval $ac_link) 2>&5
23606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23607 (exit $ac_status); } &&
23608 { ac_try
='test -s conftest$ac_exeext'
23609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23610 (eval $ac_try) 2>&5
23612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23613 (exit $ac_status); }; }; then
23614 am_cv_lib_iconv
=yes
23615 am_cv_func_iconv
=yes
23617 echo "$as_me: failed program was:" >&5
23618 cat conftest.
$ac_ext >&5
23620 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23621 LIBS
="$am_save_LIBS"
23625 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
23626 echo "${ECHO_T}$am_cv_func_iconv" >&6
23627 if test "$am_cv_func_iconv" = yes; then
23629 cat >>confdefs.h
<<\_ACEOF
23630 #define HAVE_ICONV 1
23633 echo "$as_me:$LINENO: checking if iconv needs const" >&5
23634 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
23635 if test "${wx_cv_func_iconv_const+set}" = set; then
23636 echo $ECHO_N "(cached) $ECHO_C" >&6
23638 cat >conftest.
$ac_ext <<_ACEOF
23639 #line $LINENO "configure"
23640 #include "confdefs.h"
23642 #include <stdlib.h>
23648 #if defined(__STDC__) || defined(__cplusplus)
23649 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
23654 #ifdef F77_DUMMY_MAIN
23655 # ifdef __cplusplus
23658 int F77_DUMMY_MAIN() { return 1; }
23668 rm -f conftest.
$ac_objext
23669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23670 (eval $ac_compile) 2>&5
23672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23673 (exit $ac_status); } &&
23674 { ac_try
='test -s conftest.$ac_objext'
23675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23676 (eval $ac_try) 2>&5
23678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23679 (exit $ac_status); }; }; then
23680 wx_cv_func_iconv_const
="no"
23682 echo "$as_me: failed program was:" >&5
23683 cat conftest.
$ac_ext >&5
23684 wx_cv_func_iconv_const
="yes"
23687 rm -f conftest.
$ac_objext conftest.
$ac_ext
23690 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
23691 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
23694 if test "x$wx_cv_func_iconv_const" = "xyes"; then
23695 iconv_const
="const"
23699 cat >>confdefs.h
<<_ACEOF
23700 #define ICONV_CONST $iconv_const
23705 if test "$am_cv_lib_iconv" = yes; then
23710 LIBS
="$LIBICONV $LIBS"
23712 ac_cpp
='$CPP $CPPFLAGS'
23713 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23714 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23715 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23718 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
23720 for ac_func
in sigaction
23722 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23723 echo "$as_me:$LINENO: checking for $ac_func" >&5
23724 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23725 if eval "test \"\${$as_ac_var+set}\" = set"; then
23726 echo $ECHO_N "(cached) $ECHO_C" >&6
23728 cat >conftest.
$ac_ext <<_ACEOF
23729 #line $LINENO "configure"
23730 #include "confdefs.h"
23731 /* System header to define __stub macros and hopefully few prototypes,
23732 which can conflict with char $ac_func (); below. */
23733 #include <assert.h>
23734 /* Override any gcc2 internal prototype to avoid an error. */
23738 /* We use char because int might match the return type of a gcc2
23739 builtin and then its argument prototype would still apply. */
23743 #ifdef F77_DUMMY_MAIN
23744 # ifdef __cplusplus
23747 int F77_DUMMY_MAIN() { return 1; }
23752 /* The GNU C library defines this for functions which it implements
23753 to always fail with ENOSYS. Some functions are actually named
23754 something starting with __ and the normal name is an alias. */
23755 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23765 rm -f conftest.
$ac_objext conftest
$ac_exeext
23766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23767 (eval $ac_link) 2>&5
23769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23770 (exit $ac_status); } &&
23771 { ac_try
='test -s conftest$ac_exeext'
23772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23773 (eval $ac_try) 2>&5
23775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23776 (exit $ac_status); }; }; then
23777 eval "$as_ac_var=yes"
23779 echo "$as_me: failed program was:" >&5
23780 cat conftest.
$ac_ext >&5
23781 eval "$as_ac_var=no"
23783 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23785 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23786 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23787 if test `eval echo '${'$as_ac_var'}'` = yes; then
23788 cat >>confdefs.h
<<_ACEOF
23789 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23796 if test "$ac_cv_func_sigaction" = "no"; then
23797 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
23798 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
23799 wxUSE_ON_FATAL_EXCEPTION
=no
23802 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
23806 ac_cpp
='$CXXCPP $CPPFLAGS'
23807 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23808 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23809 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23812 echo "$as_me:$LINENO: checking for sa_handler type" >&5
23813 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
23814 if test "${wx_cv_type_sa_handler+set}" = set; then
23815 echo $ECHO_N "(cached) $ECHO_C" >&6
23818 cat >conftest.
$ac_ext <<_ACEOF
23819 #line $LINENO "configure"
23820 #include "confdefs.h"
23821 #include <signal.h>
23822 #ifdef F77_DUMMY_MAIN
23823 # ifdef __cplusplus
23826 int F77_DUMMY_MAIN() { return 1; }
23832 extern void testSigHandler(int);
23834 struct sigaction sa;
23835 sa.sa_handler = testSigHandler;
23841 rm -f conftest.
$ac_objext
23842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23843 (eval $ac_compile) 2>&5
23845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23846 (exit $ac_status); } &&
23847 { ac_try
='test -s conftest.$ac_objext'
23848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23849 (eval $ac_try) 2>&5
23851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23852 (exit $ac_status); }; }; then
23854 wx_cv_type_sa_handler
=int
23857 echo "$as_me: failed program was:" >&5
23858 cat conftest.
$ac_ext >&5
23860 wx_cv_type_sa_handler
=void
23863 rm -f conftest.
$ac_objext conftest.
$ac_ext
23866 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
23867 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
23870 ac_cpp
='$CPP $CPPFLAGS'
23871 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23872 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23873 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23876 cat >>confdefs.h
<<_ACEOF
23877 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
23884 for ac_func
in vfork
23886 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23887 echo "$as_me:$LINENO: checking for $ac_func" >&5
23888 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23889 if eval "test \"\${$as_ac_var+set}\" = set"; then
23890 echo $ECHO_N "(cached) $ECHO_C" >&6
23892 cat >conftest.
$ac_ext <<_ACEOF
23893 #line $LINENO "configure"
23894 #include "confdefs.h"
23895 /* System header to define __stub macros and hopefully few prototypes,
23896 which can conflict with char $ac_func (); below. */
23897 #include <assert.h>
23898 /* Override any gcc2 internal prototype to avoid an error. */
23902 /* We use char because int might match the return type of a gcc2
23903 builtin and then its argument prototype would still apply. */
23907 #ifdef F77_DUMMY_MAIN
23908 # ifdef __cplusplus
23911 int F77_DUMMY_MAIN() { return 1; }
23916 /* The GNU C library defines this for functions which it implements
23917 to always fail with ENOSYS. Some functions are actually named
23918 something starting with __ and the normal name is an alias. */
23919 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23929 rm -f conftest.
$ac_objext conftest
$ac_exeext
23930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23931 (eval $ac_link) 2>&5
23933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23934 (exit $ac_status); } &&
23935 { ac_try
='test -s conftest$ac_exeext'
23936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23937 (eval $ac_try) 2>&5
23939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23940 (exit $ac_status); }; }; then
23941 eval "$as_ac_var=yes"
23943 echo "$as_me: failed program was:" >&5
23944 cat conftest.
$ac_ext >&5
23945 eval "$as_ac_var=no"
23947 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23949 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23950 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23951 if test `eval echo '${'$as_ac_var'}'` = yes; then
23952 cat >>confdefs.h
<<_ACEOF
23953 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23962 for ac_func
in mkstemp mktemp
23964 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23965 echo "$as_me:$LINENO: checking for $ac_func" >&5
23966 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23967 if eval "test \"\${$as_ac_var+set}\" = set"; then
23968 echo $ECHO_N "(cached) $ECHO_C" >&6
23970 cat >conftest.
$ac_ext <<_ACEOF
23971 #line $LINENO "configure"
23972 #include "confdefs.h"
23973 /* System header to define __stub macros and hopefully few prototypes,
23974 which can conflict with char $ac_func (); below. */
23975 #include <assert.h>
23976 /* Override any gcc2 internal prototype to avoid an error. */
23980 /* We use char because int might match the return type of a gcc2
23981 builtin and then its argument prototype would still apply. */
23985 #ifdef F77_DUMMY_MAIN
23986 # ifdef __cplusplus
23989 int F77_DUMMY_MAIN() { return 1; }
23994 /* The GNU C library defines this for functions which it implements
23995 to always fail with ENOSYS. Some functions are actually named
23996 something starting with __ and the normal name is an alias. */
23997 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24007 rm -f conftest.
$ac_objext conftest
$ac_exeext
24008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24009 (eval $ac_link) 2>&5
24011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24012 (exit $ac_status); } &&
24013 { ac_try
='test -s conftest$ac_exeext'
24014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24015 (eval $ac_try) 2>&5
24017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24018 (exit $ac_status); }; }; then
24019 eval "$as_ac_var=yes"
24021 echo "$as_me: failed program was:" >&5
24022 cat conftest.
$ac_ext >&5
24023 eval "$as_ac_var=no"
24025 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24027 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24028 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24029 if test `eval echo '${'$as_ac_var'}'` = yes; then
24030 cat >>confdefs.h
<<_ACEOF
24031 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24038 echo "$as_me:$LINENO: checking for statfs" >&5
24039 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
24040 if test "${wx_cv_func_statfs+set}" = set; then
24041 echo $ECHO_N "(cached) $ECHO_C" >&6
24043 cat >conftest.
$ac_ext <<_ACEOF
24044 #line $LINENO "configure"
24045 #include "confdefs.h"
24047 #if defined(__BSD__)
24048 #include <sys/param.h>
24049 #include <sys/mount.h>
24051 #include <sys/vfs.h>
24054 #ifdef F77_DUMMY_MAIN
24055 # ifdef __cplusplus
24058 int F77_DUMMY_MAIN() { return 1; }
24075 rm -f conftest.
$ac_objext
24076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24077 (eval $ac_compile) 2>&5
24079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24080 (exit $ac_status); } &&
24081 { ac_try
='test -s conftest.$ac_objext'
24082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24083 (eval $ac_try) 2>&5
24085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24086 (exit $ac_status); }; }; then
24088 wx_cv_func_statfs
=yes
24091 echo "$as_me: failed program was:" >&5
24092 cat conftest.
$ac_ext >&5
24094 wx_cv_func_statfs
=no
24098 rm -f conftest.
$ac_objext conftest.
$ac_ext
24101 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
24102 echo "${ECHO_T}$wx_cv_func_statfs" >&6
24104 if test "$wx_cv_func_statfs" = "yes"; then
24105 cat >>confdefs.h
<<\_ACEOF
24106 #define HAVE_STATFS 1
24110 echo "$as_me:$LINENO: checking for statvfs" >&5
24111 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
24112 if test "${wx_cv_func_statvfs+set}" = set; then
24113 echo $ECHO_N "(cached) $ECHO_C" >&6
24115 cat >conftest.
$ac_ext <<_ACEOF
24116 #line $LINENO "configure"
24117 #include "confdefs.h"
24119 #include <sys/statvfs.h>
24121 #ifdef F77_DUMMY_MAIN
24122 # ifdef __cplusplus
24125 int F77_DUMMY_MAIN() { return 1; }
24142 rm -f conftest.
$ac_objext
24143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24144 (eval $ac_compile) 2>&5
24146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24147 (exit $ac_status); } &&
24148 { ac_try
='test -s conftest.$ac_objext'
24149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24150 (eval $ac_try) 2>&5
24152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24153 (exit $ac_status); }; }; then
24155 wx_cv_func_statvfs
=yes
24158 echo "$as_me: failed program was:" >&5
24159 cat conftest.
$ac_ext >&5
24161 wx_cv_func_statvfs
=no
24165 rm -f conftest.
$ac_objext conftest.
$ac_ext
24168 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
24169 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
24171 if test "$wx_cv_func_statvfs" = "yes"; then
24172 cat >>confdefs.h
<<\_ACEOF
24173 #define HAVE_STATVFS 1
24177 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
24178 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
24182 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
24185 for ac_func
in fcntl flock
24187 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24188 echo "$as_me:$LINENO: checking for $ac_func" >&5
24189 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24190 if eval "test \"\${$as_ac_var+set}\" = set"; then
24191 echo $ECHO_N "(cached) $ECHO_C" >&6
24193 cat >conftest.
$ac_ext <<_ACEOF
24194 #line $LINENO "configure"
24195 #include "confdefs.h"
24196 /* System header to define __stub macros and hopefully few prototypes,
24197 which can conflict with char $ac_func (); below. */
24198 #include <assert.h>
24199 /* Override any gcc2 internal prototype to avoid an error. */
24203 /* We use char because int might match the return type of a gcc2
24204 builtin and then its argument prototype would still apply. */
24208 #ifdef F77_DUMMY_MAIN
24209 # ifdef __cplusplus
24212 int F77_DUMMY_MAIN() { return 1; }
24217 /* The GNU C library defines this for functions which it implements
24218 to always fail with ENOSYS. Some functions are actually named
24219 something starting with __ and the normal name is an alias. */
24220 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24230 rm -f conftest.
$ac_objext conftest
$ac_exeext
24231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24232 (eval $ac_link) 2>&5
24234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24235 (exit $ac_status); } &&
24236 { ac_try
='test -s conftest$ac_exeext'
24237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24238 (eval $ac_try) 2>&5
24240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24241 (exit $ac_status); }; }; then
24242 eval "$as_ac_var=yes"
24244 echo "$as_me: failed program was:" >&5
24245 cat conftest.
$ac_ext >&5
24246 eval "$as_ac_var=no"
24248 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24250 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24251 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24252 if test `eval echo '${'$as_ac_var'}'` = yes; then
24253 cat >>confdefs.h
<<_ACEOF
24254 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24261 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
24262 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
24263 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
24264 wxUSE_SNGLINST_CHECKER
=no
24269 for ac_func
in timegm
24271 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24272 echo "$as_me:$LINENO: checking for $ac_func" >&5
24273 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24274 if eval "test \"\${$as_ac_var+set}\" = set"; then
24275 echo $ECHO_N "(cached) $ECHO_C" >&6
24277 cat >conftest.
$ac_ext <<_ACEOF
24278 #line $LINENO "configure"
24279 #include "confdefs.h"
24280 /* System header to define __stub macros and hopefully few prototypes,
24281 which can conflict with char $ac_func (); below. */
24282 #include <assert.h>
24283 /* Override any gcc2 internal prototype to avoid an error. */
24287 /* We use char because int might match the return type of a gcc2
24288 builtin and then its argument prototype would still apply. */
24292 #ifdef F77_DUMMY_MAIN
24293 # ifdef __cplusplus
24296 int F77_DUMMY_MAIN() { return 1; }
24301 /* The GNU C library defines this for functions which it implements
24302 to always fail with ENOSYS. Some functions are actually named
24303 something starting with __ and the normal name is an alias. */
24304 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24314 rm -f conftest.
$ac_objext conftest
$ac_exeext
24315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24316 (eval $ac_link) 2>&5
24318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24319 (exit $ac_status); } &&
24320 { ac_try
='test -s conftest$ac_exeext'
24321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24322 (eval $ac_try) 2>&5
24324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24325 (exit $ac_status); }; }; then
24326 eval "$as_ac_var=yes"
24328 echo "$as_me: failed program was:" >&5
24329 cat conftest.
$ac_ext >&5
24330 eval "$as_ac_var=no"
24332 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24334 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24335 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24336 if test `eval echo '${'$as_ac_var'}'` = yes; then
24337 cat >>confdefs.h
<<_ACEOF
24338 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24347 for ac_func
in putenv setenv
24349 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24350 echo "$as_me:$LINENO: checking for $ac_func" >&5
24351 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24352 if eval "test \"\${$as_ac_var+set}\" = set"; then
24353 echo $ECHO_N "(cached) $ECHO_C" >&6
24355 cat >conftest.
$ac_ext <<_ACEOF
24356 #line $LINENO "configure"
24357 #include "confdefs.h"
24358 /* System header to define __stub macros and hopefully few prototypes,
24359 which can conflict with char $ac_func (); below. */
24360 #include <assert.h>
24361 /* Override any gcc2 internal prototype to avoid an error. */
24365 /* We use char because int might match the return type of a gcc2
24366 builtin and then its argument prototype would still apply. */
24370 #ifdef F77_DUMMY_MAIN
24371 # ifdef __cplusplus
24374 int F77_DUMMY_MAIN() { return 1; }
24379 /* The GNU C library defines this for functions which it implements
24380 to always fail with ENOSYS. Some functions are actually named
24381 something starting with __ and the normal name is an alias. */
24382 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24392 rm -f conftest.
$ac_objext conftest
$ac_exeext
24393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24394 (eval $ac_link) 2>&5
24396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24397 (exit $ac_status); } &&
24398 { ac_try
='test -s conftest$ac_exeext'
24399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24400 (eval $ac_try) 2>&5
24402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24403 (exit $ac_status); }; }; then
24404 eval "$as_ac_var=yes"
24406 echo "$as_me: failed program was:" >&5
24407 cat conftest.
$ac_ext >&5
24408 eval "$as_ac_var=no"
24410 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24412 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24413 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24414 if test `eval echo '${'$as_ac_var'}'` = yes; then
24415 cat >>confdefs.h
<<_ACEOF
24416 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24423 HAVE_SOME_SLEEP_FUNC
=0
24424 if test "$USE_BEOS" = 1; then
24425 cat >>confdefs.h
<<\_ACEOF
24426 #define HAVE_SLEEP 1
24429 HAVE_SOME_SLEEP_FUNC
=1
24432 if test "$USE_DARWIN" = 1; then
24433 cat >>confdefs.h
<<\_ACEOF
24434 #define HAVE_USLEEP 1
24437 HAVE_SOME_SLEEP_FUNC
=1
24440 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
24443 for ac_func
in nanosleep
24445 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24446 echo "$as_me:$LINENO: checking for $ac_func" >&5
24447 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24448 if eval "test \"\${$as_ac_var+set}\" = set"; then
24449 echo $ECHO_N "(cached) $ECHO_C" >&6
24451 cat >conftest.
$ac_ext <<_ACEOF
24452 #line $LINENO "configure"
24453 #include "confdefs.h"
24454 /* System header to define __stub macros and hopefully few prototypes,
24455 which can conflict with char $ac_func (); below. */
24456 #include <assert.h>
24457 /* Override any gcc2 internal prototype to avoid an error. */
24461 /* We use char because int might match the return type of a gcc2
24462 builtin and then its argument prototype would still apply. */
24466 #ifdef F77_DUMMY_MAIN
24467 # ifdef __cplusplus
24470 int F77_DUMMY_MAIN() { return 1; }
24475 /* The GNU C library defines this for functions which it implements
24476 to always fail with ENOSYS. Some functions are actually named
24477 something starting with __ and the normal name is an alias. */
24478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24488 rm -f conftest.
$ac_objext conftest
$ac_exeext
24489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24490 (eval $ac_link) 2>&5
24492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24493 (exit $ac_status); } &&
24494 { ac_try
='test -s conftest$ac_exeext'
24495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24496 (eval $ac_try) 2>&5
24498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24499 (exit $ac_status); }; }; then
24500 eval "$as_ac_var=yes"
24502 echo "$as_me: failed program was:" >&5
24503 cat conftest.
$ac_ext >&5
24504 eval "$as_ac_var=no"
24506 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24508 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24509 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24510 if test `eval echo '${'$as_ac_var'}'` = yes; then
24511 cat >>confdefs.h
<<_ACEOF
24512 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24514 cat >>confdefs.h
<<\_ACEOF
24515 #define HAVE_NANOSLEEP 1
24520 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
24521 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
24522 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
24523 echo $ECHO_N "(cached) $ECHO_C" >&6
24525 ac_check_lib_save_LIBS
=$LIBS
24526 LIBS
="-lposix4 $LIBS"
24527 cat >conftest.
$ac_ext <<_ACEOF
24528 #line $LINENO "configure"
24529 #include "confdefs.h"
24531 /* Override any gcc2 internal prototype to avoid an error. */
24535 /* We use char because int might match the return type of a gcc2
24536 builtin and then its argument prototype would still apply. */
24538 #ifdef F77_DUMMY_MAIN
24539 # ifdef __cplusplus
24542 int F77_DUMMY_MAIN() { return 1; }
24552 rm -f conftest.
$ac_objext conftest
$ac_exeext
24553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24554 (eval $ac_link) 2>&5
24556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24557 (exit $ac_status); } &&
24558 { ac_try
='test -s conftest$ac_exeext'
24559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24560 (eval $ac_try) 2>&5
24562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24563 (exit $ac_status); }; }; then
24564 ac_cv_lib_posix4_nanosleep
=yes
24566 echo "$as_me: failed program was:" >&5
24567 cat conftest.
$ac_ext >&5
24568 ac_cv_lib_posix4_nanosleep
=no
24570 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24571 LIBS
=$ac_check_lib_save_LIBS
24573 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
24574 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
24575 if test $ac_cv_lib_posix4_nanosleep = yes; then
24577 cat >>confdefs.h
<<\_ACEOF
24578 #define HAVE_NANOSLEEP 1
24581 POSIX4_LINK
=" -lposix4"
24586 for ac_func
in usleep
24588 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24589 echo "$as_me:$LINENO: checking for $ac_func" >&5
24590 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24591 if eval "test \"\${$as_ac_var+set}\" = set"; then
24592 echo $ECHO_N "(cached) $ECHO_C" >&6
24594 cat >conftest.
$ac_ext <<_ACEOF
24595 #line $LINENO "configure"
24596 #include "confdefs.h"
24597 /* System header to define __stub macros and hopefully few prototypes,
24598 which can conflict with char $ac_func (); below. */
24599 #include <assert.h>
24600 /* Override any gcc2 internal prototype to avoid an error. */
24604 /* We use char because int might match the return type of a gcc2
24605 builtin and then its argument prototype would still apply. */
24609 #ifdef F77_DUMMY_MAIN
24610 # ifdef __cplusplus
24613 int F77_DUMMY_MAIN() { return 1; }
24618 /* The GNU C library defines this for functions which it implements
24619 to always fail with ENOSYS. Some functions are actually named
24620 something starting with __ and the normal name is an alias. */
24621 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24631 rm -f conftest.
$ac_objext conftest
$ac_exeext
24632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24633 (eval $ac_link) 2>&5
24635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24636 (exit $ac_status); } &&
24637 { ac_try
='test -s conftest$ac_exeext'
24638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24639 (eval $ac_try) 2>&5
24641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24642 (exit $ac_status); }; }; then
24643 eval "$as_ac_var=yes"
24645 echo "$as_me: failed program was:" >&5
24646 cat conftest.
$ac_ext >&5
24647 eval "$as_ac_var=no"
24649 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24651 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24652 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24653 if test `eval echo '${'$as_ac_var'}'` = yes; then
24654 cat >>confdefs.h
<<_ACEOF
24655 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24657 cat >>confdefs.h
<<\_ACEOF
24658 #define HAVE_USLEEP 1
24662 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
24663 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
24681 for ac_func
in uname gethostname
24683 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24684 echo "$as_me:$LINENO: checking for $ac_func" >&5
24685 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24686 if eval "test \"\${$as_ac_var+set}\" = set"; then
24687 echo $ECHO_N "(cached) $ECHO_C" >&6
24689 cat >conftest.
$ac_ext <<_ACEOF
24690 #line $LINENO "configure"
24691 #include "confdefs.h"
24692 /* System header to define __stub macros and hopefully few prototypes,
24693 which can conflict with char $ac_func (); below. */
24694 #include <assert.h>
24695 /* Override any gcc2 internal prototype to avoid an error. */
24699 /* We use char because int might match the return type of a gcc2
24700 builtin and then its argument prototype would still apply. */
24704 #ifdef F77_DUMMY_MAIN
24705 # ifdef __cplusplus
24708 int F77_DUMMY_MAIN() { return 1; }
24713 /* The GNU C library defines this for functions which it implements
24714 to always fail with ENOSYS. Some functions are actually named
24715 something starting with __ and the normal name is an alias. */
24716 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24726 rm -f conftest.
$ac_objext conftest
$ac_exeext
24727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24728 (eval $ac_link) 2>&5
24730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24731 (exit $ac_status); } &&
24732 { ac_try
='test -s conftest$ac_exeext'
24733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24734 (eval $ac_try) 2>&5
24736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24737 (exit $ac_status); }; }; then
24738 eval "$as_ac_var=yes"
24740 echo "$as_me: failed program was:" >&5
24741 cat conftest.
$ac_ext >&5
24742 eval "$as_ac_var=no"
24744 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24746 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24747 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24748 if test `eval echo '${'$as_ac_var'}'` = yes; then
24749 cat >>confdefs.h
<<_ACEOF
24750 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24760 ac_cpp
='$CXXCPP $CPPFLAGS'
24761 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24762 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24763 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
24767 for ac_func
in strtok_r
24769 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24770 echo "$as_me:$LINENO: checking for $ac_func" >&5
24771 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24772 if eval "test \"\${$as_ac_var+set}\" = set"; then
24773 echo $ECHO_N "(cached) $ECHO_C" >&6
24775 cat >conftest.
$ac_ext <<_ACEOF
24776 #line $LINENO "configure"
24777 #include "confdefs.h"
24778 /* System header to define __stub macros and hopefully few prototypes,
24779 which can conflict with char $ac_func (); below. */
24780 #include <assert.h>
24781 /* Override any gcc2 internal prototype to avoid an error. */
24785 /* We use char because int might match the return type of a gcc2
24786 builtin and then its argument prototype would still apply. */
24790 #ifdef F77_DUMMY_MAIN
24791 # ifdef __cplusplus
24794 int F77_DUMMY_MAIN() { return 1; }
24799 /* The GNU C library defines this for functions which it implements
24800 to always fail with ENOSYS. Some functions are actually named
24801 something starting with __ and the normal name is an alias. */
24802 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24812 rm -f conftest.
$ac_objext conftest
$ac_exeext
24813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24814 (eval $ac_link) 2>&5
24816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24817 (exit $ac_status); } &&
24818 { ac_try
='test -s conftest$ac_exeext'
24819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24820 (eval $ac_try) 2>&5
24822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24823 (exit $ac_status); }; }; then
24824 eval "$as_ac_var=yes"
24826 echo "$as_me: failed program was:" >&5
24827 cat conftest.
$ac_ext >&5
24828 eval "$as_ac_var=no"
24830 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24832 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24833 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24834 if test `eval echo '${'$as_ac_var'}'` = yes; then
24835 cat >>confdefs.h
<<_ACEOF
24836 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24844 ac_cpp
='$CPP $CPPFLAGS'
24845 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24846 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24847 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
24852 for ac_func
in inet_addr
24854 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24855 echo "$as_me:$LINENO: checking for $ac_func" >&5
24856 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24857 if eval "test \"\${$as_ac_var+set}\" = set"; then
24858 echo $ECHO_N "(cached) $ECHO_C" >&6
24860 cat >conftest.
$ac_ext <<_ACEOF
24861 #line $LINENO "configure"
24862 #include "confdefs.h"
24863 /* System header to define __stub macros and hopefully few prototypes,
24864 which can conflict with char $ac_func (); below. */
24865 #include <assert.h>
24866 /* Override any gcc2 internal prototype to avoid an error. */
24870 /* We use char because int might match the return type of a gcc2
24871 builtin and then its argument prototype would still apply. */
24875 #ifdef F77_DUMMY_MAIN
24876 # ifdef __cplusplus
24879 int F77_DUMMY_MAIN() { return 1; }
24884 /* The GNU C library defines this for functions which it implements
24885 to always fail with ENOSYS. Some functions are actually named
24886 something starting with __ and the normal name is an alias. */
24887 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24897 rm -f conftest.
$ac_objext conftest
$ac_exeext
24898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24899 (eval $ac_link) 2>&5
24901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24902 (exit $ac_status); } &&
24903 { ac_try
='test -s conftest$ac_exeext'
24904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24905 (eval $ac_try) 2>&5
24907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24908 (exit $ac_status); }; }; then
24909 eval "$as_ac_var=yes"
24911 echo "$as_me: failed program was:" >&5
24912 cat conftest.
$ac_ext >&5
24913 eval "$as_ac_var=no"
24915 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24918 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24919 if test `eval echo '${'$as_ac_var'}'` = yes; then
24920 cat >>confdefs.h
<<_ACEOF
24921 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24923 cat >>confdefs.h
<<\_ACEOF
24924 #define HAVE_INET_ADDR 1
24929 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
24930 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
24931 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
24932 echo $ECHO_N "(cached) $ECHO_C" >&6
24934 ac_check_lib_save_LIBS
=$LIBS
24936 cat >conftest.
$ac_ext <<_ACEOF
24937 #line $LINENO "configure"
24938 #include "confdefs.h"
24940 /* Override any gcc2 internal prototype to avoid an error. */
24944 /* We use char because int might match the return type of a gcc2
24945 builtin and then its argument prototype would still apply. */
24947 #ifdef F77_DUMMY_MAIN
24948 # ifdef __cplusplus
24951 int F77_DUMMY_MAIN() { return 1; }
24961 rm -f conftest.
$ac_objext conftest
$ac_exeext
24962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24963 (eval $ac_link) 2>&5
24965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24966 (exit $ac_status); } &&
24967 { ac_try
='test -s conftest$ac_exeext'
24968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24969 (eval $ac_try) 2>&5
24971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24972 (exit $ac_status); }; }; then
24973 ac_cv_lib_nsl_inet_addr
=yes
24975 echo "$as_me: failed program was:" >&5
24976 cat conftest.
$ac_ext >&5
24977 ac_cv_lib_nsl_inet_addr
=no
24979 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24980 LIBS
=$ac_check_lib_save_LIBS
24982 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
24983 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
24984 if test $ac_cv_lib_nsl_inet_addr = yes; then
24987 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
24988 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
24989 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
24990 echo $ECHO_N "(cached) $ECHO_C" >&6
24992 ac_check_lib_save_LIBS
=$LIBS
24993 LIBS
="-lresolv $LIBS"
24994 cat >conftest.
$ac_ext <<_ACEOF
24995 #line $LINENO "configure"
24996 #include "confdefs.h"
24998 /* Override any gcc2 internal prototype to avoid an error. */
25002 /* We use char because int might match the return type of a gcc2
25003 builtin and then its argument prototype would still apply. */
25005 #ifdef F77_DUMMY_MAIN
25006 # ifdef __cplusplus
25009 int F77_DUMMY_MAIN() { return 1; }
25019 rm -f conftest.
$ac_objext conftest
$ac_exeext
25020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25021 (eval $ac_link) 2>&5
25023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25024 (exit $ac_status); } &&
25025 { ac_try
='test -s conftest$ac_exeext'
25026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25027 (eval $ac_try) 2>&5
25029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25030 (exit $ac_status); }; }; then
25031 ac_cv_lib_resolv_inet_addr
=yes
25033 echo "$as_me: failed program was:" >&5
25034 cat conftest.
$ac_ext >&5
25035 ac_cv_lib_resolv_inet_addr
=no
25037 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25038 LIBS
=$ac_check_lib_save_LIBS
25040 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
25041 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
25042 if test $ac_cv_lib_resolv_inet_addr = yes; then
25045 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
25046 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
25047 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
25048 echo $ECHO_N "(cached) $ECHO_C" >&6
25050 ac_check_lib_save_LIBS
=$LIBS
25051 LIBS
="-lsocket $LIBS"
25052 cat >conftest.
$ac_ext <<_ACEOF
25053 #line $LINENO "configure"
25054 #include "confdefs.h"
25056 /* Override any gcc2 internal prototype to avoid an error. */
25060 /* We use char because int might match the return type of a gcc2
25061 builtin and then its argument prototype would still apply. */
25063 #ifdef F77_DUMMY_MAIN
25064 # ifdef __cplusplus
25067 int F77_DUMMY_MAIN() { return 1; }
25077 rm -f conftest.
$ac_objext conftest
$ac_exeext
25078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25079 (eval $ac_link) 2>&5
25081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25082 (exit $ac_status); } &&
25083 { ac_try
='test -s conftest$ac_exeext'
25084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25085 (eval $ac_try) 2>&5
25087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25088 (exit $ac_status); }; }; then
25089 ac_cv_lib_socket_inet_addr
=yes
25091 echo "$as_me: failed program was:" >&5
25092 cat conftest.
$ac_ext >&5
25093 ac_cv_lib_socket_inet_addr
=no
25095 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25096 LIBS
=$ac_check_lib_save_LIBS
25098 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
25099 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
25100 if test $ac_cv_lib_socket_inet_addr = yes; then
25118 for ac_func
in inet_aton
25120 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25121 echo "$as_me:$LINENO: checking for $ac_func" >&5
25122 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25123 if eval "test \"\${$as_ac_var+set}\" = set"; then
25124 echo $ECHO_N "(cached) $ECHO_C" >&6
25126 cat >conftest.
$ac_ext <<_ACEOF
25127 #line $LINENO "configure"
25128 #include "confdefs.h"
25129 /* System header to define __stub macros and hopefully few prototypes,
25130 which can conflict with char $ac_func (); below. */
25131 #include <assert.h>
25132 /* Override any gcc2 internal prototype to avoid an error. */
25136 /* We use char because int might match the return type of a gcc2
25137 builtin and then its argument prototype would still apply. */
25141 #ifdef F77_DUMMY_MAIN
25142 # ifdef __cplusplus
25145 int F77_DUMMY_MAIN() { return 1; }
25150 /* The GNU C library defines this for functions which it implements
25151 to always fail with ENOSYS. Some functions are actually named
25152 something starting with __ and the normal name is an alias. */
25153 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25163 rm -f conftest.
$ac_objext conftest
$ac_exeext
25164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25165 (eval $ac_link) 2>&5
25167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25168 (exit $ac_status); } &&
25169 { ac_try
='test -s conftest$ac_exeext'
25170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25171 (eval $ac_try) 2>&5
25173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25174 (exit $ac_status); }; }; then
25175 eval "$as_ac_var=yes"
25177 echo "$as_me: failed program was:" >&5
25178 cat conftest.
$ac_ext >&5
25179 eval "$as_ac_var=no"
25181 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25183 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25184 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25185 if test `eval echo '${'$as_ac_var'}'` = yes; then
25186 cat >>confdefs.h
<<_ACEOF
25187 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25189 cat >>confdefs.h
<<\_ACEOF
25190 #define HAVE_INET_ATON 1
25195 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
25196 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
25197 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
25198 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
25199 echo $ECHO_N "(cached) $ECHO_C" >&6
25201 ac_check_lib_save_LIBS
=$LIBS
25202 LIBS
="-l$INET_LINK $LIBS"
25203 cat >conftest.
$ac_ext <<_ACEOF
25204 #line $LINENO "configure"
25205 #include "confdefs.h"
25207 /* Override any gcc2 internal prototype to avoid an error. */
25211 /* We use char because int might match the return type of a gcc2
25212 builtin and then its argument prototype would still apply. */
25214 #ifdef F77_DUMMY_MAIN
25215 # ifdef __cplusplus
25218 int F77_DUMMY_MAIN() { return 1; }
25228 rm -f conftest.
$ac_objext conftest
$ac_exeext
25229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25230 (eval $ac_link) 2>&5
25232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25233 (exit $ac_status); } &&
25234 { ac_try
='test -s conftest$ac_exeext'
25235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25236 (eval $ac_try) 2>&5
25238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25239 (exit $ac_status); }; }; then
25240 eval "$as_ac_Lib=yes"
25242 echo "$as_me: failed program was:" >&5
25243 cat conftest.
$ac_ext >&5
25244 eval "$as_ac_Lib=no"
25246 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25247 LIBS
=$ac_check_lib_save_LIBS
25249 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
25250 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
25251 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
25252 cat >>confdefs.h
<<\_ACEOF
25253 #define HAVE_INET_ATON 1
25263 if test "x$INET_LINK" != "x"; then
25264 cat >>confdefs.h
<<\_ACEOF
25265 #define HAVE_INET_ADDR 1
25268 INET_LINK
=" -l$INET_LINK"
25274 cat >confcache
<<\_ACEOF
25275 # This file is a shell script that caches the results of configure
25276 # tests run on this system so they can be shared between configure
25277 # scripts and configure runs, see configure's option --config-cache.
25278 # It is not useful on other systems. If it contains results you don't
25279 # want to keep, you may remove or edit it.
25281 # config.status only pays attention to the cache file if you give it
25282 # the --recheck option to rerun configure.
25284 # `ac_cv_env_foo' variables (set or unset) will be overriden when
25285 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25286 # following values.
25290 # The following way of writing the cache mishandles newlines in values,
25291 # but we know of no workaround that is simple, portable, and efficient.
25292 # So, don't put newlines in cache variables' values.
25293 # Ultrix sh set writes to stderr and can't be redirected directly,
25294 # and sets the high bit in the cache file unless we assign to the vars.
25297 case `(ac_space=' '; set | grep ac_space) 2>&1` in
25299 # `set' does not quote correctly, so add quotes (double-quote
25300 # substitution turns \\\\ into \\, and sed turns \\ into \).
25303 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25306 # `set' quotes correctly as required by POSIX, so do not add quotes.
25308 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
25315 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25317 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25319 if cmp -s $cache_file confcache
; then :; else
25320 if test -w $cache_file; then
25321 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
25322 cat confcache
>$cache_file
25324 echo "not updating unwritable cache $cache_file"
25331 if test "$TOOLKIT" != "MSW"; then
25337 if test "$wxUSE_THREADS" = "yes" ; then
25338 if test "$wxUSE_WINE" = 1 ; then
25339 { echo "$as_me:$LINENO: WARNING: Threads are not supported under WINE... disabled" >&5
25340 echo "$as_me: WARNING: Threads are not supported under WINE... disabled" >&2;}
25342 elif test "$USE_BEOS" = 1; then
25343 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
25344 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
25349 if test "$wxUSE_THREADS" = "yes" ; then
25352 THREAD_OPTS
="-pthread"
25354 *-*-solaris2* | *-*-sunos4* )
25355 if test "x$GCC" = "xyes"; then
25356 THREAD_OPTS
="-pthreads $THREAD_OPTS"
25358 THREAD_OPTS
="-mt $THREAD_OPTS"
25362 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
25364 *-*-darwin* | *-*-cygwin* )
25368 THREAD_OPTS
="pthreads"
25372 THREAD_OPTS
="$THREAD_OPTS pthread none"
25375 for flag
in $THREAD_OPTS; do
25378 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
25379 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
25383 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
25384 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
25385 THREADS_CFLAGS
="$flag"
25389 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
25390 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
25391 THREADS_LINK
="-l$flag"
25396 save_CFLAGS
="$CFLAGS"
25397 LIBS
="$THREADS_LINK $LIBS"
25398 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
25400 cat >conftest.
$ac_ext <<_ACEOF
25401 #line $LINENO "configure"
25402 #include "confdefs.h"
25403 #include <pthread.h>
25404 #ifdef F77_DUMMY_MAIN
25405 # ifdef __cplusplus
25408 int F77_DUMMY_MAIN() { return 1; }
25413 pthread_create(0,0,0,0);
25418 rm -f conftest.
$ac_objext conftest
$ac_exeext
25419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25420 (eval $ac_link) 2>&5
25422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25423 (exit $ac_status); } &&
25424 { ac_try
='test -s conftest$ac_exeext'
25425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25426 (eval $ac_try) 2>&5
25428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25429 (exit $ac_status); }; }; then
25432 echo "$as_me: failed program was:" >&5
25433 cat conftest.
$ac_ext >&5
25435 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25438 CFLAGS
="$save_CFLAGS"
25440 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
25441 echo "${ECHO_T}$THREADS_OK" >&6
25442 if test "x$THREADS_OK" = "xyes"; then
25450 if test "x$THREADS_OK" != "xyes"; then
25452 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
25453 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
25455 LIBS
="$THREADS_LINK $THREADS_CFLAGS $LIBS"
25457 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
25458 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
25461 *-aix* | *-freebsd*)
25462 flag
="-D_THREAD_SAFE"
25464 *solaris
* | alpha
*-osf*)
25465 flag
="-D_REENTRANT"
25468 echo "$as_me:$LINENO: result: ${flag}" >&5
25469 echo "${ECHO_T}${flag}" >&6
25470 if test "x$flag" != xno
; then
25471 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
25474 if test "x$THREADS_CFLAGS" != "x"; then
25475 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
25476 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
25481 if test "$wxUSE_THREADS" = "yes" ; then
25483 for ac_func
in thr_setconcurrency
25485 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25486 echo "$as_me:$LINENO: checking for $ac_func" >&5
25487 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25488 if eval "test \"\${$as_ac_var+set}\" = set"; then
25489 echo $ECHO_N "(cached) $ECHO_C" >&6
25491 cat >conftest.
$ac_ext <<_ACEOF
25492 #line $LINENO "configure"
25493 #include "confdefs.h"
25494 /* System header to define __stub macros and hopefully few prototypes,
25495 which can conflict with char $ac_func (); below. */
25496 #include <assert.h>
25497 /* Override any gcc2 internal prototype to avoid an error. */
25501 /* We use char because int might match the return type of a gcc2
25502 builtin and then its argument prototype would still apply. */
25506 #ifdef F77_DUMMY_MAIN
25507 # ifdef __cplusplus
25510 int F77_DUMMY_MAIN() { return 1; }
25515 /* The GNU C library defines this for functions which it implements
25516 to always fail with ENOSYS. Some functions are actually named
25517 something starting with __ and the normal name is an alias. */
25518 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25528 rm -f conftest.
$ac_objext conftest
$ac_exeext
25529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25530 (eval $ac_link) 2>&5
25532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25533 (exit $ac_status); } &&
25534 { ac_try
='test -s conftest$ac_exeext'
25535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25536 (eval $ac_try) 2>&5
25538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25539 (exit $ac_status); }; }; then
25540 eval "$as_ac_var=yes"
25542 echo "$as_me: failed program was:" >&5
25543 cat conftest.
$ac_ext >&5
25544 eval "$as_ac_var=no"
25546 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25549 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25550 if test `eval echo '${'$as_ac_var'}'` = yes; then
25551 cat >>confdefs.h
<<_ACEOF
25552 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25560 for ac_header
in sched.h
25562 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25563 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25564 echo "$as_me:$LINENO: checking for $ac_header" >&5
25565 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25566 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25567 echo $ECHO_N "(cached) $ECHO_C" >&6
25569 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
25570 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25572 # Is the header compilable?
25573 echo "$as_me:$LINENO: checking $ac_header usability" >&5
25574 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
25575 cat >conftest.
$ac_ext <<_ACEOF
25576 #line $LINENO "configure"
25577 #include "confdefs.h"
25578 $ac_includes_default
25579 #include <$ac_header>
25581 rm -f conftest.
$ac_objext
25582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25583 (eval $ac_compile) 2>&5
25585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25586 (exit $ac_status); } &&
25587 { ac_try
='test -s conftest.$ac_objext'
25588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25589 (eval $ac_try) 2>&5
25591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25592 (exit $ac_status); }; }; then
25593 ac_header_compiler
=yes
25595 echo "$as_me: failed program was:" >&5
25596 cat conftest.
$ac_ext >&5
25597 ac_header_compiler
=no
25599 rm -f conftest.
$ac_objext conftest.
$ac_ext
25600 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25601 echo "${ECHO_T}$ac_header_compiler" >&6
25603 # Is the header present?
25604 echo "$as_me:$LINENO: checking $ac_header presence" >&5
25605 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
25606 cat >conftest.
$ac_ext <<_ACEOF
25607 #line $LINENO "configure"
25608 #include "confdefs.h"
25609 #include <$ac_header>
25611 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25612 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25614 egrep -v '^ *\+' conftest.er1
>conftest.err
25616 cat conftest.err
>&5
25617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25618 (exit $ac_status); } >/dev
/null
; then
25619 if test -s conftest.err
; then
25620 ac_cpp_err
=$ac_c_preproc_warn_flag
25627 if test -z "$ac_cpp_err"; then
25628 ac_header_preproc
=yes
25630 echo "$as_me: failed program was:" >&5
25631 cat conftest.
$ac_ext >&5
25632 ac_header_preproc
=no
25634 rm -f conftest.err conftest.
$ac_ext
25635 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25636 echo "${ECHO_T}$ac_header_preproc" >&6
25638 # So? What about this header?
25639 case $ac_header_compiler:$ac_header_preproc in
25641 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
25642 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
25643 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
25644 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
25646 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
25647 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
25648 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
25649 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
25650 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
25651 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
25653 echo "$as_me:$LINENO: checking for $ac_header" >&5
25654 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25655 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25656 echo $ECHO_N "(cached) $ECHO_C" >&6
25658 eval "$as_ac_Header=$ac_header_preproc"
25660 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
25661 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25664 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25665 cat >>confdefs.h
<<_ACEOF
25666 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25673 if test "$ac_cv_header_sched_h" = "yes"; then
25674 echo "$as_me:$LINENO: checking for sched_yield" >&5
25675 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
25676 if test "${ac_cv_func_sched_yield+set}" = set; then
25677 echo $ECHO_N "(cached) $ECHO_C" >&6
25679 cat >conftest.
$ac_ext <<_ACEOF
25680 #line $LINENO "configure"
25681 #include "confdefs.h"
25682 /* System header to define __stub macros and hopefully few prototypes,
25683 which can conflict with char sched_yield (); below. */
25684 #include <assert.h>
25685 /* Override any gcc2 internal prototype to avoid an error. */
25689 /* We use char because int might match the return type of a gcc2
25690 builtin and then its argument prototype would still apply. */
25691 char sched_yield ();
25694 #ifdef F77_DUMMY_MAIN
25695 # ifdef __cplusplus
25698 int F77_DUMMY_MAIN() { return 1; }
25703 /* The GNU C library defines this for functions which it implements
25704 to always fail with ENOSYS. Some functions are actually named
25705 something starting with __ and the normal name is an alias. */
25706 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
25716 rm -f conftest.
$ac_objext conftest
$ac_exeext
25717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25718 (eval $ac_link) 2>&5
25720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25721 (exit $ac_status); } &&
25722 { ac_try
='test -s conftest$ac_exeext'
25723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25724 (eval $ac_try) 2>&5
25726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25727 (exit $ac_status); }; }; then
25728 ac_cv_func_sched_yield
=yes
25730 echo "$as_me: failed program was:" >&5
25731 cat conftest.
$ac_ext >&5
25732 ac_cv_func_sched_yield
=no
25734 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25736 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
25737 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
25738 if test $ac_cv_func_sched_yield = yes; then
25739 cat >>confdefs.h
<<\_ACEOF
25740 #define HAVE_SCHED_YIELD 1
25745 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
25746 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
25747 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
25748 echo $ECHO_N "(cached) $ECHO_C" >&6
25750 ac_check_lib_save_LIBS
=$LIBS
25751 LIBS
="-lposix4 $LIBS"
25752 cat >conftest.
$ac_ext <<_ACEOF
25753 #line $LINENO "configure"
25754 #include "confdefs.h"
25756 /* Override any gcc2 internal prototype to avoid an error. */
25760 /* We use char because int might match the return type of a gcc2
25761 builtin and then its argument prototype would still apply. */
25762 char sched_yield ();
25763 #ifdef F77_DUMMY_MAIN
25764 # ifdef __cplusplus
25767 int F77_DUMMY_MAIN() { return 1; }
25777 rm -f conftest.
$ac_objext conftest
$ac_exeext
25778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25779 (eval $ac_link) 2>&5
25781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25782 (exit $ac_status); } &&
25783 { ac_try
='test -s conftest$ac_exeext'
25784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25785 (eval $ac_try) 2>&5
25787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25788 (exit $ac_status); }; }; then
25789 ac_cv_lib_posix4_sched_yield
=yes
25791 echo "$as_me: failed program was:" >&5
25792 cat conftest.
$ac_ext >&5
25793 ac_cv_lib_posix4_sched_yield
=no
25795 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25796 LIBS
=$ac_check_lib_save_LIBS
25798 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
25799 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
25800 if test $ac_cv_lib_posix4_sched_yield = yes; then
25801 cat >>confdefs.h
<<\_ACEOF
25802 #define HAVE_SCHED_YIELD 1
25804 POSIX4_LINK
=" -lposix4"
25806 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
25807 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
25818 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
25819 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
25820 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
25821 echo $ECHO_N "(cached) $ECHO_C" >&6
25823 cat >conftest.
$ac_ext <<_ACEOF
25824 #line $LINENO "configure"
25825 #include "confdefs.h"
25826 /* System header to define __stub macros and hopefully few prototypes,
25827 which can conflict with char pthread_attr_getschedpolicy (); below. */
25828 #include <assert.h>
25829 /* Override any gcc2 internal prototype to avoid an error. */
25833 /* We use char because int might match the return type of a gcc2
25834 builtin and then its argument prototype would still apply. */
25835 char pthread_attr_getschedpolicy ();
25838 #ifdef F77_DUMMY_MAIN
25839 # ifdef __cplusplus
25842 int F77_DUMMY_MAIN() { return 1; }
25847 /* The GNU C library defines this for functions which it implements
25848 to always fail with ENOSYS. Some functions are actually named
25849 something starting with __ and the normal name is an alias. */
25850 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
25853 f = pthread_attr_getschedpolicy;
25860 rm -f conftest.
$ac_objext conftest
$ac_exeext
25861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25862 (eval $ac_link) 2>&5
25864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25865 (exit $ac_status); } &&
25866 { ac_try
='test -s conftest$ac_exeext'
25867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25868 (eval $ac_try) 2>&5
25870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25871 (exit $ac_status); }; }; then
25872 ac_cv_func_pthread_attr_getschedpolicy
=yes
25874 echo "$as_me: failed program was:" >&5
25875 cat conftest.
$ac_ext >&5
25876 ac_cv_func_pthread_attr_getschedpolicy
=no
25878 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25880 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
25881 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
25882 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
25883 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
25884 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
25885 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
25886 echo $ECHO_N "(cached) $ECHO_C" >&6
25888 cat >conftest.
$ac_ext <<_ACEOF
25889 #line $LINENO "configure"
25890 #include "confdefs.h"
25891 /* System header to define __stub macros and hopefully few prototypes
25893 which can conflict with char pthread_attr_setschedparam (); below. */
25894 #include <assert.h>
25895 /* Override any gcc2 internal prototype to avoid an error. */
25899 /* We use char because int might match the return type of a gcc2
25900 builtin and then its argument prototype would still apply. */
25901 char pthread_attr_setschedparam ();
25904 #ifdef F77_DUMMY_MAIN
25905 # ifdef __cplusplus
25908 int F77_DUMMY_MAIN() { return 1; }
25913 /* The GNU C library defines this for functions which it implements
25914 to always fail with ENOSYS. Some functions are actually named
25915 something starting with __ and the normal name is an alias. */
25916 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
25919 f = pthread_attr_setschedparam;
25926 rm -f conftest.
$ac_objext conftest
$ac_exeext
25927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25928 (eval $ac_link) 2>&5
25930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25931 (exit $ac_status); } &&
25932 { ac_try
='test -s conftest$ac_exeext'
25933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25934 (eval $ac_try) 2>&5
25936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25937 (exit $ac_status); }; }; then
25938 ac_cv_func_pthread_attr_setschedparam
=yes
25940 echo "$as_me: failed program was:" >&5
25941 cat conftest.
$ac_ext >&5
25942 ac_cv_func_pthread_attr_setschedparam
=no
25944 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25946 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
25947 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
25948 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
25949 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
25950 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
25951 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
25952 echo $ECHO_N "(cached) $ECHO_C" >&6
25954 cat >conftest.
$ac_ext <<_ACEOF
25955 #line $LINENO "configure"
25956 #include "confdefs.h"
25957 /* System header to define __stub macros and hopefully few prototypes
25959 which can conflict with char sched_get_priority_max (); below. */
25960 #include <assert.h>
25961 /* Override any gcc2 internal prototype to avoid an error. */
25965 /* We use char because int might match the return type of a gcc2
25966 builtin and then its argument prototype would still apply. */
25967 char sched_get_priority_max ();
25970 #ifdef F77_DUMMY_MAIN
25971 # ifdef __cplusplus
25974 int F77_DUMMY_MAIN() { return 1; }
25979 /* The GNU C library defines this for functions which it implements
25980 to always fail with ENOSYS. Some functions are actually named
25981 something starting with __ and the normal name is an alias. */
25982 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
25985 f = sched_get_priority_max;
25992 rm -f conftest.
$ac_objext conftest
$ac_exeext
25993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25994 (eval $ac_link) 2>&5
25996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25997 (exit $ac_status); } &&
25998 { ac_try
='test -s conftest$ac_exeext'
25999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26000 (eval $ac_try) 2>&5
26002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26003 (exit $ac_status); }; }; then
26004 ac_cv_func_sched_get_priority_max
=yes
26006 echo "$as_me: failed program was:" >&5
26007 cat conftest.
$ac_ext >&5
26008 ac_cv_func_sched_get_priority_max
=no
26010 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26012 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
26013 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
26014 if test $ac_cv_func_sched_get_priority_max = yes; then
26017 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
26018 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
26019 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
26020 echo $ECHO_N "(cached) $ECHO_C" >&6
26022 ac_check_lib_save_LIBS
=$LIBS
26023 LIBS
="-lposix4 $LIBS"
26024 cat >conftest.
$ac_ext <<_ACEOF
26025 #line $LINENO "configure"
26026 #include "confdefs.h"
26028 /* Override any gcc2 internal prototype to avoid an error. */
26032 /* We use char because int might match the return type of a gcc2
26033 builtin and then its argument prototype would still apply. */
26034 char sched_get_priority_max ();
26035 #ifdef F77_DUMMY_MAIN
26036 # ifdef __cplusplus
26039 int F77_DUMMY_MAIN() { return 1; }
26044 sched_get_priority_max ();
26049 rm -f conftest.
$ac_objext conftest
$ac_exeext
26050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26051 (eval $ac_link) 2>&5
26053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26054 (exit $ac_status); } &&
26055 { ac_try
='test -s conftest$ac_exeext'
26056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26057 (eval $ac_try) 2>&5
26059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26060 (exit $ac_status); }; }; then
26061 ac_cv_lib_posix4_sched_get_priority_max
=yes
26063 echo "$as_me: failed program was:" >&5
26064 cat conftest.
$ac_ext >&5
26065 ac_cv_lib_posix4_sched_get_priority_max
=no
26067 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26068 LIBS
=$ac_check_lib_save_LIBS
26070 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
26071 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
26072 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
26075 POSIX4_LINK
=" -lposix4"
26089 if test "$HAVE_PRIOR_FUNCS" = 1; then
26090 cat >>confdefs.h
<<\_ACEOF
26091 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
26095 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
26096 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
26099 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
26100 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
26101 if test "${ac_cv_func_pthread_cancel+set}" = set; then
26102 echo $ECHO_N "(cached) $ECHO_C" >&6
26104 cat >conftest.
$ac_ext <<_ACEOF
26105 #line $LINENO "configure"
26106 #include "confdefs.h"
26107 /* System header to define __stub macros and hopefully few prototypes,
26108 which can conflict with char pthread_cancel (); below. */
26109 #include <assert.h>
26110 /* Override any gcc2 internal prototype to avoid an error. */
26114 /* We use char because int might match the return type of a gcc2
26115 builtin and then its argument prototype would still apply. */
26116 char pthread_cancel ();
26119 #ifdef F77_DUMMY_MAIN
26120 # ifdef __cplusplus
26123 int F77_DUMMY_MAIN() { return 1; }
26128 /* The GNU C library defines this for functions which it implements
26129 to always fail with ENOSYS. Some functions are actually named
26130 something starting with __ and the normal name is an alias. */
26131 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
26134 f = pthread_cancel;
26141 rm -f conftest.
$ac_objext conftest
$ac_exeext
26142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26143 (eval $ac_link) 2>&5
26145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26146 (exit $ac_status); } &&
26147 { ac_try
='test -s conftest$ac_exeext'
26148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26149 (eval $ac_try) 2>&5
26151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26152 (exit $ac_status); }; }; then
26153 ac_cv_func_pthread_cancel
=yes
26155 echo "$as_me: failed program was:" >&5
26156 cat conftest.
$ac_ext >&5
26157 ac_cv_func_pthread_cancel
=no
26159 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26161 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
26162 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
26163 if test $ac_cv_func_pthread_cancel = yes; then
26164 cat >>confdefs.h
<<\_ACEOF
26165 #define HAVE_PTHREAD_CANCEL 1
26169 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
26170 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
26174 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
26175 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
26176 if test "${wx_cv_func_pthread_cleanup_push+set}" = set; then
26177 echo $ECHO_N "(cached) $ECHO_C" >&6
26180 cat >conftest.
$ac_ext <<_ACEOF
26181 #line $LINENO "configure"
26182 #include "confdefs.h"
26183 #include <pthread.h>
26184 #ifdef F77_DUMMY_MAIN
26185 # ifdef __cplusplus
26188 int F77_DUMMY_MAIN() { return 1; }
26194 pthread_cleanup_push(NULL, NULL);
26195 pthread_cleanup_pop(0);
26201 rm -f conftest.
$ac_objext
26202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26203 (eval $ac_compile) 2>&5
26205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26206 (exit $ac_status); } &&
26207 { ac_try
='test -s conftest.$ac_objext'
26208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26209 (eval $ac_try) 2>&5
26211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26212 (exit $ac_status); }; }; then
26214 wx_cv_func_pthread_cleanup_push
=yes
26217 echo "$as_me: failed program was:" >&5
26218 cat conftest.
$ac_ext >&5
26220 wx_cv_func_pthread_cleanup_push
=no
26223 rm -f conftest.
$ac_objext conftest.
$ac_ext
26226 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup_push" >&5
26227 echo "${ECHO_T}$wx_cv_func_pthread_cleanup_push" >&6
26229 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
26230 cat >>confdefs.h
<<\_ACEOF
26231 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
26237 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
26238 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
26239 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
26240 echo $ECHO_N "(cached) $ECHO_C" >&6
26243 cat >conftest.
$ac_ext <<_ACEOF
26244 #line $LINENO "configure"
26245 #include "confdefs.h"
26246 #include <pthread.h>
26247 #ifdef F77_DUMMY_MAIN
26248 # ifdef __cplusplus
26251 int F77_DUMMY_MAIN() { return 1; }
26257 pthread_mutexattr_t attr;
26258 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
26264 rm -f conftest.
$ac_objext
26265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26266 (eval $ac_compile) 2>&5
26268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26269 (exit $ac_status); } &&
26270 { ac_try
='test -s conftest.$ac_objext'
26271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26272 (eval $ac_try) 2>&5
26274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26275 (exit $ac_status); }; }; then
26277 wx_cv_type_pthread_mutexattr_t
=yes
26280 echo "$as_me: failed program was:" >&5
26281 cat conftest.
$ac_ext >&5
26283 wx_cv_type_pthread_mutexattr_t
=no
26287 rm -f conftest.
$ac_objext conftest.
$ac_ext
26290 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
26291 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
26293 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
26294 cat >>confdefs.h
<<\_ACEOF
26295 #define HAVE_PTHREAD_MUTEXATTR_T 1
26299 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
26300 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
26301 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
26302 echo $ECHO_N "(cached) $ECHO_C" >&6
26305 cat >conftest.
$ac_ext <<_ACEOF
26306 #line $LINENO "configure"
26307 #include "confdefs.h"
26308 #include <pthread.h>
26309 #ifdef F77_DUMMY_MAIN
26310 # ifdef __cplusplus
26313 int F77_DUMMY_MAIN() { return 1; }
26319 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
26325 rm -f conftest.
$ac_objext
26326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26327 (eval $ac_compile) 2>&5
26329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26330 (exit $ac_status); } &&
26331 { ac_try
='test -s conftest.$ac_objext'
26332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26333 (eval $ac_try) 2>&5
26335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26336 (exit $ac_status); }; }; then
26338 wx_cv_type_pthread_rec_mutex_init
=yes
26341 echo "$as_me: failed program was:" >&5
26342 cat conftest.
$ac_ext >&5
26344 wx_cv_type_pthread_rec_mutex_init
=no
26348 rm -f conftest.
$ac_objext conftest.
$ac_ext
26351 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
26352 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
26353 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
26354 cat >>confdefs.h
<<\_ACEOF
26355 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
26359 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
26360 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
26367 if test "$wxUSE_THREADS" = "yes"; then
26368 cat >>confdefs.h
<<\_ACEOF
26369 #define wxUSE_THREADS 1
26373 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
26375 if test "$ac_cv_func_strtok_r" = "yes"; then
26376 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
26377 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
26378 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
26379 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
26380 echo "$as_me:$LINENO: result: yes" >&5
26381 echo "${ECHO_T}yes" >&6
26383 echo "$as_me:$LINENO: result: no" >&5
26384 echo "${ECHO_T}no" >&6
26389 if test "$WXGTK20" = 1 ; then
26390 cat >>confdefs.h
<<_ACEOF
26391 #define __WXGTK20__ $WXGTK20
26397 if test "$WXGTK12" = 1 ; then
26398 cat >>confdefs.h
<<_ACEOF
26399 #define __WXGTK12__ $WXGTK12
26404 if test "$WXGTK127" = 1 ; then
26405 cat >>confdefs.h
<<_ACEOF
26406 #define __WXGTK127__ $WXGTK127
26413 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
26418 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
26419 wxUSE_DEBUG_INFO
=yes
26423 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
26424 cat >>confdefs.h
<<\_ACEOF
26428 WXDEBUG_DEFINE
="-D__WXDEBUG__"
26430 if test "$wxUSE_GTK" = 1 ; then
26431 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
26435 if test "$wxUSE_MEM_TRACING" = "yes" ; then
26436 cat >>confdefs.h
<<\_ACEOF
26437 #define wxUSE_MEMORY_TRACING 1
26440 cat >>confdefs.h
<<\_ACEOF
26441 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
26444 cat >>confdefs.h
<<\_ACEOF
26445 #define wxUSE_DEBUG_NEW_ALWAYS 1
26448 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
26451 if test "$wxUSE_DMALLOC" = "yes" ; then
26452 DMALLOC_LIBS
="-ldmalloc"
26456 if test "$wxUSE_PROFILE" = "yes" ; then
26461 CODE_GEN_FLAGS_CXX
=
26462 if test "$GCC" = "yes" ; then
26463 if test "$wxUSE_NO_RTTI" = "yes" ; then
26464 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
26466 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
26467 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
26469 if test "$wxUSE_PERMISSIVE" = "yes" ; then
26470 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
26472 if test "$USE_WIN32" = 1 ; then
26473 # I'm not even really sure what this was ever added to solve,
26474 # but someone added it for mingw native builds, so I guess
26475 # they had a reason, right??
26476 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-pcc-struct-return"
26481 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
26486 if test "$wxUSE_OPTIMISE" = "no" ; then
26489 if test "$GCC" = yes ; then
26492 i586
-*-*|i686
-*-* )
26493 OPTIMISE
="${OPTIMISE} "
26501 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
26502 cat >>confdefs.h
<<\_ACEOF
26503 #define WXWIN_COMPATIBILITY_2 1
26507 WXWIN_COMPATIBILITY_2_2
="yes"
26510 if test "x$WXWIN_COMPATIBILITY_2_2" != "xno"; then
26511 cat >>confdefs.h
<<\_ACEOF
26512 #define WXWIN_COMPATIBILITY_2_2 1
26518 if test "$wxUSE_GUI" = "yes"; then
26519 cat >>confdefs.h
<<\_ACEOF
26520 #define wxUSE_GUI 1
26525 cat >>confdefs.h
<<\_ACEOF
26526 #define wxUSE_NOGUI 1
26532 if test "$wxUSE_UNIX" = "yes"; then
26533 cat >>confdefs.h
<<\_ACEOF
26534 #define wxUSE_UNIX 1
26540 if test "$wxUSE_APPLE_IEEE" = "yes"; then
26541 cat >>confdefs.h
<<\_ACEOF
26542 #define wxUSE_APPLE_IEEE 1
26547 if test "$wxUSE_TIMER" = "yes"; then
26548 cat >>confdefs.h
<<\_ACEOF
26549 #define wxUSE_TIMER 1
26554 if test "$wxUSE_WAVE" = "yes"; then
26555 cat >>confdefs.h
<<\_ACEOF
26556 #define wxUSE_WAVE 1
26561 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
26562 cat >>confdefs.h
<<\_ACEOF
26563 #define wxUSE_CMDLINE_PARSER 1
26568 if test "$wxUSE_STOPWATCH" = "yes"; then
26569 cat >>confdefs.h
<<\_ACEOF
26570 #define wxUSE_STOPWATCH 1
26575 if test "$wxUSE_DATETIME" = "yes"; then
26576 cat >>confdefs.h
<<\_ACEOF
26577 #define wxUSE_DATETIME 1
26582 if test "$wxUSE_TIMEDATE" = "yes"; then
26583 cat >>confdefs.h
<<\_ACEOF
26584 #define wxUSE_TIMEDATE 1
26589 if test "$wxUSE_FILE" = "yes"; then
26590 cat >>confdefs.h
<<\_ACEOF
26591 #define wxUSE_FILE 1
26596 if test "$wxUSE_FFILE" = "yes"; then
26597 cat >>confdefs.h
<<\_ACEOF
26598 #define wxUSE_FFILE 1
26603 if test "$wxUSE_FILESYSTEM" = "yes"; then
26604 cat >>confdefs.h
<<\_ACEOF
26605 #define wxUSE_FILESYSTEM 1
26610 if test "$wxUSE_FS_INET" = "yes"; then
26611 cat >>confdefs.h
<<\_ACEOF
26612 #define wxUSE_FS_INET 1
26617 if test "$wxUSE_FS_ZIP" = "yes"; then
26618 cat >>confdefs.h
<<\_ACEOF
26619 #define wxUSE_FS_ZIP 1
26624 if test "$wxUSE_ZIPSTREAM" = "yes"; then
26625 cat >>confdefs.h
<<\_ACEOF
26626 #define wxUSE_ZIPSTREAM 1
26631 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
26632 cat >>confdefs.h
<<\_ACEOF
26633 #define wxUSE_ON_FATAL_EXCEPTION 1
26638 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
26639 cat >>confdefs.h
<<\_ACEOF
26640 #define wxUSE_SNGLINST_CHECKER 1
26645 if test "$wxUSE_BUSYINFO" = "yes"; then
26646 cat >>confdefs.h
<<\_ACEOF
26647 #define wxUSE_BUSYINFO 1
26652 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
26653 cat >>confdefs.h
<<\_ACEOF
26654 #define wxUSE_STD_IOSTREAM 1
26659 if test "$wxUSE_TEXTBUFFER" = "yes"; then
26660 cat >>confdefs.h
<<\_ACEOF
26661 #define wxUSE_TEXTBUFFER 1
26666 if test "$wxUSE_TEXTFILE" = "yes"; then
26667 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
26668 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
26669 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
26671 cat >>confdefs.h
<<\_ACEOF
26672 #define wxUSE_TEXTFILE 1
26678 if test "$wxUSE_CONFIG" = "yes" ; then
26679 if test "$wxUSE_TEXTFILE" != "yes"; then
26680 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
26681 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
26683 cat >>confdefs.h
<<\_ACEOF
26684 #define wxUSE_CONFIG 1
26687 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
26691 if test "$wxUSE_INTL" = "yes" ; then
26692 if test "$wxUSE_FILE" != "yes"; then
26693 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
26694 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
26696 cat >>confdefs.h
<<\_ACEOF
26697 #define wxUSE_INTL 1
26700 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
26701 GUIDIST
="$GUIDIST INTL_DIST"
26705 if test "$wxUSE_LOG" = "yes"; then
26706 cat >>confdefs.h
<<\_ACEOF
26707 #define wxUSE_LOG 1
26711 if test "$wxUSE_LOGGUI" = "yes"; then
26712 cat >>confdefs.h
<<\_ACEOF
26713 #define wxUSE_LOGGUI 1
26718 if test "$wxUSE_LOGWINDOW" = "yes"; then
26719 cat >>confdefs.h
<<\_ACEOF
26720 #define wxUSE_LOGWINDOW 1
26725 if test "$wxUSE_LOGDIALOG" = "yes"; then
26726 cat >>confdefs.h
<<\_ACEOF
26727 #define wxUSE_LOG_DIALOG 1
26733 if test "$wxUSE_LONGLONG" = "yes"; then
26734 cat >>confdefs.h
<<\_ACEOF
26735 #define wxUSE_LONGLONG 1
26740 if test "$wxUSE_GEOMETRY" = "yes"; then
26741 cat >>confdefs.h
<<\_ACEOF
26742 #define wxUSE_GEOMETRY 1
26747 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
26748 cat >>confdefs.h
<<\_ACEOF
26749 #define wxUSE_DIALUP_MANAGER 1
26752 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
26755 if test "$wxUSE_STREAMS" = "yes" ; then
26756 cat >>confdefs.h
<<\_ACEOF
26757 #define wxUSE_STREAMS 1
26763 if test "$wxUSE_DATETIME" = "yes"; then
26765 for ac_func
in strptime
26767 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26768 echo "$as_me:$LINENO: checking for $ac_func" >&5
26769 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26770 if eval "test \"\${$as_ac_var+set}\" = set"; then
26771 echo $ECHO_N "(cached) $ECHO_C" >&6
26773 cat >conftest.
$ac_ext <<_ACEOF
26774 #line $LINENO "configure"
26775 #include "confdefs.h"
26776 /* System header to define __stub macros and hopefully few prototypes,
26777 which can conflict with char $ac_func (); below. */
26778 #include <assert.h>
26779 /* Override any gcc2 internal prototype to avoid an error. */
26783 /* We use char because int might match the return type of a gcc2
26784 builtin and then its argument prototype would still apply. */
26788 #ifdef F77_DUMMY_MAIN
26789 # ifdef __cplusplus
26792 int F77_DUMMY_MAIN() { return 1; }
26797 /* The GNU C library defines this for functions which it implements
26798 to always fail with ENOSYS. Some functions are actually named
26799 something starting with __ and the normal name is an alias. */
26800 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26810 rm -f conftest.
$ac_objext conftest
$ac_exeext
26811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26812 (eval $ac_link) 2>&5
26814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26815 (exit $ac_status); } &&
26816 { ac_try
='test -s conftest$ac_exeext'
26817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26818 (eval $ac_try) 2>&5
26820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26821 (exit $ac_status); }; }; then
26822 eval "$as_ac_var=yes"
26824 echo "$as_me: failed program was:" >&5
26825 cat conftest.
$ac_ext >&5
26826 eval "$as_ac_var=no"
26828 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26830 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26831 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26832 if test `eval echo '${'$as_ac_var'}'` = yes; then
26833 cat >>confdefs.h
<<_ACEOF
26834 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26841 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
26842 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
26843 if test "${wx_cv_var_timezone+set}" = set; then
26844 echo $ECHO_N "(cached) $ECHO_C" >&6
26847 cat >conftest.
$ac_ext <<_ACEOF
26848 #line $LINENO "configure"
26849 #include "confdefs.h"
26853 #ifdef F77_DUMMY_MAIN
26854 # ifdef __cplusplus
26857 int F77_DUMMY_MAIN() { return 1; }
26870 rm -f conftest.
$ac_objext
26871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26872 (eval $ac_compile) 2>&5
26874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26875 (exit $ac_status); } &&
26876 { ac_try
='test -s conftest.$ac_objext'
26877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26878 (eval $ac_try) 2>&5
26880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26881 (exit $ac_status); }; }; then
26883 wx_cv_var_timezone
=timezone
26886 echo "$as_me: failed program was:" >&5
26887 cat conftest.
$ac_ext >&5
26889 cat >conftest.
$ac_ext <<_ACEOF
26890 #line $LINENO "configure"
26891 #include "confdefs.h"
26895 #ifdef F77_DUMMY_MAIN
26896 # ifdef __cplusplus
26899 int F77_DUMMY_MAIN() { return 1; }
26912 rm -f conftest.
$ac_objext
26913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26914 (eval $ac_compile) 2>&5
26916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26917 (exit $ac_status); } &&
26918 { ac_try
='test -s conftest.$ac_objext'
26919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26920 (eval $ac_try) 2>&5
26922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26923 (exit $ac_status); }; }; then
26925 wx_cv_var_timezone
=_timezone
26928 echo "$as_me: failed program was:" >&5
26929 cat conftest.
$ac_ext >&5
26931 cat >conftest.
$ac_ext <<_ACEOF
26932 #line $LINENO "configure"
26933 #include "confdefs.h"
26937 #ifdef F77_DUMMY_MAIN
26938 # ifdef __cplusplus
26941 int F77_DUMMY_MAIN() { return 1; }
26954 rm -f conftest.
$ac_objext
26955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26956 (eval $ac_compile) 2>&5
26958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26959 (exit $ac_status); } &&
26960 { ac_try
='test -s conftest.$ac_objext'
26961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26962 (eval $ac_try) 2>&5
26964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26965 (exit $ac_status); }; }; then
26967 wx_cv_var_timezone
=__timezone
26970 echo "$as_me: failed program was:" >&5
26971 cat conftest.
$ac_ext >&5
26973 if test "$USE_DOS" = 0 ; then
26974 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
26975 echo "$as_me: WARNING: no timezone variable" >&2;}
26980 rm -f conftest.
$ac_objext conftest.
$ac_ext
26984 rm -f conftest.
$ac_objext conftest.
$ac_ext
26988 rm -f conftest.
$ac_objext conftest.
$ac_ext
26992 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
26993 echo "${ECHO_T}$wx_cv_var_timezone" >&6
26995 if test "x$wx_cv_var_timezone" != x
; then
26996 cat >>confdefs.h
<<_ACEOF
26997 #define WX_TIMEZONE $wx_cv_var_timezone
27003 for ac_func
in localtime
27005 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27006 echo "$as_me:$LINENO: checking for $ac_func" >&5
27007 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27008 if eval "test \"\${$as_ac_var+set}\" = set"; then
27009 echo $ECHO_N "(cached) $ECHO_C" >&6
27011 cat >conftest.
$ac_ext <<_ACEOF
27012 #line $LINENO "configure"
27013 #include "confdefs.h"
27014 /* System header to define __stub macros and hopefully few prototypes,
27015 which can conflict with char $ac_func (); below. */
27016 #include <assert.h>
27017 /* Override any gcc2 internal prototype to avoid an error. */
27021 /* We use char because int might match the return type of a gcc2
27022 builtin and then its argument prototype would still apply. */
27026 #ifdef F77_DUMMY_MAIN
27027 # ifdef __cplusplus
27030 int F77_DUMMY_MAIN() { return 1; }
27035 /* The GNU C library defines this for functions which it implements
27036 to always fail with ENOSYS. Some functions are actually named
27037 something starting with __ and the normal name is an alias. */
27038 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27048 rm -f conftest.
$ac_objext conftest
$ac_exeext
27049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27050 (eval $ac_link) 2>&5
27052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27053 (exit $ac_status); } &&
27054 { ac_try
='test -s conftest$ac_exeext'
27055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27056 (eval $ac_try) 2>&5
27058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27059 (exit $ac_status); }; }; then
27060 eval "$as_ac_var=yes"
27062 echo "$as_me: failed program was:" >&5
27063 cat conftest.
$ac_ext >&5
27064 eval "$as_ac_var=no"
27066 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27069 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27070 if test `eval echo '${'$as_ac_var'}'` = yes; then
27071 cat >>confdefs.h
<<_ACEOF
27072 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27079 if test "$ac_cv_func_localtime" = "yes"; then
27080 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
27081 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
27082 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
27083 echo $ECHO_N "(cached) $ECHO_C" >&6
27086 cat >conftest.
$ac_ext <<_ACEOF
27087 #line $LINENO "configure"
27088 #include "confdefs.h"
27092 #ifdef F77_DUMMY_MAIN
27093 # ifdef __cplusplus
27096 int F77_DUMMY_MAIN() { return 1; }
27109 rm -f conftest.
$ac_objext
27110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27111 (eval $ac_compile) 2>&5
27113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27114 (exit $ac_status); } &&
27115 { ac_try
='test -s conftest.$ac_objext'
27116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27117 (eval $ac_try) 2>&5
27119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27120 (exit $ac_status); }; }; then
27122 wx_cv_struct_tm_has_gmtoff
=yes
27125 echo "$as_me: failed program was:" >&5
27126 cat conftest.
$ac_ext >&5
27127 wx_cv_struct_tm_has_gmtoff
=no
27130 rm -f conftest.
$ac_objext conftest.
$ac_ext
27133 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
27134 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
27137 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
27138 cat >>confdefs.h
<<\_ACEOF
27139 #define WX_GMTOFF_IN_TM 1
27146 for ac_func
in gettimeofday ftime
27148 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27149 echo "$as_me:$LINENO: checking for $ac_func" >&5
27150 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27151 if eval "test \"\${$as_ac_var+set}\" = set"; then
27152 echo $ECHO_N "(cached) $ECHO_C" >&6
27154 cat >conftest.
$ac_ext <<_ACEOF
27155 #line $LINENO "configure"
27156 #include "confdefs.h"
27157 /* System header to define __stub macros and hopefully few prototypes,
27158 which can conflict with char $ac_func (); below. */
27159 #include <assert.h>
27160 /* Override any gcc2 internal prototype to avoid an error. */
27164 /* We use char because int might match the return type of a gcc2
27165 builtin and then its argument prototype would still apply. */
27169 #ifdef F77_DUMMY_MAIN
27170 # ifdef __cplusplus
27173 int F77_DUMMY_MAIN() { return 1; }
27178 /* The GNU C library defines this for functions which it implements
27179 to always fail with ENOSYS. Some functions are actually named
27180 something starting with __ and the normal name is an alias. */
27181 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27191 rm -f conftest.
$ac_objext conftest
$ac_exeext
27192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27193 (eval $ac_link) 2>&5
27195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27196 (exit $ac_status); } &&
27197 { ac_try
='test -s conftest$ac_exeext'
27198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27199 (eval $ac_try) 2>&5
27201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27202 (exit $ac_status); }; }; then
27203 eval "$as_ac_var=yes"
27205 echo "$as_me: failed program was:" >&5
27206 cat conftest.
$ac_ext >&5
27207 eval "$as_ac_var=no"
27209 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27212 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27213 if test `eval echo '${'$as_ac_var'}'` = yes; then
27214 cat >>confdefs.h
<<_ACEOF
27215 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27222 if test "$ac_cv_func_gettimeofday" = "yes"; then
27223 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
27224 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
27225 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
27226 echo $ECHO_N "(cached) $ECHO_C" >&6
27232 ac_cpp
='$CXXCPP $CPPFLAGS'
27233 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27234 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27235 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27238 cat >conftest.
$ac_ext <<_ACEOF
27239 #line $LINENO "configure"
27240 #include "confdefs.h"
27242 #include <sys/time.h>
27243 #include <unistd.h>
27245 #ifdef F77_DUMMY_MAIN
27246 # ifdef __cplusplus
27249 int F77_DUMMY_MAIN() { return 1; }
27256 gettimeofday(&tv, NULL);
27262 rm -f conftest.
$ac_objext
27263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27264 (eval $ac_compile) 2>&5
27266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27267 (exit $ac_status); } &&
27268 { ac_try
='test -s conftest.$ac_objext'
27269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27270 (eval $ac_try) 2>&5
27272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27273 (exit $ac_status); }; }; then
27274 wx_cv_func_gettimeofday_has_2_args
=yes
27276 echo "$as_me: failed program was:" >&5
27277 cat conftest.
$ac_ext >&5
27278 cat >conftest.
$ac_ext <<_ACEOF
27279 #line $LINENO "configure"
27280 #include "confdefs.h"
27282 #include <sys/time.h>
27283 #include <unistd.h>
27285 #ifdef F77_DUMMY_MAIN
27286 # ifdef __cplusplus
27289 int F77_DUMMY_MAIN() { return 1; }
27302 rm -f conftest.
$ac_objext
27303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27304 (eval $ac_compile) 2>&5
27306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27307 (exit $ac_status); } &&
27308 { ac_try
='test -s conftest.$ac_objext'
27309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27310 (eval $ac_try) 2>&5
27312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27313 (exit $ac_status); }; }; then
27314 wx_cv_func_gettimeofday_has_2_args
=no
27316 echo "$as_me: failed program was:" >&5
27317 cat conftest.
$ac_ext >&5
27319 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
27320 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
27321 wx_cv_func_gettimeofday_has_2_args
=unknown
27325 rm -f conftest.
$ac_objext conftest.
$ac_ext
27328 rm -f conftest.
$ac_objext conftest.
$ac_ext
27330 ac_cpp
='$CPP $CPPFLAGS'
27331 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27332 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27333 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27337 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
27338 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
27340 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
27341 cat >>confdefs.h
<<\_ACEOF
27342 #define WX_GETTIMEOFDAY_NO_TZ 1
27348 cat >>confdefs.h
<<\_ACEOF
27349 #define wxUSE_TIMEDATE 1
27352 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
27356 if test "$wxUSE_SOCKETS" = "yes"; then
27357 if test "$wxUSE_MGL" = "1"; then
27358 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
27359 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
27364 if test "$wxUSE_SOCKETS" = "yes"; then
27365 if test "$TOOLKIT" != "MSW"; then
27366 echo "$as_me:$LINENO: checking for socket" >&5
27367 echo $ECHO_N "checking for socket... $ECHO_C" >&6
27368 if test "${ac_cv_func_socket+set}" = set; then
27369 echo $ECHO_N "(cached) $ECHO_C" >&6
27371 cat >conftest.
$ac_ext <<_ACEOF
27372 #line $LINENO "configure"
27373 #include "confdefs.h"
27374 /* System header to define __stub macros and hopefully few prototypes,
27375 which can conflict with char socket (); below. */
27376 #include <assert.h>
27377 /* Override any gcc2 internal prototype to avoid an error. */
27381 /* We use char because int might match the return type of a gcc2
27382 builtin and then its argument prototype would still apply. */
27386 #ifdef F77_DUMMY_MAIN
27387 # ifdef __cplusplus
27390 int F77_DUMMY_MAIN() { return 1; }
27395 /* The GNU C library defines this for functions which it implements
27396 to always fail with ENOSYS. Some functions are actually named
27397 something starting with __ and the normal name is an alias. */
27398 #if defined (__stub_socket) || defined (__stub___socket)
27408 rm -f conftest.
$ac_objext conftest
$ac_exeext
27409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27410 (eval $ac_link) 2>&5
27412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27413 (exit $ac_status); } &&
27414 { ac_try
='test -s conftest$ac_exeext'
27415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27416 (eval $ac_try) 2>&5
27418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27419 (exit $ac_status); }; }; then
27420 ac_cv_func_socket
=yes
27422 echo "$as_me: failed program was:" >&5
27423 cat conftest.
$ac_ext >&5
27424 ac_cv_func_socket
=no
27426 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27428 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
27429 echo "${ECHO_T}$ac_cv_func_socket" >&6
27430 if test $ac_cv_func_socket = yes; then
27433 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
27434 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
27435 if test "${ac_cv_lib_socket_socket+set}" = set; then
27436 echo $ECHO_N "(cached) $ECHO_C" >&6
27438 ac_check_lib_save_LIBS
=$LIBS
27439 LIBS
="-lsocket $LIBS"
27440 cat >conftest.
$ac_ext <<_ACEOF
27441 #line $LINENO "configure"
27442 #include "confdefs.h"
27444 /* Override any gcc2 internal prototype to avoid an error. */
27448 /* We use char because int might match the return type of a gcc2
27449 builtin and then its argument prototype would still apply. */
27451 #ifdef F77_DUMMY_MAIN
27452 # ifdef __cplusplus
27455 int F77_DUMMY_MAIN() { return 1; }
27465 rm -f conftest.
$ac_objext conftest
$ac_exeext
27466 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27467 (eval $ac_link) 2>&5
27469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27470 (exit $ac_status); } &&
27471 { ac_try
='test -s conftest$ac_exeext'
27472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27473 (eval $ac_try) 2>&5
27475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27476 (exit $ac_status); }; }; then
27477 ac_cv_lib_socket_socket
=yes
27479 echo "$as_me: failed program was:" >&5
27480 cat conftest.
$ac_ext >&5
27481 ac_cv_lib_socket_socket
=no
27483 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27484 LIBS
=$ac_check_lib_save_LIBS
27486 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
27487 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
27488 if test $ac_cv_lib_socket_socket = yes; then
27489 if test "$INET_LINK" != " -lsocket"; then
27490 INET_LINK
="$INET_LINK -lsocket"
27494 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
27495 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
27507 if test "$wxUSE_SOCKETS" = "yes" ; then
27508 if test "$TOOLKIT" != "MSW"; then
27509 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
27510 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
27511 if test "${wx_cv_type_getsockname3+set}" = set; then
27512 echo $ECHO_N "(cached) $ECHO_C" >&6
27518 ac_cpp
='$CXXCPP $CPPFLAGS'
27519 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27520 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27521 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27524 cat >conftest.
$ac_ext <<_ACEOF
27525 #line $LINENO "configure"
27526 #include "confdefs.h"
27528 #include <sys/types.h>
27529 #include <sys/socket.h>
27531 #ifdef F77_DUMMY_MAIN
27532 # ifdef __cplusplus
27535 int F77_DUMMY_MAIN() { return 1; }
27542 getsockname(0, 0, &len);
27548 rm -f conftest.
$ac_objext
27549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27550 (eval $ac_compile) 2>&5
27552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27553 (exit $ac_status); } &&
27554 { ac_try
='test -s conftest.$ac_objext'
27555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27556 (eval $ac_try) 2>&5
27558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27559 (exit $ac_status); }; }; then
27560 wx_cv_type_getsockname3
=socklen_t
27562 echo "$as_me: failed program was:" >&5
27563 cat conftest.
$ac_ext >&5
27564 cat >conftest.
$ac_ext <<_ACEOF
27565 #line $LINENO "configure"
27566 #include "confdefs.h"
27568 #include <sys/types.h>
27569 #include <sys/socket.h>
27571 #ifdef F77_DUMMY_MAIN
27572 # ifdef __cplusplus
27575 int F77_DUMMY_MAIN() { return 1; }
27582 getsockname(0, 0, &len);
27588 rm -f conftest.
$ac_objext
27589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27590 (eval $ac_compile) 2>&5
27592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27593 (exit $ac_status); } &&
27594 { ac_try
='test -s conftest.$ac_objext'
27595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27596 (eval $ac_try) 2>&5
27598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27599 (exit $ac_status); }; }; then
27600 wx_cv_type_getsockname3
=size_t
27602 echo "$as_me: failed program was:" >&5
27603 cat conftest.
$ac_ext >&5
27604 cat >conftest.
$ac_ext <<_ACEOF
27605 #line $LINENO "configure"
27606 #include "confdefs.h"
27608 #include <sys/types.h>
27609 #include <sys/socket.h>
27611 #ifdef F77_DUMMY_MAIN
27612 # ifdef __cplusplus
27615 int F77_DUMMY_MAIN() { return 1; }
27622 getsockname(0, 0, &len);
27628 rm -f conftest.
$ac_objext
27629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27630 (eval $ac_compile) 2>&5
27632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27633 (exit $ac_status); } &&
27634 { ac_try
='test -s conftest.$ac_objext'
27635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27636 (eval $ac_try) 2>&5
27638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27639 (exit $ac_status); }; }; then
27640 wx_cv_type_getsockname3
=int
27642 echo "$as_me: failed program was:" >&5
27643 cat conftest.
$ac_ext >&5
27644 wx_cv_type_getsockname3
=unknown
27647 rm -f conftest.
$ac_objext conftest.
$ac_ext
27650 rm -f conftest.
$ac_objext conftest.
$ac_ext
27653 rm -f conftest.
$ac_objext conftest.
$ac_ext
27656 ac_cpp
='$CPP $CPPFLAGS'
27657 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27658 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27659 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27663 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
27664 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
27666 if test "$wx_cv_type_getsockname3" = "unknown"; then
27668 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
27669 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
27671 cat >>confdefs.h
<<_ACEOF
27672 #define SOCKLEN_T $wx_cv_type_getsockname3
27679 if test "$wxUSE_SOCKETS" = "yes" ; then
27680 cat >>confdefs.h
<<\_ACEOF
27681 #define wxUSE_SOCKETS 1
27684 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
27688 if test "$wxUSE_GUI" = "yes"; then
27690 if test "$TOOLKIT" = "MAC"; then
27691 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
27692 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
27695 if test "$TOOLKIT" = "MOTIF"; then
27696 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Motif... disabled" >&5
27697 echo "$as_me: WARNING: Joystick not yet supported under Motif... disabled" >&2;}
27700 if test "$TOOLKIT" = "X11"; then
27701 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under X11... disabled" >&5
27702 echo "$as_me: WARNING: Joystick not yet supported under X11... disabled" >&2;}
27706 if test "$TOOLKIT" != "MSW"; then
27707 if test "$wxUSE_JOYSTICK" = "yes"; then
27709 for ac_header
in linux
/joystick.h
27711 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27712 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27713 echo "$as_me:$LINENO: checking for $ac_header" >&5
27714 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27715 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27716 echo $ECHO_N "(cached) $ECHO_C" >&6
27718 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27719 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27721 # Is the header compilable?
27722 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27723 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27724 cat >conftest.
$ac_ext <<_ACEOF
27725 #line $LINENO "configure"
27726 #include "confdefs.h"
27727 $ac_includes_default
27728 #include <$ac_header>
27730 rm -f conftest.
$ac_objext
27731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27732 (eval $ac_compile) 2>&5
27734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27735 (exit $ac_status); } &&
27736 { ac_try
='test -s conftest.$ac_objext'
27737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27738 (eval $ac_try) 2>&5
27740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27741 (exit $ac_status); }; }; then
27742 ac_header_compiler
=yes
27744 echo "$as_me: failed program was:" >&5
27745 cat conftest.
$ac_ext >&5
27746 ac_header_compiler
=no
27748 rm -f conftest.
$ac_objext conftest.
$ac_ext
27749 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27750 echo "${ECHO_T}$ac_header_compiler" >&6
27752 # Is the header present?
27753 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27754 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27755 cat >conftest.
$ac_ext <<_ACEOF
27756 #line $LINENO "configure"
27757 #include "confdefs.h"
27758 #include <$ac_header>
27760 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27761 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27763 egrep -v '^ *\+' conftest.er1
>conftest.err
27765 cat conftest.err
>&5
27766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27767 (exit $ac_status); } >/dev
/null
; then
27768 if test -s conftest.err
; then
27769 ac_cpp_err
=$ac_c_preproc_warn_flag
27776 if test -z "$ac_cpp_err"; then
27777 ac_header_preproc
=yes
27779 echo "$as_me: failed program was:" >&5
27780 cat conftest.
$ac_ext >&5
27781 ac_header_preproc
=no
27783 rm -f conftest.err conftest.
$ac_ext
27784 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27785 echo "${ECHO_T}$ac_header_preproc" >&6
27787 # So? What about this header?
27788 case $ac_header_compiler:$ac_header_preproc in
27790 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27791 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27792 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27793 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
27795 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27796 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27797 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27798 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27799 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27800 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
27802 echo "$as_me:$LINENO: checking for $ac_header" >&5
27803 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27804 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27805 echo $ECHO_N "(cached) $ECHO_C" >&6
27807 eval "$as_ac_Header=$ac_header_preproc"
27809 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27810 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27813 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27814 cat >>confdefs.h
<<_ACEOF
27815 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27822 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
27824 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
27825 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
27830 if test "$wxUSE_JOYSTICK" = "yes"; then
27831 cat >>confdefs.h
<<\_ACEOF
27832 #define wxUSE_JOYSTICK 1
27835 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
27840 if test "$TOOLKIT" != "MSW"; then
27844 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
27845 if test "$USE_DARWIN" = 1; then
27849 for ac_func
in dlopen
27851 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27852 echo "$as_me:$LINENO: checking for $ac_func" >&5
27853 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27854 if eval "test \"\${$as_ac_var+set}\" = set"; then
27855 echo $ECHO_N "(cached) $ECHO_C" >&6
27857 cat >conftest.
$ac_ext <<_ACEOF
27858 #line $LINENO "configure"
27859 #include "confdefs.h"
27860 /* System header to define __stub macros and hopefully few prototypes,
27861 which can conflict with char $ac_func (); below. */
27862 #include <assert.h>
27863 /* Override any gcc2 internal prototype to avoid an error. */
27867 /* We use char because int might match the return type of a gcc2
27868 builtin and then its argument prototype would still apply. */
27872 #ifdef F77_DUMMY_MAIN
27873 # ifdef __cplusplus
27876 int F77_DUMMY_MAIN() { return 1; }
27881 /* The GNU C library defines this for functions which it implements
27882 to always fail with ENOSYS. Some functions are actually named
27883 something starting with __ and the normal name is an alias. */
27884 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27894 rm -f conftest.
$ac_objext conftest
$ac_exeext
27895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27896 (eval $ac_link) 2>&5
27898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27899 (exit $ac_status); } &&
27900 { ac_try
='test -s conftest$ac_exeext'
27901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27902 (eval $ac_try) 2>&5
27904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27905 (exit $ac_status); }; }; then
27906 eval "$as_ac_var=yes"
27908 echo "$as_me: failed program was:" >&5
27909 cat conftest.
$ac_ext >&5
27910 eval "$as_ac_var=no"
27912 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27914 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27915 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27916 if test `eval echo '${'$as_ac_var'}'` = yes; then
27917 cat >>confdefs.h
<<_ACEOF
27918 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27921 cat >>confdefs.h
<<\_ACEOF
27922 #define HAVE_DLOPEN 1
27929 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
27930 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
27931 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
27932 echo $ECHO_N "(cached) $ECHO_C" >&6
27934 ac_check_lib_save_LIBS
=$LIBS
27936 cat >conftest.
$ac_ext <<_ACEOF
27937 #line $LINENO "configure"
27938 #include "confdefs.h"
27940 /* Override any gcc2 internal prototype to avoid an error. */
27944 /* We use char because int might match the return type of a gcc2
27945 builtin and then its argument prototype would still apply. */
27947 #ifdef F77_DUMMY_MAIN
27948 # ifdef __cplusplus
27951 int F77_DUMMY_MAIN() { return 1; }
27961 rm -f conftest.
$ac_objext conftest
$ac_exeext
27962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27963 (eval $ac_link) 2>&5
27965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27966 (exit $ac_status); } &&
27967 { ac_try
='test -s conftest$ac_exeext'
27968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27969 (eval $ac_try) 2>&5
27971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27972 (exit $ac_status); }; }; then
27973 ac_cv_lib_dl_dlopen
=yes
27975 echo "$as_me: failed program was:" >&5
27976 cat conftest.
$ac_ext >&5
27977 ac_cv_lib_dl_dlopen
=no
27979 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27980 LIBS
=$ac_check_lib_save_LIBS
27982 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
27983 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
27984 if test $ac_cv_lib_dl_dlopen = yes; then
27986 cat >>confdefs.h
<<\_ACEOF
27987 #define HAVE_DLOPEN 1
27991 DL_LINK
=" -ldl$DL_LINK"
27996 for ac_func
in shl_load
27998 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27999 echo "$as_me:$LINENO: checking for $ac_func" >&5
28000 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28001 if eval "test \"\${$as_ac_var+set}\" = set"; then
28002 echo $ECHO_N "(cached) $ECHO_C" >&6
28004 cat >conftest.
$ac_ext <<_ACEOF
28005 #line $LINENO "configure"
28006 #include "confdefs.h"
28007 /* System header to define __stub macros and hopefully few prototypes,
28008 which can conflict with char $ac_func (); below. */
28009 #include <assert.h>
28010 /* Override any gcc2 internal prototype to avoid an error. */
28014 /* We use char because int might match the return type of a gcc2
28015 builtin and then its argument prototype would still apply. */
28019 #ifdef F77_DUMMY_MAIN
28020 # ifdef __cplusplus
28023 int F77_DUMMY_MAIN() { return 1; }
28028 /* The GNU C library defines this for functions which it implements
28029 to always fail with ENOSYS. Some functions are actually named
28030 something starting with __ and the normal name is an alias. */
28031 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28041 rm -f conftest.
$ac_objext conftest
$ac_exeext
28042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28043 (eval $ac_link) 2>&5
28045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28046 (exit $ac_status); } &&
28047 { ac_try
='test -s conftest$ac_exeext'
28048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28049 (eval $ac_try) 2>&5
28051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28052 (exit $ac_status); }; }; then
28053 eval "$as_ac_var=yes"
28055 echo "$as_me: failed program was:" >&5
28056 cat conftest.
$ac_ext >&5
28057 eval "$as_ac_var=no"
28059 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28061 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28062 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28063 if test `eval echo '${'$as_ac_var'}'` = yes; then
28064 cat >>confdefs.h
<<_ACEOF
28065 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28068 cat >>confdefs.h
<<\_ACEOF
28069 #define HAVE_SHL_LOAD 1
28076 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
28077 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
28078 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
28079 echo $ECHO_N "(cached) $ECHO_C" >&6
28081 ac_check_lib_save_LIBS
=$LIBS
28082 LIBS
="-lshl_load $LIBS"
28083 cat >conftest.
$ac_ext <<_ACEOF
28084 #line $LINENO "configure"
28085 #include "confdefs.h"
28087 /* Override any gcc2 internal prototype to avoid an error. */
28091 /* We use char because int might match the return type of a gcc2
28092 builtin and then its argument prototype would still apply. */
28094 #ifdef F77_DUMMY_MAIN
28095 # ifdef __cplusplus
28098 int F77_DUMMY_MAIN() { return 1; }
28108 rm -f conftest.
$ac_objext conftest
$ac_exeext
28109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28110 (eval $ac_link) 2>&5
28112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28113 (exit $ac_status); } &&
28114 { ac_try
='test -s conftest$ac_exeext'
28115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28116 (eval $ac_try) 2>&5
28118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28119 (exit $ac_status); }; }; then
28120 ac_cv_lib_shl_load_dld
=yes
28122 echo "$as_me: failed program was:" >&5
28123 cat conftest.
$ac_ext >&5
28124 ac_cv_lib_shl_load_dld
=no
28126 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28127 LIBS
=$ac_check_lib_save_LIBS
28129 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
28130 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
28131 if test $ac_cv_lib_shl_load_dld = yes; then
28134 DL_LINK
=" -ldld$DL_LINK"
28150 if test "$HAVE_DL_FUNCS" = 1; then
28152 for ac_func
in dlerror
28154 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28155 echo "$as_me:$LINENO: checking for $ac_func" >&5
28156 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28157 if eval "test \"\${$as_ac_var+set}\" = set"; then
28158 echo $ECHO_N "(cached) $ECHO_C" >&6
28160 cat >conftest.
$ac_ext <<_ACEOF
28161 #line $LINENO "configure"
28162 #include "confdefs.h"
28163 /* System header to define __stub macros and hopefully few prototypes,
28164 which can conflict with char $ac_func (); below. */
28165 #include <assert.h>
28166 /* Override any gcc2 internal prototype to avoid an error. */
28170 /* We use char because int might match the return type of a gcc2
28171 builtin and then its argument prototype would still apply. */
28175 #ifdef F77_DUMMY_MAIN
28176 # ifdef __cplusplus
28179 int F77_DUMMY_MAIN() { return 1; }
28184 /* The GNU C library defines this for functions which it implements
28185 to always fail with ENOSYS. Some functions are actually named
28186 something starting with __ and the normal name is an alias. */
28187 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28197 rm -f conftest.
$ac_objext conftest
$ac_exeext
28198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28199 (eval $ac_link) 2>&5
28201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28202 (exit $ac_status); } &&
28203 { ac_try
='test -s conftest$ac_exeext'
28204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28205 (eval $ac_try) 2>&5
28207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28208 (exit $ac_status); }; }; then
28209 eval "$as_ac_var=yes"
28211 echo "$as_me: failed program was:" >&5
28212 cat conftest.
$ac_ext >&5
28213 eval "$as_ac_var=no"
28215 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28217 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28218 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28219 if test `eval echo '${'$as_ac_var'}'` = yes; then
28220 cat >>confdefs.h
<<_ACEOF
28221 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28223 cat >>confdefs.h
<<\_ACEOF
28224 #define HAVE_DLERROR 1
28228 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
28229 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
28230 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
28231 echo $ECHO_N "(cached) $ECHO_C" >&6
28233 ac_check_lib_save_LIBS
=$LIBS
28235 cat >conftest.
$ac_ext <<_ACEOF
28236 #line $LINENO "configure"
28237 #include "confdefs.h"
28239 /* Override any gcc2 internal prototype to avoid an error. */
28243 /* We use char because int might match the return type of a gcc2
28244 builtin and then its argument prototype would still apply. */
28246 #ifdef F77_DUMMY_MAIN
28247 # ifdef __cplusplus
28250 int F77_DUMMY_MAIN() { return 1; }
28260 rm -f conftest.
$ac_objext conftest
$ac_exeext
28261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28262 (eval $ac_link) 2>&5
28264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28265 (exit $ac_status); } &&
28266 { ac_try
='test -s conftest$ac_exeext'
28267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28268 (eval $ac_try) 2>&5
28270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28271 (exit $ac_status); }; }; then
28272 ac_cv_lib_dl_dlerror
=yes
28274 echo "$as_me: failed program was:" >&5
28275 cat conftest.
$ac_ext >&5
28276 ac_cv_lib_dl_dlerror
=no
28278 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28279 LIBS
=$ac_check_lib_save_LIBS
28281 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
28282 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
28283 if test $ac_cv_lib_dl_dlerror = yes; then
28284 cat >>confdefs.h
<<\_ACEOF
28285 #define HAVE_DLERROR 1
28296 if test "$HAVE_DL_FUNCS" = 0; then
28297 if test "$HAVE_SHL_FUNCS" = 0; then
28298 if test "$USE_UNIX" = 1; then
28299 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
28300 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
28301 wxUSE_DYNAMIC_LOADER
=no
28302 wxUSE_DYNLIB_CLASS
=no
28304 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
28305 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
28312 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
28313 cat >>confdefs.h
<<\_ACEOF
28314 #define wxUSE_DYNAMIC_LOADER 1
28317 elif test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
28318 cat >>confdefs.h
<<\_ACEOF
28319 #define wxUSE_DYNLIB_CLASS 1
28325 if test "$wxUSE_FONTMAP" = "yes" ; then
28326 cat >>confdefs.h
<<\_ACEOF
28327 #define wxUSE_FONTMAP 1
28332 if test "$wxUSE_UNICODE" = "yes" ; then
28333 cat >>confdefs.h
<<\_ACEOF
28334 #define wxUSE_UNICODE 1
28338 if test "$wxUSE_MSW" != 1; then
28339 wxUSE_UNICODE_MSLU
=no
28342 if test "$wxUSE_MSW" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
28343 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
28344 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
28345 if test "${ac_cv_lib_unicows_main+set}" = set; then
28346 echo $ECHO_N "(cached) $ECHO_C" >&6
28348 ac_check_lib_save_LIBS
=$LIBS
28349 LIBS
="-lunicows $LIBS"
28350 cat >conftest.
$ac_ext <<_ACEOF
28351 #line $LINENO "configure"
28352 #include "confdefs.h"
28355 #ifdef F77_DUMMY_MAIN
28356 # ifdef __cplusplus
28359 int F77_DUMMY_MAIN() { return 1; }
28369 rm -f conftest.
$ac_objext conftest
$ac_exeext
28370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28371 (eval $ac_link) 2>&5
28373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28374 (exit $ac_status); } &&
28375 { ac_try
='test -s conftest$ac_exeext'
28376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28377 (eval $ac_try) 2>&5
28379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28380 (exit $ac_status); }; }; then
28381 ac_cv_lib_unicows_main
=yes
28383 echo "$as_me: failed program was:" >&5
28384 cat conftest.
$ac_ext >&5
28385 ac_cv_lib_unicows_main
=no
28387 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28388 LIBS
=$ac_check_lib_save_LIBS
28390 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
28391 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
28392 if test $ac_cv_lib_unicows_main = yes; then
28394 cat >>confdefs.h
<<\_ACEOF
28395 #define wxUSE_UNICODE_MSLU 1
28401 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
28402 Applications will only run on Windows NT/2000/XP!" >&5
28403 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
28404 Applications will only run on Windows NT/2000/XP!" >&2;}
28405 wxUSE_UNICODE_MSLU
=no
28412 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
28413 cat >>confdefs.h
<<\_ACEOF
28414 #define wxUSE_EXPERIMENTAL_PRINTF 1
28422 if test "$wxUSE_ODBC" = "yes" ; then
28423 cat >>confdefs.h
<<\_ACEOF
28424 #define wxUSE_ODBC 1
28427 WXODBCFLAG
="-D_IODBC_"
28428 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
28432 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
28433 cat >>confdefs.h
<<\_ACEOF
28434 #define wxUSE_POSTSCRIPT 1
28439 cat >>confdefs.h
<<\_ACEOF
28440 #define wxUSE_AFM_FOR_POSTSCRIPT 1
28444 cat >>confdefs.h
<<\_ACEOF
28445 #define wxUSE_NORMALIZED_PS_FONTS 1
28450 if test "$wxUSE_CONSTRAINTS" = "yes"; then
28451 cat >>confdefs.h
<<\_ACEOF
28452 #define wxUSE_CONSTRAINTS 1
28455 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
28458 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
28461 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
28462 cat >>confdefs.h
<<\_ACEOF
28463 #define wxUSE_MDI_ARCHITECTURE 1
28466 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
28470 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
28471 cat >>confdefs.h
<<\_ACEOF
28472 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
28475 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
28476 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
28477 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
28481 if test "$wxUSE_HELP" = "yes"; then
28482 cat >>confdefs.h
<<\_ACEOF
28483 #define wxUSE_HELP 1
28486 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
28488 if test "$wxUSE_MSW" = 1; then
28489 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
28490 cat >>confdefs.h
<<\_ACEOF
28491 #define wxUSE_MS_HTML_HELP 1
28497 if test "$wxUSE_WXHTML_HELP" = "yes"; then
28498 if test "$wxUSE_HTML" = "yes"; then
28499 cat >>confdefs.h
<<\_ACEOF
28500 #define wxUSE_WXHTML_HELP 1
28504 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
28505 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
28506 wxUSE_WXHTML_HELP
=no
28511 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
28512 if test "$wxUSE_CONSTRAINTS" != "yes"; then
28513 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
28514 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
28516 cat >>confdefs.h
<<\_ACEOF
28517 #define wxUSE_PRINTING_ARCHITECTURE 1
28521 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
28524 if test "$wxUSE_PROLOGIO" = "yes" ; then
28525 cat >>confdefs.h
<<\_ACEOF
28526 #define wxUSE_PROLOGIO 1
28531 if test "$wxUSE_RESOURCES" = "yes" ; then
28532 if test "$wxUSE_NANOX" = "yes"; then
28533 { echo "$as_me:$LINENO: WARNING: Cannot use resource database functions in NanoX" >&5
28534 echo "$as_me: WARNING: Cannot use resource database functions in NanoX" >&2;}
28536 cat >>confdefs.h
<<\_ACEOF
28537 #define wxUSE_RESOURCES 1
28540 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
28544 if test "$wxUSE_X_RESOURCES" = "yes"; then
28545 cat >>confdefs.h
<<\_ACEOF
28546 #define wxUSE_X_RESOURCES 1
28552 if test "$wxUSE_MSW" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
28553 -o "$wxUSE_CLIPBOARD" = "yes" \
28554 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
28556 for ac_header
in ole2.h
28558 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28559 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28560 echo "$as_me:$LINENO: checking for $ac_header" >&5
28561 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28562 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28563 echo $ECHO_N "(cached) $ECHO_C" >&6
28565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28566 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28568 # Is the header compilable?
28569 echo "$as_me:$LINENO: checking $ac_header usability" >&5
28570 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28571 cat >conftest.
$ac_ext <<_ACEOF
28572 #line $LINENO "configure"
28573 #include "confdefs.h"
28574 $ac_includes_default
28575 #include <$ac_header>
28577 rm -f conftest.
$ac_objext
28578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28579 (eval $ac_compile) 2>&5
28581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28582 (exit $ac_status); } &&
28583 { ac_try
='test -s conftest.$ac_objext'
28584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28585 (eval $ac_try) 2>&5
28587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28588 (exit $ac_status); }; }; then
28589 ac_header_compiler
=yes
28591 echo "$as_me: failed program was:" >&5
28592 cat conftest.
$ac_ext >&5
28593 ac_header_compiler
=no
28595 rm -f conftest.
$ac_objext conftest.
$ac_ext
28596 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28597 echo "${ECHO_T}$ac_header_compiler" >&6
28599 # Is the header present?
28600 echo "$as_me:$LINENO: checking $ac_header presence" >&5
28601 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28602 cat >conftest.
$ac_ext <<_ACEOF
28603 #line $LINENO "configure"
28604 #include "confdefs.h"
28605 #include <$ac_header>
28607 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28608 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28610 egrep -v '^ *\+' conftest.er1
>conftest.err
28612 cat conftest.err
>&5
28613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28614 (exit $ac_status); } >/dev
/null
; then
28615 if test -s conftest.err
; then
28616 ac_cpp_err
=$ac_c_preproc_warn_flag
28623 if test -z "$ac_cpp_err"; then
28624 ac_header_preproc
=yes
28626 echo "$as_me: failed program was:" >&5
28627 cat conftest.
$ac_ext >&5
28628 ac_header_preproc
=no
28630 rm -f conftest.err conftest.
$ac_ext
28631 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28632 echo "${ECHO_T}$ac_header_preproc" >&6
28634 # So? What about this header?
28635 case $ac_header_compiler:$ac_header_preproc in
28637 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28638 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28639 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28640 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
28642 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28643 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28644 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28645 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28646 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28647 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
28649 echo "$as_me:$LINENO: checking for $ac_header" >&5
28650 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28651 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28652 echo $ECHO_N "(cached) $ECHO_C" >&6
28654 eval "$as_ac_Header=$ac_header_preproc"
28656 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28657 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28660 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28661 cat >>confdefs.h
<<_ACEOF
28662 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28670 if test "$ac_cv_header_ole2_h" = "yes" ; then
28671 if test "$GCC" = yes ; then
28675 ac_cpp
='$CXXCPP $CPPFLAGS'
28676 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28677 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28678 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28681 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
28682 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
28683 cat >conftest.
$ac_ext <<_ACEOF
28684 #line $LINENO "configure"
28685 #include "confdefs.h"
28686 #include <windows.h>
28688 #ifdef F77_DUMMY_MAIN
28689 # ifdef __cplusplus
28692 int F77_DUMMY_MAIN() { return 1; }
28702 rm -f conftest.
$ac_objext
28703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28704 (eval $ac_compile) 2>&5
28706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28707 (exit $ac_status); } &&
28708 { ac_try
='test -s conftest.$ac_objext'
28709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28710 (eval $ac_try) 2>&5
28712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28713 (exit $ac_status); }; }; then
28714 echo "$as_me:$LINENO: result: no" >&5
28715 echo "${ECHO_T}no" >&6
28717 echo "$as_me: failed program was:" >&5
28718 cat conftest.
$ac_ext >&5
28719 echo "$as_me:$LINENO: result: yes" >&5
28720 echo "${ECHO_T}yes" >&6
28721 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
28723 rm -f conftest.
$ac_objext conftest.
$ac_ext
28725 ac_cpp
='$CPP $CPPFLAGS'
28726 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28727 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28728 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28730 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
28731 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
28732 cat >>confdefs.h
<<\_ACEOF
28733 #define wxUSE_OLE 1
28739 cat >>confdefs.h
<<\_ACEOF
28740 #define wxUSE_DATAOBJ 1
28744 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
28745 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
28748 wxUSE_DRAG_AND_DROP
=no
28752 if test "$wxUSE_METAFILE" = "yes"; then
28753 cat >>confdefs.h
<<\_ACEOF
28754 #define wxUSE_METAFILE 1
28758 cat >>confdefs.h
<<\_ACEOF
28759 #define wxUSE_ENH_METAFILE 1
28765 if test "$wxUSE_IPC" = "yes"; then
28766 if test "$wxUSE_SOCKETS" != "yes"; then
28767 { echo "$as_me:$LINENO: WARNING: wxWindows IPC classes require sockets... disabled" >&5
28768 echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
28771 cat >>confdefs.h
<<\_ACEOF
28772 #define wxUSE_IPC 1
28777 if test "$wxUSE_CLIPBOARD" = "yes"; then
28778 if test "$wxUSE_MGL" = 1; then
28779 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
28780 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
28784 if test "$wxUSE_CLIPBOARD" = "yes"; then
28785 cat >>confdefs.h
<<\_ACEOF
28786 #define wxUSE_CLIPBOARD 1
28790 cat >>confdefs.h
<<\_ACEOF
28791 #define wxUSE_DATAOBJ 1
28797 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
28798 if test "$wxUSE_GTK" = 1; then
28799 if test "$WXGTK12" != 1; then
28800 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
28801 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
28802 wxUSE_DRAG_AND_DROP
=no
28806 if test "$wxUSE_MOTIF" = 1; then
28807 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
28808 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
28809 wxUSE_DRAG_AND_DROP
=no
28812 if test "$wxUSE_X11" = 1; then
28813 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
28814 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
28815 wxUSE_DRAG_AND_DROP
=no
28818 if test "$wxUSE_MGL" = 1; then
28819 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
28820 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
28821 wxUSE_DRAG_AND_DROP
=no
28824 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
28825 cat >>confdefs.h
<<\_ACEOF
28826 #define wxUSE_DRAG_AND_DROP 1
28829 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
28834 if test "$wxUSE_SPLINES" = "yes" ; then
28835 cat >>confdefs.h
<<\_ACEOF
28836 #define wxUSE_SPLINES 1
28843 if test "$wxUSE_CONTROLS" = "yes"; then
28847 if test "$wxUSE_ACCEL" = "yes"; then
28848 cat >>confdefs.h
<<\_ACEOF
28849 #define wxUSE_ACCEL 1
28855 if test "$wxUSE_BUTTON" = "yes"; then
28856 cat >>confdefs.h
<<\_ACEOF
28857 #define wxUSE_BUTTON 1
28863 if test "$wxUSE_BMPBUTTON" = "yes"; then
28864 cat >>confdefs.h
<<\_ACEOF
28865 #define wxUSE_BMPBUTTON 1
28871 if test "$wxUSE_CALCTRL" = "yes"; then
28872 cat >>confdefs.h
<<\_ACEOF
28873 #define wxUSE_CALENDARCTRL 1
28877 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
28880 if test "$wxUSE_CARET" = "yes"; then
28881 cat >>confdefs.h
<<\_ACEOF
28882 #define wxUSE_CARET 1
28886 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
28889 if test "$wxUSE_COMBOBOX" = "yes"; then
28890 cat >>confdefs.h
<<\_ACEOF
28891 #define wxUSE_COMBOBOX 1
28897 if test "$wxUSE_CHOICE" = "yes"; then
28898 cat >>confdefs.h
<<\_ACEOF
28899 #define wxUSE_CHOICE 1
28905 if test "$wxUSE_CHECKBOX" = "yes"; then
28906 cat >>confdefs.h
<<\_ACEOF
28907 #define wxUSE_CHECKBOX 1
28913 if test "$wxUSE_CHECKLST" = "yes"; then
28914 cat >>confdefs.h
<<\_ACEOF
28915 #define wxUSE_CHECKLISTBOX 1
28919 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
28922 if test "$wxUSE_GAUGE" = "yes"; then
28923 cat >>confdefs.h
<<\_ACEOF
28924 #define wxUSE_GAUGE 1
28930 if test "$wxUSE_NEW_GRID" = "yes"; then
28932 cat >>confdefs.h
<<\_ACEOF
28933 #define wxUSE_NEW_GRID 1
28937 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
28940 if test "$wxUSE_GRID" = "yes"; then
28941 cat >>confdefs.h
<<\_ACEOF
28942 #define wxUSE_GRID 1
28946 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
28949 if test "$wxUSE_IMAGLIST" = "yes"; then
28950 cat >>confdefs.h
<<\_ACEOF
28951 #define wxUSE_IMAGLIST 1
28956 if test "$wxUSE_LISTBOX" = "yes"; then
28957 cat >>confdefs.h
<<\_ACEOF
28958 #define wxUSE_LISTBOX 1
28964 if test "$wxUSE_LISTCTRL" = "yes"; then
28965 if test "$wxUSE_IMAGLIST" = "yes"; then
28966 cat >>confdefs.h
<<\_ACEOF
28967 #define wxUSE_LISTCTRL 1
28971 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
28973 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
28974 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
28978 if test "$wxUSE_NOTEBOOK" = "yes"; then
28979 cat >>confdefs.h
<<\_ACEOF
28980 #define wxUSE_NOTEBOOK 1
28984 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
28987 if test "$wxUSE_PROPSHEET" = "yes"; then
28988 cat >>confdefs.h
<<\_ACEOF
28989 #define wxUSE_PROPSHEET 1
28993 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS proplist"
28996 if test "$wxUSE_RADIOBOX" = "yes"; then
28997 cat >>confdefs.h
<<\_ACEOF
28998 #define wxUSE_RADIOBOX 1
29004 if test "$wxUSE_RADIOBTN" = "yes"; then
29005 cat >>confdefs.h
<<\_ACEOF
29006 #define wxUSE_RADIOBTN 1
29012 if test "$wxUSE_SASH" = "yes"; then
29013 cat >>confdefs.h
<<\_ACEOF
29014 #define wxUSE_SASH 1
29017 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
29020 if test "$wxUSE_SCROLLBAR" = "yes"; then
29021 cat >>confdefs.h
<<\_ACEOF
29022 #define wxUSE_SCROLLBAR 1
29026 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
29029 if test "$wxUSE_SLIDER" = "yes"; then
29030 cat >>confdefs.h
<<\_ACEOF
29031 #define wxUSE_SLIDER 1
29037 if test "$wxUSE_SPINBTN" = "yes"; then
29038 cat >>confdefs.h
<<\_ACEOF
29039 #define wxUSE_SPINBTN 1
29045 if test "$wxUSE_SPINCTRL" = "yes"; then
29046 cat >>confdefs.h
<<\_ACEOF
29047 #define wxUSE_SPINCTRL 1
29053 if test "$wxUSE_SPLITTER" = "yes"; then
29054 cat >>confdefs.h
<<\_ACEOF
29055 #define wxUSE_SPLITTER 1
29058 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
29061 if test "$wxUSE_STATBMP" = "yes"; then
29062 cat >>confdefs.h
<<\_ACEOF
29063 #define wxUSE_STATBMP 1
29069 if test "$wxUSE_STATBOX" = "yes"; then
29070 cat >>confdefs.h
<<\_ACEOF
29071 #define wxUSE_STATBOX 1
29077 if test "$wxUSE_STATTEXT" = "yes"; then
29078 cat >>confdefs.h
<<\_ACEOF
29079 #define wxUSE_STATTEXT 1
29085 if test "$wxUSE_STATLINE" = "yes"; then
29086 if test "$wxUSE_WINE" = 1 ; then
29087 { echo "$as_me:$LINENO: WARNING: wxStaticLine is not supported under WINE" >&5
29088 echo "$as_me: WARNING: wxStaticLine is not supported under WINE" >&2;}
29090 cat >>confdefs.h
<<\_ACEOF
29091 #define wxUSE_STATLINE 1
29098 if test "$wxUSE_STATUSBAR" = "yes"; then
29099 cat >>confdefs.h
<<\_ACEOF
29100 #define wxUSE_STATUSBAR 1
29105 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
29108 if test "$wxUSE_TABDIALOG" = "yes"; then
29109 cat >>confdefs.h
<<\_ACEOF
29110 #define wxUSE_TAB_DIALOG 1
29113 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
29116 if test "$wxUSE_TEXTCTRL" = "yes"; then
29117 cat >>confdefs.h
<<\_ACEOF
29118 #define wxUSE_TEXTCTRL 1
29122 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
29125 if test "$wxUSE_TOGGLEBTN" = "yes"; then
29126 if test "$wxUSE_MAC" = 1; then
29127 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
29128 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
29131 if test "$wxUSE_UNIVERSAL" = "yes"; then
29132 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
29133 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
29137 if test "$wxUSE_TOGGLEBTN" = "yes"; then
29138 cat >>confdefs.h
<<\_ACEOF
29139 #define wxUSE_TOGGLEBTN 1
29146 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
29147 cat >>confdefs.h
<<\_ACEOF
29148 #define wxUSE_TOOLBAR_SIMPLE 1
29151 wxUSE_TOOLBAR
="yes"
29155 if test "$wxUSE_TOOLBAR" = "yes"; then
29156 cat >>confdefs.h
<<\_ACEOF
29157 #define wxUSE_TOOLBAR 1
29162 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
29163 wxUSE_TOOLBAR_NATIVE
="yes"
29166 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
29167 cat >>confdefs.h
<<\_ACEOF
29168 #define wxUSE_TOOLBAR_NATIVE 1
29174 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
29177 if test "$wxUSE_TOOLTIPS" = "yes"; then
29178 if test "$wxUSE_MOTIF" = 1; then
29179 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
29180 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
29182 if test "$wxUSE_WINE" = 1; then
29183 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported under WINE... disabled" >&5
29184 echo "$as_me: WARNING: wxTooltip not supported under WINE... disabled" >&2;}
29186 if test "$wxUSE_UNIVERSAL" = "yes"; then
29187 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
29188 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
29190 cat >>confdefs.h
<<\_ACEOF
29191 #define wxUSE_TOOLTIPS 1
29199 if test "$wxUSE_TREECTRL" = "yes"; then
29200 if test "$wxUSE_IMAGLIST" = "yes"; then
29201 cat >>confdefs.h
<<\_ACEOF
29202 #define wxUSE_TREECTRL 1
29206 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
29208 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
29209 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
29213 if test "$wxUSE_POPUPWIN" = "yes"; then
29214 if test "$wxUSE_MAC" = 1; then
29215 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
29216 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
29218 if test "$wxUSE_MOTIF" = 1; then
29219 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&5
29220 echo "$as_me: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&2;}
29222 if test "$wxUSE_PM" = 1; then
29223 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
29224 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
29226 cat >>confdefs.h
<<\_ACEOF
29227 #define wxUSE_POPUPWIN 1
29237 if test "$wxUSE_TIPWINDOW" = "yes"; then
29238 if test "$wxUSE_PM" = 1; then
29239 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
29240 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
29242 cat >>confdefs.h
<<\_ACEOF
29243 #define wxUSE_TIPWINDOW 1
29249 if test "$USES_CONTROLS" = 1; then
29250 cat >>confdefs.h
<<\_ACEOF
29251 #define wxUSE_CONTROLS 1
29257 if test "$wxUSE_TREELAYOUT" = "yes"; then
29258 cat >>confdefs.h
<<\_ACEOF
29259 #define wxUSE_TREELAYOUT 1
29262 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treelay"
29265 if test "$wxUSE_DRAGIMAGE" = "yes"; then
29266 cat >>confdefs.h
<<\_ACEOF
29267 #define wxUSE_DRAGIMAGE 1
29270 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
29273 if test "$wxUSE_MENUS" = "yes"; then
29274 cat >>confdefs.h
<<\_ACEOF
29275 #define wxUSE_MENUS 1
29278 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
29281 if test "$wxUSE_METAFILE" = "yes"; then
29282 cat >>confdefs.h
<<\_ACEOF
29283 #define wxUSE_METAFILE 1
29288 if test "$wxUSE_MIMETYPE" = "yes"; then
29289 cat >>confdefs.h
<<\_ACEOF
29290 #define wxUSE_MIMETYPE 1
29295 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
29296 cat >>confdefs.h
<<\_ACEOF
29297 #define wxUSE_SYSTEM_OPTIONS 1
29300 if test "$TOOLKIT" = "MSW"; then
29301 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
29306 if test "$wxUSE_PROTOCOL" = "yes"; then
29307 if test "$wxUSE_SOCKETS" != "yes"; then
29308 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
29309 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
29313 if test "$wxUSE_PROTOCOL" = "yes"; then
29314 cat >>confdefs.h
<<\_ACEOF
29315 #define wxUSE_PROTOCOL 1
29319 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
29320 cat >>confdefs.h
<<\_ACEOF
29321 #define wxUSE_PROTOCOL_HTTP 1
29325 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
29326 cat >>confdefs.h
<<\_ACEOF
29327 #define wxUSE_PROTOCOL_FTP 1
29331 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
29332 cat >>confdefs.h
<<\_ACEOF
29333 #define wxUSE_PROTOCOL_FILE 1
29340 if test "$wxUSE_URL" = "yes"; then
29341 if test "$wxUSE_PROTOCOL" != "yes"; then
29342 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
29343 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
29346 if test "$wxUSE_URL" = "yes"; then
29347 cat >>confdefs.h
<<\_ACEOF
29348 #define wxUSE_URL 1
29354 if test "$wxUSE_MINIFRAME" = "yes"; then
29355 cat >>confdefs.h
<<\_ACEOF
29356 #define wxUSE_MINIFRAME 1
29359 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
29362 if test "$wxUSE_HTML" = "yes"; then
29363 cat >>confdefs.h
<<\_ACEOF
29364 #define wxUSE_HTML 1
29367 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
29370 if test "$wxUSE_VALIDATORS" = "yes"; then
29371 cat >>confdefs.h
<<\_ACEOF
29372 #define wxUSE_VALIDATORS 1
29375 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
29378 if test "$wxUSE_PALETTE" = "yes" ; then
29379 cat >>confdefs.h
<<\_ACEOF
29380 #define wxUSE_PALETTE 1
29385 if test "$wxUSE_IMAGE" = "yes" ; then
29386 cat >>confdefs.h
<<\_ACEOF
29387 #define wxUSE_IMAGE 1
29392 if test "$wxUSE_GIF" = "yes" ; then
29393 cat >>confdefs.h
<<\_ACEOF
29394 #define wxUSE_GIF 1
29399 if test "$wxUSE_PCX" = "yes" ; then
29400 cat >>confdefs.h
<<\_ACEOF
29401 #define wxUSE_PCX 1
29406 if test "$wxUSE_IFF" = "yes" ; then
29407 cat >>confdefs.h
<<\_ACEOF
29408 #define wxUSE_IFF 1
29413 if test "$wxUSE_PNM" = "yes" ; then
29414 cat >>confdefs.h
<<\_ACEOF
29415 #define wxUSE_PNM 1
29420 if test "$wxUSE_XPM" = "yes" ; then
29421 cat >>confdefs.h
<<\_ACEOF
29422 #define wxUSE_XPM 1
29427 if test "$wxUSE_ICO_CUR" = "yes" ; then
29428 cat >>confdefs.h
<<\_ACEOF
29429 #define wxUSE_ICO_CUR 1
29434 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
29435 LIBS
=" -lunicows $LIBS"
29439 if test "$wxUSE_CHOICEDLG" = "yes"; then
29440 cat >>confdefs.h
<<\_ACEOF
29441 #define wxUSE_CHOICEDLG 1
29446 if test "$wxUSE_COLOURDLG" = "yes"; then
29447 cat >>confdefs.h
<<\_ACEOF
29448 #define wxUSE_COLOURDLG 1
29453 if test "$wxUSE_FILEDLG" = "yes"; then
29454 cat >>confdefs.h
<<\_ACEOF
29455 #define wxUSE_FILEDLG 1
29460 if test "$wxUSE_FINDREPLDLG" = "yes"; then
29461 cat >>confdefs.h
<<\_ACEOF
29462 #define wxUSE_FINDREPLDLG 1
29467 if test "$wxUSE_FONTDLG" = "yes"; then
29468 cat >>confdefs.h
<<\_ACEOF
29469 #define wxUSE_FONTDLG 1
29474 if test "$wxUSE_DIRDLG" = "yes"; then
29475 if test "$wxUSE_TREECTRL" != "yes"; then
29476 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
29477 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
29479 cat >>confdefs.h
<<\_ACEOF
29480 #define wxUSE_DIRDLG 1
29486 if test "$wxUSE_MSGDLG" = "yes"; then
29487 cat >>confdefs.h
<<\_ACEOF
29488 #define wxUSE_MSGDLG 1
29493 if test "$wxUSE_NUMBERDLG" = "yes"; then
29494 cat >>confdefs.h
<<\_ACEOF
29495 #define wxUSE_NUMBERDLG 1
29500 if test "$wxUSE_PROGRESSDLG" = "yes"; then
29501 if test "$wxUSE_CONSTRAINTS" != "yes"; then
29502 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
29503 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
29505 cat >>confdefs.h
<<\_ACEOF
29506 #define wxUSE_PROGRESSDLG 1
29512 if test "$wxUSE_SPLASH" = "yes"; then
29513 cat >>confdefs.h
<<\_ACEOF
29514 #define wxUSE_SPLASH 1
29519 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
29520 if test "$wxUSE_CONSTRAINTS" != "yes"; then
29521 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
29522 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
29524 cat >>confdefs.h
<<\_ACEOF
29525 #define wxUSE_STARTUP_TIPS 1
29531 if test "$wxUSE_TEXTDLG" = "yes"; then
29532 cat >>confdefs.h
<<\_ACEOF
29533 #define wxUSE_TEXTDLG 1
29538 if test "$wxUSE_WIZARDDLG" = "yes"; then
29539 cat >>confdefs.h
<<\_ACEOF
29540 #define wxUSE_WIZARDDLG 1
29543 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
29547 if test "$cross_compiling" = "yes"; then
29550 OSINFO
=`uname -s -r -m`
29551 OSINFO
="\"$OSINFO\""
29554 cat >>confdefs.h
<<_ACEOF
29555 #define WXWIN_OS_DESCRIPTION $OSINFO
29560 if test "x$prefix" != "xNONE"; then
29563 wxPREFIX
=$ac_default_prefix
29566 cat >>confdefs.h
<<_ACEOF
29567 #define wxINSTALL_PREFIX "$wxPREFIX"
29574 if test "$wxUSE_MAC" = 1 ; then
29575 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
29579 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK -lm $LIBS"
29581 if test "$wxUSE_GUI" = "yes"; then
29583 LIBS
="$GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $LIBS"
29586 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
29587 drawing dynamic erase event exec font image \
29588 minimal propsize rotate widgets"
29590 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
29592 SAMPLES_SUBDIRS
="console"
29596 INCLUDES
="-I\${top_builddir}/lib/wx/include/${TOOLCHAIN_NAME} \
29597 -I\${top_srcdir}/include \
29598 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
29601 if test "$wxUSE_GTK" = 1; then
29604 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
29607 if test "$GXX" = yes ; then
29608 CXXWARNINGS
="-Wall"
29610 if test "$wxUSE_NO_DEPS" = "no" ; then
29611 CFLAGS
="-MMD $CFLAGS"
29612 CXXFLAGS
="-MMD $CXXFLAGS"
29616 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
29618 CFLAGS
=`echo $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
29619 CXXFLAGS
=`echo $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
29620 LIBS
=`echo $LIBS | sed 's/ \+/ /g'`
29622 LDFLAGS
="$LDFLAGS $PROFILE"
29624 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
29715 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
29716 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
29717 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
29718 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
29719 echo $ECHO_N "(cached) $ECHO_C" >&6
29721 cat >conftest.
make <<\_ACEOF
29723 @
echo 'ac_maketemp="${MAKE}"'
29725 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29726 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
29727 if test -n "$ac_maketemp"; then
29728 eval ac_cv_prog_make_
${ac_make}_set
=yes
29730 eval ac_cv_prog_make_
${ac_make}_set
=no
29732 rm -f conftest.
make
29734 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
29735 echo "$as_me:$LINENO: result: yes" >&5
29736 echo "${ECHO_T}yes" >&6
29739 echo "$as_me:$LINENO: result: no" >&5
29740 echo "${ECHO_T}no" >&6
29741 SET_MAKE
="MAKE=${MAKE-make}"
29745 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
29746 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
29749 ac_config_headers
="$ac_config_headers setup.h:setup.h.in"
29752 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
29753 wx_cv_if_gnu_make
=$IF_GNU_MAKE
29754 wx_cv_path_ifs
=$PATH_IFS
29755 wx_cv_program_ext
=$PROGRAM_EXT
29756 wx_cv_target_library
=$WX_TARGET_LIBRARY
29757 wx_cv_target_library_gl
=$WX_TARGET_LIBRARY_GL
29758 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
29759 export wx_cv_path_samplesubdirs wx_cv_if_gnu_make \
29760 wx_cv_path_ifs wx_cv_program_ext \
29761 wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype
29765 subdirs
="$subdirs demos samples utils contrib"
29768 ac_config_files
="$ac_config_files wx-config src/make.env src/makeprog.env src/makelib.env Makefile"
29769 ac_config_commands
="$ac_config_commands default"
29770 cat >confcache
<<\_ACEOF
29771 # This file is a shell script that caches the results of configure
29772 # tests run on this system so they can be shared between configure
29773 # scripts and configure runs, see configure's option --config-cache.
29774 # It is not useful on other systems. If it contains results you don't
29775 # want to keep, you may remove or edit it.
29777 # config.status only pays attention to the cache file if you give it
29778 # the --recheck option to rerun configure.
29780 # `ac_cv_env_foo' variables (set or unset) will be overriden when
29781 # loading this file, other *unset* `ac_cv_foo' will be assigned the
29782 # following values.
29786 # The following way of writing the cache mishandles newlines in values,
29787 # but we know of no workaround that is simple, portable, and efficient.
29788 # So, don't put newlines in cache variables' values.
29789 # Ultrix sh set writes to stderr and can't be redirected directly,
29790 # and sets the high bit in the cache file unless we assign to the vars.
29793 case `(ac_space=' '; set | grep ac_space) 2>&1` in
29795 # `set' does not quote correctly, so add quotes (double-quote
29796 # substitution turns \\\\ into \\, and sed turns \\ into \).
29799 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
29802 # `set' quotes correctly as required by POSIX, so do not add quotes.
29804 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
29811 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
29813 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
29815 if cmp -s $cache_file confcache
; then :; else
29816 if test -w $cache_file; then
29817 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
29818 cat confcache
>$cache_file
29820 echo "not updating unwritable cache $cache_file"
29825 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
29826 # Let make expand exec_prefix.
29827 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
29829 # VPATH may cause trouble with some makes, so we remove $(srcdir),
29830 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
29831 # trailing colons and then remove the whole line if VPATH becomes empty
29832 # (actually we leave an empty line to preserve line numbers).
29833 if test "x$srcdir" = x.
; then
29834 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
29835 s/:*\$(srcdir):*/:/;
29836 s/:*\${srcdir}:*/:/;
29838 s/^\([^=]*=[ ]*\):*/\1/;
29844 DEFS
=-DHAVE_CONFIG_H
29847 : ${CONFIG_STATUS=./config.status}
29848 ac_clean_files_save
=$ac_clean_files
29849 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
29850 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
29851 echo "$as_me: creating $CONFIG_STATUS" >&6;}
29852 cat >$CONFIG_STATUS <<_ACEOF
29854 # Generated by $as_me.
29855 # Run this file to recreate the current configuration.
29856 # Compiler output produced by configure, useful for debugging
29857 # configure, is in config.log if it exists.
29860 SHELL=\${CONFIG_SHELL-$SHELL}
29863 cat >>$CONFIG_STATUS <<\_ACEOF
29865 ## --------------------- ##
29866 ## M4sh Initialization. ##
29867 ## --------------------- ##
29869 # Be Bourne compatible
29870 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
29873 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
29878 # Support unset when possible.
29879 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
29885 (set +x
; test -n "`(LANG=C; export LANG) 2>&1`") &&
29886 { $as_unset LANG
|| test "${LANG+set}" != set; } ||
29887 { LANG
=C
; export LANG
; }
29888 (set +x
; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
29889 { $as_unset LC_ALL
|| test "${LC_ALL+set}" != set; } ||
29890 { LC_ALL
=C
; export LC_ALL
; }
29891 (set +x
; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
29892 { $as_unset LC_TIME
|| test "${LC_TIME+set}" != set; } ||
29893 { LC_TIME
=C
; export LC_TIME
; }
29894 (set +x
; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
29895 { $as_unset LC_CTYPE
|| test "${LC_CTYPE+set}" != set; } ||
29896 { LC_CTYPE
=C
; export LC_CTYPE
; }
29897 (set +x
; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
29898 { $as_unset LANGUAGE
|| test "${LANGUAGE+set}" != set; } ||
29899 { LANGUAGE
=C
; export LANGUAGE
; }
29900 (set +x
; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
29901 { $as_unset LC_COLLATE
|| test "${LC_COLLATE+set}" != set; } ||
29902 { LC_COLLATE
=C
; export LC_COLLATE
; }
29903 (set +x
; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
29904 { $as_unset LC_NUMERIC
|| test "${LC_NUMERIC+set}" != set; } ||
29905 { LC_NUMERIC
=C
; export LC_NUMERIC
; }
29906 (set +x
; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
29907 { $as_unset LC_MESSAGES
|| test "${LC_MESSAGES+set}" != set; } ||
29908 { LC_MESSAGES
=C
; export LC_MESSAGES
; }
29911 # Name of the executable.
29912 as_me
=`(basename "$0") 2>/dev/null ||
29913 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
29914 X"$0" : 'X\(//\)$' \| \
29915 X"$0" : 'X\(/\)$' \| \
29916 . : '\(.\)' 2>/dev/null ||
29918 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
29919 /^X\/\(\/\/\)$/{ s//\1/; q; }
29920 /^X\/\(\/\).*/{ s//\1/; q; }
29923 # PATH needs CR, and LINENO needs CR and PATH.
29924 # Avoid depending upon Character Ranges.
29925 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
29926 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
29927 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
29928 as_cr_digits
='0123456789'
29929 as_cr_alnum
=$as_cr_Letters$as_cr_digits
29931 # The user is always right.
29932 if test "${PATH_SEPARATOR+set}" != set; then
29933 echo "#! /bin/sh" >conftest.sh
29934 echo "exit 0" >>conftest.sh
29935 chmod +x conftest.sh
29936 if (PATH
=".;."; conftest.sh
) >/dev
/null
2>&1; then
29945 as_lineno_1
=$LINENO
29946 as_lineno_2
=$LINENO
29947 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
29948 test "x$as_lineno_1" != "x$as_lineno_2" &&
29949 test "x$as_lineno_3" = "x$as_lineno_2" || {
29950 # Find who we are. Look in the path if we contain no path at all
29953 *[\\/]* ) as_myself
=$0 ;;
29954 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29955 for as_dir
in $PATH
29958 test -z "$as_dir" && as_dir
=.
29959 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
29964 # We did not find ourselves, most probably we were run as `sh COMMAND'
29965 # in which case we are not to be found in the path.
29966 if test "x$as_myself" = x
; then
29969 if test ! -f "$as_myself"; then
29970 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
29971 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
29972 { (exit 1); exit 1; }; }
29974 case $CONFIG_SHELL in
29976 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29977 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
29980 test -z "$as_dir" && as_dir
=.
29981 for as_base
in sh bash ksh sh5
; do
29984 if ("$as_dir/$as_base" -c '
29985 as_lineno_1=$LINENO
29986 as_lineno_2=$LINENO
29987 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
29988 test "x$as_lineno_1" != "x$as_lineno_2" &&
29989 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
29990 CONFIG_SHELL
=$as_dir/$as_base
29991 export CONFIG_SHELL
29992 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
30000 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
30001 # uniformly replaced by the line number. The first 'sed' inserts a
30002 # line-number line before each line; the second 'sed' does the real
30003 # work. The second script uses 'N' to pair each line-number line
30004 # with the numbered line, and appends trailing '-' during
30005 # substitution so that $LINENO is not a special case at line end.
30006 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
30007 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
30008 sed '=' <$as_myself |
30013 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
30016 s,^['$as_cr_digits']*\n,,
30017 ' >$as_me.lineno
&&
30018 chmod +x
$as_me.lineno
||
30019 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
30020 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
30021 { (exit 1); exit 1; }; }
30023 # Don't try to exec as it changes $[0], causing all sort of problems
30024 # (the dirname of $[0] is not the place where we might find the
30025 # original and so on. Autoconf is especially sensible to this).
30027 # Exit status is that of the last command.
30032 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
30033 *c
*,-n*) ECHO_N
= ECHO_C
='
30035 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
30036 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
30039 if expr a
: '\(a\)' >/dev
/null
2>&1; then
30045 rm -f conf$$ conf$$.exe conf$$.
file
30047 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
30048 # We could just check for DJGPP; but this test a) works b) is more generic
30049 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
30050 if test -f conf$$.exe
; then
30051 # Don't use ln at all; we don't have any links
30056 elif ln conf$$.
file conf$$
2>/dev
/null
; then
30061 rm -f conf$$ conf$$.exe conf$$.
file
30063 as_executable_p
="test -f"
30065 # Sed expression to map a string onto a valid CPP name.
30066 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
30068 # Sed expression to map a string onto a valid variable name.
30069 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
30073 # We need space, tab and new line, in precisely that order.
30079 $as_unset CDPATH
|| test "${CDPATH+set}" != set || { CDPATH
=$PATH_SEPARATOR; export CDPATH
; }
30083 # Open the log real soon, to keep \$[0] and so on meaningful, and to
30084 # report actual input values of CONFIG_FILES etc. instead of their
30085 # values after options handling. Logging --version etc. is OK.
30089 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
30090 ## Running $as_me. ##
30095 This file was extended by $as_me, which was
30096 generated by GNU Autoconf 2.53. Invocation command line was
30098 CONFIG_FILES = $CONFIG_FILES
30099 CONFIG_HEADERS = $CONFIG_HEADERS
30100 CONFIG_LINKS = $CONFIG_LINKS
30101 CONFIG_COMMANDS = $CONFIG_COMMANDS
30105 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
30109 # Files that config.status was made for.
30110 if test -n "$ac_config_files"; then
30111 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
30114 if test -n "$ac_config_headers"; then
30115 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
30118 if test -n "$ac_config_links"; then
30119 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
30122 if test -n "$ac_config_commands"; then
30123 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
30126 cat >>$CONFIG_STATUS <<\_ACEOF
30129 \`$as_me' instantiates files from templates according to the
30130 current configuration.
30132 Usage: $0 [OPTIONS] [FILE]...
30134 -h, --help print this help, then exit
30135 -V, --version print version number, then exit
30136 -d, --debug don't remove temporary files
30137 --recheck update $as_me by reconfiguring in the same conditions
30138 --file=FILE[:TEMPLATE]
30139 instantiate the configuration file FILE
30140 --header=FILE[:TEMPLATE]
30141 instantiate the configuration header FILE
30143 Configuration files:
30146 Configuration headers:
30149 Configuration commands:
30152 Report bugs to <bug-autoconf@gnu.org>."
30155 cat >>$CONFIG_STATUS <<_ACEOF
30158 configured by $0, generated by GNU Autoconf 2.53,
30159 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
30161 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
30162 Free Software Foundation, Inc.
30163 This config.status script is free software; the Free Software Foundation
30164 gives unlimited permission to copy, distribute and modify it."
30169 cat >>$CONFIG_STATUS <<\_ACEOF
30170 # If no file are specified by the user, then we need to provide default
30171 # value. By we need to know if files were specified by the user.
30177 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
30178 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
30180 set dummy
"$ac_option" "$ac_optarg" ${1+"$@"}
30184 *) # This is not an option, so the user has probably given explicit
30186 ac_need_defaults
=false
;;
30190 # Handling of the options.
30192 cat >>$CONFIG_STATUS <<_ACEOF
30193 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
30194 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
30195 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
30197 cat >>$CONFIG_STATUS <<\_ACEOF
30198 --version | --vers* | -V )
30199 echo "$ac_cs_version"; exit 0 ;;
30201 # Conflict between --help and --header
30202 { { echo "$as_me:$LINENO: error: ambiguous option: $1
30203 Try \`$0 --help' for more information." >&5
30204 echo "$as_me: error: ambiguous option: $1
30205 Try \`$0 --help' for more information." >&2;}
30206 { (exit 1); exit 1; }; };;
30207 --help | --hel | -h )
30208 echo "$ac_cs_usage"; exit 0 ;;
30209 --debug | --d* | -d )
30211 --file | --fil | --fi | --f )
30213 CONFIG_FILES
="$CONFIG_FILES $1"
30214 ac_need_defaults
=false
;;
30215 --header | --heade | --head | --hea )
30217 CONFIG_HEADERS
="$CONFIG_HEADERS $1"
30218 ac_need_defaults
=false
;;
30220 # This is an error.
30221 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
30222 Try \`$0 --help' for more information." >&5
30223 echo "$as_me: error: unrecognized option: $1
30224 Try \`$0 --help' for more information." >&2;}
30225 { (exit 1); exit 1; }; } ;;
30227 *) ac_config_targets
="$ac_config_targets $1" ;;
30235 cat >>$CONFIG_STATUS <<_ACEOF
30237 # INIT-COMMANDS section.
30241 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
30250 cat >>$CONFIG_STATUS <<\_ACEOF
30251 for ac_config_target
in $ac_config_targets
30253 case "$ac_config_target" in
30254 # Handling of arguments.
30255 "wx-config" ) CONFIG_FILES
="$CONFIG_FILES wx-config" ;;
30256 "src/make.env" ) CONFIG_FILES
="$CONFIG_FILES src/make.env" ;;
30257 "src/makeprog.env" ) CONFIG_FILES
="$CONFIG_FILES src/makeprog.env" ;;
30258 "src/makelib.env" ) CONFIG_FILES
="$CONFIG_FILES src/makelib.env" ;;
30259 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
30260 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
30261 "setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS setup.h:setup.h.in" ;;
30262 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
30263 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
30264 { (exit 1); exit 1; }; };;
30268 # If the user did not use the arguments to specify the items to instantiate,
30269 # then the envvar interface is used. Set only those that are not.
30270 # We use the long form for the default assignment because of an extremely
30271 # bizarre bug on SunOS 4.1.3.
30272 if $ac_need_defaults; then
30273 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
30274 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
30275 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
30278 # Create a temporary directory, and hook for its removal unless debugging.
30281 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
30282 trap '{ (exit 1); exit 1; }' 1 2 13 15
30285 # Create a (secure) tmp directory for tmp files.
30288 tmp
=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
30289 test -n "$tmp" && test -d "$tmp"
30292 tmp
=$TMPDIR/cs$$
-$RANDOM
30293 (umask 077 && mkdir $tmp)
30296 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
30297 { (exit 1); exit 1; }
30302 cat >>$CONFIG_STATUS <<_ACEOF
30305 # CONFIG_FILES section.
30308 # No need to generate the scripts if there are no CONFIG_FILES.
30309 # This happens for instance when ./config.status config.h
30310 if test -n "\$CONFIG_FILES"; then
30311 # Protect against being on the right side of a sed subst in config.status.
30312 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
30313 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
30314 s,@SHELL@,$SHELL,;t t
30315 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
30316 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
30317 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
30318 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
30319 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
30320 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
30321 s,@exec_prefix@,$exec_prefix,;t t
30322 s,@prefix@,$prefix,;t t
30323 s,@program_transform_name@,$program_transform_name,;t t
30324 s,@bindir@,$bindir,;t t
30325 s,@sbindir@,$sbindir,;t t
30326 s,@libexecdir@,$libexecdir,;t t
30327 s,@datadir@,$datadir,;t t
30328 s,@sysconfdir@,$sysconfdir,;t t
30329 s,@sharedstatedir@,$sharedstatedir,;t t
30330 s,@localstatedir@,$localstatedir,;t t
30331 s,@libdir@,$libdir,;t t
30332 s,@includedir@,$includedir,;t t
30333 s,@oldincludedir@,$oldincludedir,;t t
30334 s,@infodir@,$infodir,;t t
30335 s,@mandir@,$mandir,;t t
30336 s,@build_alias@,$build_alias,;t t
30337 s,@host_alias@,$host_alias,;t t
30338 s,@target_alias@,$target_alias,;t t
30339 s,@DEFS@,$DEFS,;t t
30340 s,@ECHO_C@,$ECHO_C,;t t
30341 s,@ECHO_N@,$ECHO_N,;t t
30342 s,@ECHO_T@,$ECHO_T,;t t
30343 s,@LIBS@,$LIBS,;t t
30344 s,@build@,$build,;t t
30345 s,@build_cpu@,$build_cpu,;t t
30346 s,@build_vendor@,$build_vendor,;t t
30347 s,@build_os@,$build_os,;t t
30348 s,@host@,$host,;t t
30349 s,@host_cpu@,$host_cpu,;t t
30350 s,@host_vendor@,$host_vendor,;t t
30351 s,@host_os@,$host_os,;t t
30352 s,@target@,$target,;t t
30353 s,@target_cpu@,$target_cpu,;t t
30354 s,@target_vendor@,$target_vendor,;t t
30355 s,@target_os@,$target_os,;t t
30357 s,@CFLAGS@,$CFLAGS,;t t
30358 s,@LDFLAGS@,$LDFLAGS,;t t
30359 s,@CPPFLAGS@,$CPPFLAGS,;t t
30360 s,@ac_ct_CC@,$ac_ct_CC,;t t
30361 s,@EXEEXT@,$EXEEXT,;t t
30362 s,@OBJEXT@,$OBJEXT,;t t
30365 s,@CXXFLAGS@,$CXXFLAGS,;t t
30366 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
30367 s,@RANLIB@,$RANLIB,;t t
30368 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
30370 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
30371 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
30372 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
30373 s,@STRIP@,$STRIP,;t t
30374 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
30375 s,@YACC@,$YACC,;t t
30377 s,@LEXLIB@,$LEXLIB,;t t
30378 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
30379 s,@LN_S@,$LN_S,;t t
30380 s,@CXXCPP@,$CXXCPP,;t t
30381 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
30382 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
30383 s,@GTK_LIBS@,$GTK_LIBS,;t t
30384 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
30385 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
30386 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
30387 s,@X_CFLAGS@,$X_CFLAGS,;t t
30388 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
30389 s,@X_LIBS@,$X_LIBS,;t t
30390 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
30391 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
30392 s,@RESCOMP@,$RESCOMP,;t t
30393 s,@DEREZ@,$DEREZ,;t t
30394 s,@LIBICONV@,$LIBICONV,;t t
30395 s,@LEX_STEM@,$LEX_STEM,;t t
30396 s,@PATH_IFS@,$PATH_IFS,;t t
30397 s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
30398 s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
30399 s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
30400 s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
30401 s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
30402 s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
30403 s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
30404 s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
30405 s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
30406 s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
30407 s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
30408 s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
30409 s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
30410 s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
30411 s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
30412 s,@WX_ALL@,$WX_ALL,;t t
30413 s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
30414 s,@SHARED_LD@,$SHARED_LD,;t t
30415 s,@PIC_FLAG@,$PIC_FLAG,;t t
30416 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
30417 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
30418 s,@SONAME_FLAGS@,$SONAME_FLAGS,;t t
30419 s,@SONAME_FLAGS_GL@,$SONAME_FLAGS_GL,;t t
30420 s,@WX_TARGET_LIBRARY_SONAME@,$WX_TARGET_LIBRARY_SONAME,;t t
30421 s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
30422 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
30423 s,@USE_GUI@,$USE_GUI,;t t
30424 s,@AFMINSTALL@,$AFMINSTALL,;t t
30425 s,@TOOLKIT@,$TOOLKIT,;t t
30426 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
30427 s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
30428 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
30429 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
30430 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
30431 s,@cross_compiling@,$cross_compiling,;t t
30432 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
30433 s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
30434 s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
30435 s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
30436 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
30437 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
30438 s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
30439 s,@ALL_HEADERS@,$ALL_HEADERS,;t t
30440 s,@ALL_SOURCES@,$ALL_SOURCES,;t t
30441 s,@GUIDIST@,$GUIDIST,;t t
30442 s,@PORT_FILES@,$PORT_FILES,;t t
30443 s,@DISTDIR@,$DISTDIR,;t t
30444 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
30445 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
30446 s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
30447 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
30448 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
30449 s,@EXTRADEFS@,$EXTRADEFS,;t t
30450 s,@RESFLAGS@,$RESFLAGS,;t t
30451 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
30452 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
30453 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
30454 s,@MACOSX_BUNDLE@,$MACOSX_BUNDLE,;t t
30455 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
30456 s,@LIBWXMACRESCOMP@,$LIBWXMACRESCOMP,;t t
30457 s,@LIBWXMACRESWXCONFIG@,$LIBWXMACRESWXCONFIG,;t t
30458 s,@DLLTOOL@,$DLLTOOL,;t t
30462 s,@MAKEINFO@,$MAKEINFO,;t t
30463 s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
30464 s,@SET_MAKE@,$SET_MAKE,;t t
30465 s,@subdirs@,$subdirs,;t t
30470 cat >>$CONFIG_STATUS <<\_ACEOF
30471 # Split the substitutions into bite-sized pieces for seds with
30472 # small command number limits, like on Digital OSF/1 and HP-UX.
30473 ac_max_sed_lines
=48
30474 ac_sed_frag
=1 # Number of current file.
30475 ac_beg
=1 # First line for current file.
30476 ac_end
=$ac_max_sed_lines # Line after last line for current file.
30479 while $ac_more_lines; do
30480 if test $ac_beg -gt 1; then
30481 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
30483 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
30485 if test ! -s $tmp/subs.frag
; then
30486 ac_more_lines
=false
30488 # The purpose of the label and of the branching condition is to
30489 # speed up the sed processing (if there are no `@' at all, there
30490 # is no need to browse any of the substitutions).
30491 # These are the two extra sed commands mentioned above.
30493 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
30494 if test -z "$ac_sed_cmds"; then
30495 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
30497 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
30499 ac_sed_frag
=`expr $ac_sed_frag + 1`
30501 ac_end
=`expr $ac_end + $ac_max_sed_lines`
30504 if test -z "$ac_sed_cmds"; then
30507 fi # test -n "$CONFIG_FILES"
30510 cat >>$CONFIG_STATUS <<\_ACEOF
30511 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
30512 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
30514 - | *:- | *:-:* ) # input from stdin
30516 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
30517 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
30518 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
30519 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
30520 * ) ac_file_in
=$ac_file.
in ;;
30523 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
30524 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
30525 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30526 X"$ac_file" : 'X\(//\)[^/]' \| \
30527 X"$ac_file" : 'X\(//\)$' \| \
30528 X"$ac_file" : 'X\(/\)' \| \
30529 . : '\(.\)' 2>/dev/null ||
30531 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30532 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30533 /^X\(\/\/\)$/{ s//\1/; q; }
30534 /^X\(\/\).*/{ s//\1/; q; }
30536 { case "$ac_dir" in
30537 [\\/]* | ?
:[\\/]* ) as_incr_dir
=;;
30541 for as_mkdir_dir
in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
30542 case $as_mkdir_dir in
30543 # Skip DOS drivespec
30544 ?
:) as_incr_dir
=$as_mkdir_dir ;;
30546 as_incr_dir
=$as_incr_dir/$as_mkdir_dir
30547 test -d "$as_incr_dir" ||
30548 mkdir "$as_incr_dir" ||
30549 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
30550 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
30551 { (exit 1); exit 1; }; }
30558 if test "$ac_dir" != .
; then
30559 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
30560 # A "../" for each directory in $ac_dir_suffix.
30561 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
30563 ac_dir_suffix
= ac_top_builddir
=
30567 .
) # No --srcdir option. We are building in place.
30569 if test -z "$ac_top_builddir"; then
30572 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
30574 [\\/]* | ?
:[\\/]* ) # Absolute path.
30575 ac_srcdir
=$srcdir$ac_dir_suffix;
30576 ac_top_srcdir
=$srcdir ;;
30577 *) # Relative path.
30578 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
30579 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
30581 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
30583 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
30584 ac_abs_top_builddir
=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
30585 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
30586 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
30590 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
30591 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
30594 if test x
"$ac_file" != x
-; then
30595 { echo "$as_me:$LINENO: creating $ac_file" >&5
30596 echo "$as_me: creating $ac_file" >&6;}
30599 # Let's still pretend it is `configure' which instantiates (i.e., don't
30600 # use $as_me), people would be surprised to read:
30601 # /* config.h. Generated by config.status. */
30602 if test x
"$ac_file" = x
-; then
30605 configure_input
="$ac_file. "
30607 configure_input
=$configure_input"Generated from `echo $ac_file_in |
30608 sed 's,.*/,,'` by configure."
30610 # First look for the input files in the build tree, otherwise in the
30612 ac_file_inputs
=`IFS=:
30613 for f in $ac_file_in; do
30615 -) echo $tmp/stdin ;;
30617 # Absolute (can't be DOS-style, as IFS=:)
30618 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
30619 echo "$as_me: error: cannot find input file: $f" >&2;}
30620 { (exit 1); exit 1; }; }
30623 if test -f "$f"; then
30626 elif test -f "$srcdir/$f"; then
30631 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
30632 echo "$as_me: error: cannot find input file: $f" >&2;}
30633 { (exit 1); exit 1; }; }
30636 done` || { (exit 1); exit 1; }
30638 cat >>$CONFIG_STATUS <<_ACEOF
30642 cat >>$CONFIG_STATUS <<\_ACEOF
30644 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
30645 s
,@configure_input@
,$configure_input,;t t
30646 s
,@srcdir@
,$ac_srcdir,;t t
30647 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
30648 s
,@top_srcdir@
,$ac_top_srcdir,;t t
30649 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
30650 s
,@builddir@
,$ac_builddir,;t t
30651 s
,@abs_builddir@
,$ac_abs_builddir,;t t
30652 s
,@top_builddir@
,$ac_top_builddir,;t t
30653 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
30654 s
,@INSTALL@
,$ac_INSTALL,;t t
30655 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
30657 if test x"$ac_file" != x-; then
30658 mv $tmp/out $ac_file
30666 cat >>$CONFIG_STATUS <<\_ACEOF
30669 # CONFIG_HEADER section.
30672 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
30673 # NAME is the cpp macro being defined and VALUE is the value it is being given.
30675 # ac_d sets the value in "#define NAME VALUE" lines.
30676 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
30677 ac_dB
='[ ].*$,\1#\2'
30680 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
30681 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
30682 ac_uB
='$,\1#\2define\3'
30686 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
30687 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
30689 - | *:- | *:-:* ) # input from stdin
30691 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
30692 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
30693 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
30694 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
30695 * ) ac_file_in
=$ac_file.
in ;;
30698 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
30699 echo "$as_me: creating $ac_file" >&6;}
30701 # First look for the input files in the build tree, otherwise in the
30703 ac_file_inputs
=`IFS=:
30704 for f in $ac_file_in; do
30706 -) echo $tmp/stdin ;;
30708 # Absolute (can't be DOS-style, as IFS=:)
30709 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
30710 echo "$as_me: error: cannot find input file: $f" >&2;}
30711 { (exit 1); exit 1; }; }
30714 if test -f "$f"; then
30717 elif test -f "$srcdir/$f"; then
30722 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
30723 echo "$as_me: error: cannot find input file: $f" >&2;}
30724 { (exit 1); exit 1; }; }
30727 done` || { (exit 1); exit 1; }
30728 # Remove the trailing spaces.
30729 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
30733 # Transform confdefs.h into two sed scripts, `conftest.defines' and
30734 # `conftest.undefs', that substitutes the proper values into
30735 # config.h.in to produce config.h. The first handles `#define'
30736 # templates, and the second `#undef' templates.
30737 # And first: Protect against being on the right side of a sed subst in
30738 # config.status. Protect against being in an unquoted here document
30739 # in config.status.
30740 rm -f conftest.defines conftest.undefs
30741 # Using a here document instead of a string reduces the quoting nightmare.
30742 # Putting comments in sed scripts is not portable.
30744 # `end' is used to avoid that the second main sed command (meant for
30745 # 0-ary CPP macros) applies to n-ary macro definitions.
30746 # See the Autoconf documentation for `clear'.
30747 cat >confdef2sed.
sed <<\_ACEOF
30752 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
30754 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
30757 # If some macros were called several times there might be several times
30758 # the same #defines, which is useless. Nevertheless, we may not want to
30759 # sort them, since we want the *last* AC-DEFINE to be honored.
30760 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
30761 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
30762 rm -f confdef2sed.sed
30764 # This sed command replaces #undef with comments. This is necessary, for
30765 # example, in the case of _POSIX_SOURCE, which is predefined and required
30766 # on some systems where configure will not decide to define it.
30767 cat >>conftest.undefs <<\_ACEOF
30768 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
30771 # Break up conftest.defines because some shells have a limit on the size
30772 # of here documents, and old seds have small limits too (100 cmds).
30773 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
30774 echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
30775 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
30776 echo ' :' >>$CONFIG_STATUS
30777 rm -f conftest.tail
30778 while grep . conftest.defines >/dev/null
30780 # Write a limited-size here document to $tmp/defines.sed.
30781 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
30782 # Speed up: don't consider the non `#define' lines.
30783 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
30784 # Work around the forget-to-reset-the-flag bug.
30785 echo 't clr' >>$CONFIG_STATUS
30786 echo ': clr' >>$CONFIG_STATUS
30787 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
30789 sed -f $tmp/defines.sed $tmp/in >$tmp/out
30791 mv $tmp/out $tmp/in
30793 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
30794 rm -f conftest.defines
30795 mv conftest.
tail conftest.defines
30797 rm -f conftest.defines
30798 echo ' fi # egrep' >>$CONFIG_STATUS
30799 echo >>$CONFIG_STATUS
30801 # Break up conftest.undefs because some shells have a limit on the size
30802 # of here documents, and old seds have small limits too (100 cmds).
30803 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
30804 rm -f conftest.
tail
30805 while grep . conftest.undefs
>/dev
/null
30807 # Write a limited-size here document to $tmp/undefs.sed.
30808 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
30809 # Speed up: don't consider the non
`#undef'
30810 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
30811 # Work around the forget-to-reset-the-flag bug.
30812 echo 't clr' >>$CONFIG_STATUS
30813 echo ': clr' >>$CONFIG_STATUS
30814 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
30816 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
30818 mv $tmp/out $tmp/in
30820 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
30821 rm -f conftest.undefs
30822 mv conftest.tail conftest.undefs
30824 rm -f conftest.undefs
30826 cat >>$CONFIG_STATUS <<\_ACEOF
30827 # Let's still pretend it is `configure
' which instantiates (i.e., don't
30828 # use $as_me), people would be surprised to read:
30829 # /* config.h. Generated by config.status. */
30830 if test x
"$ac_file" = x
-; then
30831 echo "/* Generated by configure. */" >$tmp/config.h
30833 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
30835 cat $tmp/in >>$tmp/config.h
30837 if test x
"$ac_file" != x
-; then
30838 if cmp -s $ac_file $tmp/config.h
2>/dev
/null
; then
30839 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
30840 echo "$as_me: $ac_file is unchanged" >&6;}
30842 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
30843 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30844 X"$ac_file" : 'X\(//\)[^/]' \| \
30845 X"$ac_file" : 'X\(//\)$' \| \
30846 X"$ac_file" : 'X\(/\)' \| \
30847 . : '\(.\)' 2>/dev/null ||
30849 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30850 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30851 /^X\(\/\/\)$/{ s//\1/; q; }
30852 /^X\(\/\).*/{ s//\1/; q; }
30854 { case "$ac_dir" in
30855 [\\/]* | ?
:[\\/]* ) as_incr_dir
=;;
30859 for as_mkdir_dir
in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
30860 case $as_mkdir_dir in
30861 # Skip DOS drivespec
30862 ?
:) as_incr_dir
=$as_mkdir_dir ;;
30864 as_incr_dir
=$as_incr_dir/$as_mkdir_dir
30865 test -d "$as_incr_dir" ||
30866 mkdir "$as_incr_dir" ||
30867 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
30868 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
30869 { (exit 1); exit 1; }; }
30875 mv $tmp/config.h
$ac_file
30879 rm -f $tmp/config.h
30883 cat >>$CONFIG_STATUS <<\_ACEOF
30886 # CONFIG_COMMANDS section.
30888 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
30889 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
30890 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
30891 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
30892 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30893 X"$ac_dest" : 'X\(//\)[^/]' \| \
30894 X"$ac_dest" : 'X\(//\)$' \| \
30895 X"$ac_dest" : 'X\(/\)' \| \
30896 . : '\(.\)' 2>/dev/null ||
30898 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30899 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30900 /^X\(\/\/\)$/{ s//\1/; q; }
30901 /^X\(\/\).*/{ s//\1/; q; }
30905 if test "$ac_dir" != .
; then
30906 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
30907 # A "../" for each directory in $ac_dir_suffix.
30908 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
30910 ac_dir_suffix
= ac_top_builddir
=
30914 .
) # No --srcdir option. We are building in place.
30916 if test -z "$ac_top_builddir"; then
30919 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
30921 [\\/]* | ?
:[\\/]* ) # Absolute path.
30922 ac_srcdir
=$srcdir$ac_dir_suffix;
30923 ac_top_srcdir
=$srcdir ;;
30924 *) # Relative path.
30925 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
30926 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
30928 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
30930 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
30931 ac_abs_top_builddir
=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
30932 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
30933 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
30936 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
30937 echo "$as_me: executing $ac_dest commands" >&6;}
30940 if test ! -h wx
-config; then
30942 mv wx
-config wx
${TOOLCHAIN_NAME}-config
30943 ${LN_S} wx
${TOOLCHAIN_NAME}-config wx
-config
30946 if test ! -d lib
; then
30949 if test ! -d lib
/wx
; then
30952 if test ! -d lib
/wx
/include
; then
30953 mkdir lib
/wx
/include
30955 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}; then
30956 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}
30958 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
; then
30959 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
30961 if test -f setup.h
; then
30962 mv -f setup.h lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
30969 cat >>$CONFIG_STATUS <<\_ACEOF
30971 { (exit 0); exit 0; }
30973 chmod +x
$CONFIG_STATUS
30974 ac_clean_files
=$ac_clean_files_save
30977 # configure is writing to config.log, and then calls config.status.
30978 # config.status does its own redirection, appending to config.log.
30979 # Unfortunately, on DOS this fails, as config.log is still kept open
30980 # by configure, so config.status won't be able to write to it; its
30981 # output is simply discarded. So we exec the FD to /dev/null,
30982 # effectively closing config.log, so it can be properly (re)opened and
30983 # appended to by config.status. When coming back to configure, we
30984 # need to make the FD available again.
30985 if test "$no_create" != yes; then
30988 $SHELL $CONFIG_STATUS || ac_cs_success
=false
30990 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
30991 # would make configure fail if this is the last instruction.
30992 $ac_cs_success || { (exit 1); exit 1; }
30996 # CONFIG_SUBDIRS section.
30998 if test "$no_recursion" != yes; then
31000 # Remove --cache-file and --srcdir arguments so they do not pile up.
31001 ac_sub_configure_args
=
31003 for ac_arg
in $ac_configure_args; do
31004 if test -n "$ac_prev"; then
31009 -cache-file | --cache-file | --cache-fil | --cache-fi \
31010 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
31011 ac_prev
=cache_file
;;
31012 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
31013 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
31016 --config-cache | -C)
31018 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
31020 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
31022 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
31024 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
31026 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
31030 # Always prepend --prefix to ensure using the same prefix
31031 # in subdir configurations.
31032 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
31035 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
31037 # Do not complain, so a configure script can configure whichever
31038 # parts of a large source tree are present.
31039 test -d $srcdir/$ac_dir || continue
31041 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
31042 echo "$as_me: configuring in $ac_dir" >&6;}
31043 { case "$ac_dir" in
31044 [\\/]* | ?
:[\\/]* ) as_incr_dir
=;;
31048 for as_mkdir_dir
in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
31049 case $as_mkdir_dir in
31050 # Skip DOS drivespec
31051 ?
:) as_incr_dir
=$as_mkdir_dir ;;
31053 as_incr_dir
=$as_incr_dir/$as_mkdir_dir
31054 test -d "$as_incr_dir" ||
31055 mkdir "$as_incr_dir" ||
31056 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
31057 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
31058 { (exit 1); exit 1; }; }
31065 if test "$ac_dir" != .
; then
31066 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
31067 # A "../" for each directory in $ac_dir_suffix.
31068 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
31070 ac_dir_suffix
= ac_top_builddir
=
31074 .
) # No --srcdir option. We are building in place.
31076 if test -z "$ac_top_builddir"; then
31079 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
31081 [\\/]* | ?
:[\\/]* ) # Absolute path.
31082 ac_srcdir
=$srcdir$ac_dir_suffix;
31083 ac_top_srcdir
=$srcdir ;;
31084 *) # Relative path.
31085 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
31086 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
31088 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
31090 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
31091 ac_abs_top_builddir
=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
31092 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
31093 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
31098 # Check for guested configure; otherwise get Cygnus style configure.
31099 if test -f $ac_srcdir/configure.gnu
; then
31100 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
31101 elif test -f $ac_srcdir/configure
; then
31102 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
31103 elif test -f $ac_srcdir/configure.
in; then
31104 ac_sub_configure
=$ac_configure
31106 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
31107 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
31111 # The recursion is here.
31112 if test -n "$ac_sub_configure"; then
31113 # Make the cache file name correct relative to the subdirectory.
31114 case $cache_file in
31115 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
31116 *) # Relative path.
31117 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
31120 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
31121 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
31122 # The eval makes quoting arguments work.
31123 eval $ac_sub_configure $ac_sub_configure_args \
31124 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
31125 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
31126 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
31127 { (exit 1); exit 1; }; }