2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by Autoconf 2.52.
6 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
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 # Avoid depending upon Character Ranges.
12 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
13 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15 as_cr_digits
='0123456789'
16 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18 # Sed expression to map a string onto a valid variable name.
19 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
21 # Sed expression to map a string onto a valid CPP name.
22 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
24 # Be Bourne compatible
25 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
28 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
32 # Name of the executable.
33 as_me
=`echo "$0" |sed 's,.*[\\/],,'`
35 if expr a
: '\(a\)' >/dev
/null
2>&1; then
41 rm -f conf$$ conf$$.exe conf$$.
file
43 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
44 # We could just check for DJGPP; but this test a) works b) is more generic
45 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
46 if test -f conf$$.exe
; then
47 # Don't use ln at all; we don't have any links
52 elif ln conf$$.
file conf$$
2>/dev
/null
; then
57 rm -f conf$$ conf$$.exe conf$$.
file
59 as_executable_p
="test -f"
61 # Support unset when possible.
62 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
69 $as_unset LANG
|| test "${LANG+set}" != set || { LANG
=C
; export LANG
; }
70 $as_unset LC_ALL
|| test "${LC_ALL+set}" != set || { LC_ALL
=C
; export LC_ALL
; }
71 $as_unset LC_TIME
|| test "${LC_TIME+set}" != set || { LC_TIME
=C
; export LC_TIME
; }
72 $as_unset LC_CTYPE
|| test "${LC_CTYPE+set}" != set || { LC_CTYPE
=C
; export LC_CTYPE
; }
73 $as_unset LANGUAGE
|| test "${LANGUAGE+set}" != set || { LANGUAGE
=C
; export LANGUAGE
; }
74 $as_unset LC_COLLATE
|| test "${LC_COLLATE+set}" != set || { LC_COLLATE
=C
; export LC_COLLATE
; }
75 $as_unset LC_NUMERIC
|| test "${LC_NUMERIC+set}" != set || { LC_NUMERIC
=C
; export LC_NUMERIC
; }
76 $as_unset LC_MESSAGES
|| test "${LC_MESSAGES+set}" != set || { LC_MESSAGES
=C
; export LC_MESSAGES
; }
79 # We need space, tab and new line, in precisely that order.
85 $as_unset CDPATH
|| test "${CDPATH+set}" != set || { CDPATH
=:; export CDPATH
; }
88 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
89 # so uname gets run too.
90 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
97 ac_default_prefix
=/usr
/local
101 SHELL
=${CONFIG_SHELL-/bin/sh}
103 # Maximum number of lines to put in a shell here document.
104 # This variable seems obsolete. It should probably be removed, and
105 # only ac_max_sed_lines should be used.
106 : ${ac_max_here_lines=38}
108 ac_unique_file
="wx-config.in"
109 # Factoring default headers for most tests.
110 ac_includes_default
="\
113 # include <sys/types.h>
116 # include <sys/stat.h>
127 # if !STDC_HEADERS && HAVE_MEMORY_H
133 # include <strings.h>
136 # include <inttypes.h>
146 ac_subdirs_all
="$ac_subdirs_all demos samples utils contrib"
148 # Initialize some variables set by options.
150 ac_init_version
=false
151 # The variables have the same names as the options, with
152 # dashes changed to underlines.
160 program_transform_name
=s
,x
,x
,
168 # Installation directory options.
169 # These are left unexpanded so users can "make install exec_prefix=/foo"
170 # and all the variables that are supposed to be based on exec_prefix
171 # by default will actually change.
172 # Use braces instead of parens because sh, perl, etc. also accept them.
173 bindir
='${exec_prefix}/bin'
174 sbindir
='${exec_prefix}/sbin'
175 libexecdir
='${exec_prefix}/libexec'
176 datadir
='${prefix}/share'
177 sysconfdir
='${prefix}/etc'
178 sharedstatedir
='${prefix}/com'
179 localstatedir
='${prefix}/var'
180 libdir
='${exec_prefix}/lib'
181 includedir
='${prefix}/include'
182 oldincludedir
='/usr/include'
183 infodir
='${prefix}/info'
184 mandir
='${prefix}/man'
186 # Identity of this package.
196 # If the previous option needs an argument, assign it.
197 if test -n "$ac_prev"; then
198 eval "$ac_prev=\$ac_option"
203 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
205 # Accept the important Cygnus configure options, so we can diagnose typos.
209 -bindir | --bindir | --bindi | --bind | --bin | --bi)
211 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
214 -build | --build | --buil | --bui | --bu)
215 ac_prev
=build_alias
;;
216 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
217 build_alias
=$ac_optarg ;;
219 -cache-file | --cache-file | --cache-fil | --cache-fi \
220 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
221 ac_prev
=cache_file
;;
222 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
223 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
224 cache_file
=$ac_optarg ;;
227 cache_file
=config.cache
;;
229 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
231 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
233 datadir
=$ac_optarg ;;
235 -disable-* | --disable-*)
236 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
237 # Reject names that are not valid shell variable names.
238 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
239 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
240 { (exit 1); exit 1; }; }
241 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
242 eval "enable_$ac_feature=no" ;;
244 -enable-* | --enable-*)
245 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
246 # Reject names that are not valid shell variable names.
247 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
248 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
249 { (exit 1); exit 1; }; }
250 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
252 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
255 eval "enable_$ac_feature='$ac_optarg'" ;;
257 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
258 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
259 | --exec | --exe | --ex)
260 ac_prev
=exec_prefix
;;
261 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
262 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
263 | --exec=* | --exe=* | --ex=*)
264 exec_prefix
=$ac_optarg ;;
266 -gas | --gas | --ga | --g)
267 # Obsolete; use --with-gas.
270 -help | --help | --hel | --he | -h)
272 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
273 ac_init_help
=recursive
;;
274 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
275 ac_init_help
=short
;;
277 -host | --host | --hos | --ho)
278 ac_prev
=host_alias
;;
279 -host=* | --host=* | --hos=* | --ho=*)
280 host_alias
=$ac_optarg ;;
282 -includedir | --includedir | --includedi | --included | --include \
283 | --includ | --inclu | --incl | --inc)
284 ac_prev
=includedir
;;
285 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
286 | --includ=* | --inclu=* | --incl=* | --inc=*)
287 includedir
=$ac_optarg ;;
289 -infodir | --infodir | --infodi | --infod | --info | --inf)
291 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
292 infodir
=$ac_optarg ;;
294 -libdir | --libdir | --libdi | --libd)
296 -libdir=* | --libdir=* | --libdi=* | --libd=*)
299 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
300 | --libexe | --libex | --libe)
301 ac_prev
=libexecdir
;;
302 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
303 | --libexe=* | --libex=* | --libe=*)
304 libexecdir
=$ac_optarg ;;
306 -localstatedir | --localstatedir | --localstatedi | --localstated \
307 | --localstate | --localstat | --localsta | --localst \
308 | --locals | --local | --loca | --loc | --lo)
309 ac_prev
=localstatedir
;;
310 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
311 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
312 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
313 localstatedir
=$ac_optarg ;;
315 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
317 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
321 # Obsolete; use --without-fp.
324 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
328 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
329 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
332 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
333 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
334 | --oldin | --oldi | --old | --ol | --o)
335 ac_prev
=oldincludedir
;;
336 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
337 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
338 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
339 oldincludedir
=$ac_optarg ;;
341 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
343 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
346 -program-prefix | --program-prefix | --program-prefi | --program-pref \
347 | --program-pre | --program-pr | --program-p)
348 ac_prev
=program_prefix
;;
349 -program-prefix=* | --program-prefix=* | --program-prefi=* \
350 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
351 program_prefix
=$ac_optarg ;;
353 -program-suffix | --program-suffix | --program-suffi | --program-suff \
354 | --program-suf | --program-su | --program-s)
355 ac_prev
=program_suffix
;;
356 -program-suffix=* | --program-suffix=* | --program-suffi=* \
357 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
358 program_suffix
=$ac_optarg ;;
360 -program-transform-name | --program-transform-name \
361 | --program-transform-nam | --program-transform-na \
362 | --program-transform-n | --program-transform- \
363 | --program-transform | --program-transfor \
364 | --program-transfo | --program-transf \
365 | --program-trans | --program-tran \
366 | --progr-tra | --program-tr | --program-t)
367 ac_prev
=program_transform_name
;;
368 -program-transform-name=* | --program-transform-name=* \
369 | --program-transform-nam=* | --program-transform-na=* \
370 | --program-transform-n=* | --program-transform-=* \
371 | --program-transform=* | --program-transfor=* \
372 | --program-transfo=* | --program-transf=* \
373 | --program-trans=* | --program-tran=* \
374 | --progr-tra=* | --program-tr=* | --program-t=*)
375 program_transform_name
=$ac_optarg ;;
377 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
378 | -silent | --silent | --silen | --sile | --sil)
381 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
383 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
385 sbindir
=$ac_optarg ;;
387 -sharedstatedir | --sharedstatedir | --sharedstatedi \
388 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
389 | --sharedst | --shareds | --shared | --share | --shar \
391 ac_prev
=sharedstatedir
;;
392 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
393 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
394 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
396 sharedstatedir
=$ac_optarg ;;
398 -site | --site | --sit)
400 -site=* | --site=* | --sit=*)
403 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
405 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
408 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
409 | --syscon | --sysco | --sysc | --sys | --sy)
410 ac_prev
=sysconfdir
;;
411 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
412 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
413 sysconfdir
=$ac_optarg ;;
415 -target | --target | --targe | --targ | --tar | --ta | --t)
416 ac_prev
=target_alias
;;
417 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
418 target_alias
=$ac_optarg ;;
420 -v | -verbose | --verbose | --verbos | --verbo | --verb)
423 -version | --version | --versio | --versi | --vers | -V)
427 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
428 # Reject names that are not valid shell variable names.
429 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
430 { echo "$as_me: error: invalid package name: $ac_package" >&2
431 { (exit 1); exit 1; }; }
432 ac_package
=`echo $ac_package| sed 's/-/_/g'`
434 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
437 eval "with_$ac_package='$ac_optarg'" ;;
439 -without-* | --without-*)
440 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
441 # Reject names that are not valid shell variable names.
442 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
443 { echo "$as_me: error: invalid package name: $ac_package" >&2
444 { (exit 1); exit 1; }; }
445 ac_package
=`echo $ac_package | sed 's/-/_/g'`
446 eval "with_$ac_package=no" ;;
449 # Obsolete; use --with-x.
452 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
453 | --x-incl | --x-inc | --x-in | --x-i)
454 ac_prev
=x_includes
;;
455 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
456 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
457 x_includes
=$ac_optarg ;;
459 -x-libraries | --x-libraries | --x-librarie | --x-librari \
460 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
461 ac_prev
=x_libraries
;;
462 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
463 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
464 x_libraries
=$ac_optarg ;;
466 -*) { echo "$as_me: error: unrecognized option: $ac_option
467 Try \`$0 --help' for more information." >&2
468 { (exit 1); exit 1; }; }
472 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
473 # Reject names that are not valid shell variable names.
474 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
475 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
476 { (exit 1); exit 1; }; }
477 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
478 eval "$ac_envvar='$ac_optarg'"
482 # FIXME: should be removed in autoconf 3.0.
483 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
484 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
485 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
486 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
492 if test -n "$ac_prev"; then
493 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
494 { echo "$as_me: error: missing argument to $ac_option" >&2
495 { (exit 1); exit 1; }; }
498 # Be sure to have absolute paths.
499 for ac_var
in exec_prefix prefix
501 eval ac_val
=$
`echo $ac_var`
503 [\\/$
]* | ?
:[\\/]* | NONE
| '' ) ;;
504 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
505 { (exit 1); exit 1; }; };;
509 # Be sure to have absolute paths.
510 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
511 localstatedir libdir includedir oldincludedir infodir mandir
513 eval ac_val
=$
`echo $ac_var`
515 [\\/$
]* | ?
:[\\/]* ) ;;
516 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
517 { (exit 1); exit 1; }; };;
521 # There might be people who depend on the old broken behavior: `$host'
522 # used to hold the argument of --host etc.
527 # FIXME: should be removed in autoconf 3.0.
528 if test "x$host_alias" != x
; then
529 if test "x$build_alias" = x
; then
530 cross_compiling
=maybe
531 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
532 If a cross compiler is detected then cross compile mode will be used." >&2
533 elif test "x$build_alias" != "x$host_alias"; then
539 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
541 test "$silent" = yes && exec 6>/dev
/null
543 # Find the source files, if location was not specified.
544 if test -z "$srcdir"; then
545 ac_srcdir_defaulted
=yes
546 # Try the directory containing this script, then its parent.
548 ac_confdir
=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
549 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
551 if test ! -r $srcdir/$ac_unique_file; then
555 ac_srcdir_defaulted
=no
557 if test ! -r $srcdir/$ac_unique_file; then
558 if test "$ac_srcdir_defaulted" = yes; then
559 { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
560 { (exit 1); exit 1; }; }
562 { echo "$as_me: error: cannot find sources in $srcdir" >&2
563 { (exit 1); exit 1; }; }
566 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
567 ac_env_build_alias_set
=${build_alias+set}
568 ac_env_build_alias_value
=$build_alias
569 ac_cv_env_build_alias_set
=${build_alias+set}
570 ac_cv_env_build_alias_value
=$build_alias
571 ac_env_host_alias_set
=${host_alias+set}
572 ac_env_host_alias_value
=$host_alias
573 ac_cv_env_host_alias_set
=${host_alias+set}
574 ac_cv_env_host_alias_value
=$host_alias
575 ac_env_target_alias_set
=${target_alias+set}
576 ac_env_target_alias_value
=$target_alias
577 ac_cv_env_target_alias_set
=${target_alias+set}
578 ac_cv_env_target_alias_value
=$target_alias
579 ac_env_CC_set
=${CC+set}
581 ac_cv_env_CC_set
=${CC+set}
582 ac_cv_env_CC_value
=$CC
583 ac_env_CFLAGS_set
=${CFLAGS+set}
584 ac_env_CFLAGS_value
=$CFLAGS
585 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
586 ac_cv_env_CFLAGS_value
=$CFLAGS
587 ac_env_LDFLAGS_set
=${LDFLAGS+set}
588 ac_env_LDFLAGS_value
=$LDFLAGS
589 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
590 ac_cv_env_LDFLAGS_value
=$LDFLAGS
591 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
592 ac_env_CPPFLAGS_value
=$CPPFLAGS
593 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
594 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
595 ac_env_CPP_set
=${CPP+set}
596 ac_env_CPP_value
=$CPP
597 ac_cv_env_CPP_set
=${CPP+set}
598 ac_cv_env_CPP_value
=$CPP
599 ac_env_CXX_set
=${CXX+set}
600 ac_env_CXX_value
=$CXX
601 ac_cv_env_CXX_set
=${CXX+set}
602 ac_cv_env_CXX_value
=$CXX
603 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
604 ac_env_CXXFLAGS_value
=$CXXFLAGS
605 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
606 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
607 ac_env_CXXCPP_set
=${CXXCPP+set}
608 ac_env_CXXCPP_value
=$CXXCPP
609 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
610 ac_cv_env_CXXCPP_value
=$CXXCPP
613 # Report the --help message.
615 if test "$ac_init_help" = "long"; then
616 # Omit some internal or obsolete options to make the list less imposing.
617 # This message is too long to be a string in the A/UX 3.1 sh.
619 \`configure' configures this package to adapt to many kinds of systems.
621 Usage: $0 [OPTION]... [VAR=VALUE]...
623 To assign environment variables (e.g., CC, CFLAGS...), specify them as
624 VAR=VALUE. See below for descriptions of some of the useful variables.
626 Defaults for the options are specified in brackets.
629 -h, --help display this help and exit
630 --help=short display options specific to this package
631 --help=recursive display the short help of all the included packages
632 -V, --version display version information and exit
633 -q, --quiet, --silent do not print \`checking...' messages
634 --cache-file=FILE cache test results in FILE [disabled]
635 -C, --config-cache alias for \`--cache-file=config.cache'
636 -n, --no-create do not create output files
637 --srcdir=DIR find the sources in DIR [configure dir or \`..']
642 Installation directories:
643 --prefix=PREFIX install architecture-independent files in PREFIX
645 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
648 By default, \`make install' will install all the files in
649 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
650 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
651 for instance \`--prefix=\$HOME'.
653 For better control, use the options below.
655 Fine tuning of the installation directories:
656 --bindir=DIR user executables [EPREFIX/bin]
657 --sbindir=DIR system admin executables [EPREFIX/sbin]
658 --libexecdir=DIR program executables [EPREFIX/libexec]
659 --datadir=DIR read-only architecture-independent data [PREFIX/share]
660 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
661 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
662 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
663 --libdir=DIR object code libraries [EPREFIX/lib]
664 --includedir=DIR C header files [PREFIX/include]
665 --oldincludedir=DIR C header files for non-gcc [/usr/include]
666 --infodir=DIR info documentation [PREFIX/info]
667 --mandir=DIR man documentation [PREFIX/man]
673 --x-includes=DIR X include files are
in DIR
674 --x-libraries=DIR X library files are
in DIR
677 --build=BUILD configure
for building on BUILD
[guessed
]
678 --host=HOST build programs to run on HOST
[BUILD
]
679 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
683 if test -n "$ac_init_help"; then
688 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
689 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
690 --enable-gui use GUI classes
691 --enable-universal use wxWindows GUI controls instead of native ones
692 --enable-nanox use NanoX
693 --enable-gtk2 use GTK
+ 2.0 if available
(EXPERIMENTAL
)
694 --enable-shared create shared library code
695 --enable-soname set the DT_SONAME field
in ELF shared libraries
696 --enable-optimise create optimised code
697 --enable-debug same as debug_flag and debug_info
698 --enable-precomp enable use of precompiled headers
(Mac OS X
)
699 --enable-debug_flag set __WXDEBUG__ flag
(recommended
for developers
!)
700 --enable-debug_info create code with debugging information
701 --enable-debug_gdb create code with extra GDB debugging information
702 --enable-debug_cntxt use wxDebugContext
703 --enable-mem_tracing create code with memory tracing
704 --enable-profile create code with profiling information
705 --enable-no_rtti create code without RTTI information
706 --enable-no_exceptions create code without C
++ exceptions handling
707 --enable-permissive compile code disregarding strict ANSI
708 --enable-no_deps create code without dependency information
709 --enable-compat20 enable wxWindows
2.0 compatibility
710 --disable-compat22 disable wxWindows
2.2 compatibility
711 --enable-rpath=DIR output the rpath flag from wx
-config
712 --enable-intl use internationalization system
713 --enable-config use wxConfig
(and derived
) classes
714 --enable-protocols use wxProtocol and derived classes
715 --enable-ftp use wxFTP
(requires wxProtocol
716 --enable-http use wxHTTP
(requires wxProtocol
717 --enable-fileproto use wxFileProto class
(requires wxProtocol
718 --enable-sockets use socket
/network classes
719 --enable-ipc use interprocess communication
(wxSocket etc.
)
720 --enable-cmdline use wxCmdLineParser class
721 --enable-datetime use wxDateTime class
722 --enable-timedate use obsolete wxDate
/wxTime classes
723 --enable-stopwatch use wxStopWatch class
724 --enable-dialupman use dialup network classes
725 --enable-apple_ieee use the Apple IEEE codec
726 --enable-timer use wxTimer class
727 --enable-wave use wxWave class
728 --enable-fraction use wxFraction class
729 --enable-dynlib use wxLibrary class
for DLL loading
730 --enable-dynamicloader use
(new
) wxDynamicLibrary class
731 --enable-longlong use wxLongLong class
732 --enable-geometry use geometry class
733 --enable-log use logging system
734 --enable-streams use wxStream etc classes
735 --enable-file use wxFile classes
736 --enable-ffile use wxFFile classes
737 --enable-textbuf use wxTextBuffer class
738 --enable-textfile use wxTextFile class
739 --enable-fontmap use font encodings conversion classes
740 --enable-unicode compile wxString with Unicode support
741 --enable-mslu use MS Layer
for Unicode on Windows
9x
(win32 only
)
742 --enable-wxprintfv use wxWindows implementation of vprintf
()
743 --enable-std_iostreams use standard C
++ stream classes
744 --enable-filesystem use virtual
file systems classes
745 --enable-fs_inet use virtual HTTP
/FTP filesystems
746 --enable-fs_zip use virtual ZIP filesystems
747 --enable-zipstream use wxZipInputStream
748 --enable-catch_segvs catch signals and pass them to wxApp
::OnFatalException
749 --enable-snglinst use wxSingleInstanceChecker class
750 --enable-mimetype use wxMimeTypesManager
751 --enable-sysoptions use wxSystemOptions
752 --enable-url use wxURL class
753 --enable-protocol use wxProtocol class
754 --enable-protocol-http HTTP support
in wxProtocol
755 --enable-protocol-ftp FTP support
in wxProtocol
756 --enable-protocol-file FILE support
in wxProtocol
757 --enable-threads use threads
758 --enable-docview use document view architecture
759 --enable-help use
help subsystem
760 --enable-mshtmlhelp use MS HTML Help
(win32
)
761 --enable-html use wxHTML sub
-library
762 --enable-htmlhelp use wxHTML
-based help
763 --enable-constraints use layout
-constraints system
764 --enable-printarch use printing architecture
765 --enable-mdi use multiple document interface architecture
766 --enable-loggui use standard GUI logger
767 --enable-logwin use wxLogWindow
768 --enable-logdialog use wxLogDialog
769 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
770 --enable-prologio use Prolog IO library
771 --enable-resources use wxWindows resources
772 --enable-xresources use X resources
for save
(default
for gtk
+)
773 --enable-clipboard use wxClipboard classes
774 --enable-dnd use Drag
'n'Drop classes
775 --enable-metafile use win32 metafiles
776 --enable-treelayout use wxTreeLayout classes
777 --enable-controls use all usual controls
778 --enable-accel use accelerators
779 --enable-button use wxButton class
780 --enable-bmpbutton use wxBitmapButton class
781 --enable-calendar use wxCalendarCtrl class
782 --enable-caret use wxCaret class
783 --enable-checkbox use wxCheckBox class
784 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
785 --enable-choice use wxChoice class
786 --enable-combobox use wxComboBox classes
787 --enable-gauge use wxGauge class
788 --enable-grid use wxGrid class
789 --enable-newgrid use new wxGrid class
790 --enable-imaglist use wxImageList class
791 --enable-listbox use wxListBox class
792 --enable-listctrl use wxListCtrl class
793 --enable-notebook use wxNotebook class
794 --enable-propsheet use wxPropertySheet class
795 --enable-radiobox use wxRadioBox class
796 --enable-radiobtn use wxRadioButton class
797 --enable-sash use wxSashWindow class
798 --enable-scrollbar use wxScrollBar class and scrollable windows
799 --enable-slider use wxSlider class
800 --enable-spinbtn use wxSpinButton class
801 --enable-spinctrl use wxSpinCtrl class
802 --enable-splitter use wxSplitterWindow class
803 --enable-statbmp use wxStaticBitmap class
804 --enable-statbox use wxStaticBox class
805 --enable-statline use wxStaticLine class
806 --enable-stattext use wxStaticText class
807 --enable-statusbar use wxStatusBar class
808 --enable-tabdialog use wxTabControl class
809 --enable-textctrl use wxTextCtrl class
810 --enable-togglebtn use wxToggleButton class
811 --enable-toolbar use wxToolBar class
812 --enable-tbarnative use native wxToolBar class
813 --enable-tbarsmpl use wxToolBarSimple class
814 --enable-treectrl use wxTreeCtrl class
815 --enable-tipwindow use wxTipWindow class
816 --enable-popupwin use wxPopUpWindow class
817 --enable-commondlg use all common dialogs
818 --enable-choicedlg use wxChoiceDialog
819 --enable-coldlg use wxColourDialog
820 --enable-filedlg use wxFileDialog
821 --enable-finddlg use wxFindReplaceDialog
822 --enable-fontdlg use wxFontDialog
823 --enable-dirdlg use wxDirDialog
824 --enable-msgdlg use wxMessageDialog
825 --enable-numberdlg use wxNumberEntryDialog
826 --enable-splash use wxSplashScreen
827 --enable-textdlg use wxTextDialog
828 --enable-tipdlg use startup tips
829 --enable-progressdlg use wxProgressDialog
830 --enable-wizarddlg use wxWizard
831 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
832 --enable-miniframe use wxMiniFrame class
833 --enable-tooltips use wxToolTip class
834 --enable-splines use spline drawing code
835 --enable-validators use wxValidator and derived classes
836 --enable-busyinfo use wxBusyInfo
837 --enable-joystick use wxJoystick
(Linux only
)
838 --enable-metafiles use wxMetaFile
(Windows only
)
839 --enable-dragimage use wxDragImage
840 --enable-palette use wxPalette class
841 --enable-image use wxImage class
842 --enable-gif use gif images
(GIF
file format
)
843 --enable-pcx use pcx images
(PCX
file format
)
844 --enable-iff use iff images
(IFF
file format
)
845 --enable-pnm use pnm images
(PNM
file format
)
846 --enable-xpm use xpm images
(XPM
file format
)
847 --enable-icocur use Windows ICO and CUR formats
848 --disable-largefile omit support
for large files
849 --disable-gtktest do not try to compile and run a
test GTK
+ program
850 --disable-gtktest Do not try to compile and run a
test GTK program
853 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
854 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
856 --with-motif use Motif
/Lesstif
857 --with-mac use Mac OS X
859 --with-msw use MS
-Windows
860 --with-pm use OS
/2 Presentation Manager
861 --with-mgl use SciTech MGL
862 --with-microwin use MicroWindows
864 --with-libpng use libpng
(PNG image format
)
865 --with-libjpeg use libjpeg
(JPEG
file format
)
866 --with-libtiff use libtiff
(TIFF
file format
)
867 --with-opengl use OpenGL
(or Mesa
)
868 --with-dmalloc use dmalloc library
(http
://dmalloc.com
/)
869 --with-regex enable support
for wxRegEx class
870 --with-zlib use zlib
for LZW compression
871 --with-odbc use the IODBC and wxODBC classes
872 --with-gtk-prefix=PFX Prefix where GTK is installed
(optional
)
873 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed
(optional
)
874 --with-x use the X Window System
875 --with-libiconv-prefix=DIR search
for libiconv
in DIR
/include and DIR
/lib
877 Some influential environment variables
:
878 CC C compiler
command
879 CFLAGS C compiler flags
880 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
881 nonstandard directory
<lib dir
>
882 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
883 headers
in a nonstandard directory
<include dir
>
885 CXX C
++ compiler
command
886 CXXFLAGS C
++ compiler flags
887 CXXCPP C
++ preprocessor
889 Use these variables to override the choices made by
`configure' or to help
890 it to find libraries and programs with nonstandard names/locations.
895 if test "$ac_init_help" = "recursive"; then
896 # If there are subdirs, report their specific --help.
898 for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
900 # A "../" for each directory in /$ac_subdir.
901 ac_dots=`echo $ac_subdir |
902 sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
905 .) # No --srcdir option. We are building in place.
906 ac_sub_srcdir=$srcdir ;;
907 [\\/]* | ?:[\\/]* ) # Absolute path.
908 ac_sub_srcdir=$srcdir/$ac_subdir ;;
910 ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
913 # Check for guested configure; otherwise get Cygnus style configure.
914 if test -f $ac_sub_srcdir/configure.gnu; then
916 $SHELL $ac_sub_srcdir/configure.gnu --help=recursive
917 elif test -f $ac_sub_srcdir/configure; then
919 $SHELL $ac_sub_srcdir/configure --help=recursive
920 elif test -f $ac_sub_srcdir/configure.ac ||
921 test -f $ac_sub_srcdir/configure.in; then
925 echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
931 test -n "$ac_init_help" && exit 0
932 if $ac_init_version; then
935 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
936 Free Software Foundation, Inc.
937 This configure script is free software; the Free Software Foundation
938 gives unlimited permission to copy, distribute and modify it.
944 This file contains any messages produced by compilers while
945 running configure, to aid debugging if configure makes a mistake.
947 It was created by $as_me, which was
948 generated by GNU Autoconf 2.52. Invocation command line was
959 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
960 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
961 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
962 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
963 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
965 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
966 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
968 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
969 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
970 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
971 hostinfo = `(hostinfo
) 2>/dev
/null
|| echo unknown
`
972 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
973 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
974 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
988 # Keep a trace of the command line.
989 # Strip out --no-create and --no-recursion so they do not pile up.
990 # Also quote any args containing shell meta-characters.
996 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
997 | --no-cr | --no-c) ;;
998 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
999 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
1000 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1001 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
1002 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1004 *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
1007 # Get rid of the leading space.
1010 # When interrupted or exit'd, cleanup temporary files, and complete
1011 # config.log. We remove comments because anyway the quotes in there
1012 # would cause problems or look ugly.
1013 trap 'exit_status=$?
1014 # Save into config.log some information that might help in debugging.
1016 echo "## ----------------- ##" >&5
1017 echo "## Cache variables. ##" >&5
1018 echo "## ----------------- ##" >&5
1020 # The following way of writing the cache mishandles newlines in values,
1023 case `(ac_space
='"'"' '"'"'; set | grep ac_space
) 2>&1` in
1026 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1027 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1031 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1035 sed "/^$/d" confdefs.h >conftest.log
1036 if test -s conftest.log; then
1038 echo "## ------------ ##" >&5
1039 echo "## confdefs.h. ##" >&5
1040 echo "## ------------ ##" >&5
1042 cat conftest.log >&5
1045 test "$ac_signal" != 0 &&
1046 echo "$as_me: caught signal $ac_signal" >&5
1047 echo "$as_me: exit $exit_status" >&5
1048 rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
1051 for ac_signal in 1 2 13 15; do
1052 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1056 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1057 rm -rf conftest* confdefs.h
1058 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1061 # Let the site file select an alternate cache file if it wants to.
1062 # Prefer explicitly selected file to automatically selected ones.
1063 if test -z "$CONFIG_SITE"; then
1064 if test "x$prefix" != xNONE; then
1065 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1067 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1070 for ac_site_file in $CONFIG_SITE; do
1071 if test -r "$ac_site_file"; then
1072 { echo "$as_me:1072: loading site script $ac_site_file" >&5
1073 echo "$as_me: loading site script $ac_site_file" >&6;}
1074 cat "$ac_site_file" >&5
1079 if test -r "$cache_file"; then
1080 # Some versions of bash will fail to source /dev/null (special
1081 # files actually), so we avoid doing that.
1082 if test -f "$cache_file"; then
1083 { echo "$as_me:1083: loading cache $cache_file" >&5
1084 echo "$as_me: loading cache $cache_file" >&6;}
1086 [\\/]* | ?:[\\/]* ) . $cache_file;;
1087 *) . ./$cache_file;;
1091 { echo "$as_me:1091: creating cache $cache_file" >&5
1092 echo "$as_me: creating cache $cache_file" >&6;}
1096 # Check that the precious variables saved in the cache have kept the same
1098 ac_cache_corrupted=false
1099 for ac_var in `(set) 2>&1 |
1100 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1101 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1102 eval ac_new_set=\$ac_env_${ac_var}_set
1103 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1104 eval ac_new_val="\$ac_env_${ac_var}_value"
1105 case $ac_old_set,$ac_new_set in
1107 { echo "$as_me:1107: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1108 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1109 ac_cache_corrupted=: ;;
1111 { echo "$as_me:1111: error: \`$ac_var' was not
set in the previous run
" >&5
1112 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1113 ac_cache_corrupted=: ;;
1116 if test "x$ac_old_val" != "x$ac_new_val"; then
1117 { echo "$as_me:1117: error: \`$ac_var' has changed since the previous run:" >&5
1118 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1119 { echo "$as_me:1119: former value
: $ac_old_val" >&5
1120 echo "$as_me: former value
: $ac_old_val" >&2;}
1121 { echo "$as_me:1121: current value
: $ac_new_val" >&5
1122 echo "$as_me: current value
: $ac_new_val" >&2;}
1123 ac_cache_corrupted=:
1126 # Pass precious variables to config.status. It doesn't matter if
1127 # we pass some twice (in addition to the command line arguments).
1128 if test "$ac_new_set" = set; then
1130 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1131 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"`
1132 ac_configure_args="$ac_configure_args '$ac_arg'"
1134 *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"
1139 if $ac_cache_corrupted; then
1140 { echo "$as_me:1140: error
: changes
in the environment can compromise the build
" >&5
1141 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1142 { { echo "$as_me:1142: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1143 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1144 { (exit 1); exit 1; }; }
1148 ac_cpp='$CPP $CPPFLAGS'
1149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1153 case `echo "testing\c"; echo 1,2,3`,`echo -n testing
; echo 1,2,3` in
1154 *c*,-n*) ECHO_N= ECHO_C='
1156 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
1157 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
1159 echo "#! $SHELL" >conftest.sh
1160 echo "exit 0" >>conftest.sh
1161 chmod +x conftest.sh
1162 if { (echo "$as_me:1162: PATH=\".;.\"; conftest.sh") >&5
1163 (PATH=".;."; conftest.sh) 2>&5
1165 echo "$as_me:1165: \$? = $ac_status" >&5
1166 (exit $ac_status); }; then
1167 ac_path_separator=';'
1171 PATH_SEPARATOR="$ac_path_separator"
1175 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1176 if test -f $ac_dir/install-sh; then
1178 ac_install_sh="$ac_aux_dir/install-sh -c"
1180 elif test -f $ac_dir/install.sh; then
1182 ac_install_sh="$ac_aux_dir/install.sh -c"
1184 elif test -f $ac_dir/shtool; then
1186 ac_install_sh="$ac_aux_dir/shtool install -c"
1190 if test -z "$ac_aux_dir"; then
1191 { { echo "$as_me:1191: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1192 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1193 { (exit 1); exit 1; }; }
1195 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1196 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1197 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1199 # Make sure we can run config.sub.
1200 $ac_config_sub sun4 >/dev/null 2>&1 ||
1201 { { echo "$as_me:1201: error: cannot run $ac_config_sub" >&5
1202 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1203 { (exit 1); exit 1; }; }
1205 echo "$as_me:1205: checking build system type" >&5
1206 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1207 if test "${ac_cv_build+set}" = set; then
1208 echo $ECHO_N "(cached) $ECHO_C" >&6
1210 ac_cv_build_alias=$build_alias
1211 test -z "$ac_cv_build_alias" &&
1212 ac_cv_build_alias=`$ac_config_guess`
1213 test -z "$ac_cv_build_alias" &&
1214 { { echo "$as_me:1214: error: cannot guess build type; you must specify one" >&5
1215 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1216 { (exit 1); exit 1; }; }
1217 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1218 { { echo "$as_me:1218: error: $ac_config_sub $ac_cv_build_alias failed." >&5
1219 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;}
1220 { (exit 1); exit 1; }; }
1223 echo "$as_me:1223: result: $ac_cv_build" >&5
1224 echo "${ECHO_T}$ac_cv_build" >&6
1226 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1227 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1228 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1230 test -z "$build_alias" &&
1231 build_alias=$ac_cv_build
1233 echo "$as_me:1233: checking host system type" >&5
1234 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1235 if test "${ac_cv_host+set}" = set; then
1236 echo $ECHO_N "(cached) $ECHO_C" >&6
1238 ac_cv_host_alias=$host_alias
1239 test -z "$ac_cv_host_alias" &&
1240 ac_cv_host_alias=$ac_cv_build_alias
1241 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1242 { { echo "$as_me:1242: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1243 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1244 { (exit 1); exit 1; }; }
1247 echo "$as_me:1247: result: $ac_cv_host" >&5
1248 echo "${ECHO_T}$ac_cv_host" >&6
1250 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1251 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1252 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1254 test -z "$host_alias" &&
1255 host_alias=$ac_cv_host
1257 echo "$as_me:1257: checking target system type" >&5
1258 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1259 if test "${ac_cv_target+set}" = set; then
1260 echo $ECHO_N "(cached) $ECHO_C" >&6
1262 ac_cv_target_alias=$target_alias
1263 test "x$ac_cv_target_alias" = "x" &&
1264 ac_cv_target_alias=$ac_cv_host_alias
1265 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1266 { { echo "$as_me:1266: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1267 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1268 { (exit 1); exit 1; }; }
1271 echo "$as_me:1271: result: $ac_cv_target" >&5
1272 echo "${ECHO_T}$ac_cv_target" >&6
1273 target=$ac_cv_target
1274 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1275 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1276 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1278 # The aliases save the names the user supplied, while $host etc.
1279 # will get canonicalized.
1280 test -n "$target_alias" &&
1281 test "$program_prefix$program_suffix$program_transform_name" = \
1283 program_prefix=${target_alias}-
1284 test -z "$target_alias" &&
1285 target_alias=$ac_cv_target
1287 WX_MAJOR_VERSION_NUMBER=2
1288 WX_MINOR_VERSION_NUMBER=3
1291 WX_VERSION=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER.$WX_RELEASE_NUMBER
1292 WX_RELEASE=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER
1294 WX_MSW_VERSION=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1326 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1328 ALL_TOOLKITS="GTK MAC MGL MICROWIN MOTIF MSW PM WINE X11"
1333 DEFAULT_wxUSE_MICROWIN=0
1334 DEFAULT_wxUSE_MOTIF=0
1337 DEFAULT_wxUSE_WINE=0
1340 DEFAULT_DEFAULT_wxUSE_GTK=0
1341 DEFAULT_DEFAULT_wxUSE_MAC=0
1342 DEFAULT_DEFAULT_wxUSE_MGL=0
1343 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1344 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1345 DEFAULT_DEFAULT_wxUSE_MSW=0
1346 DEFAULT_DEFAULT_wxUSE_PM=0
1347 DEFAULT_DEFAULT_wxUSE_WINE=0
1348 DEFAULT_DEFAULT_wxUSE_X11=0
1356 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1357 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1359 cat >>confdefs.h <<\EOF
1366 cat >>confdefs.h <<\EOF
1371 if test "x$TMP" = "xalpha"; then
1373 cat >>confdefs.h <<\EOF
1378 DEFAULT_DEFAULT_wxUSE_GTK=1
1380 *-*-irix5* | *-*-irix6* )
1383 cat >>confdefs.h <<\EOF
1387 cat >>confdefs.h <<\EOF
1391 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1397 cat >>confdefs.h <<\EOF
1401 cat >>confdefs.h <<\EOF
1402 #define __SOLARIS__ 1
1405 cat >>confdefs.h <<\EOF
1409 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1410 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1416 cat >>confdefs.h <<\EOF
1420 cat >>confdefs.h <<\EOF
1424 cat >>confdefs.h <<\EOF
1428 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1433 cat >>confdefs.h <<\EOF
1434 #define __FREEBSD__ 1
1437 cat >>confdefs.h <<\EOF
1441 DEFAULT_DEFAULT_wxUSE_GTK=1
1446 cat >>confdefs.h <<\EOF
1447 #define __FREEBSD__ 1
1450 cat >>confdefs.h <<\EOF
1451 #define __OPENBSD__ 1
1454 DEFAULT_DEFAULT_wxUSE_GTK=1
1459 cat >>confdefs.h <<\EOF
1460 #define __FREEBSD__ 1
1463 cat >>confdefs.h <<\EOF
1464 #define __NETBSD__ 1
1467 DEFAULT_DEFAULT_wxUSE_GTK=1
1472 cat >>confdefs.h <<\EOF
1476 cat >>confdefs.h <<\EOF
1480 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1481 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1486 cat >>confdefs.h <<\EOF
1490 cat >>confdefs.h <<\EOF
1494 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1499 cat >>confdefs.h <<\EOF
1503 cat >>confdefs.h <<\EOF
1507 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1514 cat >>confdefs.h <<\EOF
1518 cat >>confdefs.h <<\EOF
1522 cat >>confdefs.h <<\EOF
1526 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1529 *-*-cygwin* | *-*-mingw32* )
1533 DEFAULT_DEFAULT_wxUSE_MSW=1
1539 cat >>confdefs.h <<\EOF
1544 DEFAULT_DEFAULT_wxUSE_MGL=1
1545 LIBS="$LIBS -lstdc++"
1548 *-pc-os2_emx | *-pc-os2-emx )
1549 cat >>confdefs.h <<\EOF
1554 DEFAULT_DEFAULT_wxUSE_PM=1
1555 LIBS="$LIBS -lstdcpp"
1562 cat >>confdefs.h <<\EOF
1566 cat >>confdefs.h <<\EOF
1567 #define __DARWIN__ 1
1570 cat >>confdefs.h <<\EOF
1571 #define __POWERPC__ 1
1574 DEFAULT_DEFAULT_wxUSE_MAC=1
1579 cat >>confdefs.h <<\EOF
1586 { { echo "$as_me:1586: error: unknown system type ${host}." >&5
1587 echo "$as_me: error: unknown system type ${host}." >&2;}
1588 { (exit 1); exit 1; }; }
1591 wx_arg_cache_file="configarg.cache"
1592 echo "loading argument cache $wx_arg_cache_file"
1593 rm -f ${wx_arg_cache_file}.tmp
1594 touch ${wx_arg_cache_file}.tmp
1595 touch ${wx_arg_cache_file}
1598 if test $DEBUG_CONFIGURE = 1; then
1599 DEFAULT_wxUSE_UNIVERSAL=no
1601 DEFAULT_wxUSE_NANOX=no
1603 DEFAULT_wxUSE_THREADS=yes
1605 DEFAULT_wxUSE_SHARED=yes
1606 DEFAULT_wxUSE_SONAME=no
1607 DEFAULT_wxUSE_OPTIMISE=no
1608 DEFAULT_wxUSE_PROFILE=no
1609 DEFAULT_wxUSE_NO_DEPS=no
1610 DEFAULT_wxUSE_NO_RTTI=no
1611 DEFAULT_wxUSE_NO_EXCEPTIONS=no
1612 DEFAULT_wxUSE_PERMISSIVE=no
1613 DEFAULT_wxUSE_DEBUG_FLAG=yes
1614 DEFAULT_wxUSE_DEBUG_INFO=yes
1615 DEFAULT_wxUSE_DEBUG_GDB=yes
1616 DEFAULT_wxUSE_MEM_TRACING=no
1617 DEFAULT_wxUSE_DEBUG_CONTEXT=no
1618 DEFAULT_wxUSE_DMALLOC=no
1619 DEFAULT_wxUSE_PRECOMP=no
1620 DEFAULT_wxUSE_APPLE_IEEE=no
1622 DEFAULT_wxUSE_LOG=yes
1623 DEFAULT_wxUSE_LOGWINDOW=no
1624 DEFAULT_wxUSE_LOGGUI=no
1625 DEFAULT_wxUSE_LOGDIALOG=no
1627 DEFAULT_wxUSE_GUI=yes
1628 DEFAULT_wxUSE_CONTROLS=no
1630 DEFAULT_wxUSE_REGEX=no
1631 DEFAULT_wxUSE_ZLIB=no
1632 DEFAULT_wxUSE_LIBPNG=no
1633 DEFAULT_wxUSE_LIBJPEG=no
1634 DEFAULT_wxUSE_LIBTIFF=no
1635 DEFAULT_wxUSE_ODBC=no
1636 DEFAULT_wxUSE_OPENGL=no
1638 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
1639 DEFAULT_wxUSE_SNGLINST_CHECKER=no
1640 DEFAULT_wxUSE_STD_IOSTREAM=no
1641 DEFAULT_wxUSE_CMDLINE_PARSER=no
1642 DEFAULT_wxUSE_DATETIME=no
1643 DEFAULT_wxUSE_TIMEDATE=no
1644 DEFAULT_wxUSE_TIMER=no
1645 DEFAULT_wxUSE_STOPWATCH=no
1646 DEFAULT_wxUSE_FILE=no
1647 DEFAULT_wxUSE_FFILE=no
1648 DEFAULT_wxUSE_TEXTBUFFER=no
1649 DEFAULT_wxUSE_TEXTFILE=no
1650 DEFAULT_wxUSE_WAVE=no
1651 DEFAULT_wxUSE_INTL=no
1652 DEFAULT_wxUSE_CONFIG=no
1653 DEFAULT_wxUSE_FONTMAP=no
1654 DEFAULT_wxUSE_STREAMS=no
1655 DEFAULT_wxUSE_SOCKETS=no
1656 DEFAULT_wxUSE_DIALUP_MANAGER=no
1657 DEFAULT_wxUSE_JOYSTICK=no
1658 DEFAULT_wxUSE_DYNLIB_CLASS=no
1659 DEFAULT_wxUSE_DYNAMIC_LOADER=no
1660 DEFAULT_wxUSE_LONGLONG=no
1661 DEFAULT_wxUSE_GEOMETRY=no
1663 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
1664 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
1665 DEFAULT_wxUSE_POSTSCRIPT=no
1667 DEFAULT_wxUSE_X_RESOURCES=no
1668 DEFAULT_wxUSE_CLIPBOARD=no
1669 DEFAULT_wxUSE_TOOLTIPS=no
1670 DEFAULT_wxUSE_DRAG_AND_DROP=no
1671 DEFAULT_wxUSE_DRAGIMAGE=no
1672 DEFAULT_wxUSE_SPLINES=no
1674 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
1675 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
1676 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
1678 DEFAULT_wxUSE_PROLOGIO=no
1679 DEFAULT_wxUSE_RESOURCES=no
1680 DEFAULT_wxUSE_CONSTRAINTS=no
1681 DEFAULT_wxUSE_IPC=no
1682 DEFAULT_wxUSE_HELP=no
1683 DEFAULT_wxUSE_MS_HTML_HELP=no
1684 DEFAULT_wxUSE_WXHTML_HELP=no
1685 DEFAULT_wxUSE_TREELAYOUT=no
1686 DEFAULT_wxUSE_METAFILE=no
1687 DEFAULT_wxUSE_MIMETYPE=no
1688 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
1689 DEFAULT_wxUSE_PROTOCOL=no
1690 DEFAULT_wxUSE_PROTOCOL_HTTP=no
1691 DEFAULT_wxUSE_PROTOCOL_FTP=no
1692 DEFAULT_wxUSE_PROTOCOL_FILE=no
1693 DEFAULT_wxUSE_URL=no
1695 DEFAULT_wxUSE_COMMONDLGS=no
1696 DEFAULT_wxUSE_CHOICEDLG=no
1697 DEFAULT_wxUSE_COLOURDLG=no
1698 DEFAULT_wxUSE_DIRDLG=no
1699 DEFAULT_wxUSE_FILEDLG=no
1700 DEFAULT_wxUSE_FINDREPLDLG=no
1701 DEFAULT_wxUSE_FONTDLG=no
1702 DEFAULT_wxUSE_MSGDLG=no
1703 DEFAULT_wxUSE_NUMBERDLG=no
1704 DEFAULT_wxUSE_TEXTDLG=no
1705 DEFAULT_wxUSE_SPLASH=no
1706 DEFAULT_wxUSE_STARTUP_TIPS=no
1707 DEFAULT_wxUSE_PROGRESSDLG=no
1708 DEFAULT_wxUSE_WIZARDDLG=no
1710 DEFAULT_wxUSE_MENUS=no
1711 DEFAULT_wxUSE_MINIFRAME=no
1712 DEFAULT_wxUSE_HTML=no
1713 DEFAULT_wxUSE_FILESYSTEM=no
1714 DEFAULT_wxUSE_FS_INET=no
1715 DEFAULT_wxUSE_FS_ZIP=no
1716 DEFAULT_wxUSE_BUSYINFO=no
1717 DEFAULT_wxUSE_ZIPSTREAM=no
1718 DEFAULT_wxUSE_VALIDATORS=no
1720 DEFAULT_wxUSE_ACCEL=no
1721 DEFAULT_wxUSE_BUTTON=no
1722 DEFAULT_wxUSE_BMPBUTTON=no
1723 DEFAULT_wxUSE_CALCTRL=no
1724 DEFAULT_wxUSE_CARET=no
1725 DEFAULT_wxUSE_CHECKBOX=no
1726 DEFAULT_wxUSE_CHECKLST=no
1727 DEFAULT_wxUSE_CHOICE=no
1728 DEFAULT_wxUSE_COMBOBOX=no
1729 DEFAULT_wxUSE_GAUGE=no
1730 DEFAULT_wxUSE_GRID=no
1731 DEFAULT_wxUSE_NEW_GRID=no
1732 DEFAULT_wxUSE_IMAGLIST=no
1733 DEFAULT_wxUSE_LISTBOX=no
1734 DEFAULT_wxUSE_LISTCTRL=no
1735 DEFAULT_wxUSE_NOTEBOOK=no
1736 DEFAULT_wxUSE_PROPSHEET=no
1737 DEFAULT_wxUSE_RADIOBOX=no
1738 DEFAULT_wxUSE_RADIOBTN=no
1739 DEFAULT_wxUSE_SASH=no
1740 DEFAULT_wxUSE_SCROLLBAR=no
1741 DEFAULT_wxUSE_SLIDER=no
1742 DEFAULT_wxUSE_SPINBTN=no
1743 DEFAULT_wxUSE_SPINCTRL=no
1744 DEFAULT_wxUSE_SPLITTER=no
1745 DEFAULT_wxUSE_STATBMP=no
1746 DEFAULT_wxUSE_STATBOX=no
1747 DEFAULT_wxUSE_STATLINE=no
1748 DEFAULT_wxUSE_STATTEXT=no
1749 DEFAULT_wxUSE_STATUSBAR=yes
1750 DEFAULT_wxUSE_TABDIALOG=no
1751 DEFAULT_wxUSE_TEXTCTRL=no
1752 DEFAULT_wxUSE_TOGGLEBTN=no
1753 DEFAULT_wxUSE_TOOLBAR=no
1754 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
1755 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
1756 DEFAULT_wxUSE_TREECTRL=no
1757 DEFAULT_wxUSE_POPUPWIN=no
1758 DEFAULT_wxUSE_TIPWINDOW=no
1760 DEFAULT_wxUSE_UNICODE=no
1761 DEFAULT_wxUSE_UNICODE_MSLU=no
1762 DEFAULT_wxUSE_WCSRTOMBS=no
1764 DEFAULT_wxUSE_PALETTE=no
1765 DEFAULT_wxUSE_IMAGE=no
1766 DEFAULT_wxUSE_GIF=no
1767 DEFAULT_wxUSE_PCX=no
1768 DEFAULT_wxUSE_PNM=no
1769 DEFAULT_wxUSE_IFF=no
1770 DEFAULT_wxUSE_XPM=no
1771 DEFAULT_wxUSE_ICO_CUR=no
1773 DEFAULT_wxUSE_UNIVERSAL=no
1775 DEFAULT_wxUSE_NANOX=no
1777 DEFAULT_wxUSE_THREADS=yes
1779 DEFAULT_wxUSE_SHARED=yes
1780 DEFAULT_wxUSE_SONAME=no
1781 DEFAULT_wxUSE_OPTIMISE=yes
1782 DEFAULT_wxUSE_PROFILE=no
1783 DEFAULT_wxUSE_NO_DEPS=no
1784 DEFAULT_wxUSE_NO_RTTI=no
1785 DEFAULT_wxUSE_NO_EXCEPTIONS=no
1786 DEFAULT_wxUSE_PERMISSIVE=no
1787 DEFAULT_wxUSE_DEBUG_FLAG=no
1788 DEFAULT_wxUSE_DEBUG_INFO=no
1789 DEFAULT_wxUSE_DEBUG_GDB=no
1790 DEFAULT_wxUSE_MEM_TRACING=no
1791 DEFAULT_wxUSE_DEBUG_CONTEXT=no
1792 DEFAULT_wxUSE_DMALLOC=no
1793 DEFAULT_wxUSE_PRECOMP=no
1794 DEFAULT_wxUSE_APPLE_IEEE=yes
1796 DEFAULT_wxUSE_LOG=yes
1797 DEFAULT_wxUSE_LOGWINDOW=yes
1798 DEFAULT_wxUSE_LOGGUI=yes
1799 DEFAULT_wxUSE_LOGDIALOG=yes
1801 DEFAULT_wxUSE_GUI=yes
1803 DEFAULT_wxUSE_REGEX=yes
1804 DEFAULT_wxUSE_ZLIB=yes
1805 DEFAULT_wxUSE_LIBPNG=yes
1806 DEFAULT_wxUSE_LIBJPEG=yes
1807 DEFAULT_wxUSE_LIBTIFF=yes
1808 DEFAULT_wxUSE_ODBC=no
1809 DEFAULT_wxUSE_OPENGL=no
1811 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
1812 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
1813 DEFAULT_wxUSE_STD_IOSTREAM=no
1814 DEFAULT_wxUSE_CMDLINE_PARSER=yes
1815 DEFAULT_wxUSE_DATETIME=yes
1816 DEFAULT_wxUSE_TIMEDATE=no
1817 DEFAULT_wxUSE_TIMER=yes
1818 DEFAULT_wxUSE_STOPWATCH=yes
1819 DEFAULT_wxUSE_FILE=yes
1820 DEFAULT_wxUSE_FFILE=yes
1821 DEFAULT_wxUSE_TEXTBUFFER=yes
1822 DEFAULT_wxUSE_TEXTFILE=yes
1823 DEFAULT_wxUSE_WAVE=no
1824 DEFAULT_wxUSE_INTL=yes
1825 DEFAULT_wxUSE_CONFIG=yes
1826 DEFAULT_wxUSE_FONTMAP=yes
1827 DEFAULT_wxUSE_STREAMS=yes
1828 DEFAULT_wxUSE_SOCKETS=yes
1829 DEFAULT_wxUSE_DIALUP_MANAGER=yes
1830 DEFAULT_wxUSE_JOYSTICK=yes
1831 DEFAULT_wxUSE_DYNLIB_CLASS=yes
1832 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
1833 DEFAULT_wxUSE_LONGLONG=yes
1834 DEFAULT_wxUSE_GEOMETRY=yes
1836 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
1837 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
1838 DEFAULT_wxUSE_POSTSCRIPT=yes
1840 DEFAULT_wxUSE_X_RESOURCES=no
1841 DEFAULT_wxUSE_CLIPBOARD=yes
1842 DEFAULT_wxUSE_TOOLTIPS=yes
1843 DEFAULT_wxUSE_DRAG_AND_DROP=yes
1844 DEFAULT_wxUSE_DRAGIMAGE=yes
1845 DEFAULT_wxUSE_SPLINES=yes
1847 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
1848 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
1849 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
1851 DEFAULT_wxUSE_PROLOGIO=yes
1852 DEFAULT_wxUSE_RESOURCES=yes
1853 DEFAULT_wxUSE_CONSTRAINTS=yes
1854 DEFAULT_wxUSE_IPC=yes
1855 DEFAULT_wxUSE_HELP=yes
1856 DEFAULT_wxUSE_MS_HTML_HELP=yes
1857 DEFAULT_wxUSE_WXHTML_HELP=yes
1858 DEFAULT_wxUSE_TREELAYOUT=yes
1859 DEFAULT_wxUSE_METAFILE=yes
1860 DEFAULT_wxUSE_MIMETYPE=yes
1861 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
1862 DEFAULT_wxUSE_PROTOCOL=yes
1863 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
1864 DEFAULT_wxUSE_PROTOCOL_FTP=yes
1865 DEFAULT_wxUSE_PROTOCOL_FILE=yes
1866 DEFAULT_wxUSE_URL=yes
1868 DEFAULT_wxUSE_COMMONDLGS=yes
1869 DEFAULT_wxUSE_CHOICEDLG=yes
1870 DEFAULT_wxUSE_COLOURDLG=yes
1871 DEFAULT_wxUSE_DIRDLG=yes
1872 DEFAULT_wxUSE_FILEDLG=yes
1873 DEFAULT_wxUSE_FINDREPLDLG=yes
1874 DEFAULT_wxUSE_FONTDLG=yes
1875 DEFAULT_wxUSE_MSGDLG=yes
1876 DEFAULT_wxUSE_NUMBERDLG=yes
1877 DEFAULT_wxUSE_TEXTDLG=yes
1878 DEFAULT_wxUSE_SPLASH=yes
1879 DEFAULT_wxUSE_STARTUP_TIPS=yes
1880 DEFAULT_wxUSE_PROGRESSDLG=yes
1881 DEFAULT_wxUSE_WIZARDDLG=yes
1883 DEFAULT_wxUSE_MENUS=yes
1884 DEFAULT_wxUSE_MINIFRAME=yes
1885 DEFAULT_wxUSE_HTML=yes
1886 DEFAULT_wxUSE_FILESYSTEM=yes
1887 DEFAULT_wxUSE_FS_INET=yes
1888 DEFAULT_wxUSE_FS_ZIP=yes
1889 DEFAULT_wxUSE_BUSYINFO=yes
1890 DEFAULT_wxUSE_ZIPSTREAM=yes
1891 DEFAULT_wxUSE_VALIDATORS=yes
1893 DEFAULT_wxUSE_ACCEL=yes
1894 DEFAULT_wxUSE_BUTTON=yes
1895 DEFAULT_wxUSE_BMPBUTTON=yes
1896 DEFAULT_wxUSE_CALCTRL=yes
1897 DEFAULT_wxUSE_CARET=yes
1898 DEFAULT_wxUSE_CHECKBOX=yes
1899 DEFAULT_wxUSE_CHECKLST=yes
1900 DEFAULT_wxUSE_CHOICE=yes
1901 DEFAULT_wxUSE_COMBOBOX=yes
1902 DEFAULT_wxUSE_GAUGE=yes
1903 DEFAULT_wxUSE_GRID=yes
1904 DEFAULT_wxUSE_NEW_GRID=yes
1905 DEFAULT_wxUSE_IMAGLIST=yes
1906 DEFAULT_wxUSE_LISTBOX=yes
1907 DEFAULT_wxUSE_LISTCTRL=yes
1908 DEFAULT_wxUSE_NOTEBOOK=yes
1909 DEFAULT_wxUSE_PROPSHEET=yes
1910 DEFAULT_wxUSE_RADIOBOX=yes
1911 DEFAULT_wxUSE_RADIOBTN=yes
1912 DEFAULT_wxUSE_SASH=yes
1913 DEFAULT_wxUSE_SCROLLBAR=yes
1914 DEFAULT_wxUSE_SLIDER=yes
1915 DEFAULT_wxUSE_SPINBTN=yes
1916 DEFAULT_wxUSE_SPINCTRL=yes
1917 DEFAULT_wxUSE_SPLITTER=yes
1918 DEFAULT_wxUSE_STATBMP=yes
1919 DEFAULT_wxUSE_STATBOX=yes
1920 DEFAULT_wxUSE_STATLINE=yes
1921 DEFAULT_wxUSE_STATTEXT=yes
1922 DEFAULT_wxUSE_STATUSBAR=yes
1923 DEFAULT_wxUSE_TABDIALOG=no
1924 DEFAULT_wxUSE_TEXTCTRL=yes
1925 DEFAULT_wxUSE_TOGGLEBTN=yes
1926 DEFAULT_wxUSE_TOOLBAR=yes
1927 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
1928 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
1929 DEFAULT_wxUSE_TREECTRL=yes
1930 DEFAULT_wxUSE_POPUPWIN=yes
1931 DEFAULT_wxUSE_TIPWINDOW=yes
1933 DEFAULT_wxUSE_UNICODE=no
1934 DEFAULT_wxUSE_UNICODE_MSLU=yes
1935 DEFAULT_wxUSE_WCSRTOMBS=no
1937 DEFAULT_wxUSE_PALETTE=yes
1938 DEFAULT_wxUSE_IMAGE=yes
1939 DEFAULT_wxUSE_GIF=yes
1940 DEFAULT_wxUSE_PCX=yes
1941 DEFAULT_wxUSE_IFF=no
1942 DEFAULT_wxUSE_PNM=yes
1943 DEFAULT_wxUSE_XPM=yes
1944 DEFAULT_wxUSE_ICO_CUR=yes
1947 for toolkit in `echo $ALL_TOOLKITS`; do
1948 LINE=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1949 if test "x$LINE" != x ; then
1950 has_toolkit_in_cache=1
1951 eval "DEFAULT_$LINE"
1952 eval "CACHE_$toolkit=1"
1956 echo "$as_me:1956: checking for --enable-gui" >&5
1957 echo $ECHO_N "checking for --enable-gui... $ECHO_C" >&6
1959 # Check whether --enable-gui or --disable-gui was given.
1960 if test "${enable_gui+set}" = set; then
1961 enableval="$enable_gui"
1963 if test "$enableval" = yes; then
1964 ac_cv_use_gui='wxUSE_GUI=yes'
1966 ac_cv_use_gui='wxUSE_GUI=no'
1971 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1972 if test "x$LINE" != x ; then
1973 eval "DEFAULT_$LINE"
1978 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1982 eval "$ac_cv_use_gui"
1983 if test "$no_cache" != 1; then
1984 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1987 if test "$wxUSE_GUI" = yes; then
1988 echo "$as_me:1988: result: yes" >&5
1989 echo "${ECHO_T}yes" >&6
1991 echo "$as_me:1991: result: no" >&5
1992 echo "${ECHO_T}no" >&6
1995 if test "$wxUSE_GUI" = "yes"; then
1997 echo "$as_me:1997: checking for --enable-universal" >&5
1998 echo $ECHO_N "checking for --enable-universal... $ECHO_C" >&6
2000 # Check whether --enable-universal or --disable-universal was given.
2001 if test "${enable_universal+set}" = set; then
2002 enableval="$enable_universal"
2004 if test "$enableval" = yes; then
2005 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2007 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2012 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2013 if test "x$LINE" != x ; then
2014 eval "DEFAULT_$LINE"
2019 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2023 eval "$ac_cv_use_universal"
2024 if test "$no_cache" != 1; then
2025 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2028 if test "$wxUSE_UNIVERSAL" = yes; then
2029 echo "$as_me:2029: result: yes" >&5
2030 echo "${ECHO_T}yes" >&6
2032 echo "$as_me:2032: result: no" >&5
2033 echo "${ECHO_T}no" >&6
2036 # Check whether --with-gtk or --without-gtk was given.
2037 if test "${with_gtk+set}" = set; then
2039 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2042 # Check whether --with-motif or --without-motif was given.
2043 if test "${with_motif+set}" = set; then
2044 withval="$with_motif"
2045 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2048 # Check whether --with-mac or --without-mac was given.
2049 if test "${with_mac+set}" = set; then
2051 wxUSE_MAC="$withval" TOOLKIT_GIVEN=1
2054 # Check whether --with-wine or --without-wine was given.
2055 if test "${with_wine+set}" = set; then
2056 withval="$with_wine"
2057 wxUSE_WINE="$withval" CACHE_WINE=1 TOOLKIT_GIVEN=1
2060 # Check whether --with-msw or --without-msw was given.
2061 if test "${with_msw+set}" = set; then
2063 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2066 # Check whether --with-pm or --without-pm was given.
2067 if test "${with_pm+set}" = set; then
2069 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2072 # Check whether --with-mgl or --without-mgl was given.
2073 if test "${with_mgl+set}" = set; then
2075 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2078 # Check whether --with-microwin or --without-microwin was given.
2079 if test "${with_microwin+set}" = set; then
2080 withval="$with_microwin"
2081 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2084 # Check whether --with-x11 or --without-x11 was given.
2085 if test "${with_x11+set}" = set; then
2087 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2090 echo "$as_me:2090: checking for --enable-nanox" >&5
2091 echo $ECHO_N "checking for --enable-nanox... $ECHO_C" >&6
2093 # Check whether --enable-nanox or --disable-nanox was given.
2094 if test "${enable_nanox+set}" = set; then
2095 enableval="$enable_nanox"
2097 if test "$enableval" = yes; then
2098 ac_cv_use_nanox='wxUSE_NANOX=yes'
2100 ac_cv_use_nanox='wxUSE_NANOX=no'
2105 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2106 if test "x$LINE" != x ; then
2107 eval "DEFAULT_$LINE"
2112 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2116 eval "$ac_cv_use_nanox"
2117 if test "$no_cache" != 1; then
2118 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2121 if test "$wxUSE_NANOX" = yes; then
2122 echo "$as_me:2122: result: yes" >&5
2123 echo "${ECHO_T}yes" >&6
2125 echo "$as_me:2125: result: no" >&5
2126 echo "${ECHO_T}no" >&6
2129 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2130 if test "${enable_gtk2+set}" = set; then
2131 enableval="$enable_gtk2"
2137 echo "$as_me:2137: checking for --with-libpng" >&5
2138 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2141 # Check whether --with-libpng or --without-libpng was given.
2142 if test "${with_libpng+set}" = set; then
2143 withval="$with_libpng"
2145 if test "$withval" = yes; then
2146 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2147 elif test "$withval" = no; then
2148 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2149 elif test "$withval" = sys; then
2150 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2151 elif test "$withval" = builtin; then
2152 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2154 { { echo "$as_me:2154: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2155 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2156 { (exit 1); exit 1; }; }
2161 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2162 if test "x$LINE" != x ; then
2163 eval "DEFAULT_$LINE"
2168 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2172 eval "$ac_cv_use_libpng"
2173 if test "$no_cache" != 1; then
2174 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2177 if test "$wxUSE_LIBPNG" = yes; then
2178 echo "$as_me:2178: result: yes" >&5
2179 echo "${ECHO_T}yes" >&6
2180 elif test "$wxUSE_LIBPNG" = no; then
2181 echo "$as_me:2181: result: no" >&5
2182 echo "${ECHO_T}no" >&6
2183 elif test "$wxUSE_LIBPNG" = sys; then
2184 echo "$as_me:2184: result: system version" >&5
2185 echo "${ECHO_T}system version" >&6
2186 elif test "$wxUSE_LIBPNG" = builtin; then
2187 echo "$as_me:2187: result: builtin version" >&5
2188 echo "${ECHO_T}builtin version" >&6
2190 { { echo "$as_me:2190: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2191 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2192 { (exit 1); exit 1; }; }
2195 echo "$as_me:2195: checking for --with-libjpeg" >&5
2196 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2199 # Check whether --with-libjpeg or --without-libjpeg was given.
2200 if test "${with_libjpeg+set}" = set; then
2201 withval="$with_libjpeg"
2203 if test "$withval" = yes; then
2204 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2205 elif test "$withval" = no; then
2206 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2207 elif test "$withval" = sys; then
2208 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2209 elif test "$withval" = builtin; then
2210 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2212 { { echo "$as_me:2212: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2213 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2214 { (exit 1); exit 1; }; }
2219 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2220 if test "x$LINE" != x ; then
2221 eval "DEFAULT_$LINE"
2226 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2230 eval "$ac_cv_use_libjpeg"
2231 if test "$no_cache" != 1; then
2232 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2235 if test "$wxUSE_LIBJPEG" = yes; then
2236 echo "$as_me:2236: result: yes" >&5
2237 echo "${ECHO_T}yes" >&6
2238 elif test "$wxUSE_LIBJPEG" = no; then
2239 echo "$as_me:2239: result: no" >&5
2240 echo "${ECHO_T}no" >&6
2241 elif test "$wxUSE_LIBJPEG" = sys; then
2242 echo "$as_me:2242: result: system version" >&5
2243 echo "${ECHO_T}system version" >&6
2244 elif test "$wxUSE_LIBJPEG" = builtin; then
2245 echo "$as_me:2245: result: builtin version" >&5
2246 echo "${ECHO_T}builtin version" >&6
2248 { { echo "$as_me:2248: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2249 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2250 { (exit 1); exit 1; }; }
2253 echo "$as_me:2253: checking for --with-libtiff" >&5
2254 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2257 # Check whether --with-libtiff or --without-libtiff was given.
2258 if test "${with_libtiff+set}" = set; then
2259 withval="$with_libtiff"
2261 if test "$withval" = yes; then
2262 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2263 elif test "$withval" = no; then
2264 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2265 elif test "$withval" = sys; then
2266 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2267 elif test "$withval" = builtin; then
2268 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2270 { { echo "$as_me:2270: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2271 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2272 { (exit 1); exit 1; }; }
2277 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2278 if test "x$LINE" != x ; then
2279 eval "DEFAULT_$LINE"
2284 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2288 eval "$ac_cv_use_libtiff"
2289 if test "$no_cache" != 1; then
2290 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2293 if test "$wxUSE_LIBTIFF" = yes; then
2294 echo "$as_me:2294: result: yes" >&5
2295 echo "${ECHO_T}yes" >&6
2296 elif test "$wxUSE_LIBTIFF" = no; then
2297 echo "$as_me:2297: result: no" >&5
2298 echo "${ECHO_T}no" >&6
2299 elif test "$wxUSE_LIBTIFF" = sys; then
2300 echo "$as_me:2300: result: system version" >&5
2301 echo "${ECHO_T}system version" >&6
2302 elif test "$wxUSE_LIBTIFF" = builtin; then
2303 echo "$as_me:2303: result: builtin version" >&5
2304 echo "${ECHO_T}builtin version" >&6
2306 { { echo "$as_me:2306: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2307 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2308 { (exit 1); exit 1; }; }
2311 echo "$as_me:2311: checking for --with-opengl" >&5
2312 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
2315 # Check whether --with-opengl or --without-opengl was given.
2316 if test "${with_opengl+set}" = set; then
2317 withval="$with_opengl"
2319 if test "$withval" = yes; then
2320 ac_cv_use_opengl='wxUSE_OPENGL=yes'
2322 ac_cv_use_opengl='wxUSE_OPENGL=no'
2327 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2328 if test "x$LINE" != x ; then
2329 eval "DEFAULT_$LINE"
2334 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2338 eval "$ac_cv_use_opengl"
2339 if test "$no_cache" != 1; then
2340 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2343 if test "$wxUSE_OPENGL" = yes; then
2344 echo "$as_me:2344: result: yes" >&5
2345 echo "${ECHO_T}yes" >&6
2347 echo "$as_me:2347: result: no" >&5
2348 echo "${ECHO_T}no" >&6
2353 echo "$as_me:2353: checking for --with-dmalloc" >&5
2354 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
2357 # Check whether --with-dmalloc or --without-dmalloc was given.
2358 if test "${with_dmalloc+set}" = set; then
2359 withval="$with_dmalloc"
2361 if test "$withval" = yes; then
2362 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
2364 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
2369 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2370 if test "x$LINE" != x ; then
2371 eval "DEFAULT_$LINE"
2376 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2380 eval "$ac_cv_use_dmalloc"
2381 if test "$no_cache" != 1; then
2382 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2385 if test "$wxUSE_DMALLOC" = yes; then
2386 echo "$as_me:2386: result: yes" >&5
2387 echo "${ECHO_T}yes" >&6
2389 echo "$as_me:2389: result: no" >&5
2390 echo "${ECHO_T}no" >&6
2393 echo "$as_me:2393: checking for --with-regex" >&5
2394 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
2397 # Check whether --with-regex or --without-regex was given.
2398 if test "${with_regex+set}" = set; then
2399 withval="$with_regex"
2401 if test "$withval" = yes; then
2402 ac_cv_use_regex='wxUSE_REGEX=yes'
2403 elif test "$withval" = no; then
2404 ac_cv_use_regex='wxUSE_REGEX=no'
2405 elif test "$withval" = sys; then
2406 ac_cv_use_regex='wxUSE_REGEX=sys'
2407 elif test "$withval" = builtin; then
2408 ac_cv_use_regex='wxUSE_REGEX=builtin'
2410 { { echo "$as_me:2410: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2411 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2412 { (exit 1); exit 1; }; }
2417 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2418 if test "x$LINE" != x ; then
2419 eval "DEFAULT_$LINE"
2424 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2428 eval "$ac_cv_use_regex"
2429 if test "$no_cache" != 1; then
2430 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2433 if test "$wxUSE_REGEX" = yes; then
2434 echo "$as_me:2434: result: yes" >&5
2435 echo "${ECHO_T}yes" >&6
2436 elif test "$wxUSE_REGEX" = no; then
2437 echo "$as_me:2437: result: no" >&5
2438 echo "${ECHO_T}no" >&6
2439 elif test "$wxUSE_REGEX" = sys; then
2440 echo "$as_me:2440: result: system version" >&5
2441 echo "${ECHO_T}system version" >&6
2442 elif test "$wxUSE_REGEX" = builtin; then
2443 echo "$as_me:2443: result: builtin version" >&5
2444 echo "${ECHO_T}builtin version" >&6
2446 { { echo "$as_me:2446: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2447 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2448 { (exit 1); exit 1; }; }
2451 echo "$as_me:2451: checking for --with-zlib" >&5
2452 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
2455 # Check whether --with-zlib or --without-zlib was given.
2456 if test "${with_zlib+set}" = set; then
2457 withval="$with_zlib"
2459 if test "$withval" = yes; then
2460 ac_cv_use_zlib='wxUSE_ZLIB=yes'
2461 elif test "$withval" = no; then
2462 ac_cv_use_zlib='wxUSE_ZLIB=no'
2463 elif test "$withval" = sys; then
2464 ac_cv_use_zlib='wxUSE_ZLIB=sys'
2465 elif test "$withval" = builtin; then
2466 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
2468 { { echo "$as_me:2468: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2469 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2470 { (exit 1); exit 1; }; }
2475 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2476 if test "x$LINE" != x ; then
2477 eval "DEFAULT_$LINE"
2482 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2486 eval "$ac_cv_use_zlib"
2487 if test "$no_cache" != 1; then
2488 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2491 if test "$wxUSE_ZLIB" = yes; then
2492 echo "$as_me:2492: result: yes" >&5
2493 echo "${ECHO_T}yes" >&6
2494 elif test "$wxUSE_ZLIB" = no; then
2495 echo "$as_me:2495: result: no" >&5
2496 echo "${ECHO_T}no" >&6
2497 elif test "$wxUSE_ZLIB" = sys; then
2498 echo "$as_me:2498: result: system version" >&5
2499 echo "${ECHO_T}system version" >&6
2500 elif test "$wxUSE_ZLIB" = builtin; then
2501 echo "$as_me:2501: result: builtin version" >&5
2502 echo "${ECHO_T}builtin version" >&6
2504 { { echo "$as_me:2504: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2505 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2506 { (exit 1); exit 1; }; }
2509 echo "$as_me:2509: checking for --with-odbc" >&5
2510 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
2513 # Check whether --with-odbc or --without-odbc was given.
2514 if test "${with_odbc+set}" = set; then
2515 withval="$with_odbc"
2517 if test "$withval" = yes; then
2518 ac_cv_use_odbc='wxUSE_ODBC=yes'
2520 ac_cv_use_odbc='wxUSE_ODBC=no'
2525 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2526 if test "x$LINE" != x ; then
2527 eval "DEFAULT_$LINE"
2532 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2536 eval "$ac_cv_use_odbc"
2537 if test "$no_cache" != 1; then
2538 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2541 if test "$wxUSE_ODBC" = yes; then
2542 echo "$as_me:2542: result: yes" >&5
2543 echo "${ECHO_T}yes" >&6
2545 echo "$as_me:2545: result: no" >&5
2546 echo "${ECHO_T}no" >&6
2549 echo "$as_me:2549: checking for --enable-shared" >&5
2550 echo $ECHO_N "checking for --enable-shared... $ECHO_C" >&6
2552 # Check whether --enable-shared or --disable-shared was given.
2553 if test "${enable_shared+set}" = set; then
2554 enableval="$enable_shared"
2556 if test "$enableval" = yes; then
2557 ac_cv_use_shared='wxUSE_SHARED=yes'
2559 ac_cv_use_shared='wxUSE_SHARED=no'
2564 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2565 if test "x$LINE" != x ; then
2566 eval "DEFAULT_$LINE"
2571 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2575 eval "$ac_cv_use_shared"
2576 if test "$no_cache" != 1; then
2577 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2580 if test "$wxUSE_SHARED" = yes; then
2581 echo "$as_me:2581: result: yes" >&5
2582 echo "${ECHO_T}yes" >&6
2584 echo "$as_me:2584: result: no" >&5
2585 echo "${ECHO_T}no" >&6
2588 echo "$as_me:2588: checking for --enable-soname" >&5
2589 echo $ECHO_N "checking for --enable-soname... $ECHO_C" >&6
2591 # Check whether --enable-soname or --disable-soname was given.
2592 if test "${enable_soname+set}" = set; then
2593 enableval="$enable_soname"
2595 if test "$enableval" = yes; then
2596 ac_cv_use_soname='wxUSE_SONAME=yes'
2598 ac_cv_use_soname='wxUSE_SONAME=no'
2603 LINE=`grep "wxUSE_SONAME" ${wx_arg_cache_file}`
2604 if test "x$LINE" != x ; then
2605 eval "DEFAULT_$LINE"
2610 ac_cv_use_soname='wxUSE_SONAME='$DEFAULT_wxUSE_SONAME
2614 eval "$ac_cv_use_soname"
2615 if test "$no_cache" != 1; then
2616 echo $ac_cv_use_soname >> ${wx_arg_cache_file}.tmp
2619 if test "$wxUSE_SONAME" = yes; then
2620 echo "$as_me:2620: result: yes" >&5
2621 echo "${ECHO_T}yes" >&6
2623 echo "$as_me:2623: result: no" >&5
2624 echo "${ECHO_T}no" >&6
2627 echo "$as_me:2627: checking for --enable-optimise" >&5
2628 echo $ECHO_N "checking for --enable-optimise... $ECHO_C" >&6
2630 # Check whether --enable-optimise or --disable-optimise was given.
2631 if test "${enable_optimise+set}" = set; then
2632 enableval="$enable_optimise"
2634 if test "$enableval" = yes; then
2635 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
2637 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
2642 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2643 if test "x$LINE" != x ; then
2644 eval "DEFAULT_$LINE"
2649 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2653 eval "$ac_cv_use_optimise"
2654 if test "$no_cache" != 1; then
2655 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2658 if test "$wxUSE_OPTIMISE" = yes; then
2659 echo "$as_me:2659: result: yes" >&5
2660 echo "${ECHO_T}yes" >&6
2662 echo "$as_me:2662: result: no" >&5
2663 echo "${ECHO_T}no" >&6
2666 echo "$as_me:2666: checking for --enable-debug" >&5
2667 echo $ECHO_N "checking for --enable-debug... $ECHO_C" >&6
2669 # Check whether --enable-debug or --disable-debug was given.
2670 if test "${enable_debug+set}" = set; then
2671 enableval="$enable_debug"
2673 if test "$enableval" = yes; then
2674 ac_cv_use_debug='wxUSE_DEBUG=yes'
2676 ac_cv_use_debug='wxUSE_DEBUG=no'
2681 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2682 if test "x$LINE" != x ; then
2683 eval "DEFAULT_$LINE"
2688 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2692 eval "$ac_cv_use_debug"
2693 if test "$no_cache" != 1; then
2694 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2697 if test "$wxUSE_DEBUG" = yes; then
2698 echo "$as_me:2698: result: yes" >&5
2699 echo "${ECHO_T}yes" >&6
2701 echo "$as_me:2701: result: no" >&5
2702 echo "${ECHO_T}no" >&6
2705 echo "$as_me:2705: checking for --enable-precomp" >&5
2706 echo $ECHO_N "checking for --enable-precomp... $ECHO_C" >&6
2708 # Check whether --enable-precomp or --disable-precomp was given.
2709 if test "${enable_precomp+set}" = set; then
2710 enableval="$enable_precomp"
2712 if test "$enableval" = yes; then
2713 ac_cv_use_precomp='wxUSE_PRECOMP=yes'
2715 ac_cv_use_precomp='wxUSE_PRECOMP=no'
2720 LINE=`grep "wxUSE_PRECOMP" ${wx_arg_cache_file}`
2721 if test "x$LINE" != x ; then
2722 eval "DEFAULT_$LINE"
2727 ac_cv_use_precomp='wxUSE_PRECOMP='$DEFAULT_wxUSE_PRECOMP
2731 eval "$ac_cv_use_precomp"
2732 if test "$no_cache" != 1; then
2733 echo $ac_cv_use_precomp >> ${wx_arg_cache_file}.tmp
2736 if test "$wxUSE_PRECOMP" = yes; then
2737 echo "$as_me:2737: result: yes" >&5
2738 echo "${ECHO_T}yes" >&6
2740 echo "$as_me:2740: result: no" >&5
2741 echo "${ECHO_T}no" >&6
2744 if test "$wxUSE_DEBUG" = "yes"; then
2745 DEFAULT_wxUSE_DEBUG_FLAG=yes
2746 DEFAULT_wxUSE_DEBUG_INFO=yes
2747 elif test "$wxUSE_DEBUG" = "no"; then
2748 DEFAULT_wxUSE_DEBUG_FLAG=no
2749 DEFAULT_wxUSE_DEBUG_INFO=no
2752 echo "$as_me:2752: checking for --enable-debug_flag" >&5
2753 echo $ECHO_N "checking for --enable-debug_flag... $ECHO_C" >&6
2755 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2756 if test "${enable_debug_flag+set}" = set; then
2757 enableval="$enable_debug_flag"
2759 if test "$enableval" = yes; then
2760 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
2762 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
2767 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2768 if test "x$LINE" != x ; then
2769 eval "DEFAULT_$LINE"
2774 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2778 eval "$ac_cv_use_debug_flag"
2779 if test "$no_cache" != 1; then
2780 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2783 if test "$wxUSE_DEBUG_FLAG" = yes; then
2784 echo "$as_me:2784: result: yes" >&5
2785 echo "${ECHO_T}yes" >&6
2787 echo "$as_me:2787: result: no" >&5
2788 echo "${ECHO_T}no" >&6
2791 echo "$as_me:2791: checking for --enable-debug_info" >&5
2792 echo $ECHO_N "checking for --enable-debug_info... $ECHO_C" >&6
2794 # Check whether --enable-debug_info or --disable-debug_info was given.
2795 if test "${enable_debug_info+set}" = set; then
2796 enableval="$enable_debug_info"
2798 if test "$enableval" = yes; then
2799 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
2801 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
2806 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2807 if test "x$LINE" != x ; then
2808 eval "DEFAULT_$LINE"
2813 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2817 eval "$ac_cv_use_debug_info"
2818 if test "$no_cache" != 1; then
2819 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2822 if test "$wxUSE_DEBUG_INFO" = yes; then
2823 echo "$as_me:2823: result: yes" >&5
2824 echo "${ECHO_T}yes" >&6
2826 echo "$as_me:2826: result: no" >&5
2827 echo "${ECHO_T}no" >&6
2830 echo "$as_me:2830: checking for --enable-debug_gdb" >&5
2831 echo $ECHO_N "checking for --enable-debug_gdb... $ECHO_C" >&6
2833 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2834 if test "${enable_debug_gdb+set}" = set; then
2835 enableval="$enable_debug_gdb"
2837 if test "$enableval" = yes; then
2838 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
2840 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
2845 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2846 if test "x$LINE" != x ; then
2847 eval "DEFAULT_$LINE"
2852 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2856 eval "$ac_cv_use_debug_gdb"
2857 if test "$no_cache" != 1; then
2858 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2861 if test "$wxUSE_DEBUG_GDB" = yes; then
2862 echo "$as_me:2862: result: yes" >&5
2863 echo "${ECHO_T}yes" >&6
2865 echo "$as_me:2865: result: no" >&5
2866 echo "${ECHO_T}no" >&6
2869 echo "$as_me:2869: checking for --enable-debug_cntxt" >&5
2870 echo $ECHO_N "checking for --enable-debug_cntxt... $ECHO_C" >&6
2872 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2873 if test "${enable_debug_cntxt+set}" = set; then
2874 enableval="$enable_debug_cntxt"
2876 if test "$enableval" = yes; then
2877 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
2879 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
2884 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2885 if test "x$LINE" != x ; then
2886 eval "DEFAULT_$LINE"
2891 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2895 eval "$ac_cv_use_debug_cntxt"
2896 if test "$no_cache" != 1; then
2897 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2900 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2901 echo "$as_me:2901: result: yes" >&5
2902 echo "${ECHO_T}yes" >&6
2904 echo "$as_me:2904: result: no" >&5
2905 echo "${ECHO_T}no" >&6
2908 echo "$as_me:2908: checking for --enable-mem_tracing" >&5
2909 echo $ECHO_N "checking for --enable-mem_tracing... $ECHO_C" >&6
2911 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2912 if test "${enable_mem_tracing+set}" = set; then
2913 enableval="$enable_mem_tracing"
2915 if test "$enableval" = yes; then
2916 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
2918 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
2923 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2924 if test "x$LINE" != x ; then
2925 eval "DEFAULT_$LINE"
2930 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2934 eval "$ac_cv_use_mem_tracing"
2935 if test "$no_cache" != 1; then
2936 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2939 if test "$wxUSE_MEM_TRACING" = yes; then
2940 echo "$as_me:2940: result: yes" >&5
2941 echo "${ECHO_T}yes" >&6
2943 echo "$as_me:2943: result: no" >&5
2944 echo "${ECHO_T}no" >&6
2947 echo "$as_me:2947: checking for --enable-profile" >&5
2948 echo $ECHO_N "checking for --enable-profile... $ECHO_C" >&6
2950 # Check whether --enable-profile or --disable-profile was given.
2951 if test "${enable_profile+set}" = set; then
2952 enableval="$enable_profile"
2954 if test "$enableval" = yes; then
2955 ac_cv_use_profile='wxUSE_PROFILE=yes'
2957 ac_cv_use_profile='wxUSE_PROFILE=no'
2962 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2963 if test "x$LINE" != x ; then
2964 eval "DEFAULT_$LINE"
2969 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2973 eval "$ac_cv_use_profile"
2974 if test "$no_cache" != 1; then
2975 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2978 if test "$wxUSE_PROFILE" = yes; then
2979 echo "$as_me:2979: result: yes" >&5
2980 echo "${ECHO_T}yes" >&6
2982 echo "$as_me:2982: result: no" >&5
2983 echo "${ECHO_T}no" >&6
2986 echo "$as_me:2986: checking for --enable-no_rtti" >&5
2987 echo $ECHO_N "checking for --enable-no_rtti... $ECHO_C" >&6
2989 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2990 if test "${enable_no_rtti+set}" = set; then
2991 enableval="$enable_no_rtti"
2993 if test "$enableval" = yes; then
2994 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
2996 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
3001 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3002 if test "x$LINE" != x ; then
3003 eval "DEFAULT_$LINE"
3008 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3012 eval "$ac_cv_use_no_rtti"
3013 if test "$no_cache" != 1; then
3014 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3017 if test "$wxUSE_NO_RTTI" = yes; then
3018 echo "$as_me:3018: result: yes" >&5
3019 echo "${ECHO_T}yes" >&6
3021 echo "$as_me:3021: result: no" >&5
3022 echo "${ECHO_T}no" >&6
3025 echo "$as_me:3025: checking for --enable-no_exceptions" >&5
3026 echo $ECHO_N "checking for --enable-no_exceptions... $ECHO_C" >&6
3028 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3029 if test "${enable_no_exceptions+set}" = set; then
3030 enableval="$enable_no_exceptions"
3032 if test "$enableval" = yes; then
3033 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
3035 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
3040 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3041 if test "x$LINE" != x ; then
3042 eval "DEFAULT_$LINE"
3047 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3051 eval "$ac_cv_use_no_exceptions"
3052 if test "$no_cache" != 1; then
3053 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3056 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3057 echo "$as_me:3057: result: yes" >&5
3058 echo "${ECHO_T}yes" >&6
3060 echo "$as_me:3060: result: no" >&5
3061 echo "${ECHO_T}no" >&6
3064 echo "$as_me:3064: checking for --enable-permissive" >&5
3065 echo $ECHO_N "checking for --enable-permissive... $ECHO_C" >&6
3067 # Check whether --enable-permissive or --disable-permissive was given.
3068 if test "${enable_permissive+set}" = set; then
3069 enableval="$enable_permissive"
3071 if test "$enableval" = yes; then
3072 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
3074 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
3079 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3080 if test "x$LINE" != x ; then
3081 eval "DEFAULT_$LINE"
3086 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
3090 eval "$ac_cv_use_permissive"
3091 if test "$no_cache" != 1; then
3092 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3095 if test "$wxUSE_PERMISSIVE" = yes; then
3096 echo "$as_me:3096: result: yes" >&5
3097 echo "${ECHO_T}yes" >&6
3099 echo "$as_me:3099: result: no" >&5
3100 echo "${ECHO_T}no" >&6
3103 echo "$as_me:3103: checking for --enable-no_deps" >&5
3104 echo $ECHO_N "checking for --enable-no_deps... $ECHO_C" >&6
3106 # Check whether --enable-no_deps or --disable-no_deps was given.
3107 if test "${enable_no_deps+set}" = set; then
3108 enableval="$enable_no_deps"
3110 if test "$enableval" = yes; then
3111 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
3113 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
3118 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3119 if test "x$LINE" != x ; then
3120 eval "DEFAULT_$LINE"
3125 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
3129 eval "$ac_cv_use_no_deps"
3130 if test "$no_cache" != 1; then
3131 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
3134 if test "$wxUSE_NO_DEPS" = yes; then
3135 echo "$as_me:3135: result: yes" >&5
3136 echo "${ECHO_T}yes" >&6
3138 echo "$as_me:3138: result: no" >&5
3139 echo "${ECHO_T}no" >&6
3142 echo "$as_me:3142: checking for --enable-compat20" >&5
3143 echo $ECHO_N "checking for --enable-compat20... $ECHO_C" >&6
3145 # Check whether --enable-compat20 or --disable-compat20 was given.
3146 if test "${enable_compat20+set}" = set; then
3147 enableval="$enable_compat20"
3149 if test "$enableval" = yes; then
3150 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2=yes'
3152 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2=no'
3157 LINE=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
3158 if test "x$LINE" != x ; then
3159 eval "DEFAULT_$LINE"
3164 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
3168 eval "$ac_cv_use_compat20"
3169 if test "$no_cache" != 1; then
3170 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
3173 if test "$WXWIN_COMPATIBILITY_2" = yes; then
3174 echo "$as_me:3174: result: yes" >&5
3175 echo "${ECHO_T}yes" >&6
3177 echo "$as_me:3177: result: no" >&5
3178 echo "${ECHO_T}no" >&6
3181 echo "$as_me:3181: checking for --enable-compat22" >&5
3182 echo $ECHO_N "checking for --enable-compat22... $ECHO_C" >&6
3184 # Check whether --enable-compat22 or --disable-compat22 was given.
3185 if test "${enable_compat22+set}" = set; then
3186 enableval="$enable_compat22"
3188 if test "$enableval" = yes; then
3189 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
3191 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
3196 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3197 if test "x$LINE" != x ; then
3198 eval "DEFAULT_$LINE"
3203 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3207 eval "$ac_cv_use_compat22"
3208 if test "$no_cache" != 1; then
3209 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3212 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3213 echo "$as_me:3213: result: yes" >&5
3214 echo "${ECHO_T}yes" >&6
3216 echo "$as_me:3216: result: no" >&5
3217 echo "${ECHO_T}no" >&6
3220 # Check whether --enable-rpath or --disable-rpath was given.
3221 if test "${enable_rpath+set}" = set; then
3222 enableval="$enable_rpath"
3223 wxRPATH_DIR="$enableval"
3226 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
3227 WXCONFIG_RPATH="-Wl,-rpath -Wl,$wxRPATH_DIR"
3230 echo "$as_me:3230: checking for --enable-intl" >&5
3231 echo $ECHO_N "checking for --enable-intl... $ECHO_C" >&6
3233 # Check whether --enable-intl or --disable-intl was given.
3234 if test "${enable_intl+set}" = set; then
3235 enableval="$enable_intl"
3237 if test "$enableval" = yes; then
3238 ac_cv_use_intl='wxUSE_INTL=yes'
3240 ac_cv_use_intl='wxUSE_INTL=no'
3245 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3246 if test "x$LINE" != x ; then
3247 eval "DEFAULT_$LINE"
3252 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3256 eval "$ac_cv_use_intl"
3257 if test "$no_cache" != 1; then
3258 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3261 if test "$wxUSE_INTL" = yes; then
3262 echo "$as_me:3262: result: yes" >&5
3263 echo "${ECHO_T}yes" >&6
3265 echo "$as_me:3265: result: no" >&5
3266 echo "${ECHO_T}no" >&6
3269 echo "$as_me:3269: checking for --enable-config" >&5
3270 echo $ECHO_N "checking for --enable-config... $ECHO_C" >&6
3272 # Check whether --enable-config or --disable-config was given.
3273 if test "${enable_config+set}" = set; then
3274 enableval="$enable_config"
3276 if test "$enableval" = yes; then
3277 ac_cv_use_config='wxUSE_CONFIG=yes'
3279 ac_cv_use_config='wxUSE_CONFIG=no'
3284 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3285 if test "x$LINE" != x ; then
3286 eval "DEFAULT_$LINE"
3291 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3295 eval "$ac_cv_use_config"
3296 if test "$no_cache" != 1; then
3297 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3300 if test "$wxUSE_CONFIG" = yes; then
3301 echo "$as_me:3301: result: yes" >&5
3302 echo "${ECHO_T}yes" >&6
3304 echo "$as_me:3304: result: no" >&5
3305 echo "${ECHO_T}no" >&6
3308 echo "$as_me:3308: checking for --enable-protocols" >&5
3309 echo $ECHO_N "checking for --enable-protocols... $ECHO_C" >&6
3311 # Check whether --enable-protocols or --disable-protocols was given.
3312 if test "${enable_protocols+set}" = set; then
3313 enableval="$enable_protocols"
3315 if test "$enableval" = yes; then
3316 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
3318 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
3323 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3324 if test "x$LINE" != x ; then
3325 eval "DEFAULT_$LINE"
3330 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
3334 eval "$ac_cv_use_protocols"
3335 if test "$no_cache" != 1; then
3336 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3339 if test "$wxUSE_PROTOCOL" = yes; then
3340 echo "$as_me:3340: result: yes" >&5
3341 echo "${ECHO_T}yes" >&6
3343 echo "$as_me:3343: result: no" >&5
3344 echo "${ECHO_T}no" >&6
3347 echo "$as_me:3347: checking for --enable-ftp" >&5
3348 echo $ECHO_N "checking for --enable-ftp... $ECHO_C" >&6
3350 # Check whether --enable-ftp or --disable-ftp was given.
3351 if test "${enable_ftp+set}" = set; then
3352 enableval="$enable_ftp"
3354 if test "$enableval" = yes; then
3355 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
3357 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
3362 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3363 if test "x$LINE" != x ; then
3364 eval "DEFAULT_$LINE"
3369 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
3373 eval "$ac_cv_use_ftp"
3374 if test "$no_cache" != 1; then
3375 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3378 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3379 echo "$as_me:3379: result: yes" >&5
3380 echo "${ECHO_T}yes" >&6
3382 echo "$as_me:3382: result: no" >&5
3383 echo "${ECHO_T}no" >&6
3386 echo "$as_me:3386: checking for --enable-http" >&5
3387 echo $ECHO_N "checking for --enable-http... $ECHO_C" >&6
3389 # Check whether --enable-http or --disable-http was given.
3390 if test "${enable_http+set}" = set; then
3391 enableval="$enable_http"
3393 if test "$enableval" = yes; then
3394 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
3396 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
3401 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3402 if test "x$LINE" != x ; then
3403 eval "DEFAULT_$LINE"
3408 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
3412 eval "$ac_cv_use_http"
3413 if test "$no_cache" != 1; then
3414 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
3417 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
3418 echo "$as_me:3418: result: yes" >&5
3419 echo "${ECHO_T}yes" >&6
3421 echo "$as_me:3421: result: no" >&5
3422 echo "${ECHO_T}no" >&6
3425 echo "$as_me:3425: checking for --enable-fileproto" >&5
3426 echo $ECHO_N "checking for --enable-fileproto... $ECHO_C" >&6
3428 # Check whether --enable-fileproto or --disable-fileproto was given.
3429 if test "${enable_fileproto+set}" = set; then
3430 enableval="$enable_fileproto"
3432 if test "$enableval" = yes; then
3433 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
3435 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
3440 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
3441 if test "x$LINE" != x ; then
3442 eval "DEFAULT_$LINE"
3447 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
3451 eval "$ac_cv_use_fileproto"
3452 if test "$no_cache" != 1; then
3453 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
3456 if test "$wxUSE_PROTOCOL_FILE" = yes; then
3457 echo "$as_me:3457: result: yes" >&5
3458 echo "${ECHO_T}yes" >&6
3460 echo "$as_me:3460: result: no" >&5
3461 echo "${ECHO_T}no" >&6
3464 echo "$as_me:3464: checking for --enable-sockets" >&5
3465 echo $ECHO_N "checking for --enable-sockets... $ECHO_C" >&6
3467 # Check whether --enable-sockets or --disable-sockets was given.
3468 if test "${enable_sockets+set}" = set; then
3469 enableval="$enable_sockets"
3471 if test "$enableval" = yes; then
3472 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
3474 ac_cv_use_sockets='wxUSE_SOCKETS=no'
3479 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
3480 if test "x$LINE" != x ; then
3481 eval "DEFAULT_$LINE"
3486 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
3490 eval "$ac_cv_use_sockets"
3491 if test "$no_cache" != 1; then
3492 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
3495 if test "$wxUSE_SOCKETS" = yes; then
3496 echo "$as_me:3496: result: yes" >&5
3497 echo "${ECHO_T}yes" >&6
3499 echo "$as_me:3499: result: no" >&5
3500 echo "${ECHO_T}no" >&6
3503 echo "$as_me:3503: checking for --enable-ipc" >&5
3504 echo $ECHO_N "checking for --enable-ipc... $ECHO_C" >&6
3506 # Check whether --enable-ipc or --disable-ipc was given.
3507 if test "${enable_ipc+set}" = set; then
3508 enableval="$enable_ipc"
3510 if test "$enableval" = yes; then
3511 ac_cv_use_ipc='wxUSE_IPC=yes'
3513 ac_cv_use_ipc='wxUSE_IPC=no'
3518 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
3519 if test "x$LINE" != x ; then
3520 eval "DEFAULT_$LINE"
3525 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
3529 eval "$ac_cv_use_ipc"
3530 if test "$no_cache" != 1; then
3531 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
3534 if test "$wxUSE_IPC" = yes; then
3535 echo "$as_me:3535: result: yes" >&5
3536 echo "${ECHO_T}yes" >&6
3538 echo "$as_me:3538: result: no" >&5
3539 echo "${ECHO_T}no" >&6
3542 echo "$as_me:3542: checking for --enable-cmdline" >&5
3543 echo $ECHO_N "checking for --enable-cmdline... $ECHO_C" >&6
3545 # Check whether --enable-cmdline or --disable-cmdline was given.
3546 if test "${enable_cmdline+set}" = set; then
3547 enableval="$enable_cmdline"
3549 if test "$enableval" = yes; then
3550 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
3552 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
3557 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
3558 if test "x$LINE" != x ; then
3559 eval "DEFAULT_$LINE"
3564 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
3568 eval "$ac_cv_use_cmdline"
3569 if test "$no_cache" != 1; then
3570 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
3573 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3574 echo "$as_me:3574: result: yes" >&5
3575 echo "${ECHO_T}yes" >&6
3577 echo "$as_me:3577: result: no" >&5
3578 echo "${ECHO_T}no" >&6
3581 echo "$as_me:3581: checking for --enable-datetime" >&5
3582 echo $ECHO_N "checking for --enable-datetime... $ECHO_C" >&6
3584 # Check whether --enable-datetime or --disable-datetime was given.
3585 if test "${enable_datetime+set}" = set; then
3586 enableval="$enable_datetime"
3588 if test "$enableval" = yes; then
3589 ac_cv_use_datetime='wxUSE_DATETIME=yes'
3591 ac_cv_use_datetime='wxUSE_DATETIME=no'
3596 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3597 if test "x$LINE" != x ; then
3598 eval "DEFAULT_$LINE"
3603 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3607 eval "$ac_cv_use_datetime"
3608 if test "$no_cache" != 1; then
3609 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3612 if test "$wxUSE_DATETIME" = yes; then
3613 echo "$as_me:3613: result: yes" >&5
3614 echo "${ECHO_T}yes" >&6
3616 echo "$as_me:3616: result: no" >&5
3617 echo "${ECHO_T}no" >&6
3620 echo "$as_me:3620: checking for --enable-timedate" >&5
3621 echo $ECHO_N "checking for --enable-timedate... $ECHO_C" >&6
3623 # Check whether --enable-timedate or --disable-timedate was given.
3624 if test "${enable_timedate+set}" = set; then
3625 enableval="$enable_timedate"
3627 if test "$enableval" = yes; then
3628 ac_cv_use_timedate='wxUSE_TIMEDATE=yes'
3630 ac_cv_use_timedate='wxUSE_TIMEDATE=no'
3635 LINE=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
3636 if test "x$LINE" != x ; then
3637 eval "DEFAULT_$LINE"
3642 ac_cv_use_timedate='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
3646 eval "$ac_cv_use_timedate"
3647 if test "$no_cache" != 1; then
3648 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
3651 if test "$wxUSE_TIMEDATE" = yes; then
3652 echo "$as_me:3652: result: yes" >&5
3653 echo "${ECHO_T}yes" >&6
3655 echo "$as_me:3655: result: no" >&5
3656 echo "${ECHO_T}no" >&6
3659 echo "$as_me:3659: checking for --enable-stopwatch" >&5
3660 echo $ECHO_N "checking for --enable-stopwatch... $ECHO_C" >&6
3662 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3663 if test "${enable_stopwatch+set}" = set; then
3664 enableval="$enable_stopwatch"
3666 if test "$enableval" = yes; then
3667 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
3669 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
3674 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3675 if test "x$LINE" != x ; then
3676 eval "DEFAULT_$LINE"
3681 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3685 eval "$ac_cv_use_stopwatch"
3686 if test "$no_cache" != 1; then
3687 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3690 if test "$wxUSE_STOPWATCH" = yes; then
3691 echo "$as_me:3691: result: yes" >&5
3692 echo "${ECHO_T}yes" >&6
3694 echo "$as_me:3694: result: no" >&5
3695 echo "${ECHO_T}no" >&6
3698 echo "$as_me:3698: checking for --enable-dialupman" >&5
3699 echo $ECHO_N "checking for --enable-dialupman... $ECHO_C" >&6
3701 # Check whether --enable-dialupman or --disable-dialupman was given.
3702 if test "${enable_dialupman+set}" = set; then
3703 enableval="$enable_dialupman"
3705 if test "$enableval" = yes; then
3706 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
3708 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
3713 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3714 if test "x$LINE" != x ; then
3715 eval "DEFAULT_$LINE"
3720 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3724 eval "$ac_cv_use_dialupman"
3725 if test "$no_cache" != 1; then
3726 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3729 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3730 echo "$as_me:3730: result: yes" >&5
3731 echo "${ECHO_T}yes" >&6
3733 echo "$as_me:3733: result: no" >&5
3734 echo "${ECHO_T}no" >&6
3737 echo "$as_me:3737: checking for --enable-apple_ieee" >&5
3738 echo $ECHO_N "checking for --enable-apple_ieee... $ECHO_C" >&6
3740 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3741 if test "${enable_apple_ieee+set}" = set; then
3742 enableval="$enable_apple_ieee"
3744 if test "$enableval" = yes; then
3745 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
3747 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
3752 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3753 if test "x$LINE" != x ; then
3754 eval "DEFAULT_$LINE"
3759 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3763 eval "$ac_cv_use_apple_ieee"
3764 if test "$no_cache" != 1; then
3765 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3768 if test "$wxUSE_APPLE_IEEE" = yes; then
3769 echo "$as_me:3769: result: yes" >&5
3770 echo "${ECHO_T}yes" >&6
3772 echo "$as_me:3772: result: no" >&5
3773 echo "${ECHO_T}no" >&6
3776 echo "$as_me:3776: checking for --enable-timer" >&5
3777 echo $ECHO_N "checking for --enable-timer... $ECHO_C" >&6
3779 # Check whether --enable-timer or --disable-timer was given.
3780 if test "${enable_timer+set}" = set; then
3781 enableval="$enable_timer"
3783 if test "$enableval" = yes; then
3784 ac_cv_use_timer='wxUSE_TIMER=yes'
3786 ac_cv_use_timer='wxUSE_TIMER=no'
3791 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3792 if test "x$LINE" != x ; then
3793 eval "DEFAULT_$LINE"
3798 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3802 eval "$ac_cv_use_timer"
3803 if test "$no_cache" != 1; then
3804 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3807 if test "$wxUSE_TIMER" = yes; then
3808 echo "$as_me:3808: result: yes" >&5
3809 echo "${ECHO_T}yes" >&6
3811 echo "$as_me:3811: result: no" >&5
3812 echo "${ECHO_T}no" >&6
3815 echo "$as_me:3815: checking for --enable-wave" >&5
3816 echo $ECHO_N "checking for --enable-wave... $ECHO_C" >&6
3818 # Check whether --enable-wave or --disable-wave was given.
3819 if test "${enable_wave+set}" = set; then
3820 enableval="$enable_wave"
3822 if test "$enableval" = yes; then
3823 ac_cv_use_wave='wxUSE_WAVE=yes'
3825 ac_cv_use_wave='wxUSE_WAVE=no'
3830 LINE=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3831 if test "x$LINE" != x ; then
3832 eval "DEFAULT_$LINE"
3837 ac_cv_use_wave='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3841 eval "$ac_cv_use_wave"
3842 if test "$no_cache" != 1; then
3843 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3846 if test "$wxUSE_WAVE" = yes; then
3847 echo "$as_me:3847: result: yes" >&5
3848 echo "${ECHO_T}yes" >&6
3850 echo "$as_me:3850: result: no" >&5
3851 echo "${ECHO_T}no" >&6
3854 echo "$as_me:3854: checking for --enable-fraction" >&5
3855 echo $ECHO_N "checking for --enable-fraction... $ECHO_C" >&6
3857 # Check whether --enable-fraction or --disable-fraction was given.
3858 if test "${enable_fraction+set}" = set; then
3859 enableval="$enable_fraction"
3861 if test "$enableval" = yes; then
3862 ac_cv_use_fraction='wxUSE_FRACTION=yes'
3864 ac_cv_use_fraction='wxUSE_FRACTION=no'
3869 LINE=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3870 if test "x$LINE" != x ; then
3871 eval "DEFAULT_$LINE"
3876 ac_cv_use_fraction='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3880 eval "$ac_cv_use_fraction"
3881 if test "$no_cache" != 1; then
3882 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3885 if test "$wxUSE_FRACTION" = yes; then
3886 echo "$as_me:3886: result: yes" >&5
3887 echo "${ECHO_T}yes" >&6
3889 echo "$as_me:3889: result: no" >&5
3890 echo "${ECHO_T}no" >&6
3893 echo "$as_me:3893: checking for --enable-dynlib" >&5
3894 echo $ECHO_N "checking for --enable-dynlib... $ECHO_C" >&6
3896 # Check whether --enable-dynlib or --disable-dynlib was given.
3897 if test "${enable_dynlib+set}" = set; then
3898 enableval="$enable_dynlib"
3900 if test "$enableval" = yes; then
3901 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
3903 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
3908 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3909 if test "x$LINE" != x ; then
3910 eval "DEFAULT_$LINE"
3915 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3919 eval "$ac_cv_use_dynlib"
3920 if test "$no_cache" != 1; then
3921 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3924 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3925 echo "$as_me:3925: result: yes" >&5
3926 echo "${ECHO_T}yes" >&6
3928 echo "$as_me:3928: result: no" >&5
3929 echo "${ECHO_T}no" >&6
3932 echo "$as_me:3932: checking for --enable-dynamicloader" >&5
3933 echo $ECHO_N "checking for --enable-dynamicloader... $ECHO_C" >&6
3935 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
3936 if test "${enable_dynamicloader+set}" = set; then
3937 enableval="$enable_dynamicloader"
3939 if test "$enableval" = yes; then
3940 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
3942 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
3947 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
3948 if test "x$LINE" != x ; then
3949 eval "DEFAULT_$LINE"
3954 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
3958 eval "$ac_cv_use_dynamicloader"
3959 if test "$no_cache" != 1; then
3960 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
3963 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
3964 echo "$as_me:3964: result: yes" >&5
3965 echo "${ECHO_T}yes" >&6
3967 echo "$as_me:3967: result: no" >&5
3968 echo "${ECHO_T}no" >&6
3971 echo "$as_me:3971: checking for --enable-longlong" >&5
3972 echo $ECHO_N "checking for --enable-longlong... $ECHO_C" >&6
3974 # Check whether --enable-longlong or --disable-longlong was given.
3975 if test "${enable_longlong+set}" = set; then
3976 enableval="$enable_longlong"
3978 if test "$enableval" = yes; then
3979 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
3981 ac_cv_use_longlong='wxUSE_LONGLONG=no'
3986 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3987 if test "x$LINE" != x ; then
3988 eval "DEFAULT_$LINE"
3993 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3997 eval "$ac_cv_use_longlong"
3998 if test "$no_cache" != 1; then
3999 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
4002 if test "$wxUSE_LONGLONG" = yes; then
4003 echo "$as_me:4003: result: yes" >&5
4004 echo "${ECHO_T}yes" >&6
4006 echo "$as_me:4006: result: no" >&5
4007 echo "${ECHO_T}no" >&6
4010 echo "$as_me:4010: checking for --enable-geometry" >&5
4011 echo $ECHO_N "checking for --enable-geometry... $ECHO_C" >&6
4013 # Check whether --enable-geometry or --disable-geometry was given.
4014 if test "${enable_geometry+set}" = set; then
4015 enableval="$enable_geometry"
4017 if test "$enableval" = yes; then
4018 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
4020 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
4025 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
4026 if test "x$LINE" != x ; then
4027 eval "DEFAULT_$LINE"
4032 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
4036 eval "$ac_cv_use_geometry"
4037 if test "$no_cache" != 1; then
4038 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
4041 if test "$wxUSE_GEOMETRY" = yes; then
4042 echo "$as_me:4042: result: yes" >&5
4043 echo "${ECHO_T}yes" >&6
4045 echo "$as_me:4045: result: no" >&5
4046 echo "${ECHO_T}no" >&6
4049 echo "$as_me:4049: checking for --enable-log" >&5
4050 echo $ECHO_N "checking for --enable-log... $ECHO_C" >&6
4052 # Check whether --enable-log or --disable-log was given.
4053 if test "${enable_log+set}" = set; then
4054 enableval="$enable_log"
4056 if test "$enableval" = yes; then
4057 ac_cv_use_log='wxUSE_LOG=yes'
4059 ac_cv_use_log='wxUSE_LOG=no'
4064 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
4065 if test "x$LINE" != x ; then
4066 eval "DEFAULT_$LINE"
4071 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
4075 eval "$ac_cv_use_log"
4076 if test "$no_cache" != 1; then
4077 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
4080 if test "$wxUSE_LOG" = yes; then
4081 echo "$as_me:4081: result: yes" >&5
4082 echo "${ECHO_T}yes" >&6
4084 echo "$as_me:4084: result: no" >&5
4085 echo "${ECHO_T}no" >&6
4088 echo "$as_me:4088: checking for --enable-streams" >&5
4089 echo $ECHO_N "checking for --enable-streams... $ECHO_C" >&6
4091 # Check whether --enable-streams or --disable-streams was given.
4092 if test "${enable_streams+set}" = set; then
4093 enableval="$enable_streams"
4095 if test "$enableval" = yes; then
4096 ac_cv_use_streams='wxUSE_STREAMS=yes'
4098 ac_cv_use_streams='wxUSE_STREAMS=no'
4103 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
4104 if test "x$LINE" != x ; then
4105 eval "DEFAULT_$LINE"
4110 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
4114 eval "$ac_cv_use_streams"
4115 if test "$no_cache" != 1; then
4116 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
4119 if test "$wxUSE_STREAMS" = yes; then
4120 echo "$as_me:4120: result: yes" >&5
4121 echo "${ECHO_T}yes" >&6
4123 echo "$as_me:4123: result: no" >&5
4124 echo "${ECHO_T}no" >&6
4127 echo "$as_me:4127: checking for --enable-file" >&5
4128 echo $ECHO_N "checking for --enable-file... $ECHO_C" >&6
4130 # Check whether --enable-file or --disable-file was given.
4131 if test "${enable_file+set}" = set; then
4132 enableval="$enable_file"
4134 if test "$enableval" = yes; then
4135 ac_cv_use_file='wxUSE_FILE=yes'
4137 ac_cv_use_file='wxUSE_FILE=no'
4142 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4143 if test "x$LINE" != x ; then
4144 eval "DEFAULT_$LINE"
4149 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4153 eval "$ac_cv_use_file"
4154 if test "$no_cache" != 1; then
4155 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4158 if test "$wxUSE_FILE" = yes; then
4159 echo "$as_me:4159: result: yes" >&5
4160 echo "${ECHO_T}yes" >&6
4162 echo "$as_me:4162: result: no" >&5
4163 echo "${ECHO_T}no" >&6
4166 echo "$as_me:4166: checking for --enable-ffile" >&5
4167 echo $ECHO_N "checking for --enable-ffile... $ECHO_C" >&6
4169 # Check whether --enable-ffile or --disable-ffile was given.
4170 if test "${enable_ffile+set}" = set; then
4171 enableval="$enable_ffile"
4173 if test "$enableval" = yes; then
4174 ac_cv_use_ffile='wxUSE_FFILE=yes'
4176 ac_cv_use_ffile='wxUSE_FFILE=no'
4181 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4182 if test "x$LINE" != x ; then
4183 eval "DEFAULT_$LINE"
4188 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4192 eval "$ac_cv_use_ffile"
4193 if test "$no_cache" != 1; then
4194 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4197 if test "$wxUSE_FFILE" = yes; then
4198 echo "$as_me:4198: result: yes" >&5
4199 echo "${ECHO_T}yes" >&6
4201 echo "$as_me:4201: result: no" >&5
4202 echo "${ECHO_T}no" >&6
4205 echo "$as_me:4205: checking for --enable-textbuf" >&5
4206 echo $ECHO_N "checking for --enable-textbuf... $ECHO_C" >&6
4208 # Check whether --enable-textbuf or --disable-textbuf was given.
4209 if test "${enable_textbuf+set}" = set; then
4210 enableval="$enable_textbuf"
4212 if test "$enableval" = yes; then
4213 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
4215 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
4220 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
4221 if test "x$LINE" != x ; then
4222 eval "DEFAULT_$LINE"
4227 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
4231 eval "$ac_cv_use_textbuf"
4232 if test "$no_cache" != 1; then
4233 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
4236 if test "$wxUSE_TEXTBUFFER" = yes; then
4237 echo "$as_me:4237: result: yes" >&5
4238 echo "${ECHO_T}yes" >&6
4240 echo "$as_me:4240: result: no" >&5
4241 echo "${ECHO_T}no" >&6
4244 echo "$as_me:4244: checking for --enable-textfile" >&5
4245 echo $ECHO_N "checking for --enable-textfile... $ECHO_C" >&6
4247 # Check whether --enable-textfile or --disable-textfile was given.
4248 if test "${enable_textfile+set}" = set; then
4249 enableval="$enable_textfile"
4251 if test "$enableval" = yes; then
4252 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
4254 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
4259 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
4260 if test "x$LINE" != x ; then
4261 eval "DEFAULT_$LINE"
4266 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
4270 eval "$ac_cv_use_textfile"
4271 if test "$no_cache" != 1; then
4272 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4275 if test "$wxUSE_TEXTFILE" = yes; then
4276 echo "$as_me:4276: result: yes" >&5
4277 echo "${ECHO_T}yes" >&6
4279 echo "$as_me:4279: result: no" >&5
4280 echo "${ECHO_T}no" >&6
4283 echo "$as_me:4283: checking for --enable-fontmap" >&5
4284 echo $ECHO_N "checking for --enable-fontmap... $ECHO_C" >&6
4286 # Check whether --enable-fontmap or --disable-fontmap was given.
4287 if test "${enable_fontmap+set}" = set; then
4288 enableval="$enable_fontmap"
4290 if test "$enableval" = yes; then
4291 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
4293 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
4298 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4299 if test "x$LINE" != x ; then
4300 eval "DEFAULT_$LINE"
4305 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4309 eval "$ac_cv_use_fontmap"
4310 if test "$no_cache" != 1; then
4311 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4314 if test "$wxUSE_FONTMAP" = yes; then
4315 echo "$as_me:4315: result: yes" >&5
4316 echo "${ECHO_T}yes" >&6
4318 echo "$as_me:4318: result: no" >&5
4319 echo "${ECHO_T}no" >&6
4322 echo "$as_me:4322: checking for --enable-unicode" >&5
4323 echo $ECHO_N "checking for --enable-unicode... $ECHO_C" >&6
4325 # Check whether --enable-unicode or --disable-unicode was given.
4326 if test "${enable_unicode+set}" = set; then
4327 enableval="$enable_unicode"
4329 if test "$enableval" = yes; then
4330 ac_cv_use_unicode='wxUSE_UNICODE=yes'
4332 ac_cv_use_unicode='wxUSE_UNICODE=no'
4337 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
4338 if test "x$LINE" != x ; then
4339 eval "DEFAULT_$LINE"
4344 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
4348 eval "$ac_cv_use_unicode"
4349 if test "$no_cache" != 1; then
4350 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
4353 if test "$wxUSE_UNICODE" = yes; then
4354 echo "$as_me:4354: result: yes" >&5
4355 echo "${ECHO_T}yes" >&6
4357 echo "$as_me:4357: result: no" >&5
4358 echo "${ECHO_T}no" >&6
4361 echo "$as_me:4361: checking for --enable-mslu" >&5
4362 echo $ECHO_N "checking for --enable-mslu... $ECHO_C" >&6
4364 # Check whether --enable-mslu or --disable-mslu was given.
4365 if test "${enable_mslu+set}" = set; then
4366 enableval="$enable_mslu"
4368 if test "$enableval" = yes; then
4369 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4371 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4376 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
4377 if test "x$LINE" != x ; then
4378 eval "DEFAULT_$LINE"
4383 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
4387 eval "$ac_cv_use_mslu"
4388 if test "$no_cache" != 1; then
4389 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
4392 if test "$wxUSE_UNICODE_MSLU" = yes; then
4393 echo "$as_me:4393: result: yes" >&5
4394 echo "${ECHO_T}yes" >&6
4396 echo "$as_me:4396: result: no" >&5
4397 echo "${ECHO_T}no" >&6
4400 echo "$as_me:4400: checking for --enable-wxprintfv" >&5
4401 echo $ECHO_N "checking for --enable-wxprintfv... $ECHO_C" >&6
4403 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
4404 if test "${enable_wxprintfv+set}" = set; then
4405 enableval="$enable_wxprintfv"
4407 if test "$enableval" = yes; then
4408 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
4410 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
4415 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
4416 if test "x$LINE" != x ; then
4417 eval "DEFAULT_$LINE"
4422 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
4426 eval "$ac_cv_use_wxprintfv"
4427 if test "$no_cache" != 1; then
4428 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
4431 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
4432 echo "$as_me:4432: result: yes" >&5
4433 echo "${ECHO_T}yes" >&6
4435 echo "$as_me:4435: result: no" >&5
4436 echo "${ECHO_T}no" >&6
4439 echo "$as_me:4439: checking for --enable-std_iostreams" >&5
4440 echo $ECHO_N "checking for --enable-std_iostreams... $ECHO_C" >&6
4442 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
4443 if test "${enable_std_iostreams+set}" = set; then
4444 enableval="$enable_std_iostreams"
4446 if test "$enableval" = yes; then
4447 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4449 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4454 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
4455 if test "x$LINE" != x ; then
4456 eval "DEFAULT_$LINE"
4461 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
4465 eval "$ac_cv_use_std_iostreams"
4466 if test "$no_cache" != 1; then
4467 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
4470 if test "$wxUSE_STD_IOSTREAM" = yes; then
4471 echo "$as_me:4471: result: yes" >&5
4472 echo "${ECHO_T}yes" >&6
4474 echo "$as_me:4474: result: no" >&5
4475 echo "${ECHO_T}no" >&6
4478 echo "$as_me:4478: checking for --enable-filesystem" >&5
4479 echo $ECHO_N "checking for --enable-filesystem... $ECHO_C" >&6
4481 # Check whether --enable-filesystem or --disable-filesystem was given.
4482 if test "${enable_filesystem+set}" = set; then
4483 enableval="$enable_filesystem"
4485 if test "$enableval" = yes; then
4486 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
4488 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
4493 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4494 if test "x$LINE" != x ; then
4495 eval "DEFAULT_$LINE"
4500 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4504 eval "$ac_cv_use_filesystem"
4505 if test "$no_cache" != 1; then
4506 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4509 if test "$wxUSE_FILESYSTEM" = yes; then
4510 echo "$as_me:4510: result: yes" >&5
4511 echo "${ECHO_T}yes" >&6
4513 echo "$as_me:4513: result: no" >&5
4514 echo "${ECHO_T}no" >&6
4517 echo "$as_me:4517: checking for --enable-fs_inet" >&5
4518 echo $ECHO_N "checking for --enable-fs_inet... $ECHO_C" >&6
4520 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4521 if test "${enable_fs_inet+set}" = set; then
4522 enableval="$enable_fs_inet"
4524 if test "$enableval" = yes; then
4525 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
4527 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
4532 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4533 if test "x$LINE" != x ; then
4534 eval "DEFAULT_$LINE"
4539 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
4543 eval "$ac_cv_use_fs_inet"
4544 if test "$no_cache" != 1; then
4545 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
4548 if test "$wxUSE_FS_INET" = yes; then
4549 echo "$as_me:4549: result: yes" >&5
4550 echo "${ECHO_T}yes" >&6
4552 echo "$as_me:4552: result: no" >&5
4553 echo "${ECHO_T}no" >&6
4556 echo "$as_me:4556: checking for --enable-fs_zip" >&5
4557 echo $ECHO_N "checking for --enable-fs_zip... $ECHO_C" >&6
4559 # Check whether --enable-fs_zip or --disable-fs_zip was given.
4560 if test "${enable_fs_zip+set}" = set; then
4561 enableval="$enable_fs_zip"
4563 if test "$enableval" = yes; then
4564 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
4566 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
4571 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4572 if test "x$LINE" != x ; then
4573 eval "DEFAULT_$LINE"
4578 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4582 eval "$ac_cv_use_fs_zip"
4583 if test "$no_cache" != 1; then
4584 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4587 if test "$wxUSE_FS_ZIP" = yes; then
4588 echo "$as_me:4588: result: yes" >&5
4589 echo "${ECHO_T}yes" >&6
4591 echo "$as_me:4591: result: no" >&5
4592 echo "${ECHO_T}no" >&6
4595 echo "$as_me:4595: checking for --enable-zipstream" >&5
4596 echo $ECHO_N "checking for --enable-zipstream... $ECHO_C" >&6
4598 # Check whether --enable-zipstream or --disable-zipstream was given.
4599 if test "${enable_zipstream+set}" = set; then
4600 enableval="$enable_zipstream"
4602 if test "$enableval" = yes; then
4603 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
4605 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
4610 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
4611 if test "x$LINE" != x ; then
4612 eval "DEFAULT_$LINE"
4617 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
4621 eval "$ac_cv_use_zipstream"
4622 if test "$no_cache" != 1; then
4623 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
4626 if test "$wxUSE_ZIPSTREAM" = yes; then
4627 echo "$as_me:4627: result: yes" >&5
4628 echo "${ECHO_T}yes" >&6
4630 echo "$as_me:4630: result: no" >&5
4631 echo "${ECHO_T}no" >&6
4634 echo "$as_me:4634: checking for --enable-catch_segvs" >&5
4635 echo $ECHO_N "checking for --enable-catch_segvs... $ECHO_C" >&6
4637 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4638 if test "${enable_catch_segvs+set}" = set; then
4639 enableval="$enable_catch_segvs"
4641 if test "$enableval" = yes; then
4642 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
4644 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
4649 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4650 if test "x$LINE" != x ; then
4651 eval "DEFAULT_$LINE"
4656 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4660 eval "$ac_cv_use_catch_segvs"
4661 if test "$no_cache" != 1; then
4662 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4665 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4666 echo "$as_me:4666: result: yes" >&5
4667 echo "${ECHO_T}yes" >&6
4669 echo "$as_me:4669: result: no" >&5
4670 echo "${ECHO_T}no" >&6
4673 echo "$as_me:4673: checking for --enable-snglinst" >&5
4674 echo $ECHO_N "checking for --enable-snglinst... $ECHO_C" >&6
4676 # Check whether --enable-snglinst or --disable-snglinst was given.
4677 if test "${enable_snglinst+set}" = set; then
4678 enableval="$enable_snglinst"
4680 if test "$enableval" = yes; then
4681 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
4683 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
4688 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4689 if test "x$LINE" != x ; then
4690 eval "DEFAULT_$LINE"
4695 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4699 eval "$ac_cv_use_snglinst"
4700 if test "$no_cache" != 1; then
4701 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4704 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4705 echo "$as_me:4705: result: yes" >&5
4706 echo "${ECHO_T}yes" >&6
4708 echo "$as_me:4708: result: no" >&5
4709 echo "${ECHO_T}no" >&6
4712 echo "$as_me:4712: checking for --enable-mimetype" >&5
4713 echo $ECHO_N "checking for --enable-mimetype... $ECHO_C" >&6
4715 # Check whether --enable-mimetype or --disable-mimetype was given.
4716 if test "${enable_mimetype+set}" = set; then
4717 enableval="$enable_mimetype"
4719 if test "$enableval" = yes; then
4720 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
4722 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
4727 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4728 if test "x$LINE" != x ; then
4729 eval "DEFAULT_$LINE"
4734 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4738 eval "$ac_cv_use_mimetype"
4739 if test "$no_cache" != 1; then
4740 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4743 if test "$wxUSE_MIMETYPE" = yes; then
4744 echo "$as_me:4744: result: yes" >&5
4745 echo "${ECHO_T}yes" >&6
4747 echo "$as_me:4747: result: no" >&5
4748 echo "${ECHO_T}no" >&6
4751 echo "$as_me:4751: checking for --enable-system_options" >&5
4752 echo $ECHO_N "checking for --enable-system_options... $ECHO_C" >&6
4754 # Check whether --enable-system_options or --disable-system_options was given.
4755 if test "${enable_system_options+set}" = set; then
4756 enableval="$enable_system_options"
4758 if test "$enableval" = yes; then
4759 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
4761 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
4766 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
4767 if test "x$LINE" != x ; then
4768 eval "DEFAULT_$LINE"
4773 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
4777 eval "$ac_cv_use_system_options"
4778 if test "$no_cache" != 1; then
4779 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
4782 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
4783 echo "$as_me:4783: result: yes" >&5
4784 echo "${ECHO_T}yes" >&6
4786 echo "$as_me:4786: result: no" >&5
4787 echo "${ECHO_T}no" >&6
4790 echo "$as_me:4790: checking for --enable-url" >&5
4791 echo $ECHO_N "checking for --enable-url... $ECHO_C" >&6
4793 # Check whether --enable-url or --disable-url was given.
4794 if test "${enable_url+set}" = set; then
4795 enableval="$enable_url"
4797 if test "$enableval" = yes; then
4798 ac_cv_use_url='wxUSE_URL=yes'
4800 ac_cv_use_url='wxUSE_URL=no'
4805 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
4806 if test "x$LINE" != x ; then
4807 eval "DEFAULT_$LINE"
4812 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
4816 eval "$ac_cv_use_url"
4817 if test "$no_cache" != 1; then
4818 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
4821 if test "$wxUSE_URL" = yes; then
4822 echo "$as_me:4822: result: yes" >&5
4823 echo "${ECHO_T}yes" >&6
4825 echo "$as_me:4825: result: no" >&5
4826 echo "${ECHO_T}no" >&6
4829 echo "$as_me:4829: checking for --enable-protocol" >&5
4830 echo $ECHO_N "checking for --enable-protocol... $ECHO_C" >&6
4832 # Check whether --enable-protocol or --disable-protocol was given.
4833 if test "${enable_protocol+set}" = set; then
4834 enableval="$enable_protocol"
4836 if test "$enableval" = yes; then
4837 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
4839 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
4844 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4845 if test "x$LINE" != x ; then
4846 eval "DEFAULT_$LINE"
4851 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4855 eval "$ac_cv_use_protocol"
4856 if test "$no_cache" != 1; then
4857 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
4860 if test "$wxUSE_PROTOCOL" = yes; then
4861 echo "$as_me:4861: result: yes" >&5
4862 echo "${ECHO_T}yes" >&6
4864 echo "$as_me:4864: result: no" >&5
4865 echo "${ECHO_T}no" >&6
4868 echo "$as_me:4868: checking for --enable-protocol_http" >&5
4869 echo $ECHO_N "checking for --enable-protocol_http... $ECHO_C" >&6
4871 # Check whether --enable-protocol_http or --disable-protocol_http was given.
4872 if test "${enable_protocol_http+set}" = set; then
4873 enableval="$enable_protocol_http"
4875 if test "$enableval" = yes; then
4876 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
4878 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
4883 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4884 if test "x$LINE" != x ; then
4885 eval "DEFAULT_$LINE"
4890 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4894 eval "$ac_cv_use_protocol_http"
4895 if test "$no_cache" != 1; then
4896 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
4899 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4900 echo "$as_me:4900: result: yes" >&5
4901 echo "${ECHO_T}yes" >&6
4903 echo "$as_me:4903: result: no" >&5
4904 echo "${ECHO_T}no" >&6
4907 echo "$as_me:4907: checking for --enable-protocol_ftp" >&5
4908 echo $ECHO_N "checking for --enable-protocol_ftp... $ECHO_C" >&6
4910 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
4911 if test "${enable_protocol_ftp+set}" = set; then
4912 enableval="$enable_protocol_ftp"
4914 if test "$enableval" = yes; then
4915 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
4917 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
4922 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4923 if test "x$LINE" != x ; then
4924 eval "DEFAULT_$LINE"
4929 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4933 eval "$ac_cv_use_protocol_ftp"
4934 if test "$no_cache" != 1; then
4935 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
4938 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4939 echo "$as_me:4939: result: yes" >&5
4940 echo "${ECHO_T}yes" >&6
4942 echo "$as_me:4942: result: no" >&5
4943 echo "${ECHO_T}no" >&6
4946 echo "$as_me:4946: checking for --enable-protocol_file" >&5
4947 echo $ECHO_N "checking for --enable-protocol_file... $ECHO_C" >&6
4949 # Check whether --enable-protocol_file or --disable-protocol_file was given.
4950 if test "${enable_protocol_file+set}" = set; then
4951 enableval="$enable_protocol_file"
4953 if test "$enableval" = yes; then
4954 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
4956 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
4961 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4962 if test "x$LINE" != x ; then
4963 eval "DEFAULT_$LINE"
4968 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4972 eval "$ac_cv_use_protocol_file"
4973 if test "$no_cache" != 1; then
4974 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
4977 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4978 echo "$as_me:4978: result: yes" >&5
4979 echo "${ECHO_T}yes" >&6
4981 echo "$as_me:4981: result: no" >&5
4982 echo "${ECHO_T}no" >&6
4985 echo "$as_me:4985: checking for --enable-threads" >&5
4986 echo $ECHO_N "checking for --enable-threads... $ECHO_C" >&6
4988 # Check whether --enable-threads or --disable-threads was given.
4989 if test "${enable_threads+set}" = set; then
4990 enableval="$enable_threads"
4992 if test "$enableval" = yes; then
4993 ac_cv_use_threads='wxUSE_THREADS=yes'
4995 ac_cv_use_threads='wxUSE_THREADS=no'
5000 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
5001 if test "x$LINE" != x ; then
5002 eval "DEFAULT_$LINE"
5007 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
5011 eval "$ac_cv_use_threads"
5012 if test "$no_cache" != 1; then
5013 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
5016 if test "$wxUSE_THREADS" = yes; then
5017 echo "$as_me:5017: result: yes" >&5
5018 echo "${ECHO_T}yes" >&6
5020 echo "$as_me:5020: result: no" >&5
5021 echo "${ECHO_T}no" >&6
5024 if test "$wxUSE_GUI" = "yes"; then
5026 echo "$as_me:5026: checking for --enable-docview" >&5
5027 echo $ECHO_N "checking for --enable-docview... $ECHO_C" >&6
5029 # Check whether --enable-docview or --disable-docview was given.
5030 if test "${enable_docview+set}" = set; then
5031 enableval="$enable_docview"
5033 if test "$enableval" = yes; then
5034 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
5036 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
5041 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
5042 if test "x$LINE" != x ; then
5043 eval "DEFAULT_$LINE"
5048 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
5052 eval "$ac_cv_use_docview"
5053 if test "$no_cache" != 1; then
5054 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
5057 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
5058 echo "$as_me:5058: result: yes" >&5
5059 echo "${ECHO_T}yes" >&6
5061 echo "$as_me:5061: result: no" >&5
5062 echo "${ECHO_T}no" >&6
5065 echo "$as_me:5065: checking for --enable-help" >&5
5066 echo $ECHO_N "checking for --enable-help... $ECHO_C" >&6
5068 # Check whether --enable-help or --disable-help was given.
5069 if test "${enable_help+set}" = set; then
5070 enableval="$enable_help"
5072 if test "$enableval" = yes; then
5073 ac_cv_use_help='wxUSE_HELP=yes'
5075 ac_cv_use_help='wxUSE_HELP=no'
5080 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
5081 if test "x$LINE" != x ; then
5082 eval "DEFAULT_$LINE"
5087 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
5091 eval "$ac_cv_use_help"
5092 if test "$no_cache" != 1; then
5093 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
5096 if test "$wxUSE_HELP" = yes; then
5097 echo "$as_me:5097: result: yes" >&5
5098 echo "${ECHO_T}yes" >&6
5100 echo "$as_me:5100: result: no" >&5
5101 echo "${ECHO_T}no" >&6
5104 echo "$as_me:5104: checking for --enable-mshtmlhelp" >&5
5105 echo $ECHO_N "checking for --enable-mshtmlhelp... $ECHO_C" >&6
5107 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
5108 if test "${enable_mshtmlhelp+set}" = set; then
5109 enableval="$enable_mshtmlhelp"
5111 if test "$enableval" = yes; then
5112 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
5114 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
5119 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
5120 if test "x$LINE" != x ; then
5121 eval "DEFAULT_$LINE"
5126 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
5130 eval "$ac_cv_use_mshtmlhelp"
5131 if test "$no_cache" != 1; then
5132 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
5135 if test "$wxUSE_MS_HTML_HELP" = yes; then
5136 echo "$as_me:5136: result: yes" >&5
5137 echo "${ECHO_T}yes" >&6
5139 echo "$as_me:5139: result: no" >&5
5140 echo "${ECHO_T}no" >&6
5143 echo "$as_me:5143: checking for --enable-html" >&5
5144 echo $ECHO_N "checking for --enable-html... $ECHO_C" >&6
5146 # Check whether --enable-html or --disable-html was given.
5147 if test "${enable_html+set}" = set; then
5148 enableval="$enable_html"
5150 if test "$enableval" = yes; then
5151 ac_cv_use_html='wxUSE_HTML=yes'
5153 ac_cv_use_html='wxUSE_HTML=no'
5158 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5159 if test "x$LINE" != x ; then
5160 eval "DEFAULT_$LINE"
5165 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5169 eval "$ac_cv_use_html"
5170 if test "$no_cache" != 1; then
5171 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5174 if test "$wxUSE_HTML" = yes; then
5175 echo "$as_me:5175: result: yes" >&5
5176 echo "${ECHO_T}yes" >&6
5178 echo "$as_me:5178: result: no" >&5
5179 echo "${ECHO_T}no" >&6
5182 echo "$as_me:5182: checking for --enable-htmlhelp" >&5
5183 echo $ECHO_N "checking for --enable-htmlhelp... $ECHO_C" >&6
5185 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
5186 if test "${enable_htmlhelp+set}" = set; then
5187 enableval="$enable_htmlhelp"
5189 if test "$enableval" = yes; then
5190 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
5192 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
5197 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
5198 if test "x$LINE" != x ; then
5199 eval "DEFAULT_$LINE"
5204 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
5208 eval "$ac_cv_use_htmlhelp"
5209 if test "$no_cache" != 1; then
5210 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
5213 if test "$wxUSE_WXHTML_HELP" = yes; then
5214 echo "$as_me:5214: result: yes" >&5
5215 echo "${ECHO_T}yes" >&6
5217 echo "$as_me:5217: result: no" >&5
5218 echo "${ECHO_T}no" >&6
5221 echo "$as_me:5221: checking for --enable-constraints" >&5
5222 echo $ECHO_N "checking for --enable-constraints... $ECHO_C" >&6
5224 # Check whether --enable-constraints or --disable-constraints was given.
5225 if test "${enable_constraints+set}" = set; then
5226 enableval="$enable_constraints"
5228 if test "$enableval" = yes; then
5229 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
5231 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
5236 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5237 if test "x$LINE" != x ; then
5238 eval "DEFAULT_$LINE"
5243 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
5247 eval "$ac_cv_use_constraints"
5248 if test "$no_cache" != 1; then
5249 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
5252 if test "$wxUSE_CONSTRAINTS" = yes; then
5253 echo "$as_me:5253: result: yes" >&5
5254 echo "${ECHO_T}yes" >&6
5256 echo "$as_me:5256: result: no" >&5
5257 echo "${ECHO_T}no" >&6
5260 echo "$as_me:5260: checking for --enable-printarch" >&5
5261 echo $ECHO_N "checking for --enable-printarch... $ECHO_C" >&6
5263 # Check whether --enable-printarch or --disable-printarch was given.
5264 if test "${enable_printarch+set}" = set; then
5265 enableval="$enable_printarch"
5267 if test "$enableval" = yes; then
5268 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
5270 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
5275 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
5276 if test "x$LINE" != x ; then
5277 eval "DEFAULT_$LINE"
5282 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
5286 eval "$ac_cv_use_printarch"
5287 if test "$no_cache" != 1; then
5288 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
5291 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
5292 echo "$as_me:5292: result: yes" >&5
5293 echo "${ECHO_T}yes" >&6
5295 echo "$as_me:5295: result: no" >&5
5296 echo "${ECHO_T}no" >&6
5299 echo "$as_me:5299: checking for --enable-mdi" >&5
5300 echo $ECHO_N "checking for --enable-mdi... $ECHO_C" >&6
5302 # Check whether --enable-mdi or --disable-mdi was given.
5303 if test "${enable_mdi+set}" = set; then
5304 enableval="$enable_mdi"
5306 if test "$enableval" = yes; then
5307 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=yes'
5309 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=no'
5314 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
5315 if test "x$LINE" != x ; then
5316 eval "DEFAULT_$LINE"
5321 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
5325 eval "$ac_cv_use_mdi"
5326 if test "$no_cache" != 1; then
5327 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
5330 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
5331 echo "$as_me:5331: result: yes" >&5
5332 echo "${ECHO_T}yes" >&6
5334 echo "$as_me:5334: result: no" >&5
5335 echo "${ECHO_T}no" >&6
5338 echo "$as_me:5338: checking for --enable-loggui" >&5
5339 echo $ECHO_N "checking for --enable-loggui... $ECHO_C" >&6
5341 # Check whether --enable-loggui or --disable-loggui was given.
5342 if test "${enable_loggui+set}" = set; then
5343 enableval="$enable_loggui"
5345 if test "$enableval" = yes; then
5346 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
5348 ac_cv_use_loggui='wxUSE_LOGGUI=no'
5353 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
5354 if test "x$LINE" != x ; then
5355 eval "DEFAULT_$LINE"
5360 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
5364 eval "$ac_cv_use_loggui"
5365 if test "$no_cache" != 1; then
5366 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
5369 if test "$wxUSE_LOGGUI" = yes; then
5370 echo "$as_me:5370: result: yes" >&5
5371 echo "${ECHO_T}yes" >&6
5373 echo "$as_me:5373: result: no" >&5
5374 echo "${ECHO_T}no" >&6
5377 echo "$as_me:5377: checking for --enable-logwin" >&5
5378 echo $ECHO_N "checking for --enable-logwin... $ECHO_C" >&6
5380 # Check whether --enable-logwin or --disable-logwin was given.
5381 if test "${enable_logwin+set}" = set; then
5382 enableval="$enable_logwin"
5384 if test "$enableval" = yes; then
5385 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
5387 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
5392 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
5393 if test "x$LINE" != x ; then
5394 eval "DEFAULT_$LINE"
5399 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
5403 eval "$ac_cv_use_logwin"
5404 if test "$no_cache" != 1; then
5405 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
5408 if test "$wxUSE_LOGWINDOW" = yes; then
5409 echo "$as_me:5409: result: yes" >&5
5410 echo "${ECHO_T}yes" >&6
5412 echo "$as_me:5412: result: no" >&5
5413 echo "${ECHO_T}no" >&6
5416 echo "$as_me:5416: checking for --enable-logdialog" >&5
5417 echo $ECHO_N "checking for --enable-logdialog... $ECHO_C" >&6
5419 # Check whether --enable-logdialog or --disable-logdialog was given.
5420 if test "${enable_logdialog+set}" = set; then
5421 enableval="$enable_logdialog"
5423 if test "$enableval" = yes; then
5424 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
5426 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
5431 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
5432 if test "x$LINE" != x ; then
5433 eval "DEFAULT_$LINE"
5438 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
5442 eval "$ac_cv_use_logdialog"
5443 if test "$no_cache" != 1; then
5444 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
5447 if test "$wxUSE_LOGDIALOG" = yes; then
5448 echo "$as_me:5448: result: yes" >&5
5449 echo "${ECHO_T}yes" >&6
5451 echo "$as_me:5451: result: no" >&5
5452 echo "${ECHO_T}no" >&6
5455 echo "$as_me:5455: checking for --enable-postscript" >&5
5456 echo $ECHO_N "checking for --enable-postscript... $ECHO_C" >&6
5458 # Check whether --enable-postscript or --disable-postscript was given.
5459 if test "${enable_postscript+set}" = set; then
5460 enableval="$enable_postscript"
5462 if test "$enableval" = yes; then
5463 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
5465 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
5470 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
5471 if test "x$LINE" != x ; then
5472 eval "DEFAULT_$LINE"
5477 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
5481 eval "$ac_cv_use_postscript"
5482 if test "$no_cache" != 1; then
5483 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
5486 if test "$wxUSE_POSTSCRIPT" = yes; then
5487 echo "$as_me:5487: result: yes" >&5
5488 echo "${ECHO_T}yes" >&6
5490 echo "$as_me:5490: result: no" >&5
5491 echo "${ECHO_T}no" >&6
5494 echo "$as_me:5494: checking for --enable-prologio" >&5
5495 echo $ECHO_N "checking for --enable-prologio... $ECHO_C" >&6
5497 # Check whether --enable-prologio or --disable-prologio was given.
5498 if test "${enable_prologio+set}" = set; then
5499 enableval="$enable_prologio"
5501 if test "$enableval" = yes; then
5502 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
5504 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
5509 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
5510 if test "x$LINE" != x ; then
5511 eval "DEFAULT_$LINE"
5516 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
5520 eval "$ac_cv_use_prologio"
5521 if test "$no_cache" != 1; then
5522 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
5525 if test "$wxUSE_PROLOGIO" = yes; then
5526 echo "$as_me:5526: result: yes" >&5
5527 echo "${ECHO_T}yes" >&6
5529 echo "$as_me:5529: result: no" >&5
5530 echo "${ECHO_T}no" >&6
5533 echo "$as_me:5533: checking for --enable-resources" >&5
5534 echo $ECHO_N "checking for --enable-resources... $ECHO_C" >&6
5536 # Check whether --enable-resources or --disable-resources was given.
5537 if test "${enable_resources+set}" = set; then
5538 enableval="$enable_resources"
5540 if test "$enableval" = yes; then
5541 ac_cv_use_resources='wxUSE_RESOURCES=yes'
5543 ac_cv_use_resources='wxUSE_RESOURCES=no'
5548 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
5549 if test "x$LINE" != x ; then
5550 eval "DEFAULT_$LINE"
5555 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
5559 eval "$ac_cv_use_resources"
5560 if test "$no_cache" != 1; then
5561 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
5564 if test "$wxUSE_RESOURCES" = yes; then
5565 echo "$as_me:5565: result: yes" >&5
5566 echo "${ECHO_T}yes" >&6
5568 echo "$as_me:5568: result: no" >&5
5569 echo "${ECHO_T}no" >&6
5572 echo "$as_me:5572: checking for --enable-xresources" >&5
5573 echo $ECHO_N "checking for --enable-xresources... $ECHO_C" >&6
5575 # Check whether --enable-xresources or --disable-xresources was given.
5576 if test "${enable_xresources+set}" = set; then
5577 enableval="$enable_xresources"
5579 if test "$enableval" = yes; then
5580 ac_cv_use_xresources='wxUSE_X_RESOURCES=yes'
5582 ac_cv_use_xresources='wxUSE_X_RESOURCES=no'
5587 LINE=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
5588 if test "x$LINE" != x ; then
5589 eval "DEFAULT_$LINE"
5594 ac_cv_use_xresources='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
5598 eval "$ac_cv_use_xresources"
5599 if test "$no_cache" != 1; then
5600 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
5603 if test "$wxUSE_X_RESOURCES" = yes; then
5604 echo "$as_me:5604: result: yes" >&5
5605 echo "${ECHO_T}yes" >&6
5607 echo "$as_me:5607: result: no" >&5
5608 echo "${ECHO_T}no" >&6
5611 echo "$as_me:5611: checking for --enable-clipboard" >&5
5612 echo $ECHO_N "checking for --enable-clipboard... $ECHO_C" >&6
5614 # Check whether --enable-clipboard or --disable-clipboard was given.
5615 if test "${enable_clipboard+set}" = set; then
5616 enableval="$enable_clipboard"
5618 if test "$enableval" = yes; then
5619 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
5621 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
5626 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
5627 if test "x$LINE" != x ; then
5628 eval "DEFAULT_$LINE"
5633 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
5637 eval "$ac_cv_use_clipboard"
5638 if test "$no_cache" != 1; then
5639 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
5642 if test "$wxUSE_CLIPBOARD" = yes; then
5643 echo "$as_me:5643: result: yes" >&5
5644 echo "${ECHO_T}yes" >&6
5646 echo "$as_me:5646: result: no" >&5
5647 echo "${ECHO_T}no" >&6
5650 echo "$as_me:5650: checking for --enable-dnd" >&5
5651 echo $ECHO_N "checking for --enable-dnd... $ECHO_C" >&6
5653 # Check whether --enable-dnd or --disable-dnd was given.
5654 if test "${enable_dnd+set}" = set; then
5655 enableval="$enable_dnd"
5657 if test "$enableval" = yes; then
5658 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
5660 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
5665 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
5666 if test "x$LINE" != x ; then
5667 eval "DEFAULT_$LINE"
5672 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
5676 eval "$ac_cv_use_dnd"
5677 if test "$no_cache" != 1; then
5678 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
5681 if test "$wxUSE_DRAG_AND_DROP" = yes; then
5682 echo "$as_me:5682: result: yes" >&5
5683 echo "${ECHO_T}yes" >&6
5685 echo "$as_me:5685: result: no" >&5
5686 echo "${ECHO_T}no" >&6
5689 echo "$as_me:5689: checking for --enable-metafile" >&5
5690 echo $ECHO_N "checking for --enable-metafile... $ECHO_C" >&6
5692 # Check whether --enable-metafile or --disable-metafile was given.
5693 if test "${enable_metafile+set}" = set; then
5694 enableval="$enable_metafile"
5696 if test "$enableval" = yes; then
5697 ac_cv_use_metafile='wxUSE_METAFILE=yes'
5699 ac_cv_use_metafile='wxUSE_METAFILE=no'
5704 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
5705 if test "x$LINE" != x ; then
5706 eval "DEFAULT_$LINE"
5711 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
5715 eval "$ac_cv_use_metafile"
5716 if test "$no_cache" != 1; then
5717 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
5720 if test "$wxUSE_METAFILE" = yes; then
5721 echo "$as_me:5721: result: yes" >&5
5722 echo "${ECHO_T}yes" >&6
5724 echo "$as_me:5724: result: no" >&5
5725 echo "${ECHO_T}no" >&6
5728 echo "$as_me:5728: checking for --enable-treelayout" >&5
5729 echo $ECHO_N "checking for --enable-treelayout... $ECHO_C" >&6
5731 # Check whether --enable-treelayout or --disable-treelayout was given.
5732 if test "${enable_treelayout+set}" = set; then
5733 enableval="$enable_treelayout"
5735 if test "$enableval" = yes; then
5736 ac_cv_use_treelayout='wxUSE_TREELAYOUT=yes'
5738 ac_cv_use_treelayout='wxUSE_TREELAYOUT=no'
5743 LINE=`grep "wxUSE_TREELAYOUT" ${wx_arg_cache_file}`
5744 if test "x$LINE" != x ; then
5745 eval "DEFAULT_$LINE"
5750 ac_cv_use_treelayout='wxUSE_TREELAYOUT='$DEFAULT_wxUSE_TREELAYOUT
5754 eval "$ac_cv_use_treelayout"
5755 if test "$no_cache" != 1; then
5756 echo $ac_cv_use_treelayout >> ${wx_arg_cache_file}.tmp
5759 if test "$wxUSE_TREELAYOUT" = yes; then
5760 echo "$as_me:5760: result: yes" >&5
5761 echo "${ECHO_T}yes" >&6
5763 echo "$as_me:5763: result: no" >&5
5764 echo "${ECHO_T}no" >&6
5767 echo "$as_me:5767: checking for --enable-controls" >&5
5768 echo $ECHO_N "checking for --enable-controls... $ECHO_C" >&6
5770 # Check whether --enable-controls or --disable-controls was given.
5771 if test "${enable_controls+set}" = set; then
5772 enableval="$enable_controls"
5774 if test "$enableval" = yes; then
5775 ac_cv_use_controls='wxUSE_CONTROLS=yes'
5777 ac_cv_use_controls='wxUSE_CONTROLS=no'
5782 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
5783 if test "x$LINE" != x ; then
5784 eval "DEFAULT_$LINE"
5789 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
5793 eval "$ac_cv_use_controls"
5794 if test "$no_cache" != 1; then
5795 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
5798 if test "$wxUSE_CONTROLS" = yes; then
5799 echo "$as_me:5799: result: yes" >&5
5800 echo "${ECHO_T}yes" >&6
5802 echo "$as_me:5802: result: no" >&5
5803 echo "${ECHO_T}no" >&6
5806 if test "$wxUSE_CONTROLS" = "yes"; then
5807 DEFAULT_wxUSE_ACCEL=yes
5808 DEFAULT_wxUSE_BMPBUTTON=yes
5809 DEFAULT_wxUSE_BUTTON=yes
5810 DEFAULT_wxUSE_CALCTRL=no
5811 DEFAULT_wxUSE_CARET=yes
5812 DEFAULT_wxUSE_COMBOBOX=yes
5813 DEFAULT_wxUSE_CHECKBOX=yes
5814 DEFAULT_wxUSE_CHECKLISTBOX=yes
5815 DEFAULT_wxUSE_CHOICE=yes
5816 DEFAULT_wxUSE_GAUGE=yes
5817 DEFAULT_wxUSE_GRID=yes
5818 DEFAULT_wxUSE_NEW_GRID=yes
5819 DEFAULT_wxUSE_IMAGLIST=yes
5820 DEFAULT_wxUSE_LISTBOX=yes
5821 DEFAULT_wxUSE_LISTCTRL=yes
5822 DEFAULT_wxUSE_NOTEBOOK=yes
5823 DEFAULT_wxUSE_PROPSHEET=yes
5824 DEFAULT_wxUSE_RADIOBOX=yes
5825 DEFAULT_wxUSE_RADIOBTN=yes
5826 DEFAULT_wxUSE_SASH=yes
5827 DEFAULT_wxUSE_SCROLLBAR=yes
5828 DEFAULT_wxUSE_SLIDER=yes
5829 DEFAULT_wxUSE_SPINBTN=yes
5830 DEFAULT_wxUSE_SPINCTRL=yes
5831 DEFAULT_wxUSE_SPLITTER=yes
5832 DEFAULT_wxUSE_STATBMP=yes
5833 DEFAULT_wxUSE_STATBOX=yes
5834 DEFAULT_wxUSE_STATLINE=yes
5835 DEFAULT_wxUSE_STATUSBAR=yes
5836 DEFAULT_wxUSE_TAB_DIALOG=yes
5837 DEFAULT_wxUSE_TOGGLEBTN=yes
5838 DEFAULT_wxUSE_TOOLBAR=yes
5839 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
5840 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
5841 DEFAULT_wxUSE_TOOLTIPS=yes
5842 DEFAULT_wxUSE_TREECTRL=yes
5843 DEFAULT_wxUSE_POPUPWIN=yes
5844 DEFAULT_wxUSE_TIPWINDOW=yes
5845 elif test "$wxUSE_CONTROLS" = "no"; then
5846 DEFAULT_wxUSE_ACCEL=no
5847 DEFAULT_wxUSE_BMPBUTTON=no
5848 DEFAULT_wxUSE_BUTTON=no
5849 DEFAULT_wxUSE_CALCTRL=no
5850 DEFAULT_wxUSE_CARET=no
5851 DEFAULT_wxUSE_COMBOBOX=no
5852 DEFAULT_wxUSE_CHECKBOX=no
5853 DEFAULT_wxUSE_CHECKLISTBOX=no
5854 DEFAULT_wxUSE_CHOICE=no
5855 DEFAULT_wxUSE_GAUGE=no
5856 DEFAULT_wxUSE_GRID=no
5857 DEFAULT_wxUSE_NEW_GRID=no
5858 DEFAULT_wxUSE_IMAGLIST=no
5859 DEFAULT_wxUSE_LISTBOX=no
5860 DEFAULT_wxUSE_LISTCTRL=no
5861 DEFAULT_wxUSE_NOTEBOOK=no
5862 DEFAULT_wxUSE_PROPSHEET=no
5863 DEFAULT_wxUSE_RADIOBOX=no
5864 DEFAULT_wxUSE_RADIOBTN=no
5865 DEFAULT_wxUSE_SASH=no
5866 DEFAULT_wxUSE_SCROLLBAR=no
5867 DEFAULT_wxUSE_SLIDER=no
5868 DEFAULT_wxUSE_SPINBTN=no
5869 DEFAULT_wxUSE_SPINCTRL=no
5870 DEFAULT_wxUSE_SPLITTER=no
5871 DEFAULT_wxUSE_STATBMP=no
5872 DEFAULT_wxUSE_STATBOX=no
5873 DEFAULT_wxUSE_STATLINE=no
5874 DEFAULT_wxUSE_STATUSBAR=no
5875 DEFAULT_wxUSE_TAB_DIALOG=no
5876 DEFAULT_wxUSE_TOGGLEBTN=no
5877 DEFAULT_wxUSE_TOOLBAR=no
5878 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
5879 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
5880 DEFAULT_wxUSE_TOOLTIPS=no
5881 DEFAULT_wxUSE_TREECTRL=no
5882 DEFAULT_wxUSE_POPUPWIN=no
5883 DEFAULT_wxUSE_TIPWINDOW=no
5886 echo "$as_me:5886: checking for --enable-accel" >&5
5887 echo $ECHO_N "checking for --enable-accel... $ECHO_C" >&6
5889 # Check whether --enable-accel or --disable-accel was given.
5890 if test "${enable_accel+set}" = set; then
5891 enableval="$enable_accel"
5893 if test "$enableval" = yes; then
5894 ac_cv_use_accel='wxUSE_ACCEL=yes'
5896 ac_cv_use_accel='wxUSE_ACCEL=no'
5901 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
5902 if test "x$LINE" != x ; then
5903 eval "DEFAULT_$LINE"
5908 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
5912 eval "$ac_cv_use_accel"
5913 if test "$no_cache" != 1; then
5914 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
5917 if test "$wxUSE_ACCEL" = yes; then
5918 echo "$as_me:5918: result: yes" >&5
5919 echo "${ECHO_T}yes" >&6
5921 echo "$as_me:5921: result: no" >&5
5922 echo "${ECHO_T}no" >&6
5925 echo "$as_me:5925: checking for --enable-button" >&5
5926 echo $ECHO_N "checking for --enable-button... $ECHO_C" >&6
5928 # Check whether --enable-button or --disable-button was given.
5929 if test "${enable_button+set}" = set; then
5930 enableval="$enable_button"
5932 if test "$enableval" = yes; then
5933 ac_cv_use_button='wxUSE_BUTTON=yes'
5935 ac_cv_use_button='wxUSE_BUTTON=no'
5940 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
5941 if test "x$LINE" != x ; then
5942 eval "DEFAULT_$LINE"
5947 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
5951 eval "$ac_cv_use_button"
5952 if test "$no_cache" != 1; then
5953 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
5956 if test "$wxUSE_BUTTON" = yes; then
5957 echo "$as_me:5957: result: yes" >&5
5958 echo "${ECHO_T}yes" >&6
5960 echo "$as_me:5960: result: no" >&5
5961 echo "${ECHO_T}no" >&6
5964 echo "$as_me:5964: checking for --enable-bmpbutton" >&5
5965 echo $ECHO_N "checking for --enable-bmpbutton... $ECHO_C" >&6
5967 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
5968 if test "${enable_bmpbutton+set}" = set; then
5969 enableval="$enable_bmpbutton"
5971 if test "$enableval" = yes; then
5972 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
5974 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
5979 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
5980 if test "x$LINE" != x ; then
5981 eval "DEFAULT_$LINE"
5986 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
5990 eval "$ac_cv_use_bmpbutton"
5991 if test "$no_cache" != 1; then
5992 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
5995 if test "$wxUSE_BMPBUTTON" = yes; then
5996 echo "$as_me:5996: result: yes" >&5
5997 echo "${ECHO_T}yes" >&6
5999 echo "$as_me:5999: result: no" >&5
6000 echo "${ECHO_T}no" >&6
6003 echo "$as_me:6003: checking for --enable-calendar" >&5
6004 echo $ECHO_N "checking for --enable-calendar... $ECHO_C" >&6
6006 # Check whether --enable-calendar or --disable-calendar was given.
6007 if test "${enable_calendar+set}" = set; then
6008 enableval="$enable_calendar"
6010 if test "$enableval" = yes; then
6011 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
6013 ac_cv_use_calendar='wxUSE_CALCTRL=no'
6018 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
6019 if test "x$LINE" != x ; then
6020 eval "DEFAULT_$LINE"
6025 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
6029 eval "$ac_cv_use_calendar"
6030 if test "$no_cache" != 1; then
6031 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
6034 if test "$wxUSE_CALCTRL" = yes; then
6035 echo "$as_me:6035: result: yes" >&5
6036 echo "${ECHO_T}yes" >&6
6038 echo "$as_me:6038: result: no" >&5
6039 echo "${ECHO_T}no" >&6
6042 echo "$as_me:6042: checking for --enable-caret" >&5
6043 echo $ECHO_N "checking for --enable-caret... $ECHO_C" >&6
6045 # Check whether --enable-caret or --disable-caret was given.
6046 if test "${enable_caret+set}" = set; then
6047 enableval="$enable_caret"
6049 if test "$enableval" = yes; then
6050 ac_cv_use_caret='wxUSE_CARET=yes'
6052 ac_cv_use_caret='wxUSE_CARET=no'
6057 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
6058 if test "x$LINE" != x ; then
6059 eval "DEFAULT_$LINE"
6064 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
6068 eval "$ac_cv_use_caret"
6069 if test "$no_cache" != 1; then
6070 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
6073 if test "$wxUSE_CARET" = yes; then
6074 echo "$as_me:6074: result: yes" >&5
6075 echo "${ECHO_T}yes" >&6
6077 echo "$as_me:6077: result: no" >&5
6078 echo "${ECHO_T}no" >&6
6081 echo "$as_me:6081: checking for --enable-checkbox" >&5
6082 echo $ECHO_N "checking for --enable-checkbox... $ECHO_C" >&6
6084 # Check whether --enable-checkbox or --disable-checkbox was given.
6085 if test "${enable_checkbox+set}" = set; then
6086 enableval="$enable_checkbox"
6088 if test "$enableval" = yes; then
6089 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
6091 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
6096 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
6097 if test "x$LINE" != x ; then
6098 eval "DEFAULT_$LINE"
6103 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
6107 eval "$ac_cv_use_checkbox"
6108 if test "$no_cache" != 1; then
6109 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
6112 if test "$wxUSE_CHECKBOX" = yes; then
6113 echo "$as_me:6113: result: yes" >&5
6114 echo "${ECHO_T}yes" >&6
6116 echo "$as_me:6116: result: no" >&5
6117 echo "${ECHO_T}no" >&6
6120 echo "$as_me:6120: checking for --enable-checklst" >&5
6121 echo $ECHO_N "checking for --enable-checklst... $ECHO_C" >&6
6123 # Check whether --enable-checklst or --disable-checklst was given.
6124 if test "${enable_checklst+set}" = set; then
6125 enableval="$enable_checklst"
6127 if test "$enableval" = yes; then
6128 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
6130 ac_cv_use_checklst='wxUSE_CHECKLST=no'
6135 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
6136 if test "x$LINE" != x ; then
6137 eval "DEFAULT_$LINE"
6142 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
6146 eval "$ac_cv_use_checklst"
6147 if test "$no_cache" != 1; then
6148 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
6151 if test "$wxUSE_CHECKLST" = yes; then
6152 echo "$as_me:6152: result: yes" >&5
6153 echo "${ECHO_T}yes" >&6
6155 echo "$as_me:6155: result: no" >&5
6156 echo "${ECHO_T}no" >&6
6159 echo "$as_me:6159: checking for --enable-choice" >&5
6160 echo $ECHO_N "checking for --enable-choice... $ECHO_C" >&6
6162 # Check whether --enable-choice or --disable-choice was given.
6163 if test "${enable_choice+set}" = set; then
6164 enableval="$enable_choice"
6166 if test "$enableval" = yes; then
6167 ac_cv_use_choice='wxUSE_CHOICE=yes'
6169 ac_cv_use_choice='wxUSE_CHOICE=no'
6174 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
6175 if test "x$LINE" != x ; then
6176 eval "DEFAULT_$LINE"
6181 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
6185 eval "$ac_cv_use_choice"
6186 if test "$no_cache" != 1; then
6187 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
6190 if test "$wxUSE_CHOICE" = yes; then
6191 echo "$as_me:6191: result: yes" >&5
6192 echo "${ECHO_T}yes" >&6
6194 echo "$as_me:6194: result: no" >&5
6195 echo "${ECHO_T}no" >&6
6198 echo "$as_me:6198: checking for --enable-combobox" >&5
6199 echo $ECHO_N "checking for --enable-combobox... $ECHO_C" >&6
6201 # Check whether --enable-combobox or --disable-combobox was given.
6202 if test "${enable_combobox+set}" = set; then
6203 enableval="$enable_combobox"
6205 if test "$enableval" = yes; then
6206 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
6208 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
6213 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6214 if test "x$LINE" != x ; then
6215 eval "DEFAULT_$LINE"
6220 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
6224 eval "$ac_cv_use_combobox"
6225 if test "$no_cache" != 1; then
6226 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6229 if test "$wxUSE_COMBOBOX" = yes; then
6230 echo "$as_me:6230: result: yes" >&5
6231 echo "${ECHO_T}yes" >&6
6233 echo "$as_me:6233: result: no" >&5
6234 echo "${ECHO_T}no" >&6
6237 echo "$as_me:6237: checking for --enable-gauge" >&5
6238 echo $ECHO_N "checking for --enable-gauge... $ECHO_C" >&6
6240 # Check whether --enable-gauge or --disable-gauge was given.
6241 if test "${enable_gauge+set}" = set; then
6242 enableval="$enable_gauge"
6244 if test "$enableval" = yes; then
6245 ac_cv_use_gauge='wxUSE_GAUGE=yes'
6247 ac_cv_use_gauge='wxUSE_GAUGE=no'
6252 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
6253 if test "x$LINE" != x ; then
6254 eval "DEFAULT_$LINE"
6259 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
6263 eval "$ac_cv_use_gauge"
6264 if test "$no_cache" != 1; then
6265 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
6268 if test "$wxUSE_GAUGE" = yes; then
6269 echo "$as_me:6269: result: yes" >&5
6270 echo "${ECHO_T}yes" >&6
6272 echo "$as_me:6272: result: no" >&5
6273 echo "${ECHO_T}no" >&6
6276 echo "$as_me:6276: checking for --enable-grid" >&5
6277 echo $ECHO_N "checking for --enable-grid... $ECHO_C" >&6
6279 # Check whether --enable-grid or --disable-grid was given.
6280 if test "${enable_grid+set}" = set; then
6281 enableval="$enable_grid"
6283 if test "$enableval" = yes; then
6284 ac_cv_use_grid='wxUSE_GRID=yes'
6286 ac_cv_use_grid='wxUSE_GRID=no'
6291 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
6292 if test "x$LINE" != x ; then
6293 eval "DEFAULT_$LINE"
6298 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
6302 eval "$ac_cv_use_grid"
6303 if test "$no_cache" != 1; then
6304 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
6307 if test "$wxUSE_GRID" = yes; then
6308 echo "$as_me:6308: result: yes" >&5
6309 echo "${ECHO_T}yes" >&6
6311 echo "$as_me:6311: result: no" >&5
6312 echo "${ECHO_T}no" >&6
6315 echo "$as_me:6315: checking for --enable-newgrid" >&5
6316 echo $ECHO_N "checking for --enable-newgrid... $ECHO_C" >&6
6318 # Check whether --enable-newgrid or --disable-newgrid was given.
6319 if test "${enable_newgrid+set}" = set; then
6320 enableval="$enable_newgrid"
6322 if test "$enableval" = yes; then
6323 ac_cv_use_newgrid='wxUSE_NEW_GRID=yes'
6325 ac_cv_use_newgrid='wxUSE_NEW_GRID=no'
6330 LINE=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
6331 if test "x$LINE" != x ; then
6332 eval "DEFAULT_$LINE"
6337 ac_cv_use_newgrid='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
6341 eval "$ac_cv_use_newgrid"
6342 if test "$no_cache" != 1; then
6343 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
6346 if test "$wxUSE_NEW_GRID" = yes; then
6347 echo "$as_me:6347: result: yes" >&5
6348 echo "${ECHO_T}yes" >&6
6350 echo "$as_me:6350: result: no" >&5
6351 echo "${ECHO_T}no" >&6
6354 echo "$as_me:6354: checking for --enable-imaglist" >&5
6355 echo $ECHO_N "checking for --enable-imaglist... $ECHO_C" >&6
6357 # Check whether --enable-imaglist or --disable-imaglist was given.
6358 if test "${enable_imaglist+set}" = set; then
6359 enableval="$enable_imaglist"
6361 if test "$enableval" = yes; then
6362 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
6364 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
6369 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
6370 if test "x$LINE" != x ; then
6371 eval "DEFAULT_$LINE"
6376 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
6380 eval "$ac_cv_use_imaglist"
6381 if test "$no_cache" != 1; then
6382 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
6385 if test "$wxUSE_IMAGLIST" = yes; then
6386 echo "$as_me:6386: result: yes" >&5
6387 echo "${ECHO_T}yes" >&6
6389 echo "$as_me:6389: result: no" >&5
6390 echo "${ECHO_T}no" >&6
6393 echo "$as_me:6393: checking for --enable-listbox" >&5
6394 echo $ECHO_N "checking for --enable-listbox... $ECHO_C" >&6
6396 # Check whether --enable-listbox or --disable-listbox was given.
6397 if test "${enable_listbox+set}" = set; then
6398 enableval="$enable_listbox"
6400 if test "$enableval" = yes; then
6401 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
6403 ac_cv_use_listbox='wxUSE_LISTBOX=no'
6408 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
6409 if test "x$LINE" != x ; then
6410 eval "DEFAULT_$LINE"
6415 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
6419 eval "$ac_cv_use_listbox"
6420 if test "$no_cache" != 1; then
6421 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
6424 if test "$wxUSE_LISTBOX" = yes; then
6425 echo "$as_me:6425: result: yes" >&5
6426 echo "${ECHO_T}yes" >&6
6428 echo "$as_me:6428: result: no" >&5
6429 echo "${ECHO_T}no" >&6
6432 echo "$as_me:6432: checking for --enable-listctrl" >&5
6433 echo $ECHO_N "checking for --enable-listctrl... $ECHO_C" >&6
6435 # Check whether --enable-listctrl or --disable-listctrl was given.
6436 if test "${enable_listctrl+set}" = set; then
6437 enableval="$enable_listctrl"
6439 if test "$enableval" = yes; then
6440 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
6442 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
6447 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
6448 if test "x$LINE" != x ; then
6449 eval "DEFAULT_$LINE"
6454 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
6458 eval "$ac_cv_use_listctrl"
6459 if test "$no_cache" != 1; then
6460 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
6463 if test "$wxUSE_LISTCTRL" = yes; then
6464 echo "$as_me:6464: result: yes" >&5
6465 echo "${ECHO_T}yes" >&6
6467 echo "$as_me:6467: result: no" >&5
6468 echo "${ECHO_T}no" >&6
6471 echo "$as_me:6471: checking for --enable-notebook" >&5
6472 echo $ECHO_N "checking for --enable-notebook... $ECHO_C" >&6
6474 # Check whether --enable-notebook or --disable-notebook was given.
6475 if test "${enable_notebook+set}" = set; then
6476 enableval="$enable_notebook"
6478 if test "$enableval" = yes; then
6479 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
6481 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
6486 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
6487 if test "x$LINE" != x ; then
6488 eval "DEFAULT_$LINE"
6493 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
6497 eval "$ac_cv_use_notebook"
6498 if test "$no_cache" != 1; then
6499 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
6502 if test "$wxUSE_NOTEBOOK" = yes; then
6503 echo "$as_me:6503: result: yes" >&5
6504 echo "${ECHO_T}yes" >&6
6506 echo "$as_me:6506: result: no" >&5
6507 echo "${ECHO_T}no" >&6
6510 echo "$as_me:6510: checking for --enable-propsheet" >&5
6511 echo $ECHO_N "checking for --enable-propsheet... $ECHO_C" >&6
6513 # Check whether --enable-propsheet or --disable-propsheet was given.
6514 if test "${enable_propsheet+set}" = set; then
6515 enableval="$enable_propsheet"
6517 if test "$enableval" = yes; then
6518 ac_cv_use_propsheet='wxUSE_PROPSHEET=yes'
6520 ac_cv_use_propsheet='wxUSE_PROPSHEET=no'
6525 LINE=`grep "wxUSE_PROPSHEET" ${wx_arg_cache_file}`
6526 if test "x$LINE" != x ; then
6527 eval "DEFAULT_$LINE"
6532 ac_cv_use_propsheet='wxUSE_PROPSHEET='$DEFAULT_wxUSE_PROPSHEET
6536 eval "$ac_cv_use_propsheet"
6537 if test "$no_cache" != 1; then
6538 echo $ac_cv_use_propsheet >> ${wx_arg_cache_file}.tmp
6541 if test "$wxUSE_PROPSHEET" = yes; then
6542 echo "$as_me:6542: result: yes" >&5
6543 echo "${ECHO_T}yes" >&6
6545 echo "$as_me:6545: result: no" >&5
6546 echo "${ECHO_T}no" >&6
6549 echo "$as_me:6549: checking for --enable-radiobox" >&5
6550 echo $ECHO_N "checking for --enable-radiobox... $ECHO_C" >&6
6552 # Check whether --enable-radiobox or --disable-radiobox was given.
6553 if test "${enable_radiobox+set}" = set; then
6554 enableval="$enable_radiobox"
6556 if test "$enableval" = yes; then
6557 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
6559 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
6564 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
6565 if test "x$LINE" != x ; then
6566 eval "DEFAULT_$LINE"
6571 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
6575 eval "$ac_cv_use_radiobox"
6576 if test "$no_cache" != 1; then
6577 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
6580 if test "$wxUSE_RADIOBOX" = yes; then
6581 echo "$as_me:6581: result: yes" >&5
6582 echo "${ECHO_T}yes" >&6
6584 echo "$as_me:6584: result: no" >&5
6585 echo "${ECHO_T}no" >&6
6588 echo "$as_me:6588: checking for --enable-radiobtn" >&5
6589 echo $ECHO_N "checking for --enable-radiobtn... $ECHO_C" >&6
6591 # Check whether --enable-radiobtn or --disable-radiobtn was given.
6592 if test "${enable_radiobtn+set}" = set; then
6593 enableval="$enable_radiobtn"
6595 if test "$enableval" = yes; then
6596 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
6598 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
6603 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
6604 if test "x$LINE" != x ; then
6605 eval "DEFAULT_$LINE"
6610 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
6614 eval "$ac_cv_use_radiobtn"
6615 if test "$no_cache" != 1; then
6616 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
6619 if test "$wxUSE_RADIOBTN" = yes; then
6620 echo "$as_me:6620: result: yes" >&5
6621 echo "${ECHO_T}yes" >&6
6623 echo "$as_me:6623: result: no" >&5
6624 echo "${ECHO_T}no" >&6
6627 echo "$as_me:6627: checking for --enable-sash" >&5
6628 echo $ECHO_N "checking for --enable-sash... $ECHO_C" >&6
6630 # Check whether --enable-sash or --disable-sash was given.
6631 if test "${enable_sash+set}" = set; then
6632 enableval="$enable_sash"
6634 if test "$enableval" = yes; then
6635 ac_cv_use_sash='wxUSE_SASH=yes'
6637 ac_cv_use_sash='wxUSE_SASH=no'
6642 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
6643 if test "x$LINE" != x ; then
6644 eval "DEFAULT_$LINE"
6649 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
6653 eval "$ac_cv_use_sash"
6654 if test "$no_cache" != 1; then
6655 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
6658 if test "$wxUSE_SASH" = yes; then
6659 echo "$as_me:6659: result: yes" >&5
6660 echo "${ECHO_T}yes" >&6
6662 echo "$as_me:6662: result: no" >&5
6663 echo "${ECHO_T}no" >&6
6666 echo "$as_me:6666: checking for --enable-scrollbar" >&5
6667 echo $ECHO_N "checking for --enable-scrollbar... $ECHO_C" >&6
6669 # Check whether --enable-scrollbar or --disable-scrollbar was given.
6670 if test "${enable_scrollbar+set}" = set; then
6671 enableval="$enable_scrollbar"
6673 if test "$enableval" = yes; then
6674 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
6676 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
6681 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
6682 if test "x$LINE" != x ; then
6683 eval "DEFAULT_$LINE"
6688 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
6692 eval "$ac_cv_use_scrollbar"
6693 if test "$no_cache" != 1; then
6694 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
6697 if test "$wxUSE_SCROLLBAR" = yes; then
6698 echo "$as_me:6698: result: yes" >&5
6699 echo "${ECHO_T}yes" >&6
6701 echo "$as_me:6701: result: no" >&5
6702 echo "${ECHO_T}no" >&6
6705 echo "$as_me:6705: checking for --enable-slider" >&5
6706 echo $ECHO_N "checking for --enable-slider... $ECHO_C" >&6
6708 # Check whether --enable-slider or --disable-slider was given.
6709 if test "${enable_slider+set}" = set; then
6710 enableval="$enable_slider"
6712 if test "$enableval" = yes; then
6713 ac_cv_use_slider='wxUSE_SLIDER=yes'
6715 ac_cv_use_slider='wxUSE_SLIDER=no'
6720 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
6721 if test "x$LINE" != x ; then
6722 eval "DEFAULT_$LINE"
6727 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
6731 eval "$ac_cv_use_slider"
6732 if test "$no_cache" != 1; then
6733 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
6736 if test "$wxUSE_SLIDER" = yes; then
6737 echo "$as_me:6737: result: yes" >&5
6738 echo "${ECHO_T}yes" >&6
6740 echo "$as_me:6740: result: no" >&5
6741 echo "${ECHO_T}no" >&6
6744 echo "$as_me:6744: checking for --enable-spinbtn" >&5
6745 echo $ECHO_N "checking for --enable-spinbtn... $ECHO_C" >&6
6747 # Check whether --enable-spinbtn or --disable-spinbtn was given.
6748 if test "${enable_spinbtn+set}" = set; then
6749 enableval="$enable_spinbtn"
6751 if test "$enableval" = yes; then
6752 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
6754 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
6759 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
6760 if test "x$LINE" != x ; then
6761 eval "DEFAULT_$LINE"
6766 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
6770 eval "$ac_cv_use_spinbtn"
6771 if test "$no_cache" != 1; then
6772 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
6775 if test "$wxUSE_SPINBTN" = yes; then
6776 echo "$as_me:6776: result: yes" >&5
6777 echo "${ECHO_T}yes" >&6
6779 echo "$as_me:6779: result: no" >&5
6780 echo "${ECHO_T}no" >&6
6783 echo "$as_me:6783: checking for --enable-spinctrl" >&5
6784 echo $ECHO_N "checking for --enable-spinctrl... $ECHO_C" >&6
6786 # Check whether --enable-spinctrl or --disable-spinctrl was given.
6787 if test "${enable_spinctrl+set}" = set; then
6788 enableval="$enable_spinctrl"
6790 if test "$enableval" = yes; then
6791 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
6793 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
6798 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
6799 if test "x$LINE" != x ; then
6800 eval "DEFAULT_$LINE"
6805 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
6809 eval "$ac_cv_use_spinctrl"
6810 if test "$no_cache" != 1; then
6811 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
6814 if test "$wxUSE_SPINCTRL" = yes; then
6815 echo "$as_me:6815: result: yes" >&5
6816 echo "${ECHO_T}yes" >&6
6818 echo "$as_me:6818: result: no" >&5
6819 echo "${ECHO_T}no" >&6
6822 echo "$as_me:6822: checking for --enable-splitter" >&5
6823 echo $ECHO_N "checking for --enable-splitter... $ECHO_C" >&6
6825 # Check whether --enable-splitter or --disable-splitter was given.
6826 if test "${enable_splitter+set}" = set; then
6827 enableval="$enable_splitter"
6829 if test "$enableval" = yes; then
6830 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
6832 ac_cv_use_splitter='wxUSE_SPLITTER=no'
6837 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
6838 if test "x$LINE" != x ; then
6839 eval "DEFAULT_$LINE"
6844 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
6848 eval "$ac_cv_use_splitter"
6849 if test "$no_cache" != 1; then
6850 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
6853 if test "$wxUSE_SPLITTER" = yes; then
6854 echo "$as_me:6854: result: yes" >&5
6855 echo "${ECHO_T}yes" >&6
6857 echo "$as_me:6857: result: no" >&5
6858 echo "${ECHO_T}no" >&6
6861 echo "$as_me:6861: checking for --enable-statbmp" >&5
6862 echo $ECHO_N "checking for --enable-statbmp... $ECHO_C" >&6
6864 # Check whether --enable-statbmp or --disable-statbmp was given.
6865 if test "${enable_statbmp+set}" = set; then
6866 enableval="$enable_statbmp"
6868 if test "$enableval" = yes; then
6869 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
6871 ac_cv_use_statbmp='wxUSE_STATBMP=no'
6876 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
6877 if test "x$LINE" != x ; then
6878 eval "DEFAULT_$LINE"
6883 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
6887 eval "$ac_cv_use_statbmp"
6888 if test "$no_cache" != 1; then
6889 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
6892 if test "$wxUSE_STATBMP" = yes; then
6893 echo "$as_me:6893: result: yes" >&5
6894 echo "${ECHO_T}yes" >&6
6896 echo "$as_me:6896: result: no" >&5
6897 echo "${ECHO_T}no" >&6
6900 echo "$as_me:6900: checking for --enable-statbox" >&5
6901 echo $ECHO_N "checking for --enable-statbox... $ECHO_C" >&6
6903 # Check whether --enable-statbox or --disable-statbox was given.
6904 if test "${enable_statbox+set}" = set; then
6905 enableval="$enable_statbox"
6907 if test "$enableval" = yes; then
6908 ac_cv_use_statbox='wxUSE_STATBOX=yes'
6910 ac_cv_use_statbox='wxUSE_STATBOX=no'
6915 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
6916 if test "x$LINE" != x ; then
6917 eval "DEFAULT_$LINE"
6922 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
6926 eval "$ac_cv_use_statbox"
6927 if test "$no_cache" != 1; then
6928 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
6931 if test "$wxUSE_STATBOX" = yes; then
6932 echo "$as_me:6932: result: yes" >&5
6933 echo "${ECHO_T}yes" >&6
6935 echo "$as_me:6935: result: no" >&5
6936 echo "${ECHO_T}no" >&6
6939 echo "$as_me:6939: checking for --enable-statline" >&5
6940 echo $ECHO_N "checking for --enable-statline... $ECHO_C" >&6
6942 # Check whether --enable-statline or --disable-statline was given.
6943 if test "${enable_statline+set}" = set; then
6944 enableval="$enable_statline"
6946 if test "$enableval" = yes; then
6947 ac_cv_use_statline='wxUSE_STATLINE=yes'
6949 ac_cv_use_statline='wxUSE_STATLINE=no'
6954 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
6955 if test "x$LINE" != x ; then
6956 eval "DEFAULT_$LINE"
6961 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
6965 eval "$ac_cv_use_statline"
6966 if test "$no_cache" != 1; then
6967 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
6970 if test "$wxUSE_STATLINE" = yes; then
6971 echo "$as_me:6971: result: yes" >&5
6972 echo "${ECHO_T}yes" >&6
6974 echo "$as_me:6974: result: no" >&5
6975 echo "${ECHO_T}no" >&6
6978 echo "$as_me:6978: checking for --enable-stattext" >&5
6979 echo $ECHO_N "checking for --enable-stattext... $ECHO_C" >&6
6981 # Check whether --enable-stattext or --disable-stattext was given.
6982 if test "${enable_stattext+set}" = set; then
6983 enableval="$enable_stattext"
6985 if test "$enableval" = yes; then
6986 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
6988 ac_cv_use_stattext='wxUSE_STATTEXT=no'
6993 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
6994 if test "x$LINE" != x ; then
6995 eval "DEFAULT_$LINE"
7000 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
7004 eval "$ac_cv_use_stattext"
7005 if test "$no_cache" != 1; then
7006 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
7009 if test "$wxUSE_STATTEXT" = yes; then
7010 echo "$as_me:7010: result: yes" >&5
7011 echo "${ECHO_T}yes" >&6
7013 echo "$as_me:7013: result: no" >&5
7014 echo "${ECHO_T}no" >&6
7017 echo "$as_me:7017: checking for --enable-statusbar" >&5
7018 echo $ECHO_N "checking for --enable-statusbar... $ECHO_C" >&6
7020 # Check whether --enable-statusbar or --disable-statusbar was given.
7021 if test "${enable_statusbar+set}" = set; then
7022 enableval="$enable_statusbar"
7024 if test "$enableval" = yes; then
7025 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
7027 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
7032 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
7033 if test "x$LINE" != x ; then
7034 eval "DEFAULT_$LINE"
7039 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
7043 eval "$ac_cv_use_statusbar"
7044 if test "$no_cache" != 1; then
7045 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
7048 if test "$wxUSE_STATUSBAR" = yes; then
7049 echo "$as_me:7049: result: yes" >&5
7050 echo "${ECHO_T}yes" >&6
7052 echo "$as_me:7052: result: no" >&5
7053 echo "${ECHO_T}no" >&6
7056 echo "$as_me:7056: checking for --enable-tabdialog" >&5
7057 echo $ECHO_N "checking for --enable-tabdialog... $ECHO_C" >&6
7059 # Check whether --enable-tabdialog or --disable-tabdialog was given.
7060 if test "${enable_tabdialog+set}" = set; then
7061 enableval="$enable_tabdialog"
7063 if test "$enableval" = yes; then
7064 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
7066 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
7071 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
7072 if test "x$LINE" != x ; then
7073 eval "DEFAULT_$LINE"
7078 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
7082 eval "$ac_cv_use_tabdialog"
7083 if test "$no_cache" != 1; then
7084 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
7087 if test "$wxUSE_TABDIALOG" = yes; then
7088 echo "$as_me:7088: result: yes" >&5
7089 echo "${ECHO_T}yes" >&6
7091 echo "$as_me:7091: result: no" >&5
7092 echo "${ECHO_T}no" >&6
7095 echo "$as_me:7095: checking for --enable-textctrl" >&5
7096 echo $ECHO_N "checking for --enable-textctrl... $ECHO_C" >&6
7098 # Check whether --enable-textctrl or --disable-textctrl was given.
7099 if test "${enable_textctrl+set}" = set; then
7100 enableval="$enable_textctrl"
7102 if test "$enableval" = yes; then
7103 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
7105 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
7110 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
7111 if test "x$LINE" != x ; then
7112 eval "DEFAULT_$LINE"
7117 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
7121 eval "$ac_cv_use_textctrl"
7122 if test "$no_cache" != 1; then
7123 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
7126 if test "$wxUSE_TEXTCTRL" = yes; then
7127 echo "$as_me:7127: result: yes" >&5
7128 echo "${ECHO_T}yes" >&6
7130 echo "$as_me:7130: result: no" >&5
7131 echo "${ECHO_T}no" >&6
7134 echo "$as_me:7134: checking for --enable-togglebtn" >&5
7135 echo $ECHO_N "checking for --enable-togglebtn... $ECHO_C" >&6
7137 # Check whether --enable-togglebtn or --disable-togglebtn was given.
7138 if test "${enable_togglebtn+set}" = set; then
7139 enableval="$enable_togglebtn"
7141 if test "$enableval" = yes; then
7142 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
7144 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
7149 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
7150 if test "x$LINE" != x ; then
7151 eval "DEFAULT_$LINE"
7156 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
7160 eval "$ac_cv_use_togglebtn"
7161 if test "$no_cache" != 1; then
7162 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
7165 if test "$wxUSE_TOGGLEBTN" = yes; then
7166 echo "$as_me:7166: result: yes" >&5
7167 echo "${ECHO_T}yes" >&6
7169 echo "$as_me:7169: result: no" >&5
7170 echo "${ECHO_T}no" >&6
7173 echo "$as_me:7173: checking for --enable-toolbar" >&5
7174 echo $ECHO_N "checking for --enable-toolbar... $ECHO_C" >&6
7176 # Check whether --enable-toolbar or --disable-toolbar was given.
7177 if test "${enable_toolbar+set}" = set; then
7178 enableval="$enable_toolbar"
7180 if test "$enableval" = yes; then
7181 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
7183 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
7188 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
7189 if test "x$LINE" != x ; then
7190 eval "DEFAULT_$LINE"
7195 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
7199 eval "$ac_cv_use_toolbar"
7200 if test "$no_cache" != 1; then
7201 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7204 if test "$wxUSE_TOOLBAR" = yes; then
7205 echo "$as_me:7205: result: yes" >&5
7206 echo "${ECHO_T}yes" >&6
7208 echo "$as_me:7208: result: no" >&5
7209 echo "${ECHO_T}no" >&6
7212 echo "$as_me:7212: checking for --enable-tbarnative" >&5
7213 echo $ECHO_N "checking for --enable-tbarnative... $ECHO_C" >&6
7215 # Check whether --enable-tbarnative or --disable-tbarnative was given.
7216 if test "${enable_tbarnative+set}" = set; then
7217 enableval="$enable_tbarnative"
7219 if test "$enableval" = yes; then
7220 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
7222 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
7227 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7228 if test "x$LINE" != x ; then
7229 eval "DEFAULT_$LINE"
7234 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7238 eval "$ac_cv_use_tbarnative"
7239 if test "$no_cache" != 1; then
7240 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7243 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7244 echo "$as_me:7244: result: yes" >&5
7245 echo "${ECHO_T}yes" >&6
7247 echo "$as_me:7247: result: no" >&5
7248 echo "${ECHO_T}no" >&6
7251 echo "$as_me:7251: checking for --enable-tbarsmpl" >&5
7252 echo $ECHO_N "checking for --enable-tbarsmpl... $ECHO_C" >&6
7254 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
7255 if test "${enable_tbarsmpl+set}" = set; then
7256 enableval="$enable_tbarsmpl"
7258 if test "$enableval" = yes; then
7259 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
7261 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
7266 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
7267 if test "x$LINE" != x ; then
7268 eval "DEFAULT_$LINE"
7273 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
7277 eval "$ac_cv_use_tbarsmpl"
7278 if test "$no_cache" != 1; then
7279 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
7282 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
7283 echo "$as_me:7283: result: yes" >&5
7284 echo "${ECHO_T}yes" >&6
7286 echo "$as_me:7286: result: no" >&5
7287 echo "${ECHO_T}no" >&6
7290 echo "$as_me:7290: checking for --enable-treectrl" >&5
7291 echo $ECHO_N "checking for --enable-treectrl... $ECHO_C" >&6
7293 # Check whether --enable-treectrl or --disable-treectrl was given.
7294 if test "${enable_treectrl+set}" = set; then
7295 enableval="$enable_treectrl"
7297 if test "$enableval" = yes; then
7298 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
7300 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
7305 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
7306 if test "x$LINE" != x ; then
7307 eval "DEFAULT_$LINE"
7312 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
7316 eval "$ac_cv_use_treectrl"
7317 if test "$no_cache" != 1; then
7318 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
7321 if test "$wxUSE_TREECTRL" = yes; then
7322 echo "$as_me:7322: result: yes" >&5
7323 echo "${ECHO_T}yes" >&6
7325 echo "$as_me:7325: result: no" >&5
7326 echo "${ECHO_T}no" >&6
7329 echo "$as_me:7329: checking for --enable-tipwindow" >&5
7330 echo $ECHO_N "checking for --enable-tipwindow... $ECHO_C" >&6
7332 # Check whether --enable-tipwindow or --disable-tipwindow was given.
7333 if test "${enable_tipwindow+set}" = set; then
7334 enableval="$enable_tipwindow"
7336 if test "$enableval" = yes; then
7337 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
7339 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
7344 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
7345 if test "x$LINE" != x ; then
7346 eval "DEFAULT_$LINE"
7351 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
7355 eval "$ac_cv_use_tipwindow"
7356 if test "$no_cache" != 1; then
7357 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
7360 if test "$wxUSE_TIPWINDOW" = yes; then
7361 echo "$as_me:7361: result: yes" >&5
7362 echo "${ECHO_T}yes" >&6
7364 echo "$as_me:7364: result: no" >&5
7365 echo "${ECHO_T}no" >&6
7368 echo "$as_me:7368: checking for --enable-popupwin" >&5
7369 echo $ECHO_N "checking for --enable-popupwin... $ECHO_C" >&6
7371 # Check whether --enable-popupwin or --disable-popupwin was given.
7372 if test "${enable_popupwin+set}" = set; then
7373 enableval="$enable_popupwin"
7375 if test "$enableval" = yes; then
7376 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
7378 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
7383 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
7384 if test "x$LINE" != x ; then
7385 eval "DEFAULT_$LINE"
7390 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
7394 eval "$ac_cv_use_popupwin"
7395 if test "$no_cache" != 1; then
7396 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
7399 if test "$wxUSE_POPUPWIN" = yes; then
7400 echo "$as_me:7400: result: yes" >&5
7401 echo "${ECHO_T}yes" >&6
7403 echo "$as_me:7403: result: no" >&5
7404 echo "${ECHO_T}no" >&6
7407 echo "$as_me:7407: checking for --enable-commondlg" >&5
7408 echo $ECHO_N "checking for --enable-commondlg... $ECHO_C" >&6
7410 # Check whether --enable-commondlg or --disable-commondlg was given.
7411 if test "${enable_commondlg+set}" = set; then
7412 enableval="$enable_commondlg"
7414 if test "$enableval" = yes; then
7415 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
7417 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
7422 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
7423 if test "x$LINE" != x ; then
7424 eval "DEFAULT_$LINE"
7429 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
7433 eval "$ac_cv_use_commondlg"
7434 if test "$no_cache" != 1; then
7435 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
7438 if test "$wxUSE_COMMONDLGS" = yes; then
7439 echo "$as_me:7439: result: yes" >&5
7440 echo "${ECHO_T}yes" >&6
7442 echo "$as_me:7442: result: no" >&5
7443 echo "${ECHO_T}no" >&6
7446 echo "$as_me:7446: checking for --enable-choicedlg" >&5
7447 echo $ECHO_N "checking for --enable-choicedlg... $ECHO_C" >&6
7449 # Check whether --enable-choicedlg or --disable-choicedlg was given.
7450 if test "${enable_choicedlg+set}" = set; then
7451 enableval="$enable_choicedlg"
7453 if test "$enableval" = yes; then
7454 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
7456 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
7461 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
7462 if test "x$LINE" != x ; then
7463 eval "DEFAULT_$LINE"
7468 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
7472 eval "$ac_cv_use_choicedlg"
7473 if test "$no_cache" != 1; then
7474 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
7477 if test "$wxUSE_CHOICEDLG" = yes; then
7478 echo "$as_me:7478: result: yes" >&5
7479 echo "${ECHO_T}yes" >&6
7481 echo "$as_me:7481: result: no" >&5
7482 echo "${ECHO_T}no" >&6
7485 echo "$as_me:7485: checking for --enable-coldlg" >&5
7486 echo $ECHO_N "checking for --enable-coldlg... $ECHO_C" >&6
7488 # Check whether --enable-coldlg or --disable-coldlg was given.
7489 if test "${enable_coldlg+set}" = set; then
7490 enableval="$enable_coldlg"
7492 if test "$enableval" = yes; then
7493 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
7495 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
7500 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
7501 if test "x$LINE" != x ; then
7502 eval "DEFAULT_$LINE"
7507 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
7511 eval "$ac_cv_use_coldlg"
7512 if test "$no_cache" != 1; then
7513 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
7516 if test "$wxUSE_COLOURDLG" = yes; then
7517 echo "$as_me:7517: result: yes" >&5
7518 echo "${ECHO_T}yes" >&6
7520 echo "$as_me:7520: result: no" >&5
7521 echo "${ECHO_T}no" >&6
7524 echo "$as_me:7524: checking for --enable-filedlg" >&5
7525 echo $ECHO_N "checking for --enable-filedlg... $ECHO_C" >&6
7527 # Check whether --enable-filedlg or --disable-filedlg was given.
7528 if test "${enable_filedlg+set}" = set; then
7529 enableval="$enable_filedlg"
7531 if test "$enableval" = yes; then
7532 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
7534 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
7539 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
7540 if test "x$LINE" != x ; then
7541 eval "DEFAULT_$LINE"
7546 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
7550 eval "$ac_cv_use_filedlg"
7551 if test "$no_cache" != 1; then
7552 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
7555 if test "$wxUSE_FILEDLG" = yes; then
7556 echo "$as_me:7556: result: yes" >&5
7557 echo "${ECHO_T}yes" >&6
7559 echo "$as_me:7559: result: no" >&5
7560 echo "${ECHO_T}no" >&6
7563 echo "$as_me:7563: checking for --enable-finddlg" >&5
7564 echo $ECHO_N "checking for --enable-finddlg... $ECHO_C" >&6
7566 # Check whether --enable-finddlg or --disable-finddlg was given.
7567 if test "${enable_finddlg+set}" = set; then
7568 enableval="$enable_finddlg"
7570 if test "$enableval" = yes; then
7571 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
7573 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
7578 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
7579 if test "x$LINE" != x ; then
7580 eval "DEFAULT_$LINE"
7585 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
7589 eval "$ac_cv_use_finddlg"
7590 if test "$no_cache" != 1; then
7591 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
7594 if test "$wxUSE_FINDREPLDLG" = yes; then
7595 echo "$as_me:7595: result: yes" >&5
7596 echo "${ECHO_T}yes" >&6
7598 echo "$as_me:7598: result: no" >&5
7599 echo "${ECHO_T}no" >&6
7602 echo "$as_me:7602: checking for --enable-fontdlg" >&5
7603 echo $ECHO_N "checking for --enable-fontdlg... $ECHO_C" >&6
7605 # Check whether --enable-fontdlg or --disable-fontdlg was given.
7606 if test "${enable_fontdlg+set}" = set; then
7607 enableval="$enable_fontdlg"
7609 if test "$enableval" = yes; then
7610 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
7612 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
7617 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
7618 if test "x$LINE" != x ; then
7619 eval "DEFAULT_$LINE"
7624 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
7628 eval "$ac_cv_use_fontdlg"
7629 if test "$no_cache" != 1; then
7630 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
7633 if test "$wxUSE_FONTDLG" = yes; then
7634 echo "$as_me:7634: result: yes" >&5
7635 echo "${ECHO_T}yes" >&6
7637 echo "$as_me:7637: result: no" >&5
7638 echo "${ECHO_T}no" >&6
7641 echo "$as_me:7641: checking for --enable-dirdlg" >&5
7642 echo $ECHO_N "checking for --enable-dirdlg... $ECHO_C" >&6
7644 # Check whether --enable-dirdlg or --disable-dirdlg was given.
7645 if test "${enable_dirdlg+set}" = set; then
7646 enableval="$enable_dirdlg"
7648 if test "$enableval" = yes; then
7649 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
7651 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
7656 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
7657 if test "x$LINE" != x ; then
7658 eval "DEFAULT_$LINE"
7663 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
7667 eval "$ac_cv_use_dirdlg"
7668 if test "$no_cache" != 1; then
7669 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
7672 if test "$wxUSE_DIRDLG" = yes; then
7673 echo "$as_me:7673: result: yes" >&5
7674 echo "${ECHO_T}yes" >&6
7676 echo "$as_me:7676: result: no" >&5
7677 echo "${ECHO_T}no" >&6
7680 echo "$as_me:7680: checking for --enable-msgdlg" >&5
7681 echo $ECHO_N "checking for --enable-msgdlg... $ECHO_C" >&6
7683 # Check whether --enable-msgdlg or --disable-msgdlg was given.
7684 if test "${enable_msgdlg+set}" = set; then
7685 enableval="$enable_msgdlg"
7687 if test "$enableval" = yes; then
7688 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
7690 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
7695 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
7696 if test "x$LINE" != x ; then
7697 eval "DEFAULT_$LINE"
7702 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
7706 eval "$ac_cv_use_msgdlg"
7707 if test "$no_cache" != 1; then
7708 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
7711 if test "$wxUSE_MSGDLG" = yes; then
7712 echo "$as_me:7712: result: yes" >&5
7713 echo "${ECHO_T}yes" >&6
7715 echo "$as_me:7715: result: no" >&5
7716 echo "${ECHO_T}no" >&6
7719 echo "$as_me:7719: checking for --enable-numberdlg" >&5
7720 echo $ECHO_N "checking for --enable-numberdlg... $ECHO_C" >&6
7722 # Check whether --enable-numberdlg or --disable-numberdlg was given.
7723 if test "${enable_numberdlg+set}" = set; then
7724 enableval="$enable_numberdlg"
7726 if test "$enableval" = yes; then
7727 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
7729 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
7734 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
7735 if test "x$LINE" != x ; then
7736 eval "DEFAULT_$LINE"
7741 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
7745 eval "$ac_cv_use_numberdlg"
7746 if test "$no_cache" != 1; then
7747 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
7750 if test "$wxUSE_NUMBERDLG" = yes; then
7751 echo "$as_me:7751: result: yes" >&5
7752 echo "${ECHO_T}yes" >&6
7754 echo "$as_me:7754: result: no" >&5
7755 echo "${ECHO_T}no" >&6
7758 echo "$as_me:7758: checking for --enable-splash" >&5
7759 echo $ECHO_N "checking for --enable-splash... $ECHO_C" >&6
7761 # Check whether --enable-splash or --disable-splash was given.
7762 if test "${enable_splash+set}" = set; then
7763 enableval="$enable_splash"
7765 if test "$enableval" = yes; then
7766 ac_cv_use_splash='wxUSE_SPLASH=yes'
7768 ac_cv_use_splash='wxUSE_SPLASH=no'
7773 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
7774 if test "x$LINE" != x ; then
7775 eval "DEFAULT_$LINE"
7780 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
7784 eval "$ac_cv_use_splash"
7785 if test "$no_cache" != 1; then
7786 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
7789 if test "$wxUSE_SPLASH" = yes; then
7790 echo "$as_me:7790: result: yes" >&5
7791 echo "${ECHO_T}yes" >&6
7793 echo "$as_me:7793: result: no" >&5
7794 echo "${ECHO_T}no" >&6
7797 echo "$as_me:7797: checking for --enable-textdlg" >&5
7798 echo $ECHO_N "checking for --enable-textdlg... $ECHO_C" >&6
7800 # Check whether --enable-textdlg or --disable-textdlg was given.
7801 if test "${enable_textdlg+set}" = set; then
7802 enableval="$enable_textdlg"
7804 if test "$enableval" = yes; then
7805 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
7807 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
7812 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
7813 if test "x$LINE" != x ; then
7814 eval "DEFAULT_$LINE"
7819 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
7823 eval "$ac_cv_use_textdlg"
7824 if test "$no_cache" != 1; then
7825 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
7828 if test "$wxUSE_TEXTDLG" = yes; then
7829 echo "$as_me:7829: result: yes" >&5
7830 echo "${ECHO_T}yes" >&6
7832 echo "$as_me:7832: result: no" >&5
7833 echo "${ECHO_T}no" >&6
7836 echo "$as_me:7836: checking for --enable-tipdlg" >&5
7837 echo $ECHO_N "checking for --enable-tipdlg... $ECHO_C" >&6
7839 # Check whether --enable-tipdlg or --disable-tipdlg was given.
7840 if test "${enable_tipdlg+set}" = set; then
7841 enableval="$enable_tipdlg"
7843 if test "$enableval" = yes; then
7844 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
7846 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
7851 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
7852 if test "x$LINE" != x ; then
7853 eval "DEFAULT_$LINE"
7858 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
7862 eval "$ac_cv_use_tipdlg"
7863 if test "$no_cache" != 1; then
7864 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
7867 if test "$wxUSE_STARTUP_TIPS" = yes; then
7868 echo "$as_me:7868: result: yes" >&5
7869 echo "${ECHO_T}yes" >&6
7871 echo "$as_me:7871: result: no" >&5
7872 echo "${ECHO_T}no" >&6
7875 echo "$as_me:7875: checking for --enable-progressdlg" >&5
7876 echo $ECHO_N "checking for --enable-progressdlg... $ECHO_C" >&6
7878 # Check whether --enable-progressdlg or --disable-progressdlg was given.
7879 if test "${enable_progressdlg+set}" = set; then
7880 enableval="$enable_progressdlg"
7882 if test "$enableval" = yes; then
7883 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
7885 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
7890 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
7891 if test "x$LINE" != x ; then
7892 eval "DEFAULT_$LINE"
7897 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
7901 eval "$ac_cv_use_progressdlg"
7902 if test "$no_cache" != 1; then
7903 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
7906 if test "$wxUSE_PROGRESSDLG" = yes; then
7907 echo "$as_me:7907: result: yes" >&5
7908 echo "${ECHO_T}yes" >&6
7910 echo "$as_me:7910: result: no" >&5
7911 echo "${ECHO_T}no" >&6
7914 echo "$as_me:7914: checking for --enable-wizarddlg" >&5
7915 echo $ECHO_N "checking for --enable-wizarddlg... $ECHO_C" >&6
7917 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
7918 if test "${enable_wizarddlg+set}" = set; then
7919 enableval="$enable_wizarddlg"
7921 if test "$enableval" = yes; then
7922 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
7924 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
7929 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
7930 if test "x$LINE" != x ; then
7931 eval "DEFAULT_$LINE"
7936 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
7940 eval "$ac_cv_use_wizarddlg"
7941 if test "$no_cache" != 1; then
7942 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
7945 if test "$wxUSE_WIZARDDLG" = yes; then
7946 echo "$as_me:7946: result: yes" >&5
7947 echo "${ECHO_T}yes" >&6
7949 echo "$as_me:7949: result: no" >&5
7950 echo "${ECHO_T}no" >&6
7953 echo "$as_me:7953: checking for --enable-menus" >&5
7954 echo $ECHO_N "checking for --enable-menus... $ECHO_C" >&6
7956 # Check whether --enable-menus or --disable-menus was given.
7957 if test "${enable_menus+set}" = set; then
7958 enableval="$enable_menus"
7960 if test "$enableval" = yes; then
7961 ac_cv_use_menus='wxUSE_MENUS=yes'
7963 ac_cv_use_menus='wxUSE_MENUS=no'
7968 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
7969 if test "x$LINE" != x ; then
7970 eval "DEFAULT_$LINE"
7975 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
7979 eval "$ac_cv_use_menus"
7980 if test "$no_cache" != 1; then
7981 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
7984 if test "$wxUSE_MENUS" = yes; then
7985 echo "$as_me:7985: result: yes" >&5
7986 echo "${ECHO_T}yes" >&6
7988 echo "$as_me:7988: result: no" >&5
7989 echo "${ECHO_T}no" >&6
7992 echo "$as_me:7992: checking for --enable-miniframe" >&5
7993 echo $ECHO_N "checking for --enable-miniframe... $ECHO_C" >&6
7995 # Check whether --enable-miniframe or --disable-miniframe was given.
7996 if test "${enable_miniframe+set}" = set; then
7997 enableval="$enable_miniframe"
7999 if test "$enableval" = yes; then
8000 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
8002 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
8007 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
8008 if test "x$LINE" != x ; then
8009 eval "DEFAULT_$LINE"
8014 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
8018 eval "$ac_cv_use_miniframe"
8019 if test "$no_cache" != 1; then
8020 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
8023 if test "$wxUSE_MINIFRAME" = yes; then
8024 echo "$as_me:8024: result: yes" >&5
8025 echo "${ECHO_T}yes" >&6
8027 echo "$as_me:8027: result: no" >&5
8028 echo "${ECHO_T}no" >&6
8031 echo "$as_me:8031: checking for --enable-tooltips" >&5
8032 echo $ECHO_N "checking for --enable-tooltips... $ECHO_C" >&6
8034 # Check whether --enable-tooltips or --disable-tooltips was given.
8035 if test "${enable_tooltips+set}" = set; then
8036 enableval="$enable_tooltips"
8038 if test "$enableval" = yes; then
8039 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
8041 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
8046 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
8047 if test "x$LINE" != x ; then
8048 eval "DEFAULT_$LINE"
8053 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
8057 eval "$ac_cv_use_tooltips"
8058 if test "$no_cache" != 1; then
8059 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
8062 if test "$wxUSE_TOOLTIPS" = yes; then
8063 echo "$as_me:8063: result: yes" >&5
8064 echo "${ECHO_T}yes" >&6
8066 echo "$as_me:8066: result: no" >&5
8067 echo "${ECHO_T}no" >&6
8070 echo "$as_me:8070: checking for --enable-splines" >&5
8071 echo $ECHO_N "checking for --enable-splines... $ECHO_C" >&6
8073 # Check whether --enable-splines or --disable-splines was given.
8074 if test "${enable_splines+set}" = set; then
8075 enableval="$enable_splines"
8077 if test "$enableval" = yes; then
8078 ac_cv_use_splines='wxUSE_SPLINES=yes'
8080 ac_cv_use_splines='wxUSE_SPLINES=no'
8085 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
8086 if test "x$LINE" != x ; then
8087 eval "DEFAULT_$LINE"
8092 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
8096 eval "$ac_cv_use_splines"
8097 if test "$no_cache" != 1; then
8098 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
8101 if test "$wxUSE_SPLINES" = yes; then
8102 echo "$as_me:8102: result: yes" >&5
8103 echo "${ECHO_T}yes" >&6
8105 echo "$as_me:8105: result: no" >&5
8106 echo "${ECHO_T}no" >&6
8109 echo "$as_me:8109: checking for --enable-validators" >&5
8110 echo $ECHO_N "checking for --enable-validators... $ECHO_C" >&6
8112 # Check whether --enable-validators or --disable-validators was given.
8113 if test "${enable_validators+set}" = set; then
8114 enableval="$enable_validators"
8116 if test "$enableval" = yes; then
8117 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
8119 ac_cv_use_validators='wxUSE_VALIDATORS=no'
8124 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
8125 if test "x$LINE" != x ; then
8126 eval "DEFAULT_$LINE"
8131 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
8135 eval "$ac_cv_use_validators"
8136 if test "$no_cache" != 1; then
8137 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
8140 if test "$wxUSE_VALIDATORS" = yes; then
8141 echo "$as_me:8141: result: yes" >&5
8142 echo "${ECHO_T}yes" >&6
8144 echo "$as_me:8144: result: no" >&5
8145 echo "${ECHO_T}no" >&6
8148 echo "$as_me:8148: checking for --enable-busyinfo" >&5
8149 echo $ECHO_N "checking for --enable-busyinfo... $ECHO_C" >&6
8151 # Check whether --enable-busyinfo or --disable-busyinfo was given.
8152 if test "${enable_busyinfo+set}" = set; then
8153 enableval="$enable_busyinfo"
8155 if test "$enableval" = yes; then
8156 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
8158 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
8163 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
8164 if test "x$LINE" != x ; then
8165 eval "DEFAULT_$LINE"
8170 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
8174 eval "$ac_cv_use_busyinfo"
8175 if test "$no_cache" != 1; then
8176 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
8179 if test "$wxUSE_BUSYINFO" = yes; then
8180 echo "$as_me:8180: result: yes" >&5
8181 echo "${ECHO_T}yes" >&6
8183 echo "$as_me:8183: result: no" >&5
8184 echo "${ECHO_T}no" >&6
8187 echo "$as_me:8187: checking for --enable-joystick" >&5
8188 echo $ECHO_N "checking for --enable-joystick... $ECHO_C" >&6
8190 # Check whether --enable-joystick or --disable-joystick was given.
8191 if test "${enable_joystick+set}" = set; then
8192 enableval="$enable_joystick"
8194 if test "$enableval" = yes; then
8195 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
8197 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
8202 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
8203 if test "x$LINE" != x ; then
8204 eval "DEFAULT_$LINE"
8209 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
8213 eval "$ac_cv_use_joystick"
8214 if test "$no_cache" != 1; then
8215 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
8218 if test "$wxUSE_JOYSTICK" = yes; then
8219 echo "$as_me:8219: result: yes" >&5
8220 echo "${ECHO_T}yes" >&6
8222 echo "$as_me:8222: result: no" >&5
8223 echo "${ECHO_T}no" >&6
8226 echo "$as_me:8226: checking for --enable-metafile" >&5
8227 echo $ECHO_N "checking for --enable-metafile... $ECHO_C" >&6
8229 # Check whether --enable-metafile or --disable-metafile was given.
8230 if test "${enable_metafile+set}" = set; then
8231 enableval="$enable_metafile"
8233 if test "$enableval" = yes; then
8234 ac_cv_use_metafile='wxUSE_METAFILE=yes'
8236 ac_cv_use_metafile='wxUSE_METAFILE=no'
8241 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8242 if test "x$LINE" != x ; then
8243 eval "DEFAULT_$LINE"
8248 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8252 eval "$ac_cv_use_metafile"
8253 if test "$no_cache" != 1; then
8254 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8257 if test "$wxUSE_METAFILE" = yes; then
8258 echo "$as_me:8258: result: yes" >&5
8259 echo "${ECHO_T}yes" >&6
8261 echo "$as_me:8261: result: no" >&5
8262 echo "${ECHO_T}no" >&6
8265 echo "$as_me:8265: checking for --enable-dragimage" >&5
8266 echo $ECHO_N "checking for --enable-dragimage... $ECHO_C" >&6
8268 # Check whether --enable-dragimage or --disable-dragimage was given.
8269 if test "${enable_dragimage+set}" = set; then
8270 enableval="$enable_dragimage"
8272 if test "$enableval" = yes; then
8273 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
8275 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
8280 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
8281 if test "x$LINE" != x ; then
8282 eval "DEFAULT_$LINE"
8287 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
8291 eval "$ac_cv_use_dragimage"
8292 if test "$no_cache" != 1; then
8293 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
8296 if test "$wxUSE_DRAGIMAGE" = yes; then
8297 echo "$as_me:8297: result: yes" >&5
8298 echo "${ECHO_T}yes" >&6
8300 echo "$as_me:8300: result: no" >&5
8301 echo "${ECHO_T}no" >&6
8304 echo "$as_me:8304: checking for --enable-palette" >&5
8305 echo $ECHO_N "checking for --enable-palette... $ECHO_C" >&6
8307 # Check whether --enable-palette or --disable-palette was given.
8308 if test "${enable_palette+set}" = set; then
8309 enableval="$enable_palette"
8311 if test "$enableval" = yes; then
8312 ac_cv_use_palette='wxUSE_PALETTE=yes'
8314 ac_cv_use_palette='wxUSE_PALETTE=no'
8319 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
8320 if test "x$LINE" != x ; then
8321 eval "DEFAULT_$LINE"
8326 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
8330 eval "$ac_cv_use_palette"
8331 if test "$no_cache" != 1; then
8332 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
8335 if test "$wxUSE_PALETTE" = yes; then
8336 echo "$as_me:8336: result: yes" >&5
8337 echo "${ECHO_T}yes" >&6
8339 echo "$as_me:8339: result: no" >&5
8340 echo "${ECHO_T}no" >&6
8343 echo "$as_me:8343: checking for --enable-image" >&5
8344 echo $ECHO_N "checking for --enable-image... $ECHO_C" >&6
8346 # Check whether --enable-image or --disable-image was given.
8347 if test "${enable_image+set}" = set; then
8348 enableval="$enable_image"
8350 if test "$enableval" = yes; then
8351 ac_cv_use_image='wxUSE_IMAGE=yes'
8353 ac_cv_use_image='wxUSE_IMAGE=no'
8358 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
8359 if test "x$LINE" != x ; then
8360 eval "DEFAULT_$LINE"
8365 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
8369 eval "$ac_cv_use_image"
8370 if test "$no_cache" != 1; then
8371 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
8374 if test "$wxUSE_IMAGE" = yes; then
8375 echo "$as_me:8375: result: yes" >&5
8376 echo "${ECHO_T}yes" >&6
8378 echo "$as_me:8378: result: no" >&5
8379 echo "${ECHO_T}no" >&6
8382 echo "$as_me:8382: checking for --enable-gif" >&5
8383 echo $ECHO_N "checking for --enable-gif... $ECHO_C" >&6
8385 # Check whether --enable-gif or --disable-gif was given.
8386 if test "${enable_gif+set}" = set; then
8387 enableval="$enable_gif"
8389 if test "$enableval" = yes; then
8390 ac_cv_use_gif='wxUSE_GIF=yes'
8392 ac_cv_use_gif='wxUSE_GIF=no'
8397 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
8398 if test "x$LINE" != x ; then
8399 eval "DEFAULT_$LINE"
8404 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
8408 eval "$ac_cv_use_gif"
8409 if test "$no_cache" != 1; then
8410 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
8413 if test "$wxUSE_GIF" = yes; then
8414 echo "$as_me:8414: result: yes" >&5
8415 echo "${ECHO_T}yes" >&6
8417 echo "$as_me:8417: result: no" >&5
8418 echo "${ECHO_T}no" >&6
8421 echo "$as_me:8421: checking for --enable-pcx" >&5
8422 echo $ECHO_N "checking for --enable-pcx... $ECHO_C" >&6
8424 # Check whether --enable-pcx or --disable-pcx was given.
8425 if test "${enable_pcx+set}" = set; then
8426 enableval="$enable_pcx"
8428 if test "$enableval" = yes; then
8429 ac_cv_use_pcx='wxUSE_PCX=yes'
8431 ac_cv_use_pcx='wxUSE_PCX=no'
8436 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
8437 if test "x$LINE" != x ; then
8438 eval "DEFAULT_$LINE"
8443 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
8447 eval "$ac_cv_use_pcx"
8448 if test "$no_cache" != 1; then
8449 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
8452 if test "$wxUSE_PCX" = yes; then
8453 echo "$as_me:8453: result: yes" >&5
8454 echo "${ECHO_T}yes" >&6
8456 echo "$as_me:8456: result: no" >&5
8457 echo "${ECHO_T}no" >&6
8460 echo "$as_me:8460: checking for --enable-iff" >&5
8461 echo $ECHO_N "checking for --enable-iff... $ECHO_C" >&6
8463 # Check whether --enable-iff or --disable-iff was given.
8464 if test "${enable_iff+set}" = set; then
8465 enableval="$enable_iff"
8467 if test "$enableval" = yes; then
8468 ac_cv_use_iff='wxUSE_IFF=yes'
8470 ac_cv_use_iff='wxUSE_IFF=no'
8475 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
8476 if test "x$LINE" != x ; then
8477 eval "DEFAULT_$LINE"
8482 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
8486 eval "$ac_cv_use_iff"
8487 if test "$no_cache" != 1; then
8488 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
8491 if test "$wxUSE_IFF" = yes; then
8492 echo "$as_me:8492: result: yes" >&5
8493 echo "${ECHO_T}yes" >&6
8495 echo "$as_me:8495: result: no" >&5
8496 echo "${ECHO_T}no" >&6
8499 echo "$as_me:8499: checking for --enable-pnm" >&5
8500 echo $ECHO_N "checking for --enable-pnm... $ECHO_C" >&6
8502 # Check whether --enable-pnm or --disable-pnm was given.
8503 if test "${enable_pnm+set}" = set; then
8504 enableval="$enable_pnm"
8506 if test "$enableval" = yes; then
8507 ac_cv_use_pnm='wxUSE_PNM=yes'
8509 ac_cv_use_pnm='wxUSE_PNM=no'
8514 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
8515 if test "x$LINE" != x ; then
8516 eval "DEFAULT_$LINE"
8521 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
8525 eval "$ac_cv_use_pnm"
8526 if test "$no_cache" != 1; then
8527 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
8530 if test "$wxUSE_PNM" = yes; then
8531 echo "$as_me:8531: result: yes" >&5
8532 echo "${ECHO_T}yes" >&6
8534 echo "$as_me:8534: result: no" >&5
8535 echo "${ECHO_T}no" >&6
8538 echo "$as_me:8538: checking for --enable-xpm" >&5
8539 echo $ECHO_N "checking for --enable-xpm... $ECHO_C" >&6
8541 # Check whether --enable-xpm or --disable-xpm was given.
8542 if test "${enable_xpm+set}" = set; then
8543 enableval="$enable_xpm"
8545 if test "$enableval" = yes; then
8546 ac_cv_use_xpm='wxUSE_XPM=yes'
8548 ac_cv_use_xpm='wxUSE_XPM=no'
8553 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
8554 if test "x$LINE" != x ; then
8555 eval "DEFAULT_$LINE"
8560 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
8564 eval "$ac_cv_use_xpm"
8565 if test "$no_cache" != 1; then
8566 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
8569 if test "$wxUSE_XPM" = yes; then
8570 echo "$as_me:8570: result: yes" >&5
8571 echo "${ECHO_T}yes" >&6
8573 echo "$as_me:8573: result: no" >&5
8574 echo "${ECHO_T}no" >&6
8577 echo "$as_me:8577: checking for --enable-ico_cur" >&5
8578 echo $ECHO_N "checking for --enable-ico_cur... $ECHO_C" >&6
8580 # Check whether --enable-ico_cur or --disable-ico_cur was given.
8581 if test "${enable_ico_cur+set}" = set; then
8582 enableval="$enable_ico_cur"
8584 if test "$enableval" = yes; then
8585 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
8587 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
8592 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
8593 if test "x$LINE" != x ; then
8594 eval "DEFAULT_$LINE"
8599 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
8603 eval "$ac_cv_use_ico_cur"
8604 if test "$no_cache" != 1; then
8605 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
8608 if test "$wxUSE_ICO_CUR" = yes; then
8609 echo "$as_me:8609: result: yes" >&5
8610 echo "${ECHO_T}yes" >&6
8612 echo "$as_me:8612: result: no" >&5
8613 echo "${ECHO_T}no" >&6
8619 *-pc-os2_emx | *-pc-os2-emx )
8628 echo "saving argument cache $wx_arg_cache_file"
8629 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
8631 echo "$as_me:8631: checking for toolkit" >&5
8632 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
8634 if test "$wxUSE_GUI" = "yes"; then
8636 if test "$USE_BEOS" = 1; then
8637 { { echo "$as_me:8637: error: BeOS GUI is not supported yet, use --disable-gui" >&5
8638 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
8639 { (exit 1); exit 1; }; }
8642 if test "$TOOLKIT_GIVEN" = 1; then
8643 for toolkit in `echo $ALL_TOOLKITS`; do
8645 eval "value=\$${var}"
8646 eval "$var=`echo \
$value | sed -e "s/yes/1/" -e "s/no/0/"`"
8649 for toolkit in `echo $ALL_TOOLKITS`; do
8650 if test "$has_toolkit_in_cache" != 1; then
8651 var=DEFAULT_DEFAULT_wxUSE_$toolkit
8653 var=DEFAULT_wxUSE_$toolkit
8655 eval "wxUSE_$toolkit=\$${var}"
8659 NUM_TOOLKITS=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} \
8660 + ${wxUSE_WINE:-0} + ${wxUSE_MSW:-0} + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} + ${wxUSE_X11:-0}`
8663 *-pc-os2_emx | *-pc-os2-emx )
8664 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
8667 case "$NUM_TOOLKITS" in
8671 { { echo "$as_me:8671: error: Please specify a toolkit - cannot determine the default for ${host}" >&5
8672 echo "$as_me: error: Please specify a toolkit - cannot determine the default for ${host}" >&2;}
8673 { (exit 1); exit 1; }; }
8676 { { echo "$as_me:8676: error: Please specify at most one toolkit (may be some are cached?)" >&5
8677 echo "$as_me: error: Please specify at most one toolkit (may be some are cached?)" >&2;}
8678 { (exit 1); exit 1; }; }
8681 for toolkit in `echo $ALL_TOOLKITS`; do
8683 eval "value=\$${var}"
8684 if test "x$value" != x; then
8685 cache_var=CACHE_$toolkit
8686 eval "cache=\$${cache_var}"
8687 if test "$cache" = 1; then
8688 echo "$var=$value" >> ${wx_arg_cache_file}
8690 if test "$value" = 1; then
8691 toolkit_echo=`echo $toolkit | tr [A
-Z] [a
-z]`
8692 echo "$as_me:8692: result: $toolkit_echo" >&5
8693 echo "${ECHO_T}$toolkit_echo" >&6
8698 echo "$as_me:8698: result: base ($host_alias hosted) only" >&5
8699 echo "${ECHO_T}base ($host_alias hosted) only" >&6
8706 if test "$wxUSE_MSW" = 1 ; then
8717 if test "$wants_win32" = 1 ; then
8720 cat >>confdefs.h <<\EOF
8724 cat >>confdefs.h <<\EOF
8728 cat >>confdefs.h <<\EOF
8729 #define __WINDOWS__ 1
8732 cat >>confdefs.h <<\EOF
8733 #define __GNUWIN32__ 1
8736 cat >>confdefs.h <<\EOF
8740 cat >>confdefs.h <<\EOF
8741 #define WINVER 0x0400
8745 if test "$doesnt_want_win32" = 1 ; then
8750 if test "$USE_UNIX" = 1 ; then
8752 cat >>confdefs.h <<\EOF
8758 cat >confcache <<\_ACEOF
8759 # This file is a shell script that caches the results of configure
8760 # tests run on this system so they can be shared between configure
8761 # scripts and configure runs, see configure's option --config-cache.
8762 # It is not useful on other systems. If it contains results you don't
8763 # want to keep, you may remove or edit it.
8765 # config.status only pays attention to the cache file if you give it
8766 # the --recheck option to rerun configure.
8768 # `ac_cv_env_foo
' variables (set or unset) will be overriden when
8769 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8774 # The following way of writing the cache mishandles newlines in values,
8775 # but we know of no workaround that is simple, portable, and efficient.
8776 # So, don't put newlines in cache variables' values.
8777 # Ultrix sh set writes to stderr and can't be redirected directly,
8778 # and sets the high bit in the cache file unless we assign to the vars.
8781 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8783 # `set' does not quote correctly, so add quotes (double-quote
8784 # substitution turns \\\\ into \\, and sed turns \\ into \).
8787 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8790 # `set' quotes correctly as required by POSIX, so do not add quotes.
8792 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
8799 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8801 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8803 if cmp -s $cache_file confcache
; then :; else
8804 if test -w $cache_file; then
8805 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
8806 cat confcache
>$cache_file
8808 echo "not updating unwritable cache $cache_file"
8813 if test "$build" != "$host" ; then
8814 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
8818 RANLIB
=$host_alias-ranlib
8819 DLLTOOL
=$host_alias-dlltool
8820 RESCOMP
=$host_alias-windres
8823 STRIP
=$host_alias-strip
8825 { { echo "$as_me:8825: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
8826 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
8827 { (exit 1); exit 1; }; }
8833 ac_cpp
='$CPP $CPPFLAGS'
8834 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8835 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8836 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8837 if test -n "$ac_tool_prefix"; then
8838 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
8839 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
8840 echo "$as_me:8840: checking for $ac_word" >&5
8841 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8842 if test "${ac_cv_prog_CC+set}" = set; then
8843 echo $ECHO_N "(cached) $ECHO_C" >&6
8845 if test -n "$CC"; then
8846 ac_cv_prog_CC
="$CC" # Let the user override the test.
8848 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
8850 for ac_dir
in $ac_dummy; do
8852 test -z "$ac_dir" && ac_dir
=.
8853 $as_executable_p "$ac_dir/$ac_word" || continue
8854 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
8855 echo "$as_me:8855: found $ac_dir/$ac_word" >&5
8862 if test -n "$CC"; then
8863 echo "$as_me:8863: result: $CC" >&5
8864 echo "${ECHO_T}$CC" >&6
8866 echo "$as_me:8866: result: no" >&5
8867 echo "${ECHO_T}no" >&6
8871 if test -z "$ac_cv_prog_CC"; then
8873 # Extract the first word of "gcc", so it can be a program name with args.
8874 set dummy gcc
; ac_word
=$2
8875 echo "$as_me:8875: checking for $ac_word" >&5
8876 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8877 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
8878 echo $ECHO_N "(cached) $ECHO_C" >&6
8880 if test -n "$ac_ct_CC"; then
8881 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
8883 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
8885 for ac_dir
in $ac_dummy; do
8887 test -z "$ac_dir" && ac_dir
=.
8888 $as_executable_p "$ac_dir/$ac_word" || continue
8889 ac_cv_prog_ac_ct_CC
="gcc"
8890 echo "$as_me:8890: found $ac_dir/$ac_word" >&5
8896 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
8897 if test -n "$ac_ct_CC"; then
8898 echo "$as_me:8898: result: $ac_ct_CC" >&5
8899 echo "${ECHO_T}$ac_ct_CC" >&6
8901 echo "$as_me:8901: result: no" >&5
8902 echo "${ECHO_T}no" >&6
8910 if test -z "$CC"; then
8911 if test -n "$ac_tool_prefix"; then
8912 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
8913 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
8914 echo "$as_me:8914: checking for $ac_word" >&5
8915 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8916 if test "${ac_cv_prog_CC+set}" = set; then
8917 echo $ECHO_N "(cached) $ECHO_C" >&6
8919 if test -n "$CC"; then
8920 ac_cv_prog_CC
="$CC" # Let the user override the test.
8922 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
8924 for ac_dir
in $ac_dummy; do
8926 test -z "$ac_dir" && ac_dir
=.
8927 $as_executable_p "$ac_dir/$ac_word" || continue
8928 ac_cv_prog_CC
="${ac_tool_prefix}cc"
8929 echo "$as_me:8929: found $ac_dir/$ac_word" >&5
8936 if test -n "$CC"; then
8937 echo "$as_me:8937: result: $CC" >&5
8938 echo "${ECHO_T}$CC" >&6
8940 echo "$as_me:8940: result: no" >&5
8941 echo "${ECHO_T}no" >&6
8945 if test -z "$ac_cv_prog_CC"; then
8947 # Extract the first word of "cc", so it can be a program name with args.
8948 set dummy cc
; ac_word
=$2
8949 echo "$as_me:8949: checking for $ac_word" >&5
8950 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8951 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
8952 echo $ECHO_N "(cached) $ECHO_C" >&6
8954 if test -n "$ac_ct_CC"; then
8955 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
8957 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
8959 for ac_dir
in $ac_dummy; do
8961 test -z "$ac_dir" && ac_dir
=.
8962 $as_executable_p "$ac_dir/$ac_word" || continue
8963 ac_cv_prog_ac_ct_CC
="cc"
8964 echo "$as_me:8964: found $ac_dir/$ac_word" >&5
8970 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
8971 if test -n "$ac_ct_CC"; then
8972 echo "$as_me:8972: result: $ac_ct_CC" >&5
8973 echo "${ECHO_T}$ac_ct_CC" >&6
8975 echo "$as_me:8975: result: no" >&5
8976 echo "${ECHO_T}no" >&6
8985 if test -z "$CC"; then
8986 # Extract the first word of "cc", so it can be a program name with args.
8987 set dummy cc
; ac_word
=$2
8988 echo "$as_me:8988: checking for $ac_word" >&5
8989 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8990 if test "${ac_cv_prog_CC+set}" = set; then
8991 echo $ECHO_N "(cached) $ECHO_C" >&6
8993 if test -n "$CC"; then
8994 ac_cv_prog_CC
="$CC" # Let the user override the test.
8997 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
8999 for ac_dir
in $ac_dummy; do
9001 test -z "$ac_dir" && ac_dir
=.
9002 $as_executable_p "$ac_dir/$ac_word" || continue
9003 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
9004 ac_prog_rejected
=yes
9008 echo "$as_me:9008: found $ac_dir/$ac_word" >&5
9012 if test $ac_prog_rejected = yes; then
9013 # We found a bogon in the path, so make sure we never use it.
9014 set dummy
$ac_cv_prog_CC
9016 if test $# != 0; then
9017 # We chose a different compiler from the bogus one.
9018 # However, it has the same basename, so the bogon will be chosen
9019 # first if we set CC to just the basename; use the full file name.
9021 set dummy
"$ac_dir/$ac_word" ${1+"$@"}
9029 if test -n "$CC"; then
9030 echo "$as_me:9030: result: $CC" >&5
9031 echo "${ECHO_T}$CC" >&6
9033 echo "$as_me:9033: result: no" >&5
9034 echo "${ECHO_T}no" >&6
9038 if test -z "$CC"; then
9039 if test -n "$ac_tool_prefix"; then
9042 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9043 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
9044 echo "$as_me:9044: checking for $ac_word" >&5
9045 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9046 if test "${ac_cv_prog_CC+set}" = set; then
9047 echo $ECHO_N "(cached) $ECHO_C" >&6
9049 if test -n "$CC"; then
9050 ac_cv_prog_CC
="$CC" # Let the user override the test.
9052 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
9054 for ac_dir
in $ac_dummy; do
9056 test -z "$ac_dir" && ac_dir
=.
9057 $as_executable_p "$ac_dir/$ac_word" || continue
9058 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
9059 echo "$as_me:9059: found $ac_dir/$ac_word" >&5
9066 if test -n "$CC"; then
9067 echo "$as_me:9067: result: $CC" >&5
9068 echo "${ECHO_T}$CC" >&6
9070 echo "$as_me:9070: result: no" >&5
9071 echo "${ECHO_T}no" >&6
9074 test -n "$CC" && break
9077 if test -z "$CC"; then
9081 # Extract the first word of "$ac_prog", so it can be a program name with args.
9082 set dummy
$ac_prog; ac_word
=$2
9083 echo "$as_me:9083: checking for $ac_word" >&5
9084 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9085 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9086 echo $ECHO_N "(cached) $ECHO_C" >&6
9088 if test -n "$ac_ct_CC"; then
9089 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
9091 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
9093 for ac_dir
in $ac_dummy; do
9095 test -z "$ac_dir" && ac_dir
=.
9096 $as_executable_p "$ac_dir/$ac_word" || continue
9097 ac_cv_prog_ac_ct_CC
="$ac_prog"
9098 echo "$as_me:9098: found $ac_dir/$ac_word" >&5
9104 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
9105 if test -n "$ac_ct_CC"; then
9106 echo "$as_me:9106: result: $ac_ct_CC" >&5
9107 echo "${ECHO_T}$ac_ct_CC" >&6
9109 echo "$as_me:9109: result: no" >&5
9110 echo "${ECHO_T}no" >&6
9113 test -n "$ac_ct_CC" && break
9121 test -z "$CC" && { { echo "$as_me:9121: error: no acceptable cc found in \$PATH" >&5
9122 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
9123 { (exit 1); exit 1; }; }
9125 # Provide some information about the compiler.
9126 echo "$as_me:9126:" \
9127 "checking for C compiler version" >&5
9128 ac_compiler
=`set X $ac_compile; echo $2`
9129 { (eval echo "$as_me:9129: \"$ac_compiler --version </dev/null >&5\"") >&5
9130 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
9132 echo "$as_me:9132: \$? = $ac_status" >&5
9133 (exit $ac_status); }
9134 { (eval echo "$as_me:9134: \"$ac_compiler -v </dev/null >&5\"") >&5
9135 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
9137 echo "$as_me:9137: \$? = $ac_status" >&5
9138 (exit $ac_status); }
9139 { (eval echo "$as_me:9139: \"$ac_compiler -V </dev/null >&5\"") >&5
9140 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
9142 echo "$as_me:9142: \$? = $ac_status" >&5
9143 (exit $ac_status); }
9145 cat >conftest.
$ac_ext <<_ACEOF
9146 #line 9146 "configure"
9147 #include "confdefs.h"
9157 ac_clean_files_save
=$ac_clean_files
9158 ac_clean_files
="$ac_clean_files a.out a.exe"
9159 # Try to create an executable without -o first, disregard a.out.
9160 # It will help us diagnose broken compilers, and finding out an intuition
9162 echo "$as_me:9162: checking for C compiler default output" >&5
9163 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
9164 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
9165 if { (eval echo "$as_me:9165: \"$ac_link_default\"") >&5
9166 (eval $ac_link_default) 2>&5
9168 echo "$as_me:9168: \$? = $ac_status" >&5
9169 (exit $ac_status); }; then
9170 # Find the output, starting from the most likely. This scheme is
9171 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
9173 for ac_file
in `ls a.exe conftest.exe 2>/dev/null;
9174 ls a.out conftest 2>/dev/null;
9175 ls a.* conftest.* 2>/dev/null`; do
9177 *.
$ac_ext | *.o
| *.obj
| *.xcoff
| *.tds
| *.d
| *.pdb
) ;;
9178 a.out
) # We found the default executable, but exeext='' is most
9181 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
9182 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
9189 echo "$as_me: failed program was:" >&5
9190 cat conftest.
$ac_ext >&5
9191 { { echo "$as_me:9191: error: C compiler cannot create executables" >&5
9192 echo "$as_me: error: C compiler cannot create executables" >&2;}
9193 { (exit 77); exit 77; }; }
9196 ac_exeext
=$ac_cv_exeext
9197 echo "$as_me:9197: result: $ac_file" >&5
9198 echo "${ECHO_T}$ac_file" >&6
9200 # Check the compiler produces executables we can run. If not, either
9201 # the compiler is broken, or we cross compile.
9202 echo "$as_me:9202: checking whether the C compiler works" >&5
9203 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
9204 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
9205 # If not cross compiling, check that we can run a simple program.
9206 if test "$cross_compiling" != yes; then
9207 if { ac_try
='./$ac_file'
9208 { (eval echo "$as_me:9208: \"$ac_try\"") >&5
9211 echo "$as_me:9211: \$? = $ac_status" >&5
9212 (exit $ac_status); }; }; then
9215 if test "$cross_compiling" = maybe
; then
9218 { { echo "$as_me:9218: error: cannot run C compiled programs.
9219 If you meant to cross compile, use \`--host'." >&5
9220 echo "$as_me: error: cannot run C compiled programs.
9221 If you meant to cross compile, use \`--host'." >&2;}
9222 { (exit 1); exit 1; }; }
9226 echo "$as_me:9226: result: yes" >&5
9227 echo "${ECHO_T}yes" >&6
9229 rm -f a.out a.exe conftest
$ac_cv_exeext
9230 ac_clean_files
=$ac_clean_files_save
9231 # Check the compiler produces executables we can run. If not, either
9232 # the compiler is broken, or we cross compile.
9233 echo "$as_me:9233: checking whether we are cross compiling" >&5
9234 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
9235 echo "$as_me:9235: result: $cross_compiling" >&5
9236 echo "${ECHO_T}$cross_compiling" >&6
9238 echo "$as_me:9238: checking for executable suffix" >&5
9239 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
9240 if { (eval echo "$as_me:9240: \"$ac_link\"") >&5
9241 (eval $ac_link) 2>&5
9243 echo "$as_me:9243: \$? = $ac_status" >&5
9244 (exit $ac_status); }; then
9245 # If both `conftest.exe' and `conftest' are `present' (well, observable)
9246 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
9247 # work properly (i.e., refer to `conftest.exe'), while it won't with
9249 for ac_file
in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
9251 *.
$ac_ext | *.o
| *.obj
| *.xcoff
| *.tds
| *.d
| *.pdb
) ;;
9252 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
9259 { { echo "$as_me:9259: error: cannot compute EXEEXT: cannot compile and link" >&5
9260 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
9261 { (exit 1); exit 1; }; }
9264 rm -f conftest
$ac_cv_exeext
9265 echo "$as_me:9265: result: $ac_cv_exeext" >&5
9266 echo "${ECHO_T}$ac_cv_exeext" >&6
9268 rm -f conftest.
$ac_ext
9269 EXEEXT
=$ac_cv_exeext
9271 echo "$as_me:9271: checking for object suffix" >&5
9272 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
9273 if test "${ac_cv_objext+set}" = set; then
9274 echo $ECHO_N "(cached) $ECHO_C" >&6
9276 cat >conftest.
$ac_ext <<_ACEOF
9277 #line 9277 "configure"
9278 #include "confdefs.h"
9288 rm -f conftest.o conftest.obj
9289 if { (eval echo "$as_me:9289: \"$ac_compile\"") >&5
9290 (eval $ac_compile) 2>&5
9292 echo "$as_me:9292: \$? = $ac_status" >&5
9293 (exit $ac_status); }; then
9294 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
9296 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
) ;;
9297 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
9302 echo "$as_me: failed program was:" >&5
9303 cat conftest.
$ac_ext >&5
9304 { { echo "$as_me:9304: error: cannot compute OBJEXT: cannot compile" >&5
9305 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
9306 { (exit 1); exit 1; }; }
9309 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
9311 echo "$as_me:9311: result: $ac_cv_objext" >&5
9312 echo "${ECHO_T}$ac_cv_objext" >&6
9313 OBJEXT
=$ac_cv_objext
9315 echo "$as_me:9315: checking whether we are using the GNU C compiler" >&5
9316 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
9317 if test "${ac_cv_c_compiler_gnu+set}" = set; then
9318 echo $ECHO_N "(cached) $ECHO_C" >&6
9320 cat >conftest.
$ac_ext <<_ACEOF
9321 #line 9321 "configure"
9322 #include "confdefs.h"
9335 rm -f conftest.
$ac_objext
9336 if { (eval echo "$as_me:9336: \"$ac_compile\"") >&5
9337 (eval $ac_compile) 2>&5
9339 echo "$as_me:9339: \$? = $ac_status" >&5
9340 (exit $ac_status); } &&
9341 { ac_try
='test -s conftest.$ac_objext'
9342 { (eval echo "$as_me:9342: \"$ac_try\"") >&5
9345 echo "$as_me:9345: \$? = $ac_status" >&5
9346 (exit $ac_status); }; }; then
9349 echo "$as_me: failed program was:" >&5
9350 cat conftest.
$ac_ext >&5
9353 rm -f conftest.
$ac_objext conftest.
$ac_ext
9354 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
9357 echo "$as_me:9357: result: $ac_cv_c_compiler_gnu" >&5
9358 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
9359 GCC
=`test $ac_compiler_gnu = yes && echo yes`
9360 ac_test_CFLAGS
=${CFLAGS+set}
9361 ac_save_CFLAGS
=$CFLAGS
9363 echo "$as_me:9363: checking whether $CC accepts -g" >&5
9364 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
9365 if test "${ac_cv_prog_cc_g+set}" = set; then
9366 echo $ECHO_N "(cached) $ECHO_C" >&6
9368 cat >conftest.
$ac_ext <<_ACEOF
9369 #line 9369 "configure"
9370 #include "confdefs.h"
9380 rm -f conftest.
$ac_objext
9381 if { (eval echo "$as_me:9381: \"$ac_compile\"") >&5
9382 (eval $ac_compile) 2>&5
9384 echo "$as_me:9384: \$? = $ac_status" >&5
9385 (exit $ac_status); } &&
9386 { ac_try
='test -s conftest.$ac_objext'
9387 { (eval echo "$as_me:9387: \"$ac_try\"") >&5
9390 echo "$as_me:9390: \$? = $ac_status" >&5
9391 (exit $ac_status); }; }; then
9394 echo "$as_me: failed program was:" >&5
9395 cat conftest.
$ac_ext >&5
9398 rm -f conftest.
$ac_objext conftest.
$ac_ext
9400 echo "$as_me:9400: result: $ac_cv_prog_cc_g" >&5
9401 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
9402 if test "$ac_test_CFLAGS" = set; then
9403 CFLAGS
=$ac_save_CFLAGS
9404 elif test $ac_cv_prog_cc_g = yes; then
9405 if test "$GCC" = yes; then
9411 if test "$GCC" = yes; then
9417 # Some people use a C++ compiler to compile C. Since we use `exit',
9418 # in C++ we need to declare it. In case someone uses the same compiler
9419 # for both compiling C and C++ we need to have the C++ compiler decide
9420 # the declaration of exit, since it's the most demanding environment.
9421 cat >conftest.
$ac_ext <<_ACEOF
9426 rm -f conftest.
$ac_objext
9427 if { (eval echo "$as_me:9427: \"$ac_compile\"") >&5
9428 (eval $ac_compile) 2>&5
9430 echo "$as_me:9430: \$? = $ac_status" >&5
9431 (exit $ac_status); } &&
9432 { ac_try
='test -s conftest.$ac_objext'
9433 { (eval echo "$as_me:9433: \"$ac_try\"") >&5
9436 echo "$as_me:9436: \$? = $ac_status" >&5
9437 (exit $ac_status); }; }; then
9438 for ac_declaration
in \
9440 '#include <stdlib.h>' \
9441 'extern "C" void std::exit (int) throw (); using std::exit;' \
9442 'extern "C" void std::exit (int); using std::exit;' \
9443 'extern "C" void exit (int) throw ();' \
9444 'extern "C" void exit (int);' \
9447 cat >conftest.
$ac_ext <<_ACEOF
9448 #line 9448 "configure"
9449 #include "confdefs.h"
9460 rm -f conftest.
$ac_objext
9461 if { (eval echo "$as_me:9461: \"$ac_compile\"") >&5
9462 (eval $ac_compile) 2>&5
9464 echo "$as_me:9464: \$? = $ac_status" >&5
9465 (exit $ac_status); } &&
9466 { ac_try
='test -s conftest.$ac_objext'
9467 { (eval echo "$as_me:9467: \"$ac_try\"") >&5
9470 echo "$as_me:9470: \$? = $ac_status" >&5
9471 (exit $ac_status); }; }; then
9474 echo "$as_me: failed program was:" >&5
9475 cat conftest.
$ac_ext >&5
9478 rm -f conftest.
$ac_objext conftest.
$ac_ext
9479 cat >conftest.
$ac_ext <<_ACEOF
9480 #line 9480 "configure"
9481 #include "confdefs.h"
9491 rm -f conftest.
$ac_objext
9492 if { (eval echo "$as_me:9492: \"$ac_compile\"") >&5
9493 (eval $ac_compile) 2>&5
9495 echo "$as_me:9495: \$? = $ac_status" >&5
9496 (exit $ac_status); } &&
9497 { ac_try
='test -s conftest.$ac_objext'
9498 { (eval echo "$as_me:9498: \"$ac_try\"") >&5
9501 echo "$as_me:9501: \$? = $ac_status" >&5
9502 (exit $ac_status); }; }; then
9505 echo "$as_me: failed program was:" >&5
9506 cat conftest.
$ac_ext >&5
9508 rm -f conftest.
$ac_objext conftest.
$ac_ext
9511 if test -n "$ac_declaration"; then
9512 echo '#ifdef __cplusplus' >>confdefs.h
9513 echo $ac_declaration >>confdefs.h
9514 echo '#endif' >>confdefs.h
9518 echo "$as_me: failed program was:" >&5
9519 cat conftest.
$ac_ext >&5
9521 rm -f conftest.
$ac_objext conftest.
$ac_ext
9523 ac_cpp
='$CPP $CPPFLAGS'
9524 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9525 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9526 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9529 ac_cpp
='$CPP $CPPFLAGS'
9530 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9531 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9532 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9533 echo "$as_me:9533: checking how to run the C preprocessor" >&5
9534 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
9535 # On Suns, sometimes $CPP names a directory.
9536 if test -n "$CPP" && test -d "$CPP"; then
9539 if test -z "$CPP"; then
9540 if test "${ac_cv_prog_CPP+set}" = set; then
9541 echo $ECHO_N "(cached) $ECHO_C" >&6
9543 # Double quotes because CPP needs to be expanded
9544 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
9547 for ac_c_preproc_warn_flag
in '' yes
9549 # Use a header file that comes with gcc, so configuring glibc
9550 # with a fresh cross-compiler works.
9551 # On the NeXT, cc -E runs the code through the compiler's parser,
9552 # not just through cpp. "Syntax error" is here to catch this case.
9553 cat >conftest.
$ac_ext <<_ACEOF
9554 #line 9554 "configure"
9555 #include "confdefs.h"
9559 if { (eval echo "$as_me:9559: \"$ac_cpp conftest.$ac_ext\"") >&5
9560 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9562 egrep -v '^ *\+' conftest.er1
>conftest.err
9564 cat conftest.err
>&5
9565 echo "$as_me:9565: \$? = $ac_status" >&5
9566 (exit $ac_status); } >/dev
/null
; then
9567 if test -s conftest.err
; then
9568 ac_cpp_err
=$ac_c_preproc_warn_flag
9575 if test -z "$ac_cpp_err"; then
9578 echo "$as_me: failed program was:" >&5
9579 cat conftest.
$ac_ext >&5
9580 # Broken: fails on valid input.
9583 rm -f conftest.err conftest.
$ac_ext
9585 # OK, works on sane cases. Now check whether non-existent headers
9586 # can be detected and how.
9587 cat >conftest.
$ac_ext <<_ACEOF
9588 #line 9588 "configure"
9589 #include "confdefs.h"
9590 #include <ac_nonexistent.h>
9592 if { (eval echo "$as_me:9592: \"$ac_cpp conftest.$ac_ext\"") >&5
9593 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9595 egrep -v '^ *\+' conftest.er1
>conftest.err
9597 cat conftest.err
>&5
9598 echo "$as_me:9598: \$? = $ac_status" >&5
9599 (exit $ac_status); } >/dev
/null
; then
9600 if test -s conftest.err
; then
9601 ac_cpp_err
=$ac_c_preproc_warn_flag
9608 if test -z "$ac_cpp_err"; then
9609 # Broken: success on invalid input.
9612 echo "$as_me: failed program was:" >&5
9613 cat conftest.
$ac_ext >&5
9614 # Passes both tests.
9618 rm -f conftest.err conftest.
$ac_ext
9621 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9622 rm -f conftest.err conftest.
$ac_ext
9623 if $ac_preproc_ok; then
9635 echo "$as_me:9635: result: $CPP" >&5
9636 echo "${ECHO_T}$CPP" >&6
9638 for ac_c_preproc_warn_flag
in '' yes
9640 # Use a header file that comes with gcc, so configuring glibc
9641 # with a fresh cross-compiler works.
9642 # On the NeXT, cc -E runs the code through the compiler's parser,
9643 # not just through cpp. "Syntax error" is here to catch this case.
9644 cat >conftest.
$ac_ext <<_ACEOF
9645 #line 9645 "configure"
9646 #include "confdefs.h"
9650 if { (eval echo "$as_me:9650: \"$ac_cpp conftest.$ac_ext\"") >&5
9651 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9653 egrep -v '^ *\+' conftest.er1
>conftest.err
9655 cat conftest.err
>&5
9656 echo "$as_me:9656: \$? = $ac_status" >&5
9657 (exit $ac_status); } >/dev
/null
; then
9658 if test -s conftest.err
; then
9659 ac_cpp_err
=$ac_c_preproc_warn_flag
9666 if test -z "$ac_cpp_err"; then
9669 echo "$as_me: failed program was:" >&5
9670 cat conftest.
$ac_ext >&5
9671 # Broken: fails on valid input.
9674 rm -f conftest.err conftest.
$ac_ext
9676 # OK, works on sane cases. Now check whether non-existent headers
9677 # can be detected and how.
9678 cat >conftest.
$ac_ext <<_ACEOF
9679 #line 9679 "configure"
9680 #include "confdefs.h"
9681 #include <ac_nonexistent.h>
9683 if { (eval echo "$as_me:9683: \"$ac_cpp conftest.$ac_ext\"") >&5
9684 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9686 egrep -v '^ *\+' conftest.er1
>conftest.err
9688 cat conftest.err
>&5
9689 echo "$as_me:9689: \$? = $ac_status" >&5
9690 (exit $ac_status); } >/dev
/null
; then
9691 if test -s conftest.err
; then
9692 ac_cpp_err
=$ac_c_preproc_warn_flag
9699 if test -z "$ac_cpp_err"; then
9700 # Broken: success on invalid input.
9703 echo "$as_me: failed program was:" >&5
9704 cat conftest.
$ac_ext >&5
9705 # Passes both tests.
9709 rm -f conftest.err conftest.
$ac_ext
9712 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9713 rm -f conftest.err conftest.
$ac_ext
9714 if $ac_preproc_ok; then
9717 { { echo "$as_me:9717: error: C preprocessor \"$CPP\" fails sanity check" >&5
9718 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
9719 { (exit 1); exit 1; }; }
9723 ac_cpp
='$CPP $CPPFLAGS'
9724 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9725 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9726 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9728 if test $ac_cv_c_compiler_gnu = yes; then
9729 echo "$as_me:9729: checking whether $CC needs -traditional" >&5
9730 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
9731 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
9732 echo $ECHO_N "(cached) $ECHO_C" >&6
9734 ac_pattern
="Autoconf.*'x'"
9735 cat >conftest.
$ac_ext <<_ACEOF
9736 #line 9736 "configure"
9737 #include "confdefs.h"
9741 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9742 egrep "$ac_pattern" >/dev
/null
2>&1; then
9743 ac_cv_prog_gcc_traditional
=yes
9745 ac_cv_prog_gcc_traditional
=no
9749 if test $ac_cv_prog_gcc_traditional = no
; then
9750 cat >conftest.
$ac_ext <<_ACEOF
9751 #line 9751 "configure"
9752 #include "confdefs.h"
9756 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9757 egrep "$ac_pattern" >/dev
/null
2>&1; then
9758 ac_cv_prog_gcc_traditional
=yes
9764 echo "$as_me:9764: result: $ac_cv_prog_gcc_traditional" >&5
9765 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
9766 if test $ac_cv_prog_gcc_traditional = yes; then
9767 CC
="$CC -traditional"
9772 ac_cpp
='$CXXCPP $CPPFLAGS'
9773 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9774 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9775 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
9777 CXXFLAGS
=${CXXFLAGS:=}
9779 ac_cpp
='$CXXCPP $CPPFLAGS'
9780 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9781 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9782 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
9783 if test -n "$ac_tool_prefix"; then
9784 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
9786 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9787 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
9788 echo "$as_me:9788: checking for $ac_word" >&5
9789 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9790 if test "${ac_cv_prog_CXX+set}" = set; then
9791 echo $ECHO_N "(cached) $ECHO_C" >&6
9793 if test -n "$CXX"; then
9794 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
9796 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
9798 for ac_dir
in $ac_dummy; do
9800 test -z "$ac_dir" && ac_dir
=.
9801 $as_executable_p "$ac_dir/$ac_word" || continue
9802 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
9803 echo "$as_me:9803: found $ac_dir/$ac_word" >&5
9810 if test -n "$CXX"; then
9811 echo "$as_me:9811: result: $CXX" >&5
9812 echo "${ECHO_T}$CXX" >&6
9814 echo "$as_me:9814: result: no" >&5
9815 echo "${ECHO_T}no" >&6
9818 test -n "$CXX" && break
9821 if test -z "$CXX"; then
9823 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
9825 # Extract the first word of "$ac_prog", so it can be a program name with args.
9826 set dummy
$ac_prog; ac_word
=$2
9827 echo "$as_me:9827: checking for $ac_word" >&5
9828 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9829 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
9830 echo $ECHO_N "(cached) $ECHO_C" >&6
9832 if test -n "$ac_ct_CXX"; then
9833 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
9835 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
9837 for ac_dir
in $ac_dummy; do
9839 test -z "$ac_dir" && ac_dir
=.
9840 $as_executable_p "$ac_dir/$ac_word" || continue
9841 ac_cv_prog_ac_ct_CXX
="$ac_prog"
9842 echo "$as_me:9842: found $ac_dir/$ac_word" >&5
9848 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
9849 if test -n "$ac_ct_CXX"; then
9850 echo "$as_me:9850: result: $ac_ct_CXX" >&5
9851 echo "${ECHO_T}$ac_ct_CXX" >&6
9853 echo "$as_me:9853: result: no" >&5
9854 echo "${ECHO_T}no" >&6
9857 test -n "$ac_ct_CXX" && break
9859 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
9864 # Provide some information about the compiler.
9865 echo "$as_me:9865:" \
9866 "checking for C++ compiler version" >&5
9867 ac_compiler
=`set X $ac_compile; echo $2`
9868 { (eval echo "$as_me:9868: \"$ac_compiler --version </dev/null >&5\"") >&5
9869 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
9871 echo "$as_me:9871: \$? = $ac_status" >&5
9872 (exit $ac_status); }
9873 { (eval echo "$as_me:9873: \"$ac_compiler -v </dev/null >&5\"") >&5
9874 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
9876 echo "$as_me:9876: \$? = $ac_status" >&5
9877 (exit $ac_status); }
9878 { (eval echo "$as_me:9878: \"$ac_compiler -V </dev/null >&5\"") >&5
9879 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
9881 echo "$as_me:9881: \$? = $ac_status" >&5
9882 (exit $ac_status); }
9884 echo "$as_me:9884: checking whether we are using the GNU C++ compiler" >&5
9885 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
9886 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
9887 echo $ECHO_N "(cached) $ECHO_C" >&6
9889 cat >conftest.
$ac_ext <<_ACEOF
9890 #line 9890 "configure"
9891 #include "confdefs.h"
9904 rm -f conftest.
$ac_objext
9905 if { (eval echo "$as_me:9905: \"$ac_compile\"") >&5
9906 (eval $ac_compile) 2>&5
9908 echo "$as_me:9908: \$? = $ac_status" >&5
9909 (exit $ac_status); } &&
9910 { ac_try
='test -s conftest.$ac_objext'
9911 { (eval echo "$as_me:9911: \"$ac_try\"") >&5
9914 echo "$as_me:9914: \$? = $ac_status" >&5
9915 (exit $ac_status); }; }; then
9918 echo "$as_me: failed program was:" >&5
9919 cat conftest.
$ac_ext >&5
9922 rm -f conftest.
$ac_objext conftest.
$ac_ext
9923 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
9926 echo "$as_me:9926: result: $ac_cv_cxx_compiler_gnu" >&5
9927 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
9928 GXX
=`test $ac_compiler_gnu = yes && echo yes`
9929 ac_test_CXXFLAGS
=${CXXFLAGS+set}
9930 ac_save_CXXFLAGS
=$CXXFLAGS
9932 echo "$as_me:9932: checking whether $CXX accepts -g" >&5
9933 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
9934 if test "${ac_cv_prog_cxx_g+set}" = set; then
9935 echo $ECHO_N "(cached) $ECHO_C" >&6
9937 cat >conftest.
$ac_ext <<_ACEOF
9938 #line 9938 "configure"
9939 #include "confdefs.h"
9949 rm -f conftest.
$ac_objext
9950 if { (eval echo "$as_me:9950: \"$ac_compile\"") >&5
9951 (eval $ac_compile) 2>&5
9953 echo "$as_me:9953: \$? = $ac_status" >&5
9954 (exit $ac_status); } &&
9955 { ac_try
='test -s conftest.$ac_objext'
9956 { (eval echo "$as_me:9956: \"$ac_try\"") >&5
9959 echo "$as_me:9959: \$? = $ac_status" >&5
9960 (exit $ac_status); }; }; then
9961 ac_cv_prog_cxx_g
=yes
9963 echo "$as_me: failed program was:" >&5
9964 cat conftest.
$ac_ext >&5
9967 rm -f conftest.
$ac_objext conftest.
$ac_ext
9969 echo "$as_me:9969: result: $ac_cv_prog_cxx_g" >&5
9970 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
9971 if test "$ac_test_CXXFLAGS" = set; then
9972 CXXFLAGS
=$ac_save_CXXFLAGS
9973 elif test $ac_cv_prog_cxx_g = yes; then
9974 if test "$GXX" = yes; then
9980 if test "$GXX" = yes; then
9986 for ac_declaration
in \
9988 '#include <stdlib.h>' \
9989 'extern "C" void std::exit (int) throw (); using std::exit;' \
9990 'extern "C" void std::exit (int); using std::exit;' \
9991 'extern "C" void exit (int) throw ();' \
9992 'extern "C" void exit (int);' \
9995 cat >conftest.
$ac_ext <<_ACEOF
9996 #line 9996 "configure"
9997 #include "confdefs.h"
10008 rm -f conftest.
$ac_objext
10009 if { (eval echo "$as_me:10009: \"$ac_compile\"") >&5
10010 (eval $ac_compile) 2>&5
10012 echo "$as_me:10012: \$? = $ac_status" >&5
10013 (exit $ac_status); } &&
10014 { ac_try
='test -s conftest.$ac_objext'
10015 { (eval echo "$as_me:10015: \"$ac_try\"") >&5
10016 (eval $ac_try) 2>&5
10018 echo "$as_me:10018: \$? = $ac_status" >&5
10019 (exit $ac_status); }; }; then
10022 echo "$as_me: failed program was:" >&5
10023 cat conftest.
$ac_ext >&5
10026 rm -f conftest.
$ac_objext conftest.
$ac_ext
10027 cat >conftest.
$ac_ext <<_ACEOF
10028 #line 10028 "configure"
10029 #include "confdefs.h"
10039 rm -f conftest.
$ac_objext
10040 if { (eval echo "$as_me:10040: \"$ac_compile\"") >&5
10041 (eval $ac_compile) 2>&5
10043 echo "$as_me:10043: \$? = $ac_status" >&5
10044 (exit $ac_status); } &&
10045 { ac_try
='test -s conftest.$ac_objext'
10046 { (eval echo "$as_me:10046: \"$ac_try\"") >&5
10047 (eval $ac_try) 2>&5
10049 echo "$as_me:10049: \$? = $ac_status" >&5
10050 (exit $ac_status); }; }; then
10053 echo "$as_me: failed program was:" >&5
10054 cat conftest.
$ac_ext >&5
10056 rm -f conftest.
$ac_objext conftest.
$ac_ext
10059 if test -n "$ac_declaration"; then
10060 echo '#ifdef __cplusplus' >>confdefs.h
10061 echo $ac_declaration >>confdefs.h
10062 echo '#endif' >>confdefs.h
10066 ac_cpp
='$CXXCPP $CPPFLAGS'
10067 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10068 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10069 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10072 ac_cpp
='$CPP $CPPFLAGS'
10073 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10074 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10075 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10077 if test -n "$ac_tool_prefix"; then
10078 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
10079 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
10080 echo "$as_me:10080: checking for $ac_word" >&5
10081 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10082 if test "${ac_cv_prog_RANLIB+set}" = set; then
10083 echo $ECHO_N "(cached) $ECHO_C" >&6
10085 if test -n "$RANLIB"; then
10086 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
10088 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
10090 for ac_dir
in $ac_dummy; do
10092 test -z "$ac_dir" && ac_dir
=.
10093 $as_executable_p "$ac_dir/$ac_word" || continue
10094 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
10095 echo "$as_me:10095: found $ac_dir/$ac_word" >&5
10101 RANLIB
=$ac_cv_prog_RANLIB
10102 if test -n "$RANLIB"; then
10103 echo "$as_me:10103: result: $RANLIB" >&5
10104 echo "${ECHO_T}$RANLIB" >&6
10106 echo "$as_me:10106: result: no" >&5
10107 echo "${ECHO_T}no" >&6
10111 if test -z "$ac_cv_prog_RANLIB"; then
10112 ac_ct_RANLIB
=$RANLIB
10113 # Extract the first word of "ranlib", so it can be a program name with args.
10114 set dummy ranlib
; ac_word
=$2
10115 echo "$as_me:10115: checking for $ac_word" >&5
10116 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10117 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
10118 echo $ECHO_N "(cached) $ECHO_C" >&6
10120 if test -n "$ac_ct_RANLIB"; then
10121 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
10123 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
10125 for ac_dir
in $ac_dummy; do
10127 test -z "$ac_dir" && ac_dir
=.
10128 $as_executable_p "$ac_dir/$ac_word" || continue
10129 ac_cv_prog_ac_ct_RANLIB
="ranlib"
10130 echo "$as_me:10130: found $ac_dir/$ac_word" >&5
10134 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
10137 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
10138 if test -n "$ac_ct_RANLIB"; then
10139 echo "$as_me:10139: result: $ac_ct_RANLIB" >&5
10140 echo "${ECHO_T}$ac_ct_RANLIB" >&6
10142 echo "$as_me:10142: result: no" >&5
10143 echo "${ECHO_T}no" >&6
10146 RANLIB
=$ac_ct_RANLIB
10148 RANLIB
="$ac_cv_prog_RANLIB"
10151 # Extract the first word of "ar", so it can be a program name with args.
10152 set dummy
ar; ac_word
=$2
10153 echo "$as_me:10153: checking for $ac_word" >&5
10154 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10155 if test "${ac_cv_prog_AR+set}" = set; then
10156 echo $ECHO_N "(cached) $ECHO_C" >&6
10158 if test -n "$AR"; then
10159 ac_cv_prog_AR
="$AR" # Let the user override the test.
10161 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
10163 for ac_dir
in $ac_dummy; do
10165 test -z "$ac_dir" && ac_dir
=.
10166 $as_executable_p "$ac_dir/$ac_word" || continue
10168 echo "$as_me:10168: found $ac_dir/$ac_word" >&5
10172 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
10176 if test -n "$AR"; then
10177 echo "$as_me:10177: result: $AR" >&5
10178 echo "${ECHO_T}$AR" >&6
10180 echo "$as_me:10180: result: no" >&5
10181 echo "${ECHO_T}no" >&6
10184 # Find a good install program. We prefer a C program (faster),
10185 # so one script is as good as another. But avoid the broken or
10186 # incompatible versions:
10187 # SysV /etc/install, /usr/sbin/install
10188 # SunOS /usr/etc/install
10189 # IRIX /sbin/install
10191 # AmigaOS /C/install, which installs bootblocks on floppy discs
10192 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
10193 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
10194 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
10195 # ./install, which can be erroneously created by make from ./install.sh.
10196 echo "$as_me:10196: checking for a BSD compatible install" >&5
10197 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
10198 if test -z "$INSTALL"; then
10199 if test "${ac_cv_path_install+set}" = set; then
10200 echo $ECHO_N "(cached) $ECHO_C" >&6
10202 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
10203 for ac_dir
in $PATH; do
10205 # Account for people who put trailing slashes in PATH elements.
10207 / | .
/ | .
// | /cC
/* \
10208 | /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* \
10211 # OSF1 and SCO ODT 3.0 have their own names for install.
10212 # Don't use installbsd from OSF since it installs stuff as root
10214 for ac_prog
in ginstall scoinst
install; do
10215 if $as_executable_p "$ac_dir/$ac_prog"; then
10216 if test $ac_prog = install &&
10217 grep dspmsg
"$ac_dir/$ac_prog" >/dev
/null
2>&1; then
10218 # AIX install. It has an incompatible calling convention.
10220 elif test $ac_prog = install &&
10221 grep pwplus
"$ac_dir/$ac_prog" >/dev
/null
2>&1; then
10222 # program-specific install script used by HP pwplus--don't use.
10225 ac_cv_path_install
="$ac_dir/$ac_prog -c"
10235 if test "${ac_cv_path_install+set}" = set; then
10236 INSTALL
=$ac_cv_path_install
10238 # As a last resort, use the slow shell script. We don't cache a
10239 # path for INSTALL within a source directory, because that will
10240 # break other packages using the cache if that directory is
10241 # removed, or if the path is relative.
10242 INSTALL
=$ac_install_sh
10245 echo "$as_me:10245: result: $INSTALL" >&5
10246 echo "${ECHO_T}$INSTALL" >&6
10248 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
10249 # It thinks the first close brace ends the variable substitution.
10250 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
10252 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
10254 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
10260 INSTALL
=`pwd`/${INSTALL} ;;
10265 powerpc
-*-darwin* )
10266 INSTALL_PROGRAM
="cp -fp"
10267 INSTALL_DATA
="cp -fp"
10273 # Extract the first word of "strip", so it can be a program name with args.
10274 set dummy strip
; ac_word
=$2
10275 echo "$as_me:10275: checking for $ac_word" >&5
10276 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10277 if test "${ac_cv_prog_STRIP+set}" = set; then
10278 echo $ECHO_N "(cached) $ECHO_C" >&6
10280 if test -n "$STRIP"; then
10281 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
10283 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
10285 for ac_dir
in $ac_dummy; do
10287 test -z "$ac_dir" && ac_dir
=.
10288 $as_executable_p "$ac_dir/$ac_word" || continue
10289 ac_cv_prog_STRIP
="strip"
10290 echo "$as_me:10290: found $ac_dir/$ac_word" >&5
10294 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
10297 STRIP
=$ac_cv_prog_STRIP
10298 if test -n "$STRIP"; then
10299 echo "$as_me:10299: result: $STRIP" >&5
10300 echo "${ECHO_T}$STRIP" >&6
10302 echo "$as_me:10302: result: no" >&5
10303 echo "${ECHO_T}no" >&6
10306 echo "$as_me:10306: checking if make is GNU make" >&5
10307 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
10308 if test "${wx_cv_prog_makeisgnu+set}" = set; then
10309 echo $ECHO_N "(cached) $ECHO_C" >&6
10312 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
10313 egrep -s GNU
> /dev
/null
); then
10314 wx_cv_prog_makeisgnu
="yes"
10316 wx_cv_prog_makeisgnu
="no"
10320 echo "$as_me:10320: result: $wx_cv_prog_makeisgnu" >&5
10321 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
10323 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
10329 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
10330 echo "$as_me:10330: checking if make supports VPATH" >&5
10331 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
10332 if test "${wx_cv_prog_makevpath+set}" = set; then
10333 echo $ECHO_N "(cached) $ECHO_C" >&6
10336 cat - << EOF > confMake
10342 if test ! -d sub
; then
10345 echo dummy
> sub
/file
10346 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
10348 rm -f sub
/file check final_file confMake
10350 if test "$RESULT" = 0; then
10351 wx_cv_prog_makevpath
="yes"
10353 wx_cv_prog_makevpath
="no"
10357 echo "$as_me:10357: result: $wx_cv_prog_makevpath" >&5
10358 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
10360 if test "x$wx_cv_prog_makevpath" != "xyes"; then
10361 { { echo "$as_me:10361: error:
10362 You need a make-utility that is able to use the variable
10364 If your version of make does not support VPATH correctly,
10365 please install GNU-make (possibly as gmake), and start
10366 configure with the following command:
10367 export MAKE=gmake; ./configure for sh-type shells
10368 setenv MAKE gmake; ./configure for csh-type shells
10369 Also please do remember to use gmake in this case every time
10370 you are trying to compile.
10372 echo "$as_me: error:
10373 You need a make-utility that is able to use the variable
10375 If your version of make does not support VPATH correctly,
10376 please install GNU-make (possibly as gmake), and start
10377 configure with the following command:
10378 export MAKE=gmake; ./configure for sh-type shells
10379 setenv MAKE gmake; ./configure for csh-type shells
10380 Also please do remember to use gmake in this case every time
10381 you are trying to compile.
10383 { (exit 1); exit 1; }; }
10385 for ac_prog
in 'bison -y' byacc
10387 # Extract the first word of "$ac_prog", so it can be a program name with args.
10388 set dummy
$ac_prog; ac_word
=$2
10389 echo "$as_me:10389: checking for $ac_word" >&5
10390 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10391 if test "${ac_cv_prog_YACC+set}" = set; then
10392 echo $ECHO_N "(cached) $ECHO_C" >&6
10394 if test -n "$YACC"; then
10395 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
10397 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
10399 for ac_dir
in $ac_dummy; do
10401 test -z "$ac_dir" && ac_dir
=.
10402 $as_executable_p "$ac_dir/$ac_word" || continue
10403 ac_cv_prog_YACC
="$ac_prog"
10404 echo "$as_me:10404: found $ac_dir/$ac_word" >&5
10410 YACC
=$ac_cv_prog_YACC
10411 if test -n "$YACC"; then
10412 echo "$as_me:10412: result: $YACC" >&5
10413 echo "${ECHO_T}$YACC" >&6
10415 echo "$as_me:10415: result: no" >&5
10416 echo "${ECHO_T}no" >&6
10419 test -n "$YACC" && break
10421 test -n "$YACC" || YACC
="yacc"
10423 for ac_prog
in flex
lex
10425 # Extract the first word of "$ac_prog", so it can be a program name with args.
10426 set dummy
$ac_prog; ac_word
=$2
10427 echo "$as_me:10427: checking for $ac_word" >&5
10428 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10429 if test "${ac_cv_prog_LEX+set}" = set; then
10430 echo $ECHO_N "(cached) $ECHO_C" >&6
10432 if test -n "$LEX"; then
10433 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
10435 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
10437 for ac_dir
in $ac_dummy; do
10439 test -z "$ac_dir" && ac_dir
=.
10440 $as_executable_p "$ac_dir/$ac_word" || continue
10441 ac_cv_prog_LEX
="$ac_prog"
10442 echo "$as_me:10442: found $ac_dir/$ac_word" >&5
10448 LEX
=$ac_cv_prog_LEX
10449 if test -n "$LEX"; then
10450 echo "$as_me:10450: result: $LEX" >&5
10451 echo "${ECHO_T}$LEX" >&6
10453 echo "$as_me:10453: result: no" >&5
10454 echo "${ECHO_T}no" >&6
10457 test -n "$LEX" && break
10459 test -n "$LEX" || LEX
=":"
10461 if test -z "$LEXLIB"
10463 echo "$as_me:10463: checking for yywrap in -lfl" >&5
10464 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
10465 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
10466 echo $ECHO_N "(cached) $ECHO_C" >&6
10468 ac_check_lib_save_LIBS
=$LIBS
10470 cat >conftest.
$ac_ext <<_ACEOF
10471 #line 10471 "configure"
10472 #include "confdefs.h"
10474 /* Override any gcc2 internal prototype to avoid an error. */
10478 /* We use char because int might match the return type of a gcc2
10479 builtin and then its argument prototype would still apply. */
10489 rm -f conftest.
$ac_objext conftest
$ac_exeext
10490 if { (eval echo "$as_me:10490: \"$ac_link\"") >&5
10491 (eval $ac_link) 2>&5
10493 echo "$as_me:10493: \$? = $ac_status" >&5
10494 (exit $ac_status); } &&
10495 { ac_try
='test -s conftest$ac_exeext'
10496 { (eval echo "$as_me:10496: \"$ac_try\"") >&5
10497 (eval $ac_try) 2>&5
10499 echo "$as_me:10499: \$? = $ac_status" >&5
10500 (exit $ac_status); }; }; then
10501 ac_cv_lib_fl_yywrap
=yes
10503 echo "$as_me: failed program was:" >&5
10504 cat conftest.
$ac_ext >&5
10505 ac_cv_lib_fl_yywrap
=no
10507 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10508 LIBS
=$ac_check_lib_save_LIBS
10510 echo "$as_me:10510: result: $ac_cv_lib_fl_yywrap" >&5
10511 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
10512 if test $ac_cv_lib_fl_yywrap = yes; then
10515 echo "$as_me:10515: checking for yywrap in -ll" >&5
10516 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
10517 if test "${ac_cv_lib_l_yywrap+set}" = set; then
10518 echo $ECHO_N "(cached) $ECHO_C" >&6
10520 ac_check_lib_save_LIBS
=$LIBS
10522 cat >conftest.
$ac_ext <<_ACEOF
10523 #line 10523 "configure"
10524 #include "confdefs.h"
10526 /* Override any gcc2 internal prototype to avoid an error. */
10530 /* We use char because int might match the return type of a gcc2
10531 builtin and then its argument prototype would still apply. */
10541 rm -f conftest.
$ac_objext conftest
$ac_exeext
10542 if { (eval echo "$as_me:10542: \"$ac_link\"") >&5
10543 (eval $ac_link) 2>&5
10545 echo "$as_me:10545: \$? = $ac_status" >&5
10546 (exit $ac_status); } &&
10547 { ac_try
='test -s conftest$ac_exeext'
10548 { (eval echo "$as_me:10548: \"$ac_try\"") >&5
10549 (eval $ac_try) 2>&5
10551 echo "$as_me:10551: \$? = $ac_status" >&5
10552 (exit $ac_status); }; }; then
10553 ac_cv_lib_l_yywrap
=yes
10555 echo "$as_me: failed program was:" >&5
10556 cat conftest.
$ac_ext >&5
10557 ac_cv_lib_l_yywrap
=no
10559 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10560 LIBS
=$ac_check_lib_save_LIBS
10562 echo "$as_me:10562: result: $ac_cv_lib_l_yywrap" >&5
10563 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
10564 if test $ac_cv_lib_l_yywrap = yes; then
10572 if test "x$LEX" != "x:"; then
10573 echo "$as_me:10573: checking lex output file root" >&5
10574 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
10575 if test "${ac_cv_prog_lex_root+set}" = set; then
10576 echo $ECHO_N "(cached) $ECHO_C" >&6
10578 # The minimal lex program is just a single line: %%. But some broken lexes
10579 # (Solaris, I think it was) want two %% lines, so accommodate them.
10582 if test -f lex.yy.c
; then
10583 ac_cv_prog_lex_root
=lex.yy
10584 elif test -f lexyy.c
; then
10585 ac_cv_prog_lex_root
=lexyy
10587 { { echo "$as_me:10587: error: cannot find output from $LEX; giving up" >&5
10588 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
10589 { (exit 1); exit 1; }; }
10592 echo "$as_me:10592: result: $ac_cv_prog_lex_root" >&5
10593 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
10594 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
10596 echo "$as_me:10596: checking whether yytext is a pointer" >&5
10597 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
10598 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
10599 echo $ECHO_N "(cached) $ECHO_C" >&6
10601 # POSIX says lex can declare yytext either as a pointer or an array; the
10602 # default is implementation-dependent. Figure out which it is, since
10603 # not all implementations provide the %pointer and %array declarations.
10604 ac_cv_prog_lex_yytext_pointer
=no
10605 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
10607 LIBS
="$LIBS $LEXLIB"
10608 cat >conftest.
$ac_ext <<_ACEOF
10609 `cat $LEX_OUTPUT_ROOT.c`
10611 rm -f conftest.
$ac_objext conftest
$ac_exeext
10612 if { (eval echo "$as_me:10612: \"$ac_link\"") >&5
10613 (eval $ac_link) 2>&5
10615 echo "$as_me:10615: \$? = $ac_status" >&5
10616 (exit $ac_status); } &&
10617 { ac_try
='test -s conftest$ac_exeext'
10618 { (eval echo "$as_me:10618: \"$ac_try\"") >&5
10619 (eval $ac_try) 2>&5
10621 echo "$as_me:10621: \$? = $ac_status" >&5
10622 (exit $ac_status); }; }; then
10623 ac_cv_prog_lex_yytext_pointer
=yes
10625 echo "$as_me: failed program was:" >&5
10626 cat conftest.
$ac_ext >&5
10628 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10630 rm -f "${LEX_OUTPUT_ROOT}.c"
10633 echo "$as_me:10633: result: $ac_cv_prog_lex_yytext_pointer" >&5
10634 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
10635 if test $ac_cv_prog_lex_yytext_pointer = yes; then
10637 cat >>confdefs.h
<<\EOF
10638 #define YYTEXT_POINTER 1
10645 echo "$as_me:10645: checking whether ln -s works" >&5
10646 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
10648 if test "$LN_S" = "ln -s"; then
10649 echo "$as_me:10649: result: yes" >&5
10650 echo "${ECHO_T}yes" >&6
10652 echo "$as_me:10652: result: no, using $LN_S" >&5
10653 echo "${ECHO_T}no, using $LN_S" >&6
10656 if test "$wxUSE_MAC" != 1; then
10658 for ac_header
in strings.h
10660 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10661 echo "$as_me:10661: checking for $ac_header" >&5
10662 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10663 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10664 echo $ECHO_N "(cached) $ECHO_C" >&6
10666 cat >conftest.
$ac_ext <<_ACEOF
10667 #line 10667 "configure"
10668 #include "confdefs.h"
10669 #include <$ac_header>
10671 if { (eval echo "$as_me:10671: \"$ac_cpp conftest.$ac_ext\"") >&5
10672 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10674 egrep -v '^ *\+' conftest.er1
>conftest.err
10676 cat conftest.err
>&5
10677 echo "$as_me:10677: \$? = $ac_status" >&5
10678 (exit $ac_status); } >/dev
/null
; then
10679 if test -s conftest.err
; then
10680 ac_cpp_err
=$ac_c_preproc_warn_flag
10687 if test -z "$ac_cpp_err"; then
10688 eval "$as_ac_Header=yes"
10690 echo "$as_me: failed program was:" >&5
10691 cat conftest.
$ac_ext >&5
10692 eval "$as_ac_Header=no"
10694 rm -f conftest.err conftest.
$ac_ext
10696 echo "$as_me:10696: result: `eval echo '${'$as_ac_Header'}'`" >&5
10697 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10698 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10699 cat >>confdefs.h
<<EOF
10700 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10708 for ac_header
in stdlib.h
10710 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10711 echo "$as_me:10711: checking for $ac_header" >&5
10712 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10713 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10714 echo $ECHO_N "(cached) $ECHO_C" >&6
10716 cat >conftest.
$ac_ext <<_ACEOF
10717 #line 10717 "configure"
10718 #include "confdefs.h"
10719 #include <$ac_header>
10721 if { (eval echo "$as_me:10721: \"$ac_cpp conftest.$ac_ext\"") >&5
10722 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10724 egrep -v '^ *\+' conftest.er1
>conftest.err
10726 cat conftest.err
>&5
10727 echo "$as_me:10727: \$? = $ac_status" >&5
10728 (exit $ac_status); } >/dev
/null
; then
10729 if test -s conftest.err
; then
10730 ac_cpp_err
=$ac_c_preproc_warn_flag
10737 if test -z "$ac_cpp_err"; then
10738 eval "$as_ac_Header=yes"
10740 echo "$as_me: failed program was:" >&5
10741 cat conftest.
$ac_ext >&5
10742 eval "$as_ac_Header=no"
10744 rm -f conftest.err conftest.
$ac_ext
10746 echo "$as_me:10746: result: `eval echo '${'$as_ac_Header'}'`" >&5
10747 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10748 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10749 cat >>confdefs.h
<<EOF
10750 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10756 for ac_header
in malloc.h
10758 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10759 echo "$as_me:10759: checking for $ac_header" >&5
10760 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10761 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10762 echo $ECHO_N "(cached) $ECHO_C" >&6
10764 cat >conftest.
$ac_ext <<_ACEOF
10765 #line 10765 "configure"
10766 #include "confdefs.h"
10767 #include <$ac_header>
10769 if { (eval echo "$as_me:10769: \"$ac_cpp conftest.$ac_ext\"") >&5
10770 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10772 egrep -v '^ *\+' conftest.er1
>conftest.err
10774 cat conftest.err
>&5
10775 echo "$as_me:10775: \$? = $ac_status" >&5
10776 (exit $ac_status); } >/dev
/null
; then
10777 if test -s conftest.err
; then
10778 ac_cpp_err
=$ac_c_preproc_warn_flag
10785 if test -z "$ac_cpp_err"; then
10786 eval "$as_ac_Header=yes"
10788 echo "$as_me: failed program was:" >&5
10789 cat conftest.
$ac_ext >&5
10790 eval "$as_ac_Header=no"
10792 rm -f conftest.err conftest.
$ac_ext
10794 echo "$as_me:10794: result: `eval echo '${'$as_ac_Header'}'`" >&5
10795 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10796 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10797 cat >>confdefs.h
<<EOF
10798 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10804 for ac_header
in unistd.h
10806 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10807 echo "$as_me:10807: checking for $ac_header" >&5
10808 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10809 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10810 echo $ECHO_N "(cached) $ECHO_C" >&6
10812 cat >conftest.
$ac_ext <<_ACEOF
10813 #line 10813 "configure"
10814 #include "confdefs.h"
10815 #include <$ac_header>
10817 if { (eval echo "$as_me:10817: \"$ac_cpp conftest.$ac_ext\"") >&5
10818 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10820 egrep -v '^ *\+' conftest.er1
>conftest.err
10822 cat conftest.err
>&5
10823 echo "$as_me:10823: \$? = $ac_status" >&5
10824 (exit $ac_status); } >/dev
/null
; then
10825 if test -s conftest.err
; then
10826 ac_cpp_err
=$ac_c_preproc_warn_flag
10833 if test -z "$ac_cpp_err"; then
10834 eval "$as_ac_Header=yes"
10836 echo "$as_me: failed program was:" >&5
10837 cat conftest.
$ac_ext >&5
10838 eval "$as_ac_Header=no"
10840 rm -f conftest.err conftest.
$ac_ext
10842 echo "$as_me:10842: result: `eval echo '${'$as_ac_Header'}'`" >&5
10843 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10844 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10845 cat >>confdefs.h
<<EOF
10846 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10852 for ac_header
in wchar.h
10854 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10855 echo "$as_me:10855: checking for $ac_header" >&5
10856 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10857 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10858 echo $ECHO_N "(cached) $ECHO_C" >&6
10860 cat >conftest.
$ac_ext <<_ACEOF
10861 #line 10861 "configure"
10862 #include "confdefs.h"
10863 #include <$ac_header>
10865 if { (eval echo "$as_me:10865: \"$ac_cpp conftest.$ac_ext\"") >&5
10866 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10868 egrep -v '^ *\+' conftest.er1
>conftest.err
10870 cat conftest.err
>&5
10871 echo "$as_me:10871: \$? = $ac_status" >&5
10872 (exit $ac_status); } >/dev
/null
; then
10873 if test -s conftest.err
; then
10874 ac_cpp_err
=$ac_c_preproc_warn_flag
10881 if test -z "$ac_cpp_err"; then
10882 eval "$as_ac_Header=yes"
10884 echo "$as_me: failed program was:" >&5
10885 cat conftest.
$ac_ext >&5
10886 eval "$as_ac_Header=no"
10888 rm -f conftest.err conftest.
$ac_ext
10890 echo "$as_me:10890: result: `eval echo '${'$as_ac_Header'}'`" >&5
10891 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10892 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10893 cat >>confdefs.h
<<EOF
10894 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10900 if test "$ac_cv_header_wchar_h" != "yes"; then
10902 for ac_header
in wcstr.h
10904 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10905 echo "$as_me:10905: checking for $ac_header" >&5
10906 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10907 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10908 echo $ECHO_N "(cached) $ECHO_C" >&6
10910 cat >conftest.
$ac_ext <<_ACEOF
10911 #line 10911 "configure"
10912 #include "confdefs.h"
10913 #include <$ac_header>
10915 if { (eval echo "$as_me:10915: \"$ac_cpp conftest.$ac_ext\"") >&5
10916 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10918 egrep -v '^ *\+' conftest.er1
>conftest.err
10920 cat conftest.err
>&5
10921 echo "$as_me:10921: \$? = $ac_status" >&5
10922 (exit $ac_status); } >/dev
/null
; then
10923 if test -s conftest.err
; then
10924 ac_cpp_err
=$ac_c_preproc_warn_flag
10931 if test -z "$ac_cpp_err"; then
10932 eval "$as_ac_Header=yes"
10934 echo "$as_me: failed program was:" >&5
10935 cat conftest.
$ac_ext >&5
10936 eval "$as_ac_Header=no"
10938 rm -f conftest.err conftest.
$ac_ext
10940 echo "$as_me:10940: result: `eval echo '${'$as_ac_Header'}'`" >&5
10941 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10942 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10943 cat >>confdefs.h
<<EOF
10944 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10952 for ac_header
in fnmatch.h
10954 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10955 echo "$as_me:10955: checking for $ac_header" >&5
10956 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10957 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10958 echo $ECHO_N "(cached) $ECHO_C" >&6
10960 cat >conftest.
$ac_ext <<_ACEOF
10961 #line 10961 "configure"
10962 #include "confdefs.h"
10963 #include <$ac_header>
10965 if { (eval echo "$as_me:10965: \"$ac_cpp conftest.$ac_ext\"") >&5
10966 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10968 egrep -v '^ *\+' conftest.er1
>conftest.err
10970 cat conftest.err
>&5
10971 echo "$as_me:10971: \$? = $ac_status" >&5
10972 (exit $ac_status); } >/dev
/null
; then
10973 if test -s conftest.err
; then
10974 ac_cpp_err
=$ac_c_preproc_warn_flag
10981 if test -z "$ac_cpp_err"; then
10982 eval "$as_ac_Header=yes"
10984 echo "$as_me: failed program was:" >&5
10985 cat conftest.
$ac_ext >&5
10986 eval "$as_ac_Header=no"
10988 rm -f conftest.err conftest.
$ac_ext
10990 echo "$as_me:10990: result: `eval echo '${'$as_ac_Header'}'`" >&5
10991 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10992 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10993 cat >>confdefs.h
<<EOF
10994 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11000 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
11002 for ac_func
in fnmatch
11004 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11005 echo "$as_me:11005: checking for $ac_func" >&5
11006 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11007 if eval "test \"\${$as_ac_var+set}\" = set"; then
11008 echo $ECHO_N "(cached) $ECHO_C" >&6
11010 cat >conftest.
$ac_ext <<_ACEOF
11011 #line 11011 "configure"
11012 #include "confdefs.h"
11013 /* System header to define __stub macros and hopefully few prototypes,
11014 which can conflict with char $ac_func (); below. */
11015 #include <assert.h>
11016 /* Override any gcc2 internal prototype to avoid an error. */
11020 /* We use char because int might match the return type of a gcc2
11021 builtin and then its argument prototype would still apply. */
11028 /* The GNU C library defines this for functions which it implements
11029 to always fail with ENOSYS. Some functions are actually named
11030 something starting with __ and the normal name is an alias. */
11031 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11041 rm -f conftest.
$ac_objext conftest
$ac_exeext
11042 if { (eval echo "$as_me:11042: \"$ac_link\"") >&5
11043 (eval $ac_link) 2>&5
11045 echo "$as_me:11045: \$? = $ac_status" >&5
11046 (exit $ac_status); } &&
11047 { ac_try
='test -s conftest$ac_exeext'
11048 { (eval echo "$as_me:11048: \"$ac_try\"") >&5
11049 (eval $ac_try) 2>&5
11051 echo "$as_me:11051: \$? = $ac_status" >&5
11052 (exit $ac_status); }; }; then
11053 eval "$as_ac_var=yes"
11055 echo "$as_me: failed program was:" >&5
11056 cat conftest.
$ac_ext >&5
11057 eval "$as_ac_var=no"
11059 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11061 echo "$as_me:11061: result: `eval echo '${'$as_ac_var'}'`" >&5
11062 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11063 if test `eval echo '${'$as_ac_var'}'` = yes; then
11064 cat >>confdefs.h
<<EOF
11065 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11073 for ac_header
in langinfo.h
11075 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11076 echo "$as_me:11076: checking for $ac_header" >&5
11077 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11078 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11079 echo $ECHO_N "(cached) $ECHO_C" >&6
11081 cat >conftest.
$ac_ext <<_ACEOF
11082 #line 11082 "configure"
11083 #include "confdefs.h"
11084 #include <$ac_header>
11086 if { (eval echo "$as_me:11086: \"$ac_cpp conftest.$ac_ext\"") >&5
11087 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11089 egrep -v '^ *\+' conftest.er1
>conftest.err
11091 cat conftest.err
>&5
11092 echo "$as_me:11092: \$? = $ac_status" >&5
11093 (exit $ac_status); } >/dev
/null
; then
11094 if test -s conftest.err
; then
11095 ac_cpp_err
=$ac_c_preproc_warn_flag
11102 if test -z "$ac_cpp_err"; then
11103 eval "$as_ac_Header=yes"
11105 echo "$as_me: failed program was:" >&5
11106 cat conftest.
$ac_ext >&5
11107 eval "$as_ac_Header=no"
11109 rm -f conftest.err conftest.
$ac_ext
11111 echo "$as_me:11111: result: `eval echo '${'$as_ac_Header'}'`" >&5
11112 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11113 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11114 cat >>confdefs.h
<<EOF
11115 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11121 if test "$wxUSE_GUI" = "yes"; then
11122 if test "$wxUSE_UNIX" = "yes"; then
11124 for ac_header
in X
11/XKBlib.h
11126 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11127 echo "$as_me:11127: checking for $ac_header" >&5
11128 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11129 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11130 echo $ECHO_N "(cached) $ECHO_C" >&6
11132 cat >conftest.
$ac_ext <<_ACEOF
11133 #line 11133 "configure"
11134 #include "confdefs.h"
11135 #include <$ac_header>
11137 if { (eval echo "$as_me:11137: \"$ac_cpp conftest.$ac_ext\"") >&5
11138 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11140 egrep -v '^ *\+' conftest.er1
>conftest.err
11142 cat conftest.err
>&5
11143 echo "$as_me:11143: \$? = $ac_status" >&5
11144 (exit $ac_status); } >/dev
/null
; then
11145 if test -s conftest.err
; then
11146 ac_cpp_err
=$ac_c_preproc_warn_flag
11153 if test -z "$ac_cpp_err"; then
11154 eval "$as_ac_Header=yes"
11156 echo "$as_me: failed program was:" >&5
11157 cat conftest.
$ac_ext >&5
11158 eval "$as_ac_Header=no"
11160 rm -f conftest.err conftest.
$ac_ext
11162 echo "$as_me:11162: result: `eval echo '${'$as_ac_Header'}'`" >&5
11163 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11164 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11165 cat >>confdefs.h
<<EOF
11166 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11175 echo "$as_me:11175: checking for $CC option to accept ANSI C" >&5
11176 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11177 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11178 echo $ECHO_N "(cached) $ECHO_C" >&6
11180 ac_cv_prog_cc_stdc
=no
11182 cat >conftest.
$ac_ext <<_ACEOF
11183 #line 11183 "configure"
11184 #include "confdefs.h"
11185 #include <stdarg.h>
11187 #include <sys/types.h>
11188 #include <sys/stat.h>
11189 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11190 struct buf { int x; };
11191 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11192 static char *e (p, i)
11198 static char *f (char * (*g) (char **, int), char **p, ...)
11203 s = g (p, va_arg (v,int));
11207 int test (int i, double x);
11208 struct s1 {int (*f) (int a);};
11209 struct s2 {int (*f) (double a);};
11210 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11216 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11221 # Don't try gcc -ansi; that turns off useful extensions and
11222 # breaks some systems' header files.
11223 # AIX -qlanglvl=ansi
11224 # Ultrix and OSF/1 -std1
11225 # HP-UX 10.20 and later -Ae
11226 # HP-UX older versions -Aa -D_HPUX_SOURCE
11227 # SVR4 -Xc -D__EXTENSIONS__
11228 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11230 CC
="$ac_save_CC $ac_arg"
11231 rm -f conftest.
$ac_objext
11232 if { (eval echo "$as_me:11232: \"$ac_compile\"") >&5
11233 (eval $ac_compile) 2>&5
11235 echo "$as_me:11235: \$? = $ac_status" >&5
11236 (exit $ac_status); } &&
11237 { ac_try
='test -s conftest.$ac_objext'
11238 { (eval echo "$as_me:11238: \"$ac_try\"") >&5
11239 (eval $ac_try) 2>&5
11241 echo "$as_me:11241: \$? = $ac_status" >&5
11242 (exit $ac_status); }; }; then
11243 ac_cv_prog_cc_stdc
=$ac_arg
11246 echo "$as_me: failed program was:" >&5
11247 cat conftest.
$ac_ext >&5
11249 rm -f conftest.
$ac_objext
11251 rm -f conftest.
$ac_ext conftest.
$ac_objext
11256 case "x$ac_cv_prog_cc_stdc" in
11258 echo "$as_me:11258: result: none needed" >&5
11259 echo "${ECHO_T}none needed" >&6 ;;
11261 echo "$as_me:11261: result: $ac_cv_prog_cc_stdc" >&5
11262 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11263 CC
="$CC $ac_cv_prog_cc_stdc" ;;
11266 echo "$as_me:11266: checking for an ANSI C-conforming const" >&5
11267 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
11268 if test "${ac_cv_c_const+set}" = set; then
11269 echo $ECHO_N "(cached) $ECHO_C" >&6
11271 cat >conftest.
$ac_ext <<_ACEOF
11272 #line 11272 "configure"
11273 #include "confdefs.h"
11278 /* FIXME: Include the comments suggested by Paul. */
11279 #ifndef __cplusplus
11280 /* Ultrix mips cc rejects this. */
11281 typedef int charset[2];
11283 /* SunOS 4.1.1 cc rejects this. */
11284 char const *const *ccp;
11286 /* NEC SVR4.0.2 mips cc rejects this. */
11287 struct point {int x, y;};
11288 static struct point const zero = {0,0};
11289 /* AIX XL C 1.02.0.0 rejects this.
11290 It does not let you subtract one const X* pointer from another in
11291 an arm of an if-expression whose if-part is not a constant
11293 const char *g = "string";
11294 ccp = &g + (g ? g-g : 0);
11295 /* HPUX 7.0 cc rejects these. */
11298 ccp = (char const *const *) p;
11299 { /* SCO 3.2v4 cc rejects this. */
11301 char const *s = 0 ? (char *) 0 : (char const *) 0;
11305 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
11306 int x[] = {25, 17};
11307 const int *foo = &x[0];
11310 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
11311 typedef const int *iptr;
11315 { /* AIX XL C 1.02.0.0 rejects this saying
11316 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
11317 struct s { int j; const int *ap[3]; };
11318 struct s *b; b->j = 5;
11320 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
11321 const int foo = 10;
11329 rm -f conftest.
$ac_objext
11330 if { (eval echo "$as_me:11330: \"$ac_compile\"") >&5
11331 (eval $ac_compile) 2>&5
11333 echo "$as_me:11333: \$? = $ac_status" >&5
11334 (exit $ac_status); } &&
11335 { ac_try
='test -s conftest.$ac_objext'
11336 { (eval echo "$as_me:11336: \"$ac_try\"") >&5
11337 (eval $ac_try) 2>&5
11339 echo "$as_me:11339: \$? = $ac_status" >&5
11340 (exit $ac_status); }; }; then
11343 echo "$as_me: failed program was:" >&5
11344 cat conftest.
$ac_ext >&5
11347 rm -f conftest.
$ac_objext conftest.
$ac_ext
11349 echo "$as_me:11349: result: $ac_cv_c_const" >&5
11350 echo "${ECHO_T}$ac_cv_c_const" >&6
11351 if test $ac_cv_c_const = no
; then
11353 cat >>confdefs.h
<<\EOF
11359 echo "$as_me:11359: checking for inline" >&5
11360 echo $ECHO_N "checking for inline... $ECHO_C" >&6
11361 if test "${ac_cv_c_inline+set}" = set; then
11362 echo $ECHO_N "(cached) $ECHO_C" >&6
11365 for ac_kw
in inline __inline__ __inline
; do
11366 cat >conftest.
$ac_ext <<_ACEOF
11367 #line 11367 "configure"
11368 #include "confdefs.h"
11369 #ifndef __cplusplus
11370 static $ac_kw int static_foo () {return 0; }
11371 $ac_kw int foo () {return 0; }
11375 rm -f conftest.
$ac_objext
11376 if { (eval echo "$as_me:11376: \"$ac_compile\"") >&5
11377 (eval $ac_compile) 2>&5
11379 echo "$as_me:11379: \$? = $ac_status" >&5
11380 (exit $ac_status); } &&
11381 { ac_try
='test -s conftest.$ac_objext'
11382 { (eval echo "$as_me:11382: \"$ac_try\"") >&5
11383 (eval $ac_try) 2>&5
11385 echo "$as_me:11385: \$? = $ac_status" >&5
11386 (exit $ac_status); }; }; then
11387 ac_cv_c_inline
=$ac_kw; break
11389 echo "$as_me: failed program was:" >&5
11390 cat conftest.
$ac_ext >&5
11392 rm -f conftest.
$ac_objext conftest.
$ac_ext
11396 echo "$as_me:11396: result: $ac_cv_c_inline" >&5
11397 echo "${ECHO_T}$ac_cv_c_inline" >&6
11398 case $ac_cv_c_inline in
11401 cat >>confdefs.h
<<\EOF
11405 *) cat >>confdefs.h
<<EOF
11406 #define inline $ac_cv_c_inline
11411 echo "$as_me:11411: checking for ANSI C header files" >&5
11412 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
11413 if test "${ac_cv_header_stdc+set}" = set; then
11414 echo $ECHO_N "(cached) $ECHO_C" >&6
11416 cat >conftest.
$ac_ext <<_ACEOF
11417 #line 11417 "configure"
11418 #include "confdefs.h"
11419 #include <stdlib.h>
11420 #include <stdarg.h>
11421 #include <string.h>
11425 if { (eval echo "$as_me:11425: \"$ac_cpp conftest.$ac_ext\"") >&5
11426 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11428 egrep -v '^ *\+' conftest.er1
>conftest.err
11430 cat conftest.err
>&5
11431 echo "$as_me:11431: \$? = $ac_status" >&5
11432 (exit $ac_status); } >/dev
/null
; then
11433 if test -s conftest.err
; then
11434 ac_cpp_err
=$ac_c_preproc_warn_flag
11441 if test -z "$ac_cpp_err"; then
11442 ac_cv_header_stdc
=yes
11444 echo "$as_me: failed program was:" >&5
11445 cat conftest.
$ac_ext >&5
11446 ac_cv_header_stdc
=no
11448 rm -f conftest.err conftest.
$ac_ext
11450 if test $ac_cv_header_stdc = yes; then
11451 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11452 cat >conftest.
$ac_ext <<_ACEOF
11453 #line 11453 "configure"
11454 #include "confdefs.h"
11455 #include <string.h>
11458 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11459 egrep "memchr" >/dev
/null
2>&1; then
11462 ac_cv_header_stdc
=no
11468 if test $ac_cv_header_stdc = yes; then
11469 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11470 cat >conftest.
$ac_ext <<_ACEOF
11471 #line 11471 "configure"
11472 #include "confdefs.h"
11473 #include <stdlib.h>
11476 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11477 egrep "free" >/dev
/null
2>&1; then
11480 ac_cv_header_stdc
=no
11486 if test $ac_cv_header_stdc = yes; then
11487 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11488 if test "$cross_compiling" = yes; then
11491 cat >conftest.
$ac_ext <<_ACEOF
11492 #line 11492 "configure"
11493 #include "confdefs.h"
11495 #if ((' ' & 0x0FF) == 0x020)
11496 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11497 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11499 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
11500 || ('j' <= (c) && (c) <= 'r') \
11501 || ('s' <= (c) && (c) <= 'z'))
11502 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11505 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11510 for (i = 0; i < 256; i++)
11511 if (XOR (islower (i), ISLOWER (i))
11512 || toupper (i) != TOUPPER (i))
11517 rm -f conftest
$ac_exeext
11518 if { (eval echo "$as_me:11518: \"$ac_link\"") >&5
11519 (eval $ac_link) 2>&5
11521 echo "$as_me:11521: \$? = $ac_status" >&5
11522 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11523 { (eval echo "$as_me:11523: \"$ac_try\"") >&5
11524 (eval $ac_try) 2>&5
11526 echo "$as_me:11526: \$? = $ac_status" >&5
11527 (exit $ac_status); }; }; then
11530 echo "$as_me: program exited with status $ac_status" >&5
11531 echo "$as_me: failed program was:" >&5
11532 cat conftest.
$ac_ext >&5
11533 ac_cv_header_stdc
=no
11535 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11539 echo "$as_me:11539: result: $ac_cv_header_stdc" >&5
11540 echo "${ECHO_T}$ac_cv_header_stdc" >&6
11541 if test $ac_cv_header_stdc = yes; then
11543 cat >>confdefs.h
<<\EOF
11544 #define STDC_HEADERS 1
11549 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
11551 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
11552 inttypes.h stdint.h unistd.h
11554 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11555 echo "$as_me:11555: checking for $ac_header" >&5
11556 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11557 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11558 echo $ECHO_N "(cached) $ECHO_C" >&6
11560 cat >conftest.
$ac_ext <<_ACEOF
11561 #line 11561 "configure"
11562 #include "confdefs.h"
11563 $ac_includes_default
11564 #include <$ac_header>
11566 rm -f conftest.
$ac_objext
11567 if { (eval echo "$as_me:11567: \"$ac_compile\"") >&5
11568 (eval $ac_compile) 2>&5
11570 echo "$as_me:11570: \$? = $ac_status" >&5
11571 (exit $ac_status); } &&
11572 { ac_try
='test -s conftest.$ac_objext'
11573 { (eval echo "$as_me:11573: \"$ac_try\"") >&5
11574 (eval $ac_try) 2>&5
11576 echo "$as_me:11576: \$? = $ac_status" >&5
11577 (exit $ac_status); }; }; then
11578 eval "$as_ac_Header=yes"
11580 echo "$as_me: failed program was:" >&5
11581 cat conftest.
$ac_ext >&5
11582 eval "$as_ac_Header=no"
11584 rm -f conftest.
$ac_objext conftest.
$ac_ext
11586 echo "$as_me:11586: result: `eval echo '${'$as_ac_Header'}'`" >&5
11587 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11588 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11589 cat >>confdefs.h
<<EOF
11590 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11596 echo "$as_me:11596: checking for char" >&5
11597 echo $ECHO_N "checking for char... $ECHO_C" >&6
11598 if test "${ac_cv_type_char+set}" = set; then
11599 echo $ECHO_N "(cached) $ECHO_C" >&6
11601 cat >conftest.
$ac_ext <<_ACEOF
11602 #line 11602 "configure"
11603 #include "confdefs.h"
11604 $ac_includes_default
11616 rm -f conftest.
$ac_objext
11617 if { (eval echo "$as_me:11617: \"$ac_compile\"") >&5
11618 (eval $ac_compile) 2>&5
11620 echo "$as_me:11620: \$? = $ac_status" >&5
11621 (exit $ac_status); } &&
11622 { ac_try
='test -s conftest.$ac_objext'
11623 { (eval echo "$as_me:11623: \"$ac_try\"") >&5
11624 (eval $ac_try) 2>&5
11626 echo "$as_me:11626: \$? = $ac_status" >&5
11627 (exit $ac_status); }; }; then
11628 ac_cv_type_char
=yes
11630 echo "$as_me: failed program was:" >&5
11631 cat conftest.
$ac_ext >&5
11634 rm -f conftest.
$ac_objext conftest.
$ac_ext
11636 echo "$as_me:11636: result: $ac_cv_type_char" >&5
11637 echo "${ECHO_T}$ac_cv_type_char" >&6
11639 echo "$as_me:11639: checking size of char" >&5
11640 echo $ECHO_N "checking size of char... $ECHO_C" >&6
11641 if test "${ac_cv_sizeof_char+set}" = set; then
11642 echo $ECHO_N "(cached) $ECHO_C" >&6
11644 if test "$ac_cv_type_char" = yes; then
11645 if test "$cross_compiling" = yes; then
11646 # Depending upon the size, compute the lo and hi bounds.
11647 cat >conftest.
$ac_ext <<_ACEOF
11648 #line 11648 "configure"
11649 #include "confdefs.h"
11650 $ac_includes_default
11654 int _array_ [1 - 2 * !((sizeof (char)) >= 0)]
11659 rm -f conftest.
$ac_objext
11660 if { (eval echo "$as_me:11660: \"$ac_compile\"") >&5
11661 (eval $ac_compile) 2>&5
11663 echo "$as_me:11663: \$? = $ac_status" >&5
11664 (exit $ac_status); } &&
11665 { ac_try
='test -s conftest.$ac_objext'
11666 { (eval echo "$as_me:11666: \"$ac_try\"") >&5
11667 (eval $ac_try) 2>&5
11669 echo "$as_me:11669: \$? = $ac_status" >&5
11670 (exit $ac_status); }; }; then
11673 cat >conftest.
$ac_ext <<_ACEOF
11674 #line 11674 "configure"
11675 #include "confdefs.h"
11676 $ac_includes_default
11680 int _array_ [1 - 2 * !((sizeof (char)) <= $ac_mid)]
11685 rm -f conftest.
$ac_objext
11686 if { (eval echo "$as_me:11686: \"$ac_compile\"") >&5
11687 (eval $ac_compile) 2>&5
11689 echo "$as_me:11689: \$? = $ac_status" >&5
11690 (exit $ac_status); } &&
11691 { ac_try
='test -s conftest.$ac_objext'
11692 { (eval echo "$as_me:11692: \"$ac_try\"") >&5
11693 (eval $ac_try) 2>&5
11695 echo "$as_me:11695: \$? = $ac_status" >&5
11696 (exit $ac_status); }; }; then
11697 ac_hi
=$ac_mid; break
11699 echo "$as_me: failed program was:" >&5
11700 cat conftest.
$ac_ext >&5
11701 ac_lo
=`expr $ac_mid + 1`; ac_mid
=`expr 2 '*' $ac_mid + 1`
11703 rm -f conftest.
$ac_objext conftest.
$ac_ext
11706 echo "$as_me: failed program was:" >&5
11707 cat conftest.
$ac_ext >&5
11710 cat >conftest.
$ac_ext <<_ACEOF
11711 #line 11711 "configure"
11712 #include "confdefs.h"
11713 $ac_includes_default
11717 int _array_ [1 - 2 * !((sizeof (char)) >= $ac_mid)]
11722 rm -f conftest.
$ac_objext
11723 if { (eval echo "$as_me:11723: \"$ac_compile\"") >&5
11724 (eval $ac_compile) 2>&5
11726 echo "$as_me:11726: \$? = $ac_status" >&5
11727 (exit $ac_status); } &&
11728 { ac_try
='test -s conftest.$ac_objext'
11729 { (eval echo "$as_me:11729: \"$ac_try\"") >&5
11730 (eval $ac_try) 2>&5
11732 echo "$as_me:11732: \$? = $ac_status" >&5
11733 (exit $ac_status); }; }; then
11734 ac_lo
=$ac_mid; break
11736 echo "$as_me: failed program was:" >&5
11737 cat conftest.
$ac_ext >&5
11738 ac_hi
=`expr $ac_mid - 1`; ac_mid
=`expr 2 '*' $ac_mid`
11740 rm -f conftest.
$ac_objext conftest.
$ac_ext
11743 rm -f conftest.
$ac_objext conftest.
$ac_ext
11744 # Binary search between lo and hi bounds.
11745 while test "x$ac_lo" != "x$ac_hi"; do
11746 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
11747 cat >conftest.
$ac_ext <<_ACEOF
11748 #line 11748 "configure"
11749 #include "confdefs.h"
11750 $ac_includes_default
11754 int _array_ [1 - 2 * !((sizeof (char)) <= $ac_mid)]
11759 rm -f conftest.
$ac_objext
11760 if { (eval echo "$as_me:11760: \"$ac_compile\"") >&5
11761 (eval $ac_compile) 2>&5
11763 echo "$as_me:11763: \$? = $ac_status" >&5
11764 (exit $ac_status); } &&
11765 { ac_try
='test -s conftest.$ac_objext'
11766 { (eval echo "$as_me:11766: \"$ac_try\"") >&5
11767 (eval $ac_try) 2>&5
11769 echo "$as_me:11769: \$? = $ac_status" >&5
11770 (exit $ac_status); }; }; then
11773 echo "$as_me: failed program was:" >&5
11774 cat conftest.
$ac_ext >&5
11775 ac_lo
=`expr $ac_mid + 1`
11777 rm -f conftest.
$ac_objext conftest.
$ac_ext
11779 ac_cv_sizeof_char
=$ac_lo
11781 if test "$cross_compiling" = yes; then
11782 { { echo "$as_me:11782: error: cannot run test program while cross compiling" >&5
11783 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
11784 { (exit 1); exit 1; }; }
11786 cat >conftest.
$ac_ext <<_ACEOF
11787 #line 11787 "configure"
11788 #include "confdefs.h"
11789 $ac_includes_default
11793 FILE *f = fopen ("conftest.val", "w");
11796 fprintf (f, "%d", (sizeof (char)));
11802 rm -f conftest
$ac_exeext
11803 if { (eval echo "$as_me:11803: \"$ac_link\"") >&5
11804 (eval $ac_link) 2>&5
11806 echo "$as_me:11806: \$? = $ac_status" >&5
11807 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11808 { (eval echo "$as_me:11808: \"$ac_try\"") >&5
11809 (eval $ac_try) 2>&5
11811 echo "$as_me:11811: \$? = $ac_status" >&5
11812 (exit $ac_status); }; }; then
11813 ac_cv_sizeof_char
=`cat conftest.val`
11815 echo "$as_me: program exited with status $ac_status" >&5
11816 echo "$as_me: failed program was:" >&5
11817 cat conftest.
$ac_ext >&5
11819 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11824 ac_cv_sizeof_char
=0
11827 echo "$as_me:11827: result: $ac_cv_sizeof_char" >&5
11828 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
11829 cat >>confdefs.h
<<EOF
11830 #define SIZEOF_CHAR $ac_cv_sizeof_char
11833 echo "$as_me:11833: checking for short" >&5
11834 echo $ECHO_N "checking for short... $ECHO_C" >&6
11835 if test "${ac_cv_type_short+set}" = set; then
11836 echo $ECHO_N "(cached) $ECHO_C" >&6
11838 cat >conftest.
$ac_ext <<_ACEOF
11839 #line 11839 "configure"
11840 #include "confdefs.h"
11841 $ac_includes_default
11847 if (sizeof (short))
11853 rm -f conftest.
$ac_objext
11854 if { (eval echo "$as_me:11854: \"$ac_compile\"") >&5
11855 (eval $ac_compile) 2>&5
11857 echo "$as_me:11857: \$? = $ac_status" >&5
11858 (exit $ac_status); } &&
11859 { ac_try
='test -s conftest.$ac_objext'
11860 { (eval echo "$as_me:11860: \"$ac_try\"") >&5
11861 (eval $ac_try) 2>&5
11863 echo "$as_me:11863: \$? = $ac_status" >&5
11864 (exit $ac_status); }; }; then
11865 ac_cv_type_short
=yes
11867 echo "$as_me: failed program was:" >&5
11868 cat conftest.
$ac_ext >&5
11869 ac_cv_type_short
=no
11871 rm -f conftest.
$ac_objext conftest.
$ac_ext
11873 echo "$as_me:11873: result: $ac_cv_type_short" >&5
11874 echo "${ECHO_T}$ac_cv_type_short" >&6
11876 echo "$as_me:11876: checking size of short" >&5
11877 echo $ECHO_N "checking size of short... $ECHO_C" >&6
11878 if test "${ac_cv_sizeof_short+set}" = set; then
11879 echo $ECHO_N "(cached) $ECHO_C" >&6
11881 if test "$ac_cv_type_short" = yes; then
11882 if test "$cross_compiling" = yes; then
11883 # Depending upon the size, compute the lo and hi bounds.
11884 cat >conftest.
$ac_ext <<_ACEOF
11885 #line 11885 "configure"
11886 #include "confdefs.h"
11887 $ac_includes_default
11891 int _array_ [1 - 2 * !((sizeof (short)) >= 0)]
11896 rm -f conftest.
$ac_objext
11897 if { (eval echo "$as_me:11897: \"$ac_compile\"") >&5
11898 (eval $ac_compile) 2>&5
11900 echo "$as_me:11900: \$? = $ac_status" >&5
11901 (exit $ac_status); } &&
11902 { ac_try
='test -s conftest.$ac_objext'
11903 { (eval echo "$as_me:11903: \"$ac_try\"") >&5
11904 (eval $ac_try) 2>&5
11906 echo "$as_me:11906: \$? = $ac_status" >&5
11907 (exit $ac_status); }; }; then
11910 cat >conftest.
$ac_ext <<_ACEOF
11911 #line 11911 "configure"
11912 #include "confdefs.h"
11913 $ac_includes_default
11917 int _array_ [1 - 2 * !((sizeof (short)) <= $ac_mid)]
11922 rm -f conftest.
$ac_objext
11923 if { (eval echo "$as_me:11923: \"$ac_compile\"") >&5
11924 (eval $ac_compile) 2>&5
11926 echo "$as_me:11926: \$? = $ac_status" >&5
11927 (exit $ac_status); } &&
11928 { ac_try
='test -s conftest.$ac_objext'
11929 { (eval echo "$as_me:11929: \"$ac_try\"") >&5
11930 (eval $ac_try) 2>&5
11932 echo "$as_me:11932: \$? = $ac_status" >&5
11933 (exit $ac_status); }; }; then
11934 ac_hi
=$ac_mid; break
11936 echo "$as_me: failed program was:" >&5
11937 cat conftest.
$ac_ext >&5
11938 ac_lo
=`expr $ac_mid + 1`; ac_mid
=`expr 2 '*' $ac_mid + 1`
11940 rm -f conftest.
$ac_objext conftest.
$ac_ext
11943 echo "$as_me: failed program was:" >&5
11944 cat conftest.
$ac_ext >&5
11947 cat >conftest.
$ac_ext <<_ACEOF
11948 #line 11948 "configure"
11949 #include "confdefs.h"
11950 $ac_includes_default
11954 int _array_ [1 - 2 * !((sizeof (short)) >= $ac_mid)]
11959 rm -f conftest.
$ac_objext
11960 if { (eval echo "$as_me:11960: \"$ac_compile\"") >&5
11961 (eval $ac_compile) 2>&5
11963 echo "$as_me:11963: \$? = $ac_status" >&5
11964 (exit $ac_status); } &&
11965 { ac_try
='test -s conftest.$ac_objext'
11966 { (eval echo "$as_me:11966: \"$ac_try\"") >&5
11967 (eval $ac_try) 2>&5
11969 echo "$as_me:11969: \$? = $ac_status" >&5
11970 (exit $ac_status); }; }; then
11971 ac_lo
=$ac_mid; break
11973 echo "$as_me: failed program was:" >&5
11974 cat conftest.
$ac_ext >&5
11975 ac_hi
=`expr $ac_mid - 1`; ac_mid
=`expr 2 '*' $ac_mid`
11977 rm -f conftest.
$ac_objext conftest.
$ac_ext
11980 rm -f conftest.
$ac_objext conftest.
$ac_ext
11981 # Binary search between lo and hi bounds.
11982 while test "x$ac_lo" != "x$ac_hi"; do
11983 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
11984 cat >conftest.
$ac_ext <<_ACEOF
11985 #line 11985 "configure"
11986 #include "confdefs.h"
11987 $ac_includes_default
11991 int _array_ [1 - 2 * !((sizeof (short)) <= $ac_mid)]
11996 rm -f conftest.
$ac_objext
11997 if { (eval echo "$as_me:11997: \"$ac_compile\"") >&5
11998 (eval $ac_compile) 2>&5
12000 echo "$as_me:12000: \$? = $ac_status" >&5
12001 (exit $ac_status); } &&
12002 { ac_try
='test -s conftest.$ac_objext'
12003 { (eval echo "$as_me:12003: \"$ac_try\"") >&5
12004 (eval $ac_try) 2>&5
12006 echo "$as_me:12006: \$? = $ac_status" >&5
12007 (exit $ac_status); }; }; then
12010 echo "$as_me: failed program was:" >&5
12011 cat conftest.
$ac_ext >&5
12012 ac_lo
=`expr $ac_mid + 1`
12014 rm -f conftest.
$ac_objext conftest.
$ac_ext
12016 ac_cv_sizeof_short
=$ac_lo
12018 if test "$cross_compiling" = yes; then
12019 { { echo "$as_me:12019: error: cannot run test program while cross compiling" >&5
12020 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
12021 { (exit 1); exit 1; }; }
12023 cat >conftest.
$ac_ext <<_ACEOF
12024 #line 12024 "configure"
12025 #include "confdefs.h"
12026 $ac_includes_default
12030 FILE *f = fopen ("conftest.val", "w");
12033 fprintf (f, "%d", (sizeof (short)));
12039 rm -f conftest
$ac_exeext
12040 if { (eval echo "$as_me:12040: \"$ac_link\"") >&5
12041 (eval $ac_link) 2>&5
12043 echo "$as_me:12043: \$? = $ac_status" >&5
12044 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12045 { (eval echo "$as_me:12045: \"$ac_try\"") >&5
12046 (eval $ac_try) 2>&5
12048 echo "$as_me:12048: \$? = $ac_status" >&5
12049 (exit $ac_status); }; }; then
12050 ac_cv_sizeof_short
=`cat conftest.val`
12052 echo "$as_me: program exited with status $ac_status" >&5
12053 echo "$as_me: failed program was:" >&5
12054 cat conftest.
$ac_ext >&5
12056 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12061 ac_cv_sizeof_short
=0
12064 echo "$as_me:12064: result: $ac_cv_sizeof_short" >&5
12065 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
12066 cat >>confdefs.h
<<EOF
12067 #define SIZEOF_SHORT $ac_cv_sizeof_short
12070 echo "$as_me:12070: checking for void *" >&5
12071 echo $ECHO_N "checking for void *... $ECHO_C" >&6
12072 if test "${ac_cv_type_void_p+set}" = set; then
12073 echo $ECHO_N "(cached) $ECHO_C" >&6
12075 cat >conftest.
$ac_ext <<_ACEOF
12076 #line 12076 "configure"
12077 #include "confdefs.h"
12078 $ac_includes_default
12084 if (sizeof (void *))
12090 rm -f conftest.
$ac_objext
12091 if { (eval echo "$as_me:12091: \"$ac_compile\"") >&5
12092 (eval $ac_compile) 2>&5
12094 echo "$as_me:12094: \$? = $ac_status" >&5
12095 (exit $ac_status); } &&
12096 { ac_try
='test -s conftest.$ac_objext'
12097 { (eval echo "$as_me:12097: \"$ac_try\"") >&5
12098 (eval $ac_try) 2>&5
12100 echo "$as_me:12100: \$? = $ac_status" >&5
12101 (exit $ac_status); }; }; then
12102 ac_cv_type_void_p
=yes
12104 echo "$as_me: failed program was:" >&5
12105 cat conftest.
$ac_ext >&5
12106 ac_cv_type_void_p
=no
12108 rm -f conftest.
$ac_objext conftest.
$ac_ext
12110 echo "$as_me:12110: result: $ac_cv_type_void_p" >&5
12111 echo "${ECHO_T}$ac_cv_type_void_p" >&6
12113 echo "$as_me:12113: checking size of void *" >&5
12114 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
12115 if test "${ac_cv_sizeof_void_p+set}" = set; then
12116 echo $ECHO_N "(cached) $ECHO_C" >&6
12118 if test "$ac_cv_type_void_p" = yes; then
12119 if test "$cross_compiling" = yes; then
12120 # Depending upon the size, compute the lo and hi bounds.
12121 cat >conftest.
$ac_ext <<_ACEOF
12122 #line 12122 "configure"
12123 #include "confdefs.h"
12124 $ac_includes_default
12128 int _array_ [1 - 2 * !((sizeof (void *)) >= 0)]
12133 rm -f conftest.
$ac_objext
12134 if { (eval echo "$as_me:12134: \"$ac_compile\"") >&5
12135 (eval $ac_compile) 2>&5
12137 echo "$as_me:12137: \$? = $ac_status" >&5
12138 (exit $ac_status); } &&
12139 { ac_try
='test -s conftest.$ac_objext'
12140 { (eval echo "$as_me:12140: \"$ac_try\"") >&5
12141 (eval $ac_try) 2>&5
12143 echo "$as_me:12143: \$? = $ac_status" >&5
12144 (exit $ac_status); }; }; then
12147 cat >conftest.
$ac_ext <<_ACEOF
12148 #line 12148 "configure"
12149 #include "confdefs.h"
12150 $ac_includes_default
12154 int _array_ [1 - 2 * !((sizeof (void *)) <= $ac_mid)]
12159 rm -f conftest.
$ac_objext
12160 if { (eval echo "$as_me:12160: \"$ac_compile\"") >&5
12161 (eval $ac_compile) 2>&5
12163 echo "$as_me:12163: \$? = $ac_status" >&5
12164 (exit $ac_status); } &&
12165 { ac_try
='test -s conftest.$ac_objext'
12166 { (eval echo "$as_me:12166: \"$ac_try\"") >&5
12167 (eval $ac_try) 2>&5
12169 echo "$as_me:12169: \$? = $ac_status" >&5
12170 (exit $ac_status); }; }; then
12171 ac_hi
=$ac_mid; break
12173 echo "$as_me: failed program was:" >&5
12174 cat conftest.
$ac_ext >&5
12175 ac_lo
=`expr $ac_mid + 1`; ac_mid
=`expr 2 '*' $ac_mid + 1`
12177 rm -f conftest.
$ac_objext conftest.
$ac_ext
12180 echo "$as_me: failed program was:" >&5
12181 cat conftest.
$ac_ext >&5
12184 cat >conftest.
$ac_ext <<_ACEOF
12185 #line 12185 "configure"
12186 #include "confdefs.h"
12187 $ac_includes_default
12191 int _array_ [1 - 2 * !((sizeof (void *)) >= $ac_mid)]
12196 rm -f conftest.
$ac_objext
12197 if { (eval echo "$as_me:12197: \"$ac_compile\"") >&5
12198 (eval $ac_compile) 2>&5
12200 echo "$as_me:12200: \$? = $ac_status" >&5
12201 (exit $ac_status); } &&
12202 { ac_try
='test -s conftest.$ac_objext'
12203 { (eval echo "$as_me:12203: \"$ac_try\"") >&5
12204 (eval $ac_try) 2>&5
12206 echo "$as_me:12206: \$? = $ac_status" >&5
12207 (exit $ac_status); }; }; then
12208 ac_lo
=$ac_mid; break
12210 echo "$as_me: failed program was:" >&5
12211 cat conftest.
$ac_ext >&5
12212 ac_hi
=`expr $ac_mid - 1`; ac_mid
=`expr 2 '*' $ac_mid`
12214 rm -f conftest.
$ac_objext conftest.
$ac_ext
12217 rm -f conftest.
$ac_objext conftest.
$ac_ext
12218 # Binary search between lo and hi bounds.
12219 while test "x$ac_lo" != "x$ac_hi"; do
12220 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
12221 cat >conftest.
$ac_ext <<_ACEOF
12222 #line 12222 "configure"
12223 #include "confdefs.h"
12224 $ac_includes_default
12228 int _array_ [1 - 2 * !((sizeof (void *)) <= $ac_mid)]
12233 rm -f conftest.
$ac_objext
12234 if { (eval echo "$as_me:12234: \"$ac_compile\"") >&5
12235 (eval $ac_compile) 2>&5
12237 echo "$as_me:12237: \$? = $ac_status" >&5
12238 (exit $ac_status); } &&
12239 { ac_try
='test -s conftest.$ac_objext'
12240 { (eval echo "$as_me:12240: \"$ac_try\"") >&5
12241 (eval $ac_try) 2>&5
12243 echo "$as_me:12243: \$? = $ac_status" >&5
12244 (exit $ac_status); }; }; then
12247 echo "$as_me: failed program was:" >&5
12248 cat conftest.
$ac_ext >&5
12249 ac_lo
=`expr $ac_mid + 1`
12251 rm -f conftest.
$ac_objext conftest.
$ac_ext
12253 ac_cv_sizeof_void_p
=$ac_lo
12255 if test "$cross_compiling" = yes; then
12256 { { echo "$as_me:12256: error: cannot run test program while cross compiling" >&5
12257 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
12258 { (exit 1); exit 1; }; }
12260 cat >conftest.
$ac_ext <<_ACEOF
12261 #line 12261 "configure"
12262 #include "confdefs.h"
12263 $ac_includes_default
12267 FILE *f = fopen ("conftest.val", "w");
12270 fprintf (f, "%d", (sizeof (void *)));
12276 rm -f conftest
$ac_exeext
12277 if { (eval echo "$as_me:12277: \"$ac_link\"") >&5
12278 (eval $ac_link) 2>&5
12280 echo "$as_me:12280: \$? = $ac_status" >&5
12281 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12282 { (eval echo "$as_me:12282: \"$ac_try\"") >&5
12283 (eval $ac_try) 2>&5
12285 echo "$as_me:12285: \$? = $ac_status" >&5
12286 (exit $ac_status); }; }; then
12287 ac_cv_sizeof_void_p
=`cat conftest.val`
12289 echo "$as_me: program exited with status $ac_status" >&5
12290 echo "$as_me: failed program was:" >&5
12291 cat conftest.
$ac_ext >&5
12293 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12298 ac_cv_sizeof_void_p
=0
12301 echo "$as_me:12301: result: $ac_cv_sizeof_void_p" >&5
12302 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
12303 cat >>confdefs.h
<<EOF
12304 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
12307 echo "$as_me:12307: checking for int" >&5
12308 echo $ECHO_N "checking for int... $ECHO_C" >&6
12309 if test "${ac_cv_type_int+set}" = set; then
12310 echo $ECHO_N "(cached) $ECHO_C" >&6
12312 cat >conftest.
$ac_ext <<_ACEOF
12313 #line 12313 "configure"
12314 #include "confdefs.h"
12315 $ac_includes_default
12327 rm -f conftest.
$ac_objext
12328 if { (eval echo "$as_me:12328: \"$ac_compile\"") >&5
12329 (eval $ac_compile) 2>&5
12331 echo "$as_me:12331: \$? = $ac_status" >&5
12332 (exit $ac_status); } &&
12333 { ac_try
='test -s conftest.$ac_objext'
12334 { (eval echo "$as_me:12334: \"$ac_try\"") >&5
12335 (eval $ac_try) 2>&5
12337 echo "$as_me:12337: \$? = $ac_status" >&5
12338 (exit $ac_status); }; }; then
12341 echo "$as_me: failed program was:" >&5
12342 cat conftest.
$ac_ext >&5
12345 rm -f conftest.
$ac_objext conftest.
$ac_ext
12347 echo "$as_me:12347: result: $ac_cv_type_int" >&5
12348 echo "${ECHO_T}$ac_cv_type_int" >&6
12350 echo "$as_me:12350: checking size of int" >&5
12351 echo $ECHO_N "checking size of int... $ECHO_C" >&6
12352 if test "${ac_cv_sizeof_int+set}" = set; then
12353 echo $ECHO_N "(cached) $ECHO_C" >&6
12355 if test "$ac_cv_type_int" = yes; then
12356 if test "$cross_compiling" = yes; then
12357 # Depending upon the size, compute the lo and hi bounds.
12358 cat >conftest.
$ac_ext <<_ACEOF
12359 #line 12359 "configure"
12360 #include "confdefs.h"
12361 $ac_includes_default
12365 int _array_ [1 - 2 * !((sizeof (int)) >= 0)]
12370 rm -f conftest.
$ac_objext
12371 if { (eval echo "$as_me:12371: \"$ac_compile\"") >&5
12372 (eval $ac_compile) 2>&5
12374 echo "$as_me:12374: \$? = $ac_status" >&5
12375 (exit $ac_status); } &&
12376 { ac_try
='test -s conftest.$ac_objext'
12377 { (eval echo "$as_me:12377: \"$ac_try\"") >&5
12378 (eval $ac_try) 2>&5
12380 echo "$as_me:12380: \$? = $ac_status" >&5
12381 (exit $ac_status); }; }; then
12384 cat >conftest.
$ac_ext <<_ACEOF
12385 #line 12385 "configure"
12386 #include "confdefs.h"
12387 $ac_includes_default
12391 int _array_ [1 - 2 * !((sizeof (int)) <= $ac_mid)]
12396 rm -f conftest.
$ac_objext
12397 if { (eval echo "$as_me:12397: \"$ac_compile\"") >&5
12398 (eval $ac_compile) 2>&5
12400 echo "$as_me:12400: \$? = $ac_status" >&5
12401 (exit $ac_status); } &&
12402 { ac_try
='test -s conftest.$ac_objext'
12403 { (eval echo "$as_me:12403: \"$ac_try\"") >&5
12404 (eval $ac_try) 2>&5
12406 echo "$as_me:12406: \$? = $ac_status" >&5
12407 (exit $ac_status); }; }; then
12408 ac_hi
=$ac_mid; break
12410 echo "$as_me: failed program was:" >&5
12411 cat conftest.
$ac_ext >&5
12412 ac_lo
=`expr $ac_mid + 1`; ac_mid
=`expr 2 '*' $ac_mid + 1`
12414 rm -f conftest.
$ac_objext conftest.
$ac_ext
12417 echo "$as_me: failed program was:" >&5
12418 cat conftest.
$ac_ext >&5
12421 cat >conftest.
$ac_ext <<_ACEOF
12422 #line 12422 "configure"
12423 #include "confdefs.h"
12424 $ac_includes_default
12428 int _array_ [1 - 2 * !((sizeof (int)) >= $ac_mid)]
12433 rm -f conftest.
$ac_objext
12434 if { (eval echo "$as_me:12434: \"$ac_compile\"") >&5
12435 (eval $ac_compile) 2>&5
12437 echo "$as_me:12437: \$? = $ac_status" >&5
12438 (exit $ac_status); } &&
12439 { ac_try
='test -s conftest.$ac_objext'
12440 { (eval echo "$as_me:12440: \"$ac_try\"") >&5
12441 (eval $ac_try) 2>&5
12443 echo "$as_me:12443: \$? = $ac_status" >&5
12444 (exit $ac_status); }; }; then
12445 ac_lo
=$ac_mid; break
12447 echo "$as_me: failed program was:" >&5
12448 cat conftest.
$ac_ext >&5
12449 ac_hi
=`expr $ac_mid - 1`; ac_mid
=`expr 2 '*' $ac_mid`
12451 rm -f conftest.
$ac_objext conftest.
$ac_ext
12454 rm -f conftest.
$ac_objext conftest.
$ac_ext
12455 # Binary search between lo and hi bounds.
12456 while test "x$ac_lo" != "x$ac_hi"; do
12457 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
12458 cat >conftest.
$ac_ext <<_ACEOF
12459 #line 12459 "configure"
12460 #include "confdefs.h"
12461 $ac_includes_default
12465 int _array_ [1 - 2 * !((sizeof (int)) <= $ac_mid)]
12470 rm -f conftest.
$ac_objext
12471 if { (eval echo "$as_me:12471: \"$ac_compile\"") >&5
12472 (eval $ac_compile) 2>&5
12474 echo "$as_me:12474: \$? = $ac_status" >&5
12475 (exit $ac_status); } &&
12476 { ac_try
='test -s conftest.$ac_objext'
12477 { (eval echo "$as_me:12477: \"$ac_try\"") >&5
12478 (eval $ac_try) 2>&5
12480 echo "$as_me:12480: \$? = $ac_status" >&5
12481 (exit $ac_status); }; }; then
12484 echo "$as_me: failed program was:" >&5
12485 cat conftest.
$ac_ext >&5
12486 ac_lo
=`expr $ac_mid + 1`
12488 rm -f conftest.
$ac_objext conftest.
$ac_ext
12490 ac_cv_sizeof_int
=$ac_lo
12492 if test "$cross_compiling" = yes; then
12493 { { echo "$as_me:12493: error: cannot run test program while cross compiling" >&5
12494 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
12495 { (exit 1); exit 1; }; }
12497 cat >conftest.
$ac_ext <<_ACEOF
12498 #line 12498 "configure"
12499 #include "confdefs.h"
12500 $ac_includes_default
12504 FILE *f = fopen ("conftest.val", "w");
12507 fprintf (f, "%d", (sizeof (int)));
12513 rm -f conftest
$ac_exeext
12514 if { (eval echo "$as_me:12514: \"$ac_link\"") >&5
12515 (eval $ac_link) 2>&5
12517 echo "$as_me:12517: \$? = $ac_status" >&5
12518 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12519 { (eval echo "$as_me:12519: \"$ac_try\"") >&5
12520 (eval $ac_try) 2>&5
12522 echo "$as_me:12522: \$? = $ac_status" >&5
12523 (exit $ac_status); }; }; then
12524 ac_cv_sizeof_int
=`cat conftest.val`
12526 echo "$as_me: program exited with status $ac_status" >&5
12527 echo "$as_me: failed program was:" >&5
12528 cat conftest.
$ac_ext >&5
12530 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12538 echo "$as_me:12538: result: $ac_cv_sizeof_int" >&5
12539 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
12540 cat >>confdefs.h
<<EOF
12541 #define SIZEOF_INT $ac_cv_sizeof_int
12544 echo "$as_me:12544: checking for long" >&5
12545 echo $ECHO_N "checking for long... $ECHO_C" >&6
12546 if test "${ac_cv_type_long+set}" = set; then
12547 echo $ECHO_N "(cached) $ECHO_C" >&6
12549 cat >conftest.
$ac_ext <<_ACEOF
12550 #line 12550 "configure"
12551 #include "confdefs.h"
12552 $ac_includes_default
12564 rm -f conftest.
$ac_objext
12565 if { (eval echo "$as_me:12565: \"$ac_compile\"") >&5
12566 (eval $ac_compile) 2>&5
12568 echo "$as_me:12568: \$? = $ac_status" >&5
12569 (exit $ac_status); } &&
12570 { ac_try
='test -s conftest.$ac_objext'
12571 { (eval echo "$as_me:12571: \"$ac_try\"") >&5
12572 (eval $ac_try) 2>&5
12574 echo "$as_me:12574: \$? = $ac_status" >&5
12575 (exit $ac_status); }; }; then
12576 ac_cv_type_long
=yes
12578 echo "$as_me: failed program was:" >&5
12579 cat conftest.
$ac_ext >&5
12582 rm -f conftest.
$ac_objext conftest.
$ac_ext
12584 echo "$as_me:12584: result: $ac_cv_type_long" >&5
12585 echo "${ECHO_T}$ac_cv_type_long" >&6
12587 echo "$as_me:12587: checking size of long" >&5
12588 echo $ECHO_N "checking size of long... $ECHO_C" >&6
12589 if test "${ac_cv_sizeof_long+set}" = set; then
12590 echo $ECHO_N "(cached) $ECHO_C" >&6
12592 if test "$ac_cv_type_long" = yes; then
12593 if test "$cross_compiling" = yes; then
12594 # Depending upon the size, compute the lo and hi bounds.
12595 cat >conftest.
$ac_ext <<_ACEOF
12596 #line 12596 "configure"
12597 #include "confdefs.h"
12598 $ac_includes_default
12602 int _array_ [1 - 2 * !((sizeof (long)) >= 0)]
12607 rm -f conftest.
$ac_objext
12608 if { (eval echo "$as_me:12608: \"$ac_compile\"") >&5
12609 (eval $ac_compile) 2>&5
12611 echo "$as_me:12611: \$? = $ac_status" >&5
12612 (exit $ac_status); } &&
12613 { ac_try
='test -s conftest.$ac_objext'
12614 { (eval echo "$as_me:12614: \"$ac_try\"") >&5
12615 (eval $ac_try) 2>&5
12617 echo "$as_me:12617: \$? = $ac_status" >&5
12618 (exit $ac_status); }; }; then
12621 cat >conftest.
$ac_ext <<_ACEOF
12622 #line 12622 "configure"
12623 #include "confdefs.h"
12624 $ac_includes_default
12628 int _array_ [1 - 2 * !((sizeof (long)) <= $ac_mid)]
12633 rm -f conftest.
$ac_objext
12634 if { (eval echo "$as_me:12634: \"$ac_compile\"") >&5
12635 (eval $ac_compile) 2>&5
12637 echo "$as_me:12637: \$? = $ac_status" >&5
12638 (exit $ac_status); } &&
12639 { ac_try
='test -s conftest.$ac_objext'
12640 { (eval echo "$as_me:12640: \"$ac_try\"") >&5
12641 (eval $ac_try) 2>&5
12643 echo "$as_me:12643: \$? = $ac_status" >&5
12644 (exit $ac_status); }; }; then
12645 ac_hi
=$ac_mid; break
12647 echo "$as_me: failed program was:" >&5
12648 cat conftest.
$ac_ext >&5
12649 ac_lo
=`expr $ac_mid + 1`; ac_mid
=`expr 2 '*' $ac_mid + 1`
12651 rm -f conftest.
$ac_objext conftest.
$ac_ext
12654 echo "$as_me: failed program was:" >&5
12655 cat conftest.
$ac_ext >&5
12658 cat >conftest.
$ac_ext <<_ACEOF
12659 #line 12659 "configure"
12660 #include "confdefs.h"
12661 $ac_includes_default
12665 int _array_ [1 - 2 * !((sizeof (long)) >= $ac_mid)]
12670 rm -f conftest.
$ac_objext
12671 if { (eval echo "$as_me:12671: \"$ac_compile\"") >&5
12672 (eval $ac_compile) 2>&5
12674 echo "$as_me:12674: \$? = $ac_status" >&5
12675 (exit $ac_status); } &&
12676 { ac_try
='test -s conftest.$ac_objext'
12677 { (eval echo "$as_me:12677: \"$ac_try\"") >&5
12678 (eval $ac_try) 2>&5
12680 echo "$as_me:12680: \$? = $ac_status" >&5
12681 (exit $ac_status); }; }; then
12682 ac_lo
=$ac_mid; break
12684 echo "$as_me: failed program was:" >&5
12685 cat conftest.
$ac_ext >&5
12686 ac_hi
=`expr $ac_mid - 1`; ac_mid
=`expr 2 '*' $ac_mid`
12688 rm -f conftest.
$ac_objext conftest.
$ac_ext
12691 rm -f conftest.
$ac_objext conftest.
$ac_ext
12692 # Binary search between lo and hi bounds.
12693 while test "x$ac_lo" != "x$ac_hi"; do
12694 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
12695 cat >conftest.
$ac_ext <<_ACEOF
12696 #line 12696 "configure"
12697 #include "confdefs.h"
12698 $ac_includes_default
12702 int _array_ [1 - 2 * !((sizeof (long)) <= $ac_mid)]
12707 rm -f conftest.
$ac_objext
12708 if { (eval echo "$as_me:12708: \"$ac_compile\"") >&5
12709 (eval $ac_compile) 2>&5
12711 echo "$as_me:12711: \$? = $ac_status" >&5
12712 (exit $ac_status); } &&
12713 { ac_try
='test -s conftest.$ac_objext'
12714 { (eval echo "$as_me:12714: \"$ac_try\"") >&5
12715 (eval $ac_try) 2>&5
12717 echo "$as_me:12717: \$? = $ac_status" >&5
12718 (exit $ac_status); }; }; then
12721 echo "$as_me: failed program was:" >&5
12722 cat conftest.
$ac_ext >&5
12723 ac_lo
=`expr $ac_mid + 1`
12725 rm -f conftest.
$ac_objext conftest.
$ac_ext
12727 ac_cv_sizeof_long
=$ac_lo
12729 if test "$cross_compiling" = yes; then
12730 { { echo "$as_me:12730: error: cannot run test program while cross compiling" >&5
12731 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
12732 { (exit 1); exit 1; }; }
12734 cat >conftest.
$ac_ext <<_ACEOF
12735 #line 12735 "configure"
12736 #include "confdefs.h"
12737 $ac_includes_default
12741 FILE *f = fopen ("conftest.val", "w");
12744 fprintf (f, "%d", (sizeof (long)));
12750 rm -f conftest
$ac_exeext
12751 if { (eval echo "$as_me:12751: \"$ac_link\"") >&5
12752 (eval $ac_link) 2>&5
12754 echo "$as_me:12754: \$? = $ac_status" >&5
12755 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12756 { (eval echo "$as_me:12756: \"$ac_try\"") >&5
12757 (eval $ac_try) 2>&5
12759 echo "$as_me:12759: \$? = $ac_status" >&5
12760 (exit $ac_status); }; }; then
12761 ac_cv_sizeof_long
=`cat conftest.val`
12763 echo "$as_me: program exited with status $ac_status" >&5
12764 echo "$as_me: failed program was:" >&5
12765 cat conftest.
$ac_ext >&5
12767 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12772 ac_cv_sizeof_long
=0
12775 echo "$as_me:12775: result: $ac_cv_sizeof_long" >&5
12776 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
12777 cat >>confdefs.h
<<EOF
12778 #define SIZEOF_LONG $ac_cv_sizeof_long
12783 echo "$as_me:12783: checking for long long" >&5
12784 echo $ECHO_N "checking for long long... $ECHO_C" >&6
12785 if test "${ac_cv_type_long_long+set}" = set; then
12786 echo $ECHO_N "(cached) $ECHO_C" >&6
12788 cat >conftest.
$ac_ext <<_ACEOF
12789 #line 12789 "configure"
12790 #include "confdefs.h"
12791 $ac_includes_default
12795 if ((long long *) 0)
12797 if (sizeof (long long))
12803 rm -f conftest.
$ac_objext
12804 if { (eval echo "$as_me:12804: \"$ac_compile\"") >&5
12805 (eval $ac_compile) 2>&5
12807 echo "$as_me:12807: \$? = $ac_status" >&5
12808 (exit $ac_status); } &&
12809 { ac_try
='test -s conftest.$ac_objext'
12810 { (eval echo "$as_me:12810: \"$ac_try\"") >&5
12811 (eval $ac_try) 2>&5
12813 echo "$as_me:12813: \$? = $ac_status" >&5
12814 (exit $ac_status); }; }; then
12815 ac_cv_type_long_long
=yes
12817 echo "$as_me: failed program was:" >&5
12818 cat conftest.
$ac_ext >&5
12819 ac_cv_type_long_long
=no
12821 rm -f conftest.
$ac_objext conftest.
$ac_ext
12823 echo "$as_me:12823: result: $ac_cv_type_long_long" >&5
12824 echo "${ECHO_T}$ac_cv_type_long_long" >&6
12826 echo "$as_me:12826: checking size of long long" >&5
12827 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
12828 if test "${ac_cv_sizeof_long_long+set}" = set; then
12829 echo $ECHO_N "(cached) $ECHO_C" >&6
12831 if test "$ac_cv_type_long_long" = yes; then
12832 if test "$cross_compiling" = yes; then
12833 # Depending upon the size, compute the lo and hi bounds.
12834 cat >conftest.
$ac_ext <<_ACEOF
12835 #line 12835 "configure"
12836 #include "confdefs.h"
12837 $ac_includes_default
12841 int _array_ [1 - 2 * !((sizeof (long long)) >= 0)]
12846 rm -f conftest.
$ac_objext
12847 if { (eval echo "$as_me:12847: \"$ac_compile\"") >&5
12848 (eval $ac_compile) 2>&5
12850 echo "$as_me:12850: \$? = $ac_status" >&5
12851 (exit $ac_status); } &&
12852 { ac_try
='test -s conftest.$ac_objext'
12853 { (eval echo "$as_me:12853: \"$ac_try\"") >&5
12854 (eval $ac_try) 2>&5
12856 echo "$as_me:12856: \$? = $ac_status" >&5
12857 (exit $ac_status); }; }; then
12860 cat >conftest.
$ac_ext <<_ACEOF
12861 #line 12861 "configure"
12862 #include "confdefs.h"
12863 $ac_includes_default
12867 int _array_ [1 - 2 * !((sizeof (long long)) <= $ac_mid)]
12872 rm -f conftest.
$ac_objext
12873 if { (eval echo "$as_me:12873: \"$ac_compile\"") >&5
12874 (eval $ac_compile) 2>&5
12876 echo "$as_me:12876: \$? = $ac_status" >&5
12877 (exit $ac_status); } &&
12878 { ac_try
='test -s conftest.$ac_objext'
12879 { (eval echo "$as_me:12879: \"$ac_try\"") >&5
12880 (eval $ac_try) 2>&5
12882 echo "$as_me:12882: \$? = $ac_status" >&5
12883 (exit $ac_status); }; }; then
12884 ac_hi
=$ac_mid; break
12886 echo "$as_me: failed program was:" >&5
12887 cat conftest.
$ac_ext >&5
12888 ac_lo
=`expr $ac_mid + 1`; ac_mid
=`expr 2 '*' $ac_mid + 1`
12890 rm -f conftest.
$ac_objext conftest.
$ac_ext
12893 echo "$as_me: failed program was:" >&5
12894 cat conftest.
$ac_ext >&5
12897 cat >conftest.
$ac_ext <<_ACEOF
12898 #line 12898 "configure"
12899 #include "confdefs.h"
12900 $ac_includes_default
12904 int _array_ [1 - 2 * !((sizeof (long long)) >= $ac_mid)]
12909 rm -f conftest.
$ac_objext
12910 if { (eval echo "$as_me:12910: \"$ac_compile\"") >&5
12911 (eval $ac_compile) 2>&5
12913 echo "$as_me:12913: \$? = $ac_status" >&5
12914 (exit $ac_status); } &&
12915 { ac_try
='test -s conftest.$ac_objext'
12916 { (eval echo "$as_me:12916: \"$ac_try\"") >&5
12917 (eval $ac_try) 2>&5
12919 echo "$as_me:12919: \$? = $ac_status" >&5
12920 (exit $ac_status); }; }; then
12921 ac_lo
=$ac_mid; break
12923 echo "$as_me: failed program was:" >&5
12924 cat conftest.
$ac_ext >&5
12925 ac_hi
=`expr $ac_mid - 1`; ac_mid
=`expr 2 '*' $ac_mid`
12927 rm -f conftest.
$ac_objext conftest.
$ac_ext
12930 rm -f conftest.
$ac_objext conftest.
$ac_ext
12931 # Binary search between lo and hi bounds.
12932 while test "x$ac_lo" != "x$ac_hi"; do
12933 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
12934 cat >conftest.
$ac_ext <<_ACEOF
12935 #line 12935 "configure"
12936 #include "confdefs.h"
12937 $ac_includes_default
12941 int _array_ [1 - 2 * !((sizeof (long long)) <= $ac_mid)]
12946 rm -f conftest.
$ac_objext
12947 if { (eval echo "$as_me:12947: \"$ac_compile\"") >&5
12948 (eval $ac_compile) 2>&5
12950 echo "$as_me:12950: \$? = $ac_status" >&5
12951 (exit $ac_status); } &&
12952 { ac_try
='test -s conftest.$ac_objext'
12953 { (eval echo "$as_me:12953: \"$ac_try\"") >&5
12954 (eval $ac_try) 2>&5
12956 echo "$as_me:12956: \$? = $ac_status" >&5
12957 (exit $ac_status); }; }; then
12960 echo "$as_me: failed program was:" >&5
12961 cat conftest.
$ac_ext >&5
12962 ac_lo
=`expr $ac_mid + 1`
12964 rm -f conftest.
$ac_objext conftest.
$ac_ext
12966 ac_cv_sizeof_long_long
=$ac_lo
12968 if test "$cross_compiling" = yes; then
12969 { { echo "$as_me:12969: error: cannot run test program while cross compiling" >&5
12970 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
12971 { (exit 1); exit 1; }; }
12973 cat >conftest.
$ac_ext <<_ACEOF
12974 #line 12974 "configure"
12975 #include "confdefs.h"
12976 $ac_includes_default
12980 FILE *f = fopen ("conftest.val", "w");
12983 fprintf (f, "%d", (sizeof (long long)));
12989 rm -f conftest
$ac_exeext
12990 if { (eval echo "$as_me:12990: \"$ac_link\"") >&5
12991 (eval $ac_link) 2>&5
12993 echo "$as_me:12993: \$? = $ac_status" >&5
12994 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12995 { (eval echo "$as_me:12995: \"$ac_try\"") >&5
12996 (eval $ac_try) 2>&5
12998 echo "$as_me:12998: \$? = $ac_status" >&5
12999 (exit $ac_status); }; }; then
13000 ac_cv_sizeof_long_long
=`cat conftest.val`
13002 echo "$as_me: program exited with status $ac_status" >&5
13003 echo "$as_me: failed program was:" >&5
13004 cat conftest.
$ac_ext >&5
13006 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13011 ac_cv_sizeof_long_long
=0
13014 echo "$as_me:13014: result: $ac_cv_sizeof_long_long" >&5
13015 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
13016 cat >>confdefs.h
<<EOF
13017 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
13022 echo "$as_me:13022: checking for long long" >&5
13023 echo $ECHO_N "checking for long long... $ECHO_C" >&6
13024 if test "${ac_cv_type_long_long+set}" = set; then
13025 echo $ECHO_N "(cached) $ECHO_C" >&6
13027 cat >conftest.
$ac_ext <<_ACEOF
13028 #line 13028 "configure"
13029 #include "confdefs.h"
13030 $ac_includes_default
13034 if ((long long *) 0)
13036 if (sizeof (long long))
13042 rm -f conftest.
$ac_objext
13043 if { (eval echo "$as_me:13043: \"$ac_compile\"") >&5
13044 (eval $ac_compile) 2>&5
13046 echo "$as_me:13046: \$? = $ac_status" >&5
13047 (exit $ac_status); } &&
13048 { ac_try
='test -s conftest.$ac_objext'
13049 { (eval echo "$as_me:13049: \"$ac_try\"") >&5
13050 (eval $ac_try) 2>&5
13052 echo "$as_me:13052: \$? = $ac_status" >&5
13053 (exit $ac_status); }; }; then
13054 ac_cv_type_long_long
=yes
13056 echo "$as_me: failed program was:" >&5
13057 cat conftest.
$ac_ext >&5
13058 ac_cv_type_long_long
=no
13060 rm -f conftest.
$ac_objext conftest.
$ac_ext
13062 echo "$as_me:13062: result: $ac_cv_type_long_long" >&5
13063 echo "${ECHO_T}$ac_cv_type_long_long" >&6
13065 echo "$as_me:13065: checking size of long long" >&5
13066 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
13067 if test "${ac_cv_sizeof_long_long+set}" = set; then
13068 echo $ECHO_N "(cached) $ECHO_C" >&6
13070 if test "$ac_cv_type_long_long" = yes; then
13071 if test "$cross_compiling" = yes; then
13072 # Depending upon the size, compute the lo and hi bounds.
13073 cat >conftest.
$ac_ext <<_ACEOF
13074 #line 13074 "configure"
13075 #include "confdefs.h"
13076 $ac_includes_default
13080 int _array_ [1 - 2 * !((sizeof (long long)) >= 0)]
13085 rm -f conftest.
$ac_objext
13086 if { (eval echo "$as_me:13086: \"$ac_compile\"") >&5
13087 (eval $ac_compile) 2>&5
13089 echo "$as_me:13089: \$? = $ac_status" >&5
13090 (exit $ac_status); } &&
13091 { ac_try
='test -s conftest.$ac_objext'
13092 { (eval echo "$as_me:13092: \"$ac_try\"") >&5
13093 (eval $ac_try) 2>&5
13095 echo "$as_me:13095: \$? = $ac_status" >&5
13096 (exit $ac_status); }; }; then
13099 cat >conftest.
$ac_ext <<_ACEOF
13100 #line 13100 "configure"
13101 #include "confdefs.h"
13102 $ac_includes_default
13106 int _array_ [1 - 2 * !((sizeof (long long)) <= $ac_mid)]
13111 rm -f conftest.
$ac_objext
13112 if { (eval echo "$as_me:13112: \"$ac_compile\"") >&5
13113 (eval $ac_compile) 2>&5
13115 echo "$as_me:13115: \$? = $ac_status" >&5
13116 (exit $ac_status); } &&
13117 { ac_try
='test -s conftest.$ac_objext'
13118 { (eval echo "$as_me:13118: \"$ac_try\"") >&5
13119 (eval $ac_try) 2>&5
13121 echo "$as_me:13121: \$? = $ac_status" >&5
13122 (exit $ac_status); }; }; then
13123 ac_hi
=$ac_mid; break
13125 echo "$as_me: failed program was:" >&5
13126 cat conftest.
$ac_ext >&5
13127 ac_lo
=`expr $ac_mid + 1`; ac_mid
=`expr 2 '*' $ac_mid + 1`
13129 rm -f conftest.
$ac_objext conftest.
$ac_ext
13132 echo "$as_me: failed program was:" >&5
13133 cat conftest.
$ac_ext >&5
13136 cat >conftest.
$ac_ext <<_ACEOF
13137 #line 13137 "configure"
13138 #include "confdefs.h"
13139 $ac_includes_default
13143 int _array_ [1 - 2 * !((sizeof (long long)) >= $ac_mid)]
13148 rm -f conftest.
$ac_objext
13149 if { (eval echo "$as_me:13149: \"$ac_compile\"") >&5
13150 (eval $ac_compile) 2>&5
13152 echo "$as_me:13152: \$? = $ac_status" >&5
13153 (exit $ac_status); } &&
13154 { ac_try
='test -s conftest.$ac_objext'
13155 { (eval echo "$as_me:13155: \"$ac_try\"") >&5
13156 (eval $ac_try) 2>&5
13158 echo "$as_me:13158: \$? = $ac_status" >&5
13159 (exit $ac_status); }; }; then
13160 ac_lo
=$ac_mid; break
13162 echo "$as_me: failed program was:" >&5
13163 cat conftest.
$ac_ext >&5
13164 ac_hi
=`expr $ac_mid - 1`; ac_mid
=`expr 2 '*' $ac_mid`
13166 rm -f conftest.
$ac_objext conftest.
$ac_ext
13169 rm -f conftest.
$ac_objext conftest.
$ac_ext
13170 # Binary search between lo and hi bounds.
13171 while test "x$ac_lo" != "x$ac_hi"; do
13172 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13173 cat >conftest.
$ac_ext <<_ACEOF
13174 #line 13174 "configure"
13175 #include "confdefs.h"
13176 $ac_includes_default
13180 int _array_ [1 - 2 * !((sizeof (long long)) <= $ac_mid)]
13185 rm -f conftest.
$ac_objext
13186 if { (eval echo "$as_me:13186: \"$ac_compile\"") >&5
13187 (eval $ac_compile) 2>&5
13189 echo "$as_me:13189: \$? = $ac_status" >&5
13190 (exit $ac_status); } &&
13191 { ac_try
='test -s conftest.$ac_objext'
13192 { (eval echo "$as_me:13192: \"$ac_try\"") >&5
13193 (eval $ac_try) 2>&5
13195 echo "$as_me:13195: \$? = $ac_status" >&5
13196 (exit $ac_status); }; }; then
13199 echo "$as_me: failed program was:" >&5
13200 cat conftest.
$ac_ext >&5
13201 ac_lo
=`expr $ac_mid + 1`
13203 rm -f conftest.
$ac_objext conftest.
$ac_ext
13205 ac_cv_sizeof_long_long
=$ac_lo
13207 if test "$cross_compiling" = yes; then
13208 { { echo "$as_me:13208: error: cannot run test program while cross compiling" >&5
13209 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
13210 { (exit 1); exit 1; }; }
13212 cat >conftest.
$ac_ext <<_ACEOF
13213 #line 13213 "configure"
13214 #include "confdefs.h"
13215 $ac_includes_default
13219 FILE *f = fopen ("conftest.val", "w");
13222 fprintf (f, "%d", (sizeof (long long)));
13228 rm -f conftest
$ac_exeext
13229 if { (eval echo "$as_me:13229: \"$ac_link\"") >&5
13230 (eval $ac_link) 2>&5
13232 echo "$as_me:13232: \$? = $ac_status" >&5
13233 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13234 { (eval echo "$as_me:13234: \"$ac_try\"") >&5
13235 (eval $ac_try) 2>&5
13237 echo "$as_me:13237: \$? = $ac_status" >&5
13238 (exit $ac_status); }; }; then
13239 ac_cv_sizeof_long_long
=`cat conftest.val`
13241 echo "$as_me: program exited with status $ac_status" >&5
13242 echo "$as_me: failed program was:" >&5
13243 cat conftest.
$ac_ext >&5
13245 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13250 ac_cv_sizeof_long_long
=0
13253 echo "$as_me:13253: result: $ac_cv_sizeof_long_long" >&5
13254 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
13255 cat >>confdefs.h
<<EOF
13256 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
13261 echo "$as_me:13261: checking size of wchar_t" >&5
13262 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
13263 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
13264 echo $ECHO_N "(cached) $ECHO_C" >&6
13267 if test "$cross_compiling" = yes; then
13268 wx_cv_sizeof_wchar_t
=4
13271 cat >conftest.
$ac_ext <<_ACEOF
13272 #line 13272 "configure"
13273 #include "confdefs.h"
13275 #ifdef HAVE_WCHAR_H
13277 # include <stddef.h>
13279 # include <wchar.h>
13281 #ifdef HAVE_STDLIB_H
13282 # include <stdlib.h>
13287 FILE *f=fopen("conftestval", "w");
13289 fprintf(f, "%i", sizeof(wchar_t));
13294 rm -f conftest
$ac_exeext
13295 if { (eval echo "$as_me:13295: \"$ac_link\"") >&5
13296 (eval $ac_link) 2>&5
13298 echo "$as_me:13298: \$? = $ac_status" >&5
13299 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13300 { (eval echo "$as_me:13300: \"$ac_try\"") >&5
13301 (eval $ac_try) 2>&5
13303 echo "$as_me:13303: \$? = $ac_status" >&5
13304 (exit $ac_status); }; }; then
13305 wx_cv_sizeof_wchar_t
=`cat conftestval`
13307 echo "$as_me: program exited with status $ac_status" >&5
13308 echo "$as_me: failed program was:" >&5
13309 cat conftest.
$ac_ext >&5
13310 wx_cv_sizeof_wchar_t
=0
13312 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13316 echo "$as_me:13316: result: $wx_cv_sizeof_wchar_t" >&5
13317 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
13319 cat >>confdefs.h
<<EOF
13320 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
13323 # Check whether --enable-largefile or --disable-largefile was given.
13324 if test "${enable_largefile+set}" = set; then
13325 enableval
="$enable_largefile"
13328 if test "$enable_largefile" != no
; then
13331 echo "$as_me:13331: checking for _FILE_OFFSET_BITS value needed for large files" >&5
13332 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
13333 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
13334 echo $ECHO_N "(cached) $ECHO_C" >&6
13337 cat >conftest.
$ac_ext <<_ACEOF
13338 #line 13338 "configure"
13339 #include "confdefs.h"
13340 #define _FILE_OFFSET_BITS 64
13341 #include <sys/types.h>
13346 unsigned int field: sizeof(off_t) == 8;
13353 rm -f conftest.
$ac_objext
13354 if { (eval echo "$as_me:13354: \"$ac_compile\"") >&5
13355 (eval $ac_compile) 2>&5
13357 echo "$as_me:13357: \$? = $ac_status" >&5
13358 (exit $ac_status); } &&
13359 { ac_try
='test -s conftest.$ac_objext'
13360 { (eval echo "$as_me:13360: \"$ac_try\"") >&5
13361 (eval $ac_try) 2>&5
13363 echo "$as_me:13363: \$? = $ac_status" >&5
13364 (exit $ac_status); }; }; then
13365 ac_cv_sys_file_offset_bits
=64
13367 echo "$as_me: failed program was:" >&5
13368 cat conftest.
$ac_ext >&5
13369 ac_cv_sys_file_offset_bits
=no
13371 rm -f conftest.
$ac_objext conftest.
$ac_ext
13374 echo "$as_me:13374: result: $ac_cv_sys_file_offset_bits" >&5
13375 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
13377 if test "$ac_cv_sys_file_offset_bits" != no
; then
13379 cat >>confdefs.h
<<EOF
13380 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
13385 if test "x$wx_largefile" != "xyes"; then
13387 echo "$as_me:13387: checking for _LARGE_FILES value needed for large files" >&5
13388 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
13389 if test "${ac_cv_sys_large_files+set}" = set; then
13390 echo $ECHO_N "(cached) $ECHO_C" >&6
13393 cat >conftest.
$ac_ext <<_ACEOF
13394 #line 13394 "configure"
13395 #include "confdefs.h"
13396 #define _LARGE_FILES 1
13397 #include <sys/types.h>
13402 unsigned int field: sizeof(off_t) == 8;
13409 rm -f conftest.
$ac_objext
13410 if { (eval echo "$as_me:13410: \"$ac_compile\"") >&5
13411 (eval $ac_compile) 2>&5
13413 echo "$as_me:13413: \$? = $ac_status" >&5
13414 (exit $ac_status); } &&
13415 { ac_try
='test -s conftest.$ac_objext'
13416 { (eval echo "$as_me:13416: \"$ac_try\"") >&5
13417 (eval $ac_try) 2>&5
13419 echo "$as_me:13419: \$? = $ac_status" >&5
13420 (exit $ac_status); }; }; then
13421 ac_cv_sys_large_files
=1
13423 echo "$as_me: failed program was:" >&5
13424 cat conftest.
$ac_ext >&5
13425 ac_cv_sys_large_files
=no
13427 rm -f conftest.
$ac_objext conftest.
$ac_ext
13430 echo "$as_me:13430: result: $ac_cv_sys_large_files" >&5
13431 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
13433 if test "$ac_cv_sys_large_files" != no
; then
13435 cat >>confdefs.h
<<EOF
13436 #define _LARGE_FILES $ac_cv_sys_large_files
13443 echo "$as_me:13443: checking if large file support is available" >&5
13444 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
13445 if test "x$wx_largefile" = "xyes"; then
13446 cat >>confdefs.h
<<\EOF
13447 #define HAVE_LARGEFILE_SUPPORT 1
13451 echo "$as_me:13451: result: $wx_largefile" >&5
13452 echo "${ECHO_T}$wx_largefile" >&6
13455 echo "$as_me:13455: checking whether byte ordering is bigendian" >&5
13456 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
13457 if test "${ac_cv_c_bigendian+set}" = set; then
13458 echo $ECHO_N "(cached) $ECHO_C" >&6
13460 ac_cv_c_bigendian
=unknown
13461 # See if sys/param.h defines the BYTE_ORDER macro.
13462 cat >conftest.
$ac_ext <<_ACEOF
13463 #line 13463 "configure"
13464 #include "confdefs.h"
13465 #include <sys/types.h>
13466 #include <sys/param.h>
13471 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
13472 bogus endian macros
13478 rm -f conftest.
$ac_objext
13479 if { (eval echo "$as_me:13479: \"$ac_compile\"") >&5
13480 (eval $ac_compile) 2>&5
13482 echo "$as_me:13482: \$? = $ac_status" >&5
13483 (exit $ac_status); } &&
13484 { ac_try
='test -s conftest.$ac_objext'
13485 { (eval echo "$as_me:13485: \"$ac_try\"") >&5
13486 (eval $ac_try) 2>&5
13488 echo "$as_me:13488: \$? = $ac_status" >&5
13489 (exit $ac_status); }; }; then
13490 # It does; now see whether it defined to BIG_ENDIAN or not.
13491 cat >conftest.
$ac_ext <<_ACEOF
13492 #line 13492 "configure"
13493 #include "confdefs.h"
13494 #include <sys/types.h>
13495 #include <sys/param.h>
13500 #if BYTE_ORDER != BIG_ENDIAN
13507 rm -f conftest.
$ac_objext
13508 if { (eval echo "$as_me:13508: \"$ac_compile\"") >&5
13509 (eval $ac_compile) 2>&5
13511 echo "$as_me:13511: \$? = $ac_status" >&5
13512 (exit $ac_status); } &&
13513 { ac_try
='test -s conftest.$ac_objext'
13514 { (eval echo "$as_me:13514: \"$ac_try\"") >&5
13515 (eval $ac_try) 2>&5
13517 echo "$as_me:13517: \$? = $ac_status" >&5
13518 (exit $ac_status); }; }; then
13519 ac_cv_c_bigendian
=yes
13521 echo "$as_me: failed program was:" >&5
13522 cat conftest.
$ac_ext >&5
13523 ac_cv_c_bigendian
=no
13525 rm -f conftest.
$ac_objext conftest.
$ac_ext
13527 echo "$as_me: failed program was:" >&5
13528 cat conftest.
$ac_ext >&5
13530 rm -f conftest.
$ac_objext conftest.
$ac_ext
13531 if test $ac_cv_c_bigendian = unknown
; then
13532 if test "$cross_compiling" = yes; then
13533 ac_cv_c_bigendian
=unknown
13535 cat >conftest.
$ac_ext <<_ACEOF
13536 #line 13536 "configure"
13537 #include "confdefs.h"
13539 /* Are we little or big endian? From Harbison&Steele. */
13543 char c[sizeof (long)];
13546 exit (u.c[sizeof (long) - 1] == 1);
13549 rm -f conftest
$ac_exeext
13550 if { (eval echo "$as_me:13550: \"$ac_link\"") >&5
13551 (eval $ac_link) 2>&5
13553 echo "$as_me:13553: \$? = $ac_status" >&5
13554 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13555 { (eval echo "$as_me:13555: \"$ac_try\"") >&5
13556 (eval $ac_try) 2>&5
13558 echo "$as_me:13558: \$? = $ac_status" >&5
13559 (exit $ac_status); }; }; then
13560 ac_cv_c_bigendian
=no
13562 echo "$as_me: program exited with status $ac_status" >&5
13563 echo "$as_me: failed program was:" >&5
13564 cat conftest.
$ac_ext >&5
13565 ac_cv_c_bigendian
=yes
13567 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13571 echo "$as_me:13571: result: $ac_cv_c_bigendian" >&5
13572 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
13573 if test $ac_cv_c_bigendian = unknown
; then
13574 { echo "$as_me:13574: 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
13575 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;}
13577 if test $ac_cv_c_bigendian = yes; then
13578 cat >>confdefs.h
<<\EOF
13579 #define WORDS_BIGENDIAN 1
13585 ac_cpp
='$CXXCPP $CPPFLAGS'
13586 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13587 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13588 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13589 echo "$as_me:13589: checking how to run the C++ preprocessor" >&5
13590 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
13591 if test -z "$CXXCPP"; then
13592 if test "${ac_cv_prog_CXXCPP+set}" = set; then
13593 echo $ECHO_N "(cached) $ECHO_C" >&6
13595 # Double quotes because CXXCPP needs to be expanded
13596 for CXXCPP
in "$CXX -E" "/lib/cpp"
13598 ac_preproc_ok
=false
13599 for ac_cxx_preproc_warn_flag
in '' yes
13601 # Use a header file that comes with gcc, so configuring glibc
13602 # with a fresh cross-compiler works.
13603 # On the NeXT, cc -E runs the code through the compiler's parser,
13604 # not just through cpp. "Syntax error" is here to catch this case.
13605 cat >conftest.
$ac_ext <<_ACEOF
13606 #line 13606 "configure"
13607 #include "confdefs.h"
13608 #include <assert.h>
13611 if { (eval echo "$as_me:13611: \"$ac_cpp conftest.$ac_ext\"") >&5
13612 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13614 egrep -v '^ *\+' conftest.er1
>conftest.err
13616 cat conftest.err
>&5
13617 echo "$as_me:13617: \$? = $ac_status" >&5
13618 (exit $ac_status); } >/dev
/null
; then
13619 if test -s conftest.err
; then
13620 ac_cpp_err
=$ac_cxx_preproc_warn_flag
13627 if test -z "$ac_cpp_err"; then
13630 echo "$as_me: failed program was:" >&5
13631 cat conftest.
$ac_ext >&5
13632 # Broken: fails on valid input.
13635 rm -f conftest.err conftest.
$ac_ext
13637 # OK, works on sane cases. Now check whether non-existent headers
13638 # can be detected and how.
13639 cat >conftest.
$ac_ext <<_ACEOF
13640 #line 13640 "configure"
13641 #include "confdefs.h"
13642 #include <ac_nonexistent.h>
13644 if { (eval echo "$as_me:13644: \"$ac_cpp conftest.$ac_ext\"") >&5
13645 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13647 egrep -v '^ *\+' conftest.er1
>conftest.err
13649 cat conftest.err
>&5
13650 echo "$as_me:13650: \$? = $ac_status" >&5
13651 (exit $ac_status); } >/dev
/null
; then
13652 if test -s conftest.err
; then
13653 ac_cpp_err
=$ac_cxx_preproc_warn_flag
13660 if test -z "$ac_cpp_err"; then
13661 # Broken: success on invalid input.
13664 echo "$as_me: failed program was:" >&5
13665 cat conftest.
$ac_ext >&5
13666 # Passes both tests.
13670 rm -f conftest.err conftest.
$ac_ext
13673 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13674 rm -f conftest.err conftest.
$ac_ext
13675 if $ac_preproc_ok; then
13680 ac_cv_prog_CXXCPP
=$CXXCPP
13683 CXXCPP
=$ac_cv_prog_CXXCPP
13685 ac_cv_prog_CXXCPP
=$CXXCPP
13687 echo "$as_me:13687: result: $CXXCPP" >&5
13688 echo "${ECHO_T}$CXXCPP" >&6
13689 ac_preproc_ok
=false
13690 for ac_cxx_preproc_warn_flag
in '' yes
13692 # Use a header file that comes with gcc, so configuring glibc
13693 # with a fresh cross-compiler works.
13694 # On the NeXT, cc -E runs the code through the compiler's parser,
13695 # not just through cpp. "Syntax error" is here to catch this case.
13696 cat >conftest.
$ac_ext <<_ACEOF
13697 #line 13697 "configure"
13698 #include "confdefs.h"
13699 #include <assert.h>
13702 if { (eval echo "$as_me:13702: \"$ac_cpp conftest.$ac_ext\"") >&5
13703 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13705 egrep -v '^ *\+' conftest.er1
>conftest.err
13707 cat conftest.err
>&5
13708 echo "$as_me:13708: \$? = $ac_status" >&5
13709 (exit $ac_status); } >/dev
/null
; then
13710 if test -s conftest.err
; then
13711 ac_cpp_err
=$ac_cxx_preproc_warn_flag
13718 if test -z "$ac_cpp_err"; then
13721 echo "$as_me: failed program was:" >&5
13722 cat conftest.
$ac_ext >&5
13723 # Broken: fails on valid input.
13726 rm -f conftest.err conftest.
$ac_ext
13728 # OK, works on sane cases. Now check whether non-existent headers
13729 # can be detected and how.
13730 cat >conftest.
$ac_ext <<_ACEOF
13731 #line 13731 "configure"
13732 #include "confdefs.h"
13733 #include <ac_nonexistent.h>
13735 if { (eval echo "$as_me:13735: \"$ac_cpp conftest.$ac_ext\"") >&5
13736 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13738 egrep -v '^ *\+' conftest.er1
>conftest.err
13740 cat conftest.err
>&5
13741 echo "$as_me:13741: \$? = $ac_status" >&5
13742 (exit $ac_status); } >/dev
/null
; then
13743 if test -s conftest.err
; then
13744 ac_cpp_err
=$ac_cxx_preproc_warn_flag
13751 if test -z "$ac_cpp_err"; then
13752 # Broken: success on invalid input.
13755 echo "$as_me: failed program was:" >&5
13756 cat conftest.
$ac_ext >&5
13757 # Passes both tests.
13761 rm -f conftest.err conftest.
$ac_ext
13764 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13765 rm -f conftest.err conftest.
$ac_ext
13766 if $ac_preproc_ok; then
13769 { { echo "$as_me:13769: error: C++ preprocessor \"$CXXCPP\" fails sanity check" >&5
13770 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check" >&2;}
13771 { (exit 1); exit 1; }; }
13775 ac_cpp
='$CXXCPP $CPPFLAGS'
13776 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13777 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13778 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13780 if test "$cross_compiling" = "yes"; then
13781 cat >>confdefs.h
<<\EOF
13782 #define wxUSE_IOSTREAMH 1
13788 ac_cpp
='$CXXCPP $CPPFLAGS'
13789 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13790 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13791 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13793 for ac_header
in iostream
13795 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13796 echo "$as_me:13796: checking for $ac_header" >&5
13797 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13798 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13799 echo $ECHO_N "(cached) $ECHO_C" >&6
13801 cat >conftest.
$ac_ext <<_ACEOF
13802 #line 13802 "configure"
13803 #include "confdefs.h"
13804 #include <$ac_header>
13806 if { (eval echo "$as_me:13806: \"$ac_cpp conftest.$ac_ext\"") >&5
13807 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13809 egrep -v '^ *\+' conftest.er1
>conftest.err
13811 cat conftest.err
>&5
13812 echo "$as_me:13812: \$? = $ac_status" >&5
13813 (exit $ac_status); } >/dev
/null
; then
13814 if test -s conftest.err
; then
13815 ac_cpp_err
=$ac_cxx_preproc_warn_flag
13822 if test -z "$ac_cpp_err"; then
13823 eval "$as_ac_Header=yes"
13825 echo "$as_me: failed program was:" >&5
13826 cat conftest.
$ac_ext >&5
13827 eval "$as_ac_Header=no"
13829 rm -f conftest.err conftest.
$ac_ext
13831 echo "$as_me:13831: result: `eval echo '${'$as_ac_Header'}'`" >&5
13832 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13833 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13834 cat >>confdefs.h
<<EOF
13835 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13841 if test "$ac_cv_header_iostream" = "yes" ; then
13844 cat >>confdefs.h
<<\EOF
13845 #define wxUSE_IOSTREAMH 1
13851 ac_cpp
='$CPP $CPPFLAGS'
13852 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13853 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13854 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13858 echo "$as_me:13858: checking if C++ compiler supports bool" >&5
13859 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
13860 if test "${wx_cv_cpp_bool+set}" = set; then
13861 echo $ECHO_N "(cached) $ECHO_C" >&6
13865 ac_cpp
='$CXXCPP $CPPFLAGS'
13866 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13867 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13868 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13870 cat >conftest.
$ac_ext <<_ACEOF
13871 #line 13871 "configure"
13872 #include "confdefs.h"
13886 rm -f conftest.
$ac_objext
13887 if { (eval echo "$as_me:13887: \"$ac_compile\"") >&5
13888 (eval $ac_compile) 2>&5
13890 echo "$as_me:13890: \$? = $ac_status" >&5
13891 (exit $ac_status); } &&
13892 { ac_try
='test -s conftest.$ac_objext'
13893 { (eval echo "$as_me:13893: \"$ac_try\"") >&5
13894 (eval $ac_try) 2>&5
13896 echo "$as_me:13896: \$? = $ac_status" >&5
13897 (exit $ac_status); }; }; then
13902 echo "$as_me: failed program was:" >&5
13903 cat conftest.
$ac_ext >&5
13908 rm -f conftest.
$ac_objext conftest.
$ac_ext
13911 ac_cpp
='$CPP $CPPFLAGS'
13912 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13913 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13914 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13917 echo "$as_me:13917: result: $wx_cv_cpp_bool" >&5
13918 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
13920 if test "$wx_cv_cpp_bool" = "yes"; then
13921 cat >>confdefs.h
<<\EOF
13922 #define HAVE_BOOL 1
13927 echo "$as_me:13927: checking if C++ compiler supports the explicit keyword" >&5
13928 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
13929 if test "${wx_cv_explicit+set}" = set; then
13930 echo $ECHO_N "(cached) $ECHO_C" >&6
13934 ac_cpp
='$CXXCPP $CPPFLAGS'
13935 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13936 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13937 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13939 cat >conftest.
$ac_ext <<_ACEOF
13940 #line 13940 "configure"
13941 #include "confdefs.h"
13943 class Foo { public: explicit Foo(int) {} };
13955 rm -f conftest.
$ac_objext
13956 if { (eval echo "$as_me:13956: \"$ac_compile\"") >&5
13957 (eval $ac_compile) 2>&5
13959 echo "$as_me:13959: \$? = $ac_status" >&5
13960 (exit $ac_status); } &&
13961 { ac_try
='test -s conftest.$ac_objext'
13962 { (eval echo "$as_me:13962: \"$ac_try\"") >&5
13963 (eval $ac_try) 2>&5
13965 echo "$as_me:13965: \$? = $ac_status" >&5
13966 (exit $ac_status); }; }; then
13968 cat >conftest.
$ac_ext <<_ACEOF
13969 #line 13969 "configure"
13970 #include "confdefs.h"
13972 class Foo { public: explicit Foo(int) {} };
13973 static void TakeFoo(const Foo& foo) { }
13986 rm -f conftest.
$ac_objext
13987 if { (eval echo "$as_me:13987: \"$ac_compile\"") >&5
13988 (eval $ac_compile) 2>&5
13990 echo "$as_me:13990: \$? = $ac_status" >&5
13991 (exit $ac_status); } &&
13992 { ac_try
='test -s conftest.$ac_objext'
13993 { (eval echo "$as_me:13993: \"$ac_try\"") >&5
13994 (eval $ac_try) 2>&5
13996 echo "$as_me:13996: \$? = $ac_status" >&5
13997 (exit $ac_status); }; }; then
14000 echo "$as_me: failed program was:" >&5
14001 cat conftest.
$ac_ext >&5
14005 rm -f conftest.
$ac_objext conftest.
$ac_ext
14008 echo "$as_me: failed program was:" >&5
14009 cat conftest.
$ac_ext >&5
14013 rm -f conftest.
$ac_objext conftest.
$ac_ext
14016 ac_cpp
='$CPP $CPPFLAGS'
14017 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14018 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14019 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14022 echo "$as_me:14022: result: $wx_cv_explicit" >&5
14023 echo "${ECHO_T}$wx_cv_explicit" >&6
14025 if test "$wx_cv_explicit" = "yes"; then
14026 cat >>confdefs.h
<<\EOF
14027 #define HAVE_EXPLICIT 1
14033 /usr/local/include \
14035 /usr/Motif-1.2/include \
14036 /usr/Motif-2.1/include \
14038 /usr/include/Motif1.2 \
14039 /opt/xpm/include/X11 \
14040 /opt/GBxpm/include/ \
14041 /opt/GBxpm/X11/include/ \
14043 /usr/Motif1.2/include \
14045 /usr/openwin/include \
14049 /usr/X11R6/include \
14050 /usr/X11R6.4/include \
14051 /usr/X11R5/include \
14052 /usr/X11R4/include \
14054 /usr/include/X11R6 \
14055 /usr/include/X11R5 \
14056 /usr/include/X11R4 \
14058 /usr/local/X11R6/include \
14059 /usr/local/X11R5/include \
14060 /usr/local/X11R4/include \
14062 /usr/local/include/X11R6 \
14063 /usr/local/include/X11R5 \
14064 /usr/local/include/X11R4 \
14068 /usr/local/X11/include \
14069 /usr/local/include/X11 \
14071 /usr/X386/include \
14072 /usr/x386/include \
14073 /usr/XFree86/include/X11 \
14075 X:/XFree86/include \
14076 X:/XFree86/include/X11 \
14079 /usr/local/include/gtk \
14080 /usr/include/glib \
14081 /usr/local/include/glib \
14084 /usr/local/include/qt \
14086 /usr/include/windows \
14087 /usr/include/wine \
14088 /usr/local/include/wine \
14090 /usr/unsupported/include \
14091 /usr/athena/include \
14092 /usr/local/x11r5/include \
14093 /usr/lpp/Xamples/include \
14095 /usr/openwin/share/include \
14099 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
14101 cat >confcache
<<\_ACEOF
14102 # This file is a shell script that caches the results of configure
14103 # tests run on this system so they can be shared between configure
14104 # scripts and configure runs, see configure's option --config-cache.
14105 # It is not useful on other systems. If it contains results you don't
14106 # want to keep, you may remove or edit it.
14108 # config.status only pays attention to the cache file if you give it
14109 # the --recheck option to rerun configure.
14111 # `ac_cv_env_foo' variables (set or unset) will be overriden when
14112 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14113 # following values.
14117 # The following way of writing the cache mishandles newlines in values,
14118 # but we know of no workaround that is simple, portable, and efficient.
14119 # So, don't put newlines in cache variables' values.
14120 # Ultrix sh set writes to stderr and can't be redirected directly,
14121 # and sets the high bit in the cache file unless we assign to the vars.
14124 case `(ac_space=' '; set | grep ac_space) 2>&1` in
14126 # `set' does not quote correctly, so add quotes (double-quote
14127 # substitution turns \\\\ into \\, and sed turns \\ into \).
14130 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14133 # `set' quotes correctly as required by POSIX, so do not add quotes.
14135 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
14142 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14144 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14146 if cmp -s $cache_file confcache
; then :; else
14147 if test -w $cache_file; then
14148 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
14149 cat confcache
>$cache_file
14151 echo "not updating unwritable cache $cache_file"
14156 if test "$USE_LINUX" = 1; then
14157 echo "$as_me:14157: checking for glibc 2.1 or later" >&5
14158 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
14159 if test "${wx_cv_lib_glibc21+set}" = set; then
14160 echo $ECHO_N "(cached) $ECHO_C" >&6
14163 cat >conftest.
$ac_ext <<_ACEOF
14164 #line 14164 "configure"
14165 #include "confdefs.h"
14166 #include <features.h>
14171 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
14172 #error not glibc2.1
14179 rm -f conftest.
$ac_objext
14180 if { (eval echo "$as_me:14180: \"$ac_compile\"") >&5
14181 (eval $ac_compile) 2>&5
14183 echo "$as_me:14183: \$? = $ac_status" >&5
14184 (exit $ac_status); } &&
14185 { ac_try
='test -s conftest.$ac_objext'
14186 { (eval echo "$as_me:14186: \"$ac_try\"") >&5
14187 (eval $ac_try) 2>&5
14189 echo "$as_me:14189: \$? = $ac_status" >&5
14190 (exit $ac_status); }; }; then
14192 wx_cv_lib_glibc21
=yes
14195 echo "$as_me: failed program was:" >&5
14196 cat conftest.
$ac_ext >&5
14198 wx_cv_lib_glibc21
=no
14201 rm -f conftest.
$ac_objext conftest.
$ac_ext
14204 echo "$as_me:14204: result: $wx_cv_lib_glibc21" >&5
14205 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
14206 if test "$wx_cv_lib_glibc21" = "yes"; then
14207 cat >>confdefs.h
<<\EOF
14208 #define wxHAVE_GLIBC2 1
14215 if test "$wxUSE_REGEX" != "no"; then
14216 cat >>confdefs.h
<<\EOF
14217 #define wxUSE_REGEX 1
14220 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
14221 echo "$as_me:14221: checking for regex.h" >&5
14222 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
14223 if test "${ac_cv_header_regex_h+set}" = set; then
14224 echo $ECHO_N "(cached) $ECHO_C" >&6
14226 cat >conftest.
$ac_ext <<_ACEOF
14227 #line 14227 "configure"
14228 #include "confdefs.h"
14231 if { (eval echo "$as_me:14231: \"$ac_cpp conftest.$ac_ext\"") >&5
14232 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14234 egrep -v '^ *\+' conftest.er1
>conftest.err
14236 cat conftest.err
>&5
14237 echo "$as_me:14237: \$? = $ac_status" >&5
14238 (exit $ac_status); } >/dev
/null
; then
14239 if test -s conftest.err
; then
14240 ac_cpp_err
=$ac_c_preproc_warn_flag
14247 if test -z "$ac_cpp_err"; then
14248 ac_cv_header_regex_h
=yes
14250 echo "$as_me: failed program was:" >&5
14251 cat conftest.
$ac_ext >&5
14252 ac_cv_header_regex_h
=no
14254 rm -f conftest.err conftest.
$ac_ext
14256 echo "$as_me:14256: result: $ac_cv_header_regex_h" >&5
14257 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
14258 if test $ac_cv_header_regex_h = yes; then
14260 for ac_func
in regcomp
14262 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14263 echo "$as_me:14263: checking for $ac_func" >&5
14264 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14265 if eval "test \"\${$as_ac_var+set}\" = set"; then
14266 echo $ECHO_N "(cached) $ECHO_C" >&6
14268 cat >conftest.
$ac_ext <<_ACEOF
14269 #line 14269 "configure"
14270 #include "confdefs.h"
14271 /* System header to define __stub macros and hopefully few prototypes
14273 which can conflict with char $ac_func (); below. */
14274 #include <assert.h>
14275 /* Override any gcc2 internal prototype to avoid an error. */
14279 /* We use char because int might match the return type of a gcc2
14280 builtin and then its argument prototype would still apply. */
14287 /* The GNU C library defines this for functions which it implements
14288 to always fail with ENOSYS. Some functions are actually named
14289 something starting with __ and the normal name is an alias. */
14290 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14300 rm -f conftest.
$ac_objext conftest
$ac_exeext
14301 if { (eval echo "$as_me:14301: \"$ac_link\"") >&5
14302 (eval $ac_link) 2>&5
14304 echo "$as_me:14304: \$? = $ac_status" >&5
14305 (exit $ac_status); } &&
14306 { ac_try
='test -s conftest$ac_exeext'
14307 { (eval echo "$as_me:14307: \"$ac_try\"") >&5
14308 (eval $ac_try) 2>&5
14310 echo "$as_me:14310: \$? = $ac_status" >&5
14311 (exit $ac_status); }; }; then
14312 eval "$as_ac_var=yes"
14314 echo "$as_me: failed program was:" >&5
14315 cat conftest.
$ac_ext >&5
14316 eval "$as_ac_var=no"
14318 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
14320 echo "$as_me:14320: result: `eval echo '${'$as_ac_var'}'`" >&5
14321 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14322 if test `eval echo '${'$as_ac_var'}'` = yes; then
14323 cat >>confdefs.h
<<EOF
14324 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14332 if test "x$ac_cv_func_regcomp" != "xyes"; then
14333 if test "$wxUSE_REGEX" = "sys" ; then
14334 { { echo "$as_me:14334: error: system regex library not found! Use --with-regex to use built-in version" >&5
14335 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
14336 { (exit 1); exit 1; }; }
14338 { echo "$as_me:14338: WARNING: system regex library not found, will use built-in instead" >&5
14339 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
14340 wxUSE_REGEX
=builtin
14347 if test "$wxUSE_REGEX" = "builtin" ; then
14348 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
14354 if test "$wxUSE_ZLIB" != "no" ; then
14355 cat >>confdefs.h
<<\EOF
14356 #define wxUSE_ZLIB 1
14359 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
14360 echo "$as_me:14360: checking for zlib.h" >&5
14361 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
14362 if test "${ac_cv_header_zlib_h+set}" = set; then
14363 echo $ECHO_N "(cached) $ECHO_C" >&6
14365 cat >conftest.
$ac_ext <<_ACEOF
14366 #line 14366 "configure"
14367 #include "confdefs.h"
14370 if { (eval echo "$as_me:14370: \"$ac_cpp conftest.$ac_ext\"") >&5
14371 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14373 egrep -v '^ *\+' conftest.er1
>conftest.err
14375 cat conftest.err
>&5
14376 echo "$as_me:14376: \$? = $ac_status" >&5
14377 (exit $ac_status); } >/dev
/null
; then
14378 if test -s conftest.err
; then
14379 ac_cpp_err
=$ac_c_preproc_warn_flag
14386 if test -z "$ac_cpp_err"; then
14387 ac_cv_header_zlib_h
=yes
14389 echo "$as_me: failed program was:" >&5
14390 cat conftest.
$ac_ext >&5
14391 ac_cv_header_zlib_h
=no
14393 rm -f conftest.err conftest.
$ac_ext
14395 echo "$as_me:14395: result: $ac_cv_header_zlib_h" >&5
14396 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
14397 if test $ac_cv_header_zlib_h = yes; then
14398 echo "$as_me:14398: checking for deflate in -lz" >&5
14399 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
14400 if test "${ac_cv_lib_z_deflate+set}" = set; then
14401 echo $ECHO_N "(cached) $ECHO_C" >&6
14403 ac_check_lib_save_LIBS
=$LIBS
14405 cat >conftest.
$ac_ext <<_ACEOF
14406 #line 14406 "configure"
14407 #include "confdefs.h"
14409 /* Override any gcc2 internal prototype to avoid an error. */
14413 /* We use char because int might match the return type of a gcc2
14414 builtin and then its argument prototype would still apply. */
14424 rm -f conftest.
$ac_objext conftest
$ac_exeext
14425 if { (eval echo "$as_me:14425: \"$ac_link\"") >&5
14426 (eval $ac_link) 2>&5
14428 echo "$as_me:14428: \$? = $ac_status" >&5
14429 (exit $ac_status); } &&
14430 { ac_try
='test -s conftest$ac_exeext'
14431 { (eval echo "$as_me:14431: \"$ac_try\"") >&5
14432 (eval $ac_try) 2>&5
14434 echo "$as_me:14434: \$? = $ac_status" >&5
14435 (exit $ac_status); }; }; then
14436 ac_cv_lib_z_deflate
=yes
14438 echo "$as_me: failed program was:" >&5
14439 cat conftest.
$ac_ext >&5
14440 ac_cv_lib_z_deflate
=no
14442 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
14443 LIBS
=$ac_check_lib_save_LIBS
14445 echo "$as_me:14445: result: $ac_cv_lib_z_deflate" >&5
14446 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
14447 if test $ac_cv_lib_z_deflate = yes; then
14453 if test "x$ZLIB_LINK" = "x" ; then
14454 if test "$wxUSE_ZLIB" = "sys" ; then
14455 { { echo "$as_me:14455: error: system zlib compression library not found! Use --with-zlib=builtin to use built-in version" >&5
14456 echo "$as_me: error: system zlib compression library not found! Use --with-zlib=builtin to use built-in version" >&2;}
14457 { (exit 1); exit 1; }; }
14459 { echo "$as_me:14459: WARNING: system zlib compression library not found, will use built-in instead" >&5
14460 echo "$as_me: WARNING: system zlib compression library not found, will use built-in instead" >&2;}
14468 if test "$wxUSE_ZLIB" = "builtin" ; then
14469 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
14475 if test "$wxUSE_LIBPNG" != "no" ; then
14476 cat >>confdefs.h
<<\EOF
14477 #define wxUSE_LIBPNG 1
14480 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
14481 { echo "$as_me:14481: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
14482 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
14486 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
14487 { echo "$as_me:14487: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
14488 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
14489 wxUSE_LIBPNG
=builtin
14492 if test "$wxUSE_MGL" != 1 ; then
14493 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
14494 echo "$as_me:14494: checking for png.h" >&5
14495 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
14496 if test "${ac_cv_header_png_h+set}" = set; then
14497 echo $ECHO_N "(cached) $ECHO_C" >&6
14499 cat >conftest.
$ac_ext <<_ACEOF
14500 #line 14500 "configure"
14501 #include "confdefs.h"
14504 if { (eval echo "$as_me:14504: \"$ac_cpp conftest.$ac_ext\"") >&5
14505 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14507 egrep -v '^ *\+' conftest.er1
>conftest.err
14509 cat conftest.err
>&5
14510 echo "$as_me:14510: \$? = $ac_status" >&5
14511 (exit $ac_status); } >/dev
/null
; then
14512 if test -s conftest.err
; then
14513 ac_cpp_err
=$ac_c_preproc_warn_flag
14520 if test -z "$ac_cpp_err"; then
14521 ac_cv_header_png_h
=yes
14523 echo "$as_me: failed program was:" >&5
14524 cat conftest.
$ac_ext >&5
14525 ac_cv_header_png_h
=no
14527 rm -f conftest.err conftest.
$ac_ext
14529 echo "$as_me:14529: result: $ac_cv_header_png_h" >&5
14530 echo "${ECHO_T}$ac_cv_header_png_h" >&6
14531 if test $ac_cv_header_png_h = yes; then
14532 echo "$as_me:14532: checking for png_check_sig in -lpng" >&5
14533 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
14534 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
14535 echo $ECHO_N "(cached) $ECHO_C" >&6
14537 ac_check_lib_save_LIBS
=$LIBS
14538 LIBS
="-lpng -lz -lm $LIBS"
14539 cat >conftest.
$ac_ext <<_ACEOF
14540 #line 14540 "configure"
14541 #include "confdefs.h"
14543 /* Override any gcc2 internal prototype to avoid an error. */
14547 /* We use char because int might match the return type of a gcc2
14548 builtin and then its argument prototype would still apply. */
14549 char png_check_sig ();
14558 rm -f conftest.
$ac_objext conftest
$ac_exeext
14559 if { (eval echo "$as_me:14559: \"$ac_link\"") >&5
14560 (eval $ac_link) 2>&5
14562 echo "$as_me:14562: \$? = $ac_status" >&5
14563 (exit $ac_status); } &&
14564 { ac_try
='test -s conftest$ac_exeext'
14565 { (eval echo "$as_me:14565: \"$ac_try\"") >&5
14566 (eval $ac_try) 2>&5
14568 echo "$as_me:14568: \$? = $ac_status" >&5
14569 (exit $ac_status); }; }; then
14570 ac_cv_lib_png_png_check_sig
=yes
14572 echo "$as_me: failed program was:" >&5
14573 cat conftest.
$ac_ext >&5
14574 ac_cv_lib_png_png_check_sig
=no
14576 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
14577 LIBS
=$ac_check_lib_save_LIBS
14579 echo "$as_me:14579: result: $ac_cv_lib_png_png_check_sig" >&5
14580 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
14581 if test $ac_cv_lib_png_png_check_sig = yes; then
14587 if test "x$PNG_LINK" = "x" ; then
14588 if test "$wxUSE_LIBPNG" = "sys" ; then
14589 { { echo "$as_me:14589: error: system png library not found! Use --with-libpng=builtin to use built-in version" >&5
14590 echo "$as_me: error: system png library not found! Use --with-libpng=builtin to use built-in version" >&2;}
14591 { (exit 1); exit 1; }; }
14593 { echo "$as_me:14593: WARNING: system png library not found, will use built-in instead" >&5
14594 echo "$as_me: WARNING: system png library not found, will use built-in instead" >&2;}
14595 wxUSE_LIBPNG
=builtin
14603 if test "$wxUSE_LIBPNG" = "builtin" ; then
14604 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
14607 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
14612 if test "$wxUSE_LIBJPEG" != "no" ; then
14613 cat >>confdefs.h
<<\EOF
14614 #define wxUSE_LIBJPEG 1
14617 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
14618 { echo "$as_me:14618: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
14619 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
14623 if test "$wxUSE_MGL" != 1 ; then
14624 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
14625 echo "$as_me:14625: checking for jpeglib.h" >&5
14626 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
14627 if test "${ac_cv_header_jpeglib_h+set}" = set; then
14628 echo $ECHO_N "(cached) $ECHO_C" >&6
14630 cat >conftest.
$ac_ext <<_ACEOF
14631 #line 14631 "configure"
14632 #include "confdefs.h"
14634 #undef HAVE_STDLIB_H
14636 #include <jpeglib.h>
14646 rm -f conftest.
$ac_objext
14647 if { (eval echo "$as_me:14647: \"$ac_compile\"") >&5
14648 (eval $ac_compile) 2>&5
14650 echo "$as_me:14650: \$? = $ac_status" >&5
14651 (exit $ac_status); } &&
14652 { ac_try
='test -s conftest.$ac_objext'
14653 { (eval echo "$as_me:14653: \"$ac_try\"") >&5
14654 (eval $ac_try) 2>&5
14656 echo "$as_me:14656: \$? = $ac_status" >&5
14657 (exit $ac_status); }; }; then
14658 ac_cv_header_jpeglib_h
=yes
14660 echo "$as_me: failed program was:" >&5
14661 cat conftest.
$ac_ext >&5
14662 ac_cv_header_jpeglib_h
=no
14665 rm -f conftest.
$ac_objext conftest.
$ac_ext
14669 echo "$as_me:14669: result: $ac_cv_header_jpeglib_h" >&5
14670 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
14672 if test "$ac_cv_header_jpeglib_h" = "yes"; then
14673 echo "$as_me:14673: checking for jpeg_read_header in -ljpeg" >&5
14674 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
14675 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
14676 echo $ECHO_N "(cached) $ECHO_C" >&6
14678 ac_check_lib_save_LIBS
=$LIBS
14679 LIBS
="-ljpeg $LIBS"
14680 cat >conftest.
$ac_ext <<_ACEOF
14681 #line 14681 "configure"
14682 #include "confdefs.h"
14684 /* Override any gcc2 internal prototype to avoid an error. */
14688 /* We use char because int might match the return type of a gcc2
14689 builtin and then its argument prototype would still apply. */
14690 char jpeg_read_header ();
14694 jpeg_read_header ();
14699 rm -f conftest.
$ac_objext conftest
$ac_exeext
14700 if { (eval echo "$as_me:14700: \"$ac_link\"") >&5
14701 (eval $ac_link) 2>&5
14703 echo "$as_me:14703: \$? = $ac_status" >&5
14704 (exit $ac_status); } &&
14705 { ac_try
='test -s conftest$ac_exeext'
14706 { (eval echo "$as_me:14706: \"$ac_try\"") >&5
14707 (eval $ac_try) 2>&5
14709 echo "$as_me:14709: \$? = $ac_status" >&5
14710 (exit $ac_status); }; }; then
14711 ac_cv_lib_jpeg_jpeg_read_header
=yes
14713 echo "$as_me: failed program was:" >&5
14714 cat conftest.
$ac_ext >&5
14715 ac_cv_lib_jpeg_jpeg_read_header
=no
14717 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
14718 LIBS
=$ac_check_lib_save_LIBS
14720 echo "$as_me:14720: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
14721 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
14722 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
14723 JPEG_LINK
=" -ljpeg"
14728 if test "x$JPEG_LINK" = "x" ; then
14729 if test "$wxUSE_LIBJPEG" = "sys" ; then
14730 { { echo "$as_me:14730: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
14731 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
14732 { (exit 1); exit 1; }; }
14734 { echo "$as_me:14734: WARNING: system jpeg library not found, will use built-in instead" >&5
14735 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
14736 wxUSE_LIBJPEG
=builtin
14744 if test "$wxUSE_LIBJPEG" = "builtin" ; then
14745 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
14751 if test "$wxUSE_LIBTIFF" != "no" ; then
14752 cat >>confdefs.h
<<\EOF
14753 #define wxUSE_LIBTIFF 1
14756 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
14757 echo "$as_me:14757: checking for tiffio.h" >&5
14758 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
14759 if test "${ac_cv_header_tiffio_h+set}" = set; then
14760 echo $ECHO_N "(cached) $ECHO_C" >&6
14762 cat >conftest.
$ac_ext <<_ACEOF
14763 #line 14763 "configure"
14764 #include "confdefs.h"
14765 #include <tiffio.h>
14767 if { (eval echo "$as_me:14767: \"$ac_cpp conftest.$ac_ext\"") >&5
14768 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14770 egrep -v '^ *\+' conftest.er1
>conftest.err
14772 cat conftest.err
>&5
14773 echo "$as_me:14773: \$? = $ac_status" >&5
14774 (exit $ac_status); } >/dev
/null
; then
14775 if test -s conftest.err
; then
14776 ac_cpp_err
=$ac_c_preproc_warn_flag
14783 if test -z "$ac_cpp_err"; then
14784 ac_cv_header_tiffio_h
=yes
14786 echo "$as_me: failed program was:" >&5
14787 cat conftest.
$ac_ext >&5
14788 ac_cv_header_tiffio_h
=no
14790 rm -f conftest.err conftest.
$ac_ext
14792 echo "$as_me:14792: result: $ac_cv_header_tiffio_h" >&5
14793 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
14794 if test $ac_cv_header_tiffio_h = yes; then
14795 echo "$as_me:14795: checking for TIFFError in -ltiff" >&5
14796 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
14797 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
14798 echo $ECHO_N "(cached) $ECHO_C" >&6
14800 ac_check_lib_save_LIBS
=$LIBS
14801 LIBS
="-ltiff -lm $LIBS"
14802 cat >conftest.
$ac_ext <<_ACEOF
14803 #line 14803 "configure"
14804 #include "confdefs.h"
14806 /* Override any gcc2 internal prototype to avoid an error. */
14810 /* We use char because int might match the return type of a gcc2
14811 builtin and then its argument prototype would still apply. */
14821 rm -f conftest.
$ac_objext conftest
$ac_exeext
14822 if { (eval echo "$as_me:14822: \"$ac_link\"") >&5
14823 (eval $ac_link) 2>&5
14825 echo "$as_me:14825: \$? = $ac_status" >&5
14826 (exit $ac_status); } &&
14827 { ac_try
='test -s conftest$ac_exeext'
14828 { (eval echo "$as_me:14828: \"$ac_try\"") >&5
14829 (eval $ac_try) 2>&5
14831 echo "$as_me:14831: \$? = $ac_status" >&5
14832 (exit $ac_status); }; }; then
14833 ac_cv_lib_tiff_TIFFError
=yes
14835 echo "$as_me: failed program was:" >&5
14836 cat conftest.
$ac_ext >&5
14837 ac_cv_lib_tiff_TIFFError
=no
14839 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
14840 LIBS
=$ac_check_lib_save_LIBS
14842 echo "$as_me:14842: result: $ac_cv_lib_tiff_TIFFError" >&5
14843 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
14844 if test $ac_cv_lib_tiff_TIFFError = yes; then
14845 TIFF_LINK
=" -ltiff"
14850 if test "x$TIFF_LINK" = "x" ; then
14851 if test "$wxUSE_LIBTIFF" = "sys" ; then
14852 { { echo "$as_me:14852: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
14853 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
14854 { (exit 1); exit 1; }; }
14856 { echo "$as_me:14856: WARNING: system tiff library not found, will use built-in instead" >&5
14857 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
14858 wxUSE_LIBTIFF
=builtin
14865 if test "$wxUSE_LIBTIFF" = "builtin" ; then
14866 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
14876 if test "$USE_WIN32" = 1 ; then
14878 for ac_header
in w32api.h
14880 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14881 echo "$as_me:14881: checking for $ac_header" >&5
14882 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14883 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14884 echo $ECHO_N "(cached) $ECHO_C" >&6
14886 cat >conftest.
$ac_ext <<_ACEOF
14887 #line 14887 "configure"
14888 #include "confdefs.h"
14889 #include <$ac_header>
14891 if { (eval echo "$as_me:14891: \"$ac_cpp conftest.$ac_ext\"") >&5
14892 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14894 egrep -v '^ *\+' conftest.er1
>conftest.err
14896 cat conftest.err
>&5
14897 echo "$as_me:14897: \$? = $ac_status" >&5
14898 (exit $ac_status); } >/dev
/null
; then
14899 if test -s conftest.err
; then
14900 ac_cpp_err
=$ac_c_preproc_warn_flag
14907 if test -z "$ac_cpp_err"; then
14908 eval "$as_ac_Header=yes"
14910 echo "$as_me: failed program was:" >&5
14911 cat conftest.
$ac_ext >&5
14912 eval "$as_ac_Header=no"
14914 rm -f conftest.err conftest.
$ac_ext
14916 echo "$as_me:14916: result: `eval echo '${'$as_ac_Header'}'`" >&5
14917 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14918 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14919 cat >>confdefs.h
<<EOF
14920 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14926 echo "$as_me:14926: checking for windows.h" >&5
14927 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
14928 if test "${ac_cv_header_windows_h+set}" = set; then
14929 echo $ECHO_N "(cached) $ECHO_C" >&6
14931 cat >conftest.
$ac_ext <<_ACEOF
14932 #line 14932 "configure"
14933 #include "confdefs.h"
14934 #include <windows.h>
14936 if { (eval echo "$as_me:14936: \"$ac_cpp conftest.$ac_ext\"") >&5
14937 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14939 egrep -v '^ *\+' conftest.er1
>conftest.err
14941 cat conftest.err
>&5
14942 echo "$as_me:14942: \$? = $ac_status" >&5
14943 (exit $ac_status); } >/dev
/null
; then
14944 if test -s conftest.err
; then
14945 ac_cpp_err
=$ac_c_preproc_warn_flag
14952 if test -z "$ac_cpp_err"; then
14953 ac_cv_header_windows_h
=yes
14955 echo "$as_me: failed program was:" >&5
14956 cat conftest.
$ac_ext >&5
14957 ac_cv_header_windows_h
=no
14959 rm -f conftest.err conftest.
$ac_ext
14961 echo "$as_me:14961: result: $ac_cv_header_windows_h" >&5
14962 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
14963 if test $ac_cv_header_windows_h = yes; then
14967 { { echo "$as_me:14967: error: please set CFLAGS to contain the location of windows.h" >&5
14968 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
14969 { (exit 1); exit 1; }; }
14973 echo "$as_me:14973: checking if w32api has good enough MSIE support" >&5
14974 echo $ECHO_N "checking if w32api has good enough MSIE support... $ECHO_C" >&6
14975 if test "${wx_cv_w32api_win32_ie+set}" = set; then
14976 echo $ECHO_N "(cached) $ECHO_C" >&6
14979 cat >conftest.
$ac_ext <<_ACEOF
14980 #line 14980 "configure"
14981 #include "confdefs.h"
14982 #include <w32api.h>
14987 #define wxCHECK_W32API_VERSION( major, minor ) \
14988 ( defined( __W32API_MAJOR_VERSION ) && defined( __W32API_MINOR_VERSION ) \
14989 && ( ( __W32API_MAJOR_VERSION > (major) ) \
14990 || ( __W32API_MAJOR_VERSION == (major) && __W32API_MINOR_VERSION >= (minor))))
14992 #if !wxCHECK_W32API_VERSION(1,1)
14993 #error You need w32api 1.1 or newer
15000 rm -f conftest.
$ac_objext
15001 if { (eval echo "$as_me:15001: \"$ac_compile\"") >&5
15002 (eval $ac_compile) 2>&5
15004 echo "$as_me:15004: \$? = $ac_status" >&5
15005 (exit $ac_status); } &&
15006 { ac_try
='test -s conftest.$ac_objext'
15007 { (eval echo "$as_me:15007: \"$ac_try\"") >&5
15008 (eval $ac_try) 2>&5
15010 echo "$as_me:15010: \$? = $ac_status" >&5
15011 (exit $ac_status); }; }; then
15013 wx_cv_w32api_win32_ie
=yes
15016 echo "$as_me: failed program was:" >&5
15017 cat conftest.
$ac_ext >&5
15019 wx_cv_w32api_win32_ie
=no
15022 rm -f conftest.
$ac_objext conftest.
$ac_ext
15025 echo "$as_me:15025: result: $wx_cv_w32api_win32_ie" >&5
15026 echo "${ECHO_T}$wx_cv_w32api_win32_ie" >&6
15027 if test "$wx_cv_w32api_win32_ie" = "yes" ; then
15028 CPPFLAGS
="$CPPFLAGS -D_WIN32_IE=0x400"
15031 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
15035 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32"
15036 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
15039 if test "$wxUSE_ODBC" = "yes" ; then
15040 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
15043 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
15044 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
15047 if test "$wxUSE_GUI" = "yes"; then
15056 if test "$wxUSE_MSW" = 1 ; then
15062 LDFLAGS
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
15066 if test "$wxUSE_GTK" = 1; then
15067 echo "$as_me:15067: checking for GTK+ version" >&5
15068 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
15070 gtk_version_cached
=1
15071 if test "${wx_cv_lib_gtk+set}" = set; then
15072 echo $ECHO_N "(cached) $ECHO_C" >&6
15075 gtk_version_cached
=0
15076 echo "$as_me:15076: result: " >&5
15077 echo "${ECHO_T}" >&6
15080 if test "$wxUSE_THREADS" = "yes"; then
15081 GTK_MODULES
=gthread
15085 if test "x$wxUSE_GTK2" = "xyes"; then
15086 # Check whether --enable-gtktest or --disable-gtktest was given.
15087 if test "${enable_gtktest+set}" = set; then
15088 enableval
="$enable_gtktest"
15094 pkg_config_args
=gtk
+-2.0
15095 for module
in .
$GTK_MODULES
15099 pkg_config_args
="$pkg_config_args gthread-2.0"
15106 # Extract the first word of "pkg-config", so it can be a program name with args.
15107 set dummy pkg
-config; ac_word
=$2
15108 echo "$as_me:15108: checking for $ac_word" >&5
15109 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15110 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
15111 echo $ECHO_N "(cached) $ECHO_C" >&6
15113 case $PKG_CONFIG in
15115 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
15118 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
15120 for ac_dir
in $ac_dummy; do
15122 test -z "$ac_dir" && ac_dir
=.
15123 if $as_executable_p "$ac_dir/$ac_word"; then
15124 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
15125 echo "$as_me:15125: found $ac_dir/$ac_word" >&5
15130 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
15134 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
15136 if test -n "$PKG_CONFIG"; then
15137 echo "$as_me:15137: result: $PKG_CONFIG" >&5
15138 echo "${ECHO_T}$PKG_CONFIG" >&6
15140 echo "$as_me:15140: result: no" >&5
15141 echo "${ECHO_T}no" >&6
15144 if test x
$PKG_CONFIG != xno
; then
15145 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
15148 echo *** pkg
-config too old
; version
0.7 or better required.
15156 min_gtk_version
=2.0.0
15157 echo "$as_me:15157: checking for GTK+ - version >= $min_gtk_version" >&5
15158 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
15160 if test x
$PKG_CONFIG != xno
; then
15161 ## don't try to run the test against uninstalled libtool libs
15162 if $PKG_CONFIG --uninstalled $pkg_config_args; then
15163 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
15167 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
15174 if test x
"$no_gtk" = x
; then
15175 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
15176 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
15177 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
15178 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
15179 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
15180 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
15181 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
15182 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
15183 if test "x$enable_gtktest" = "xyes" ; then
15184 ac_save_CFLAGS
="$CFLAGS"
15185 ac_save_LIBS
="$LIBS"
15186 CFLAGS
="$CFLAGS $GTK_CFLAGS"
15187 LIBS
="$GTK_LIBS $LIBS"
15189 if test "$cross_compiling" = yes; then
15190 echo $ac_n "cross compiling; assumed OK... $ac_c"
15192 cat >conftest.
$ac_ext <<_ACEOF
15193 #line 15193 "configure"
15194 #include "confdefs.h"
15196 #include <gtk/gtk.h>
15198 #include <stdlib.h>
15203 int major, minor, micro;
15206 system ("touch conf.gtktest");
15208 /* HP/UX 9 (%@#!) writes to sscanf strings */
15209 tmp_version = g_strdup("$min_gtk_version");
15210 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
15211 printf("%s, bad version string\n", "$min_gtk_version");
15215 if ((gtk_major_version != $gtk_config_major_version) ||
15216 (gtk_minor_version != $gtk_config_minor_version) ||
15217 (gtk_micro_version != $gtk_config_micro_version))
15219 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
15220 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
15221 gtk_major_version, gtk_minor_version, gtk_micro_version);
15222 printf ("*** was found! If pkg-config was correct, then it is best\n");
15223 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
15224 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
15225 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
15226 printf("*** required on your system.\n");
15227 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
15228 printf("*** to point to the correct configuration files\n");
15230 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
15231 (gtk_minor_version != GTK_MINOR_VERSION) ||
15232 (gtk_micro_version != GTK_MICRO_VERSION))
15234 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
15235 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
15236 printf("*** library (version %d.%d.%d)\n",
15237 gtk_major_version, gtk_minor_version, gtk_micro_version);
15241 if ((gtk_major_version > major) ||
15242 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
15243 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
15249 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
15250 gtk_major_version, gtk_minor_version, gtk_micro_version);
15251 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
15252 major, minor, micro);
15253 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
15255 printf("*** If you have already installed a sufficiently new version, this error\n");
15256 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
15257 printf("*** being found. The easiest way to fix this is to remove the old version\n");
15258 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
15259 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
15260 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
15261 printf("*** so that the correct libraries are found at run-time))\n");
15268 rm -f conftest
$ac_exeext
15269 if { (eval echo "$as_me:15269: \"$ac_link\"") >&5
15270 (eval $ac_link) 2>&5
15272 echo "$as_me:15272: \$? = $ac_status" >&5
15273 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15274 { (eval echo "$as_me:15274: \"$ac_try\"") >&5
15275 (eval $ac_try) 2>&5
15277 echo "$as_me:15277: \$? = $ac_status" >&5
15278 (exit $ac_status); }; }; then
15281 echo "$as_me: program exited with status $ac_status" >&5
15282 echo "$as_me: failed program was:" >&5
15283 cat conftest.
$ac_ext >&5
15286 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15288 CFLAGS
="$ac_save_CFLAGS"
15289 LIBS
="$ac_save_LIBS"
15292 if test "x$no_gtk" = x
; then
15293 echo "$as_me:15293: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
15294 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
15297 echo "$as_me:15297: result: no" >&5
15298 echo "${ECHO_T}no" >&6
15299 if test "$PKG_CONFIG" = "no" ; then
15300 echo "*** A new enough version of pkg-config was not found."
15301 echo "*** See http://pkgconfig.sourceforge.net"
15303 if test -f conf.gtktest
; then
15306 echo "*** Could not run GTK+ test program, checking why..."
15307 CFLAGS
="$CFLAGS $GTK_CFLAGS"
15308 LIBS
="$LIBS $GTK_LIBS"
15309 cat >conftest.
$ac_ext <<_ACEOF
15310 #line 15310 "configure"
15311 #include "confdefs.h"
15313 #include <gtk/gtk.h>
15319 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
15324 rm -f conftest.
$ac_objext conftest
$ac_exeext
15325 if { (eval echo "$as_me:15325: \"$ac_link\"") >&5
15326 (eval $ac_link) 2>&5
15328 echo "$as_me:15328: \$? = $ac_status" >&5
15329 (exit $ac_status); } &&
15330 { ac_try
='test -s conftest$ac_exeext'
15331 { (eval echo "$as_me:15331: \"$ac_try\"") >&5
15332 (eval $ac_try) 2>&5
15334 echo "$as_me:15334: \$? = $ac_status" >&5
15335 (exit $ac_status); }; }; then
15336 echo "*** The test program compiled, but did not run. This usually means"
15337 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
15338 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
15339 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
15340 echo "*** to the installed location Also, make sure you have run ldconfig if that"
15341 echo "*** is required on your system"
15343 echo "*** If you have an old version installed, it is best to remove it, although"
15344 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
15346 echo "$as_me: failed program was:" >&5
15347 cat conftest.
$ac_ext >&5
15348 echo "*** The test program failed to compile or link. See the file config.log for the"
15349 echo "*** exact error that occured. This usually means GTK+ was incorrectly installed"
15350 echo "*** or that you have moved GTK+ since it was installed. In the latter case, you"
15351 echo "*** may want to edit the pkg-config script: $PKG_CONFIG"
15353 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
15354 CFLAGS
="$ac_save_CFLAGS"
15355 LIBS
="$ac_save_LIBS"
15367 if test -z "$wx_cv_lib_gtk"; then
15369 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
15370 if test "${with_gtk_prefix+set}" = set; then
15371 withval
="$with_gtk_prefix"
15372 gtk_config_prefix
="$withval"
15374 gtk_config_prefix
=""
15377 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
15378 if test "${with_gtk_exec_prefix+set}" = set; then
15379 withval
="$with_gtk_exec_prefix"
15380 gtk_config_exec_prefix
="$withval"
15382 gtk_config_exec_prefix
=""
15384 # Check whether --enable-gtktest or --disable-gtktest was given.
15385 if test "${enable_gtktest+set}" = set; then
15386 enableval
="$enable_gtktest"
15392 for module
in .
$GTK_MODULES
15396 gtk_config_args
="$gtk_config_args gthread"
15401 if test x
$gtk_config_exec_prefix != x
; then
15402 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
15403 if test x
${GTK_CONFIG+set} != xset
; then
15404 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
15407 if test x
$gtk_config_prefix != x
; then
15408 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
15409 if test x
${GTK_CONFIG+set} != xset
; then
15410 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
15414 # Extract the first word of "gtk-config", so it can be a program name with args.
15415 set dummy gtk
-config; ac_word
=$2
15416 echo "$as_me:15416: checking for $ac_word" >&5
15417 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15418 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
15419 echo $ECHO_N "(cached) $ECHO_C" >&6
15421 case $GTK_CONFIG in
15423 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
15426 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
15428 for ac_dir
in $ac_dummy; do
15430 test -z "$ac_dir" && ac_dir
=.
15431 if $as_executable_p "$ac_dir/$ac_word"; then
15432 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
15433 echo "$as_me:15433: found $ac_dir/$ac_word" >&5
15438 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
15442 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
15444 if test -n "$GTK_CONFIG"; then
15445 echo "$as_me:15445: result: $GTK_CONFIG" >&5
15446 echo "${ECHO_T}$GTK_CONFIG" >&6
15448 echo "$as_me:15448: result: no" >&5
15449 echo "${ECHO_T}no" >&6
15452 min_gtk_version
=1.2.7
15453 echo "$as_me:15453: checking for GTK - version >= $min_gtk_version" >&5
15454 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
15456 if test "$GTK_CONFIG" = "no" ; then
15459 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
15460 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
15461 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
15462 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
15463 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
15464 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
15465 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
15466 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
15467 if test "x$enable_gtktest" = "xyes" ; then
15468 ac_save_CFLAGS
="$CFLAGS"
15469 ac_save_LIBS
="$LIBS"
15470 CFLAGS
="$CFLAGS $GTK_CFLAGS"
15471 LIBS
="$GTK_LIBS $LIBS"
15473 if test "$cross_compiling" = yes; then
15474 echo $ac_n "cross compiling; assumed OK... $ac_c"
15476 cat >conftest.
$ac_ext <<_ACEOF
15477 #line 15477 "configure"
15478 #include "confdefs.h"
15480 #include <gtk/gtk.h>
15482 #include <stdlib.h>
15487 int major, minor, micro;
15490 system ("touch conf.gtktest");
15492 /* HP/UX 9 (%@#!) writes to sscanf strings */
15493 tmp_version = g_strdup("$min_gtk_version");
15494 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
15495 printf("%s, bad version string\n", "$min_gtk_version");
15499 if ((gtk_major_version != $gtk_config_major_version) ||
15500 (gtk_minor_version != $gtk_config_minor_version) ||
15501 (gtk_micro_version != $gtk_config_micro_version))
15503 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
15504 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
15505 gtk_major_version, gtk_minor_version, gtk_micro_version);
15506 printf ("*** was found! If gtk-config was correct, then it is best\n");
15507 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
15508 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
15509 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
15510 printf("*** required on your system.\n");
15511 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
15512 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
15513 printf("*** before re-running configure\n");
15515 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
15516 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
15517 (gtk_minor_version != GTK_MINOR_VERSION) ||
15518 (gtk_micro_version != GTK_MICRO_VERSION))
15520 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
15521 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
15522 printf("*** library (version %d.%d.%d)\n",
15523 gtk_major_version, gtk_minor_version, gtk_micro_version);
15525 #endif /* defined (GTK_MAJOR_VERSION) ... */
15528 if ((gtk_major_version > major) ||
15529 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
15530 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
15536 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
15537 gtk_major_version, gtk_minor_version, gtk_micro_version);
15538 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
15539 major, minor, micro);
15540 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
15542 printf("*** If you have already installed a sufficiently new version, this error\n");
15543 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
15544 printf("*** being found. The easiest way to fix this is to remove the old version\n");
15545 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
15546 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
15547 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
15548 printf("*** so that the correct libraries are found at run-time))\n");
15555 rm -f conftest
$ac_exeext
15556 if { (eval echo "$as_me:15556: \"$ac_link\"") >&5
15557 (eval $ac_link) 2>&5
15559 echo "$as_me:15559: \$? = $ac_status" >&5
15560 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15561 { (eval echo "$as_me:15561: \"$ac_try\"") >&5
15562 (eval $ac_try) 2>&5
15564 echo "$as_me:15564: \$? = $ac_status" >&5
15565 (exit $ac_status); }; }; then
15568 echo "$as_me: program exited with status $ac_status" >&5
15569 echo "$as_me: failed program was:" >&5
15570 cat conftest.
$ac_ext >&5
15573 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15575 CFLAGS
="$ac_save_CFLAGS"
15576 LIBS
="$ac_save_LIBS"
15579 if test "x$no_gtk" = x
; then
15580 echo "$as_me:15580: result: yes" >&5
15581 echo "${ECHO_T}yes" >&6
15582 wx_cv_lib_gtk
=1.2.7
15584 echo "$as_me:15584: result: no" >&5
15585 echo "${ECHO_T}no" >&6
15586 if test "$GTK_CONFIG" = "no" ; then
15587 echo "*** The gtk-config script installed by GTK could not be found"
15588 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
15589 echo "*** your path, or set the GTK_CONFIG environment variable to the"
15590 echo "*** full path to gtk-config."
15592 if test -f conf.gtktest
; then
15595 echo "*** Could not run GTK test program, checking why..."
15596 CFLAGS
="$CFLAGS $GTK_CFLAGS"
15597 LIBS
="$LIBS $GTK_LIBS"
15598 cat >conftest.
$ac_ext <<_ACEOF
15599 #line 15599 "configure"
15600 #include "confdefs.h"
15602 #include <gtk/gtk.h>
15608 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
15613 rm -f conftest.
$ac_objext conftest
$ac_exeext
15614 if { (eval echo "$as_me:15614: \"$ac_link\"") >&5
15615 (eval $ac_link) 2>&5
15617 echo "$as_me:15617: \$? = $ac_status" >&5
15618 (exit $ac_status); } &&
15619 { ac_try
='test -s conftest$ac_exeext'
15620 { (eval echo "$as_me:15620: \"$ac_try\"") >&5
15621 (eval $ac_try) 2>&5
15623 echo "$as_me:15623: \$? = $ac_status" >&5
15624 (exit $ac_status); }; }; then
15625 echo "*** The test program compiled, but did not run. This usually means"
15626 echo "*** that the run-time linker is not finding GTK or finding the wrong"
15627 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
15628 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
15629 echo "*** to the installed location Also, make sure you have run ldconfig if that"
15630 echo "*** is required on your system"
15632 echo "*** If you have an old version installed, it is best to remove it, although"
15633 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
15635 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
15636 echo "*** came with the system with the command"
15638 echo "*** rpm --erase --nodeps gtk gtk-devel"
15640 echo "$as_me: failed program was:" >&5
15641 cat conftest.
$ac_ext >&5
15642 echo "*** The test program failed to compile or link. See the file config.log for the"
15643 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
15644 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
15645 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
15647 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
15648 CFLAGS
="$ac_save_CFLAGS"
15649 LIBS
="$ac_save_LIBS"
15661 if test -z "$wx_cv_lib_gtk"; then
15663 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
15664 if test "${with_gtk_prefix+set}" = set; then
15665 withval
="$with_gtk_prefix"
15666 gtk_config_prefix
="$withval"
15668 gtk_config_prefix
=""
15671 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
15672 if test "${with_gtk_exec_prefix+set}" = set; then
15673 withval
="$with_gtk_exec_prefix"
15674 gtk_config_exec_prefix
="$withval"
15676 gtk_config_exec_prefix
=""
15678 # Check whether --enable-gtktest or --disable-gtktest was given.
15679 if test "${enable_gtktest+set}" = set; then
15680 enableval
="$enable_gtktest"
15686 for module
in .
$GTK_MODULES
15690 gtk_config_args
="$gtk_config_args gthread"
15695 if test x
$gtk_config_exec_prefix != x
; then
15696 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
15697 if test x
${GTK_CONFIG+set} != xset
; then
15698 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
15701 if test x
$gtk_config_prefix != x
; then
15702 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
15703 if test x
${GTK_CONFIG+set} != xset
; then
15704 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
15708 # Extract the first word of "gtk-config", so it can be a program name with args.
15709 set dummy gtk
-config; ac_word
=$2
15710 echo "$as_me:15710: checking for $ac_word" >&5
15711 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15712 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
15713 echo $ECHO_N "(cached) $ECHO_C" >&6
15715 case $GTK_CONFIG in
15717 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
15720 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
15722 for ac_dir
in $ac_dummy; do
15724 test -z "$ac_dir" && ac_dir
=.
15725 if $as_executable_p "$ac_dir/$ac_word"; then
15726 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
15727 echo "$as_me:15727: found $ac_dir/$ac_word" >&5
15732 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
15736 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
15738 if test -n "$GTK_CONFIG"; then
15739 echo "$as_me:15739: result: $GTK_CONFIG" >&5
15740 echo "${ECHO_T}$GTK_CONFIG" >&6
15742 echo "$as_me:15742: result: no" >&5
15743 echo "${ECHO_T}no" >&6
15746 min_gtk_version
=1.2.3
15747 echo "$as_me:15747: checking for GTK - version >= $min_gtk_version" >&5
15748 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
15750 if test "$GTK_CONFIG" = "no" ; then
15753 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
15754 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
15755 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
15756 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
15757 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
15758 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
15759 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
15760 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
15761 if test "x$enable_gtktest" = "xyes" ; then
15762 ac_save_CFLAGS
="$CFLAGS"
15763 ac_save_LIBS
="$LIBS"
15764 CFLAGS
="$CFLAGS $GTK_CFLAGS"
15765 LIBS
="$GTK_LIBS $LIBS"
15767 if test "$cross_compiling" = yes; then
15768 echo $ac_n "cross compiling; assumed OK... $ac_c"
15770 cat >conftest.
$ac_ext <<_ACEOF
15771 #line 15771 "configure"
15772 #include "confdefs.h"
15774 #include <gtk/gtk.h>
15776 #include <stdlib.h>
15781 int major, minor, micro;
15784 system ("touch conf.gtktest");
15786 /* HP/UX 9 (%@#!) writes to sscanf strings */
15787 tmp_version = g_strdup("$min_gtk_version");
15788 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
15789 printf("%s, bad version string\n", "$min_gtk_version");
15793 if ((gtk_major_version != $gtk_config_major_version) ||
15794 (gtk_minor_version != $gtk_config_minor_version) ||
15795 (gtk_micro_version != $gtk_config_micro_version))
15797 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
15798 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
15799 gtk_major_version, gtk_minor_version, gtk_micro_version);
15800 printf ("*** was found! If gtk-config was correct, then it is best\n");
15801 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
15802 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
15803 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
15804 printf("*** required on your system.\n");
15805 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
15806 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
15807 printf("*** before re-running configure\n");
15809 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
15810 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
15811 (gtk_minor_version != GTK_MINOR_VERSION) ||
15812 (gtk_micro_version != GTK_MICRO_VERSION))
15814 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
15815 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
15816 printf("*** library (version %d.%d.%d)\n",
15817 gtk_major_version, gtk_minor_version, gtk_micro_version);
15819 #endif /* defined (GTK_MAJOR_VERSION) ... */
15822 if ((gtk_major_version > major) ||
15823 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
15824 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
15830 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
15831 gtk_major_version, gtk_minor_version, gtk_micro_version);
15832 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
15833 major, minor, micro);
15834 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
15836 printf("*** If you have already installed a sufficiently new version, this error\n");
15837 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
15838 printf("*** being found. The easiest way to fix this is to remove the old version\n");
15839 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
15840 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
15841 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
15842 printf("*** so that the correct libraries are found at run-time))\n");
15849 rm -f conftest
$ac_exeext
15850 if { (eval echo "$as_me:15850: \"$ac_link\"") >&5
15851 (eval $ac_link) 2>&5
15853 echo "$as_me:15853: \$? = $ac_status" >&5
15854 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15855 { (eval echo "$as_me:15855: \"$ac_try\"") >&5
15856 (eval $ac_try) 2>&5
15858 echo "$as_me:15858: \$? = $ac_status" >&5
15859 (exit $ac_status); }; }; then
15862 echo "$as_me: program exited with status $ac_status" >&5
15863 echo "$as_me: failed program was:" >&5
15864 cat conftest.
$ac_ext >&5
15867 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15869 CFLAGS
="$ac_save_CFLAGS"
15870 LIBS
="$ac_save_LIBS"
15873 if test "x$no_gtk" = x
; then
15874 echo "$as_me:15874: result: yes" >&5
15875 echo "${ECHO_T}yes" >&6
15876 wx_cv_lib_gtk
=1.2.3
15878 echo "$as_me:15878: result: no" >&5
15879 echo "${ECHO_T}no" >&6
15880 if test "$GTK_CONFIG" = "no" ; then
15881 echo "*** The gtk-config script installed by GTK could not be found"
15882 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
15883 echo "*** your path, or set the GTK_CONFIG environment variable to the"
15884 echo "*** full path to gtk-config."
15886 if test -f conf.gtktest
; then
15889 echo "*** Could not run GTK test program, checking why..."
15890 CFLAGS
="$CFLAGS $GTK_CFLAGS"
15891 LIBS
="$LIBS $GTK_LIBS"
15892 cat >conftest.
$ac_ext <<_ACEOF
15893 #line 15893 "configure"
15894 #include "confdefs.h"
15896 #include <gtk/gtk.h>
15902 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
15907 rm -f conftest.
$ac_objext conftest
$ac_exeext
15908 if { (eval echo "$as_me:15908: \"$ac_link\"") >&5
15909 (eval $ac_link) 2>&5
15911 echo "$as_me:15911: \$? = $ac_status" >&5
15912 (exit $ac_status); } &&
15913 { ac_try
='test -s conftest$ac_exeext'
15914 { (eval echo "$as_me:15914: \"$ac_try\"") >&5
15915 (eval $ac_try) 2>&5
15917 echo "$as_me:15917: \$? = $ac_status" >&5
15918 (exit $ac_status); }; }; then
15919 echo "*** The test program compiled, but did not run. This usually means"
15920 echo "*** that the run-time linker is not finding GTK or finding the wrong"
15921 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
15922 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
15923 echo "*** to the installed location Also, make sure you have run ldconfig if that"
15924 echo "*** is required on your system"
15926 echo "*** If you have an old version installed, it is best to remove it, although"
15927 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
15929 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
15930 echo "*** came with the system with the command"
15932 echo "*** rpm --erase --nodeps gtk gtk-devel"
15934 echo "$as_me: failed program was:" >&5
15935 cat conftest.
$ac_ext >&5
15936 echo "*** The test program failed to compile or link. See the file config.log for the"
15937 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
15938 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
15939 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
15941 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
15942 CFLAGS
="$ac_save_CFLAGS"
15943 LIBS
="$ac_save_LIBS"
15955 if test -z "$wx_cv_lib_gtk"; then
15958 wx_cv_cflags_gtk
=$GTK_CFLAGS
15959 wx_cv_libs_gtk
=$GTK_LIBS
15964 if test "$gtk_version_cached" = 1; then
15965 echo "$as_me:15965: result: $wx_cv_lib_gtk" >&5
15966 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
15969 case "$wx_cv_lib_gtk" in
15977 *) { { echo "$as_me:15977: error:
15978 Please check that gtk-config is in path, the directory
15979 where GTK+ libraries are installed (returned by
15980 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
15981 equivalent variable and GTK+ is version 1.2.3 or above.
15983 echo "$as_me: error:
15984 Please check that gtk-config is in path, the directory
15985 where GTK+ libraries are installed (returned by
15986 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
15987 equivalent variable and GTK+ is version 1.2.3 or above.
15989 { (exit 1); exit 1; }; }
15993 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
15994 GUI_TK_LIBRARY
="$wx_cv_libs_gtk"
15995 if test "$WXGTK20" = 1 ; then
15996 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lpangoft2-1.0"
15999 AFMINSTALL
=afminstall
16003 echo "$as_me:16003: checking for gdk_im_open in -lgdk" >&5
16004 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
16005 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
16006 echo $ECHO_N "(cached) $ECHO_C" >&6
16008 ac_check_lib_save_LIBS
=$LIBS
16010 cat >conftest.
$ac_ext <<_ACEOF
16011 #line 16011 "configure"
16012 #include "confdefs.h"
16014 /* Override any gcc2 internal prototype to avoid an error. */
16018 /* We use char because int might match the return type of a gcc2
16019 builtin and then its argument prototype would still apply. */
16020 char gdk_im_open ();
16029 rm -f conftest.
$ac_objext conftest
$ac_exeext
16030 if { (eval echo "$as_me:16030: \"$ac_link\"") >&5
16031 (eval $ac_link) 2>&5
16033 echo "$as_me:16033: \$? = $ac_status" >&5
16034 (exit $ac_status); } &&
16035 { ac_try
='test -s conftest$ac_exeext'
16036 { (eval echo "$as_me:16036: \"$ac_try\"") >&5
16037 (eval $ac_try) 2>&5
16039 echo "$as_me:16039: \$? = $ac_status" >&5
16040 (exit $ac_status); }; }; then
16041 ac_cv_lib_gdk_gdk_im_open
=yes
16043 echo "$as_me: failed program was:" >&5
16044 cat conftest.
$ac_ext >&5
16045 ac_cv_lib_gdk_gdk_im_open
=no
16047 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
16048 LIBS
=$ac_check_lib_save_LIBS
16050 echo "$as_me:16050: result: $ac_cv_lib_gdk_gdk_im_open" >&5
16051 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
16052 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
16053 cat >>confdefs.h
<<\EOF
16061 if test "$wxUSE_MGL" = 1; then
16062 echo "$as_me:16062: checking for SciTech MGL library" >&5
16063 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
16064 if test "x$MGL_ROOT" = x
; then
16065 echo "$as_me:16065: result: not found" >&5
16066 echo "${ECHO_T}not found" >&6
16067 { { echo "$as_me:16067: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
16068 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
16069 { (exit 1); exit 1; }; }
16071 echo "$as_me:16071: result: $MGL_ROOT" >&5
16072 echo "${ECHO_T}$MGL_ROOT" >&6
16077 mgl_os
=linux
/gcc
/glibc
16083 { { echo "$as_me:16083: error: This system type ${host} is not yet supported by wxMGL." >&5
16084 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
16085 { (exit 1); exit 1; }; }
16090 if test "$wxUSE_DEBUG_FLAG" = yes ; then
16091 if test -f $MGL_ROOT/lib
/debug
/$mgl_os/libmgl.a
-o \
16092 -f $MGL_ROOT/lib
/debug
/$mgl_os/libmgl.so
; then
16096 if test "x$mgl_lib_type" = x
; then
16097 if test -f $MGL_ROOT/lib
/release
/$mgl_os/libmgl.a
-o \
16098 -f $MGL_ROOT/lib
/release
/$mgl_os/libmgl.so
; then
16099 mgl_lib_type
=release
16101 { { echo "$as_me:16101: error: Cannot find MGL libraries, make sure they are compiled." >&5
16102 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
16103 { (exit 1); exit 1; }; }
16107 wxUSE_UNIVERSAL
="yes"
16109 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
16110 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
16112 AFMINSTALL
=afminstall
16117 if test "$wxUSE_MICROWIN" = 1; then
16118 echo "$as_me:16118: checking for MicroWindows" >&5
16119 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
16120 if test "x$MICROWINDOWS" = x
; then
16121 echo "$as_me:16121: result: not found" >&5
16122 echo "${ECHO_T}not found" >&6
16123 { { echo "$as_me:16123: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
16124 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
16125 { (exit 1); exit 1; }; }
16127 echo "$as_me:16127: result: $MICROWINDOWS" >&5
16128 echo "${ECHO_T}$MICROWINDOWS" >&6
16131 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
16132 echo "$as_me:16132: result: MicroWindows' libraries found." >&5
16133 echo "${ECHO_T}MicroWindows' libraries found." >&6
16135 { { echo "$as_me:16135: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
16136 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
16137 { (exit 1); exit 1; }; }
16140 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
16141 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
16143 wxUSE_UNIVERSAL
="yes"
16145 AFMINSTALL
=afminstall
16147 GUIDIST
=MICROWIN_DIST
16149 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
16152 if test "$wxUSE_X11" = 1; then
16153 echo "$as_me:16153: checking for X" >&5
16154 echo $ECHO_N "checking for X... $ECHO_C" >&6
16156 # Check whether --with-x or --without-x was given.
16157 if test "${with_x+set}" = set; then
16161 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
16162 if test "x$with_x" = xno
; then
16163 # The user explicitly disabled X.
16166 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
16167 # Both variables are already set.
16170 if test "${ac_cv_have_x+set}" = set; then
16171 echo $ECHO_N "(cached) $ECHO_C" >&6
16173 # One or both of the vars are not set, and there is no cached value.
16174 ac_x_includes
=no ac_x_libraries
=no
16175 rm -fr conftest.dir
16176 if mkdir conftest.dir
; then
16178 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
16179 cat >Imakefile
<<'EOF'
16181 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
16183 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
16184 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
16185 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
16186 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
16187 for ac_extension
in a so sl
; do
16188 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
16189 test -f $ac_im_libdir/libX11.
$ac_extension; then
16190 ac_im_usrlibdir
=$ac_im_libdir; break
16193 # Screen out bogus values from the imake configuration. They are
16194 # bogus both because they are the default anyway, and because
16195 # using them would break gcc on systems where it needs fixed includes.
16196 case $ac_im_incroot in
16198 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
16200 case $ac_im_usrlibdir in
16201 /usr
/lib
| /lib
) ;;
16202 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
16206 rm -fr conftest.dir
16209 # Standard set of common directories for X headers.
16210 # Check X11 before X11Rn because it is often a symlink to the current release.
16222 /usr/local/X11/include
16223 /usr/local/X11R6/include
16224 /usr/local/X11R5/include
16225 /usr/local/X11R4/include
16227 /usr/local/include/X11
16228 /usr/local/include/X11R6
16229 /usr/local/include/X11R5
16230 /usr/local/include/X11R4
16234 /usr/XFree86/include/X11
16238 /usr/unsupported/include
16239 /usr/athena/include
16240 /usr/local/x11r5/include
16241 /usr/lpp/Xamples/include
16243 /usr/openwin/include
16244 /usr/openwin/share/include'
16246 if test "$ac_x_includes" = no
; then
16247 # Guess where to find include files, by looking for Intrinsic.h.
16248 # First, try using that file with no special directory specified.
16249 cat >conftest.
$ac_ext <<_ACEOF
16250 #line 16250 "configure"
16251 #include "confdefs.h"
16252 #include <X11/Intrinsic.h>
16254 if { (eval echo "$as_me:16254: \"$ac_cpp conftest.$ac_ext\"") >&5
16255 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16257 egrep -v '^ *\+' conftest.er1
>conftest.err
16259 cat conftest.err
>&5
16260 echo "$as_me:16260: \$? = $ac_status" >&5
16261 (exit $ac_status); } >/dev
/null
; then
16262 if test -s conftest.err
; then
16263 ac_cpp_err
=$ac_c_preproc_warn_flag
16270 if test -z "$ac_cpp_err"; then
16271 # We can compile using X headers with no special include directory.
16274 echo "$as_me: failed program was:" >&5
16275 cat conftest.
$ac_ext >&5
16276 for ac_dir
in $ac_x_header_dirs; do
16277 if test -r "$ac_dir/X11/Intrinsic.h"; then
16278 ac_x_includes
=$ac_dir
16283 rm -f conftest.err conftest.
$ac_ext
16284 fi # $ac_x_includes = no
16286 if test "$ac_x_libraries" = no
; then
16287 # Check for the libraries.
16288 # See if we find them without any special options.
16289 # Don't add to $LIBS permanently.
16292 cat >conftest.
$ac_ext <<_ACEOF
16293 #line 16293 "configure"
16294 #include "confdefs.h"
16295 #include <X11/Intrinsic.h>
16304 rm -f conftest.
$ac_objext conftest
$ac_exeext
16305 if { (eval echo "$as_me:16305: \"$ac_link\"") >&5
16306 (eval $ac_link) 2>&5
16308 echo "$as_me:16308: \$? = $ac_status" >&5
16309 (exit $ac_status); } &&
16310 { ac_try
='test -s conftest$ac_exeext'
16311 { (eval echo "$as_me:16311: \"$ac_try\"") >&5
16312 (eval $ac_try) 2>&5
16314 echo "$as_me:16314: \$? = $ac_status" >&5
16315 (exit $ac_status); }; }; then
16317 # We can link X programs with no special library path.
16320 echo "$as_me: failed program was:" >&5
16321 cat conftest.
$ac_ext >&5
16323 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
16325 # Don't even attempt the hair of trying to link an X program!
16326 for ac_extension
in a so sl
; do
16327 if test -r $ac_dir/libXt.
$ac_extension; then
16328 ac_x_libraries
=$ac_dir
16334 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
16335 fi # $ac_x_libraries = no
16337 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
16338 # Didn't find X anywhere. Cache the known absence of X.
16339 ac_cv_have_x
="have_x=no"
16341 # Record where we found X for the cache.
16342 ac_cv_have_x
="have_x=yes \
16343 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
16348 eval "$ac_cv_have_x"
16351 if test "$have_x" != yes; then
16352 echo "$as_me:16352: result: $have_x" >&5
16353 echo "${ECHO_T}$have_x" >&6
16356 # If each of the values was on the command line, it overrides each guess.
16357 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
16358 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
16359 # Update the cache value to reflect the command line values.
16360 ac_cv_have_x
="have_x=yes \
16361 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
16362 echo "$as_me:16362: result: libraries $x_libraries, headers $x_includes" >&5
16363 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
16366 if test "$no_x" = yes; then
16367 # Not all programs may use this symbol, but it does not hurt to define it.
16369 cat >>confdefs.h
<<\EOF
16370 #define X_DISPLAY_MISSING 1
16373 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
16375 if test -n "$x_includes"; then
16376 X_CFLAGS
="$X_CFLAGS -I$x_includes"
16379 # It would also be nice to do this for all -L options, not just this one.
16380 if test -n "$x_libraries"; then
16381 X_LIBS
="$X_LIBS -L$x_libraries"
16382 # For Solaris; some versions of Sun CC require a space after -R and
16383 # others require no space. Words are not sufficient . . . .
16384 case `(uname -sr) 2>/dev/null` in
16386 echo "$as_me:16386: checking whether -R must be followed by a space" >&5
16387 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
16388 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
16389 cat >conftest.
$ac_ext <<_ACEOF
16390 #line 16390 "configure"
16391 #include "confdefs.h"
16401 rm -f conftest.
$ac_objext conftest
$ac_exeext
16402 if { (eval echo "$as_me:16402: \"$ac_link\"") >&5
16403 (eval $ac_link) 2>&5
16405 echo "$as_me:16405: \$? = $ac_status" >&5
16406 (exit $ac_status); } &&
16407 { ac_try
='test -s conftest$ac_exeext'
16408 { (eval echo "$as_me:16408: \"$ac_try\"") >&5
16409 (eval $ac_try) 2>&5
16411 echo "$as_me:16411: \$? = $ac_status" >&5
16412 (exit $ac_status); }; }; then
16415 echo "$as_me: failed program was:" >&5
16416 cat conftest.
$ac_ext >&5
16419 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
16420 if test $ac_R_nospace = yes; then
16421 echo "$as_me:16421: result: no" >&5
16422 echo "${ECHO_T}no" >&6
16423 X_LIBS
="$X_LIBS -R$x_libraries"
16425 LIBS
="$ac_xsave_LIBS -R $x_libraries"
16426 cat >conftest.
$ac_ext <<_ACEOF
16427 #line 16427 "configure"
16428 #include "confdefs.h"
16438 rm -f conftest.
$ac_objext conftest
$ac_exeext
16439 if { (eval echo "$as_me:16439: \"$ac_link\"") >&5
16440 (eval $ac_link) 2>&5
16442 echo "$as_me:16442: \$? = $ac_status" >&5
16443 (exit $ac_status); } &&
16444 { ac_try
='test -s conftest$ac_exeext'
16445 { (eval echo "$as_me:16445: \"$ac_try\"") >&5
16446 (eval $ac_try) 2>&5
16448 echo "$as_me:16448: \$? = $ac_status" >&5
16449 (exit $ac_status); }; }; then
16452 echo "$as_me: failed program was:" >&5
16453 cat conftest.
$ac_ext >&5
16456 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
16457 if test $ac_R_space = yes; then
16458 echo "$as_me:16458: result: yes" >&5
16459 echo "${ECHO_T}yes" >&6
16460 X_LIBS
="$X_LIBS -R $x_libraries"
16462 echo "$as_me:16462: result: neither works" >&5
16463 echo "${ECHO_T}neither works" >&6
16466 LIBS
=$ac_xsave_LIBS
16470 # Check for system-dependent libraries X programs must link with.
16471 # Do this before checking for the system-independent R6 libraries
16472 # (-lICE), since we may need -lsocket or whatever for X linking.
16474 if test "$ISC" = yes; then
16475 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
16477 # Martyn Johnson says this is needed for Ultrix, if the X
16478 # libraries were built with DECnet support. And Karl Berry says
16479 # the Alpha needs dnet_stub (dnet does not exist).
16480 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
16481 cat >conftest.
$ac_ext <<_ACEOF
16482 #line 16482 "configure"
16483 #include "confdefs.h"
16485 /* Override any gcc2 internal prototype to avoid an error. */
16489 /* We use char because int might match the return type of a gcc2
16490 builtin and then its argument prototype would still apply. */
16491 char XOpenDisplay ();
16500 rm -f conftest.
$ac_objext conftest
$ac_exeext
16501 if { (eval echo "$as_me:16501: \"$ac_link\"") >&5
16502 (eval $ac_link) 2>&5
16504 echo "$as_me:16504: \$? = $ac_status" >&5
16505 (exit $ac_status); } &&
16506 { ac_try
='test -s conftest$ac_exeext'
16507 { (eval echo "$as_me:16507: \"$ac_try\"") >&5
16508 (eval $ac_try) 2>&5
16510 echo "$as_me:16510: \$? = $ac_status" >&5
16511 (exit $ac_status); }; }; then
16514 echo "$as_me: failed program was:" >&5
16515 cat conftest.
$ac_ext >&5
16516 echo "$as_me:16516: checking for dnet_ntoa in -ldnet" >&5
16517 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
16518 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
16519 echo $ECHO_N "(cached) $ECHO_C" >&6
16521 ac_check_lib_save_LIBS
=$LIBS
16522 LIBS
="-ldnet $LIBS"
16523 cat >conftest.
$ac_ext <<_ACEOF
16524 #line 16524 "configure"
16525 #include "confdefs.h"
16527 /* Override any gcc2 internal prototype to avoid an error. */
16531 /* We use char because int might match the return type of a gcc2
16532 builtin and then its argument prototype would still apply. */
16542 rm -f conftest.
$ac_objext conftest
$ac_exeext
16543 if { (eval echo "$as_me:16543: \"$ac_link\"") >&5
16544 (eval $ac_link) 2>&5
16546 echo "$as_me:16546: \$? = $ac_status" >&5
16547 (exit $ac_status); } &&
16548 { ac_try
='test -s conftest$ac_exeext'
16549 { (eval echo "$as_me:16549: \"$ac_try\"") >&5
16550 (eval $ac_try) 2>&5
16552 echo "$as_me:16552: \$? = $ac_status" >&5
16553 (exit $ac_status); }; }; then
16554 ac_cv_lib_dnet_dnet_ntoa
=yes
16556 echo "$as_me: failed program was:" >&5
16557 cat conftest.
$ac_ext >&5
16558 ac_cv_lib_dnet_dnet_ntoa
=no
16560 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
16561 LIBS
=$ac_check_lib_save_LIBS
16563 echo "$as_me:16563: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
16564 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
16565 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
16566 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
16569 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
16570 echo "$as_me:16570: checking for dnet_ntoa in -ldnet_stub" >&5
16571 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
16572 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
16573 echo $ECHO_N "(cached) $ECHO_C" >&6
16575 ac_check_lib_save_LIBS
=$LIBS
16576 LIBS
="-ldnet_stub $LIBS"
16577 cat >conftest.
$ac_ext <<_ACEOF
16578 #line 16578 "configure"
16579 #include "confdefs.h"
16581 /* Override any gcc2 internal prototype to avoid an error. */
16585 /* We use char because int might match the return type of a gcc2
16586 builtin and then its argument prototype would still apply. */
16596 rm -f conftest.
$ac_objext conftest
$ac_exeext
16597 if { (eval echo "$as_me:16597: \"$ac_link\"") >&5
16598 (eval $ac_link) 2>&5
16600 echo "$as_me:16600: \$? = $ac_status" >&5
16601 (exit $ac_status); } &&
16602 { ac_try
='test -s conftest$ac_exeext'
16603 { (eval echo "$as_me:16603: \"$ac_try\"") >&5
16604 (eval $ac_try) 2>&5
16606 echo "$as_me:16606: \$? = $ac_status" >&5
16607 (exit $ac_status); }; }; then
16608 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
16610 echo "$as_me: failed program was:" >&5
16611 cat conftest.
$ac_ext >&5
16612 ac_cv_lib_dnet_stub_dnet_ntoa
=no
16614 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
16615 LIBS
=$ac_check_lib_save_LIBS
16617 echo "$as_me:16617: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
16618 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
16619 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
16620 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
16625 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
16626 LIBS
="$ac_xsave_LIBS"
16628 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
16629 # to get the SysV transport functions.
16630 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
16632 # The nsl library prevents programs from opening the X display
16633 # on Irix 5.2, according to T.E. Dickey.
16634 # The functions gethostbyname, getservbyname, and inet_addr are
16635 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
16636 echo "$as_me:16636: checking for gethostbyname" >&5
16637 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
16638 if test "${ac_cv_func_gethostbyname+set}" = set; then
16639 echo $ECHO_N "(cached) $ECHO_C" >&6
16641 cat >conftest.
$ac_ext <<_ACEOF
16642 #line 16642 "configure"
16643 #include "confdefs.h"
16644 /* System header to define __stub macros and hopefully few prototypes,
16645 which can conflict with char gethostbyname (); below. */
16646 #include <assert.h>
16647 /* Override any gcc2 internal prototype to avoid an error. */
16651 /* We use char because int might match the return type of a gcc2
16652 builtin and then its argument prototype would still apply. */
16653 char gethostbyname ();
16659 /* The GNU C library defines this for functions which it implements
16660 to always fail with ENOSYS. Some functions are actually named
16661 something starting with __ and the normal name is an alias. */
16662 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
16672 rm -f conftest.
$ac_objext conftest
$ac_exeext
16673 if { (eval echo "$as_me:16673: \"$ac_link\"") >&5
16674 (eval $ac_link) 2>&5
16676 echo "$as_me:16676: \$? = $ac_status" >&5
16677 (exit $ac_status); } &&
16678 { ac_try
='test -s conftest$ac_exeext'
16679 { (eval echo "$as_me:16679: \"$ac_try\"") >&5
16680 (eval $ac_try) 2>&5
16682 echo "$as_me:16682: \$? = $ac_status" >&5
16683 (exit $ac_status); }; }; then
16684 ac_cv_func_gethostbyname
=yes
16686 echo "$as_me: failed program was:" >&5
16687 cat conftest.
$ac_ext >&5
16688 ac_cv_func_gethostbyname
=no
16690 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
16692 echo "$as_me:16692: result: $ac_cv_func_gethostbyname" >&5
16693 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
16695 if test $ac_cv_func_gethostbyname = no
; then
16696 echo "$as_me:16696: checking for gethostbyname in -lnsl" >&5
16697 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
16698 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
16699 echo $ECHO_N "(cached) $ECHO_C" >&6
16701 ac_check_lib_save_LIBS
=$LIBS
16703 cat >conftest.
$ac_ext <<_ACEOF
16704 #line 16704 "configure"
16705 #include "confdefs.h"
16707 /* Override any gcc2 internal prototype to avoid an error. */
16711 /* We use char because int might match the return type of a gcc2
16712 builtin and then its argument prototype would still apply. */
16713 char gethostbyname ();
16722 rm -f conftest.
$ac_objext conftest
$ac_exeext
16723 if { (eval echo "$as_me:16723: \"$ac_link\"") >&5
16724 (eval $ac_link) 2>&5
16726 echo "$as_me:16726: \$? = $ac_status" >&5
16727 (exit $ac_status); } &&
16728 { ac_try
='test -s conftest$ac_exeext'
16729 { (eval echo "$as_me:16729: \"$ac_try\"") >&5
16730 (eval $ac_try) 2>&5
16732 echo "$as_me:16732: \$? = $ac_status" >&5
16733 (exit $ac_status); }; }; then
16734 ac_cv_lib_nsl_gethostbyname
=yes
16736 echo "$as_me: failed program was:" >&5
16737 cat conftest.
$ac_ext >&5
16738 ac_cv_lib_nsl_gethostbyname
=no
16740 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
16741 LIBS
=$ac_check_lib_save_LIBS
16743 echo "$as_me:16743: result: $ac_cv_lib_nsl_gethostbyname" >&5
16744 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
16745 if test $ac_cv_lib_nsl_gethostbyname = yes; then
16746 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
16749 if test $ac_cv_lib_nsl_gethostbyname = no
; then
16750 echo "$as_me:16750: checking for gethostbyname in -lbsd" >&5
16751 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
16752 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
16753 echo $ECHO_N "(cached) $ECHO_C" >&6
16755 ac_check_lib_save_LIBS
=$LIBS
16757 cat >conftest.
$ac_ext <<_ACEOF
16758 #line 16758 "configure"
16759 #include "confdefs.h"
16761 /* Override any gcc2 internal prototype to avoid an error. */
16765 /* We use char because int might match the return type of a gcc2
16766 builtin and then its argument prototype would still apply. */
16767 char gethostbyname ();
16776 rm -f conftest.
$ac_objext conftest
$ac_exeext
16777 if { (eval echo "$as_me:16777: \"$ac_link\"") >&5
16778 (eval $ac_link) 2>&5
16780 echo "$as_me:16780: \$? = $ac_status" >&5
16781 (exit $ac_status); } &&
16782 { ac_try
='test -s conftest$ac_exeext'
16783 { (eval echo "$as_me:16783: \"$ac_try\"") >&5
16784 (eval $ac_try) 2>&5
16786 echo "$as_me:16786: \$? = $ac_status" >&5
16787 (exit $ac_status); }; }; then
16788 ac_cv_lib_bsd_gethostbyname
=yes
16790 echo "$as_me: failed program was:" >&5
16791 cat conftest.
$ac_ext >&5
16792 ac_cv_lib_bsd_gethostbyname
=no
16794 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
16795 LIBS
=$ac_check_lib_save_LIBS
16797 echo "$as_me:16797: result: $ac_cv_lib_bsd_gethostbyname" >&5
16798 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
16799 if test $ac_cv_lib_bsd_gethostbyname = yes; then
16800 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
16806 # lieder@skyler.mavd.honeywell.com says without -lsocket,
16807 # socket/setsockopt and other routines are undefined under SCO ODT
16808 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
16809 # on later versions), says Simon Leinen: it contains gethostby*
16810 # variants that don't use the nameserver (or something). -lsocket
16811 # must be given before -lnsl if both are needed. We assume that
16812 # if connect needs -lnsl, so does gethostbyname.
16813 echo "$as_me:16813: checking for connect" >&5
16814 echo $ECHO_N "checking for connect... $ECHO_C" >&6
16815 if test "${ac_cv_func_connect+set}" = set; then
16816 echo $ECHO_N "(cached) $ECHO_C" >&6
16818 cat >conftest.
$ac_ext <<_ACEOF
16819 #line 16819 "configure"
16820 #include "confdefs.h"
16821 /* System header to define __stub macros and hopefully few prototypes,
16822 which can conflict with char connect (); below. */
16823 #include <assert.h>
16824 /* Override any gcc2 internal prototype to avoid an error. */
16828 /* We use char because int might match the return type of a gcc2
16829 builtin and then its argument prototype would still apply. */
16836 /* The GNU C library defines this for functions which it implements
16837 to always fail with ENOSYS. Some functions are actually named
16838 something starting with __ and the normal name is an alias. */
16839 #if defined (__stub_connect) || defined (__stub___connect)
16849 rm -f conftest.
$ac_objext conftest
$ac_exeext
16850 if { (eval echo "$as_me:16850: \"$ac_link\"") >&5
16851 (eval $ac_link) 2>&5
16853 echo "$as_me:16853: \$? = $ac_status" >&5
16854 (exit $ac_status); } &&
16855 { ac_try
='test -s conftest$ac_exeext'
16856 { (eval echo "$as_me:16856: \"$ac_try\"") >&5
16857 (eval $ac_try) 2>&5
16859 echo "$as_me:16859: \$? = $ac_status" >&5
16860 (exit $ac_status); }; }; then
16861 ac_cv_func_connect
=yes
16863 echo "$as_me: failed program was:" >&5
16864 cat conftest.
$ac_ext >&5
16865 ac_cv_func_connect
=no
16867 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
16869 echo "$as_me:16869: result: $ac_cv_func_connect" >&5
16870 echo "${ECHO_T}$ac_cv_func_connect" >&6
16872 if test $ac_cv_func_connect = no
; then
16873 echo "$as_me:16873: checking for connect in -lsocket" >&5
16874 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
16875 if test "${ac_cv_lib_socket_connect+set}" = set; then
16876 echo $ECHO_N "(cached) $ECHO_C" >&6
16878 ac_check_lib_save_LIBS
=$LIBS
16879 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
16880 cat >conftest.
$ac_ext <<_ACEOF
16881 #line 16881 "configure"
16882 #include "confdefs.h"
16884 /* Override any gcc2 internal prototype to avoid an error. */
16888 /* We use char because int might match the return type of a gcc2
16889 builtin and then its argument prototype would still apply. */
16899 rm -f conftest.
$ac_objext conftest
$ac_exeext
16900 if { (eval echo "$as_me:16900: \"$ac_link\"") >&5
16901 (eval $ac_link) 2>&5
16903 echo "$as_me:16903: \$? = $ac_status" >&5
16904 (exit $ac_status); } &&
16905 { ac_try
='test -s conftest$ac_exeext'
16906 { (eval echo "$as_me:16906: \"$ac_try\"") >&5
16907 (eval $ac_try) 2>&5
16909 echo "$as_me:16909: \$? = $ac_status" >&5
16910 (exit $ac_status); }; }; then
16911 ac_cv_lib_socket_connect
=yes
16913 echo "$as_me: failed program was:" >&5
16914 cat conftest.
$ac_ext >&5
16915 ac_cv_lib_socket_connect
=no
16917 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
16918 LIBS
=$ac_check_lib_save_LIBS
16920 echo "$as_me:16920: result: $ac_cv_lib_socket_connect" >&5
16921 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
16922 if test $ac_cv_lib_socket_connect = yes; then
16923 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
16928 # Guillermo Gomez says -lposix is necessary on A/UX.
16929 echo "$as_me:16929: checking for remove" >&5
16930 echo $ECHO_N "checking for remove... $ECHO_C" >&6
16931 if test "${ac_cv_func_remove+set}" = set; then
16932 echo $ECHO_N "(cached) $ECHO_C" >&6
16934 cat >conftest.
$ac_ext <<_ACEOF
16935 #line 16935 "configure"
16936 #include "confdefs.h"
16937 /* System header to define __stub macros and hopefully few prototypes,
16938 which can conflict with char remove (); below. */
16939 #include <assert.h>
16940 /* Override any gcc2 internal prototype to avoid an error. */
16944 /* We use char because int might match the return type of a gcc2
16945 builtin and then its argument prototype would still apply. */
16952 /* The GNU C library defines this for functions which it implements
16953 to always fail with ENOSYS. Some functions are actually named
16954 something starting with __ and the normal name is an alias. */
16955 #if defined (__stub_remove) || defined (__stub___remove)
16965 rm -f conftest.
$ac_objext conftest
$ac_exeext
16966 if { (eval echo "$as_me:16966: \"$ac_link\"") >&5
16967 (eval $ac_link) 2>&5
16969 echo "$as_me:16969: \$? = $ac_status" >&5
16970 (exit $ac_status); } &&
16971 { ac_try
='test -s conftest$ac_exeext'
16972 { (eval echo "$as_me:16972: \"$ac_try\"") >&5
16973 (eval $ac_try) 2>&5
16975 echo "$as_me:16975: \$? = $ac_status" >&5
16976 (exit $ac_status); }; }; then
16977 ac_cv_func_remove
=yes
16979 echo "$as_me: failed program was:" >&5
16980 cat conftest.
$ac_ext >&5
16981 ac_cv_func_remove
=no
16983 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
16985 echo "$as_me:16985: result: $ac_cv_func_remove" >&5
16986 echo "${ECHO_T}$ac_cv_func_remove" >&6
16988 if test $ac_cv_func_remove = no
; then
16989 echo "$as_me:16989: checking for remove in -lposix" >&5
16990 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
16991 if test "${ac_cv_lib_posix_remove+set}" = set; then
16992 echo $ECHO_N "(cached) $ECHO_C" >&6
16994 ac_check_lib_save_LIBS
=$LIBS
16995 LIBS
="-lposix $LIBS"
16996 cat >conftest.
$ac_ext <<_ACEOF
16997 #line 16997 "configure"
16998 #include "confdefs.h"
17000 /* Override any gcc2 internal prototype to avoid an error. */
17004 /* We use char because int might match the return type of a gcc2
17005 builtin and then its argument prototype would still apply. */
17015 rm -f conftest.
$ac_objext conftest
$ac_exeext
17016 if { (eval echo "$as_me:17016: \"$ac_link\"") >&5
17017 (eval $ac_link) 2>&5
17019 echo "$as_me:17019: \$? = $ac_status" >&5
17020 (exit $ac_status); } &&
17021 { ac_try
='test -s conftest$ac_exeext'
17022 { (eval echo "$as_me:17022: \"$ac_try\"") >&5
17023 (eval $ac_try) 2>&5
17025 echo "$as_me:17025: \$? = $ac_status" >&5
17026 (exit $ac_status); }; }; then
17027 ac_cv_lib_posix_remove
=yes
17029 echo "$as_me: failed program was:" >&5
17030 cat conftest.
$ac_ext >&5
17031 ac_cv_lib_posix_remove
=no
17033 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
17034 LIBS
=$ac_check_lib_save_LIBS
17036 echo "$as_me:17036: result: $ac_cv_lib_posix_remove" >&5
17037 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
17038 if test $ac_cv_lib_posix_remove = yes; then
17039 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
17044 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
17045 echo "$as_me:17045: checking for shmat" >&5
17046 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
17047 if test "${ac_cv_func_shmat+set}" = set; then
17048 echo $ECHO_N "(cached) $ECHO_C" >&6
17050 cat >conftest.
$ac_ext <<_ACEOF
17051 #line 17051 "configure"
17052 #include "confdefs.h"
17053 /* System header to define __stub macros and hopefully few prototypes,
17054 which can conflict with char shmat (); below. */
17055 #include <assert.h>
17056 /* Override any gcc2 internal prototype to avoid an error. */
17060 /* We use char because int might match the return type of a gcc2
17061 builtin and then its argument prototype would still apply. */
17068 /* The GNU C library defines this for functions which it implements
17069 to always fail with ENOSYS. Some functions are actually named
17070 something starting with __ and the normal name is an alias. */
17071 #if defined (__stub_shmat) || defined (__stub___shmat)
17081 rm -f conftest.
$ac_objext conftest
$ac_exeext
17082 if { (eval echo "$as_me:17082: \"$ac_link\"") >&5
17083 (eval $ac_link) 2>&5
17085 echo "$as_me:17085: \$? = $ac_status" >&5
17086 (exit $ac_status); } &&
17087 { ac_try
='test -s conftest$ac_exeext'
17088 { (eval echo "$as_me:17088: \"$ac_try\"") >&5
17089 (eval $ac_try) 2>&5
17091 echo "$as_me:17091: \$? = $ac_status" >&5
17092 (exit $ac_status); }; }; then
17093 ac_cv_func_shmat
=yes
17095 echo "$as_me: failed program was:" >&5
17096 cat conftest.
$ac_ext >&5
17097 ac_cv_func_shmat
=no
17099 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
17101 echo "$as_me:17101: result: $ac_cv_func_shmat" >&5
17102 echo "${ECHO_T}$ac_cv_func_shmat" >&6
17104 if test $ac_cv_func_shmat = no
; then
17105 echo "$as_me:17105: checking for shmat in -lipc" >&5
17106 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
17107 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
17108 echo $ECHO_N "(cached) $ECHO_C" >&6
17110 ac_check_lib_save_LIBS
=$LIBS
17112 cat >conftest.
$ac_ext <<_ACEOF
17113 #line 17113 "configure"
17114 #include "confdefs.h"
17116 /* Override any gcc2 internal prototype to avoid an error. */
17120 /* We use char because int might match the return type of a gcc2
17121 builtin and then its argument prototype would still apply. */
17131 rm -f conftest.
$ac_objext conftest
$ac_exeext
17132 if { (eval echo "$as_me:17132: \"$ac_link\"") >&5
17133 (eval $ac_link) 2>&5
17135 echo "$as_me:17135: \$? = $ac_status" >&5
17136 (exit $ac_status); } &&
17137 { ac_try
='test -s conftest$ac_exeext'
17138 { (eval echo "$as_me:17138: \"$ac_try\"") >&5
17139 (eval $ac_try) 2>&5
17141 echo "$as_me:17141: \$? = $ac_status" >&5
17142 (exit $ac_status); }; }; then
17143 ac_cv_lib_ipc_shmat
=yes
17145 echo "$as_me: failed program was:" >&5
17146 cat conftest.
$ac_ext >&5
17147 ac_cv_lib_ipc_shmat
=no
17149 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
17150 LIBS
=$ac_check_lib_save_LIBS
17152 echo "$as_me:17152: result: $ac_cv_lib_ipc_shmat" >&5
17153 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
17154 if test $ac_cv_lib_ipc_shmat = yes; then
17155 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
17161 # Check for libraries that X11R6 Xt/Xaw programs need.
17162 ac_save_LDFLAGS
=$LDFLAGS
17163 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
17164 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
17165 # check for ICE first), but we must link in the order -lSM -lICE or
17166 # we get undefined symbols. So assume we have SM if we have ICE.
17167 # These have to be linked with before -lX11, unlike the other
17168 # libraries we check for below, so use a different variable.
17169 # John Interrante, Karl Berry
17170 echo "$as_me:17170: checking for IceConnectionNumber in -lICE" >&5
17171 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
17172 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
17173 echo $ECHO_N "(cached) $ECHO_C" >&6
17175 ac_check_lib_save_LIBS
=$LIBS
17176 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
17177 cat >conftest.
$ac_ext <<_ACEOF
17178 #line 17178 "configure"
17179 #include "confdefs.h"
17181 /* Override any gcc2 internal prototype to avoid an error. */
17185 /* We use char because int might match the return type of a gcc2
17186 builtin and then its argument prototype would still apply. */
17187 char IceConnectionNumber ();
17191 IceConnectionNumber ();
17196 rm -f conftest.
$ac_objext conftest
$ac_exeext
17197 if { (eval echo "$as_me:17197: \"$ac_link\"") >&5
17198 (eval $ac_link) 2>&5
17200 echo "$as_me:17200: \$? = $ac_status" >&5
17201 (exit $ac_status); } &&
17202 { ac_try
='test -s conftest$ac_exeext'
17203 { (eval echo "$as_me:17203: \"$ac_try\"") >&5
17204 (eval $ac_try) 2>&5
17206 echo "$as_me:17206: \$? = $ac_status" >&5
17207 (exit $ac_status); }; }; then
17208 ac_cv_lib_ICE_IceConnectionNumber
=yes
17210 echo "$as_me: failed program was:" >&5
17211 cat conftest.
$ac_ext >&5
17212 ac_cv_lib_ICE_IceConnectionNumber
=no
17214 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
17215 LIBS
=$ac_check_lib_save_LIBS
17217 echo "$as_me:17217: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
17218 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
17219 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
17220 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
17223 LDFLAGS
=$ac_save_LDFLAGS
17227 if test "$no_x" = "yes"; then
17228 { { echo "$as_me:17228: error: X11 not found" >&5
17229 echo "$as_me: error: X11 not found" >&2;}
17230 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
17233 GUI_TK_LIBRARY
="$X_LIBS"
17234 TOOLKIT_INCLUDE
="$X_CFLAGS"
17235 AFMINSTALL
=afminstall
17236 COMPILED_X_PROGRAM
=0
17238 if test "$wxUSE_NANOX" = "yes"; then
17239 echo "$as_me:17239: checking for MicroWindows/NanoX distribution" >&5
17240 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
17241 if test "x$MICROWIN" = x
; then
17242 echo "$as_me:17242: result: not found" >&5
17243 echo "${ECHO_T}not found" >&6
17244 { { echo "$as_me:17244: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
17245 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
17246 { (exit 1); exit 1; }; }
17248 echo "$as_me:17248: result: $MICROWIN" >&5
17249 echo "${ECHO_T}$MICROWIN" >&6
17250 cat >>confdefs.h
<<\EOF
17251 #define wxUSE_NANOX 1
17258 echo "$as_me:17258: checking for Xpm library" >&5
17259 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
17262 for ac_dir
in $SEARCH_LIB;
17264 for ac_extension
in a so sl dylib
; do
17265 if test -f "$ac_dir/libXpm.$ac_extension"; then
17266 ac_find_libraries
=$ac_dir
17272 if test "$ac_find_libraries" != "" ; then
17274 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
17276 if test $result = 0; then
17279 ac_path_to_link
=" -L$ac_find_libraries"
17282 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
17284 cat >>confdefs.h
<<\EOF
17285 #define wxHAVE_LIB_XPM 1
17288 echo "$as_me:17288: result: found at $ac_find_libraries" >&5
17289 echo "${ECHO_T}found at $ac_find_libraries" >&6
17291 cat >conftest.
$ac_ext <<_ACEOF
17292 #line 17292 "configure"
17293 #include "confdefs.h"
17295 #include <X11/xpm.h>
17302 version = XpmLibraryVersion();
17308 rm -f conftest.
$ac_objext
17309 if { (eval echo "$as_me:17309: \"$ac_compile\"") >&5
17310 (eval $ac_compile) 2>&5
17312 echo "$as_me:17312: \$? = $ac_status" >&5
17313 (exit $ac_status); } &&
17314 { ac_try
='test -s conftest.$ac_objext'
17315 { (eval echo "$as_me:17315: \"$ac_try\"") >&5
17316 (eval $ac_try) 2>&5
17318 echo "$as_me:17318: \$? = $ac_status" >&5
17319 (exit $ac_status); }; }; then
17322 cat >>confdefs.h
<<\EOF
17323 #define wxHAVE_LIB_XPM 1
17326 echo "$as_me:17326: result: found in default search path" >&5
17327 echo "${ECHO_T}found in default search path" >&6
17328 COMPILED_X_PROGRAM
=0
17331 echo "$as_me: failed program was:" >&5
17332 cat conftest.
$ac_ext >&5
17334 echo "$as_me:17334: result: no" >&5
17335 echo "${ECHO_T}no" >&6
17336 { echo "$as_me:17336: WARNING: library will be compiled without support for images in XPM format" >&5
17337 echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
17340 rm -f conftest.
$ac_objext conftest.
$ac_ext
17343 wxUSE_UNIVERSAL
="yes"
17345 if test "$wxUSE_NANOX" = "yes"; then
17346 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
17347 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"
17348 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
17350 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11$xpm_link"
17353 TOOLKIT_VPATH
="\${top_srcdir}/src/x11"
17358 if test "$wxUSE_WINE" = 1; then
17359 echo "$as_me:17359: checking for windows.h" >&5
17360 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
17361 if test "${ac_cv_header_windows_h+set}" = set; then
17362 echo $ECHO_N "(cached) $ECHO_C" >&6
17364 cat >conftest.
$ac_ext <<_ACEOF
17365 #line 17365 "configure"
17366 #include "confdefs.h"
17367 #include <windows.h>
17369 if { (eval echo "$as_me:17369: \"$ac_cpp conftest.$ac_ext\"") >&5
17370 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17372 egrep -v '^ *\+' conftest.er1
>conftest.err
17374 cat conftest.err
>&5
17375 echo "$as_me:17375: \$? = $ac_status" >&5
17376 (exit $ac_status); } >/dev
/null
; then
17377 if test -s conftest.err
; then
17378 ac_cpp_err
=$ac_c_preproc_warn_flag
17385 if test -z "$ac_cpp_err"; then
17386 ac_cv_header_windows_h
=yes
17388 echo "$as_me: failed program was:" >&5
17389 cat conftest.
$ac_ext >&5
17390 ac_cv_header_windows_h
=no
17392 rm -f conftest.err conftest.
$ac_ext
17394 echo "$as_me:17394: result: $ac_cv_header_windows_h" >&5
17395 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
17396 if test $ac_cv_header_windows_h = yes; then
17400 { { echo "$as_me:17400: error: please set CFLAGS to contain the location of windows.h" >&5
17401 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
17402 { (exit 1); exit 1; }; }
17407 echo "$as_me:17407: checking for Xpm library" >&5
17408 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
17411 for ac_dir
in $SEARCH_LIB;
17413 for ac_extension
in a so sl dylib
; do
17414 if test -f "$ac_dir/libXpm.$ac_extension"; then
17415 ac_find_libraries
=$ac_dir
17421 if test "$ac_find_libraries" != "" ; then
17422 GUI_TK_LIBRARY
="-L$ac_find_libraries"
17424 cat >>confdefs.h
<<\EOF
17425 #define wxHAVE_LIB_XPM 1
17428 echo "$as_me:17428: result: found at $ac_find_libraries" >&5
17429 echo "${ECHO_T}found at $ac_find_libraries" >&6
17431 echo "$as_me:17431: result: no" >&5
17432 echo "${ECHO_T}no" >&6
17433 { echo "$as_me:17433: WARNING: library will be compiled without support for images in XPM format" >&5
17434 echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
17438 echo "$as_me:17438: checking for Mesa library" >&5
17439 echo $ECHO_N "checking for Mesa library... $ECHO_C" >&6
17442 for ac_dir
in $SEARCH_LIB;
17444 for ac_extension
in a so sl dylib
; do
17445 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
17446 ac_find_libraries
=$ac_dir
17452 if test "$ac_find_libraries" != "" ; then
17453 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
17454 mesa_link
=" -lMesaGL"
17455 echo "$as_me:17455: result: found at $ac_find_libraries" >&5
17456 echo "${ECHO_T}found at $ac_find_libraries" >&6
17458 { { echo "$as_me:17458: error: no" >&5
17459 echo "$as_me: error: no" >&2;}
17460 { (exit 1); exit 1; }; }
17463 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lwine$mesa_link$xpm_link -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
17466 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXWINE__"
17469 if test "$wxUSE_MOTIF" = 1; then
17470 if test "$no_x" = yes; then
17471 # Not all programs may use this symbol, but it does not hurt to define it.
17473 cat >>confdefs.h
<<\EOF
17474 #define X_DISPLAY_MISSING 1
17477 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
17479 if test -n "$x_includes"; then
17480 X_CFLAGS
="$X_CFLAGS -I$x_includes"
17483 # It would also be nice to do this for all -L options, not just this one.
17484 if test -n "$x_libraries"; then
17485 X_LIBS
="$X_LIBS -L$x_libraries"
17486 # For Solaris; some versions of Sun CC require a space after -R and
17487 # others require no space. Words are not sufficient . . . .
17488 case `(uname -sr) 2>/dev/null` in
17490 echo "$as_me:17490: checking whether -R must be followed by a space" >&5
17491 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
17492 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
17493 cat >conftest.
$ac_ext <<_ACEOF
17494 #line 17494 "configure"
17495 #include "confdefs.h"
17505 rm -f conftest.
$ac_objext conftest
$ac_exeext
17506 if { (eval echo "$as_me:17506: \"$ac_link\"") >&5
17507 (eval $ac_link) 2>&5
17509 echo "$as_me:17509: \$? = $ac_status" >&5
17510 (exit $ac_status); } &&
17511 { ac_try
='test -s conftest$ac_exeext'
17512 { (eval echo "$as_me:17512: \"$ac_try\"") >&5
17513 (eval $ac_try) 2>&5
17515 echo "$as_me:17515: \$? = $ac_status" >&5
17516 (exit $ac_status); }; }; then
17519 echo "$as_me: failed program was:" >&5
17520 cat conftest.
$ac_ext >&5
17523 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
17524 if test $ac_R_nospace = yes; then
17525 echo "$as_me:17525: result: no" >&5
17526 echo "${ECHO_T}no" >&6
17527 X_LIBS
="$X_LIBS -R$x_libraries"
17529 LIBS
="$ac_xsave_LIBS -R $x_libraries"
17530 cat >conftest.
$ac_ext <<_ACEOF
17531 #line 17531 "configure"
17532 #include "confdefs.h"
17542 rm -f conftest.
$ac_objext conftest
$ac_exeext
17543 if { (eval echo "$as_me:17543: \"$ac_link\"") >&5
17544 (eval $ac_link) 2>&5
17546 echo "$as_me:17546: \$? = $ac_status" >&5
17547 (exit $ac_status); } &&
17548 { ac_try
='test -s conftest$ac_exeext'
17549 { (eval echo "$as_me:17549: \"$ac_try\"") >&5
17550 (eval $ac_try) 2>&5
17552 echo "$as_me:17552: \$? = $ac_status" >&5
17553 (exit $ac_status); }; }; then
17556 echo "$as_me: failed program was:" >&5
17557 cat conftest.
$ac_ext >&5
17560 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
17561 if test $ac_R_space = yes; then
17562 echo "$as_me:17562: result: yes" >&5
17563 echo "${ECHO_T}yes" >&6
17564 X_LIBS
="$X_LIBS -R $x_libraries"
17566 echo "$as_me:17566: result: neither works" >&5
17567 echo "${ECHO_T}neither works" >&6
17570 LIBS
=$ac_xsave_LIBS
17574 # Check for system-dependent libraries X programs must link with.
17575 # Do this before checking for the system-independent R6 libraries
17576 # (-lICE), since we may need -lsocket or whatever for X linking.
17578 if test "$ISC" = yes; then
17579 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
17581 # Martyn Johnson says this is needed for Ultrix, if the X
17582 # libraries were built with DECnet support. And Karl Berry says
17583 # the Alpha needs dnet_stub (dnet does not exist).
17584 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
17585 cat >conftest.
$ac_ext <<_ACEOF
17586 #line 17586 "configure"
17587 #include "confdefs.h"
17589 /* Override any gcc2 internal prototype to avoid an error. */
17593 /* We use char because int might match the return type of a gcc2
17594 builtin and then its argument prototype would still apply. */
17595 char XOpenDisplay ();
17604 rm -f conftest.
$ac_objext conftest
$ac_exeext
17605 if { (eval echo "$as_me:17605: \"$ac_link\"") >&5
17606 (eval $ac_link) 2>&5
17608 echo "$as_me:17608: \$? = $ac_status" >&5
17609 (exit $ac_status); } &&
17610 { ac_try
='test -s conftest$ac_exeext'
17611 { (eval echo "$as_me:17611: \"$ac_try\"") >&5
17612 (eval $ac_try) 2>&5
17614 echo "$as_me:17614: \$? = $ac_status" >&5
17615 (exit $ac_status); }; }; then
17618 echo "$as_me: failed program was:" >&5
17619 cat conftest.
$ac_ext >&5
17620 echo "$as_me:17620: checking for dnet_ntoa in -ldnet" >&5
17621 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
17622 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
17623 echo $ECHO_N "(cached) $ECHO_C" >&6
17625 ac_check_lib_save_LIBS
=$LIBS
17626 LIBS
="-ldnet $LIBS"
17627 cat >conftest.
$ac_ext <<_ACEOF
17628 #line 17628 "configure"
17629 #include "confdefs.h"
17631 /* Override any gcc2 internal prototype to avoid an error. */
17635 /* We use char because int might match the return type of a gcc2
17636 builtin and then its argument prototype would still apply. */
17646 rm -f conftest.
$ac_objext conftest
$ac_exeext
17647 if { (eval echo "$as_me:17647: \"$ac_link\"") >&5
17648 (eval $ac_link) 2>&5
17650 echo "$as_me:17650: \$? = $ac_status" >&5
17651 (exit $ac_status); } &&
17652 { ac_try
='test -s conftest$ac_exeext'
17653 { (eval echo "$as_me:17653: \"$ac_try\"") >&5
17654 (eval $ac_try) 2>&5
17656 echo "$as_me:17656: \$? = $ac_status" >&5
17657 (exit $ac_status); }; }; then
17658 ac_cv_lib_dnet_dnet_ntoa
=yes
17660 echo "$as_me: failed program was:" >&5
17661 cat conftest.
$ac_ext >&5
17662 ac_cv_lib_dnet_dnet_ntoa
=no
17664 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
17665 LIBS
=$ac_check_lib_save_LIBS
17667 echo "$as_me:17667: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
17668 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
17669 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
17670 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
17673 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
17674 echo "$as_me:17674: checking for dnet_ntoa in -ldnet_stub" >&5
17675 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
17676 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
17677 echo $ECHO_N "(cached) $ECHO_C" >&6
17679 ac_check_lib_save_LIBS
=$LIBS
17680 LIBS
="-ldnet_stub $LIBS"
17681 cat >conftest.
$ac_ext <<_ACEOF
17682 #line 17682 "configure"
17683 #include "confdefs.h"
17685 /* Override any gcc2 internal prototype to avoid an error. */
17689 /* We use char because int might match the return type of a gcc2
17690 builtin and then its argument prototype would still apply. */
17700 rm -f conftest.
$ac_objext conftest
$ac_exeext
17701 if { (eval echo "$as_me:17701: \"$ac_link\"") >&5
17702 (eval $ac_link) 2>&5
17704 echo "$as_me:17704: \$? = $ac_status" >&5
17705 (exit $ac_status); } &&
17706 { ac_try
='test -s conftest$ac_exeext'
17707 { (eval echo "$as_me:17707: \"$ac_try\"") >&5
17708 (eval $ac_try) 2>&5
17710 echo "$as_me:17710: \$? = $ac_status" >&5
17711 (exit $ac_status); }; }; then
17712 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
17714 echo "$as_me: failed program was:" >&5
17715 cat conftest.
$ac_ext >&5
17716 ac_cv_lib_dnet_stub_dnet_ntoa
=no
17718 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
17719 LIBS
=$ac_check_lib_save_LIBS
17721 echo "$as_me:17721: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
17722 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
17723 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
17724 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
17729 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
17730 LIBS
="$ac_xsave_LIBS"
17732 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
17733 # to get the SysV transport functions.
17734 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
17736 # The nsl library prevents programs from opening the X display
17737 # on Irix 5.2, according to T.E. Dickey.
17738 # The functions gethostbyname, getservbyname, and inet_addr are
17739 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
17740 echo "$as_me:17740: checking for gethostbyname" >&5
17741 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
17742 if test "${ac_cv_func_gethostbyname+set}" = set; then
17743 echo $ECHO_N "(cached) $ECHO_C" >&6
17745 cat >conftest.
$ac_ext <<_ACEOF
17746 #line 17746 "configure"
17747 #include "confdefs.h"
17748 /* System header to define __stub macros and hopefully few prototypes,
17749 which can conflict with char gethostbyname (); below. */
17750 #include <assert.h>
17751 /* Override any gcc2 internal prototype to avoid an error. */
17755 /* We use char because int might match the return type of a gcc2
17756 builtin and then its argument prototype would still apply. */
17757 char gethostbyname ();
17763 /* The GNU C library defines this for functions which it implements
17764 to always fail with ENOSYS. Some functions are actually named
17765 something starting with __ and the normal name is an alias. */
17766 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
17776 rm -f conftest.
$ac_objext conftest
$ac_exeext
17777 if { (eval echo "$as_me:17777: \"$ac_link\"") >&5
17778 (eval $ac_link) 2>&5
17780 echo "$as_me:17780: \$? = $ac_status" >&5
17781 (exit $ac_status); } &&
17782 { ac_try
='test -s conftest$ac_exeext'
17783 { (eval echo "$as_me:17783: \"$ac_try\"") >&5
17784 (eval $ac_try) 2>&5
17786 echo "$as_me:17786: \$? = $ac_status" >&5
17787 (exit $ac_status); }; }; then
17788 ac_cv_func_gethostbyname
=yes
17790 echo "$as_me: failed program was:" >&5
17791 cat conftest.
$ac_ext >&5
17792 ac_cv_func_gethostbyname
=no
17794 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
17796 echo "$as_me:17796: result: $ac_cv_func_gethostbyname" >&5
17797 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
17799 if test $ac_cv_func_gethostbyname = no
; then
17800 echo "$as_me:17800: checking for gethostbyname in -lnsl" >&5
17801 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
17802 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
17803 echo $ECHO_N "(cached) $ECHO_C" >&6
17805 ac_check_lib_save_LIBS
=$LIBS
17807 cat >conftest.
$ac_ext <<_ACEOF
17808 #line 17808 "configure"
17809 #include "confdefs.h"
17811 /* Override any gcc2 internal prototype to avoid an error. */
17815 /* We use char because int might match the return type of a gcc2
17816 builtin and then its argument prototype would still apply. */
17817 char gethostbyname ();
17826 rm -f conftest.
$ac_objext conftest
$ac_exeext
17827 if { (eval echo "$as_me:17827: \"$ac_link\"") >&5
17828 (eval $ac_link) 2>&5
17830 echo "$as_me:17830: \$? = $ac_status" >&5
17831 (exit $ac_status); } &&
17832 { ac_try
='test -s conftest$ac_exeext'
17833 { (eval echo "$as_me:17833: \"$ac_try\"") >&5
17834 (eval $ac_try) 2>&5
17836 echo "$as_me:17836: \$? = $ac_status" >&5
17837 (exit $ac_status); }; }; then
17838 ac_cv_lib_nsl_gethostbyname
=yes
17840 echo "$as_me: failed program was:" >&5
17841 cat conftest.
$ac_ext >&5
17842 ac_cv_lib_nsl_gethostbyname
=no
17844 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
17845 LIBS
=$ac_check_lib_save_LIBS
17847 echo "$as_me:17847: result: $ac_cv_lib_nsl_gethostbyname" >&5
17848 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
17849 if test $ac_cv_lib_nsl_gethostbyname = yes; then
17850 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
17853 if test $ac_cv_lib_nsl_gethostbyname = no
; then
17854 echo "$as_me:17854: checking for gethostbyname in -lbsd" >&5
17855 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
17856 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
17857 echo $ECHO_N "(cached) $ECHO_C" >&6
17859 ac_check_lib_save_LIBS
=$LIBS
17861 cat >conftest.
$ac_ext <<_ACEOF
17862 #line 17862 "configure"
17863 #include "confdefs.h"
17865 /* Override any gcc2 internal prototype to avoid an error. */
17869 /* We use char because int might match the return type of a gcc2
17870 builtin and then its argument prototype would still apply. */
17871 char gethostbyname ();
17880 rm -f conftest.
$ac_objext conftest
$ac_exeext
17881 if { (eval echo "$as_me:17881: \"$ac_link\"") >&5
17882 (eval $ac_link) 2>&5
17884 echo "$as_me:17884: \$? = $ac_status" >&5
17885 (exit $ac_status); } &&
17886 { ac_try
='test -s conftest$ac_exeext'
17887 { (eval echo "$as_me:17887: \"$ac_try\"") >&5
17888 (eval $ac_try) 2>&5
17890 echo "$as_me:17890: \$? = $ac_status" >&5
17891 (exit $ac_status); }; }; then
17892 ac_cv_lib_bsd_gethostbyname
=yes
17894 echo "$as_me: failed program was:" >&5
17895 cat conftest.
$ac_ext >&5
17896 ac_cv_lib_bsd_gethostbyname
=no
17898 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
17899 LIBS
=$ac_check_lib_save_LIBS
17901 echo "$as_me:17901: result: $ac_cv_lib_bsd_gethostbyname" >&5
17902 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
17903 if test $ac_cv_lib_bsd_gethostbyname = yes; then
17904 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
17910 # lieder@skyler.mavd.honeywell.com says without -lsocket,
17911 # socket/setsockopt and other routines are undefined under SCO ODT
17912 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
17913 # on later versions), says Simon Leinen: it contains gethostby*
17914 # variants that don't use the nameserver (or something). -lsocket
17915 # must be given before -lnsl if both are needed. We assume that
17916 # if connect needs -lnsl, so does gethostbyname.
17917 echo "$as_me:17917: checking for connect" >&5
17918 echo $ECHO_N "checking for connect... $ECHO_C" >&6
17919 if test "${ac_cv_func_connect+set}" = set; then
17920 echo $ECHO_N "(cached) $ECHO_C" >&6
17922 cat >conftest.
$ac_ext <<_ACEOF
17923 #line 17923 "configure"
17924 #include "confdefs.h"
17925 /* System header to define __stub macros and hopefully few prototypes,
17926 which can conflict with char connect (); below. */
17927 #include <assert.h>
17928 /* Override any gcc2 internal prototype to avoid an error. */
17932 /* We use char because int might match the return type of a gcc2
17933 builtin and then its argument prototype would still apply. */
17940 /* The GNU C library defines this for functions which it implements
17941 to always fail with ENOSYS. Some functions are actually named
17942 something starting with __ and the normal name is an alias. */
17943 #if defined (__stub_connect) || defined (__stub___connect)
17953 rm -f conftest.
$ac_objext conftest
$ac_exeext
17954 if { (eval echo "$as_me:17954: \"$ac_link\"") >&5
17955 (eval $ac_link) 2>&5
17957 echo "$as_me:17957: \$? = $ac_status" >&5
17958 (exit $ac_status); } &&
17959 { ac_try
='test -s conftest$ac_exeext'
17960 { (eval echo "$as_me:17960: \"$ac_try\"") >&5
17961 (eval $ac_try) 2>&5
17963 echo "$as_me:17963: \$? = $ac_status" >&5
17964 (exit $ac_status); }; }; then
17965 ac_cv_func_connect
=yes
17967 echo "$as_me: failed program was:" >&5
17968 cat conftest.
$ac_ext >&5
17969 ac_cv_func_connect
=no
17971 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
17973 echo "$as_me:17973: result: $ac_cv_func_connect" >&5
17974 echo "${ECHO_T}$ac_cv_func_connect" >&6
17976 if test $ac_cv_func_connect = no
; then
17977 echo "$as_me:17977: checking for connect in -lsocket" >&5
17978 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
17979 if test "${ac_cv_lib_socket_connect+set}" = set; then
17980 echo $ECHO_N "(cached) $ECHO_C" >&6
17982 ac_check_lib_save_LIBS
=$LIBS
17983 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
17984 cat >conftest.
$ac_ext <<_ACEOF
17985 #line 17985 "configure"
17986 #include "confdefs.h"
17988 /* Override any gcc2 internal prototype to avoid an error. */
17992 /* We use char because int might match the return type of a gcc2
17993 builtin and then its argument prototype would still apply. */
18003 rm -f conftest.
$ac_objext conftest
$ac_exeext
18004 if { (eval echo "$as_me:18004: \"$ac_link\"") >&5
18005 (eval $ac_link) 2>&5
18007 echo "$as_me:18007: \$? = $ac_status" >&5
18008 (exit $ac_status); } &&
18009 { ac_try
='test -s conftest$ac_exeext'
18010 { (eval echo "$as_me:18010: \"$ac_try\"") >&5
18011 (eval $ac_try) 2>&5
18013 echo "$as_me:18013: \$? = $ac_status" >&5
18014 (exit $ac_status); }; }; then
18015 ac_cv_lib_socket_connect
=yes
18017 echo "$as_me: failed program was:" >&5
18018 cat conftest.
$ac_ext >&5
18019 ac_cv_lib_socket_connect
=no
18021 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18022 LIBS
=$ac_check_lib_save_LIBS
18024 echo "$as_me:18024: result: $ac_cv_lib_socket_connect" >&5
18025 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
18026 if test $ac_cv_lib_socket_connect = yes; then
18027 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
18032 # Guillermo Gomez says -lposix is necessary on A/UX.
18033 echo "$as_me:18033: checking for remove" >&5
18034 echo $ECHO_N "checking for remove... $ECHO_C" >&6
18035 if test "${ac_cv_func_remove+set}" = set; then
18036 echo $ECHO_N "(cached) $ECHO_C" >&6
18038 cat >conftest.
$ac_ext <<_ACEOF
18039 #line 18039 "configure"
18040 #include "confdefs.h"
18041 /* System header to define __stub macros and hopefully few prototypes,
18042 which can conflict with char remove (); below. */
18043 #include <assert.h>
18044 /* Override any gcc2 internal prototype to avoid an error. */
18048 /* We use char because int might match the return type of a gcc2
18049 builtin and then its argument prototype would still apply. */
18056 /* The GNU C library defines this for functions which it implements
18057 to always fail with ENOSYS. Some functions are actually named
18058 something starting with __ and the normal name is an alias. */
18059 #if defined (__stub_remove) || defined (__stub___remove)
18069 rm -f conftest.
$ac_objext conftest
$ac_exeext
18070 if { (eval echo "$as_me:18070: \"$ac_link\"") >&5
18071 (eval $ac_link) 2>&5
18073 echo "$as_me:18073: \$? = $ac_status" >&5
18074 (exit $ac_status); } &&
18075 { ac_try
='test -s conftest$ac_exeext'
18076 { (eval echo "$as_me:18076: \"$ac_try\"") >&5
18077 (eval $ac_try) 2>&5
18079 echo "$as_me:18079: \$? = $ac_status" >&5
18080 (exit $ac_status); }; }; then
18081 ac_cv_func_remove
=yes
18083 echo "$as_me: failed program was:" >&5
18084 cat conftest.
$ac_ext >&5
18085 ac_cv_func_remove
=no
18087 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18089 echo "$as_me:18089: result: $ac_cv_func_remove" >&5
18090 echo "${ECHO_T}$ac_cv_func_remove" >&6
18092 if test $ac_cv_func_remove = no
; then
18093 echo "$as_me:18093: checking for remove in -lposix" >&5
18094 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
18095 if test "${ac_cv_lib_posix_remove+set}" = set; then
18096 echo $ECHO_N "(cached) $ECHO_C" >&6
18098 ac_check_lib_save_LIBS
=$LIBS
18099 LIBS
="-lposix $LIBS"
18100 cat >conftest.
$ac_ext <<_ACEOF
18101 #line 18101 "configure"
18102 #include "confdefs.h"
18104 /* Override any gcc2 internal prototype to avoid an error. */
18108 /* We use char because int might match the return type of a gcc2
18109 builtin and then its argument prototype would still apply. */
18119 rm -f conftest.
$ac_objext conftest
$ac_exeext
18120 if { (eval echo "$as_me:18120: \"$ac_link\"") >&5
18121 (eval $ac_link) 2>&5
18123 echo "$as_me:18123: \$? = $ac_status" >&5
18124 (exit $ac_status); } &&
18125 { ac_try
='test -s conftest$ac_exeext'
18126 { (eval echo "$as_me:18126: \"$ac_try\"") >&5
18127 (eval $ac_try) 2>&5
18129 echo "$as_me:18129: \$? = $ac_status" >&5
18130 (exit $ac_status); }; }; then
18131 ac_cv_lib_posix_remove
=yes
18133 echo "$as_me: failed program was:" >&5
18134 cat conftest.
$ac_ext >&5
18135 ac_cv_lib_posix_remove
=no
18137 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18138 LIBS
=$ac_check_lib_save_LIBS
18140 echo "$as_me:18140: result: $ac_cv_lib_posix_remove" >&5
18141 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
18142 if test $ac_cv_lib_posix_remove = yes; then
18143 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
18148 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
18149 echo "$as_me:18149: checking for shmat" >&5
18150 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
18151 if test "${ac_cv_func_shmat+set}" = set; then
18152 echo $ECHO_N "(cached) $ECHO_C" >&6
18154 cat >conftest.
$ac_ext <<_ACEOF
18155 #line 18155 "configure"
18156 #include "confdefs.h"
18157 /* System header to define __stub macros and hopefully few prototypes,
18158 which can conflict with char shmat (); below. */
18159 #include <assert.h>
18160 /* Override any gcc2 internal prototype to avoid an error. */
18164 /* We use char because int might match the return type of a gcc2
18165 builtin and then its argument prototype would still apply. */
18172 /* The GNU C library defines this for functions which it implements
18173 to always fail with ENOSYS. Some functions are actually named
18174 something starting with __ and the normal name is an alias. */
18175 #if defined (__stub_shmat) || defined (__stub___shmat)
18185 rm -f conftest.
$ac_objext conftest
$ac_exeext
18186 if { (eval echo "$as_me:18186: \"$ac_link\"") >&5
18187 (eval $ac_link) 2>&5
18189 echo "$as_me:18189: \$? = $ac_status" >&5
18190 (exit $ac_status); } &&
18191 { ac_try
='test -s conftest$ac_exeext'
18192 { (eval echo "$as_me:18192: \"$ac_try\"") >&5
18193 (eval $ac_try) 2>&5
18195 echo "$as_me:18195: \$? = $ac_status" >&5
18196 (exit $ac_status); }; }; then
18197 ac_cv_func_shmat
=yes
18199 echo "$as_me: failed program was:" >&5
18200 cat conftest.
$ac_ext >&5
18201 ac_cv_func_shmat
=no
18203 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18205 echo "$as_me:18205: result: $ac_cv_func_shmat" >&5
18206 echo "${ECHO_T}$ac_cv_func_shmat" >&6
18208 if test $ac_cv_func_shmat = no
; then
18209 echo "$as_me:18209: checking for shmat in -lipc" >&5
18210 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
18211 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
18212 echo $ECHO_N "(cached) $ECHO_C" >&6
18214 ac_check_lib_save_LIBS
=$LIBS
18216 cat >conftest.
$ac_ext <<_ACEOF
18217 #line 18217 "configure"
18218 #include "confdefs.h"
18220 /* Override any gcc2 internal prototype to avoid an error. */
18224 /* We use char because int might match the return type of a gcc2
18225 builtin and then its argument prototype would still apply. */
18235 rm -f conftest.
$ac_objext conftest
$ac_exeext
18236 if { (eval echo "$as_me:18236: \"$ac_link\"") >&5
18237 (eval $ac_link) 2>&5
18239 echo "$as_me:18239: \$? = $ac_status" >&5
18240 (exit $ac_status); } &&
18241 { ac_try
='test -s conftest$ac_exeext'
18242 { (eval echo "$as_me:18242: \"$ac_try\"") >&5
18243 (eval $ac_try) 2>&5
18245 echo "$as_me:18245: \$? = $ac_status" >&5
18246 (exit $ac_status); }; }; then
18247 ac_cv_lib_ipc_shmat
=yes
18249 echo "$as_me: failed program was:" >&5
18250 cat conftest.
$ac_ext >&5
18251 ac_cv_lib_ipc_shmat
=no
18253 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18254 LIBS
=$ac_check_lib_save_LIBS
18256 echo "$as_me:18256: result: $ac_cv_lib_ipc_shmat" >&5
18257 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
18258 if test $ac_cv_lib_ipc_shmat = yes; then
18259 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
18265 # Check for libraries that X11R6 Xt/Xaw programs need.
18266 ac_save_LDFLAGS
=$LDFLAGS
18267 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
18268 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
18269 # check for ICE first), but we must link in the order -lSM -lICE or
18270 # we get undefined symbols. So assume we have SM if we have ICE.
18271 # These have to be linked with before -lX11, unlike the other
18272 # libraries we check for below, so use a different variable.
18273 # John Interrante, Karl Berry
18274 echo "$as_me:18274: checking for IceConnectionNumber in -lICE" >&5
18275 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
18276 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
18277 echo $ECHO_N "(cached) $ECHO_C" >&6
18279 ac_check_lib_save_LIBS
=$LIBS
18280 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
18281 cat >conftest.
$ac_ext <<_ACEOF
18282 #line 18282 "configure"
18283 #include "confdefs.h"
18285 /* Override any gcc2 internal prototype to avoid an error. */
18289 /* We use char because int might match the return type of a gcc2
18290 builtin and then its argument prototype would still apply. */
18291 char IceConnectionNumber ();
18295 IceConnectionNumber ();
18300 rm -f conftest.
$ac_objext conftest
$ac_exeext
18301 if { (eval echo "$as_me:18301: \"$ac_link\"") >&5
18302 (eval $ac_link) 2>&5
18304 echo "$as_me:18304: \$? = $ac_status" >&5
18305 (exit $ac_status); } &&
18306 { ac_try
='test -s conftest$ac_exeext'
18307 { (eval echo "$as_me:18307: \"$ac_try\"") >&5
18308 (eval $ac_try) 2>&5
18310 echo "$as_me:18310: \$? = $ac_status" >&5
18311 (exit $ac_status); }; }; then
18312 ac_cv_lib_ICE_IceConnectionNumber
=yes
18314 echo "$as_me: failed program was:" >&5
18315 cat conftest.
$ac_ext >&5
18316 ac_cv_lib_ICE_IceConnectionNumber
=no
18318 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18319 LIBS
=$ac_check_lib_save_LIBS
18321 echo "$as_me:18321: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
18322 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
18323 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
18324 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
18327 LDFLAGS
=$ac_save_LDFLAGS
18331 if test "$no_x" = "yes"; then
18332 { { echo "$as_me:18332: error: X11 not found" >&5
18333 echo "$as_me: error: X11 not found" >&2;}
18334 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
18337 GUI_TK_LIBRARY
="$X_LIBS"
18338 TOOLKIT_INCLUDE
="$X_CFLAGS"
18339 AFMINSTALL
=afminstall
18340 COMPILED_X_PROGRAM
=0
18342 echo "$as_me:18342: checking for Motif/Lesstif headers" >&5
18343 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
18346 for ac_dir
in $SEARCH_INCLUDE;
18348 if test -f "$ac_dir/Xm/Xm.h"; then
18349 ac_find_includes
=$ac_dir
18354 if test "$ac_find_includes" != "" ; then
18355 echo "$as_me:18355: result: found $ac_find_includes" >&5
18356 echo "${ECHO_T}found $ac_find_includes" >&6
18358 cat >conftest.
$ac_ext <<_ACEOF
18359 #line 18359 "configure"
18360 #include "confdefs.h"
18369 version = xmUseVersion;
18375 rm -f conftest.
$ac_objext
18376 if { (eval echo "$as_me:18376: \"$ac_compile\"") >&5
18377 (eval $ac_compile) 2>&5
18379 echo "$as_me:18379: \$? = $ac_status" >&5
18380 (exit $ac_status); } &&
18381 { ac_try
='test -s conftest.$ac_objext'
18382 { (eval echo "$as_me:18382: \"$ac_try\"") >&5
18383 (eval $ac_try) 2>&5
18385 echo "$as_me:18385: \$? = $ac_status" >&5
18386 (exit $ac_status); }; }; then
18388 echo "$as_me:18388: result: found in default search path" >&5
18389 echo "${ECHO_T}found in default search path" >&6
18390 COMPILED_X_PROGRAM
=1
18393 echo "$as_me: failed program was:" >&5
18394 cat conftest.
$ac_ext >&5
18396 echo "$as_me:18396: result: no" >&5
18397 echo "${ECHO_T}no" >&6
18398 { { echo "$as_me:18398: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
18399 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
18400 { (exit 1); exit 1; }; }
18403 rm -f conftest.
$ac_objext conftest.
$ac_ext
18406 if test "$COMPILED_X_PROGRAM" = 0; then
18407 echo "$as_me:18407: checking for Motif/Lesstif library" >&5
18408 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
18411 for ac_dir
in $SEARCH_LIB;
18413 for ac_extension
in a so sl dylib
; do
18414 if test -f "$ac_dir/libXm.$ac_extension"; then
18415 ac_find_libraries
=$ac_dir
18421 if test "$ac_find_libraries" != "" ; then
18423 ac_path_to_include
=$ac_find_includes
18424 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
18426 if test $result = 0; then
18427 ac_path_to_include
=""
18429 ac_path_to_include
=" -I$ac_find_includes"
18432 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
18434 if test $result = 0; then
18437 ac_path_to_link
=" -L$ac_find_libraries"
18440 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
18441 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
18442 echo "$as_me:18442: result: found at $ac_find_libraries" >&5
18443 echo "${ECHO_T}found at $ac_find_libraries" >&6
18445 cat >conftest.
$ac_ext <<_ACEOF
18446 #line 18446 "configure"
18447 #include "confdefs.h"
18456 version = xmUseVersion;
18462 rm -f conftest.
$ac_objext
18463 if { (eval echo "$as_me:18463: \"$ac_compile\"") >&5
18464 (eval $ac_compile) 2>&5
18466 echo "$as_me:18466: \$? = $ac_status" >&5
18467 (exit $ac_status); } &&
18468 { ac_try
='test -s conftest.$ac_objext'
18469 { (eval echo "$as_me:18469: \"$ac_try\"") >&5
18470 (eval $ac_try) 2>&5
18472 echo "$as_me:18472: \$? = $ac_status" >&5
18473 (exit $ac_status); }; }; then
18475 echo "$as_me:18475: result: found in default search path" >&5
18476 echo "${ECHO_T}found in default search path" >&6
18477 COMPILED_X_PROGRAM
=1
18480 echo "$as_me: failed program was:" >&5
18481 cat conftest.
$ac_ext >&5
18483 echo "$as_me:18483: result: no" >&5
18484 echo "${ECHO_T}no" >&6
18485 { { echo "$as_me:18485: error: please set LDFLAGS to contain the location of libXm" >&5
18486 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
18487 { (exit 1); exit 1; }; }
18490 rm -f conftest.
$ac_objext conftest.
$ac_ext
18495 echo "$as_me:18495: checking for Xpm library" >&5
18496 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
18499 for ac_dir
in $SEARCH_LIB;
18501 for ac_extension
in a so sl dylib
; do
18502 if test -f "$ac_dir/libXpm.$ac_extension"; then
18503 ac_find_libraries
=$ac_dir
18509 if test "$ac_find_libraries" != "" ; then
18511 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
18513 if test $result = 0; then
18516 ac_path_to_link
=" -L$ac_find_libraries"
18519 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
18521 cat >>confdefs.h
<<\EOF
18522 #define wxHAVE_LIB_XPM 1
18525 echo "$as_me:18525: result: found at $ac_find_libraries" >&5
18526 echo "${ECHO_T}found at $ac_find_libraries" >&6
18528 cat >conftest.
$ac_ext <<_ACEOF
18529 #line 18529 "configure"
18530 #include "confdefs.h"
18532 #include <X11/xpm.h>
18539 version = XpmLibraryVersion();
18545 rm -f conftest.
$ac_objext
18546 if { (eval echo "$as_me:18546: \"$ac_compile\"") >&5
18547 (eval $ac_compile) 2>&5
18549 echo "$as_me:18549: \$? = $ac_status" >&5
18550 (exit $ac_status); } &&
18551 { ac_try
='test -s conftest.$ac_objext'
18552 { (eval echo "$as_me:18552: \"$ac_try\"") >&5
18553 (eval $ac_try) 2>&5
18555 echo "$as_me:18555: \$? = $ac_status" >&5
18556 (exit $ac_status); }; }; then
18559 cat >>confdefs.h
<<\EOF
18560 #define wxHAVE_LIB_XPM 1
18563 echo "$as_me:18563: result: found in default search path" >&5
18564 echo "${ECHO_T}found in default search path" >&6
18565 COMPILED_X_PROGRAM
=0
18568 echo "$as_me: failed program was:" >&5
18569 cat conftest.
$ac_ext >&5
18571 echo "$as_me:18571: result: no" >&5
18572 echo "${ECHO_T}no" >&6
18573 { echo "$as_me:18573: WARNING: library will be compiled without support for images in XPM format" >&5
18574 echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
18577 rm -f conftest.
$ac_objext conftest.
$ac_ext
18580 echo "$as_me:18580: checking if we need -lXp and/or -lSM -lICE" >&5
18581 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
18585 for libp
in "" " -lXp"; do
18586 if test "$libs_found" = "0"; then
18587 for libsm_ice
in " -lSM -lICE"; do
18588 if test "$libs_found" = "0"; then
18590 LIBS
="$GUI_TK_LIBRARY -lXm${xpm_link} ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
18591 cat >conftest.
$ac_ext <<_ACEOF
18592 #line 18592 "configure"
18593 #include "confdefs.h"
18596 #include <Xm/List.h>
18602 XmString string = NULL;
18605 XmListAddItem(w, string, position);
18611 rm -f conftest.
$ac_objext conftest
$ac_exeext
18612 if { (eval echo "$as_me:18612: \"$ac_link\"") >&5
18613 (eval $ac_link) 2>&5
18615 echo "$as_me:18615: \$? = $ac_status" >&5
18616 (exit $ac_status); } &&
18617 { ac_try
='test -s conftest$ac_exeext'
18618 { (eval echo "$as_me:18618: \"$ac_try\"") >&5
18619 (eval $ac_try) 2>&5
18621 echo "$as_me:18621: \$? = $ac_status" >&5
18622 (exit $ac_status); }; }; then
18625 libsm_ice_link
="$libsm_ice"
18626 echo "$as_me:18626: result: need${libp_link}${libsm_ice_link}" >&5
18627 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
18631 echo "$as_me: failed program was:" >&5
18632 cat conftest.
$ac_ext >&5
18635 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18642 if test "$libs_found" = "0"; then
18643 echo "$as_me:18643: result: can't find the right libraries" >&5
18644 echo "${ECHO_T}can't find the right libraries" >&6
18645 { { echo "$as_me:18645: error: can't link a simple motif program" >&5
18646 echo "$as_me: error: can't link a simple motif program" >&2;}
18647 { (exit 1); exit 1; }; }
18650 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm$xpm_link${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
18651 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo"
18656 if test "$wxUSE_MAC" = 1; then
18657 if test "$wxUSE_PRECOMP" = "yes"; then
18658 CPPFLAGS
="$CPPFLAGS -cpp-precomp"
18660 CPPFLAGS
="$CPPFLAGS -no-cpp-precomp"
18662 CPPFLAGS
="$CPPFLAGS -I/Developer/Headers/FlatCarbon -I\${top_srcdir}/src/mac/morefile"
18663 CFLAGS
="$CFLAGS -fpascal-strings"
18664 CXXFLAGS
="$CXXFLAGS -fpascal-strings"
18666 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefile"
18671 if test "$wxUSE_PM" = 1; then
18676 if test "$TOOLKIT" = "PM" ; then
18679 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
18682 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
18684 if test "$wxUSE_UNIVERSAL" = "yes"; then
18685 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
18687 ALL_SOURCES
="\$(ALL_SOURCES) \${UNIV_SOURCES}"
18688 ALL_HEADERS
="\$(ALL_HEADERS) \${UNIV_HEADERS}"
18690 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
18691 if test "$wxUSE_X11" = 1; then
18692 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
18694 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
18696 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
18699 ALL_OBJECTS
="\$(GUIOBJS)"
18700 ALL_SOURCES
="\$(ALL_SOURCES)"
18701 ALL_HEADERS
="\$(ALL_HEADERS)"
18704 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
18706 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
18707 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
18710 if test "$wxUSE_HTML" = "yes"; then
18711 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
18714 if test "$wxUSE_LIBJPEG" = "builtin" ; then
18715 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
18717 if test "$wxUSE_LIBTIFF" = "builtin" ; then
18718 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
18720 if test "$wxUSE_LIBPNG" = "builtin" ; then
18721 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
18724 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
18725 DISTDIR
="wx\$(TOOLKIT)"
18731 if test "$USE_WIN32" = 1 ; then
18732 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
18733 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
18737 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
18738 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
18741 ALL_SOURCES
="\$(ALL_SOURCES)"
18742 ALL_HEADERS
="\$(ALL_HEADERS)"
18744 PORT_FILES
="\${top_srcdir}/src/files.lst"
18746 GUIDIST
="BASE_DIST"
18750 if test "$TOOLKIT" != "MSW" -a "$wxUSE_ODBC" = "yes" ; then
18751 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
18754 if test "$wxUSE_REGEX" = "builtin" ; then
18755 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
18757 if test "$wxUSE_ZLIB" = "builtin" ; then
18758 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
18761 if test "$wxUSE_OPENGL" = "yes"; then
18762 if test "$wxUSE_MAC" = 1; then
18763 OPENGL_LIBS
="-framework OpenGL -framework AGL"
18764 elif test "$wxUSE_MSW" = 1; then
18765 OPENGL_LIBS
="-lopengl32 -lglu32"
18767 echo "$as_me:18767: checking for GL/gl.h" >&5
18768 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
18769 if test "${ac_cv_header_GL_gl_h+set}" = set; then
18770 echo $ECHO_N "(cached) $ECHO_C" >&6
18772 cat >conftest.
$ac_ext <<_ACEOF
18773 #line 18773 "configure"
18774 #include "confdefs.h"
18777 if { (eval echo "$as_me:18777: \"$ac_cpp conftest.$ac_ext\"") >&5
18778 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18780 egrep -v '^ *\+' conftest.er1
>conftest.err
18782 cat conftest.err
>&5
18783 echo "$as_me:18783: \$? = $ac_status" >&5
18784 (exit $ac_status); } >/dev
/null
; then
18785 if test -s conftest.err
; then
18786 ac_cpp_err
=$ac_c_preproc_warn_flag
18793 if test -z "$ac_cpp_err"; then
18794 ac_cv_header_GL_gl_h
=yes
18796 echo "$as_me: failed program was:" >&5
18797 cat conftest.
$ac_ext >&5
18798 ac_cv_header_GL_gl_h
=no
18800 rm -f conftest.err conftest.
$ac_ext
18802 echo "$as_me:18802: result: $ac_cv_header_GL_gl_h" >&5
18803 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
18804 if test $ac_cv_header_GL_gl_h = yes; then
18806 echo "$as_me:18806: checking for -lGL" >&5
18807 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
18810 for ac_dir
in $SEARCH_LIB;
18812 for ac_extension
in a so sl dylib
; do
18813 if test -f "$ac_dir/libGL.$ac_extension"; then
18814 ac_find_libraries
=$ac_dir
18820 if test "$ac_find_libraries" != "" ; then
18822 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
18824 if test $result = 0; then
18827 ac_path_to_link
=" -L$ac_find_libraries"
18830 if test "$ac_path_to_link" = " -L/usr/lib" ; then
18831 LDFLAGS_GL
="$LDFLAGS"
18833 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
18835 OPENGL_LIBS
="-lGL -lGLU"
18836 echo "$as_me:18836: result: yes" >&5
18837 echo "${ECHO_T}yes" >&6
18839 echo "$as_me:18839: result: no" >&5
18840 echo "${ECHO_T}no" >&6
18841 echo "$as_me:18841: checking for -lMesaGL" >&5
18842 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
18845 for ac_dir
in $SEARCH_LIB;
18847 for ac_extension
in a so sl dylib
; do
18848 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
18849 ac_find_libraries
=$ac_dir
18855 if test "$ac_find_libraries" != "" ; then
18857 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
18859 if test $result = 0; then
18862 ac_path_to_link
=" -L$ac_find_libraries"
18865 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
18866 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
18867 echo "$as_me:18867: result: yes" >&5
18868 echo "${ECHO_T}yes" >&6
18870 echo "$as_me:18870: result: no" >&5
18871 echo "${ECHO_T}no" >&6
18877 if test "x$OPENGL_LIBS" = "x"; then
18878 { { echo "$as_me:18878: error: OpenGL libraries not available" >&5
18879 echo "$as_me: error: OpenGL libraries not available" >&2;}
18880 { (exit 1); exit 1; }; }
18884 if test "$wxUSE_OPENGL" = "yes"; then
18885 cat >>confdefs.h
<<\EOF
18886 #define wxUSE_OPENGL 1
18889 cat >>confdefs.h
<<\EOF
18890 #define wxUSE_GLCANVAS 1
18893 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl"
18897 if test -z "$TOOLKIT_VPATH" ; then
18898 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
18901 if test -n "$TOOLKIT" ; then
18902 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
18905 lib_unicode_suffix
=
18906 if test "$wxUSE_UNICODE" = "yes"; then
18907 lib_unicode_suffix
=u
18911 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
18915 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
18916 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
18918 if test "$cross_compiling" = "yes"; then
18919 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
18920 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
18923 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
18924 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
18926 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
18927 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
18929 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
18930 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
18931 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
18932 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
18935 *-*-cygwin* | *-*-mingw32* )
18937 if test "$cross_compiling" != "yes" -a "$TOOLKIT_DIR" = "msw"; then
18938 WX_LIBRARY
="wxmsw${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
18939 WX_LIBRARY_GL
="wxmsw_gl${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
18940 WX_LIBRARY_NAME_SHARED
="${WX_LIBRARY}.${SO_SUFFIX}"
18941 WX_LIBRARY_NAME_SHARED_GL
="${WX_LIBRARY_GL}.${SO_SUFFIX}"
18943 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
18944 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
18949 if test "$wxUSE_MAC" = 1; then
18950 WX_RESOURCES_MACOSX_ASCII
="lib${WX_LIBRARY}.r"
18951 WX_RESOURCES_MACOSX_DATA
="lib${WX_LIBRARY}.rsrc"
18956 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
18957 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
18959 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
18960 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
18962 if test "$wxUSE_OPENGL" = "yes"; then
18963 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
18964 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
18967 if test "$wxUSE_SHARED" = "yes"; then
18969 *-pc-os2_emx | *-pc-os2-emx | \
18972 { echo "$as_me:18972: WARNING: Host system doesn't support shared libraries, disabling" >&5
18973 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
18978 if test "$wxUSE_SHARED" = "yes"; then
18980 if test "$wxUSE_OPENGL" = "yes"; then
18981 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
18982 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1} \$(build_libdir)/${WX_LIBRARY_LINK1_GL}"
18984 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
18985 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1}"
18988 if test "$GCC" = "yes"; then
18992 SHARED_LD
="${CXX} -shared -o"
18996 if test "$GCC" == "yes"; then
18997 SHARED_LD
="${SHARED_LD} ${PIC_FLAG}"
18999 LDFLAGS
="$LDFLAGS -L/usr/lib"
19001 SHARED_LD
="${CXX} -b -o"
19005 if test "$wxUSE_OPENGL" = "yes"; then
19006 WX_ALL_INSTALLED
="preinstall_gl"
19007 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
19009 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
19014 if test "$GCC" != "yes"; then
19015 echo "$as_me:19015: checking for Intel compiler" >&5
19016 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
19017 if test "${wx_cv_prog_icc+set}" = set; then
19018 echo $ECHO_N "(cached) $ECHO_C" >&6
19021 cat >conftest.
$ac_ext <<_ACEOF
19022 #line 19022 "configure"
19023 #include "confdefs.h"
19029 #ifndef __INTEL_COMPILER
19037 rm -f conftest.
$ac_objext
19038 if { (eval echo "$as_me:19038: \"$ac_compile\"") >&5
19039 (eval $ac_compile) 2>&5
19041 echo "$as_me:19041: \$? = $ac_status" >&5
19042 (exit $ac_status); } &&
19043 { ac_try
='test -s conftest.$ac_objext'
19044 { (eval echo "$as_me:19044: \"$ac_try\"") >&5
19045 (eval $ac_try) 2>&5
19047 echo "$as_me:19047: \$? = $ac_status" >&5
19048 (exit $ac_status); }; }; then
19051 echo "$as_me: failed program was:" >&5
19052 cat conftest.
$ac_ext >&5
19056 rm -f conftest.
$ac_objext conftest.
$ac_ext
19059 echo "$as_me:19059: result: $wx_cv_prog_icc" >&5
19060 echo "${ECHO_T}$wx_cv_prog_icc" >&6
19061 if test "$wx_cv_prog_icc" = "yes"; then
19066 if test "$wxUSE_SONAME" = "yes" ; then
19067 SONAME_FLAGS
="-Wl,-soname,${WX_LIBRARY_LINK1}"
19068 SONAME_FLAGS_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
19069 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
19074 if test "$GCC" = yes ; then
19075 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
19077 SHARED_LD
="${CXX} -G -o"
19079 SONAME_FLAGS
="-h ${WX_LIBRARY_NAME_SHARED}"
19080 SONAME_FLAGS_GL
="-h ${WX_LIBRARY_NAME_SHARED_GL}"
19085 CFLAGS
="$CFLAGS -fno-common -DWXMAKINGDLL"
19086 CXXFLAGS
="$CXXFLAGS -fno-common -DWXMAKINGDLL"
19087 SHARED_LD
="\${top_srcdir}/distrib/mac/shared-ld-sh -undefined suppress -flat_namespace -o"
19088 PIC_FLAG
="-dynamic -fPIC"
19089 SONAME_FLAGS
="-compatibility_version ${WX_RELEASE} -current_version ${WX_VERSION}"
19090 SONAME_FLAGS_GL
=${SONAME_FLAGS}
19094 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
19095 set dummy makeC
++SharedLib
; ac_word
=$2
19096 echo "$as_me:19096: checking for $ac_word" >&5
19097 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19098 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
19099 echo $ECHO_N "(cached) $ECHO_C" >&6
19101 if test -n "$AIX_CXX_LD"; then
19102 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
19104 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
19106 for ac_dir
in $ac_dummy; do
19108 test -z "$ac_dir" && ac_dir
=.
19109 $as_executable_p "$ac_dir/$ac_word" || continue
19110 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
19111 echo "$as_me:19111: found $ac_dir/$ac_word" >&5
19115 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
19118 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
19119 if test -n "$AIX_CXX_LD"; then
19120 echo "$as_me:19120: result: $AIX_CXX_LD" >&5
19121 echo "${ECHO_T}$AIX_CXX_LD" >&6
19123 echo "$as_me:19123: result: no" >&5
19124 echo "${ECHO_T}no" >&6
19127 SHARED_LD
="$(AIX_CXX_LD) -p 0 -o"
19130 *-*-cygwin* | *-*-mingw32* )
19132 WX_LIBRARY_IMPORTLIB
="${WX_LIBRARY_NAME_SHARED}.a"
19134 SHARED_LD
="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_IMPORTLIB} -o"
19135 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
19137 PIC_FLAG
="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
19139 if test "$wxUSE_OPENGL" = "yes"; then
19140 WX_ALL_INSTALLED
="preinstall_gl"
19141 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
19143 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
19148 SHARED_LD
="${LD} -shared -o"
19151 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
19153 *-*-irix5* | *-*-irix6* | \
19160 { { echo "$as_me:19160: error: unknown system type $host." >&5
19161 echo "$as_me: error: unknown system type $host." >&2;}
19162 { (exit 1); exit 1; }; }
19165 if test "x$WX_TARGET_LIBRARY" = "x"; then
19166 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
19167 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
19170 WX_TARGET_LIBRARY_TYPE
="so"
19171 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
19174 if test "$wxUSE_SHARED" = "no"; then
19176 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
19177 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
19180 if test "$wxUSE_MAC" = 1; then
19181 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
19184 if test "$wxUSE_OPENGL" = "yes"; then
19185 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
19186 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
19188 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
19191 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
19192 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
19194 WX_TARGET_LIBRARY_TYPE
="a"
19195 INSTALL_LIBRARY
='$(INSTALL_DATA)'
19198 if test "$wxUSE_MAC" = 1; then
19199 LIBWXMACRES
="\$(top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
19200 WX_ALL
="${WX_ALL} ${LIBWXMACRES}"
19201 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
19202 # Extract the first word of "Rez", so it can be a program name with args.
19203 set dummy Rez
; ac_word
=$2
19204 echo "$as_me:19204: checking for $ac_word" >&5
19205 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19206 if test "${ac_cv_prog_RESCOMP+set}" = set; then
19207 echo $ECHO_N "(cached) $ECHO_C" >&6
19209 if test -n "$RESCOMP"; then
19210 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
19212 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
19214 for ac_dir
in $ac_dummy; do
19216 test -z "$ac_dir" && ac_dir
=.
19217 $as_executable_p "$ac_dir/$ac_word" || continue
19218 ac_cv_prog_RESCOMP
="Rez"
19219 echo "$as_me:19219: found $ac_dir/$ac_word" >&5
19223 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
19226 RESCOMP
=$ac_cv_prog_RESCOMP
19227 if test -n "$RESCOMP"; then
19228 echo "$as_me:19228: result: $RESCOMP" >&5
19229 echo "${ECHO_T}$RESCOMP" >&6
19231 echo "$as_me:19231: result: no" >&5
19232 echo "${ECHO_T}no" >&6
19235 # Extract the first word of "DeRez", so it can be a program name with args.
19236 set dummy DeRez
; ac_word
=$2
19237 echo "$as_me:19237: checking for $ac_word" >&5
19238 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19239 if test "${ac_cv_prog_DEREZ+set}" = set; then
19240 echo $ECHO_N "(cached) $ECHO_C" >&6
19242 if test -n "$DEREZ"; then
19243 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
19245 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
19247 for ac_dir
in $ac_dummy; do
19249 test -z "$ac_dir" && ac_dir
=.
19250 $as_executable_p "$ac_dir/$ac_word" || continue
19251 ac_cv_prog_DEREZ
="DeRez"
19252 echo "$as_me:19252: found $ac_dir/$ac_word" >&5
19256 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
19259 DEREZ
=$ac_cv_prog_DEREZ
19260 if test -n "$DEREZ"; then
19261 echo "$as_me:19261: result: $DEREZ" >&5
19262 echo "${ECHO_T}$DEREZ" >&6
19264 echo "$as_me:19264: result: no" >&5
19265 echo "${ECHO_T}no" >&6
19268 MACOSX_BUNDLE
="bundle"
19269 if test "$wxUSE_SHARED" = "yes"; then
19270 LIBWXMACRESCOMP
="\$(RESCOMP) -t APPL Carbon.r -o \$(BIN_PROGRAM)"
19271 LIBWXMACRESWXCONFIG
="${RESCOMP} -t APPL Carbon.r -o"
19273 LIBWXMACRESCOMP
="\$(RESCOMP) -t APPL Carbon.r ${LIBWXMACRES} -o \$(BIN_PROGRAM)"
19274 LIBWXMACRESWXCONFIG
="${RESCOMP} -t APPL Carbon.r \${prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
19277 if test "$wxUSE_PM" = 1; then
19278 LIBWXMACRESCOMP
="emxbind -ep \$(BIN_PROGRAM)"
19282 echo "$as_me:19282: checking for mode_t" >&5
19283 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
19284 if test "${ac_cv_type_mode_t+set}" = set; then
19285 echo $ECHO_N "(cached) $ECHO_C" >&6
19287 cat >conftest.
$ac_ext <<_ACEOF
19288 #line 19288 "configure"
19289 #include "confdefs.h"
19290 $ac_includes_default
19296 if (sizeof (mode_t))
19302 rm -f conftest.
$ac_objext
19303 if { (eval echo "$as_me:19303: \"$ac_compile\"") >&5
19304 (eval $ac_compile) 2>&5
19306 echo "$as_me:19306: \$? = $ac_status" >&5
19307 (exit $ac_status); } &&
19308 { ac_try
='test -s conftest.$ac_objext'
19309 { (eval echo "$as_me:19309: \"$ac_try\"") >&5
19310 (eval $ac_try) 2>&5
19312 echo "$as_me:19312: \$? = $ac_status" >&5
19313 (exit $ac_status); }; }; then
19314 ac_cv_type_mode_t
=yes
19316 echo "$as_me: failed program was:" >&5
19317 cat conftest.
$ac_ext >&5
19318 ac_cv_type_mode_t
=no
19320 rm -f conftest.
$ac_objext conftest.
$ac_ext
19322 echo "$as_me:19322: result: $ac_cv_type_mode_t" >&5
19323 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
19324 if test $ac_cv_type_mode_t = yes; then
19328 cat >>confdefs.h
<<EOF
19334 echo "$as_me:19334: checking for off_t" >&5
19335 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
19336 if test "${ac_cv_type_off_t+set}" = set; then
19337 echo $ECHO_N "(cached) $ECHO_C" >&6
19339 cat >conftest.
$ac_ext <<_ACEOF
19340 #line 19340 "configure"
19341 #include "confdefs.h"
19342 $ac_includes_default
19348 if (sizeof (off_t))
19354 rm -f conftest.
$ac_objext
19355 if { (eval echo "$as_me:19355: \"$ac_compile\"") >&5
19356 (eval $ac_compile) 2>&5
19358 echo "$as_me:19358: \$? = $ac_status" >&5
19359 (exit $ac_status); } &&
19360 { ac_try
='test -s conftest.$ac_objext'
19361 { (eval echo "$as_me:19361: \"$ac_try\"") >&5
19362 (eval $ac_try) 2>&5
19364 echo "$as_me:19364: \$? = $ac_status" >&5
19365 (exit $ac_status); }; }; then
19366 ac_cv_type_off_t
=yes
19368 echo "$as_me: failed program was:" >&5
19369 cat conftest.
$ac_ext >&5
19370 ac_cv_type_off_t
=no
19372 rm -f conftest.
$ac_objext conftest.
$ac_ext
19374 echo "$as_me:19374: result: $ac_cv_type_off_t" >&5
19375 echo "${ECHO_T}$ac_cv_type_off_t" >&6
19376 if test $ac_cv_type_off_t = yes; then
19380 cat >>confdefs.h
<<EOF
19386 echo "$as_me:19386: checking for pid_t" >&5
19387 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
19388 if test "${ac_cv_type_pid_t+set}" = set; then
19389 echo $ECHO_N "(cached) $ECHO_C" >&6
19391 cat >conftest.
$ac_ext <<_ACEOF
19392 #line 19392 "configure"
19393 #include "confdefs.h"
19394 $ac_includes_default
19400 if (sizeof (pid_t))
19406 rm -f conftest.
$ac_objext
19407 if { (eval echo "$as_me:19407: \"$ac_compile\"") >&5
19408 (eval $ac_compile) 2>&5
19410 echo "$as_me:19410: \$? = $ac_status" >&5
19411 (exit $ac_status); } &&
19412 { ac_try
='test -s conftest.$ac_objext'
19413 { (eval echo "$as_me:19413: \"$ac_try\"") >&5
19414 (eval $ac_try) 2>&5
19416 echo "$as_me:19416: \$? = $ac_status" >&5
19417 (exit $ac_status); }; }; then
19418 ac_cv_type_pid_t
=yes
19420 echo "$as_me: failed program was:" >&5
19421 cat conftest.
$ac_ext >&5
19422 ac_cv_type_pid_t
=no
19424 rm -f conftest.
$ac_objext conftest.
$ac_ext
19426 echo "$as_me:19426: result: $ac_cv_type_pid_t" >&5
19427 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
19428 if test $ac_cv_type_pid_t = yes; then
19432 cat >>confdefs.h
<<EOF
19438 echo "$as_me:19438: checking for size_t" >&5
19439 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
19440 if test "${ac_cv_type_size_t+set}" = set; then
19441 echo $ECHO_N "(cached) $ECHO_C" >&6
19443 cat >conftest.
$ac_ext <<_ACEOF
19444 #line 19444 "configure"
19445 #include "confdefs.h"
19446 $ac_includes_default
19452 if (sizeof (size_t))
19458 rm -f conftest.
$ac_objext
19459 if { (eval echo "$as_me:19459: \"$ac_compile\"") >&5
19460 (eval $ac_compile) 2>&5
19462 echo "$as_me:19462: \$? = $ac_status" >&5
19463 (exit $ac_status); } &&
19464 { ac_try
='test -s conftest.$ac_objext'
19465 { (eval echo "$as_me:19465: \"$ac_try\"") >&5
19466 (eval $ac_try) 2>&5
19468 echo "$as_me:19468: \$? = $ac_status" >&5
19469 (exit $ac_status); }; }; then
19470 ac_cv_type_size_t
=yes
19472 echo "$as_me: failed program was:" >&5
19473 cat conftest.
$ac_ext >&5
19474 ac_cv_type_size_t
=no
19476 rm -f conftest.
$ac_objext conftest.
$ac_ext
19478 echo "$as_me:19478: result: $ac_cv_type_size_t" >&5
19479 echo "${ECHO_T}$ac_cv_type_size_t" >&6
19480 if test $ac_cv_type_size_t = yes; then
19484 cat >>confdefs.h
<<EOF
19485 #define size_t unsigned
19490 echo "$as_me:19490: checking for uid_t in sys/types.h" >&5
19491 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
19492 if test "${ac_cv_type_uid_t+set}" = set; then
19493 echo $ECHO_N "(cached) $ECHO_C" >&6
19495 cat >conftest.
$ac_ext <<_ACEOF
19496 #line 19496 "configure"
19497 #include "confdefs.h"
19498 #include <sys/types.h>
19501 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19502 egrep "uid_t" >/dev
/null
2>&1; then
19503 ac_cv_type_uid_t
=yes
19505 ac_cv_type_uid_t
=no
19510 echo "$as_me:19510: result: $ac_cv_type_uid_t" >&5
19511 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
19512 if test $ac_cv_type_uid_t = no
; then
19514 cat >>confdefs.h
<<\EOF
19518 cat >>confdefs.h
<<\EOF
19525 ac_cpp
='$CXXCPP $CPPFLAGS'
19526 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19527 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19528 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19530 echo "$as_me:19530: checking if size_t is unsigned int" >&5
19531 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
19532 if test "${wx_cv_size_t_is_uint+set}" = set; then
19533 echo $ECHO_N "(cached) $ECHO_C" >&6
19535 cat >conftest.
$ac_ext <<_ACEOF
19536 #line 19536 "configure"
19537 #include "confdefs.h"
19538 #include <stddef.h>
19545 struct Foo { void foo(size_t); void foo(unsigned int); };
19553 rm -f conftest.
$ac_objext
19554 if { (eval echo "$as_me:19554: \"$ac_compile\"") >&5
19555 (eval $ac_compile) 2>&5
19557 echo "$as_me:19557: \$? = $ac_status" >&5
19558 (exit $ac_status); } &&
19559 { ac_try
='test -s conftest.$ac_objext'
19560 { (eval echo "$as_me:19560: \"$ac_try\"") >&5
19561 (eval $ac_try) 2>&5
19563 echo "$as_me:19563: \$? = $ac_status" >&5
19564 (exit $ac_status); }; }; then
19565 wx_cv_size_t_is_uint
=no
19567 echo "$as_me: failed program was:" >&5
19568 cat conftest.
$ac_ext >&5
19569 wx_cv_size_t_is_uint
=yes
19572 rm -f conftest.
$ac_objext conftest.
$ac_ext
19575 echo "$as_me:19575: result: $wx_cv_size_t_is_uint" >&5
19576 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
19578 if test "$wx_cv_size_t_is_uint" = "yes"; then
19579 cat >>confdefs.h
<<\EOF
19580 #define wxSIZE_T_IS_UINT 1
19584 echo "$as_me:19584: checking if size_t is unsigned long" >&5
19585 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
19586 if test "${wx_cv_size_t_is_ulong+set}" = set; then
19587 echo $ECHO_N "(cached) $ECHO_C" >&6
19589 cat >conftest.
$ac_ext <<_ACEOF
19590 #line 19590 "configure"
19591 #include "confdefs.h"
19592 #include <stddef.h>
19599 struct Foo { void foo(size_t); void foo(unsigned long); };
19607 rm -f conftest.
$ac_objext
19608 if { (eval echo "$as_me:19608: \"$ac_compile\"") >&5
19609 (eval $ac_compile) 2>&5
19611 echo "$as_me:19611: \$? = $ac_status" >&5
19612 (exit $ac_status); } &&
19613 { ac_try
='test -s conftest.$ac_objext'
19614 { (eval echo "$as_me:19614: \"$ac_try\"") >&5
19615 (eval $ac_try) 2>&5
19617 echo "$as_me:19617: \$? = $ac_status" >&5
19618 (exit $ac_status); }; }; then
19619 wx_cv_size_t_is_ulong
=no
19621 echo "$as_me: failed program was:" >&5
19622 cat conftest.
$ac_ext >&5
19623 wx_cv_size_t_is_ulong
=yes
19626 rm -f conftest.
$ac_objext conftest.
$ac_ext
19629 echo "$as_me:19629: result: $wx_cv_size_t_is_ulong" >&5
19630 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
19632 if test "$wx_cv_size_t_is_ulong" = "yes"; then
19633 cat >>confdefs.h
<<\EOF
19634 #define wxSIZE_T_IS_ULONG 1
19641 ac_cpp
='$CPP $CPPFLAGS'
19642 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19643 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19644 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19646 echo "$as_me:19646: checking for pw_gecos in struct passwd" >&5
19647 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
19648 if test "${wx_cv_struct_pw_gecos+set}" = set; then
19649 echo $ECHO_N "(cached) $ECHO_C" >&6
19652 cat >conftest.
$ac_ext <<_ACEOF
19653 #line 19653 "configure"
19654 #include "confdefs.h"
19668 rm -f conftest.
$ac_objext
19669 if { (eval echo "$as_me:19669: \"$ac_compile\"") >&5
19670 (eval $ac_compile) 2>&5
19672 echo "$as_me:19672: \$? = $ac_status" >&5
19673 (exit $ac_status); } &&
19674 { ac_try
='test -s conftest.$ac_objext'
19675 { (eval echo "$as_me:19675: \"$ac_try\"") >&5
19676 (eval $ac_try) 2>&5
19678 echo "$as_me:19678: \$? = $ac_status" >&5
19679 (exit $ac_status); }; }; then
19681 wx_cv_struct_pw_gecos
=yes
19684 echo "$as_me: failed program was:" >&5
19685 cat conftest.
$ac_ext >&5
19687 wx_cv_struct_pw_gecos
=no
19690 rm -f conftest.
$ac_objext conftest.
$ac_ext
19693 echo "$as_me:19693: result: $wx_cv_struct_pw_gecos" >&5
19694 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
19696 if test "$wx_cv_struct_pw_gecos" = "yes"; then
19697 cat >>confdefs.h
<<\EOF
19698 #define HAVE_PW_GECOS 1
19704 if test "$wx_cv_sizeof_wchar_t" != "0"; then
19707 for ac_func
in wcslen
19709 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19710 echo "$as_me:19710: checking for $ac_func" >&5
19711 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19712 if eval "test \"\${$as_ac_var+set}\" = set"; then
19713 echo $ECHO_N "(cached) $ECHO_C" >&6
19715 cat >conftest.
$ac_ext <<_ACEOF
19716 #line 19716 "configure"
19717 #include "confdefs.h"
19718 /* System header to define __stub macros and hopefully few prototypes,
19719 which can conflict with char $ac_func (); below. */
19720 #include <assert.h>
19721 /* Override any gcc2 internal prototype to avoid an error. */
19725 /* We use char because int might match the return type of a gcc2
19726 builtin and then its argument prototype would still apply. */
19733 /* The GNU C library defines this for functions which it implements
19734 to always fail with ENOSYS. Some functions are actually named
19735 something starting with __ and the normal name is an alias. */
19736 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19746 rm -f conftest.
$ac_objext conftest
$ac_exeext
19747 if { (eval echo "$as_me:19747: \"$ac_link\"") >&5
19748 (eval $ac_link) 2>&5
19750 echo "$as_me:19750: \$? = $ac_status" >&5
19751 (exit $ac_status); } &&
19752 { ac_try
='test -s conftest$ac_exeext'
19753 { (eval echo "$as_me:19753: \"$ac_try\"") >&5
19754 (eval $ac_try) 2>&5
19756 echo "$as_me:19756: \$? = $ac_status" >&5
19757 (exit $ac_status); }; }; then
19758 eval "$as_ac_var=yes"
19760 echo "$as_me: failed program was:" >&5
19761 cat conftest.
$ac_ext >&5
19762 eval "$as_ac_var=no"
19764 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19766 echo "$as_me:19766: result: `eval echo '${'$as_ac_var'}'`" >&5
19767 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19768 if test `eval echo '${'$as_ac_var'}'` = yes; then
19769 cat >>confdefs.h
<<EOF
19770 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19773 cat >>confdefs.h
<<\EOF
19774 #define HAVE_WCSLEN 1
19782 if test "$WCHAR_OK" = 0; then
19783 if test "$TOOLKIT" = "MSW"; then
19784 echo "$as_me:19784: checking for wcslen in -lmsvcrt" >&5
19785 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
19786 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
19787 echo $ECHO_N "(cached) $ECHO_C" >&6
19789 ac_check_lib_save_LIBS
=$LIBS
19790 LIBS
="-lmsvcrt $LIBS"
19791 cat >conftest.
$ac_ext <<_ACEOF
19792 #line 19792 "configure"
19793 #include "confdefs.h"
19795 /* Override any gcc2 internal prototype to avoid an error. */
19799 /* We use char because int might match the return type of a gcc2
19800 builtin and then its argument prototype would still apply. */
19810 rm -f conftest.
$ac_objext conftest
$ac_exeext
19811 if { (eval echo "$as_me:19811: \"$ac_link\"") >&5
19812 (eval $ac_link) 2>&5
19814 echo "$as_me:19814: \$? = $ac_status" >&5
19815 (exit $ac_status); } &&
19816 { ac_try
='test -s conftest$ac_exeext'
19817 { (eval echo "$as_me:19817: \"$ac_try\"") >&5
19818 (eval $ac_try) 2>&5
19820 echo "$as_me:19820: \$? = $ac_status" >&5
19821 (exit $ac_status); }; }; then
19822 ac_cv_lib_msvcrt_wcslen
=yes
19824 echo "$as_me: failed program was:" >&5
19825 cat conftest.
$ac_ext >&5
19826 ac_cv_lib_msvcrt_wcslen
=no
19828 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19829 LIBS
=$ac_check_lib_save_LIBS
19831 echo "$as_me:19831: result: $ac_cv_lib_msvcrt_wcslen" >&5
19832 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
19833 if test $ac_cv_lib_msvcrt_wcslen = yes; then
19835 cat >>confdefs.h
<<\EOF
19836 #define HAVE_WCSLEN 1
19844 echo "$as_me:19844: checking for wcslen in -lw" >&5
19845 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
19846 if test "${ac_cv_lib_w_wcslen+set}" = set; then
19847 echo $ECHO_N "(cached) $ECHO_C" >&6
19849 ac_check_lib_save_LIBS
=$LIBS
19851 cat >conftest.
$ac_ext <<_ACEOF
19852 #line 19852 "configure"
19853 #include "confdefs.h"
19855 /* Override any gcc2 internal prototype to avoid an error. */
19859 /* We use char because int might match the return type of a gcc2
19860 builtin and then its argument prototype would still apply. */
19870 rm -f conftest.
$ac_objext conftest
$ac_exeext
19871 if { (eval echo "$as_me:19871: \"$ac_link\"") >&5
19872 (eval $ac_link) 2>&5
19874 echo "$as_me:19874: \$? = $ac_status" >&5
19875 (exit $ac_status); } &&
19876 { ac_try
='test -s conftest$ac_exeext'
19877 { (eval echo "$as_me:19877: \"$ac_try\"") >&5
19878 (eval $ac_try) 2>&5
19880 echo "$as_me:19880: \$? = $ac_status" >&5
19881 (exit $ac_status); }; }; then
19882 ac_cv_lib_w_wcslen
=yes
19884 echo "$as_me: failed program was:" >&5
19885 cat conftest.
$ac_ext >&5
19886 ac_cv_lib_w_wcslen
=no
19888 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19889 LIBS
=$ac_check_lib_save_LIBS
19891 echo "$as_me:19891: result: $ac_cv_lib_w_wcslen" >&5
19892 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
19893 if test $ac_cv_lib_w_wcslen = yes; then
19895 cat >>confdefs.h
<<\EOF
19896 #define HAVE_WCSLEN 1
19908 if test "$WCHAR_OK" = 1; then
19909 cat >>confdefs.h
<<\EOF
19910 #define wxUSE_WCHAR_T 1
19913 for ac_func
in wcsrtombs
19915 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19916 echo "$as_me:19916: checking for $ac_func" >&5
19917 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19918 if eval "test \"\${$as_ac_var+set}\" = set"; then
19919 echo $ECHO_N "(cached) $ECHO_C" >&6
19921 cat >conftest.
$ac_ext <<_ACEOF
19922 #line 19922 "configure"
19923 #include "confdefs.h"
19924 /* System header to define __stub macros and hopefully few prototypes,
19925 which can conflict with char $ac_func (); below. */
19926 #include <assert.h>
19927 /* Override any gcc2 internal prototype to avoid an error. */
19931 /* We use char because int might match the return type of a gcc2
19932 builtin and then its argument prototype would still apply. */
19939 /* The GNU C library defines this for functions which it implements
19940 to always fail with ENOSYS. Some functions are actually named
19941 something starting with __ and the normal name is an alias. */
19942 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19952 rm -f conftest.
$ac_objext conftest
$ac_exeext
19953 if { (eval echo "$as_me:19953: \"$ac_link\"") >&5
19954 (eval $ac_link) 2>&5
19956 echo "$as_me:19956: \$? = $ac_status" >&5
19957 (exit $ac_status); } &&
19958 { ac_try
='test -s conftest$ac_exeext'
19959 { (eval echo "$as_me:19959: \"$ac_try\"") >&5
19960 (eval $ac_try) 2>&5
19962 echo "$as_me:19962: \$? = $ac_status" >&5
19963 (exit $ac_status); }; }; then
19964 eval "$as_ac_var=yes"
19966 echo "$as_me: failed program was:" >&5
19967 cat conftest.
$ac_ext >&5
19968 eval "$as_ac_var=no"
19970 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19972 echo "$as_me:19972: result: `eval echo '${'$as_ac_var'}'`" >&5
19973 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19974 if test `eval echo '${'$as_ac_var'}'` = yes; then
19975 cat >>confdefs.h
<<EOF
19976 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19983 if test "$USE_DARWIN" = 1; then
19984 cat >>confdefs.h
<<\EOF
19985 #define wxUSE_WCHAR_T 1
19989 { echo "$as_me:19989: WARNING: Wide character support is unavailable" >&5
19990 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
19994 for ac_func
in vprintf
19996 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19997 echo "$as_me:19997: checking for $ac_func" >&5
19998 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19999 if eval "test \"\${$as_ac_var+set}\" = set"; then
20000 echo $ECHO_N "(cached) $ECHO_C" >&6
20002 cat >conftest.
$ac_ext <<_ACEOF
20003 #line 20003 "configure"
20004 #include "confdefs.h"
20005 /* System header to define __stub macros and hopefully few prototypes,
20006 which can conflict with char $ac_func (); below. */
20007 #include <assert.h>
20008 /* Override any gcc2 internal prototype to avoid an error. */
20012 /* We use char because int might match the return type of a gcc2
20013 builtin and then its argument prototype would still apply. */
20020 /* The GNU C library defines this for functions which it implements
20021 to always fail with ENOSYS. Some functions are actually named
20022 something starting with __ and the normal name is an alias. */
20023 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20033 rm -f conftest.
$ac_objext conftest
$ac_exeext
20034 if { (eval echo "$as_me:20034: \"$ac_link\"") >&5
20035 (eval $ac_link) 2>&5
20037 echo "$as_me:20037: \$? = $ac_status" >&5
20038 (exit $ac_status); } &&
20039 { ac_try
='test -s conftest$ac_exeext'
20040 { (eval echo "$as_me:20040: \"$ac_try\"") >&5
20041 (eval $ac_try) 2>&5
20043 echo "$as_me:20043: \$? = $ac_status" >&5
20044 (exit $ac_status); }; }; then
20045 eval "$as_ac_var=yes"
20047 echo "$as_me: failed program was:" >&5
20048 cat conftest.
$ac_ext >&5
20049 eval "$as_ac_var=no"
20051 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20053 echo "$as_me:20053: result: `eval echo '${'$as_ac_var'}'`" >&5
20054 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20055 if test `eval echo '${'$as_ac_var'}'` = yes; then
20056 cat >>confdefs.h
<<EOF
20057 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20060 echo "$as_me:20060: checking for _doprnt" >&5
20061 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6
20062 if test "${ac_cv_func__doprnt+set}" = set; then
20063 echo $ECHO_N "(cached) $ECHO_C" >&6
20065 cat >conftest.
$ac_ext <<_ACEOF
20066 #line 20066 "configure"
20067 #include "confdefs.h"
20068 /* System header to define __stub macros and hopefully few prototypes,
20069 which can conflict with char _doprnt (); below. */
20070 #include <assert.h>
20071 /* Override any gcc2 internal prototype to avoid an error. */
20075 /* We use char because int might match the return type of a gcc2
20076 builtin and then its argument prototype would still apply. */
20083 /* The GNU C library defines this for functions which it implements
20084 to always fail with ENOSYS. Some functions are actually named
20085 something starting with __ and the normal name is an alias. */
20086 #if defined (__stub__doprnt) || defined (__stub____doprnt)
20096 rm -f conftest.
$ac_objext conftest
$ac_exeext
20097 if { (eval echo "$as_me:20097: \"$ac_link\"") >&5
20098 (eval $ac_link) 2>&5
20100 echo "$as_me:20100: \$? = $ac_status" >&5
20101 (exit $ac_status); } &&
20102 { ac_try
='test -s conftest$ac_exeext'
20103 { (eval echo "$as_me:20103: \"$ac_try\"") >&5
20104 (eval $ac_try) 2>&5
20106 echo "$as_me:20106: \$? = $ac_status" >&5
20107 (exit $ac_status); }; }; then
20108 ac_cv_func__doprnt
=yes
20110 echo "$as_me: failed program was:" >&5
20111 cat conftest.
$ac_ext >&5
20112 ac_cv_func__doprnt
=no
20114 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20116 echo "$as_me:20116: result: $ac_cv_func__doprnt" >&5
20117 echo "${ECHO_T}$ac_cv_func__doprnt" >&6
20118 if test $ac_cv_func__doprnt = yes; then
20120 cat >>confdefs.h
<<\EOF
20121 #define HAVE_DOPRNT 1
20129 echo "$as_me:20129: checking for vsnprintf" >&5
20130 echo $ECHO_N "checking for vsnprintf... $ECHO_C" >&6
20131 if test "${wx_cv_func_vsnprintf+set}" = set; then
20132 echo $ECHO_N "(cached) $ECHO_C" >&6
20135 cat >conftest.
$ac_ext <<_ACEOF
20136 #line 20136 "configure"
20137 #include "confdefs.h"
20140 #include <stdarg.h>
20146 int wx_test_vsnprintf(const char *, ...);
20148 wx_test_vsnprintf("%s");
20152 int wx_test_vsnprintf(const char *fmt, ...)
20157 va_start(argp, fmt);
20158 vsnprintf(s, 42, fmt, argp);
20165 rm -f conftest.
$ac_objext conftest
$ac_exeext
20166 if { (eval echo "$as_me:20166: \"$ac_link\"") >&5
20167 (eval $ac_link) 2>&5
20169 echo "$as_me:20169: \$? = $ac_status" >&5
20170 (exit $ac_status); } &&
20171 { ac_try
='test -s conftest$ac_exeext'
20172 { (eval echo "$as_me:20172: \"$ac_try\"") >&5
20173 (eval $ac_try) 2>&5
20175 echo "$as_me:20175: \$? = $ac_status" >&5
20176 (exit $ac_status); }; }; then
20178 wx_cv_func_vsnprintf
=yes
20181 echo "$as_me: failed program was:" >&5
20182 cat conftest.
$ac_ext >&5
20184 cat >conftest.
$ac_ext <<_ACEOF
20185 #line 20185 "configure"
20186 #include "confdefs.h"
20189 #include <stdarg.h>
20195 int wx_test_vsnprintf(const char *, ...);
20197 wx_test_vsnprintf("%s");
20201 int wx_test_vsnprintf(const char *fmt, ...)
20206 va_start(argp, fmt);
20207 _vsnprintf(s, 42, fmt, argp);
20214 rm -f conftest.
$ac_objext conftest
$ac_exeext
20215 if { (eval echo "$as_me:20215: \"$ac_link\"") >&5
20216 (eval $ac_link) 2>&5
20218 echo "$as_me:20218: \$? = $ac_status" >&5
20219 (exit $ac_status); } &&
20220 { ac_try
='test -s conftest$ac_exeext'
20221 { (eval echo "$as_me:20221: \"$ac_try\"") >&5
20222 (eval $ac_try) 2>&5
20224 echo "$as_me:20224: \$? = $ac_status" >&5
20225 (exit $ac_status); }; }; then
20227 wx_cv_func_vsnprintf
=yes
20230 echo "$as_me: failed program was:" >&5
20231 cat conftest.
$ac_ext >&5
20233 wx_cv_func_vsnprintf
=no
20236 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20239 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20242 echo "$as_me:20242: result: $wx_cv_func_vsnprintf" >&5
20243 echo "${ECHO_T}$wx_cv_func_vsnprintf" >&6
20245 if test "$wx_cv_func_vsnprintf" = yes; then
20246 cat >>confdefs.h
<<\EOF
20247 #define HAVE_VSNPRINTF 1
20251 { echo "$as_me:20251: WARNING: unsafe function vsprintf will be used instead of vsnprintf" >&5
20252 echo "$as_me: WARNING: unsafe function vsprintf will be used instead of vsnprintf" >&2;}
20255 echo "$as_me:20255: checking for vsscanf" >&5
20256 echo $ECHO_N "checking for vsscanf... $ECHO_C" >&6
20257 if test "${wx_cv_func_vsscanf+set}" = set; then
20258 echo $ECHO_N "(cached) $ECHO_C" >&6
20261 cat >conftest.
$ac_ext <<_ACEOF
20262 #line 20262 "configure"
20263 #include "confdefs.h"
20266 #include <stdarg.h>
20272 int wx_test_vsscanf(const char *, ...);
20274 wx_test_vsscanf("%d");
20278 int wx_test_vsscanf(const char *fmt, ...)
20281 va_start(argp, fmt);
20282 vsscanf("42", fmt, argp);
20289 rm -f conftest.
$ac_objext
20290 if { (eval echo "$as_me:20290: \"$ac_compile\"") >&5
20291 (eval $ac_compile) 2>&5
20293 echo "$as_me:20293: \$? = $ac_status" >&5
20294 (exit $ac_status); } &&
20295 { ac_try
='test -s conftest.$ac_objext'
20296 { (eval echo "$as_me:20296: \"$ac_try\"") >&5
20297 (eval $ac_try) 2>&5
20299 echo "$as_me:20299: \$? = $ac_status" >&5
20300 (exit $ac_status); }; }; then
20302 wx_cv_func_vsscanf
=yes
20305 echo "$as_me: failed program was:" >&5
20306 cat conftest.
$ac_ext >&5
20308 wx_cv_func_vsscanf
=no
20311 rm -f conftest.
$ac_objext conftest.
$ac_ext
20314 echo "$as_me:20314: result: $wx_cv_func_vsscanf" >&5
20315 echo "${ECHO_T}$wx_cv_func_vsscanf" >&6
20317 if test "$wx_cv_func_vsscanf" = yes; then
20318 cat >>confdefs.h
<<\EOF
20319 #define HAVE_VSSCANF 1
20324 if test "$TOOLKIT" != "MSW"; then
20327 ac_cpp
='$CXXCPP $CPPFLAGS'
20328 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20329 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20330 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20332 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
20333 if test "${with_libiconv_prefix+set}" = set; then
20334 withval
="$with_libiconv_prefix"
20336 for dir
in `echo "$withval" | tr : ' '`; do
20337 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
20338 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
20343 echo "$as_me:20343: checking for iconv" >&5
20344 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
20345 if test "${am_cv_func_iconv+set}" = set; then
20346 echo $ECHO_N "(cached) $ECHO_C" >&6
20349 am_cv_func_iconv
="no, consider installing GNU libiconv"
20351 cat >conftest.
$ac_ext <<_ACEOF
20352 #line 20352 "configure"
20353 #include "confdefs.h"
20354 #include <stdlib.h>
20359 iconv_t cd = iconv_open("","");
20360 iconv(cd,NULL,NULL,NULL,NULL);
20366 rm -f conftest.
$ac_objext conftest
$ac_exeext
20367 if { (eval echo "$as_me:20367: \"$ac_link\"") >&5
20368 (eval $ac_link) 2>&5
20370 echo "$as_me:20370: \$? = $ac_status" >&5
20371 (exit $ac_status); } &&
20372 { ac_try
='test -s conftest$ac_exeext'
20373 { (eval echo "$as_me:20373: \"$ac_try\"") >&5
20374 (eval $ac_try) 2>&5
20376 echo "$as_me:20376: \$? = $ac_status" >&5
20377 (exit $ac_status); }; }; then
20378 am_cv_func_iconv
=yes
20380 echo "$as_me: failed program was:" >&5
20381 cat conftest.
$ac_ext >&5
20383 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20384 if test "$am_cv_func_iconv" != yes; then
20385 am_save_LIBS
="$LIBS"
20386 LIBS
="$LIBS -liconv"
20387 cat >conftest.
$ac_ext <<_ACEOF
20388 #line 20388 "configure"
20389 #include "confdefs.h"
20390 #include <stdlib.h>
20395 iconv_t cd = iconv_open("","");
20396 iconv(cd,NULL,NULL,NULL,NULL);
20402 rm -f conftest.
$ac_objext conftest
$ac_exeext
20403 if { (eval echo "$as_me:20403: \"$ac_link\"") >&5
20404 (eval $ac_link) 2>&5
20406 echo "$as_me:20406: \$? = $ac_status" >&5
20407 (exit $ac_status); } &&
20408 { ac_try
='test -s conftest$ac_exeext'
20409 { (eval echo "$as_me:20409: \"$ac_try\"") >&5
20410 (eval $ac_try) 2>&5
20412 echo "$as_me:20412: \$? = $ac_status" >&5
20413 (exit $ac_status); }; }; then
20414 am_cv_lib_iconv
=yes
20415 am_cv_func_iconv
=yes
20417 echo "$as_me: failed program was:" >&5
20418 cat conftest.
$ac_ext >&5
20420 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20421 LIBS
="$am_save_LIBS"
20425 echo "$as_me:20425: result: $am_cv_func_iconv" >&5
20426 echo "${ECHO_T}$am_cv_func_iconv" >&6
20427 if test "$am_cv_func_iconv" = yes; then
20429 cat >>confdefs.h
<<\EOF
20430 #define HAVE_ICONV 1
20433 echo "$as_me:20433: checking if iconv needs const" >&5
20434 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
20435 if test "${wx_cv_func_iconv_const+set}" = set; then
20436 echo $ECHO_N "(cached) $ECHO_C" >&6
20438 cat >conftest.
$ac_ext <<_ACEOF
20439 #line 20439 "configure"
20440 #include "confdefs.h"
20442 #include <stdlib.h>
20448 #if defined(__STDC__) || defined(__cplusplus)
20449 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
20462 rm -f conftest.
$ac_objext
20463 if { (eval echo "$as_me:20463: \"$ac_compile\"") >&5
20464 (eval $ac_compile) 2>&5
20466 echo "$as_me:20466: \$? = $ac_status" >&5
20467 (exit $ac_status); } &&
20468 { ac_try
='test -s conftest.$ac_objext'
20469 { (eval echo "$as_me:20469: \"$ac_try\"") >&5
20470 (eval $ac_try) 2>&5
20472 echo "$as_me:20472: \$? = $ac_status" >&5
20473 (exit $ac_status); }; }; then
20474 wx_cv_func_iconv_const
="no"
20476 echo "$as_me: failed program was:" >&5
20477 cat conftest.
$ac_ext >&5
20478 wx_cv_func_iconv_const
="yes"
20481 rm -f conftest.
$ac_objext conftest.
$ac_ext
20484 echo "$as_me:20484: result: $wx_cv_func_iconv_const" >&5
20485 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
20488 if test "x$wx_cv_func_iconv_const" = "xyes"; then
20489 iconv_const
="const"
20492 cat >>confdefs.h
<<EOF
20493 #define ICONV_CONST $iconv_const
20498 if test "$am_cv_lib_iconv" = yes; then
20502 LIBS
="$LIBICONV $LIBS"
20504 ac_cpp
='$CPP $CPPFLAGS'
20505 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20506 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20507 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20509 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
20511 for ac_func
in sigaction
20513 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20514 echo "$as_me:20514: checking for $ac_func" >&5
20515 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20516 if eval "test \"\${$as_ac_var+set}\" = set"; then
20517 echo $ECHO_N "(cached) $ECHO_C" >&6
20519 cat >conftest.
$ac_ext <<_ACEOF
20520 #line 20520 "configure"
20521 #include "confdefs.h"
20522 /* System header to define __stub macros and hopefully few prototypes,
20523 which can conflict with char $ac_func (); below. */
20524 #include <assert.h>
20525 /* Override any gcc2 internal prototype to avoid an error. */
20529 /* We use char because int might match the return type of a gcc2
20530 builtin and then its argument prototype would still apply. */
20537 /* The GNU C library defines this for functions which it implements
20538 to always fail with ENOSYS. Some functions are actually named
20539 something starting with __ and the normal name is an alias. */
20540 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20550 rm -f conftest.
$ac_objext conftest
$ac_exeext
20551 if { (eval echo "$as_me:20551: \"$ac_link\"") >&5
20552 (eval $ac_link) 2>&5
20554 echo "$as_me:20554: \$? = $ac_status" >&5
20555 (exit $ac_status); } &&
20556 { ac_try
='test -s conftest$ac_exeext'
20557 { (eval echo "$as_me:20557: \"$ac_try\"") >&5
20558 (eval $ac_try) 2>&5
20560 echo "$as_me:20560: \$? = $ac_status" >&5
20561 (exit $ac_status); }; }; then
20562 eval "$as_ac_var=yes"
20564 echo "$as_me: failed program was:" >&5
20565 cat conftest.
$ac_ext >&5
20566 eval "$as_ac_var=no"
20568 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20570 echo "$as_me:20570: result: `eval echo '${'$as_ac_var'}'`" >&5
20571 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20572 if test `eval echo '${'$as_ac_var'}'` = yes; then
20573 cat >>confdefs.h
<<EOF
20574 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20580 if test "$ac_cv_func_sigaction" = "no"; then
20581 { echo "$as_me:20581: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
20582 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
20583 wxUSE_ON_FATAL_EXCEPTION
=no
20586 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
20589 ac_cpp
='$CXXCPP $CPPFLAGS'
20590 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20591 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20592 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20594 echo "$as_me:20594: checking for sa_handler type" >&5
20595 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
20596 if test "${wx_cv_type_sa_handler+set}" = set; then
20597 echo $ECHO_N "(cached) $ECHO_C" >&6
20600 cat >conftest.
$ac_ext <<_ACEOF
20601 #line 20601 "configure"
20602 #include "confdefs.h"
20603 #include <signal.h>
20608 extern void testSigHandler(int);
20610 struct sigaction sa;
20611 sa.sa_handler = testSigHandler;
20617 rm -f conftest.
$ac_objext
20618 if { (eval echo "$as_me:20618: \"$ac_compile\"") >&5
20619 (eval $ac_compile) 2>&5
20621 echo "$as_me:20621: \$? = $ac_status" >&5
20622 (exit $ac_status); } &&
20623 { ac_try
='test -s conftest.$ac_objext'
20624 { (eval echo "$as_me:20624: \"$ac_try\"") >&5
20625 (eval $ac_try) 2>&5
20627 echo "$as_me:20627: \$? = $ac_status" >&5
20628 (exit $ac_status); }; }; then
20630 wx_cv_type_sa_handler
=int
20633 echo "$as_me: failed program was:" >&5
20634 cat conftest.
$ac_ext >&5
20636 wx_cv_type_sa_handler
=void
20639 rm -f conftest.
$ac_objext conftest.
$ac_ext
20642 echo "$as_me:20642: result: $wx_cv_type_sa_handler" >&5
20643 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
20646 ac_cpp
='$CPP $CPPFLAGS'
20647 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20648 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20649 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20651 cat >>confdefs.h
<<EOF
20652 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
20658 for ac_func
in vfork
20660 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20661 echo "$as_me:20661: checking for $ac_func" >&5
20662 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20663 if eval "test \"\${$as_ac_var+set}\" = set"; then
20664 echo $ECHO_N "(cached) $ECHO_C" >&6
20666 cat >conftest.
$ac_ext <<_ACEOF
20667 #line 20667 "configure"
20668 #include "confdefs.h"
20669 /* System header to define __stub macros and hopefully few prototypes,
20670 which can conflict with char $ac_func (); below. */
20671 #include <assert.h>
20672 /* Override any gcc2 internal prototype to avoid an error. */
20676 /* We use char because int might match the return type of a gcc2
20677 builtin and then its argument prototype would still apply. */
20684 /* The GNU C library defines this for functions which it implements
20685 to always fail with ENOSYS. Some functions are actually named
20686 something starting with __ and the normal name is an alias. */
20687 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20697 rm -f conftest.
$ac_objext conftest
$ac_exeext
20698 if { (eval echo "$as_me:20698: \"$ac_link\"") >&5
20699 (eval $ac_link) 2>&5
20701 echo "$as_me:20701: \$? = $ac_status" >&5
20702 (exit $ac_status); } &&
20703 { ac_try
='test -s conftest$ac_exeext'
20704 { (eval echo "$as_me:20704: \"$ac_try\"") >&5
20705 (eval $ac_try) 2>&5
20707 echo "$as_me:20707: \$? = $ac_status" >&5
20708 (exit $ac_status); }; }; then
20709 eval "$as_ac_var=yes"
20711 echo "$as_me: failed program was:" >&5
20712 cat conftest.
$ac_ext >&5
20713 eval "$as_ac_var=no"
20715 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20717 echo "$as_me:20717: result: `eval echo '${'$as_ac_var'}'`" >&5
20718 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20719 if test `eval echo '${'$as_ac_var'}'` = yes; then
20720 cat >>confdefs.h
<<EOF
20721 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20727 for ac_func
in mkstemp mktemp
20729 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20730 echo "$as_me:20730: checking for $ac_func" >&5
20731 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20732 if eval "test \"\${$as_ac_var+set}\" = set"; then
20733 echo $ECHO_N "(cached) $ECHO_C" >&6
20735 cat >conftest.
$ac_ext <<_ACEOF
20736 #line 20736 "configure"
20737 #include "confdefs.h"
20738 /* System header to define __stub macros and hopefully few prototypes,
20739 which can conflict with char $ac_func (); below. */
20740 #include <assert.h>
20741 /* Override any gcc2 internal prototype to avoid an error. */
20745 /* We use char because int might match the return type of a gcc2
20746 builtin and then its argument prototype would still apply. */
20753 /* The GNU C library defines this for functions which it implements
20754 to always fail with ENOSYS. Some functions are actually named
20755 something starting with __ and the normal name is an alias. */
20756 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20766 rm -f conftest.
$ac_objext conftest
$ac_exeext
20767 if { (eval echo "$as_me:20767: \"$ac_link\"") >&5
20768 (eval $ac_link) 2>&5
20770 echo "$as_me:20770: \$? = $ac_status" >&5
20771 (exit $ac_status); } &&
20772 { ac_try
='test -s conftest$ac_exeext'
20773 { (eval echo "$as_me:20773: \"$ac_try\"") >&5
20774 (eval $ac_try) 2>&5
20776 echo "$as_me:20776: \$? = $ac_status" >&5
20777 (exit $ac_status); }; }; then
20778 eval "$as_ac_var=yes"
20780 echo "$as_me: failed program was:" >&5
20781 cat conftest.
$ac_ext >&5
20782 eval "$as_ac_var=no"
20784 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20786 echo "$as_me:20786: result: `eval echo '${'$as_ac_var'}'`" >&5
20787 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20788 if test `eval echo '${'$as_ac_var'}'` = yes; then
20789 cat >>confdefs.h
<<EOF
20790 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20796 echo "$as_me:20796: checking for statfs" >&5
20797 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
20798 if test "${wx_cv_func_statfs+set}" = set; then
20799 echo $ECHO_N "(cached) $ECHO_C" >&6
20801 cat >conftest.
$ac_ext <<_ACEOF
20802 #line 20802 "configure"
20803 #include "confdefs.h"
20805 #if defined(__BSD__)
20806 #include <sys/param.h>
20807 #include <sys/mount.h>
20809 #include <sys/vfs.h>
20827 rm -f conftest.
$ac_objext
20828 if { (eval echo "$as_me:20828: \"$ac_compile\"") >&5
20829 (eval $ac_compile) 2>&5
20831 echo "$as_me:20831: \$? = $ac_status" >&5
20832 (exit $ac_status); } &&
20833 { ac_try
='test -s conftest.$ac_objext'
20834 { (eval echo "$as_me:20834: \"$ac_try\"") >&5
20835 (eval $ac_try) 2>&5
20837 echo "$as_me:20837: \$? = $ac_status" >&5
20838 (exit $ac_status); }; }; then
20840 wx_cv_func_statfs
=yes
20843 echo "$as_me: failed program was:" >&5
20844 cat conftest.
$ac_ext >&5
20846 wx_cv_func_statfs
=no
20849 rm -f conftest.
$ac_objext conftest.
$ac_ext
20852 echo "$as_me:20852: result: $wx_cv_func_statfs" >&5
20853 echo "${ECHO_T}$wx_cv_func_statfs" >&6
20855 if test "$wx_cv_func_statfs" = "yes"; then
20856 cat >>confdefs.h
<<\EOF
20857 #define HAVE_STATFS 1
20861 echo "$as_me:20861: checking for statvfs" >&5
20862 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
20863 if test "${wx_cv_func_statvfs+set}" = set; then
20864 echo $ECHO_N "(cached) $ECHO_C" >&6
20866 cat >conftest.
$ac_ext <<_ACEOF
20867 #line 20867 "configure"
20868 #include "confdefs.h"
20870 #include <sys/statvfs.h>
20887 rm -f conftest.
$ac_objext
20888 if { (eval echo "$as_me:20888: \"$ac_compile\"") >&5
20889 (eval $ac_compile) 2>&5
20891 echo "$as_me:20891: \$? = $ac_status" >&5
20892 (exit $ac_status); } &&
20893 { ac_try
='test -s conftest.$ac_objext'
20894 { (eval echo "$as_me:20894: \"$ac_try\"") >&5
20895 (eval $ac_try) 2>&5
20897 echo "$as_me:20897: \$? = $ac_status" >&5
20898 (exit $ac_status); }; }; then
20900 wx_cv_func_statvfs
=yes
20903 echo "$as_me: failed program was:" >&5
20904 cat conftest.
$ac_ext >&5
20906 wx_cv_func_statvfs
=no
20909 rm -f conftest.
$ac_objext conftest.
$ac_ext
20912 echo "$as_me:20912: result: $wx_cv_func_statvfs" >&5
20913 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
20915 if test "$wx_cv_func_statvfs" = "yes"; then
20916 cat >>confdefs.h
<<\EOF
20917 #define HAVE_STATVFS 1
20921 { echo "$as_me:20921: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
20922 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
20926 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
20928 for ac_func
in fcntl flock
20930 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20931 echo "$as_me:20931: checking for $ac_func" >&5
20932 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20933 if eval "test \"\${$as_ac_var+set}\" = set"; then
20934 echo $ECHO_N "(cached) $ECHO_C" >&6
20936 cat >conftest.
$ac_ext <<_ACEOF
20937 #line 20937 "configure"
20938 #include "confdefs.h"
20939 /* System header to define __stub macros and hopefully few prototypes,
20940 which can conflict with char $ac_func (); below. */
20941 #include <assert.h>
20942 /* Override any gcc2 internal prototype to avoid an error. */
20946 /* We use char because int might match the return type of a gcc2
20947 builtin and then its argument prototype would still apply. */
20954 /* The GNU C library defines this for functions which it implements
20955 to always fail with ENOSYS. Some functions are actually named
20956 something starting with __ and the normal name is an alias. */
20957 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20967 rm -f conftest.
$ac_objext conftest
$ac_exeext
20968 if { (eval echo "$as_me:20968: \"$ac_link\"") >&5
20969 (eval $ac_link) 2>&5
20971 echo "$as_me:20971: \$? = $ac_status" >&5
20972 (exit $ac_status); } &&
20973 { ac_try
='test -s conftest$ac_exeext'
20974 { (eval echo "$as_me:20974: \"$ac_try\"") >&5
20975 (eval $ac_try) 2>&5
20977 echo "$as_me:20977: \$? = $ac_status" >&5
20978 (exit $ac_status); }; }; then
20979 eval "$as_ac_var=yes"
20981 echo "$as_me: failed program was:" >&5
20982 cat conftest.
$ac_ext >&5
20983 eval "$as_ac_var=no"
20985 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20987 echo "$as_me:20987: result: `eval echo '${'$as_ac_var'}'`" >&5
20988 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20989 if test `eval echo '${'$as_ac_var'}'` = yes; then
20990 cat >>confdefs.h
<<EOF
20991 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20997 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
20998 { echo "$as_me:20998: WARNING: wxSingleInstanceChecker not available" >&5
20999 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
21000 wxUSE_SNGLINST_CHECKER
=no
21004 for ac_func
in timegm
21006 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21007 echo "$as_me:21007: checking for $ac_func" >&5
21008 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21009 if eval "test \"\${$as_ac_var+set}\" = set"; then
21010 echo $ECHO_N "(cached) $ECHO_C" >&6
21012 cat >conftest.
$ac_ext <<_ACEOF
21013 #line 21013 "configure"
21014 #include "confdefs.h"
21015 /* System header to define __stub macros and hopefully few prototypes,
21016 which can conflict with char $ac_func (); below. */
21017 #include <assert.h>
21018 /* Override any gcc2 internal prototype to avoid an error. */
21022 /* We use char because int might match the return type of a gcc2
21023 builtin and then its argument prototype would still apply. */
21030 /* The GNU C library defines this for functions which it implements
21031 to always fail with ENOSYS. Some functions are actually named
21032 something starting with __ and the normal name is an alias. */
21033 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21043 rm -f conftest.
$ac_objext conftest
$ac_exeext
21044 if { (eval echo "$as_me:21044: \"$ac_link\"") >&5
21045 (eval $ac_link) 2>&5
21047 echo "$as_me:21047: \$? = $ac_status" >&5
21048 (exit $ac_status); } &&
21049 { ac_try
='test -s conftest$ac_exeext'
21050 { (eval echo "$as_me:21050: \"$ac_try\"") >&5
21051 (eval $ac_try) 2>&5
21053 echo "$as_me:21053: \$? = $ac_status" >&5
21054 (exit $ac_status); }; }; then
21055 eval "$as_ac_var=yes"
21057 echo "$as_me: failed program was:" >&5
21058 cat conftest.
$ac_ext >&5
21059 eval "$as_ac_var=no"
21061 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21063 echo "$as_me:21063: result: `eval echo '${'$as_ac_var'}'`" >&5
21064 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21065 if test `eval echo '${'$as_ac_var'}'` = yes; then
21066 cat >>confdefs.h
<<EOF
21067 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21073 for ac_func
in putenv setenv
21075 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21076 echo "$as_me:21076: checking for $ac_func" >&5
21077 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21078 if eval "test \"\${$as_ac_var+set}\" = set"; then
21079 echo $ECHO_N "(cached) $ECHO_C" >&6
21081 cat >conftest.
$ac_ext <<_ACEOF
21082 #line 21082 "configure"
21083 #include "confdefs.h"
21084 /* System header to define __stub macros and hopefully few prototypes,
21085 which can conflict with char $ac_func (); below. */
21086 #include <assert.h>
21087 /* Override any gcc2 internal prototype to avoid an error. */
21091 /* We use char because int might match the return type of a gcc2
21092 builtin and then its argument prototype would still apply. */
21099 /* The GNU C library defines this for functions which it implements
21100 to always fail with ENOSYS. Some functions are actually named
21101 something starting with __ and the normal name is an alias. */
21102 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21112 rm -f conftest.
$ac_objext conftest
$ac_exeext
21113 if { (eval echo "$as_me:21113: \"$ac_link\"") >&5
21114 (eval $ac_link) 2>&5
21116 echo "$as_me:21116: \$? = $ac_status" >&5
21117 (exit $ac_status); } &&
21118 { ac_try
='test -s conftest$ac_exeext'
21119 { (eval echo "$as_me:21119: \"$ac_try\"") >&5
21120 (eval $ac_try) 2>&5
21122 echo "$as_me:21122: \$? = $ac_status" >&5
21123 (exit $ac_status); }; }; then
21124 eval "$as_ac_var=yes"
21126 echo "$as_me: failed program was:" >&5
21127 cat conftest.
$ac_ext >&5
21128 eval "$as_ac_var=no"
21130 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21132 echo "$as_me:21132: result: `eval echo '${'$as_ac_var'}'`" >&5
21133 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21134 if test `eval echo '${'$as_ac_var'}'` = yes; then
21135 cat >>confdefs.h
<<EOF
21136 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21142 HAVE_SOME_SLEEP_FUNC
=0
21143 if test "$USE_BEOS" = 1; then
21144 cat >>confdefs.h
<<\EOF
21145 #define HAVE_SLEEP 1
21148 HAVE_SOME_SLEEP_FUNC
=1
21151 if test "$USE_DARWIN" = 1; then
21152 cat >>confdefs.h
<<\EOF
21153 #define HAVE_USLEEP 1
21156 HAVE_SOME_SLEEP_FUNC
=1
21159 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
21162 for ac_func
in nanosleep
21164 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21165 echo "$as_me:21165: checking for $ac_func" >&5
21166 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21167 if eval "test \"\${$as_ac_var+set}\" = set"; then
21168 echo $ECHO_N "(cached) $ECHO_C" >&6
21170 cat >conftest.
$ac_ext <<_ACEOF
21171 #line 21171 "configure"
21172 #include "confdefs.h"
21173 /* System header to define __stub macros and hopefully few prototypes,
21174 which can conflict with char $ac_func (); below. */
21175 #include <assert.h>
21176 /* Override any gcc2 internal prototype to avoid an error. */
21180 /* We use char because int might match the return type of a gcc2
21181 builtin and then its argument prototype would still apply. */
21188 /* The GNU C library defines this for functions which it implements
21189 to always fail with ENOSYS. Some functions are actually named
21190 something starting with __ and the normal name is an alias. */
21191 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21201 rm -f conftest.
$ac_objext conftest
$ac_exeext
21202 if { (eval echo "$as_me:21202: \"$ac_link\"") >&5
21203 (eval $ac_link) 2>&5
21205 echo "$as_me:21205: \$? = $ac_status" >&5
21206 (exit $ac_status); } &&
21207 { ac_try
='test -s conftest$ac_exeext'
21208 { (eval echo "$as_me:21208: \"$ac_try\"") >&5
21209 (eval $ac_try) 2>&5
21211 echo "$as_me:21211: \$? = $ac_status" >&5
21212 (exit $ac_status); }; }; then
21213 eval "$as_ac_var=yes"
21215 echo "$as_me: failed program was:" >&5
21216 cat conftest.
$ac_ext >&5
21217 eval "$as_ac_var=no"
21219 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21221 echo "$as_me:21221: result: `eval echo '${'$as_ac_var'}'`" >&5
21222 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21223 if test `eval echo '${'$as_ac_var'}'` = yes; then
21224 cat >>confdefs.h
<<EOF
21225 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21227 cat >>confdefs.h
<<\EOF
21228 #define HAVE_NANOSLEEP 1
21233 echo "$as_me:21233: checking for nanosleep in -lposix4" >&5
21234 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
21235 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
21236 echo $ECHO_N "(cached) $ECHO_C" >&6
21238 ac_check_lib_save_LIBS
=$LIBS
21239 LIBS
="-lposix4 $LIBS"
21240 cat >conftest.
$ac_ext <<_ACEOF
21241 #line 21241 "configure"
21242 #include "confdefs.h"
21244 /* Override any gcc2 internal prototype to avoid an error. */
21248 /* We use char because int might match the return type of a gcc2
21249 builtin and then its argument prototype would still apply. */
21259 rm -f conftest.
$ac_objext conftest
$ac_exeext
21260 if { (eval echo "$as_me:21260: \"$ac_link\"") >&5
21261 (eval $ac_link) 2>&5
21263 echo "$as_me:21263: \$? = $ac_status" >&5
21264 (exit $ac_status); } &&
21265 { ac_try
='test -s conftest$ac_exeext'
21266 { (eval echo "$as_me:21266: \"$ac_try\"") >&5
21267 (eval $ac_try) 2>&5
21269 echo "$as_me:21269: \$? = $ac_status" >&5
21270 (exit $ac_status); }; }; then
21271 ac_cv_lib_posix4_nanosleep
=yes
21273 echo "$as_me: failed program was:" >&5
21274 cat conftest.
$ac_ext >&5
21275 ac_cv_lib_posix4_nanosleep
=no
21277 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21278 LIBS
=$ac_check_lib_save_LIBS
21280 echo "$as_me:21280: result: $ac_cv_lib_posix4_nanosleep" >&5
21281 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
21282 if test $ac_cv_lib_posix4_nanosleep = yes; then
21284 cat >>confdefs.h
<<\EOF
21285 #define HAVE_NANOSLEEP 1
21288 POSIX4_LINK
=" -lposix4"
21292 for ac_func
in usleep
21294 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21295 echo "$as_me:21295: checking for $ac_func" >&5
21296 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21297 if eval "test \"\${$as_ac_var+set}\" = set"; then
21298 echo $ECHO_N "(cached) $ECHO_C" >&6
21300 cat >conftest.
$ac_ext <<_ACEOF
21301 #line 21301 "configure"
21302 #include "confdefs.h"
21303 /* System header to define __stub macros and hopefully few prototypes,
21304 which can conflict with char $ac_func (); below. */
21305 #include <assert.h>
21306 /* Override any gcc2 internal prototype to avoid an error. */
21310 /* We use char because int might match the return type of a gcc2
21311 builtin and then its argument prototype would still apply. */
21318 /* The GNU C library defines this for functions which it implements
21319 to always fail with ENOSYS. Some functions are actually named
21320 something starting with __ and the normal name is an alias. */
21321 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21331 rm -f conftest.
$ac_objext conftest
$ac_exeext
21332 if { (eval echo "$as_me:21332: \"$ac_link\"") >&5
21333 (eval $ac_link) 2>&5
21335 echo "$as_me:21335: \$? = $ac_status" >&5
21336 (exit $ac_status); } &&
21337 { ac_try
='test -s conftest$ac_exeext'
21338 { (eval echo "$as_me:21338: \"$ac_try\"") >&5
21339 (eval $ac_try) 2>&5
21341 echo "$as_me:21341: \$? = $ac_status" >&5
21342 (exit $ac_status); }; }; then
21343 eval "$as_ac_var=yes"
21345 echo "$as_me: failed program was:" >&5
21346 cat conftest.
$ac_ext >&5
21347 eval "$as_ac_var=no"
21349 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21351 echo "$as_me:21351: result: `eval echo '${'$as_ac_var'}'`" >&5
21352 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21353 if test `eval echo '${'$as_ac_var'}'` = yes; then
21354 cat >>confdefs.h
<<EOF
21355 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21357 cat >>confdefs.h
<<\EOF
21358 #define HAVE_USLEEP 1
21362 { echo "$as_me:21362: WARNING: wxSleep() function will not work" >&5
21363 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
21375 for ac_func
in uname gethostname
21377 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21378 echo "$as_me:21378: checking for $ac_func" >&5
21379 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21380 if eval "test \"\${$as_ac_var+set}\" = set"; then
21381 echo $ECHO_N "(cached) $ECHO_C" >&6
21383 cat >conftest.
$ac_ext <<_ACEOF
21384 #line 21384 "configure"
21385 #include "confdefs.h"
21386 /* System header to define __stub macros and hopefully few prototypes,
21387 which can conflict with char $ac_func (); below. */
21388 #include <assert.h>
21389 /* Override any gcc2 internal prototype to avoid an error. */
21393 /* We use char because int might match the return type of a gcc2
21394 builtin and then its argument prototype would still apply. */
21401 /* The GNU C library defines this for functions which it implements
21402 to always fail with ENOSYS. Some functions are actually named
21403 something starting with __ and the normal name is an alias. */
21404 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21414 rm -f conftest.
$ac_objext conftest
$ac_exeext
21415 if { (eval echo "$as_me:21415: \"$ac_link\"") >&5
21416 (eval $ac_link) 2>&5
21418 echo "$as_me:21418: \$? = $ac_status" >&5
21419 (exit $ac_status); } &&
21420 { ac_try
='test -s conftest$ac_exeext'
21421 { (eval echo "$as_me:21421: \"$ac_try\"") >&5
21422 (eval $ac_try) 2>&5
21424 echo "$as_me:21424: \$? = $ac_status" >&5
21425 (exit $ac_status); }; }; then
21426 eval "$as_ac_var=yes"
21428 echo "$as_me: failed program was:" >&5
21429 cat conftest.
$ac_ext >&5
21430 eval "$as_ac_var=no"
21432 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21434 echo "$as_me:21434: result: `eval echo '${'$as_ac_var'}'`" >&5
21435 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21436 if test `eval echo '${'$as_ac_var'}'` = yes; then
21437 cat >>confdefs.h
<<EOF
21438 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21445 ac_cpp
='$CXXCPP $CPPFLAGS'
21446 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21447 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21448 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21450 for ac_func
in strtok_r
21452 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21453 echo "$as_me:21453: checking for $ac_func" >&5
21454 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21455 if eval "test \"\${$as_ac_var+set}\" = set"; then
21456 echo $ECHO_N "(cached) $ECHO_C" >&6
21458 cat >conftest.
$ac_ext <<_ACEOF
21459 #line 21459 "configure"
21460 #include "confdefs.h"
21461 /* System header to define __stub macros and hopefully few prototypes,
21462 which can conflict with char $ac_func (); below. */
21463 #include <assert.h>
21464 /* Override any gcc2 internal prototype to avoid an error. */
21468 /* We use char because int might match the return type of a gcc2
21469 builtin and then its argument prototype would still apply. */
21476 /* The GNU C library defines this for functions which it implements
21477 to always fail with ENOSYS. Some functions are actually named
21478 something starting with __ and the normal name is an alias. */
21479 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21489 rm -f conftest.
$ac_objext conftest
$ac_exeext
21490 if { (eval echo "$as_me:21490: \"$ac_link\"") >&5
21491 (eval $ac_link) 2>&5
21493 echo "$as_me:21493: \$? = $ac_status" >&5
21494 (exit $ac_status); } &&
21495 { ac_try
='test -s conftest$ac_exeext'
21496 { (eval echo "$as_me:21496: \"$ac_try\"") >&5
21497 (eval $ac_try) 2>&5
21499 echo "$as_me:21499: \$? = $ac_status" >&5
21500 (exit $ac_status); }; }; then
21501 eval "$as_ac_var=yes"
21503 echo "$as_me: failed program was:" >&5
21504 cat conftest.
$ac_ext >&5
21505 eval "$as_ac_var=no"
21507 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21509 echo "$as_me:21509: result: `eval echo '${'$as_ac_var'}'`" >&5
21510 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21511 if test `eval echo '${'$as_ac_var'}'` = yes; then
21512 cat >>confdefs.h
<<EOF
21513 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21520 ac_cpp
='$CPP $CPPFLAGS'
21521 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21522 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21523 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21527 for ac_func
in inet_addr
21529 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21530 echo "$as_me:21530: checking for $ac_func" >&5
21531 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21532 if eval "test \"\${$as_ac_var+set}\" = set"; then
21533 echo $ECHO_N "(cached) $ECHO_C" >&6
21535 cat >conftest.
$ac_ext <<_ACEOF
21536 #line 21536 "configure"
21537 #include "confdefs.h"
21538 /* System header to define __stub macros and hopefully few prototypes,
21539 which can conflict with char $ac_func (); below. */
21540 #include <assert.h>
21541 /* Override any gcc2 internal prototype to avoid an error. */
21545 /* We use char because int might match the return type of a gcc2
21546 builtin and then its argument prototype would still apply. */
21553 /* The GNU C library defines this for functions which it implements
21554 to always fail with ENOSYS. Some functions are actually named
21555 something starting with __ and the normal name is an alias. */
21556 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21566 rm -f conftest.
$ac_objext conftest
$ac_exeext
21567 if { (eval echo "$as_me:21567: \"$ac_link\"") >&5
21568 (eval $ac_link) 2>&5
21570 echo "$as_me:21570: \$? = $ac_status" >&5
21571 (exit $ac_status); } &&
21572 { ac_try
='test -s conftest$ac_exeext'
21573 { (eval echo "$as_me:21573: \"$ac_try\"") >&5
21574 (eval $ac_try) 2>&5
21576 echo "$as_me:21576: \$? = $ac_status" >&5
21577 (exit $ac_status); }; }; then
21578 eval "$as_ac_var=yes"
21580 echo "$as_me: failed program was:" >&5
21581 cat conftest.
$ac_ext >&5
21582 eval "$as_ac_var=no"
21584 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21586 echo "$as_me:21586: result: `eval echo '${'$as_ac_var'}'`" >&5
21587 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21588 if test `eval echo '${'$as_ac_var'}'` = yes; then
21589 cat >>confdefs.h
<<EOF
21590 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21592 cat >>confdefs.h
<<\EOF
21593 #define HAVE_INET_ADDR 1
21598 echo "$as_me:21598: checking for inet_addr in -lnsl" >&5
21599 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
21600 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
21601 echo $ECHO_N "(cached) $ECHO_C" >&6
21603 ac_check_lib_save_LIBS
=$LIBS
21605 cat >conftest.
$ac_ext <<_ACEOF
21606 #line 21606 "configure"
21607 #include "confdefs.h"
21609 /* Override any gcc2 internal prototype to avoid an error. */
21613 /* We use char because int might match the return type of a gcc2
21614 builtin and then its argument prototype would still apply. */
21624 rm -f conftest.
$ac_objext conftest
$ac_exeext
21625 if { (eval echo "$as_me:21625: \"$ac_link\"") >&5
21626 (eval $ac_link) 2>&5
21628 echo "$as_me:21628: \$? = $ac_status" >&5
21629 (exit $ac_status); } &&
21630 { ac_try
='test -s conftest$ac_exeext'
21631 { (eval echo "$as_me:21631: \"$ac_try\"") >&5
21632 (eval $ac_try) 2>&5
21634 echo "$as_me:21634: \$? = $ac_status" >&5
21635 (exit $ac_status); }; }; then
21636 ac_cv_lib_nsl_inet_addr
=yes
21638 echo "$as_me: failed program was:" >&5
21639 cat conftest.
$ac_ext >&5
21640 ac_cv_lib_nsl_inet_addr
=no
21642 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21643 LIBS
=$ac_check_lib_save_LIBS
21645 echo "$as_me:21645: result: $ac_cv_lib_nsl_inet_addr" >&5
21646 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
21647 if test $ac_cv_lib_nsl_inet_addr = yes; then
21650 echo "$as_me:21650: checking for inet_addr in -lresolv" >&5
21651 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
21652 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
21653 echo $ECHO_N "(cached) $ECHO_C" >&6
21655 ac_check_lib_save_LIBS
=$LIBS
21656 LIBS
="-lresolv $LIBS"
21657 cat >conftest.
$ac_ext <<_ACEOF
21658 #line 21658 "configure"
21659 #include "confdefs.h"
21661 /* Override any gcc2 internal prototype to avoid an error. */
21665 /* We use char because int might match the return type of a gcc2
21666 builtin and then its argument prototype would still apply. */
21676 rm -f conftest.
$ac_objext conftest
$ac_exeext
21677 if { (eval echo "$as_me:21677: \"$ac_link\"") >&5
21678 (eval $ac_link) 2>&5
21680 echo "$as_me:21680: \$? = $ac_status" >&5
21681 (exit $ac_status); } &&
21682 { ac_try
='test -s conftest$ac_exeext'
21683 { (eval echo "$as_me:21683: \"$ac_try\"") >&5
21684 (eval $ac_try) 2>&5
21686 echo "$as_me:21686: \$? = $ac_status" >&5
21687 (exit $ac_status); }; }; then
21688 ac_cv_lib_resolv_inet_addr
=yes
21690 echo "$as_me: failed program was:" >&5
21691 cat conftest.
$ac_ext >&5
21692 ac_cv_lib_resolv_inet_addr
=no
21694 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21695 LIBS
=$ac_check_lib_save_LIBS
21697 echo "$as_me:21697: result: $ac_cv_lib_resolv_inet_addr" >&5
21698 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
21699 if test $ac_cv_lib_resolv_inet_addr = yes; then
21702 echo "$as_me:21702: checking for inet_addr in -lsocket" >&5
21703 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
21704 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
21705 echo $ECHO_N "(cached) $ECHO_C" >&6
21707 ac_check_lib_save_LIBS
=$LIBS
21708 LIBS
="-lsocket $LIBS"
21709 cat >conftest.
$ac_ext <<_ACEOF
21710 #line 21710 "configure"
21711 #include "confdefs.h"
21713 /* Override any gcc2 internal prototype to avoid an error. */
21717 /* We use char because int might match the return type of a gcc2
21718 builtin and then its argument prototype would still apply. */
21728 rm -f conftest.
$ac_objext conftest
$ac_exeext
21729 if { (eval echo "$as_me:21729: \"$ac_link\"") >&5
21730 (eval $ac_link) 2>&5
21732 echo "$as_me:21732: \$? = $ac_status" >&5
21733 (exit $ac_status); } &&
21734 { ac_try
='test -s conftest$ac_exeext'
21735 { (eval echo "$as_me:21735: \"$ac_try\"") >&5
21736 (eval $ac_try) 2>&5
21738 echo "$as_me:21738: \$? = $ac_status" >&5
21739 (exit $ac_status); }; }; then
21740 ac_cv_lib_socket_inet_addr
=yes
21742 echo "$as_me: failed program was:" >&5
21743 cat conftest.
$ac_ext >&5
21744 ac_cv_lib_socket_inet_addr
=no
21746 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21747 LIBS
=$ac_check_lib_save_LIBS
21749 echo "$as_me:21749: result: $ac_cv_lib_socket_inet_addr" >&5
21750 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
21751 if test $ac_cv_lib_socket_inet_addr = yes; then
21763 for ac_func
in inet_aton
21765 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21766 echo "$as_me:21766: checking for $ac_func" >&5
21767 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21768 if eval "test \"\${$as_ac_var+set}\" = set"; then
21769 echo $ECHO_N "(cached) $ECHO_C" >&6
21771 cat >conftest.
$ac_ext <<_ACEOF
21772 #line 21772 "configure"
21773 #include "confdefs.h"
21774 /* System header to define __stub macros and hopefully few prototypes,
21775 which can conflict with char $ac_func (); below. */
21776 #include <assert.h>
21777 /* Override any gcc2 internal prototype to avoid an error. */
21781 /* We use char because int might match the return type of a gcc2
21782 builtin and then its argument prototype would still apply. */
21789 /* The GNU C library defines this for functions which it implements
21790 to always fail with ENOSYS. Some functions are actually named
21791 something starting with __ and the normal name is an alias. */
21792 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21802 rm -f conftest.
$ac_objext conftest
$ac_exeext
21803 if { (eval echo "$as_me:21803: \"$ac_link\"") >&5
21804 (eval $ac_link) 2>&5
21806 echo "$as_me:21806: \$? = $ac_status" >&5
21807 (exit $ac_status); } &&
21808 { ac_try
='test -s conftest$ac_exeext'
21809 { (eval echo "$as_me:21809: \"$ac_try\"") >&5
21810 (eval $ac_try) 2>&5
21812 echo "$as_me:21812: \$? = $ac_status" >&5
21813 (exit $ac_status); }; }; then
21814 eval "$as_ac_var=yes"
21816 echo "$as_me: failed program was:" >&5
21817 cat conftest.
$ac_ext >&5
21818 eval "$as_ac_var=no"
21820 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21822 echo "$as_me:21822: result: `eval echo '${'$as_ac_var'}'`" >&5
21823 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21824 if test `eval echo '${'$as_ac_var'}'` = yes; then
21825 cat >>confdefs.h
<<EOF
21826 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21828 cat >>confdefs.h
<<\EOF
21829 #define HAVE_INET_ATON 1
21834 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
21835 echo "$as_me:21835: checking for inet_aton in -l$INET_LINK" >&5
21836 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
21837 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
21838 echo $ECHO_N "(cached) $ECHO_C" >&6
21840 ac_check_lib_save_LIBS
=$LIBS
21841 LIBS
="-l$INET_LINK $LIBS"
21842 cat >conftest.
$ac_ext <<_ACEOF
21843 #line 21843 "configure"
21844 #include "confdefs.h"
21846 /* Override any gcc2 internal prototype to avoid an error. */
21850 /* We use char because int might match the return type of a gcc2
21851 builtin and then its argument prototype would still apply. */
21861 rm -f conftest.
$ac_objext conftest
$ac_exeext
21862 if { (eval echo "$as_me:21862: \"$ac_link\"") >&5
21863 (eval $ac_link) 2>&5
21865 echo "$as_me:21865: \$? = $ac_status" >&5
21866 (exit $ac_status); } &&
21867 { ac_try
='test -s conftest$ac_exeext'
21868 { (eval echo "$as_me:21868: \"$ac_try\"") >&5
21869 (eval $ac_try) 2>&5
21871 echo "$as_me:21871: \$? = $ac_status" >&5
21872 (exit $ac_status); }; }; then
21873 eval "$as_ac_Lib=yes"
21875 echo "$as_me: failed program was:" >&5
21876 cat conftest.
$ac_ext >&5
21877 eval "$as_ac_Lib=no"
21879 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21880 LIBS
=$ac_check_lib_save_LIBS
21882 echo "$as_me:21882: result: `eval echo '${'$as_ac_Lib'}'`" >&5
21883 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
21884 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
21885 cat >>confdefs.h
<<\EOF
21886 #define HAVE_INET_ATON 1
21894 if test "x$INET_LINK" != "x"; then
21895 cat >>confdefs.h
<<\EOF
21896 #define HAVE_INET_ADDR 1
21899 INET_LINK
=" -l$INET_LINK"
21904 cat >confcache
<<\_ACEOF
21905 # This file is a shell script that caches the results of configure
21906 # tests run on this system so they can be shared between configure
21907 # scripts and configure runs, see configure's option --config-cache.
21908 # It is not useful on other systems. If it contains results you don't
21909 # want to keep, you may remove or edit it.
21911 # config.status only pays attention to the cache file if you give it
21912 # the --recheck option to rerun configure.
21914 # `ac_cv_env_foo' variables (set or unset) will be overriden when
21915 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21916 # following values.
21920 # The following way of writing the cache mishandles newlines in values,
21921 # but we know of no workaround that is simple, portable, and efficient.
21922 # So, don't put newlines in cache variables' values.
21923 # Ultrix sh set writes to stderr and can't be redirected directly,
21924 # and sets the high bit in the cache file unless we assign to the vars.
21927 case `(ac_space=' '; set | grep ac_space) 2>&1` in
21929 # `set' does not quote correctly, so add quotes (double-quote
21930 # substitution turns \\\\ into \\, and sed turns \\ into \).
21933 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21936 # `set' quotes correctly as required by POSIX, so do not add quotes.
21938 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
21945 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21947 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21949 if cmp -s $cache_file confcache
; then :; else
21950 if test -w $cache_file; then
21951 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
21952 cat confcache
>$cache_file
21954 echo "not updating unwritable cache $cache_file"
21960 if test "$TOOLKIT" != "MSW"; then
21965 if test "$wxUSE_THREADS" = "yes" ; then
21966 if test "$wxUSE_WINE" = 1 ; then
21967 { echo "$as_me:21967: WARNING: Threads are not supported under WINE... disabled" >&5
21968 echo "$as_me: WARNING: Threads are not supported under WINE... disabled" >&2;}
21970 elif test "$USE_BEOS" = 1; then
21971 { echo "$as_me:21971: WARNING: BeOS threads are not yet supported... disabled" >&5
21972 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
21977 if test "$wxUSE_THREADS" = "yes" ; then
21979 THREAD_OPTS
="-pthread"
21981 *-*-solaris2* | *-*-sunos4* )
21982 if test "x$GCC" = "xyes"; then
21983 THREAD_OPTS
="-pthreads $THREAD_OPTS"
21985 THREAD_OPTS
="-mt $THREAD_OPTS"
21989 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
21991 *-*-darwin* | *-*-cygwin* )
21995 THREAD_OPTS
="pthreads"
21999 THREAD_OPTS
="$THREAD_OPTS pthread none"
22002 for flag
in $THREAD_OPTS; do
22005 echo "$as_me:22005: checking whether pthreads work without any flags" >&5
22006 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
22010 echo "$as_me:22010: checking whether pthreads work with $flag" >&5
22011 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
22012 THREADS_CFLAGS
="$flag"
22016 echo "$as_me:22016: checking for the pthreads library -l$flag" >&5
22017 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
22018 THREADS_LINK
="-l$flag"
22023 save_CFLAGS
="$CFLAGS"
22024 LIBS
="$THREADS_LINK $LIBS"
22025 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
22027 cat >conftest.
$ac_ext <<_ACEOF
22028 #line 22028 "configure"
22029 #include "confdefs.h"
22030 #include <pthread.h>
22034 pthread_create(0,0,0,0);
22039 rm -f conftest.
$ac_objext conftest
$ac_exeext
22040 if { (eval echo "$as_me:22040: \"$ac_link\"") >&5
22041 (eval $ac_link) 2>&5
22043 echo "$as_me:22043: \$? = $ac_status" >&5
22044 (exit $ac_status); } &&
22045 { ac_try
='test -s conftest$ac_exeext'
22046 { (eval echo "$as_me:22046: \"$ac_try\"") >&5
22047 (eval $ac_try) 2>&5
22049 echo "$as_me:22049: \$? = $ac_status" >&5
22050 (exit $ac_status); }; }; then
22053 echo "$as_me: failed program was:" >&5
22054 cat conftest.
$ac_ext >&5
22056 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22059 CFLAGS
="$save_CFLAGS"
22061 echo "$as_me:22061: result: $THREADS_OK" >&5
22062 echo "${ECHO_T}$THREADS_OK" >&6
22063 if test "x$THREADS_OK" = "xyes"; then
22071 if test "x$THREADS_OK" != "xyes"; then
22073 { echo "$as_me:22073: WARNING: No thread support on this system... disabled" >&5
22074 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
22076 LIBS
="$THREADS_LINK $THREADS_CFLAGS $LIBS"
22078 echo "$as_me:22078: checking if more special flags are required for pthreads" >&5
22079 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
22082 *-aix* | *-freebsd*)
22083 flag
="-D_THREAD_SAFE"
22085 *solaris
* | alpha
*-osf*)
22086 flag
="-D_REENTRANT"
22089 echo "$as_me:22089: result: ${flag}" >&5
22090 echo "${ECHO_T}${flag}" >&6
22091 if test "x$flag" != xno
; then
22092 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
22095 if test "x$THREADS_CFLAGS" != "x"; then
22096 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
22097 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
22102 if test "$wxUSE_THREADS" = "yes" ; then
22104 for ac_func
in thr_setconcurrency
22106 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22107 echo "$as_me:22107: checking for $ac_func" >&5
22108 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22109 if eval "test \"\${$as_ac_var+set}\" = set"; then
22110 echo $ECHO_N "(cached) $ECHO_C" >&6
22112 cat >conftest.
$ac_ext <<_ACEOF
22113 #line 22113 "configure"
22114 #include "confdefs.h"
22115 /* System header to define __stub macros and hopefully few prototypes,
22116 which can conflict with char $ac_func (); below. */
22117 #include <assert.h>
22118 /* Override any gcc2 internal prototype to avoid an error. */
22122 /* We use char because int might match the return type of a gcc2
22123 builtin and then its argument prototype would still apply. */
22130 /* The GNU C library defines this for functions which it implements
22131 to always fail with ENOSYS. Some functions are actually named
22132 something starting with __ and the normal name is an alias. */
22133 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22143 rm -f conftest.
$ac_objext conftest
$ac_exeext
22144 if { (eval echo "$as_me:22144: \"$ac_link\"") >&5
22145 (eval $ac_link) 2>&5
22147 echo "$as_me:22147: \$? = $ac_status" >&5
22148 (exit $ac_status); } &&
22149 { ac_try
='test -s conftest$ac_exeext'
22150 { (eval echo "$as_me:22150: \"$ac_try\"") >&5
22151 (eval $ac_try) 2>&5
22153 echo "$as_me:22153: \$? = $ac_status" >&5
22154 (exit $ac_status); }; }; then
22155 eval "$as_ac_var=yes"
22157 echo "$as_me: failed program was:" >&5
22158 cat conftest.
$ac_ext >&5
22159 eval "$as_ac_var=no"
22161 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22163 echo "$as_me:22163: result: `eval echo '${'$as_ac_var'}'`" >&5
22164 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22165 if test `eval echo '${'$as_ac_var'}'` = yes; then
22166 cat >>confdefs.h
<<EOF
22167 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22173 for ac_header
in sched.h
22175 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22176 echo "$as_me:22176: checking for $ac_header" >&5
22177 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22178 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22179 echo $ECHO_N "(cached) $ECHO_C" >&6
22181 cat >conftest.
$ac_ext <<_ACEOF
22182 #line 22182 "configure"
22183 #include "confdefs.h"
22184 #include <$ac_header>
22186 if { (eval echo "$as_me:22186: \"$ac_cpp conftest.$ac_ext\"") >&5
22187 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22189 egrep -v '^ *\+' conftest.er1
>conftest.err
22191 cat conftest.err
>&5
22192 echo "$as_me:22192: \$? = $ac_status" >&5
22193 (exit $ac_status); } >/dev
/null
; then
22194 if test -s conftest.err
; then
22195 ac_cpp_err
=$ac_c_preproc_warn_flag
22202 if test -z "$ac_cpp_err"; then
22203 eval "$as_ac_Header=yes"
22205 echo "$as_me: failed program was:" >&5
22206 cat conftest.
$ac_ext >&5
22207 eval "$as_ac_Header=no"
22209 rm -f conftest.err conftest.
$ac_ext
22211 echo "$as_me:22211: result: `eval echo '${'$as_ac_Header'}'`" >&5
22212 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22213 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22214 cat >>confdefs.h
<<EOF
22215 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22221 if test "$ac_cv_header_sched_h" = "yes"; then
22222 echo "$as_me:22222: checking for sched_yield" >&5
22223 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
22224 if test "${ac_cv_func_sched_yield+set}" = set; then
22225 echo $ECHO_N "(cached) $ECHO_C" >&6
22227 cat >conftest.
$ac_ext <<_ACEOF
22228 #line 22228 "configure"
22229 #include "confdefs.h"
22230 /* System header to define __stub macros and hopefully few prototypes,
22231 which can conflict with char sched_yield (); below. */
22232 #include <assert.h>
22233 /* Override any gcc2 internal prototype to avoid an error. */
22237 /* We use char because int might match the return type of a gcc2
22238 builtin and then its argument prototype would still apply. */
22239 char sched_yield ();
22245 /* The GNU C library defines this for functions which it implements
22246 to always fail with ENOSYS. Some functions are actually named
22247 something starting with __ and the normal name is an alias. */
22248 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
22258 rm -f conftest.
$ac_objext conftest
$ac_exeext
22259 if { (eval echo "$as_me:22259: \"$ac_link\"") >&5
22260 (eval $ac_link) 2>&5
22262 echo "$as_me:22262: \$? = $ac_status" >&5
22263 (exit $ac_status); } &&
22264 { ac_try
='test -s conftest$ac_exeext'
22265 { (eval echo "$as_me:22265: \"$ac_try\"") >&5
22266 (eval $ac_try) 2>&5
22268 echo "$as_me:22268: \$? = $ac_status" >&5
22269 (exit $ac_status); }; }; then
22270 ac_cv_func_sched_yield
=yes
22272 echo "$as_me: failed program was:" >&5
22273 cat conftest.
$ac_ext >&5
22274 ac_cv_func_sched_yield
=no
22276 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22278 echo "$as_me:22278: result: $ac_cv_func_sched_yield" >&5
22279 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
22280 if test $ac_cv_func_sched_yield = yes; then
22281 cat >>confdefs.h
<<\EOF
22282 #define HAVE_SCHED_YIELD 1
22287 echo "$as_me:22287: checking for sched_yield in -lposix4" >&5
22288 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
22289 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
22290 echo $ECHO_N "(cached) $ECHO_C" >&6
22292 ac_check_lib_save_LIBS
=$LIBS
22293 LIBS
="-lposix4 $LIBS"
22294 cat >conftest.
$ac_ext <<_ACEOF
22295 #line 22295 "configure"
22296 #include "confdefs.h"
22298 /* Override any gcc2 internal prototype to avoid an error. */
22302 /* We use char because int might match the return type of a gcc2
22303 builtin and then its argument prototype would still apply. */
22304 char sched_yield ();
22313 rm -f conftest.
$ac_objext conftest
$ac_exeext
22314 if { (eval echo "$as_me:22314: \"$ac_link\"") >&5
22315 (eval $ac_link) 2>&5
22317 echo "$as_me:22317: \$? = $ac_status" >&5
22318 (exit $ac_status); } &&
22319 { ac_try
='test -s conftest$ac_exeext'
22320 { (eval echo "$as_me:22320: \"$ac_try\"") >&5
22321 (eval $ac_try) 2>&5
22323 echo "$as_me:22323: \$? = $ac_status" >&5
22324 (exit $ac_status); }; }; then
22325 ac_cv_lib_posix4_sched_yield
=yes
22327 echo "$as_me: failed program was:" >&5
22328 cat conftest.
$ac_ext >&5
22329 ac_cv_lib_posix4_sched_yield
=no
22331 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22332 LIBS
=$ac_check_lib_save_LIBS
22334 echo "$as_me:22334: result: $ac_cv_lib_posix4_sched_yield" >&5
22335 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
22336 if test $ac_cv_lib_posix4_sched_yield = yes; then
22337 cat >>confdefs.h
<<\EOF
22338 #define HAVE_SCHED_YIELD 1
22340 POSIX4_LINK
=" -lposix4"
22342 { echo "$as_me:22342: WARNING: wxThread::Yield will not work properly" >&5
22343 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
22352 echo "$as_me:22352: checking for pthread_attr_getschedpolicy" >&5
22353 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
22354 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
22355 echo $ECHO_N "(cached) $ECHO_C" >&6
22357 cat >conftest.
$ac_ext <<_ACEOF
22358 #line 22358 "configure"
22359 #include "confdefs.h"
22360 /* System header to define __stub macros and hopefully few prototypes,
22361 which can conflict with char pthread_attr_getschedpolicy (); below. */
22362 #include <assert.h>
22363 /* Override any gcc2 internal prototype to avoid an error. */
22367 /* We use char because int might match the return type of a gcc2
22368 builtin and then its argument prototype would still apply. */
22369 char pthread_attr_getschedpolicy ();
22375 /* The GNU C library defines this for functions which it implements
22376 to always fail with ENOSYS. Some functions are actually named
22377 something starting with __ and the normal name is an alias. */
22378 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
22381 f = pthread_attr_getschedpolicy;
22388 rm -f conftest.
$ac_objext conftest
$ac_exeext
22389 if { (eval echo "$as_me:22389: \"$ac_link\"") >&5
22390 (eval $ac_link) 2>&5
22392 echo "$as_me:22392: \$? = $ac_status" >&5
22393 (exit $ac_status); } &&
22394 { ac_try
='test -s conftest$ac_exeext'
22395 { (eval echo "$as_me:22395: \"$ac_try\"") >&5
22396 (eval $ac_try) 2>&5
22398 echo "$as_me:22398: \$? = $ac_status" >&5
22399 (exit $ac_status); }; }; then
22400 ac_cv_func_pthread_attr_getschedpolicy
=yes
22402 echo "$as_me: failed program was:" >&5
22403 cat conftest.
$ac_ext >&5
22404 ac_cv_func_pthread_attr_getschedpolicy
=no
22406 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22408 echo "$as_me:22408: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
22409 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
22410 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
22411 echo "$as_me:22411: checking for pthread_attr_setschedparam" >&5
22412 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
22413 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
22414 echo $ECHO_N "(cached) $ECHO_C" >&6
22416 cat >conftest.
$ac_ext <<_ACEOF
22417 #line 22417 "configure"
22418 #include "confdefs.h"
22419 /* System header to define __stub macros and hopefully few prototypes
22421 which can conflict with char pthread_attr_setschedparam (); below. */
22422 #include <assert.h>
22423 /* Override any gcc2 internal prototype to avoid an error. */
22427 /* We use char because int might match the return type of a gcc2
22428 builtin and then its argument prototype would still apply. */
22429 char pthread_attr_setschedparam ();
22435 /* The GNU C library defines this for functions which it implements
22436 to always fail with ENOSYS. Some functions are actually named
22437 something starting with __ and the normal name is an alias. */
22438 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
22441 f = pthread_attr_setschedparam;
22448 rm -f conftest.
$ac_objext conftest
$ac_exeext
22449 if { (eval echo "$as_me:22449: \"$ac_link\"") >&5
22450 (eval $ac_link) 2>&5
22452 echo "$as_me:22452: \$? = $ac_status" >&5
22453 (exit $ac_status); } &&
22454 { ac_try
='test -s conftest$ac_exeext'
22455 { (eval echo "$as_me:22455: \"$ac_try\"") >&5
22456 (eval $ac_try) 2>&5
22458 echo "$as_me:22458: \$? = $ac_status" >&5
22459 (exit $ac_status); }; }; then
22460 ac_cv_func_pthread_attr_setschedparam
=yes
22462 echo "$as_me: failed program was:" >&5
22463 cat conftest.
$ac_ext >&5
22464 ac_cv_func_pthread_attr_setschedparam
=no
22466 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22468 echo "$as_me:22468: result: $ac_cv_func_pthread_attr_setschedparam" >&5
22469 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
22470 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
22471 echo "$as_me:22471: checking for sched_get_priority_max" >&5
22472 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
22473 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
22474 echo $ECHO_N "(cached) $ECHO_C" >&6
22476 cat >conftest.
$ac_ext <<_ACEOF
22477 #line 22477 "configure"
22478 #include "confdefs.h"
22479 /* System header to define __stub macros and hopefully few prototypes
22481 which can conflict with char sched_get_priority_max (); below. */
22482 #include <assert.h>
22483 /* Override any gcc2 internal prototype to avoid an error. */
22487 /* We use char because int might match the return type of a gcc2
22488 builtin and then its argument prototype would still apply. */
22489 char sched_get_priority_max ();
22495 /* The GNU C library defines this for functions which it implements
22496 to always fail with ENOSYS. Some functions are actually named
22497 something starting with __ and the normal name is an alias. */
22498 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
22501 f = sched_get_priority_max;
22508 rm -f conftest.
$ac_objext conftest
$ac_exeext
22509 if { (eval echo "$as_me:22509: \"$ac_link\"") >&5
22510 (eval $ac_link) 2>&5
22512 echo "$as_me:22512: \$? = $ac_status" >&5
22513 (exit $ac_status); } &&
22514 { ac_try
='test -s conftest$ac_exeext'
22515 { (eval echo "$as_me:22515: \"$ac_try\"") >&5
22516 (eval $ac_try) 2>&5
22518 echo "$as_me:22518: \$? = $ac_status" >&5
22519 (exit $ac_status); }; }; then
22520 ac_cv_func_sched_get_priority_max
=yes
22522 echo "$as_me: failed program was:" >&5
22523 cat conftest.
$ac_ext >&5
22524 ac_cv_func_sched_get_priority_max
=no
22526 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22528 echo "$as_me:22528: result: $ac_cv_func_sched_get_priority_max" >&5
22529 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
22530 if test $ac_cv_func_sched_get_priority_max = yes; then
22533 echo "$as_me:22533: checking for sched_get_priority_max in -lposix4" >&5
22534 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
22535 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
22536 echo $ECHO_N "(cached) $ECHO_C" >&6
22538 ac_check_lib_save_LIBS
=$LIBS
22539 LIBS
="-lposix4 $LIBS"
22540 cat >conftest.
$ac_ext <<_ACEOF
22541 #line 22541 "configure"
22542 #include "confdefs.h"
22544 /* Override any gcc2 internal prototype to avoid an error. */
22548 /* We use char because int might match the return type of a gcc2
22549 builtin and then its argument prototype would still apply. */
22550 char sched_get_priority_max ();
22554 sched_get_priority_max ();
22559 rm -f conftest.
$ac_objext conftest
$ac_exeext
22560 if { (eval echo "$as_me:22560: \"$ac_link\"") >&5
22561 (eval $ac_link) 2>&5
22563 echo "$as_me:22563: \$? = $ac_status" >&5
22564 (exit $ac_status); } &&
22565 { ac_try
='test -s conftest$ac_exeext'
22566 { (eval echo "$as_me:22566: \"$ac_try\"") >&5
22567 (eval $ac_try) 2>&5
22569 echo "$as_me:22569: \$? = $ac_status" >&5
22570 (exit $ac_status); }; }; then
22571 ac_cv_lib_posix4_sched_get_priority_max
=yes
22573 echo "$as_me: failed program was:" >&5
22574 cat conftest.
$ac_ext >&5
22575 ac_cv_lib_posix4_sched_get_priority_max
=no
22577 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22578 LIBS
=$ac_check_lib_save_LIBS
22580 echo "$as_me:22580: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
22581 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
22582 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
22585 POSIX4_LINK
=" -lposix4"
22595 if test "$HAVE_PRIOR_FUNCS" = 1; then
22596 cat >>confdefs.h
<<\EOF
22597 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
22601 { echo "$as_me:22601: WARNING: Setting thread priority will not work" >&5
22602 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
22605 echo "$as_me:22605: checking for pthread_cancel" >&5
22606 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
22607 if test "${ac_cv_func_pthread_cancel+set}" = set; then
22608 echo $ECHO_N "(cached) $ECHO_C" >&6
22610 cat >conftest.
$ac_ext <<_ACEOF
22611 #line 22611 "configure"
22612 #include "confdefs.h"
22613 /* System header to define __stub macros and hopefully few prototypes,
22614 which can conflict with char pthread_cancel (); below. */
22615 #include <assert.h>
22616 /* Override any gcc2 internal prototype to avoid an error. */
22620 /* We use char because int might match the return type of a gcc2
22621 builtin and then its argument prototype would still apply. */
22622 char pthread_cancel ();
22628 /* The GNU C library defines this for functions which it implements
22629 to always fail with ENOSYS. Some functions are actually named
22630 something starting with __ and the normal name is an alias. */
22631 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
22634 f = pthread_cancel;
22641 rm -f conftest.
$ac_objext conftest
$ac_exeext
22642 if { (eval echo "$as_me:22642: \"$ac_link\"") >&5
22643 (eval $ac_link) 2>&5
22645 echo "$as_me:22645: \$? = $ac_status" >&5
22646 (exit $ac_status); } &&
22647 { ac_try
='test -s conftest$ac_exeext'
22648 { (eval echo "$as_me:22648: \"$ac_try\"") >&5
22649 (eval $ac_try) 2>&5
22651 echo "$as_me:22651: \$? = $ac_status" >&5
22652 (exit $ac_status); }; }; then
22653 ac_cv_func_pthread_cancel
=yes
22655 echo "$as_me: failed program was:" >&5
22656 cat conftest.
$ac_ext >&5
22657 ac_cv_func_pthread_cancel
=no
22659 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22661 echo "$as_me:22661: result: $ac_cv_func_pthread_cancel" >&5
22662 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
22663 if test $ac_cv_func_pthread_cancel = yes; then
22664 cat >>confdefs.h
<<\EOF
22665 #define HAVE_PTHREAD_CANCEL 1
22669 { echo "$as_me:22669: WARNING: wxThread::Kill() will not work properly" >&5
22670 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
22673 echo "$as_me:22673: checking for pthread_cleanup_push/pop" >&5
22674 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
22675 if test "${wx_cv_func_pthread_cleanup_push+set}" = set; then
22676 echo $ECHO_N "(cached) $ECHO_C" >&6
22679 cat >conftest.
$ac_ext <<_ACEOF
22680 #line 22680 "configure"
22681 #include "confdefs.h"
22682 #include <pthread.h>
22687 pthread_cleanup_push(NULL, NULL);
22688 pthread_cleanup_pop(0);
22694 rm -f conftest.
$ac_objext
22695 if { (eval echo "$as_me:22695: \"$ac_compile\"") >&5
22696 (eval $ac_compile) 2>&5
22698 echo "$as_me:22698: \$? = $ac_status" >&5
22699 (exit $ac_status); } &&
22700 { ac_try
='test -s conftest.$ac_objext'
22701 { (eval echo "$as_me:22701: \"$ac_try\"") >&5
22702 (eval $ac_try) 2>&5
22704 echo "$as_me:22704: \$? = $ac_status" >&5
22705 (exit $ac_status); }; }; then
22707 wx_cv_func_pthread_cleanup_push
=yes
22710 echo "$as_me: failed program was:" >&5
22711 cat conftest.
$ac_ext >&5
22713 wx_cv_func_pthread_cleanup_push
=no
22716 rm -f conftest.
$ac_objext conftest.
$ac_ext
22719 echo "$as_me:22719: result: $wx_cv_func_pthread_cleanup_push" >&5
22720 echo "${ECHO_T}$wx_cv_func_pthread_cleanup_push" >&6
22722 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
22723 cat >>confdefs.h
<<\EOF
22724 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
22729 We define this already somewhere
else
22730 if test "x$wx_cv_lib_glibc21" = "xyes"; then
22731 CPPFLAGS
="$CPPFLAGS -D_GNU_SOURCE"
22734 echo "$as_me:22734: checking for pthread_mutexattr_t" >&5
22735 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
22736 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
22737 echo $ECHO_N "(cached) $ECHO_C" >&6
22740 cat >conftest.
$ac_ext <<_ACEOF
22741 #line 22741 "configure"
22742 #include "confdefs.h"
22743 #include <pthread.h>
22748 pthread_mutexattr_t attr;
22749 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
22755 rm -f conftest.
$ac_objext
22756 if { (eval echo "$as_me:22756: \"$ac_compile\"") >&5
22757 (eval $ac_compile) 2>&5
22759 echo "$as_me:22759: \$? = $ac_status" >&5
22760 (exit $ac_status); } &&
22761 { ac_try
='test -s conftest.$ac_objext'
22762 { (eval echo "$as_me:22762: \"$ac_try\"") >&5
22763 (eval $ac_try) 2>&5
22765 echo "$as_me:22765: \$? = $ac_status" >&5
22766 (exit $ac_status); }; }; then
22768 wx_cv_type_pthread_mutexattr_t
=yes
22771 echo "$as_me: failed program was:" >&5
22772 cat conftest.
$ac_ext >&5
22774 wx_cv_type_pthread_mutexattr_t
=no
22777 rm -f conftest.
$ac_objext conftest.
$ac_ext
22780 echo "$as_me:22780: result: $wx_cv_type_pthread_mutexattr_t" >&5
22781 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
22783 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
22784 cat >>confdefs.h
<<\EOF
22785 #define HAVE_PTHREAD_MUTEXATTR_T 1
22789 echo "$as_me:22789: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
22790 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
22791 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
22792 echo $ECHO_N "(cached) $ECHO_C" >&6
22795 cat >conftest.
$ac_ext <<_ACEOF
22796 #line 22796 "configure"
22797 #include "confdefs.h"
22798 #include <pthread.h>
22803 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
22809 rm -f conftest.
$ac_objext
22810 if { (eval echo "$as_me:22810: \"$ac_compile\"") >&5
22811 (eval $ac_compile) 2>&5
22813 echo "$as_me:22813: \$? = $ac_status" >&5
22814 (exit $ac_status); } &&
22815 { ac_try
='test -s conftest.$ac_objext'
22816 { (eval echo "$as_me:22816: \"$ac_try\"") >&5
22817 (eval $ac_try) 2>&5
22819 echo "$as_me:22819: \$? = $ac_status" >&5
22820 (exit $ac_status); }; }; then
22822 wx_cv_type_pthread_rec_mutex_init
=yes
22825 echo "$as_me: failed program was:" >&5
22826 cat conftest.
$ac_ext >&5
22828 wx_cv_type_pthread_rec_mutex_init
=no
22831 rm -f conftest.
$ac_objext conftest.
$ac_ext
22834 echo "$as_me:22834: result: $wx_cv_type_pthread_rec_mutex_init" >&5
22835 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
22836 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
22837 cat >>confdefs.h
<<\EOF
22838 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
22842 { echo "$as_me:22842: WARNING: wxMutex won't be recursive on this platform" >&5
22843 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
22850 if test "$wxUSE_THREADS" = "yes"; then
22851 cat >>confdefs.h
<<\EOF
22852 #define wxUSE_THREADS 1
22855 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
22857 if test "$ac_cv_func_strtok_r" = "yes"; then
22858 echo "$as_me:22858: checking if -D_REENTRANT is needed" >&5
22859 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
22860 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
22861 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
22862 echo "$as_me:22862: result: yes" >&5
22863 echo "${ECHO_T}yes" >&6
22865 echo "$as_me:22865: result: no" >&5
22866 echo "${ECHO_T}no" >&6
22871 if test "$WXGTK20" = 1 ; then
22872 cat >>confdefs.h
<<EOF
22873 #define __WXGTK20__ $WXGTK20
22879 if test "$WXGTK12" = 1 ; then
22880 cat >>confdefs.h
<<EOF
22881 #define __WXGTK12__ $WXGTK12
22886 if test "$WXGTK127" = 1 ; then
22887 cat >>confdefs.h
<<EOF
22888 #define __WXGTK127__ $WXGTK127
22895 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
22900 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
22901 wxUSE_DEBUG_INFO
=yes
22905 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
22906 cat >>confdefs.h
<<\EOF
22910 WXDEBUG_DEFINE
="-D__WXDEBUG__"
22912 if test "$wxUSE_GTK" = 1 ; then
22913 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
22917 if test "$wxUSE_MEM_TRACING" = "yes" ; then
22918 cat >>confdefs.h
<<\EOF
22919 #define wxUSE_MEMORY_TRACING 1
22922 cat >>confdefs.h
<<\EOF
22923 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
22926 cat >>confdefs.h
<<\EOF
22927 #define wxUSE_DEBUG_NEW_ALWAYS 1
22930 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
22933 if test "$wxUSE_DMALLOC" = "yes" ; then
22934 DMALLOC_LIBS
="-ldmalloc"
22938 if test "$wxUSE_PROFILE" = "yes" ; then
22943 if test "$GCC" = "yes" ; then
22944 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -D_GNU_SOURCE"
22947 CODE_GEN_FLAGS_CXX
=
22948 if test "$GCC" = "yes" ; then
22949 if test "$wxUSE_NO_RTTI" = "yes" ; then
22950 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
22952 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
22953 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
22955 if test "$wxUSE_PERMISSIVE" = "yes" ; then
22956 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
22958 if test "$USE_WIN32" = 1 ; then
22959 # I'm not even really sure what this was ever added to solve,
22960 # but someone added it for mingw native builds, so I guess
22961 # they had a reason, right??
22962 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-pcc-struct-return"
22967 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
22972 if test "$wxUSE_OPTIMISE" = "no" ; then
22975 if test "$GCC" = yes ; then
22978 i586
-*-*|i686
-*-* )
22979 OPTIMISE
="${OPTIMISE} "
22987 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
22988 cat >>confdefs.h
<<\EOF
22989 #define WXWIN_COMPATIBILITY_2 1
22992 WXWIN_COMPATIBILITY_2_2
="yes"
22995 if test "x$WXWIN_COMPATIBILITY_2_2" != "xno"; then
22996 cat >>confdefs.h
<<\EOF
22997 #define WXWIN_COMPATIBILITY_2_2 1
23002 if test "$wxUSE_GUI" = "yes"; then
23003 cat >>confdefs.h
<<\EOF
23004 #define wxUSE_GUI 1
23008 cat >>confdefs.h
<<\EOF
23009 #define wxUSE_NOGUI 1
23014 if test "$wxUSE_UNIX" = "yes"; then
23015 cat >>confdefs.h
<<\EOF
23016 #define wxUSE_UNIX 1
23021 if test "$wxUSE_APPLE_IEEE" = "yes"; then
23022 cat >>confdefs.h
<<\EOF
23023 #define wxUSE_APPLE_IEEE 1
23028 if test "$wxUSE_TIMER" = "yes"; then
23029 cat >>confdefs.h
<<\EOF
23030 #define wxUSE_TIMER 1
23035 if test "$wxUSE_WAVE" = "yes"; then
23036 cat >>confdefs.h
<<\EOF
23037 #define wxUSE_WAVE 1
23042 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
23043 cat >>confdefs.h
<<\EOF
23044 #define wxUSE_CMDLINE_PARSER 1
23049 if test "$wxUSE_STOPWATCH" = "yes"; then
23050 cat >>confdefs.h
<<\EOF
23051 #define wxUSE_STOPWATCH 1
23056 if test "$wxUSE_DATETIME" = "yes"; then
23057 cat >>confdefs.h
<<\EOF
23058 #define wxUSE_DATETIME 1
23063 if test "$wxUSE_TIMEDATE" = "yes"; then
23064 cat >>confdefs.h
<<\EOF
23065 #define wxUSE_TIMEDATE 1
23070 if test "$wxUSE_FILE" = "yes"; then
23071 cat >>confdefs.h
<<\EOF
23072 #define wxUSE_FILE 1
23077 if test "$wxUSE_FFILE" = "yes"; then
23078 cat >>confdefs.h
<<\EOF
23079 #define wxUSE_FFILE 1
23084 if test "$wxUSE_FILESYSTEM" = "yes"; then
23085 cat >>confdefs.h
<<\EOF
23086 #define wxUSE_FILESYSTEM 1
23091 if test "$wxUSE_FS_INET" = "yes"; then
23092 cat >>confdefs.h
<<\EOF
23093 #define wxUSE_FS_INET 1
23098 if test "$wxUSE_FS_ZIP" = "yes"; then
23099 cat >>confdefs.h
<<\EOF
23100 #define wxUSE_FS_ZIP 1
23105 if test "$wxUSE_ZIPSTREAM" = "yes"; then
23106 cat >>confdefs.h
<<\EOF
23107 #define wxUSE_ZIPSTREAM 1
23112 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
23113 cat >>confdefs.h
<<\EOF
23114 #define wxUSE_ON_FATAL_EXCEPTION 1
23119 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
23120 cat >>confdefs.h
<<\EOF
23121 #define wxUSE_SNGLINST_CHECKER 1
23126 if test "$wxUSE_BUSYINFO" = "yes"; then
23127 cat >>confdefs.h
<<\EOF
23128 #define wxUSE_BUSYINFO 1
23133 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23134 cat >>confdefs.h
<<\EOF
23135 #define wxUSE_STD_IOSTREAM 1
23140 if test "$wxUSE_TEXTBUFFER" = "yes"; then
23141 cat >>confdefs.h
<<\EOF
23142 #define wxUSE_TEXTBUFFER 1
23147 if test "$wxUSE_TEXTFILE" = "yes"; then
23148 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
23149 { echo "$as_me:23149: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
23150 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
23152 cat >>confdefs.h
<<\EOF
23153 #define wxUSE_TEXTFILE 1
23159 if test "$wxUSE_CONFIG" = "yes" ; then
23160 if test "$wxUSE_TEXTFILE" != "yes"; then
23161 { echo "$as_me:23161: WARNING: wxConfig requires wxTextFile... disabled" >&5
23162 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
23164 cat >>confdefs.h
<<\EOF
23165 #define wxUSE_CONFIG 1
23168 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
23172 if test "$wxUSE_INTL" = "yes" ; then
23173 if test "$wxUSE_FILE" != "yes"; then
23174 { echo "$as_me:23174: WARNING: I18n code requires wxFile... disabled" >&5
23175 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
23177 cat >>confdefs.h
<<\EOF
23178 #define wxUSE_INTL 1
23181 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
23182 GUIDIST
="$GUIDIST INTL_DIST"
23186 if test "$wxUSE_LOG" = "yes"; then
23187 cat >>confdefs.h
<<\EOF
23188 #define wxUSE_LOG 1
23191 if test "$wxUSE_LOGGUI" = "yes"; then
23192 cat >>confdefs.h
<<\EOF
23193 #define wxUSE_LOGGUI 1
23198 if test "$wxUSE_LOGWINDOW" = "yes"; then
23199 cat >>confdefs.h
<<\EOF
23200 #define wxUSE_LOGWINDOW 1
23205 if test "$wxUSE_LOGDIALOG" = "yes"; then
23206 cat >>confdefs.h
<<\EOF
23207 #define wxUSE_LOG_DIALOG 1
23213 if test "$wxUSE_LONGLONG" = "yes"; then
23214 cat >>confdefs.h
<<\EOF
23215 #define wxUSE_LONGLONG 1
23220 if test "$wxUSE_GEOMETRY" = "yes"; then
23221 cat >>confdefs.h
<<\EOF
23222 #define wxUSE_GEOMETRY 1
23227 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
23228 cat >>confdefs.h
<<\EOF
23229 #define wxUSE_DIALUP_MANAGER 1
23232 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
23235 if test "$wxUSE_STREAMS" = "yes" ; then
23236 cat >>confdefs.h
<<\EOF
23237 #define wxUSE_STREAMS 1
23242 if test "$wxUSE_DATETIME" = "yes"; then
23244 for ac_func
in strptime
23246 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23247 echo "$as_me:23247: checking for $ac_func" >&5
23248 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23249 if eval "test \"\${$as_ac_var+set}\" = set"; then
23250 echo $ECHO_N "(cached) $ECHO_C" >&6
23252 cat >conftest.
$ac_ext <<_ACEOF
23253 #line 23253 "configure"
23254 #include "confdefs.h"
23255 /* System header to define __stub macros and hopefully few prototypes,
23256 which can conflict with char $ac_func (); below. */
23257 #include <assert.h>
23258 /* Override any gcc2 internal prototype to avoid an error. */
23262 /* We use char because int might match the return type of a gcc2
23263 builtin and then its argument prototype would still apply. */
23270 /* The GNU C library defines this for functions which it implements
23271 to always fail with ENOSYS. Some functions are actually named
23272 something starting with __ and the normal name is an alias. */
23273 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23283 rm -f conftest.
$ac_objext conftest
$ac_exeext
23284 if { (eval echo "$as_me:23284: \"$ac_link\"") >&5
23285 (eval $ac_link) 2>&5
23287 echo "$as_me:23287: \$? = $ac_status" >&5
23288 (exit $ac_status); } &&
23289 { ac_try
='test -s conftest$ac_exeext'
23290 { (eval echo "$as_me:23290: \"$ac_try\"") >&5
23291 (eval $ac_try) 2>&5
23293 echo "$as_me:23293: \$? = $ac_status" >&5
23294 (exit $ac_status); }; }; then
23295 eval "$as_ac_var=yes"
23297 echo "$as_me: failed program was:" >&5
23298 cat conftest.
$ac_ext >&5
23299 eval "$as_ac_var=no"
23301 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23303 echo "$as_me:23303: result: `eval echo '${'$as_ac_var'}'`" >&5
23304 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23305 if test `eval echo '${'$as_ac_var'}'` = yes; then
23306 cat >>confdefs.h
<<EOF
23307 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23313 echo "$as_me:23313: checking for timezone variable in <time.h>" >&5
23314 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
23315 if test "${wx_cv_var_timezone+set}" = set; then
23316 echo $ECHO_N "(cached) $ECHO_C" >&6
23319 cat >conftest.
$ac_ext <<_ACEOF
23320 #line 23320 "configure"
23321 #include "confdefs.h"
23336 rm -f conftest.
$ac_objext
23337 if { (eval echo "$as_me:23337: \"$ac_compile\"") >&5
23338 (eval $ac_compile) 2>&5
23340 echo "$as_me:23340: \$? = $ac_status" >&5
23341 (exit $ac_status); } &&
23342 { ac_try
='test -s conftest.$ac_objext'
23343 { (eval echo "$as_me:23343: \"$ac_try\"") >&5
23344 (eval $ac_try) 2>&5
23346 echo "$as_me:23346: \$? = $ac_status" >&5
23347 (exit $ac_status); }; }; then
23349 wx_cv_var_timezone
=timezone
23352 echo "$as_me: failed program was:" >&5
23353 cat conftest.
$ac_ext >&5
23355 cat >conftest.
$ac_ext <<_ACEOF
23356 #line 23356 "configure"
23357 #include "confdefs.h"
23372 rm -f conftest.
$ac_objext
23373 if { (eval echo "$as_me:23373: \"$ac_compile\"") >&5
23374 (eval $ac_compile) 2>&5
23376 echo "$as_me:23376: \$? = $ac_status" >&5
23377 (exit $ac_status); } &&
23378 { ac_try
='test -s conftest.$ac_objext'
23379 { (eval echo "$as_me:23379: \"$ac_try\"") >&5
23380 (eval $ac_try) 2>&5
23382 echo "$as_me:23382: \$? = $ac_status" >&5
23383 (exit $ac_status); }; }; then
23385 wx_cv_var_timezone
=_timezone
23388 echo "$as_me: failed program was:" >&5
23389 cat conftest.
$ac_ext >&5
23391 cat >conftest.
$ac_ext <<_ACEOF
23392 #line 23392 "configure"
23393 #include "confdefs.h"
23408 rm -f conftest.
$ac_objext
23409 if { (eval echo "$as_me:23409: \"$ac_compile\"") >&5
23410 (eval $ac_compile) 2>&5
23412 echo "$as_me:23412: \$? = $ac_status" >&5
23413 (exit $ac_status); } &&
23414 { ac_try
='test -s conftest.$ac_objext'
23415 { (eval echo "$as_me:23415: \"$ac_try\"") >&5
23416 (eval $ac_try) 2>&5
23418 echo "$as_me:23418: \$? = $ac_status" >&5
23419 (exit $ac_status); }; }; then
23421 wx_cv_var_timezone
=__timezone
23424 echo "$as_me: failed program was:" >&5
23425 cat conftest.
$ac_ext >&5
23427 if test "$USE_DOS" = 0 ; then
23428 { echo "$as_me:23428: WARNING: no timezone variable" >&5
23429 echo "$as_me: WARNING: no timezone variable" >&2;}
23433 rm -f conftest.
$ac_objext conftest.
$ac_ext
23436 rm -f conftest.
$ac_objext conftest.
$ac_ext
23439 rm -f conftest.
$ac_objext conftest.
$ac_ext
23442 echo "$as_me:23442: result: $wx_cv_var_timezone" >&5
23443 echo "${ECHO_T}$wx_cv_var_timezone" >&6
23445 if test "x$wx_cv_var_timezone" != x
; then
23446 cat >>confdefs.h
<<EOF
23447 #define WX_TIMEZONE $wx_cv_var_timezone
23452 for ac_func
in localtime
23454 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23455 echo "$as_me:23455: checking for $ac_func" >&5
23456 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23457 if eval "test \"\${$as_ac_var+set}\" = set"; then
23458 echo $ECHO_N "(cached) $ECHO_C" >&6
23460 cat >conftest.
$ac_ext <<_ACEOF
23461 #line 23461 "configure"
23462 #include "confdefs.h"
23463 /* System header to define __stub macros and hopefully few prototypes,
23464 which can conflict with char $ac_func (); below. */
23465 #include <assert.h>
23466 /* Override any gcc2 internal prototype to avoid an error. */
23470 /* We use char because int might match the return type of a gcc2
23471 builtin and then its argument prototype would still apply. */
23478 /* The GNU C library defines this for functions which it implements
23479 to always fail with ENOSYS. Some functions are actually named
23480 something starting with __ and the normal name is an alias. */
23481 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23491 rm -f conftest.
$ac_objext conftest
$ac_exeext
23492 if { (eval echo "$as_me:23492: \"$ac_link\"") >&5
23493 (eval $ac_link) 2>&5
23495 echo "$as_me:23495: \$? = $ac_status" >&5
23496 (exit $ac_status); } &&
23497 { ac_try
='test -s conftest$ac_exeext'
23498 { (eval echo "$as_me:23498: \"$ac_try\"") >&5
23499 (eval $ac_try) 2>&5
23501 echo "$as_me:23501: \$? = $ac_status" >&5
23502 (exit $ac_status); }; }; then
23503 eval "$as_ac_var=yes"
23505 echo "$as_me: failed program was:" >&5
23506 cat conftest.
$ac_ext >&5
23507 eval "$as_ac_var=no"
23509 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23511 echo "$as_me:23511: result: `eval echo '${'$as_ac_var'}'`" >&5
23512 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23513 if test `eval echo '${'$as_ac_var'}'` = yes; then
23514 cat >>confdefs.h
<<EOF
23515 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23521 if test "$ac_cv_func_localtime" = "yes"; then
23522 echo "$as_me:23522: checking for tm_gmtoff in struct tm" >&5
23523 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
23524 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
23525 echo $ECHO_N "(cached) $ECHO_C" >&6
23528 cat >conftest.
$ac_ext <<_ACEOF
23529 #line 23529 "configure"
23530 #include "confdefs.h"
23545 rm -f conftest.
$ac_objext
23546 if { (eval echo "$as_me:23546: \"$ac_compile\"") >&5
23547 (eval $ac_compile) 2>&5
23549 echo "$as_me:23549: \$? = $ac_status" >&5
23550 (exit $ac_status); } &&
23551 { ac_try
='test -s conftest.$ac_objext'
23552 { (eval echo "$as_me:23552: \"$ac_try\"") >&5
23553 (eval $ac_try) 2>&5
23555 echo "$as_me:23555: \$? = $ac_status" >&5
23556 (exit $ac_status); }; }; then
23558 wx_cv_struct_tm_has_gmtoff
=yes
23561 echo "$as_me: failed program was:" >&5
23562 cat conftest.
$ac_ext >&5
23563 wx_cv_struct_tm_has_gmtoff
=no
23566 rm -f conftest.
$ac_objext conftest.
$ac_ext
23569 echo "$as_me:23569: result: $wx_cv_struct_tm_has_gmtoff" >&5
23570 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
23573 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
23574 cat >>confdefs.h
<<\EOF
23575 #define WX_GMTOFF_IN_TM 1
23580 for ac_func
in gettimeofday ftime
23582 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23583 echo "$as_me:23583: checking for $ac_func" >&5
23584 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23585 if eval "test \"\${$as_ac_var+set}\" = set"; then
23586 echo $ECHO_N "(cached) $ECHO_C" >&6
23588 cat >conftest.
$ac_ext <<_ACEOF
23589 #line 23589 "configure"
23590 #include "confdefs.h"
23591 /* System header to define __stub macros and hopefully few prototypes,
23592 which can conflict with char $ac_func (); below. */
23593 #include <assert.h>
23594 /* Override any gcc2 internal prototype to avoid an error. */
23598 /* We use char because int might match the return type of a gcc2
23599 builtin and then its argument prototype would still apply. */
23606 /* The GNU C library defines this for functions which it implements
23607 to always fail with ENOSYS. Some functions are actually named
23608 something starting with __ and the normal name is an alias. */
23609 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23619 rm -f conftest.
$ac_objext conftest
$ac_exeext
23620 if { (eval echo "$as_me:23620: \"$ac_link\"") >&5
23621 (eval $ac_link) 2>&5
23623 echo "$as_me:23623: \$? = $ac_status" >&5
23624 (exit $ac_status); } &&
23625 { ac_try
='test -s conftest$ac_exeext'
23626 { (eval echo "$as_me:23626: \"$ac_try\"") >&5
23627 (eval $ac_try) 2>&5
23629 echo "$as_me:23629: \$? = $ac_status" >&5
23630 (exit $ac_status); }; }; then
23631 eval "$as_ac_var=yes"
23633 echo "$as_me: failed program was:" >&5
23634 cat conftest.
$ac_ext >&5
23635 eval "$as_ac_var=no"
23637 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23639 echo "$as_me:23639: result: `eval echo '${'$as_ac_var'}'`" >&5
23640 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23641 if test `eval echo '${'$as_ac_var'}'` = yes; then
23642 cat >>confdefs.h
<<EOF
23643 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23649 if test "$ac_cv_func_gettimeofday" = "yes"; then
23650 echo "$as_me:23650: checking whether gettimeofday takes two arguments" >&5
23651 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
23652 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
23653 echo $ECHO_N "(cached) $ECHO_C" >&6
23657 ac_cpp
='$CXXCPP $CPPFLAGS'
23658 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23659 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23660 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23662 cat >conftest.
$ac_ext <<_ACEOF
23663 #line 23663 "configure"
23664 #include "confdefs.h"
23666 #include <sys/time.h>
23667 #include <unistd.h>
23674 gettimeofday(&tv, NULL);
23680 rm -f conftest.
$ac_objext
23681 if { (eval echo "$as_me:23681: \"$ac_compile\"") >&5
23682 (eval $ac_compile) 2>&5
23684 echo "$as_me:23684: \$? = $ac_status" >&5
23685 (exit $ac_status); } &&
23686 { ac_try
='test -s conftest.$ac_objext'
23687 { (eval echo "$as_me:23687: \"$ac_try\"") >&5
23688 (eval $ac_try) 2>&5
23690 echo "$as_me:23690: \$? = $ac_status" >&5
23691 (exit $ac_status); }; }; then
23692 wx_cv_func_gettimeofday_has_2_args
=yes
23694 echo "$as_me: failed program was:" >&5
23695 cat conftest.
$ac_ext >&5
23696 cat >conftest.
$ac_ext <<_ACEOF
23697 #line 23697 "configure"
23698 #include "confdefs.h"
23700 #include <sys/time.h>
23701 #include <unistd.h>
23714 rm -f conftest.
$ac_objext
23715 if { (eval echo "$as_me:23715: \"$ac_compile\"") >&5
23716 (eval $ac_compile) 2>&5
23718 echo "$as_me:23718: \$? = $ac_status" >&5
23719 (exit $ac_status); } &&
23720 { ac_try
='test -s conftest.$ac_objext'
23721 { (eval echo "$as_me:23721: \"$ac_try\"") >&5
23722 (eval $ac_try) 2>&5
23724 echo "$as_me:23724: \$? = $ac_status" >&5
23725 (exit $ac_status); }; }; then
23726 wx_cv_func_gettimeofday_has_2_args
=no
23728 echo "$as_me: failed program was:" >&5
23729 cat conftest.
$ac_ext >&5
23731 { echo "$as_me:23731: WARNING: failed to determine number of gettimeofday() arguments" >&5
23732 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
23733 wx_cv_func_gettimeofday_has_2_args
=unknown
23736 rm -f conftest.
$ac_objext conftest.
$ac_ext
23739 rm -f conftest.
$ac_objext conftest.
$ac_ext
23741 ac_cpp
='$CPP $CPPFLAGS'
23742 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23743 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23744 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23747 echo "$as_me:23747: result: $wx_cv_func_gettimeofday_has_2_args" >&5
23748 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
23750 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
23751 cat >>confdefs.h
<<\EOF
23752 #define WX_GETTIMEOFDAY_NO_TZ 1
23758 cat >>confdefs.h
<<\EOF
23759 #define wxUSE_TIMEDATE 1
23762 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
23765 if test "$wxUSE_SOCKETS" = "yes"; then
23766 if test "$wxUSE_X11" = "1"; then
23767 { echo "$as_me:23767: WARNING: wxSocket not yet supported under X11... disabled" >&5
23768 echo "$as_me: WARNING: wxSocket not yet supported under X11... disabled" >&2;}
23772 if test "$wxUSE_MGL" = "1"; then
23773 { echo "$as_me:23773: WARNING: wxSocket not yet supported under MGL... disabled" >&5
23774 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
23779 if test "$wxUSE_SOCKETS" = "yes"; then
23780 if test "$TOOLKIT" != "MSW"; then
23781 echo "$as_me:23781: checking for socket" >&5
23782 echo $ECHO_N "checking for socket... $ECHO_C" >&6
23783 if test "${ac_cv_func_socket+set}" = set; then
23784 echo $ECHO_N "(cached) $ECHO_C" >&6
23786 cat >conftest.
$ac_ext <<_ACEOF
23787 #line 23787 "configure"
23788 #include "confdefs.h"
23789 /* System header to define __stub macros and hopefully few prototypes,
23790 which can conflict with char socket (); below. */
23791 #include <assert.h>
23792 /* Override any gcc2 internal prototype to avoid an error. */
23796 /* We use char because int might match the return type of a gcc2
23797 builtin and then its argument prototype would still apply. */
23804 /* The GNU C library defines this for functions which it implements
23805 to always fail with ENOSYS. Some functions are actually named
23806 something starting with __ and the normal name is an alias. */
23807 #if defined (__stub_socket) || defined (__stub___socket)
23817 rm -f conftest.
$ac_objext conftest
$ac_exeext
23818 if { (eval echo "$as_me:23818: \"$ac_link\"") >&5
23819 (eval $ac_link) 2>&5
23821 echo "$as_me:23821: \$? = $ac_status" >&5
23822 (exit $ac_status); } &&
23823 { ac_try
='test -s conftest$ac_exeext'
23824 { (eval echo "$as_me:23824: \"$ac_try\"") >&5
23825 (eval $ac_try) 2>&5
23827 echo "$as_me:23827: \$? = $ac_status" >&5
23828 (exit $ac_status); }; }; then
23829 ac_cv_func_socket
=yes
23831 echo "$as_me: failed program was:" >&5
23832 cat conftest.
$ac_ext >&5
23833 ac_cv_func_socket
=no
23835 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23837 echo "$as_me:23837: result: $ac_cv_func_socket" >&5
23838 echo "${ECHO_T}$ac_cv_func_socket" >&6
23839 if test $ac_cv_func_socket = yes; then
23842 echo "$as_me:23842: checking for socket in -lsocket" >&5
23843 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
23844 if test "${ac_cv_lib_socket_socket+set}" = set; then
23845 echo $ECHO_N "(cached) $ECHO_C" >&6
23847 ac_check_lib_save_LIBS
=$LIBS
23848 LIBS
="-lsocket $LIBS"
23849 cat >conftest.
$ac_ext <<_ACEOF
23850 #line 23850 "configure"
23851 #include "confdefs.h"
23853 /* Override any gcc2 internal prototype to avoid an error. */
23857 /* We use char because int might match the return type of a gcc2
23858 builtin and then its argument prototype would still apply. */
23868 rm -f conftest.
$ac_objext conftest
$ac_exeext
23869 if { (eval echo "$as_me:23869: \"$ac_link\"") >&5
23870 (eval $ac_link) 2>&5
23872 echo "$as_me:23872: \$? = $ac_status" >&5
23873 (exit $ac_status); } &&
23874 { ac_try
='test -s conftest$ac_exeext'
23875 { (eval echo "$as_me:23875: \"$ac_try\"") >&5
23876 (eval $ac_try) 2>&5
23878 echo "$as_me:23878: \$? = $ac_status" >&5
23879 (exit $ac_status); }; }; then
23880 ac_cv_lib_socket_socket
=yes
23882 echo "$as_me: failed program was:" >&5
23883 cat conftest.
$ac_ext >&5
23884 ac_cv_lib_socket_socket
=no
23886 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23887 LIBS
=$ac_check_lib_save_LIBS
23889 echo "$as_me:23889: result: $ac_cv_lib_socket_socket" >&5
23890 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
23891 if test $ac_cv_lib_socket_socket = yes; then
23892 if test "$INET_LINK" != " -lsocket"; then
23893 INET_LINK
="$INET_LINK -lsocket"
23897 { echo "$as_me:23897: WARNING: socket library not found - sockets will be disabled" >&5
23898 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
23908 if test "$wxUSE_SOCKETS" = "yes" ; then
23909 if test "$TOOLKIT" != "MSW"; then
23910 echo "$as_me:23910: checking what is the type of the third argument of getsockname" >&5
23911 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
23912 if test "${wx_cv_type_getsockname3+set}" = set; then
23913 echo $ECHO_N "(cached) $ECHO_C" >&6
23917 ac_cpp
='$CXXCPP $CPPFLAGS'
23918 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23919 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23920 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23922 cat >conftest.
$ac_ext <<_ACEOF
23923 #line 23923 "configure"
23924 #include "confdefs.h"
23926 #include <sys/types.h>
23927 #include <sys/socket.h>
23934 getsockname(0, 0, &len);
23940 rm -f conftest.
$ac_objext
23941 if { (eval echo "$as_me:23941: \"$ac_compile\"") >&5
23942 (eval $ac_compile) 2>&5
23944 echo "$as_me:23944: \$? = $ac_status" >&5
23945 (exit $ac_status); } &&
23946 { ac_try
='test -s conftest.$ac_objext'
23947 { (eval echo "$as_me:23947: \"$ac_try\"") >&5
23948 (eval $ac_try) 2>&5
23950 echo "$as_me:23950: \$? = $ac_status" >&5
23951 (exit $ac_status); }; }; then
23952 wx_cv_type_getsockname3
=socklen_t
23954 echo "$as_me: failed program was:" >&5
23955 cat conftest.
$ac_ext >&5
23956 cat >conftest.
$ac_ext <<_ACEOF
23957 #line 23957 "configure"
23958 #include "confdefs.h"
23960 #include <sys/types.h>
23961 #include <sys/socket.h>
23968 getsockname(0, 0, &len);
23974 rm -f conftest.
$ac_objext
23975 if { (eval echo "$as_me:23975: \"$ac_compile\"") >&5
23976 (eval $ac_compile) 2>&5
23978 echo "$as_me:23978: \$? = $ac_status" >&5
23979 (exit $ac_status); } &&
23980 { ac_try
='test -s conftest.$ac_objext'
23981 { (eval echo "$as_me:23981: \"$ac_try\"") >&5
23982 (eval $ac_try) 2>&5
23984 echo "$as_me:23984: \$? = $ac_status" >&5
23985 (exit $ac_status); }; }; then
23986 wx_cv_type_getsockname3
=size_t
23988 echo "$as_me: failed program was:" >&5
23989 cat conftest.
$ac_ext >&5
23990 cat >conftest.
$ac_ext <<_ACEOF
23991 #line 23991 "configure"
23992 #include "confdefs.h"
23994 #include <sys/types.h>
23995 #include <sys/socket.h>
24002 getsockname(0, 0, &len);
24008 rm -f conftest.
$ac_objext
24009 if { (eval echo "$as_me:24009: \"$ac_compile\"") >&5
24010 (eval $ac_compile) 2>&5
24012 echo "$as_me:24012: \$? = $ac_status" >&5
24013 (exit $ac_status); } &&
24014 { ac_try
='test -s conftest.$ac_objext'
24015 { (eval echo "$as_me:24015: \"$ac_try\"") >&5
24016 (eval $ac_try) 2>&5
24018 echo "$as_me:24018: \$? = $ac_status" >&5
24019 (exit $ac_status); }; }; then
24020 wx_cv_type_getsockname3
=int
24022 echo "$as_me: failed program was:" >&5
24023 cat conftest.
$ac_ext >&5
24024 wx_cv_type_getsockname3
=unknown
24027 rm -f conftest.
$ac_objext conftest.
$ac_ext
24030 rm -f conftest.
$ac_objext conftest.
$ac_ext
24033 rm -f conftest.
$ac_objext conftest.
$ac_ext
24036 ac_cpp
='$CPP $CPPFLAGS'
24037 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24038 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24039 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
24042 echo "$as_me:24042: result: $wx_cv_type_getsockname3" >&5
24043 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
24045 if test "$wx_cv_type_getsockname3" = "unknown"; then
24047 { echo "$as_me:24047: WARNING: Couldn't find socklen_t synonym for this system" >&5
24048 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
24050 cat >>confdefs.h
<<EOF
24051 #define SOCKLEN_T $wx_cv_type_getsockname3
24058 if test "$wxUSE_SOCKETS" = "yes" ; then
24059 cat >>confdefs.h
<<\EOF
24060 #define wxUSE_SOCKETS 1
24063 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
24066 if test "$wxUSE_GUI" = "yes"; then
24068 if test "$TOOLKIT" = "MAC"; then
24069 { echo "$as_me:24069: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
24070 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
24073 if test "$TOOLKIT" = "MOTIF"; then
24074 { echo "$as_me:24074: WARNING: Joystick not yet supported under Motif... disabled" >&5
24075 echo "$as_me: WARNING: Joystick not yet supported under Motif... disabled" >&2;}
24078 if test "$TOOLKIT" = "X11"; then
24079 { echo "$as_me:24079: WARNING: Joystick not yet supported under X11... disabled" >&5
24080 echo "$as_me: WARNING: Joystick not yet supported under X11... disabled" >&2;}
24084 if test "$TOOLKIT" != "MSW"; then
24085 if test "$wxUSE_JOYSTICK" = "yes"; then
24087 for ac_header
in linux
/joystick.h
24089 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24090 echo "$as_me:24090: checking for $ac_header" >&5
24091 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24092 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24093 echo $ECHO_N "(cached) $ECHO_C" >&6
24095 cat >conftest.
$ac_ext <<_ACEOF
24096 #line 24096 "configure"
24097 #include "confdefs.h"
24098 #include <$ac_header>
24100 if { (eval echo "$as_me:24100: \"$ac_cpp conftest.$ac_ext\"") >&5
24101 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24103 egrep -v '^ *\+' conftest.er1
>conftest.err
24105 cat conftest.err
>&5
24106 echo "$as_me:24106: \$? = $ac_status" >&5
24107 (exit $ac_status); } >/dev
/null
; then
24108 if test -s conftest.err
; then
24109 ac_cpp_err
=$ac_c_preproc_warn_flag
24116 if test -z "$ac_cpp_err"; then
24117 eval "$as_ac_Header=yes"
24119 echo "$as_me: failed program was:" >&5
24120 cat conftest.
$ac_ext >&5
24121 eval "$as_ac_Header=no"
24123 rm -f conftest.err conftest.
$ac_ext
24125 echo "$as_me:24125: result: `eval echo '${'$as_ac_Header'}'`" >&5
24126 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24127 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24128 cat >>confdefs.h
<<EOF
24129 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24135 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
24137 { echo "$as_me:24137: WARNING: Joystick not supported by this system... disabled" >&5
24138 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
24143 if test "$wxUSE_JOYSTICK" = "yes"; then
24144 cat >>confdefs.h
<<\EOF
24145 #define wxUSE_JOYSTICK 1
24148 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
24152 if test "$TOOLKIT" != "MSW"; then
24156 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
24157 if test "$USE_DARWIN" = 1; then
24161 for ac_func
in dlopen
24163 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24164 echo "$as_me:24164: checking for $ac_func" >&5
24165 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24166 if eval "test \"\${$as_ac_var+set}\" = set"; then
24167 echo $ECHO_N "(cached) $ECHO_C" >&6
24169 cat >conftest.
$ac_ext <<_ACEOF
24170 #line 24170 "configure"
24171 #include "confdefs.h"
24172 /* System header to define __stub macros and hopefully few prototypes,
24173 which can conflict with char $ac_func (); below. */
24174 #include <assert.h>
24175 /* Override any gcc2 internal prototype to avoid an error. */
24179 /* We use char because int might match the return type of a gcc2
24180 builtin and then its argument prototype would still apply. */
24187 /* The GNU C library defines this for functions which it implements
24188 to always fail with ENOSYS. Some functions are actually named
24189 something starting with __ and the normal name is an alias. */
24190 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24200 rm -f conftest.
$ac_objext conftest
$ac_exeext
24201 if { (eval echo "$as_me:24201: \"$ac_link\"") >&5
24202 (eval $ac_link) 2>&5
24204 echo "$as_me:24204: \$? = $ac_status" >&5
24205 (exit $ac_status); } &&
24206 { ac_try
='test -s conftest$ac_exeext'
24207 { (eval echo "$as_me:24207: \"$ac_try\"") >&5
24208 (eval $ac_try) 2>&5
24210 echo "$as_me:24210: \$? = $ac_status" >&5
24211 (exit $ac_status); }; }; then
24212 eval "$as_ac_var=yes"
24214 echo "$as_me: failed program was:" >&5
24215 cat conftest.
$ac_ext >&5
24216 eval "$as_ac_var=no"
24218 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24220 echo "$as_me:24220: result: `eval echo '${'$as_ac_var'}'`" >&5
24221 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24222 if test `eval echo '${'$as_ac_var'}'` = yes; then
24223 cat >>confdefs.h
<<EOF
24224 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24227 cat >>confdefs.h
<<\EOF
24228 #define HAVE_DLOPEN 1
24235 echo "$as_me:24235: checking for dlopen in -ldl" >&5
24236 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
24237 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
24238 echo $ECHO_N "(cached) $ECHO_C" >&6
24240 ac_check_lib_save_LIBS
=$LIBS
24242 cat >conftest.
$ac_ext <<_ACEOF
24243 #line 24243 "configure"
24244 #include "confdefs.h"
24246 /* Override any gcc2 internal prototype to avoid an error. */
24250 /* We use char because int might match the return type of a gcc2
24251 builtin and then its argument prototype would still apply. */
24261 rm -f conftest.
$ac_objext conftest
$ac_exeext
24262 if { (eval echo "$as_me:24262: \"$ac_link\"") >&5
24263 (eval $ac_link) 2>&5
24265 echo "$as_me:24265: \$? = $ac_status" >&5
24266 (exit $ac_status); } &&
24267 { ac_try
='test -s conftest$ac_exeext'
24268 { (eval echo "$as_me:24268: \"$ac_try\"") >&5
24269 (eval $ac_try) 2>&5
24271 echo "$as_me:24271: \$? = $ac_status" >&5
24272 (exit $ac_status); }; }; then
24273 ac_cv_lib_dl_dlopen
=yes
24275 echo "$as_me: failed program was:" >&5
24276 cat conftest.
$ac_ext >&5
24277 ac_cv_lib_dl_dlopen
=no
24279 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24280 LIBS
=$ac_check_lib_save_LIBS
24282 echo "$as_me:24282: result: $ac_cv_lib_dl_dlopen" >&5
24283 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
24284 if test $ac_cv_lib_dl_dlopen = yes; then
24286 cat >>confdefs.h
<<\EOF
24287 #define HAVE_DLOPEN 1
24291 DL_LINK
=" -ldl$DL_LINK"
24295 for ac_func
in shl_load
24297 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24298 echo "$as_me:24298: checking for $ac_func" >&5
24299 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24300 if eval "test \"\${$as_ac_var+set}\" = set"; then
24301 echo $ECHO_N "(cached) $ECHO_C" >&6
24303 cat >conftest.
$ac_ext <<_ACEOF
24304 #line 24304 "configure"
24305 #include "confdefs.h"
24306 /* System header to define __stub macros and hopefully few prototypes,
24307 which can conflict with char $ac_func (); below. */
24308 #include <assert.h>
24309 /* Override any gcc2 internal prototype to avoid an error. */
24313 /* We use char because int might match the return type of a gcc2
24314 builtin and then its argument prototype would still apply. */
24321 /* The GNU C library defines this for functions which it implements
24322 to always fail with ENOSYS. Some functions are actually named
24323 something starting with __ and the normal name is an alias. */
24324 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24334 rm -f conftest.
$ac_objext conftest
$ac_exeext
24335 if { (eval echo "$as_me:24335: \"$ac_link\"") >&5
24336 (eval $ac_link) 2>&5
24338 echo "$as_me:24338: \$? = $ac_status" >&5
24339 (exit $ac_status); } &&
24340 { ac_try
='test -s conftest$ac_exeext'
24341 { (eval echo "$as_me:24341: \"$ac_try\"") >&5
24342 (eval $ac_try) 2>&5
24344 echo "$as_me:24344: \$? = $ac_status" >&5
24345 (exit $ac_status); }; }; then
24346 eval "$as_ac_var=yes"
24348 echo "$as_me: failed program was:" >&5
24349 cat conftest.
$ac_ext >&5
24350 eval "$as_ac_var=no"
24352 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24354 echo "$as_me:24354: result: `eval echo '${'$as_ac_var'}'`" >&5
24355 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24356 if test `eval echo '${'$as_ac_var'}'` = yes; then
24357 cat >>confdefs.h
<<EOF
24358 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24361 cat >>confdefs.h
<<\EOF
24362 #define HAVE_SHL_LOAD 1
24369 echo "$as_me:24369: checking for dld in -lshl_load" >&5
24370 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
24371 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
24372 echo $ECHO_N "(cached) $ECHO_C" >&6
24374 ac_check_lib_save_LIBS
=$LIBS
24375 LIBS
="-lshl_load $LIBS"
24376 cat >conftest.
$ac_ext <<_ACEOF
24377 #line 24377 "configure"
24378 #include "confdefs.h"
24380 /* Override any gcc2 internal prototype to avoid an error. */
24384 /* We use char because int might match the return type of a gcc2
24385 builtin and then its argument prototype would still apply. */
24395 rm -f conftest.
$ac_objext conftest
$ac_exeext
24396 if { (eval echo "$as_me:24396: \"$ac_link\"") >&5
24397 (eval $ac_link) 2>&5
24399 echo "$as_me:24399: \$? = $ac_status" >&5
24400 (exit $ac_status); } &&
24401 { ac_try
='test -s conftest$ac_exeext'
24402 { (eval echo "$as_me:24402: \"$ac_try\"") >&5
24403 (eval $ac_try) 2>&5
24405 echo "$as_me:24405: \$? = $ac_status" >&5
24406 (exit $ac_status); }; }; then
24407 ac_cv_lib_shl_load_dld
=yes
24409 echo "$as_me: failed program was:" >&5
24410 cat conftest.
$ac_ext >&5
24411 ac_cv_lib_shl_load_dld
=no
24413 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24414 LIBS
=$ac_check_lib_save_LIBS
24416 echo "$as_me:24416: result: $ac_cv_lib_shl_load_dld" >&5
24417 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
24418 if test $ac_cv_lib_shl_load_dld = yes; then
24421 DL_LINK
=" -ldld$DL_LINK"
24433 if test "$HAVE_DL_FUNCS" = 1; then
24435 for ac_func
in dlerror
24437 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24438 echo "$as_me:24438: checking for $ac_func" >&5
24439 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24440 if eval "test \"\${$as_ac_var+set}\" = set"; then
24441 echo $ECHO_N "(cached) $ECHO_C" >&6
24443 cat >conftest.
$ac_ext <<_ACEOF
24444 #line 24444 "configure"
24445 #include "confdefs.h"
24446 /* System header to define __stub macros and hopefully few prototypes,
24447 which can conflict with char $ac_func (); below. */
24448 #include <assert.h>
24449 /* Override any gcc2 internal prototype to avoid an error. */
24453 /* We use char because int might match the return type of a gcc2
24454 builtin and then its argument prototype would still apply. */
24461 /* The GNU C library defines this for functions which it implements
24462 to always fail with ENOSYS. Some functions are actually named
24463 something starting with __ and the normal name is an alias. */
24464 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24474 rm -f conftest.
$ac_objext conftest
$ac_exeext
24475 if { (eval echo "$as_me:24475: \"$ac_link\"") >&5
24476 (eval $ac_link) 2>&5
24478 echo "$as_me:24478: \$? = $ac_status" >&5
24479 (exit $ac_status); } &&
24480 { ac_try
='test -s conftest$ac_exeext'
24481 { (eval echo "$as_me:24481: \"$ac_try\"") >&5
24482 (eval $ac_try) 2>&5
24484 echo "$as_me:24484: \$? = $ac_status" >&5
24485 (exit $ac_status); }; }; then
24486 eval "$as_ac_var=yes"
24488 echo "$as_me: failed program was:" >&5
24489 cat conftest.
$ac_ext >&5
24490 eval "$as_ac_var=no"
24492 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24494 echo "$as_me:24494: result: `eval echo '${'$as_ac_var'}'`" >&5
24495 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24496 if test `eval echo '${'$as_ac_var'}'` = yes; then
24497 cat >>confdefs.h
<<EOF
24498 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24500 cat >>confdefs.h
<<\EOF
24501 #define HAVE_DLERROR 1
24505 echo "$as_me:24505: checking for dlerror in -ldl" >&5
24506 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
24507 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
24508 echo $ECHO_N "(cached) $ECHO_C" >&6
24510 ac_check_lib_save_LIBS
=$LIBS
24512 cat >conftest.
$ac_ext <<_ACEOF
24513 #line 24513 "configure"
24514 #include "confdefs.h"
24516 /* Override any gcc2 internal prototype to avoid an error. */
24520 /* We use char because int might match the return type of a gcc2
24521 builtin and then its argument prototype would still apply. */
24531 rm -f conftest.
$ac_objext conftest
$ac_exeext
24532 if { (eval echo "$as_me:24532: \"$ac_link\"") >&5
24533 (eval $ac_link) 2>&5
24535 echo "$as_me:24535: \$? = $ac_status" >&5
24536 (exit $ac_status); } &&
24537 { ac_try
='test -s conftest$ac_exeext'
24538 { (eval echo "$as_me:24538: \"$ac_try\"") >&5
24539 (eval $ac_try) 2>&5
24541 echo "$as_me:24541: \$? = $ac_status" >&5
24542 (exit $ac_status); }; }; then
24543 ac_cv_lib_dl_dlerror
=yes
24545 echo "$as_me: failed program was:" >&5
24546 cat conftest.
$ac_ext >&5
24547 ac_cv_lib_dl_dlerror
=no
24549 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24550 LIBS
=$ac_check_lib_save_LIBS
24552 echo "$as_me:24552: result: $ac_cv_lib_dl_dlerror" >&5
24553 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
24554 if test $ac_cv_lib_dl_dlerror = yes; then
24555 cat >>confdefs.h
<<\EOF
24556 #define HAVE_DLERROR 1
24567 if test "$HAVE_DL_FUNCS" = 0; then
24568 if test "$HAVE_SHL_FUNCS" = 0; then
24569 if test "$USE_UNIX" = 1; then
24570 { echo "$as_me:24570: WARNING: Missing dynamic loading support, several features will be disabled" >&5
24571 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
24572 wxUSE_DYNAMIC_LOADER
=no
24573 wxUSE_DYNLIB_CLASS
=no
24575 { echo "$as_me:24575: WARNING: Assuming wxLibrary class works on this platform" >&5
24576 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
24583 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
24584 cat >>confdefs.h
<<\EOF
24585 #define wxUSE_DYNAMIC_LOADER 1
24588 elif test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
24589 cat >>confdefs.h
<<\EOF
24590 #define wxUSE_DYNLIB_CLASS 1
24595 if test "$wxUSE_FONTMAP" = "yes" ; then
24596 cat >>confdefs.h
<<\EOF
24597 #define wxUSE_FONTMAP 1
24602 if test "$wxUSE_UNICODE" = "yes" ; then
24603 cat >>confdefs.h
<<\EOF
24604 #define wxUSE_UNICODE 1
24607 if test "$wxUSE_MSW" != 1; then
24608 wxUSE_UNICODE_MSLU
=no
24611 if test "$wxUSE_MSW" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
24612 echo "$as_me:24612: checking for main in -lunicows" >&5
24613 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
24614 if test "${ac_cv_lib_unicows_main+set}" = set; then
24615 echo $ECHO_N "(cached) $ECHO_C" >&6
24617 ac_check_lib_save_LIBS
=$LIBS
24618 LIBS
="-lunicows $LIBS"
24619 cat >conftest.
$ac_ext <<_ACEOF
24620 #line 24620 "configure"
24621 #include "confdefs.h"
24631 rm -f conftest.
$ac_objext conftest
$ac_exeext
24632 if { (eval echo "$as_me:24632: \"$ac_link\"") >&5
24633 (eval $ac_link) 2>&5
24635 echo "$as_me:24635: \$? = $ac_status" >&5
24636 (exit $ac_status); } &&
24637 { ac_try
='test -s conftest$ac_exeext'
24638 { (eval echo "$as_me:24638: \"$ac_try\"") >&5
24639 (eval $ac_try) 2>&5
24641 echo "$as_me:24641: \$? = $ac_status" >&5
24642 (exit $ac_status); }; }; then
24643 ac_cv_lib_unicows_main
=yes
24645 echo "$as_me: failed program was:" >&5
24646 cat conftest.
$ac_ext >&5
24647 ac_cv_lib_unicows_main
=no
24649 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24650 LIBS
=$ac_check_lib_save_LIBS
24652 echo "$as_me:24652: result: $ac_cv_lib_unicows_main" >&5
24653 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
24654 if test $ac_cv_lib_unicows_main = yes; then
24656 cat >>confdefs.h
<<\EOF
24657 #define wxUSE_UNICODE_MSLU 1
24662 { echo "$as_me:24662: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
24663 Applications will only run on Windows NT/2000/XP!" >&5
24664 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
24665 Applications will only run on Windows NT/2000/XP!" >&2;}
24666 wxUSE_UNICODE_MSLU
=no
24673 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
24674 cat >>confdefs.h
<<\EOF
24675 #define wxUSE_EXPERIMENTAL_PRINTF 1
24681 if test "$wxUSE_ODBC" = "yes" ; then
24682 cat >>confdefs.h
<<\EOF
24683 #define wxUSE_ODBC 1
24686 WXODBCFLAG
="-D_IODBC_"
24687 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
24690 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
24691 cat >>confdefs.h
<<\EOF
24692 #define wxUSE_POSTSCRIPT 1
24697 cat >>confdefs.h
<<\EOF
24698 #define wxUSE_AFM_FOR_POSTSCRIPT 1
24701 cat >>confdefs.h
<<\EOF
24702 #define wxUSE_NORMALIZED_PS_FONTS 1
24705 if test "$wxUSE_CONSTRAINTS" = "yes"; then
24706 cat >>confdefs.h
<<\EOF
24707 #define wxUSE_CONSTRAINTS 1
24710 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
24713 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
24714 if test "$wxUSE_UNIVERSAL" = "yes"; then
24715 { echo "$as_me:24715: WARNING: MDI not yet supported for wxUniversal... disabled" >&5
24716 echo "$as_me: WARNING: MDI not yet supported for wxUniversal... disabled" >&2;}
24717 wxUSE_MDI_ARCHITECTURE
=no
24720 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
24721 cat >>confdefs.h
<<\EOF
24722 #define wxUSE_MDI_ARCHITECTURE 1
24725 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
24729 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
24730 cat >>confdefs.h
<<\EOF
24731 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
24734 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
24735 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
24736 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
24740 if test "$wxUSE_HELP" = "yes"; then
24741 cat >>confdefs.h
<<\EOF
24742 #define wxUSE_HELP 1
24745 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
24747 if test "$wxUSE_MSW" = 1; then
24748 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
24749 cat >>confdefs.h
<<\EOF
24750 #define wxUSE_MS_HTML_HELP 1
24756 if test "$wxUSE_WXHTML_HELP" = "yes"; then
24757 if test "$wxUSE_HTML" = "yes"; then
24758 cat >>confdefs.h
<<\EOF
24759 #define wxUSE_WXHTML_HELP 1
24763 { echo "$as_me:24763: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
24764 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
24765 wxUSE_WXHTML_HELP
=no
24770 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
24771 if test "$wxUSE_CONSTRAINTS" != "yes"; then
24772 { echo "$as_me:24772: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
24773 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
24775 cat >>confdefs.h
<<\EOF
24776 #define wxUSE_PRINTING_ARCHITECTURE 1
24780 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
24783 if test "$wxUSE_PROLOGIO" = "yes" ; then
24784 cat >>confdefs.h
<<\EOF
24785 #define wxUSE_PROLOGIO 1
24790 if test "$wxUSE_RESOURCES" = "yes" ; then
24791 if test "$wxUSE_NANOX" = "yes"; then
24792 { echo "$as_me:24792: WARNING: Cannot use resource database functions in NanoX" >&5
24793 echo "$as_me: WARNING: Cannot use resource database functions in NanoX" >&2;}
24795 cat >>confdefs.h
<<\EOF
24796 #define wxUSE_RESOURCES 1
24799 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
24803 if test "$wxUSE_X_RESOURCES" = "yes"; then
24804 cat >>confdefs.h
<<\EOF
24805 #define wxUSE_X_RESOURCES 1
24810 if test "$wxUSE_MSW" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
24811 -o "$wxUSE_CLIPBOARD" = "yes" \
24812 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
24814 for ac_header
in ole2.h
24816 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24817 echo "$as_me:24817: checking for $ac_header" >&5
24818 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24819 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24820 echo $ECHO_N "(cached) $ECHO_C" >&6
24822 cat >conftest.
$ac_ext <<_ACEOF
24823 #line 24823 "configure"
24824 #include "confdefs.h"
24825 #include <$ac_header>
24827 if { (eval echo "$as_me:24827: \"$ac_cpp conftest.$ac_ext\"") >&5
24828 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24830 egrep -v '^ *\+' conftest.er1
>conftest.err
24832 cat conftest.err
>&5
24833 echo "$as_me:24833: \$? = $ac_status" >&5
24834 (exit $ac_status); } >/dev
/null
; then
24835 if test -s conftest.err
; then
24836 ac_cpp_err
=$ac_c_preproc_warn_flag
24843 if test -z "$ac_cpp_err"; then
24844 eval "$as_ac_Header=yes"
24846 echo "$as_me: failed program was:" >&5
24847 cat conftest.
$ac_ext >&5
24848 eval "$as_ac_Header=no"
24850 rm -f conftest.err conftest.
$ac_ext
24852 echo "$as_me:24852: result: `eval echo '${'$as_ac_Header'}'`" >&5
24853 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24854 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24855 cat >>confdefs.h
<<EOF
24856 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24862 if test "$ac_cv_header_ole2_h" = "yes" ; then
24863 if test "$GCC" = yes ; then
24864 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
24865 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
24866 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
24867 cat >>confdefs.h
<<\EOF
24868 #define wxUSE_OLE 1
24873 cat >>confdefs.h
<<\EOF
24874 #define wxUSE_DATAOBJ 1
24878 { echo "$as_me:24878: WARNING: Some features disabled because OLE headers not found" >&5
24879 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
24882 wxUSE_DRAG_AND_DROP
=no
24886 if test "$wxUSE_METAFILE" = "yes"; then
24887 cat >>confdefs.h
<<\EOF
24888 #define wxUSE_METAFILE 1
24891 cat >>confdefs.h
<<\EOF
24892 #define wxUSE_ENH_METAFILE 1
24898 if test "$wxUSE_IPC" = "yes"; then
24899 if test "$wxUSE_SOCKETS" != "yes"; then
24900 { echo "$as_me:24900: WARNING: wxWindows IPC classes require sockets... disabled" >&5
24901 echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
24904 cat >>confdefs.h
<<\EOF
24905 #define wxUSE_IPC 1
24910 if test "$wxUSE_CLIPBOARD" = "yes"; then
24911 if test "$wxUSE_MGL" = 1; then
24912 { echo "$as_me:24912: WARNING: Clipboard not yet supported under MGL... disabled" >&5
24913 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
24917 if test "$wxUSE_CLIPBOARD" = "yes"; then
24918 cat >>confdefs.h
<<\EOF
24919 #define wxUSE_CLIPBOARD 1
24922 cat >>confdefs.h
<<\EOF
24923 #define wxUSE_DATAOBJ 1
24929 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
24930 if test "$wxUSE_GTK" = 1; then
24931 if test "$WXGTK12" != 1; then
24932 { echo "$as_me:24932: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
24933 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
24934 wxUSE_DRAG_AND_DROP
=no
24938 if test "$wxUSE_MOTIF" = 1; then
24939 { echo "$as_me:24939: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
24940 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
24941 wxUSE_DRAG_AND_DROP
=no
24944 if test "$wxUSE_X11" = 1; then
24945 { echo "$as_me:24945: WARNING: Drag and drop not yet supported under X11... disabled" >&5
24946 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
24947 wxUSE_DRAG_AND_DROP
=no
24950 if test "$wxUSE_MGL" = 1; then
24951 { echo "$as_me:24951: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
24952 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
24953 wxUSE_DRAG_AND_DROP
=no
24956 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
24957 cat >>confdefs.h
<<\EOF
24958 #define wxUSE_DRAG_AND_DROP 1
24961 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
24966 if test "$wxUSE_SPLINES" = "yes" ; then
24967 cat >>confdefs.h
<<\EOF
24968 #define wxUSE_SPLINES 1
24974 if test "$wxUSE_CONTROLS" = "yes"; then
24978 if test "$wxUSE_ACCEL" = "yes"; then
24979 cat >>confdefs.h
<<\EOF
24980 #define wxUSE_ACCEL 1
24986 if test "$wxUSE_BUTTON" = "yes"; then
24987 cat >>confdefs.h
<<\EOF
24988 #define wxUSE_BUTTON 1
24994 if test "$wxUSE_BMPBUTTON" = "yes"; then
24995 cat >>confdefs.h
<<\EOF
24996 #define wxUSE_BMPBUTTON 1
25002 if test "$wxUSE_CALCTRL" = "yes"; then
25003 cat >>confdefs.h
<<\EOF
25004 #define wxUSE_CALENDARCTRL 1
25008 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
25011 if test "$wxUSE_CARET" = "yes"; then
25012 cat >>confdefs.h
<<\EOF
25013 #define wxUSE_CARET 1
25017 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
25020 if test "$wxUSE_COMBOBOX" = "yes"; then
25021 cat >>confdefs.h
<<\EOF
25022 #define wxUSE_COMBOBOX 1
25028 if test "$wxUSE_CHOICE" = "yes"; then
25029 cat >>confdefs.h
<<\EOF
25030 #define wxUSE_CHOICE 1
25036 if test "$wxUSE_CHECKBOX" = "yes"; then
25037 cat >>confdefs.h
<<\EOF
25038 #define wxUSE_CHECKBOX 1
25044 if test "$wxUSE_CHECKLST" = "yes"; then
25045 cat >>confdefs.h
<<\EOF
25046 #define wxUSE_CHECKLISTBOX 1
25050 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
25053 if test "$wxUSE_GAUGE" = "yes"; then
25054 cat >>confdefs.h
<<\EOF
25055 #define wxUSE_GAUGE 1
25061 if test "$wxUSE_NEW_GRID" = "yes"; then
25063 cat >>confdefs.h
<<\EOF
25064 #define wxUSE_NEW_GRID 1
25068 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
25071 if test "$wxUSE_GRID" = "yes"; then
25072 cat >>confdefs.h
<<\EOF
25073 #define wxUSE_GRID 1
25077 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
25080 if test "$wxUSE_IMAGLIST" = "yes"; then
25081 cat >>confdefs.h
<<\EOF
25082 #define wxUSE_IMAGLIST 1
25087 if test "$wxUSE_LISTBOX" = "yes"; then
25088 cat >>confdefs.h
<<\EOF
25089 #define wxUSE_LISTBOX 1
25095 if test "$wxUSE_LISTCTRL" = "yes"; then
25096 if test "$wxUSE_IMAGLIST" = "yes"; then
25097 cat >>confdefs.h
<<\EOF
25098 #define wxUSE_LISTCTRL 1
25102 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
25104 { echo "$as_me:25104: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
25105 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
25109 if test "$wxUSE_NOTEBOOK" = "yes"; then
25110 cat >>confdefs.h
<<\EOF
25111 #define wxUSE_NOTEBOOK 1
25115 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
25118 if test "$wxUSE_PROPSHEET" = "yes"; then
25119 cat >>confdefs.h
<<\EOF
25120 #define wxUSE_PROPSHEET 1
25124 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS proplist"
25127 if test "$wxUSE_RADIOBOX" = "yes"; then
25128 cat >>confdefs.h
<<\EOF
25129 #define wxUSE_RADIOBOX 1
25135 if test "$wxUSE_RADIOBTN" = "yes"; then
25136 cat >>confdefs.h
<<\EOF
25137 #define wxUSE_RADIOBTN 1
25143 if test "$wxUSE_SASH" = "yes"; then
25144 cat >>confdefs.h
<<\EOF
25145 #define wxUSE_SASH 1
25148 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
25151 if test "$wxUSE_SCROLLBAR" = "yes"; then
25152 cat >>confdefs.h
<<\EOF
25153 #define wxUSE_SCROLLBAR 1
25157 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
25160 if test "$wxUSE_SLIDER" = "yes"; then
25161 cat >>confdefs.h
<<\EOF
25162 #define wxUSE_SLIDER 1
25168 if test "$wxUSE_SPINBTN" = "yes"; then
25169 cat >>confdefs.h
<<\EOF
25170 #define wxUSE_SPINBTN 1
25176 if test "$wxUSE_SPINCTRL" = "yes"; then
25177 cat >>confdefs.h
<<\EOF
25178 #define wxUSE_SPINCTRL 1
25184 if test "$wxUSE_SPLITTER" = "yes"; then
25185 cat >>confdefs.h
<<\EOF
25186 #define wxUSE_SPLITTER 1
25189 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
25192 if test "$wxUSE_STATBMP" = "yes"; then
25193 cat >>confdefs.h
<<\EOF
25194 #define wxUSE_STATBMP 1
25200 if test "$wxUSE_STATBOX" = "yes"; then
25201 cat >>confdefs.h
<<\EOF
25202 #define wxUSE_STATBOX 1
25208 if test "$wxUSE_STATTEXT" = "yes"; then
25209 cat >>confdefs.h
<<\EOF
25210 #define wxUSE_STATTEXT 1
25216 if test "$wxUSE_STATLINE" = "yes"; then
25217 if test "$wxUSE_WINE" = 1 ; then
25218 { echo "$as_me:25218: WARNING: wxStaticLine is not supported under WINE" >&5
25219 echo "$as_me: WARNING: wxStaticLine is not supported under WINE" >&2;}
25221 cat >>confdefs.h
<<\EOF
25222 #define wxUSE_STATLINE 1
25229 if test "$wxUSE_STATUSBAR" = "yes"; then
25230 cat >>confdefs.h
<<\EOF
25231 #define wxUSE_STATUSBAR 1
25236 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
25239 if test "$wxUSE_TABDIALOG" = "yes"; then
25240 cat >>confdefs.h
<<\EOF
25241 #define wxUSE_TAB_DIALOG 1
25244 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
25247 if test "$wxUSE_TEXTCTRL" = "yes"; then
25248 cat >>confdefs.h
<<\EOF
25249 #define wxUSE_TEXTCTRL 1
25253 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
25256 if test "$wxUSE_TOGGLEBTN" = "yes"; then
25257 if test "$wxUSE_MAC" = 1; then
25258 { echo "$as_me:25258: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
25259 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
25262 if test "$wxUSE_UNIVERSAL" = "yes"; then
25263 { echo "$as_me:25263: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
25264 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
25268 if test "$wxUSE_TOGGLEBTN" = "yes"; then
25269 cat >>confdefs.h
<<\EOF
25270 #define wxUSE_TOGGLEBTN 1
25277 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
25278 cat >>confdefs.h
<<\EOF
25279 #define wxUSE_TOOLBAR_SIMPLE 1
25282 wxUSE_TOOLBAR
="yes"
25286 if test "$wxUSE_TOOLBAR" = "yes"; then
25287 cat >>confdefs.h
<<\EOF
25288 #define wxUSE_TOOLBAR 1
25293 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
25294 wxUSE_TOOLBAR_NATIVE
="yes"
25297 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
25298 cat >>confdefs.h
<<\EOF
25299 #define wxUSE_TOOLBAR_NATIVE 1
25305 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
25308 if test "$wxUSE_TOOLTIPS" = "yes"; then
25309 if test "$wxUSE_MOTIF" = 1; then
25310 { echo "$as_me:25310: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
25311 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
25313 if test "$wxUSE_WINE" = 1; then
25314 { echo "$as_me:25314: WARNING: wxTooltip not supported under WINE... disabled" >&5
25315 echo "$as_me: WARNING: wxTooltip not supported under WINE... disabled" >&2;}
25317 if test "$wxUSE_UNIVERSAL" = "yes"; then
25318 { echo "$as_me:25318: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
25319 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
25321 cat >>confdefs.h
<<\EOF
25322 #define wxUSE_TOOLTIPS 1
25330 if test "$wxUSE_TREECTRL" = "yes"; then
25331 if test "$wxUSE_IMAGLIST" = "yes"; then
25332 cat >>confdefs.h
<<\EOF
25333 #define wxUSE_TREECTRL 1
25337 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
25339 { echo "$as_me:25339: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
25340 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
25344 if test "$wxUSE_POPUPWIN" = "yes"; then
25345 if test "$wxUSE_MAC" = 1; then
25346 { echo "$as_me:25346: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
25347 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
25349 if test "$wxUSE_MOTIF" = 1; then
25350 { echo "$as_me:25350: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&5
25351 echo "$as_me: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&2;}
25353 if test "$wxUSE_PM" = 1; then
25354 { echo "$as_me:25354: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
25355 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
25357 cat >>confdefs.h
<<\EOF
25358 #define wxUSE_POPUPWIN 1
25367 if test "$wxUSE_TIPWINDOW" = "yes"; then
25368 if test "$wxUSE_PM" = 1; then
25369 { echo "$as_me:25369: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
25370 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
25372 cat >>confdefs.h
<<\EOF
25373 #define wxUSE_TIPWINDOW 1
25379 if test "$USES_CONTROLS" = 1; then
25380 cat >>confdefs.h
<<\EOF
25381 #define wxUSE_CONTROLS 1
25386 if test "$wxUSE_TREELAYOUT" = "yes"; then
25387 cat >>confdefs.h
<<\EOF
25388 #define wxUSE_TREELAYOUT 1
25391 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treelay"
25394 if test "$wxUSE_DRAGIMAGE" = "yes"; then
25395 cat >>confdefs.h
<<\EOF
25396 #define wxUSE_DRAGIMAGE 1
25399 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
25402 if test "$wxUSE_MENUS" = "yes"; then
25403 cat >>confdefs.h
<<\EOF
25404 #define wxUSE_MENUS 1
25407 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
25410 if test "$wxUSE_METAFILE" = "yes"; then
25411 cat >>confdefs.h
<<\EOF
25412 #define wxUSE_METAFILE 1
25417 if test "$wxUSE_MIMETYPE" = "yes"; then
25418 cat >>confdefs.h
<<\EOF
25419 #define wxUSE_MIMETYPE 1
25424 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
25425 cat >>confdefs.h
<<\EOF
25426 #define wxUSE_SYSTEM_OPTIONS 1
25429 if test "$TOOLKIT" = "MSW"; then
25430 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
25435 if test "$wxUSE_PROTOCOL" = "yes"; then
25436 if test "$wxUSE_SOCKETS" != "yes"; then
25437 { echo "$as_me:25437: WARNING: Protocol classes require sockets... disabled" >&5
25438 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
25442 if test "$wxUSE_PROTOCOL" = "yes"; then
25443 cat >>confdefs.h
<<\EOF
25444 #define wxUSE_PROTOCOL 1
25447 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
25448 cat >>confdefs.h
<<\EOF
25449 #define wxUSE_PROTOCOL_HTTP 1
25453 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
25454 cat >>confdefs.h
<<\EOF
25455 #define wxUSE_PROTOCOL_FTP 1
25459 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
25460 cat >>confdefs.h
<<\EOF
25461 #define wxUSE_PROTOCOL_FILE 1
25468 if test "$wxUSE_URL" = "yes"; then
25469 if test "$wxUSE_PROTOCOL" != "yes"; then
25470 { echo "$as_me:25470: WARNING: wxURL class requires wxProtocol... disabled" >&5
25471 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
25474 if test "$wxUSE_URL" = "yes"; then
25475 cat >>confdefs.h
<<\EOF
25476 #define wxUSE_URL 1
25482 if test "$wxUSE_MINIFRAME" = "yes"; then
25483 cat >>confdefs.h
<<\EOF
25484 #define wxUSE_MINIFRAME 1
25487 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
25490 if test "$wxUSE_HTML" = "yes"; then
25491 cat >>confdefs.h
<<\EOF
25492 #define wxUSE_HTML 1
25495 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
25498 if test "$wxUSE_VALIDATORS" = "yes"; then
25499 cat >>confdefs.h
<<\EOF
25500 #define wxUSE_VALIDATORS 1
25503 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
25506 if test "$wxUSE_PALETTE" = "yes" ; then
25507 cat >>confdefs.h
<<\EOF
25508 #define wxUSE_PALETTE 1
25513 if test "$wxUSE_IMAGE" = "yes" ; then
25514 cat >>confdefs.h
<<\EOF
25515 #define wxUSE_IMAGE 1
25520 if test "$wxUSE_GIF" = "yes" ; then
25521 cat >>confdefs.h
<<\EOF
25522 #define wxUSE_GIF 1
25527 if test "$wxUSE_PCX" = "yes" ; then
25528 cat >>confdefs.h
<<\EOF
25529 #define wxUSE_PCX 1
25534 if test "$wxUSE_IFF" = "yes" ; then
25535 cat >>confdefs.h
<<\EOF
25536 #define wxUSE_IFF 1
25541 if test "$wxUSE_PNM" = "yes" ; then
25542 cat >>confdefs.h
<<\EOF
25543 #define wxUSE_PNM 1
25548 if test "$wxUSE_XPM" = "yes" ; then
25549 cat >>confdefs.h
<<\EOF
25550 #define wxUSE_XPM 1
25555 if test "$wxUSE_ICO_CUR" = "yes" ; then
25556 cat >>confdefs.h
<<\EOF
25557 #define wxUSE_ICO_CUR 1
25562 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
25563 LIBS
=" -lunicows $LIBS"
25566 if test "$wxUSE_CHOICEDLG" = "yes"; then
25567 cat >>confdefs.h
<<\EOF
25568 #define wxUSE_CHOICEDLG 1
25573 if test "$wxUSE_COLOURDLG" = "yes"; then
25574 cat >>confdefs.h
<<\EOF
25575 #define wxUSE_COLOURDLG 1
25580 if test "$wxUSE_FILEDLG" = "yes"; then
25581 cat >>confdefs.h
<<\EOF
25582 #define wxUSE_FILEDLG 1
25587 if test "$wxUSE_FINDREPLDLG" = "yes"; then
25588 cat >>confdefs.h
<<\EOF
25589 #define wxUSE_FINDREPLDLG 1
25594 if test "$wxUSE_FONTDLG" = "yes"; then
25595 cat >>confdefs.h
<<\EOF
25596 #define wxUSE_FONTDLG 1
25601 if test "$wxUSE_DIRDLG" = "yes"; then
25602 if test "$wxUSE_TREECTRL" != "yes"; then
25603 { echo "$as_me:25603: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
25604 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
25606 cat >>confdefs.h
<<\EOF
25607 #define wxUSE_DIRDLG 1
25613 if test "$wxUSE_MSGDLG" = "yes"; then
25614 cat >>confdefs.h
<<\EOF
25615 #define wxUSE_MSGDLG 1
25620 if test "$wxUSE_NUMBERDLG" = "yes"; then
25621 cat >>confdefs.h
<<\EOF
25622 #define wxUSE_NUMBERDLG 1
25627 if test "$wxUSE_PROGRESSDLG" = "yes"; then
25628 if test "$wxUSE_CONSTRAINTS" != "yes"; then
25629 { echo "$as_me:25629: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
25630 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
25632 cat >>confdefs.h
<<\EOF
25633 #define wxUSE_PROGRESSDLG 1
25639 if test "$wxUSE_SPLASH" = "yes"; then
25640 cat >>confdefs.h
<<\EOF
25641 #define wxUSE_SPLASH 1
25646 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
25647 if test "$wxUSE_CONSTRAINTS" != "yes"; then
25648 { echo "$as_me:25648: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
25649 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
25651 cat >>confdefs.h
<<\EOF
25652 #define wxUSE_STARTUP_TIPS 1
25658 if test "$wxUSE_TEXTDLG" = "yes"; then
25659 cat >>confdefs.h
<<\EOF
25660 #define wxUSE_TEXTDLG 1
25665 if test "$wxUSE_WIZARDDLG" = "yes"; then
25666 cat >>confdefs.h
<<\EOF
25667 #define wxUSE_WIZARDDLG 1
25670 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
25673 if test "$cross_compiling" = "yes"; then
25676 OSINFO
=`uname -s -r -m`
25677 OSINFO
="\"$OSINFO\""
25680 cat >>confdefs.h
<<EOF
25681 #define WXWIN_OS_DESCRIPTION $OSINFO
25684 if test "x$prefix" != "xNONE"; then
25687 wxPREFIX
=$ac_default_prefix
25690 cat >>confdefs.h
<<EOF
25691 #define wxINSTALL_PREFIX "$wxPREFIX"
25694 if test "$wxUSE_MAC" = 1 ; then
25695 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
25698 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK -lm $LIBS"
25700 if test "$wxUSE_GUI" = "yes"; then
25702 LIBS
="$GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $LIBS"
25704 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
25705 drawing dynamic erase event exec font image \
25706 minimal richedit rotate widgets"
25708 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
25710 SAMPLES_SUBDIRS
="console"
25713 INCLUDES
="-I\${top_builddir}/lib/wx/include/${TOOLCHAIN_NAME} \
25714 -I\${top_srcdir}/include \
25715 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
25718 if test "$wxUSE_GTK" = 1; then
25721 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
25724 if test "$GXX" = yes ; then
25725 CXXWARNINGS
="-Wall"
25727 if test "$wxUSE_NO_DEPS" = "no" ; then
25728 CFLAGS
="-MMD $CFLAGS"
25729 CXXFLAGS
="-MMD $CXXFLAGS"
25733 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
25735 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
25736 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
25737 LIBS
=`echo $LIBS | sed 's/ \+/ /g'`
25739 LDFLAGS
="$LDFLAGS $PROFILE"
25741 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
25743 echo "$as_me:25743: checking whether ${MAKE-make} sets \${MAKE}" >&5
25744 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
25745 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
25746 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
25747 echo $ECHO_N "(cached) $ECHO_C" >&6
25749 cat >conftest.
make <<\EOF
25751 @
echo 'ac_maketemp="${MAKE}"'
25753 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
25754 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
25755 if test -n "$ac_maketemp"; then
25756 eval ac_cv_prog_make_
${ac_make}_set
=yes
25758 eval ac_cv_prog_make_
${ac_make}_set
=no
25760 rm -f conftest.
make
25762 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
25763 echo "$as_me:25763: result: yes" >&5
25764 echo "${ECHO_T}yes" >&6
25767 echo "$as_me:25767: result: no" >&5
25768 echo "${ECHO_T}no" >&6
25769 SET_MAKE
="MAKE=${MAKE-make}"
25772 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
25773 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
25776 ac_config_headers
="$ac_config_headers setup.h:setup.h.in"
25778 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
25779 wx_cv_if_gnu_make
=$IF_GNU_MAKE
25780 wx_cv_path_ifs
=$PATH_IFS
25781 wx_cv_program_ext
=$PROGRAM_EXT
25782 wx_cv_target_library
=$WX_TARGET_LIBRARY
25783 wx_cv_target_library_gl
=$WX_TARGET_LIBRARY_GL
25784 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
25785 export wx_cv_path_samplesubdirs wx_cv_if_gnu_make \
25786 wx_cv_path_ifs wx_cv_program_ext \
25787 wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype
25789 subdirs
="$subdirs demos samples utils contrib"
25791 ac_config_files
="$ac_config_files wx-config src/make.env src/makeprog.env src/makelib.env Makefile"
25792 ac_config_commands
="$ac_config_commands default"
25793 cat >confcache
<<\_ACEOF
25794 # This file is a shell script that caches the results of configure
25795 # tests run on this system so they can be shared between configure
25796 # scripts and configure runs, see configure's option --config-cache.
25797 # It is not useful on other systems. If it contains results you don't
25798 # want to keep, you may remove or edit it.
25800 # config.status only pays attention to the cache file if you give it
25801 # the --recheck option to rerun configure.
25803 # `ac_cv_env_foo' variables (set or unset) will be overriden when
25804 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25805 # following values.
25809 # The following way of writing the cache mishandles newlines in values,
25810 # but we know of no workaround that is simple, portable, and efficient.
25811 # So, don't put newlines in cache variables' values.
25812 # Ultrix sh set writes to stderr and can't be redirected directly,
25813 # and sets the high bit in the cache file unless we assign to the vars.
25816 case `(ac_space=' '; set | grep ac_space) 2>&1` in
25818 # `set' does not quote correctly, so add quotes (double-quote
25819 # substitution turns \\\\ into \\, and sed turns \\ into \).
25822 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25825 # `set' quotes correctly as required by POSIX, so do not add quotes.
25827 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
25834 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25836 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25838 if cmp -s $cache_file confcache
; then :; else
25839 if test -w $cache_file; then
25840 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
25841 cat confcache
>$cache_file
25843 echo "not updating unwritable cache $cache_file"
25848 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
25849 # Let make expand exec_prefix.
25850 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
25852 # VPATH may cause trouble with some makes, so we remove $(srcdir),
25853 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
25854 # trailing colons and then remove the whole line if VPATH becomes empty
25855 # (actually we leave an empty line to preserve line numbers).
25856 if test "x$srcdir" = x.
; then
25857 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
25858 s/:*\$(srcdir):*/:/;
25859 s/:*\${srcdir}:*/:/;
25861 s/^\([^=]*=[ ]*\):*/\1/;
25867 DEFS
=-DHAVE_CONFIG_H
25869 : ${CONFIG_STATUS=./config.status}
25870 ac_clean_files_save
=$ac_clean_files
25871 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
25872 { echo "$as_me:25872: creating $CONFIG_STATUS" >&5
25873 echo "$as_me: creating $CONFIG_STATUS" >&6;}
25874 cat >$CONFIG_STATUS <<_ACEOF
25876 # Generated automatically by configure.
25877 # Run this file to recreate the current configuration.
25878 # Compiler output produced by configure, useful for debugging
25879 # configure, is in config.log if it exists.
25882 SHELL=\${CONFIG_SHELL-$SHELL}
25883 ac_cs_invocation="\$0 \$@"
25887 cat >>$CONFIG_STATUS <<\_ACEOF
25888 # Be Bourne compatible
25889 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
25892 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
25896 # Name of the executable.
25897 as_me
=`echo "$0" |sed 's,.*[\\/],,'`
25899 if expr a
: '\(a\)' >/dev
/null
2>&1; then
25905 rm -f conf$$ conf$$.exe conf$$.
file
25907 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
25908 # We could just check for DJGPP; but this test a) works b) is more generic
25909 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
25910 if test -f conf$$.exe
; then
25911 # Don't use ln at all; we don't have any links
25916 elif ln conf$$.
file conf$$
2>/dev
/null
; then
25921 rm -f conf$$ conf$$.exe conf$$.
file
25923 as_executable_p
="test -f"
25925 # Support unset when possible.
25926 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
25933 $as_unset LANG
|| test "${LANG+set}" != set || { LANG
=C
; export LANG
; }
25934 $as_unset LC_ALL
|| test "${LC_ALL+set}" != set || { LC_ALL
=C
; export LC_ALL
; }
25935 $as_unset LC_TIME
|| test "${LC_TIME+set}" != set || { LC_TIME
=C
; export LC_TIME
; }
25936 $as_unset LC_CTYPE
|| test "${LC_CTYPE+set}" != set || { LC_CTYPE
=C
; export LC_CTYPE
; }
25937 $as_unset LANGUAGE
|| test "${LANGUAGE+set}" != set || { LANGUAGE
=C
; export LANGUAGE
; }
25938 $as_unset LC_COLLATE
|| test "${LC_COLLATE+set}" != set || { LC_COLLATE
=C
; export LC_COLLATE
; }
25939 $as_unset LC_NUMERIC
|| test "${LC_NUMERIC+set}" != set || { LC_NUMERIC
=C
; export LC_NUMERIC
; }
25940 $as_unset LC_MESSAGES
|| test "${LC_MESSAGES+set}" != set || { LC_MESSAGES
=C
; export LC_MESSAGES
; }
25943 # We need space, tab and new line, in precisely that order.
25949 $as_unset CDPATH
|| test "${CDPATH+set}" != set || { CDPATH
=:; export CDPATH
; }
25955 # Files that config.status was made for.
25956 if test -n "$ac_config_files"; then
25957 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
25960 if test -n "$ac_config_headers"; then
25961 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
25964 if test -n "$ac_config_links"; then
25965 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
25968 if test -n "$ac_config_commands"; then
25969 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
25972 cat >>$CONFIG_STATUS <<\EOF
25975 \`$as_me' instantiates files from templates according to the
25976 current configuration.
25978 Usage: $0 [OPTIONS] [FILE]...
25980 -h, --help print this help, then exit
25981 -V, --version print version number, then exit
25982 -d, --debug don't remove temporary files
25983 --recheck update $as_me by reconfiguring in the same conditions
25984 --file=FILE[:TEMPLATE]
25985 instantiate the configuration file FILE
25986 --header=FILE[:TEMPLATE]
25987 instantiate the configuration header FILE
25989 Configuration files:
25992 Configuration headers:
25995 Configuration commands:
25998 Report bugs to <bug-autoconf@gnu.org>."
26001 cat >>$CONFIG_STATUS <<EOF
26004 configured by $0, generated by GNU Autoconf 2.52,
26005 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
26007 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
26008 Free Software Foundation, Inc.
26009 This config.status script is free software; the Free Software Foundation
26010 gives unlimited permission to copy, distribute and modify it."
26015 cat >>$CONFIG_STATUS <<\EOF
26016 # If no file are specified by the user, then we need to provide default
26017 # value. By we need to know if files were specified by the user.
26023 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
26024 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
26026 set dummy
"$ac_option" "$ac_optarg" ${1+"$@"}
26030 *) # This is not an option, so the user has probably given explicit
26032 ac_need_defaults
=false
;;
26036 # Handling of the options.
26038 cat >>$CONFIG_STATUS <<EOF
26039 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
26040 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
26041 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
26043 cat >>$CONFIG_STATUS <<\EOF
26044 --version | --vers* | -V )
26045 echo "$ac_cs_version"; exit 0 ;;
26047 # Conflict between --help and --header
26048 { { echo "$as_me:26048: error: ambiguous option: $1
26049 Try \`$0 --help' for more information." >&5
26050 echo "$as_me: error: ambiguous option: $1
26051 Try \`$0 --help' for more information." >&2;}
26052 { (exit 1); exit 1; }; };;
26053 --help | --hel | -h )
26054 echo "$ac_cs_usage"; exit 0 ;;
26055 --debug | --d* | -d )
26057 --file | --fil | --fi | --f )
26059 CONFIG_FILES
="$CONFIG_FILES $1"
26060 ac_need_defaults
=false
;;
26061 --header | --heade | --head | --hea )
26063 CONFIG_HEADERS
="$CONFIG_HEADERS $1"
26064 ac_need_defaults
=false
;;
26066 # This is an error.
26067 -*) { { echo "$as_me:26067: error: unrecognized option: $1
26068 Try \`$0 --help' for more information." >&5
26069 echo "$as_me: error: unrecognized option: $1
26070 Try \`$0 --help' for more information." >&2;}
26071 { (exit 1); exit 1; }; } ;;
26073 *) ac_config_targets
="$ac_config_targets $1" ;;
26082 ## ----------------------- ##
26083 ## Running config.status. ##
26084 ## ----------------------- ##
26086 This file was extended by $as_me 2.52, executed with
26087 CONFIG_FILES = $CONFIG_FILES
26088 CONFIG_HEADERS = $CONFIG_HEADERS
26089 CONFIG_LINKS = $CONFIG_LINKS
26090 CONFIG_COMMANDS = $CONFIG_COMMANDS
26091 > $ac_cs_invocation
26092 on `(hostname || uname -n) 2>/dev/null | sed 1q`
26097 cat >>$CONFIG_STATUS <<EOF
26099 # INIT-COMMANDS section.
26102 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
26107 cat >>$CONFIG_STATUS <<\EOF
26108 for ac_config_target
in $ac_config_targets
26110 case "$ac_config_target" in
26111 # Handling of arguments.
26112 "wx-config" ) CONFIG_FILES
="$CONFIG_FILES wx-config" ;;
26113 "src/make.env" ) CONFIG_FILES
="$CONFIG_FILES src/make.env" ;;
26114 "src/makeprog.env" ) CONFIG_FILES
="$CONFIG_FILES src/makeprog.env" ;;
26115 "src/makelib.env" ) CONFIG_FILES
="$CONFIG_FILES src/makelib.env" ;;
26116 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
26117 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
26118 "setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS setup.h:setup.h.in" ;;
26119 *) { { echo "$as_me:26119: error: invalid argument: $ac_config_target" >&5
26120 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
26121 { (exit 1); exit 1; }; };;
26125 # If the user did not use the arguments to specify the items to instantiate,
26126 # then the envvar interface is used. Set only those that are not.
26127 # We use the long form for the default assignment because of an extremely
26128 # bizarre bug on SunOS 4.1.3.
26129 if $ac_need_defaults; then
26130 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
26131 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
26132 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
26135 # Create a temporary directory, and hook for its removal unless debugging.
26138 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
26139 trap '{ (exit 1); exit 1; }' 1 2 13 15
26142 # Create a (secure) tmp directory for tmp files.
26145 tmp
=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
26146 test -n "$tmp" && test -d "$tmp"
26149 tmp
=$TMPDIR/cs$$
-$RANDOM
26150 (umask 077 && mkdir $tmp)
26153 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
26154 { (exit 1); exit 1; }
26159 cat >>$CONFIG_STATUS <<EOF
26162 # CONFIG_FILES section.
26165 # No need to generate the scripts if there are no CONFIG_FILES.
26166 # This happens for instance when ./config.status config.h
26167 if test -n "\$CONFIG_FILES"; then
26168 # Protect against being on the right side of a sed subst in config.status.
26169 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
26170 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
26171 s,@SHELL@,$SHELL,;t t
26172 s,@exec_prefix@,$exec_prefix,;t t
26173 s,@prefix@,$prefix,;t t
26174 s,@program_transform_name@,$program_transform_name,;t t
26175 s,@bindir@,$bindir,;t t
26176 s,@sbindir@,$sbindir,;t t
26177 s,@libexecdir@,$libexecdir,;t t
26178 s,@datadir@,$datadir,;t t
26179 s,@sysconfdir@,$sysconfdir,;t t
26180 s,@sharedstatedir@,$sharedstatedir,;t t
26181 s,@localstatedir@,$localstatedir,;t t
26182 s,@libdir@,$libdir,;t t
26183 s,@includedir@,$includedir,;t t
26184 s,@oldincludedir@,$oldincludedir,;t t
26185 s,@infodir@,$infodir,;t t
26186 s,@mandir@,$mandir,;t t
26187 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
26188 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
26189 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
26190 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
26191 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
26192 s,@build_alias@,$build_alias,;t t
26193 s,@host_alias@,$host_alias,;t t
26194 s,@target_alias@,$target_alias,;t t
26195 s,@ECHO_C@,$ECHO_C,;t t
26196 s,@ECHO_N@,$ECHO_N,;t t
26197 s,@ECHO_T@,$ECHO_T,;t t
26198 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
26199 s,@DEFS@,$DEFS,;t t
26200 s,@LIBS@,$LIBS,;t t
26201 s,@build@,$build,;t t
26202 s,@build_cpu@,$build_cpu,;t t
26203 s,@build_vendor@,$build_vendor,;t t
26204 s,@build_os@,$build_os,;t t
26205 s,@host@,$host,;t t
26206 s,@host_cpu@,$host_cpu,;t t
26207 s,@host_vendor@,$host_vendor,;t t
26208 s,@host_os@,$host_os,;t t
26209 s,@target@,$target,;t t
26210 s,@target_cpu@,$target_cpu,;t t
26211 s,@target_vendor@,$target_vendor,;t t
26212 s,@target_os@,$target_os,;t t
26214 s,@CFLAGS@,$CFLAGS,;t t
26215 s,@LDFLAGS@,$LDFLAGS,;t t
26216 s,@CPPFLAGS@,$CPPFLAGS,;t t
26217 s,@ac_ct_CC@,$ac_ct_CC,;t t
26218 s,@EXEEXT@,$EXEEXT,;t t
26219 s,@OBJEXT@,$OBJEXT,;t t
26222 s,@CXXFLAGS@,$CXXFLAGS,;t t
26223 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
26224 s,@RANLIB@,$RANLIB,;t t
26225 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
26227 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
26228 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
26229 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
26230 s,@STRIP@,$STRIP,;t t
26231 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
26232 s,@YACC@,$YACC,;t t
26234 s,@LEXLIB@,$LEXLIB,;t t
26235 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
26236 s,@LN_S@,$LN_S,;t t
26237 s,@CXXCPP@,$CXXCPP,;t t
26238 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
26239 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
26240 s,@GTK_LIBS@,$GTK_LIBS,;t t
26241 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
26242 s,@X_CFLAGS@,$X_CFLAGS,;t t
26243 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
26244 s,@X_LIBS@,$X_LIBS,;t t
26245 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
26246 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
26247 s,@RESCOMP@,$RESCOMP,;t t
26248 s,@DEREZ@,$DEREZ,;t t
26249 s,@LIBICONV@,$LIBICONV,;t t
26250 s,@LEX_STEM@,$LEX_STEM,;t t
26251 s,@PATH_IFS@,$PATH_IFS,;t t
26252 s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
26253 s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
26254 s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
26255 s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
26256 s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
26257 s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
26258 s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
26259 s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
26260 s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
26261 s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
26262 s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
26263 s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
26264 s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
26265 s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
26266 s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
26267 s,@WX_ALL@,$WX_ALL,;t t
26268 s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
26269 s,@SHARED_LD@,$SHARED_LD,;t t
26270 s,@PIC_FLAG@,$PIC_FLAG,;t t
26271 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
26272 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
26273 s,@SONAME_FLAGS@,$SONAME_FLAGS,;t t
26274 s,@SONAME_FLAGS_GL@,$SONAME_FLAGS_GL,;t t
26275 s,@WX_TARGET_LIBRARY_SONAME@,$WX_TARGET_LIBRARY_SONAME,;t t
26276 s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
26277 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
26278 s,@USE_GUI@,$USE_GUI,;t t
26279 s,@AFMINSTALL@,$AFMINSTALL,;t t
26280 s,@TOOLKIT@,$TOOLKIT,;t t
26281 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
26282 s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
26283 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
26284 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
26285 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
26286 s,@cross_compiling@,$cross_compiling,;t t
26287 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
26288 s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
26289 s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
26290 s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
26291 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
26292 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
26293 s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
26294 s,@ALL_HEADERS@,$ALL_HEADERS,;t t
26295 s,@ALL_SOURCES@,$ALL_SOURCES,;t t
26296 s,@GUIDIST@,$GUIDIST,;t t
26297 s,@PORT_FILES@,$PORT_FILES,;t t
26298 s,@DISTDIR@,$DISTDIR,;t t
26299 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
26300 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
26301 s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
26302 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
26303 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
26304 s,@EXTRADEFS@,$EXTRADEFS,;t t
26305 s,@RESFLAGS@,$RESFLAGS,;t t
26306 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
26307 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
26308 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
26309 s,@MACOSX_BUNDLE@,$MACOSX_BUNDLE,;t t
26310 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
26311 s,@LIBWXMACRESCOMP@,$LIBWXMACRESCOMP,;t t
26312 s,@LIBWXMACRESWXCONFIG@,$LIBWXMACRESWXCONFIG,;t t
26313 s,@DLLTOOL@,$DLLTOOL,;t t
26317 s,@MAKEINFO@,$MAKEINFO,;t t
26318 s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
26319 s,@SET_MAKE@,$SET_MAKE,;t t
26320 s,@subdirs@,$subdirs,;t t
26325 cat >>$CONFIG_STATUS <<\EOF
26326 # Split the substitutions into bite-sized pieces for seds with
26327 # small command number limits, like on Digital OSF/1 and HP-UX.
26328 ac_max_sed_lines
=48
26329 ac_sed_frag
=1 # Number of current file.
26330 ac_beg
=1 # First line for current file.
26331 ac_end
=$ac_max_sed_lines # Line after last line for current file.
26334 while $ac_more_lines; do
26335 if test $ac_beg -gt 1; then
26336 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
26338 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
26340 if test ! -s $tmp/subs.frag
; then
26341 ac_more_lines
=false
26343 # The purpose of the label and of the branching condition is to
26344 # speed up the sed processing (if there are no `@' at all, there
26345 # is no need to browse any of the substitutions).
26346 # These are the two extra sed commands mentioned above.
26348 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
26349 if test -z "$ac_sed_cmds"; then
26350 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
26352 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
26354 ac_sed_frag
=`expr $ac_sed_frag + 1`
26356 ac_end
=`expr $ac_end + $ac_max_sed_lines`
26359 if test -z "$ac_sed_cmds"; then
26362 fi # test -n "$CONFIG_FILES"
26365 cat >>$CONFIG_STATUS <<\EOF
26366 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
26367 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
26369 - | *:- | *:-:* ) # input from stdin
26371 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
26372 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
26373 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
26374 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
26375 * ) ac_file_in
=$ac_file.
in ;;
26378 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
26379 ac_dir
=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26380 X"$ac_file" : 'X\(//\)[^/]' \| \
26381 X"$ac_file" : 'X\(//\)$' \| \
26382 X"$ac_file" : 'X\(/\)' \| \
26383 . : '\(.\)' 2>/dev/null ||
26385 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26386 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
26387 /^X\(\/\/\)$/{ s//\1/; q; }
26388 /^X\(\/\).*/{ s//\1/; q; }
26390 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
26391 { case "$ac_dir" in
26392 [\\/]* | ?
:[\\/]* ) as_incr_dir
=;;
26396 for as_mkdir_dir
in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
26397 case $as_mkdir_dir in
26398 # Skip DOS drivespec
26399 ?
:) as_incr_dir
=$as_mkdir_dir ;;
26401 as_incr_dir
=$as_incr_dir/$as_mkdir_dir
26402 test -d "$as_incr_dir" || mkdir "$as_incr_dir"
26407 ac_dir_suffix
="/`echo $ac_dir|sed 's,^\./,,'`"
26408 # A "../" for each directory in $ac_dir_suffix.
26409 ac_dots
=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
26411 ac_dir_suffix
= ac_dots
=
26416 if test -z "$ac_dots"; then
26419 ac_top_srcdir
=`echo $ac_dots | sed 's,/$,,'`
26421 [\\/]* | ?
:[\\/]* )
26422 ac_srcdir
=$srcdir$ac_dir_suffix;
26423 ac_top_srcdir
=$srcdir ;;
26424 *) # Relative path.
26425 ac_srcdir
=$ac_dots$srcdir$ac_dir_suffix
26426 ac_top_srcdir
=$ac_dots$srcdir ;;
26430 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
26431 *) ac_INSTALL
=$ac_dots$INSTALL ;;
26434 if test x
"$ac_file" != x
-; then
26435 { echo "$as_me:26435: creating $ac_file" >&5
26436 echo "$as_me: creating $ac_file" >&6;}
26439 # Let's still pretend it is `configure' which instantiates (i.e., don't
26440 # use $as_me), people would be surprised to read:
26441 # /* config.h. Generated automatically by config.status. */
26442 configure_input
="Generated automatically from `echo $ac_file_in |
26443 sed 's,.*/,,'` by configure."
26445 # First look for the input files in the build tree, otherwise in the
26447 ac_file_inputs
=`IFS=:
26448 for f in $ac_file_in; do
26450 -) echo $tmp/stdin ;;
26452 # Absolute (can't be DOS-style, as IFS=:)
26453 test -f "$f" || { { echo "$as_me:26453: error: cannot find input file: $f" >&5
26454 echo "$as_me: error: cannot find input file: $f" >&2;}
26455 { (exit 1); exit 1; }; }
26458 if test -f "$f"; then
26461 elif test -f "$srcdir/$f"; then
26466 { { echo "$as_me:26466: error: cannot find input file: $f" >&5
26467 echo "$as_me: error: cannot find input file: $f" >&2;}
26468 { (exit 1); exit 1; }; }
26471 done` || { (exit 1); exit 1; }
26473 cat >>$CONFIG_STATUS <<EOF
26477 cat >>$CONFIG_STATUS <<\EOF
26479 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
26480 s
,@configure_input@
,$configure_input,;t t
26481 s
,@srcdir@
,$ac_srcdir,;t t
26482 s
,@top_srcdir@
,$ac_top_srcdir,;t t
26483 s
,@INSTALL@
,$ac_INSTALL,;t t
26484 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
26486 if test x"$ac_file" != x-; then
26487 mv $tmp/out $ac_file
26495 cat >>$CONFIG_STATUS <<\EOF
26498 # CONFIG_HEADER section.
26501 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
26502 # NAME is the cpp macro being defined and VALUE is the value it is being given.
26504 # ac_d sets the value in "#define NAME VALUE" lines.
26505 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
26506 ac_dB
='[ ].*$,\1#\2'
26509 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
26510 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
26511 ac_uB
='$,\1#\2define\3'
26515 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
26516 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
26518 - | *:- | *:-:* ) # input from stdin
26520 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
26521 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
26522 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
26523 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
26524 * ) ac_file_in
=$ac_file.
in ;;
26527 test x
"$ac_file" != x
- && { echo "$as_me:26527: creating $ac_file" >&5
26528 echo "$as_me: creating $ac_file" >&6;}
26530 # First look for the input files in the build tree, otherwise in the
26532 ac_file_inputs
=`IFS=:
26533 for f in $ac_file_in; do
26535 -) echo $tmp/stdin ;;
26537 # Absolute (can't be DOS-style, as IFS=:)
26538 test -f "$f" || { { echo "$as_me:26538: error: cannot find input file: $f" >&5
26539 echo "$as_me: error: cannot find input file: $f" >&2;}
26540 { (exit 1); exit 1; }; }
26543 if test -f "$f"; then
26546 elif test -f "$srcdir/$f"; then
26551 { { echo "$as_me:26551: error: cannot find input file: $f" >&5
26552 echo "$as_me: error: cannot find input file: $f" >&2;}
26553 { (exit 1); exit 1; }; }
26556 done` || { (exit 1); exit 1; }
26557 # Remove the trailing spaces.
26558 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
26562 # Transform confdefs.h into two sed scripts, `conftest.defines' and
26563 # `conftest.undefs', that substitutes the proper values into
26564 # config.h.in to produce config.h. The first handles `#define'
26565 # templates, and the second `#undef' templates.
26566 # And first: Protect against being on the right side of a sed subst in
26567 # config.status. Protect against being in an unquoted here document
26568 # in config.status.
26569 rm -f conftest.defines conftest.undefs
26570 # Using a here document instead of a string reduces the quoting nightmare.
26571 # Putting comments in sed scripts is not portable.
26573 # `end' is used to avoid that the second main sed command (meant for
26574 # 0-ary CPP macros) applies to n-ary macro definitions.
26575 # See the Autoconf documentation for `clear'.
26576 cat >confdef2sed.
sed <<\EOF
26581 s,^[ ]*#[ ]*define[ ][ ]*\(\([^ (][^ (]*\)([^)]*)\)[ ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
26583 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
26586 # If some macros were called several times there might be several times
26587 # the same #defines, which is useless. Nevertheless, we may not want to
26588 # sort them, since we want the *last* AC-DEFINE to be honored.
26589 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
26590 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
26591 rm -f confdef2sed.sed
26593 # This sed command replaces #undef with comments. This is necessary, for
26594 # example, in the case of _POSIX_SOURCE, which is predefined and required
26595 # on some systems where configure will not decide to define it.
26596 cat >>conftest.undefs <<\EOF
26597 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
26600 # Break up conftest.defines because some shells have a limit on the size
26601 # of here documents, and old seds have small limits too (100 cmds).
26602 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
26603 echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
26604 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
26605 echo ' :' >>$CONFIG_STATUS
26606 rm -f conftest.tail
26607 while grep . conftest.defines >/dev/null
26609 # Write a limited-size here document to $tmp/defines.sed.
26610 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
26611 # Speed up: don't consider the non `#define' lines.
26612 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
26613 # Work around the forget-to-reset-the-flag bug.
26614 echo 't clr' >>$CONFIG_STATUS
26615 echo ': clr' >>$CONFIG_STATUS
26616 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
26618 sed -f $tmp/defines.sed $tmp/in >$tmp/out
26620 mv $tmp/out $tmp/in
26622 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
26623 rm -f conftest.defines
26624 mv conftest.
tail conftest.defines
26626 rm -f conftest.defines
26627 echo ' fi # egrep' >>$CONFIG_STATUS
26628 echo >>$CONFIG_STATUS
26630 # Break up conftest.undefs because some shells have a limit on the size
26631 # of here documents, and old seds have small limits too (100 cmds).
26632 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
26633 rm -f conftest.
tail
26634 while grep . conftest.undefs
>/dev
/null
26636 # Write a limited-size here document to $tmp/undefs.sed.
26637 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
26638 # Speed up: don't consider the non
`#undef'
26639 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
26640 # Work around the forget-to-reset-the-flag bug.
26641 echo 't clr' >>$CONFIG_STATUS
26642 echo ': clr' >>$CONFIG_STATUS
26643 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
26645 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
26647 mv $tmp/out $tmp/in
26649 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
26650 rm -f conftest.undefs
26651 mv conftest.tail conftest.undefs
26653 rm -f conftest.undefs
26655 cat >>$CONFIG_STATUS <<\EOF
26656 # Let's still pretend it is `configure
' which instantiates (i.e., don't
26657 # use $as_me), people would be surprised to read:
26658 # /* config.h. Generated automatically by config.status. */
26659 if test x
"$ac_file" = x
-; then
26660 echo "/* Generated automatically by configure. */" >$tmp/config.h
26662 echo "/* $ac_file. Generated automatically by configure. */" >$tmp/config.h
26664 cat $tmp/in >>$tmp/config.h
26666 if test x
"$ac_file" != x
-; then
26667 if cmp -s $ac_file $tmp/config.h
2>/dev
/null
; then
26668 { echo "$as_me:26668: $ac_file is unchanged" >&5
26669 echo "$as_me: $ac_file is unchanged" >&6;}
26671 ac_dir
=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26672 X"$ac_file" : 'X\(//\)[^/]' \| \
26673 X"$ac_file" : 'X\(//\)$' \| \
26674 X"$ac_file" : 'X\(/\)' \| \
26675 . : '\(.\)' 2>/dev/null ||
26677 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26678 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
26679 /^X\(\/\/\)$/{ s//\1/; q; }
26680 /^X\(\/\).*/{ s//\1/; q; }
26682 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
26683 { case "$ac_dir" in
26684 [\\/]* | ?
:[\\/]* ) as_incr_dir
=;;
26688 for as_mkdir_dir
in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
26689 case $as_mkdir_dir in
26690 # Skip DOS drivespec
26691 ?
:) as_incr_dir
=$as_mkdir_dir ;;
26693 as_incr_dir
=$as_incr_dir/$as_mkdir_dir
26694 test -d "$as_incr_dir" || mkdir "$as_incr_dir"
26701 mv $tmp/config.h
$ac_file
26705 rm -f $tmp/config.h
26709 cat >>$CONFIG_STATUS <<\EOF
26712 # CONFIG_COMMANDS section.
26714 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
26715 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
26716 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
26720 if test ! -h wx
-config; then
26722 mv wx
-config wx
${TOOLCHAIN_NAME}-config
26723 ${LN_S} wx
${TOOLCHAIN_NAME}-config wx
-config
26726 if test ! -d lib
; then
26729 if test ! -d lib
/wx
; then
26732 if test ! -d lib
/wx
/include
; then
26733 mkdir lib
/wx
/include
26735 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}; then
26736 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}
26738 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
; then
26739 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
26741 if test -f setup.h
; then
26742 mv -f setup.h lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
26749 cat >>$CONFIG_STATUS <<\EOF
26751 { (exit 0); exit 0; }
26753 chmod +x
$CONFIG_STATUS
26754 ac_clean_files
=$ac_clean_files_save
26756 # configure is writing to config.log, and then calls config.status.
26757 # config.status does its own redirection, appending to config.log.
26758 # Unfortunately, on DOS this fails, as config.log is still kept open
26759 # by configure, so config.status won't be able to write to it; its
26760 # output is simply discarded. So we exec the FD to /dev/null,
26761 # effectively closing config.log, so it can be properly (re)opened and
26762 # appended to by config.status. When coming back to configure, we
26763 # need to make the FD available again.
26764 if test "$no_create" != yes; then
26767 $SHELL $CONFIG_STATUS || ac_cs_success
=false
26769 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
26770 # would make configure fail if this is the last instruction.
26771 $ac_cs_success || { (exit 1); exit 1; }
26775 # CONFIG_SUBDIRS section.
26777 if test "$no_recursion" != yes; then
26779 # Remove --cache-file and --srcdir arguments so they do not pile up.
26780 ac_sub_configure_args
=
26782 for ac_arg
in $ac_configure_args; do
26783 if test -n "$ac_prev"; then
26788 -cache-file | --cache-file | --cache-fil | --cache-fi \
26789 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
26790 ac_prev
=cache_file
;;
26791 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
26792 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
26795 --config-cache | -C)
26797 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
26799 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
26801 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
26805 for ac_subdir
in : $subdirs; do test "x$ac_subdir" = x
: && continue
26807 # Do not complain, so a configure script can configure whichever
26808 # parts of a large source tree are present.
26809 test -d $srcdir/$ac_subdir || continue
26811 { echo "$as_me:26811: configuring in $ac_subdir" >&5
26812 echo "$as_me: configuring in $ac_subdir" >&6;}
26815 *) { case "./$ac_subdir" in
26816 [\\/]* | ?
:[\\/]* ) as_incr_dir
=;;
26819 as_dummy
="./$ac_subdir"
26820 for as_mkdir_dir
in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
26821 case $as_mkdir_dir in
26822 # Skip DOS drivespec
26823 ?
:) as_incr_dir
=$as_mkdir_dir ;;
26825 as_incr_dir
=$as_incr_dir/$as_mkdir_dir
26826 test -d "$as_incr_dir" || mkdir "$as_incr_dir"
26831 if test -d .
/$ac_subdir; then :;
26833 { { echo "$as_me:26833: error: cannot create \`pwd\`/$ac_subdir" >&5
26834 echo "$as_me: error: cannot create \`pwd\`/$ac_subdir" >&2;}
26835 { (exit 1); exit 1; }; }
26843 # A "../" for each directory in /$ac_subdir.
26844 ac_dots
=`echo $ac_subdir |
26845 sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
26848 .
) # No --srcdir option. We are building in place.
26849 ac_sub_srcdir
=$srcdir ;;
26850 [\\/]* | ?
:[\\/]* ) # Absolute path.
26851 ac_sub_srcdir
=$srcdir/$ac_subdir ;;
26852 *) # Relative path.
26853 ac_sub_srcdir
=$ac_dots$srcdir/$ac_subdir ;;
26856 # Check for guested configure; otherwise get Cygnus style configure.
26857 if test -f $ac_sub_srcdir/configure.gnu
; then
26858 ac_sub_configure
="$SHELL '$ac_sub_srcdir/configure.gnu'"
26859 elif test -f $ac_sub_srcdir/configure
; then
26860 ac_sub_configure
="$SHELL '$ac_sub_srcdir/configure'"
26861 elif test -f $ac_sub_srcdir/configure.
in; then
26862 ac_sub_configure
=$ac_configure
26864 { echo "$as_me:26864: WARNING: no configuration information is in $ac_subdir" >&5
26865 echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2;}
26869 # The recursion is here.
26870 if test -n "$ac_sub_configure"; then
26871 # Make the cache file name correct relative to the subdirectory.
26872 case $cache_file in
26873 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
26874 *) # Relative path.
26875 ac_sub_cache_file
=$ac_dots$cache_file ;;
26878 { echo "$as_me:26878: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir" >&5
26879 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir" >&6;}
26880 # The eval makes quoting arguments work.
26881 eval $ac_sub_configure $ac_sub_configure_args \
26882 --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir ||
26883 { { echo "$as_me:26883: error: $ac_sub_configure failed for $ac_subdir" >&5
26884 echo "$as_me: error: $ac_sub_configure failed for $ac_subdir" >&2;}
26885 { (exit 1); exit 1; }; }