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 echo "$as_me:2129: checking for --enable-gtk2" >&5
2130 echo $ECHO_N "checking for --enable-gtk2... $ECHO_C" >&6
2132 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2133 if test "${enable_gtk2+set}" = set; then
2134 enableval="$enable_gtk2"
2136 if test "$enableval" = yes; then
2137 ac_cv_use_gtk2='wxUSE_GTK2=yes'
2139 ac_cv_use_gtk2='wxUSE_GTK2=no'
2144 LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2145 if test "x$LINE" != x ; then
2146 eval "DEFAULT_$LINE"
2151 ac_cv_use_gtk2='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2155 eval "$ac_cv_use_gtk2"
2156 if test "$no_cache" != 1; then
2157 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2160 if test "$wxUSE_GTK2" = yes; then
2161 echo "$as_me:2161: result: yes" >&5
2162 echo "${ECHO_T}yes" >&6
2164 echo "$as_me:2164: result: no" >&5
2165 echo "${ECHO_T}no" >&6
2168 echo "$as_me:2168: checking for --with-libpng" >&5
2169 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2172 # Check whether --with-libpng or --without-libpng was given.
2173 if test "${with_libpng+set}" = set; then
2174 withval="$with_libpng"
2176 if test "$withval" = yes; then
2177 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2178 elif test "$withval" = no; then
2179 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2180 elif test "$withval" = sys; then
2181 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2182 elif test "$withval" = builtin; then
2183 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2185 { { echo "$as_me:2185: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2186 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2187 { (exit 1); exit 1; }; }
2192 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2193 if test "x$LINE" != x ; then
2194 eval "DEFAULT_$LINE"
2199 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2203 eval "$ac_cv_use_libpng"
2204 if test "$no_cache" != 1; then
2205 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2208 if test "$wxUSE_LIBPNG" = yes; then
2209 echo "$as_me:2209: result: yes" >&5
2210 echo "${ECHO_T}yes" >&6
2211 elif test "$wxUSE_LIBPNG" = no; then
2212 echo "$as_me:2212: result: no" >&5
2213 echo "${ECHO_T}no" >&6
2214 elif test "$wxUSE_LIBPNG" = sys; then
2215 echo "$as_me:2215: result: system version" >&5
2216 echo "${ECHO_T}system version" >&6
2217 elif test "$wxUSE_LIBPNG" = builtin; then
2218 echo "$as_me:2218: result: builtin version" >&5
2219 echo "${ECHO_T}builtin version" >&6
2221 { { echo "$as_me:2221: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2222 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2223 { (exit 1); exit 1; }; }
2226 echo "$as_me:2226: checking for --with-libjpeg" >&5
2227 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2230 # Check whether --with-libjpeg or --without-libjpeg was given.
2231 if test "${with_libjpeg+set}" = set; then
2232 withval="$with_libjpeg"
2234 if test "$withval" = yes; then
2235 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2236 elif test "$withval" = no; then
2237 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2238 elif test "$withval" = sys; then
2239 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2240 elif test "$withval" = builtin; then
2241 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2243 { { echo "$as_me:2243: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2244 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2245 { (exit 1); exit 1; }; }
2250 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2251 if test "x$LINE" != x ; then
2252 eval "DEFAULT_$LINE"
2257 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2261 eval "$ac_cv_use_libjpeg"
2262 if test "$no_cache" != 1; then
2263 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2266 if test "$wxUSE_LIBJPEG" = yes; then
2267 echo "$as_me:2267: result: yes" >&5
2268 echo "${ECHO_T}yes" >&6
2269 elif test "$wxUSE_LIBJPEG" = no; then
2270 echo "$as_me:2270: result: no" >&5
2271 echo "${ECHO_T}no" >&6
2272 elif test "$wxUSE_LIBJPEG" = sys; then
2273 echo "$as_me:2273: result: system version" >&5
2274 echo "${ECHO_T}system version" >&6
2275 elif test "$wxUSE_LIBJPEG" = builtin; then
2276 echo "$as_me:2276: result: builtin version" >&5
2277 echo "${ECHO_T}builtin version" >&6
2279 { { echo "$as_me:2279: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2280 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2281 { (exit 1); exit 1; }; }
2284 echo "$as_me:2284: checking for --with-libtiff" >&5
2285 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2288 # Check whether --with-libtiff or --without-libtiff was given.
2289 if test "${with_libtiff+set}" = set; then
2290 withval="$with_libtiff"
2292 if test "$withval" = yes; then
2293 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2294 elif test "$withval" = no; then
2295 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2296 elif test "$withval" = sys; then
2297 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2298 elif test "$withval" = builtin; then
2299 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2301 { { echo "$as_me:2301: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2302 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2303 { (exit 1); exit 1; }; }
2308 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2309 if test "x$LINE" != x ; then
2310 eval "DEFAULT_$LINE"
2315 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2319 eval "$ac_cv_use_libtiff"
2320 if test "$no_cache" != 1; then
2321 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2324 if test "$wxUSE_LIBTIFF" = yes; then
2325 echo "$as_me:2325: result: yes" >&5
2326 echo "${ECHO_T}yes" >&6
2327 elif test "$wxUSE_LIBTIFF" = no; then
2328 echo "$as_me:2328: result: no" >&5
2329 echo "${ECHO_T}no" >&6
2330 elif test "$wxUSE_LIBTIFF" = sys; then
2331 echo "$as_me:2331: result: system version" >&5
2332 echo "${ECHO_T}system version" >&6
2333 elif test "$wxUSE_LIBTIFF" = builtin; then
2334 echo "$as_me:2334: result: builtin version" >&5
2335 echo "${ECHO_T}builtin version" >&6
2337 { { echo "$as_me:2337: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2338 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2339 { (exit 1); exit 1; }; }
2342 echo "$as_me:2342: checking for --with-opengl" >&5
2343 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
2346 # Check whether --with-opengl or --without-opengl was given.
2347 if test "${with_opengl+set}" = set; then
2348 withval="$with_opengl"
2350 if test "$withval" = yes; then
2351 ac_cv_use_opengl='wxUSE_OPENGL=yes'
2353 ac_cv_use_opengl='wxUSE_OPENGL=no'
2358 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2359 if test "x$LINE" != x ; then
2360 eval "DEFAULT_$LINE"
2365 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2369 eval "$ac_cv_use_opengl"
2370 if test "$no_cache" != 1; then
2371 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2374 if test "$wxUSE_OPENGL" = yes; then
2375 echo "$as_me:2375: result: yes" >&5
2376 echo "${ECHO_T}yes" >&6
2378 echo "$as_me:2378: result: no" >&5
2379 echo "${ECHO_T}no" >&6
2384 echo "$as_me:2384: checking for --with-dmalloc" >&5
2385 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
2388 # Check whether --with-dmalloc or --without-dmalloc was given.
2389 if test "${with_dmalloc+set}" = set; then
2390 withval="$with_dmalloc"
2392 if test "$withval" = yes; then
2393 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
2395 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
2400 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2401 if test "x$LINE" != x ; then
2402 eval "DEFAULT_$LINE"
2407 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2411 eval "$ac_cv_use_dmalloc"
2412 if test "$no_cache" != 1; then
2413 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2416 if test "$wxUSE_DMALLOC" = yes; then
2417 echo "$as_me:2417: result: yes" >&5
2418 echo "${ECHO_T}yes" >&6
2420 echo "$as_me:2420: result: no" >&5
2421 echo "${ECHO_T}no" >&6
2424 echo "$as_me:2424: checking for --with-regex" >&5
2425 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
2428 # Check whether --with-regex or --without-regex was given.
2429 if test "${with_regex+set}" = set; then
2430 withval="$with_regex"
2432 if test "$withval" = yes; then
2433 ac_cv_use_regex='wxUSE_REGEX=yes'
2434 elif test "$withval" = no; then
2435 ac_cv_use_regex='wxUSE_REGEX=no'
2436 elif test "$withval" = sys; then
2437 ac_cv_use_regex='wxUSE_REGEX=sys'
2438 elif test "$withval" = builtin; then
2439 ac_cv_use_regex='wxUSE_REGEX=builtin'
2441 { { echo "$as_me:2441: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2442 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2443 { (exit 1); exit 1; }; }
2448 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2449 if test "x$LINE" != x ; then
2450 eval "DEFAULT_$LINE"
2455 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2459 eval "$ac_cv_use_regex"
2460 if test "$no_cache" != 1; then
2461 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2464 if test "$wxUSE_REGEX" = yes; then
2465 echo "$as_me:2465: result: yes" >&5
2466 echo "${ECHO_T}yes" >&6
2467 elif test "$wxUSE_REGEX" = no; then
2468 echo "$as_me:2468: result: no" >&5
2469 echo "${ECHO_T}no" >&6
2470 elif test "$wxUSE_REGEX" = sys; then
2471 echo "$as_me:2471: result: system version" >&5
2472 echo "${ECHO_T}system version" >&6
2473 elif test "$wxUSE_REGEX" = builtin; then
2474 echo "$as_me:2474: result: builtin version" >&5
2475 echo "${ECHO_T}builtin version" >&6
2477 { { echo "$as_me:2477: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2478 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2479 { (exit 1); exit 1; }; }
2482 echo "$as_me:2482: checking for --with-zlib" >&5
2483 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
2486 # Check whether --with-zlib or --without-zlib was given.
2487 if test "${with_zlib+set}" = set; then
2488 withval="$with_zlib"
2490 if test "$withval" = yes; then
2491 ac_cv_use_zlib='wxUSE_ZLIB=yes'
2492 elif test "$withval" = no; then
2493 ac_cv_use_zlib='wxUSE_ZLIB=no'
2494 elif test "$withval" = sys; then
2495 ac_cv_use_zlib='wxUSE_ZLIB=sys'
2496 elif test "$withval" = builtin; then
2497 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
2499 { { echo "$as_me:2499: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2500 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2501 { (exit 1); exit 1; }; }
2506 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2507 if test "x$LINE" != x ; then
2508 eval "DEFAULT_$LINE"
2513 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2517 eval "$ac_cv_use_zlib"
2518 if test "$no_cache" != 1; then
2519 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2522 if test "$wxUSE_ZLIB" = yes; then
2523 echo "$as_me:2523: result: yes" >&5
2524 echo "${ECHO_T}yes" >&6
2525 elif test "$wxUSE_ZLIB" = no; then
2526 echo "$as_me:2526: result: no" >&5
2527 echo "${ECHO_T}no" >&6
2528 elif test "$wxUSE_ZLIB" = sys; then
2529 echo "$as_me:2529: result: system version" >&5
2530 echo "${ECHO_T}system version" >&6
2531 elif test "$wxUSE_ZLIB" = builtin; then
2532 echo "$as_me:2532: result: builtin version" >&5
2533 echo "${ECHO_T}builtin version" >&6
2535 { { echo "$as_me:2535: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2536 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2537 { (exit 1); exit 1; }; }
2540 echo "$as_me:2540: checking for --with-odbc" >&5
2541 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
2544 # Check whether --with-odbc or --without-odbc was given.
2545 if test "${with_odbc+set}" = set; then
2546 withval="$with_odbc"
2548 if test "$withval" = yes; then
2549 ac_cv_use_odbc='wxUSE_ODBC=yes'
2551 ac_cv_use_odbc='wxUSE_ODBC=no'
2556 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2557 if test "x$LINE" != x ; then
2558 eval "DEFAULT_$LINE"
2563 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2567 eval "$ac_cv_use_odbc"
2568 if test "$no_cache" != 1; then
2569 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2572 if test "$wxUSE_ODBC" = yes; then
2573 echo "$as_me:2573: result: yes" >&5
2574 echo "${ECHO_T}yes" >&6
2576 echo "$as_me:2576: result: no" >&5
2577 echo "${ECHO_T}no" >&6
2580 echo "$as_me:2580: checking for --enable-shared" >&5
2581 echo $ECHO_N "checking for --enable-shared... $ECHO_C" >&6
2583 # Check whether --enable-shared or --disable-shared was given.
2584 if test "${enable_shared+set}" = set; then
2585 enableval="$enable_shared"
2587 if test "$enableval" = yes; then
2588 ac_cv_use_shared='wxUSE_SHARED=yes'
2590 ac_cv_use_shared='wxUSE_SHARED=no'
2595 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2596 if test "x$LINE" != x ; then
2597 eval "DEFAULT_$LINE"
2602 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2606 eval "$ac_cv_use_shared"
2607 if test "$no_cache" != 1; then
2608 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2611 if test "$wxUSE_SHARED" = yes; then
2612 echo "$as_me:2612: result: yes" >&5
2613 echo "${ECHO_T}yes" >&6
2615 echo "$as_me:2615: result: no" >&5
2616 echo "${ECHO_T}no" >&6
2619 echo "$as_me:2619: checking for --enable-soname" >&5
2620 echo $ECHO_N "checking for --enable-soname... $ECHO_C" >&6
2622 # Check whether --enable-soname or --disable-soname was given.
2623 if test "${enable_soname+set}" = set; then
2624 enableval="$enable_soname"
2626 if test "$enableval" = yes; then
2627 ac_cv_use_soname='wxUSE_SONAME=yes'
2629 ac_cv_use_soname='wxUSE_SONAME=no'
2634 LINE=`grep "wxUSE_SONAME" ${wx_arg_cache_file}`
2635 if test "x$LINE" != x ; then
2636 eval "DEFAULT_$LINE"
2641 ac_cv_use_soname='wxUSE_SONAME='$DEFAULT_wxUSE_SONAME
2645 eval "$ac_cv_use_soname"
2646 if test "$no_cache" != 1; then
2647 echo $ac_cv_use_soname >> ${wx_arg_cache_file}.tmp
2650 if test "$wxUSE_SONAME" = yes; then
2651 echo "$as_me:2651: result: yes" >&5
2652 echo "${ECHO_T}yes" >&6
2654 echo "$as_me:2654: result: no" >&5
2655 echo "${ECHO_T}no" >&6
2658 echo "$as_me:2658: checking for --enable-optimise" >&5
2659 echo $ECHO_N "checking for --enable-optimise... $ECHO_C" >&6
2661 # Check whether --enable-optimise or --disable-optimise was given.
2662 if test "${enable_optimise+set}" = set; then
2663 enableval="$enable_optimise"
2665 if test "$enableval" = yes; then
2666 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
2668 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
2673 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2674 if test "x$LINE" != x ; then
2675 eval "DEFAULT_$LINE"
2680 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2684 eval "$ac_cv_use_optimise"
2685 if test "$no_cache" != 1; then
2686 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2689 if test "$wxUSE_OPTIMISE" = yes; then
2690 echo "$as_me:2690: result: yes" >&5
2691 echo "${ECHO_T}yes" >&6
2693 echo "$as_me:2693: result: no" >&5
2694 echo "${ECHO_T}no" >&6
2697 echo "$as_me:2697: checking for --enable-debug" >&5
2698 echo $ECHO_N "checking for --enable-debug... $ECHO_C" >&6
2700 # Check whether --enable-debug or --disable-debug was given.
2701 if test "${enable_debug+set}" = set; then
2702 enableval="$enable_debug"
2704 if test "$enableval" = yes; then
2705 ac_cv_use_debug='wxUSE_DEBUG=yes'
2707 ac_cv_use_debug='wxUSE_DEBUG=no'
2712 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2713 if test "x$LINE" != x ; then
2714 eval "DEFAULT_$LINE"
2719 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2723 eval "$ac_cv_use_debug"
2724 if test "$no_cache" != 1; then
2725 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2728 if test "$wxUSE_DEBUG" = yes; then
2729 echo "$as_me:2729: result: yes" >&5
2730 echo "${ECHO_T}yes" >&6
2732 echo "$as_me:2732: result: no" >&5
2733 echo "${ECHO_T}no" >&6
2736 echo "$as_me:2736: checking for --enable-precomp" >&5
2737 echo $ECHO_N "checking for --enable-precomp... $ECHO_C" >&6
2739 # Check whether --enable-precomp or --disable-precomp was given.
2740 if test "${enable_precomp+set}" = set; then
2741 enableval="$enable_precomp"
2743 if test "$enableval" = yes; then
2744 ac_cv_use_precomp='wxUSE_PRECOMP=yes'
2746 ac_cv_use_precomp='wxUSE_PRECOMP=no'
2751 LINE=`grep "wxUSE_PRECOMP" ${wx_arg_cache_file}`
2752 if test "x$LINE" != x ; then
2753 eval "DEFAULT_$LINE"
2758 ac_cv_use_precomp='wxUSE_PRECOMP='$DEFAULT_wxUSE_PRECOMP
2762 eval "$ac_cv_use_precomp"
2763 if test "$no_cache" != 1; then
2764 echo $ac_cv_use_precomp >> ${wx_arg_cache_file}.tmp
2767 if test "$wxUSE_PRECOMP" = yes; then
2768 echo "$as_me:2768: result: yes" >&5
2769 echo "${ECHO_T}yes" >&6
2771 echo "$as_me:2771: result: no" >&5
2772 echo "${ECHO_T}no" >&6
2775 if test "$wxUSE_DEBUG" = "yes"; then
2776 DEFAULT_wxUSE_DEBUG_FLAG=yes
2777 DEFAULT_wxUSE_DEBUG_INFO=yes
2778 elif test "$wxUSE_DEBUG" = "no"; then
2779 DEFAULT_wxUSE_DEBUG_FLAG=no
2780 DEFAULT_wxUSE_DEBUG_INFO=no
2783 echo "$as_me:2783: checking for --enable-debug_flag" >&5
2784 echo $ECHO_N "checking for --enable-debug_flag... $ECHO_C" >&6
2786 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2787 if test "${enable_debug_flag+set}" = set; then
2788 enableval="$enable_debug_flag"
2790 if test "$enableval" = yes; then
2791 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
2793 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
2798 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2799 if test "x$LINE" != x ; then
2800 eval "DEFAULT_$LINE"
2805 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2809 eval "$ac_cv_use_debug_flag"
2810 if test "$no_cache" != 1; then
2811 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2814 if test "$wxUSE_DEBUG_FLAG" = yes; then
2815 echo "$as_me:2815: result: yes" >&5
2816 echo "${ECHO_T}yes" >&6
2818 echo "$as_me:2818: result: no" >&5
2819 echo "${ECHO_T}no" >&6
2822 echo "$as_me:2822: checking for --enable-debug_info" >&5
2823 echo $ECHO_N "checking for --enable-debug_info... $ECHO_C" >&6
2825 # Check whether --enable-debug_info or --disable-debug_info was given.
2826 if test "${enable_debug_info+set}" = set; then
2827 enableval="$enable_debug_info"
2829 if test "$enableval" = yes; then
2830 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
2832 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
2837 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2838 if test "x$LINE" != x ; then
2839 eval "DEFAULT_$LINE"
2844 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2848 eval "$ac_cv_use_debug_info"
2849 if test "$no_cache" != 1; then
2850 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2853 if test "$wxUSE_DEBUG_INFO" = yes; then
2854 echo "$as_me:2854: result: yes" >&5
2855 echo "${ECHO_T}yes" >&6
2857 echo "$as_me:2857: result: no" >&5
2858 echo "${ECHO_T}no" >&6
2861 echo "$as_me:2861: checking for --enable-debug_gdb" >&5
2862 echo $ECHO_N "checking for --enable-debug_gdb... $ECHO_C" >&6
2864 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2865 if test "${enable_debug_gdb+set}" = set; then
2866 enableval="$enable_debug_gdb"
2868 if test "$enableval" = yes; then
2869 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
2871 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
2876 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2877 if test "x$LINE" != x ; then
2878 eval "DEFAULT_$LINE"
2883 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2887 eval "$ac_cv_use_debug_gdb"
2888 if test "$no_cache" != 1; then
2889 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2892 if test "$wxUSE_DEBUG_GDB" = yes; then
2893 echo "$as_me:2893: result: yes" >&5
2894 echo "${ECHO_T}yes" >&6
2896 echo "$as_me:2896: result: no" >&5
2897 echo "${ECHO_T}no" >&6
2900 echo "$as_me:2900: checking for --enable-debug_cntxt" >&5
2901 echo $ECHO_N "checking for --enable-debug_cntxt... $ECHO_C" >&6
2903 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2904 if test "${enable_debug_cntxt+set}" = set; then
2905 enableval="$enable_debug_cntxt"
2907 if test "$enableval" = yes; then
2908 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
2910 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
2915 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2916 if test "x$LINE" != x ; then
2917 eval "DEFAULT_$LINE"
2922 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2926 eval "$ac_cv_use_debug_cntxt"
2927 if test "$no_cache" != 1; then
2928 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2931 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2932 echo "$as_me:2932: result: yes" >&5
2933 echo "${ECHO_T}yes" >&6
2935 echo "$as_me:2935: result: no" >&5
2936 echo "${ECHO_T}no" >&6
2939 echo "$as_me:2939: checking for --enable-mem_tracing" >&5
2940 echo $ECHO_N "checking for --enable-mem_tracing... $ECHO_C" >&6
2942 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2943 if test "${enable_mem_tracing+set}" = set; then
2944 enableval="$enable_mem_tracing"
2946 if test "$enableval" = yes; then
2947 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
2949 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
2954 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2955 if test "x$LINE" != x ; then
2956 eval "DEFAULT_$LINE"
2961 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2965 eval "$ac_cv_use_mem_tracing"
2966 if test "$no_cache" != 1; then
2967 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2970 if test "$wxUSE_MEM_TRACING" = yes; then
2971 echo "$as_me:2971: result: yes" >&5
2972 echo "${ECHO_T}yes" >&6
2974 echo "$as_me:2974: result: no" >&5
2975 echo "${ECHO_T}no" >&6
2978 echo "$as_me:2978: checking for --enable-profile" >&5
2979 echo $ECHO_N "checking for --enable-profile... $ECHO_C" >&6
2981 # Check whether --enable-profile or --disable-profile was given.
2982 if test "${enable_profile+set}" = set; then
2983 enableval="$enable_profile"
2985 if test "$enableval" = yes; then
2986 ac_cv_use_profile='wxUSE_PROFILE=yes'
2988 ac_cv_use_profile='wxUSE_PROFILE=no'
2993 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2994 if test "x$LINE" != x ; then
2995 eval "DEFAULT_$LINE"
3000 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3004 eval "$ac_cv_use_profile"
3005 if test "$no_cache" != 1; then
3006 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3009 if test "$wxUSE_PROFILE" = yes; then
3010 echo "$as_me:3010: result: yes" >&5
3011 echo "${ECHO_T}yes" >&6
3013 echo "$as_me:3013: result: no" >&5
3014 echo "${ECHO_T}no" >&6
3017 echo "$as_me:3017: checking for --enable-no_rtti" >&5
3018 echo $ECHO_N "checking for --enable-no_rtti... $ECHO_C" >&6
3020 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3021 if test "${enable_no_rtti+set}" = set; then
3022 enableval="$enable_no_rtti"
3024 if test "$enableval" = yes; then
3025 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
3027 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
3032 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3033 if test "x$LINE" != x ; then
3034 eval "DEFAULT_$LINE"
3039 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3043 eval "$ac_cv_use_no_rtti"
3044 if test "$no_cache" != 1; then
3045 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3048 if test "$wxUSE_NO_RTTI" = yes; then
3049 echo "$as_me:3049: result: yes" >&5
3050 echo "${ECHO_T}yes" >&6
3052 echo "$as_me:3052: result: no" >&5
3053 echo "${ECHO_T}no" >&6
3056 echo "$as_me:3056: checking for --enable-no_exceptions" >&5
3057 echo $ECHO_N "checking for --enable-no_exceptions... $ECHO_C" >&6
3059 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3060 if test "${enable_no_exceptions+set}" = set; then
3061 enableval="$enable_no_exceptions"
3063 if test "$enableval" = yes; then
3064 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
3066 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
3071 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3072 if test "x$LINE" != x ; then
3073 eval "DEFAULT_$LINE"
3078 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3082 eval "$ac_cv_use_no_exceptions"
3083 if test "$no_cache" != 1; then
3084 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3087 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3088 echo "$as_me:3088: result: yes" >&5
3089 echo "${ECHO_T}yes" >&6
3091 echo "$as_me:3091: result: no" >&5
3092 echo "${ECHO_T}no" >&6
3095 echo "$as_me:3095: checking for --enable-permissive" >&5
3096 echo $ECHO_N "checking for --enable-permissive... $ECHO_C" >&6
3098 # Check whether --enable-permissive or --disable-permissive was given.
3099 if test "${enable_permissive+set}" = set; then
3100 enableval="$enable_permissive"
3102 if test "$enableval" = yes; then
3103 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
3105 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
3110 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3111 if test "x$LINE" != x ; then
3112 eval "DEFAULT_$LINE"
3117 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
3121 eval "$ac_cv_use_permissive"
3122 if test "$no_cache" != 1; then
3123 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3126 if test "$wxUSE_PERMISSIVE" = yes; then
3127 echo "$as_me:3127: result: yes" >&5
3128 echo "${ECHO_T}yes" >&6
3130 echo "$as_me:3130: result: no" >&5
3131 echo "${ECHO_T}no" >&6
3134 echo "$as_me:3134: checking for --enable-no_deps" >&5
3135 echo $ECHO_N "checking for --enable-no_deps... $ECHO_C" >&6
3137 # Check whether --enable-no_deps or --disable-no_deps was given.
3138 if test "${enable_no_deps+set}" = set; then
3139 enableval="$enable_no_deps"
3141 if test "$enableval" = yes; then
3142 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
3144 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
3149 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3150 if test "x$LINE" != x ; then
3151 eval "DEFAULT_$LINE"
3156 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
3160 eval "$ac_cv_use_no_deps"
3161 if test "$no_cache" != 1; then
3162 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
3165 if test "$wxUSE_NO_DEPS" = yes; then
3166 echo "$as_me:3166: result: yes" >&5
3167 echo "${ECHO_T}yes" >&6
3169 echo "$as_me:3169: result: no" >&5
3170 echo "${ECHO_T}no" >&6
3173 echo "$as_me:3173: checking for --enable-compat20" >&5
3174 echo $ECHO_N "checking for --enable-compat20... $ECHO_C" >&6
3176 # Check whether --enable-compat20 or --disable-compat20 was given.
3177 if test "${enable_compat20+set}" = set; then
3178 enableval="$enable_compat20"
3180 if test "$enableval" = yes; then
3181 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2=yes'
3183 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2=no'
3188 LINE=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
3189 if test "x$LINE" != x ; then
3190 eval "DEFAULT_$LINE"
3195 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
3199 eval "$ac_cv_use_compat20"
3200 if test "$no_cache" != 1; then
3201 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
3204 if test "$WXWIN_COMPATIBILITY_2" = yes; then
3205 echo "$as_me:3205: result: yes" >&5
3206 echo "${ECHO_T}yes" >&6
3208 echo "$as_me:3208: result: no" >&5
3209 echo "${ECHO_T}no" >&6
3212 echo "$as_me:3212: checking for --enable-compat22" >&5
3213 echo $ECHO_N "checking for --enable-compat22... $ECHO_C" >&6
3215 # Check whether --enable-compat22 or --disable-compat22 was given.
3216 if test "${enable_compat22+set}" = set; then
3217 enableval="$enable_compat22"
3219 if test "$enableval" = yes; then
3220 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
3222 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
3227 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3228 if test "x$LINE" != x ; then
3229 eval "DEFAULT_$LINE"
3234 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3238 eval "$ac_cv_use_compat22"
3239 if test "$no_cache" != 1; then
3240 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3243 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3244 echo "$as_me:3244: result: yes" >&5
3245 echo "${ECHO_T}yes" >&6
3247 echo "$as_me:3247: result: no" >&5
3248 echo "${ECHO_T}no" >&6
3251 # Check whether --enable-rpath or --disable-rpath was given.
3252 if test "${enable_rpath+set}" = set; then
3253 enableval="$enable_rpath"
3254 wxRPATH_DIR="$enableval"
3257 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
3258 WXCONFIG_RPATH="-Wl,-rpath -Wl,$wxRPATH_DIR"
3261 echo "$as_me:3261: checking for --enable-intl" >&5
3262 echo $ECHO_N "checking for --enable-intl... $ECHO_C" >&6
3264 # Check whether --enable-intl or --disable-intl was given.
3265 if test "${enable_intl+set}" = set; then
3266 enableval="$enable_intl"
3268 if test "$enableval" = yes; then
3269 ac_cv_use_intl='wxUSE_INTL=yes'
3271 ac_cv_use_intl='wxUSE_INTL=no'
3276 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3277 if test "x$LINE" != x ; then
3278 eval "DEFAULT_$LINE"
3283 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3287 eval "$ac_cv_use_intl"
3288 if test "$no_cache" != 1; then
3289 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3292 if test "$wxUSE_INTL" = yes; then
3293 echo "$as_me:3293: result: yes" >&5
3294 echo "${ECHO_T}yes" >&6
3296 echo "$as_me:3296: result: no" >&5
3297 echo "${ECHO_T}no" >&6
3300 echo "$as_me:3300: checking for --enable-config" >&5
3301 echo $ECHO_N "checking for --enable-config... $ECHO_C" >&6
3303 # Check whether --enable-config or --disable-config was given.
3304 if test "${enable_config+set}" = set; then
3305 enableval="$enable_config"
3307 if test "$enableval" = yes; then
3308 ac_cv_use_config='wxUSE_CONFIG=yes'
3310 ac_cv_use_config='wxUSE_CONFIG=no'
3315 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3316 if test "x$LINE" != x ; then
3317 eval "DEFAULT_$LINE"
3322 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3326 eval "$ac_cv_use_config"
3327 if test "$no_cache" != 1; then
3328 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3331 if test "$wxUSE_CONFIG" = yes; then
3332 echo "$as_me:3332: result: yes" >&5
3333 echo "${ECHO_T}yes" >&6
3335 echo "$as_me:3335: result: no" >&5
3336 echo "${ECHO_T}no" >&6
3339 echo "$as_me:3339: checking for --enable-protocols" >&5
3340 echo $ECHO_N "checking for --enable-protocols... $ECHO_C" >&6
3342 # Check whether --enable-protocols or --disable-protocols was given.
3343 if test "${enable_protocols+set}" = set; then
3344 enableval="$enable_protocols"
3346 if test "$enableval" = yes; then
3347 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
3349 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
3354 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3355 if test "x$LINE" != x ; then
3356 eval "DEFAULT_$LINE"
3361 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
3365 eval "$ac_cv_use_protocols"
3366 if test "$no_cache" != 1; then
3367 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3370 if test "$wxUSE_PROTOCOL" = yes; then
3371 echo "$as_me:3371: result: yes" >&5
3372 echo "${ECHO_T}yes" >&6
3374 echo "$as_me:3374: result: no" >&5
3375 echo "${ECHO_T}no" >&6
3378 echo "$as_me:3378: checking for --enable-ftp" >&5
3379 echo $ECHO_N "checking for --enable-ftp... $ECHO_C" >&6
3381 # Check whether --enable-ftp or --disable-ftp was given.
3382 if test "${enable_ftp+set}" = set; then
3383 enableval="$enable_ftp"
3385 if test "$enableval" = yes; then
3386 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
3388 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
3393 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3394 if test "x$LINE" != x ; then
3395 eval "DEFAULT_$LINE"
3400 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
3404 eval "$ac_cv_use_ftp"
3405 if test "$no_cache" != 1; then
3406 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3409 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3410 echo "$as_me:3410: result: yes" >&5
3411 echo "${ECHO_T}yes" >&6
3413 echo "$as_me:3413: result: no" >&5
3414 echo "${ECHO_T}no" >&6
3417 echo "$as_me:3417: checking for --enable-http" >&5
3418 echo $ECHO_N "checking for --enable-http... $ECHO_C" >&6
3420 # Check whether --enable-http or --disable-http was given.
3421 if test "${enable_http+set}" = set; then
3422 enableval="$enable_http"
3424 if test "$enableval" = yes; then
3425 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
3427 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
3432 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3433 if test "x$LINE" != x ; then
3434 eval "DEFAULT_$LINE"
3439 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
3443 eval "$ac_cv_use_http"
3444 if test "$no_cache" != 1; then
3445 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
3448 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
3449 echo "$as_me:3449: result: yes" >&5
3450 echo "${ECHO_T}yes" >&6
3452 echo "$as_me:3452: result: no" >&5
3453 echo "${ECHO_T}no" >&6
3456 echo "$as_me:3456: checking for --enable-fileproto" >&5
3457 echo $ECHO_N "checking for --enable-fileproto... $ECHO_C" >&6
3459 # Check whether --enable-fileproto or --disable-fileproto was given.
3460 if test "${enable_fileproto+set}" = set; then
3461 enableval="$enable_fileproto"
3463 if test "$enableval" = yes; then
3464 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
3466 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
3471 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
3472 if test "x$LINE" != x ; then
3473 eval "DEFAULT_$LINE"
3478 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
3482 eval "$ac_cv_use_fileproto"
3483 if test "$no_cache" != 1; then
3484 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
3487 if test "$wxUSE_PROTOCOL_FILE" = yes; then
3488 echo "$as_me:3488: result: yes" >&5
3489 echo "${ECHO_T}yes" >&6
3491 echo "$as_me:3491: result: no" >&5
3492 echo "${ECHO_T}no" >&6
3495 echo "$as_me:3495: checking for --enable-sockets" >&5
3496 echo $ECHO_N "checking for --enable-sockets... $ECHO_C" >&6
3498 # Check whether --enable-sockets or --disable-sockets was given.
3499 if test "${enable_sockets+set}" = set; then
3500 enableval="$enable_sockets"
3502 if test "$enableval" = yes; then
3503 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
3505 ac_cv_use_sockets='wxUSE_SOCKETS=no'
3510 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
3511 if test "x$LINE" != x ; then
3512 eval "DEFAULT_$LINE"
3517 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
3521 eval "$ac_cv_use_sockets"
3522 if test "$no_cache" != 1; then
3523 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
3526 if test "$wxUSE_SOCKETS" = yes; then
3527 echo "$as_me:3527: result: yes" >&5
3528 echo "${ECHO_T}yes" >&6
3530 echo "$as_me:3530: result: no" >&5
3531 echo "${ECHO_T}no" >&6
3534 echo "$as_me:3534: checking for --enable-ipc" >&5
3535 echo $ECHO_N "checking for --enable-ipc... $ECHO_C" >&6
3537 # Check whether --enable-ipc or --disable-ipc was given.
3538 if test "${enable_ipc+set}" = set; then
3539 enableval="$enable_ipc"
3541 if test "$enableval" = yes; then
3542 ac_cv_use_ipc='wxUSE_IPC=yes'
3544 ac_cv_use_ipc='wxUSE_IPC=no'
3549 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
3550 if test "x$LINE" != x ; then
3551 eval "DEFAULT_$LINE"
3556 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
3560 eval "$ac_cv_use_ipc"
3561 if test "$no_cache" != 1; then
3562 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
3565 if test "$wxUSE_IPC" = yes; then
3566 echo "$as_me:3566: result: yes" >&5
3567 echo "${ECHO_T}yes" >&6
3569 echo "$as_me:3569: result: no" >&5
3570 echo "${ECHO_T}no" >&6
3573 echo "$as_me:3573: checking for --enable-cmdline" >&5
3574 echo $ECHO_N "checking for --enable-cmdline... $ECHO_C" >&6
3576 # Check whether --enable-cmdline or --disable-cmdline was given.
3577 if test "${enable_cmdline+set}" = set; then
3578 enableval="$enable_cmdline"
3580 if test "$enableval" = yes; then
3581 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
3583 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
3588 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
3589 if test "x$LINE" != x ; then
3590 eval "DEFAULT_$LINE"
3595 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
3599 eval "$ac_cv_use_cmdline"
3600 if test "$no_cache" != 1; then
3601 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
3604 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3605 echo "$as_me:3605: result: yes" >&5
3606 echo "${ECHO_T}yes" >&6
3608 echo "$as_me:3608: result: no" >&5
3609 echo "${ECHO_T}no" >&6
3612 echo "$as_me:3612: checking for --enable-datetime" >&5
3613 echo $ECHO_N "checking for --enable-datetime... $ECHO_C" >&6
3615 # Check whether --enable-datetime or --disable-datetime was given.
3616 if test "${enable_datetime+set}" = set; then
3617 enableval="$enable_datetime"
3619 if test "$enableval" = yes; then
3620 ac_cv_use_datetime='wxUSE_DATETIME=yes'
3622 ac_cv_use_datetime='wxUSE_DATETIME=no'
3627 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3628 if test "x$LINE" != x ; then
3629 eval "DEFAULT_$LINE"
3634 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3638 eval "$ac_cv_use_datetime"
3639 if test "$no_cache" != 1; then
3640 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3643 if test "$wxUSE_DATETIME" = yes; then
3644 echo "$as_me:3644: result: yes" >&5
3645 echo "${ECHO_T}yes" >&6
3647 echo "$as_me:3647: result: no" >&5
3648 echo "${ECHO_T}no" >&6
3651 echo "$as_me:3651: checking for --enable-timedate" >&5
3652 echo $ECHO_N "checking for --enable-timedate... $ECHO_C" >&6
3654 # Check whether --enable-timedate or --disable-timedate was given.
3655 if test "${enable_timedate+set}" = set; then
3656 enableval="$enable_timedate"
3658 if test "$enableval" = yes; then
3659 ac_cv_use_timedate='wxUSE_TIMEDATE=yes'
3661 ac_cv_use_timedate='wxUSE_TIMEDATE=no'
3666 LINE=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
3667 if test "x$LINE" != x ; then
3668 eval "DEFAULT_$LINE"
3673 ac_cv_use_timedate='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
3677 eval "$ac_cv_use_timedate"
3678 if test "$no_cache" != 1; then
3679 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
3682 if test "$wxUSE_TIMEDATE" = yes; then
3683 echo "$as_me:3683: result: yes" >&5
3684 echo "${ECHO_T}yes" >&6
3686 echo "$as_me:3686: result: no" >&5
3687 echo "${ECHO_T}no" >&6
3690 echo "$as_me:3690: checking for --enable-stopwatch" >&5
3691 echo $ECHO_N "checking for --enable-stopwatch... $ECHO_C" >&6
3693 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3694 if test "${enable_stopwatch+set}" = set; then
3695 enableval="$enable_stopwatch"
3697 if test "$enableval" = yes; then
3698 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
3700 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
3705 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3706 if test "x$LINE" != x ; then
3707 eval "DEFAULT_$LINE"
3712 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3716 eval "$ac_cv_use_stopwatch"
3717 if test "$no_cache" != 1; then
3718 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3721 if test "$wxUSE_STOPWATCH" = yes; then
3722 echo "$as_me:3722: result: yes" >&5
3723 echo "${ECHO_T}yes" >&6
3725 echo "$as_me:3725: result: no" >&5
3726 echo "${ECHO_T}no" >&6
3729 echo "$as_me:3729: checking for --enable-dialupman" >&5
3730 echo $ECHO_N "checking for --enable-dialupman... $ECHO_C" >&6
3732 # Check whether --enable-dialupman or --disable-dialupman was given.
3733 if test "${enable_dialupman+set}" = set; then
3734 enableval="$enable_dialupman"
3736 if test "$enableval" = yes; then
3737 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
3739 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
3744 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3745 if test "x$LINE" != x ; then
3746 eval "DEFAULT_$LINE"
3751 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3755 eval "$ac_cv_use_dialupman"
3756 if test "$no_cache" != 1; then
3757 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3760 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3761 echo "$as_me:3761: result: yes" >&5
3762 echo "${ECHO_T}yes" >&6
3764 echo "$as_me:3764: result: no" >&5
3765 echo "${ECHO_T}no" >&6
3768 echo "$as_me:3768: checking for --enable-apple_ieee" >&5
3769 echo $ECHO_N "checking for --enable-apple_ieee... $ECHO_C" >&6
3771 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3772 if test "${enable_apple_ieee+set}" = set; then
3773 enableval="$enable_apple_ieee"
3775 if test "$enableval" = yes; then
3776 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
3778 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
3783 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3784 if test "x$LINE" != x ; then
3785 eval "DEFAULT_$LINE"
3790 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3794 eval "$ac_cv_use_apple_ieee"
3795 if test "$no_cache" != 1; then
3796 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3799 if test "$wxUSE_APPLE_IEEE" = yes; then
3800 echo "$as_me:3800: result: yes" >&5
3801 echo "${ECHO_T}yes" >&6
3803 echo "$as_me:3803: result: no" >&5
3804 echo "${ECHO_T}no" >&6
3807 echo "$as_me:3807: checking for --enable-timer" >&5
3808 echo $ECHO_N "checking for --enable-timer... $ECHO_C" >&6
3810 # Check whether --enable-timer or --disable-timer was given.
3811 if test "${enable_timer+set}" = set; then
3812 enableval="$enable_timer"
3814 if test "$enableval" = yes; then
3815 ac_cv_use_timer='wxUSE_TIMER=yes'
3817 ac_cv_use_timer='wxUSE_TIMER=no'
3822 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3823 if test "x$LINE" != x ; then
3824 eval "DEFAULT_$LINE"
3829 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3833 eval "$ac_cv_use_timer"
3834 if test "$no_cache" != 1; then
3835 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3838 if test "$wxUSE_TIMER" = yes; then
3839 echo "$as_me:3839: result: yes" >&5
3840 echo "${ECHO_T}yes" >&6
3842 echo "$as_me:3842: result: no" >&5
3843 echo "${ECHO_T}no" >&6
3846 echo "$as_me:3846: checking for --enable-wave" >&5
3847 echo $ECHO_N "checking for --enable-wave... $ECHO_C" >&6
3849 # Check whether --enable-wave or --disable-wave was given.
3850 if test "${enable_wave+set}" = set; then
3851 enableval="$enable_wave"
3853 if test "$enableval" = yes; then
3854 ac_cv_use_wave='wxUSE_WAVE=yes'
3856 ac_cv_use_wave='wxUSE_WAVE=no'
3861 LINE=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3862 if test "x$LINE" != x ; then
3863 eval "DEFAULT_$LINE"
3868 ac_cv_use_wave='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3872 eval "$ac_cv_use_wave"
3873 if test "$no_cache" != 1; then
3874 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3877 if test "$wxUSE_WAVE" = yes; then
3878 echo "$as_me:3878: result: yes" >&5
3879 echo "${ECHO_T}yes" >&6
3881 echo "$as_me:3881: result: no" >&5
3882 echo "${ECHO_T}no" >&6
3885 echo "$as_me:3885: checking for --enable-fraction" >&5
3886 echo $ECHO_N "checking for --enable-fraction... $ECHO_C" >&6
3888 # Check whether --enable-fraction or --disable-fraction was given.
3889 if test "${enable_fraction+set}" = set; then
3890 enableval="$enable_fraction"
3892 if test "$enableval" = yes; then
3893 ac_cv_use_fraction='wxUSE_FRACTION=yes'
3895 ac_cv_use_fraction='wxUSE_FRACTION=no'
3900 LINE=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3901 if test "x$LINE" != x ; then
3902 eval "DEFAULT_$LINE"
3907 ac_cv_use_fraction='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3911 eval "$ac_cv_use_fraction"
3912 if test "$no_cache" != 1; then
3913 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3916 if test "$wxUSE_FRACTION" = yes; then
3917 echo "$as_me:3917: result: yes" >&5
3918 echo "${ECHO_T}yes" >&6
3920 echo "$as_me:3920: result: no" >&5
3921 echo "${ECHO_T}no" >&6
3924 echo "$as_me:3924: checking for --enable-dynlib" >&5
3925 echo $ECHO_N "checking for --enable-dynlib... $ECHO_C" >&6
3927 # Check whether --enable-dynlib or --disable-dynlib was given.
3928 if test "${enable_dynlib+set}" = set; then
3929 enableval="$enable_dynlib"
3931 if test "$enableval" = yes; then
3932 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
3934 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
3939 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3940 if test "x$LINE" != x ; then
3941 eval "DEFAULT_$LINE"
3946 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3950 eval "$ac_cv_use_dynlib"
3951 if test "$no_cache" != 1; then
3952 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3955 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3956 echo "$as_me:3956: result: yes" >&5
3957 echo "${ECHO_T}yes" >&6
3959 echo "$as_me:3959: result: no" >&5
3960 echo "${ECHO_T}no" >&6
3963 echo "$as_me:3963: checking for --enable-dynamicloader" >&5
3964 echo $ECHO_N "checking for --enable-dynamicloader... $ECHO_C" >&6
3966 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
3967 if test "${enable_dynamicloader+set}" = set; then
3968 enableval="$enable_dynamicloader"
3970 if test "$enableval" = yes; then
3971 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
3973 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
3978 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
3979 if test "x$LINE" != x ; then
3980 eval "DEFAULT_$LINE"
3985 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
3989 eval "$ac_cv_use_dynamicloader"
3990 if test "$no_cache" != 1; then
3991 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
3994 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
3995 echo "$as_me:3995: result: yes" >&5
3996 echo "${ECHO_T}yes" >&6
3998 echo "$as_me:3998: result: no" >&5
3999 echo "${ECHO_T}no" >&6
4002 echo "$as_me:4002: checking for --enable-longlong" >&5
4003 echo $ECHO_N "checking for --enable-longlong... $ECHO_C" >&6
4005 # Check whether --enable-longlong or --disable-longlong was given.
4006 if test "${enable_longlong+set}" = set; then
4007 enableval="$enable_longlong"
4009 if test "$enableval" = yes; then
4010 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
4012 ac_cv_use_longlong='wxUSE_LONGLONG=no'
4017 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
4018 if test "x$LINE" != x ; then
4019 eval "DEFAULT_$LINE"
4024 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
4028 eval "$ac_cv_use_longlong"
4029 if test "$no_cache" != 1; then
4030 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
4033 if test "$wxUSE_LONGLONG" = yes; then
4034 echo "$as_me:4034: result: yes" >&5
4035 echo "${ECHO_T}yes" >&6
4037 echo "$as_me:4037: result: no" >&5
4038 echo "${ECHO_T}no" >&6
4041 echo "$as_me:4041: checking for --enable-geometry" >&5
4042 echo $ECHO_N "checking for --enable-geometry... $ECHO_C" >&6
4044 # Check whether --enable-geometry or --disable-geometry was given.
4045 if test "${enable_geometry+set}" = set; then
4046 enableval="$enable_geometry"
4048 if test "$enableval" = yes; then
4049 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
4051 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
4056 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
4057 if test "x$LINE" != x ; then
4058 eval "DEFAULT_$LINE"
4063 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
4067 eval "$ac_cv_use_geometry"
4068 if test "$no_cache" != 1; then
4069 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
4072 if test "$wxUSE_GEOMETRY" = yes; then
4073 echo "$as_me:4073: result: yes" >&5
4074 echo "${ECHO_T}yes" >&6
4076 echo "$as_me:4076: result: no" >&5
4077 echo "${ECHO_T}no" >&6
4080 echo "$as_me:4080: checking for --enable-log" >&5
4081 echo $ECHO_N "checking for --enable-log... $ECHO_C" >&6
4083 # Check whether --enable-log or --disable-log was given.
4084 if test "${enable_log+set}" = set; then
4085 enableval="$enable_log"
4087 if test "$enableval" = yes; then
4088 ac_cv_use_log='wxUSE_LOG=yes'
4090 ac_cv_use_log='wxUSE_LOG=no'
4095 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
4096 if test "x$LINE" != x ; then
4097 eval "DEFAULT_$LINE"
4102 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
4106 eval "$ac_cv_use_log"
4107 if test "$no_cache" != 1; then
4108 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
4111 if test "$wxUSE_LOG" = yes; then
4112 echo "$as_me:4112: result: yes" >&5
4113 echo "${ECHO_T}yes" >&6
4115 echo "$as_me:4115: result: no" >&5
4116 echo "${ECHO_T}no" >&6
4119 echo "$as_me:4119: checking for --enable-streams" >&5
4120 echo $ECHO_N "checking for --enable-streams... $ECHO_C" >&6
4122 # Check whether --enable-streams or --disable-streams was given.
4123 if test "${enable_streams+set}" = set; then
4124 enableval="$enable_streams"
4126 if test "$enableval" = yes; then
4127 ac_cv_use_streams='wxUSE_STREAMS=yes'
4129 ac_cv_use_streams='wxUSE_STREAMS=no'
4134 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
4135 if test "x$LINE" != x ; then
4136 eval "DEFAULT_$LINE"
4141 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
4145 eval "$ac_cv_use_streams"
4146 if test "$no_cache" != 1; then
4147 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
4150 if test "$wxUSE_STREAMS" = yes; then
4151 echo "$as_me:4151: result: yes" >&5
4152 echo "${ECHO_T}yes" >&6
4154 echo "$as_me:4154: result: no" >&5
4155 echo "${ECHO_T}no" >&6
4158 echo "$as_me:4158: checking for --enable-file" >&5
4159 echo $ECHO_N "checking for --enable-file... $ECHO_C" >&6
4161 # Check whether --enable-file or --disable-file was given.
4162 if test "${enable_file+set}" = set; then
4163 enableval="$enable_file"
4165 if test "$enableval" = yes; then
4166 ac_cv_use_file='wxUSE_FILE=yes'
4168 ac_cv_use_file='wxUSE_FILE=no'
4173 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4174 if test "x$LINE" != x ; then
4175 eval "DEFAULT_$LINE"
4180 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4184 eval "$ac_cv_use_file"
4185 if test "$no_cache" != 1; then
4186 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4189 if test "$wxUSE_FILE" = yes; then
4190 echo "$as_me:4190: result: yes" >&5
4191 echo "${ECHO_T}yes" >&6
4193 echo "$as_me:4193: result: no" >&5
4194 echo "${ECHO_T}no" >&6
4197 echo "$as_me:4197: checking for --enable-ffile" >&5
4198 echo $ECHO_N "checking for --enable-ffile... $ECHO_C" >&6
4200 # Check whether --enable-ffile or --disable-ffile was given.
4201 if test "${enable_ffile+set}" = set; then
4202 enableval="$enable_ffile"
4204 if test "$enableval" = yes; then
4205 ac_cv_use_ffile='wxUSE_FFILE=yes'
4207 ac_cv_use_ffile='wxUSE_FFILE=no'
4212 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4213 if test "x$LINE" != x ; then
4214 eval "DEFAULT_$LINE"
4219 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4223 eval "$ac_cv_use_ffile"
4224 if test "$no_cache" != 1; then
4225 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4228 if test "$wxUSE_FFILE" = yes; then
4229 echo "$as_me:4229: result: yes" >&5
4230 echo "${ECHO_T}yes" >&6
4232 echo "$as_me:4232: result: no" >&5
4233 echo "${ECHO_T}no" >&6
4236 echo "$as_me:4236: checking for --enable-textbuf" >&5
4237 echo $ECHO_N "checking for --enable-textbuf... $ECHO_C" >&6
4239 # Check whether --enable-textbuf or --disable-textbuf was given.
4240 if test "${enable_textbuf+set}" = set; then
4241 enableval="$enable_textbuf"
4243 if test "$enableval" = yes; then
4244 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
4246 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
4251 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
4252 if test "x$LINE" != x ; then
4253 eval "DEFAULT_$LINE"
4258 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
4262 eval "$ac_cv_use_textbuf"
4263 if test "$no_cache" != 1; then
4264 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
4267 if test "$wxUSE_TEXTBUFFER" = yes; then
4268 echo "$as_me:4268: result: yes" >&5
4269 echo "${ECHO_T}yes" >&6
4271 echo "$as_me:4271: result: no" >&5
4272 echo "${ECHO_T}no" >&6
4275 echo "$as_me:4275: checking for --enable-textfile" >&5
4276 echo $ECHO_N "checking for --enable-textfile... $ECHO_C" >&6
4278 # Check whether --enable-textfile or --disable-textfile was given.
4279 if test "${enable_textfile+set}" = set; then
4280 enableval="$enable_textfile"
4282 if test "$enableval" = yes; then
4283 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
4285 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
4290 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
4291 if test "x$LINE" != x ; then
4292 eval "DEFAULT_$LINE"
4297 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
4301 eval "$ac_cv_use_textfile"
4302 if test "$no_cache" != 1; then
4303 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4306 if test "$wxUSE_TEXTFILE" = yes; then
4307 echo "$as_me:4307: result: yes" >&5
4308 echo "${ECHO_T}yes" >&6
4310 echo "$as_me:4310: result: no" >&5
4311 echo "${ECHO_T}no" >&6
4314 echo "$as_me:4314: checking for --enable-fontmap" >&5
4315 echo $ECHO_N "checking for --enable-fontmap... $ECHO_C" >&6
4317 # Check whether --enable-fontmap or --disable-fontmap was given.
4318 if test "${enable_fontmap+set}" = set; then
4319 enableval="$enable_fontmap"
4321 if test "$enableval" = yes; then
4322 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
4324 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
4329 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4330 if test "x$LINE" != x ; then
4331 eval "DEFAULT_$LINE"
4336 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4340 eval "$ac_cv_use_fontmap"
4341 if test "$no_cache" != 1; then
4342 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4345 if test "$wxUSE_FONTMAP" = yes; then
4346 echo "$as_me:4346: result: yes" >&5
4347 echo "${ECHO_T}yes" >&6
4349 echo "$as_me:4349: result: no" >&5
4350 echo "${ECHO_T}no" >&6
4353 echo "$as_me:4353: checking for --enable-unicode" >&5
4354 echo $ECHO_N "checking for --enable-unicode... $ECHO_C" >&6
4356 # Check whether --enable-unicode or --disable-unicode was given.
4357 if test "${enable_unicode+set}" = set; then
4358 enableval="$enable_unicode"
4360 if test "$enableval" = yes; then
4361 ac_cv_use_unicode='wxUSE_UNICODE=yes'
4363 ac_cv_use_unicode='wxUSE_UNICODE=no'
4368 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
4369 if test "x$LINE" != x ; then
4370 eval "DEFAULT_$LINE"
4375 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
4379 eval "$ac_cv_use_unicode"
4380 if test "$no_cache" != 1; then
4381 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
4384 if test "$wxUSE_UNICODE" = yes; then
4385 echo "$as_me:4385: result: yes" >&5
4386 echo "${ECHO_T}yes" >&6
4388 echo "$as_me:4388: result: no" >&5
4389 echo "${ECHO_T}no" >&6
4392 echo "$as_me:4392: checking for --enable-mslu" >&5
4393 echo $ECHO_N "checking for --enable-mslu... $ECHO_C" >&6
4395 # Check whether --enable-mslu or --disable-mslu was given.
4396 if test "${enable_mslu+set}" = set; then
4397 enableval="$enable_mslu"
4399 if test "$enableval" = yes; then
4400 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4402 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4407 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
4408 if test "x$LINE" != x ; then
4409 eval "DEFAULT_$LINE"
4414 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
4418 eval "$ac_cv_use_mslu"
4419 if test "$no_cache" != 1; then
4420 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
4423 if test "$wxUSE_UNICODE_MSLU" = yes; then
4424 echo "$as_me:4424: result: yes" >&5
4425 echo "${ECHO_T}yes" >&6
4427 echo "$as_me:4427: result: no" >&5
4428 echo "${ECHO_T}no" >&6
4431 echo "$as_me:4431: checking for --enable-wxprintfv" >&5
4432 echo $ECHO_N "checking for --enable-wxprintfv... $ECHO_C" >&6
4434 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
4435 if test "${enable_wxprintfv+set}" = set; then
4436 enableval="$enable_wxprintfv"
4438 if test "$enableval" = yes; then
4439 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
4441 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
4446 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
4447 if test "x$LINE" != x ; then
4448 eval "DEFAULT_$LINE"
4453 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
4457 eval "$ac_cv_use_wxprintfv"
4458 if test "$no_cache" != 1; then
4459 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
4462 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
4463 echo "$as_me:4463: result: yes" >&5
4464 echo "${ECHO_T}yes" >&6
4466 echo "$as_me:4466: result: no" >&5
4467 echo "${ECHO_T}no" >&6
4470 echo "$as_me:4470: checking for --enable-std_iostreams" >&5
4471 echo $ECHO_N "checking for --enable-std_iostreams... $ECHO_C" >&6
4473 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
4474 if test "${enable_std_iostreams+set}" = set; then
4475 enableval="$enable_std_iostreams"
4477 if test "$enableval" = yes; then
4478 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4480 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4485 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
4486 if test "x$LINE" != x ; then
4487 eval "DEFAULT_$LINE"
4492 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
4496 eval "$ac_cv_use_std_iostreams"
4497 if test "$no_cache" != 1; then
4498 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
4501 if test "$wxUSE_STD_IOSTREAM" = yes; then
4502 echo "$as_me:4502: result: yes" >&5
4503 echo "${ECHO_T}yes" >&6
4505 echo "$as_me:4505: result: no" >&5
4506 echo "${ECHO_T}no" >&6
4509 echo "$as_me:4509: checking for --enable-filesystem" >&5
4510 echo $ECHO_N "checking for --enable-filesystem... $ECHO_C" >&6
4512 # Check whether --enable-filesystem or --disable-filesystem was given.
4513 if test "${enable_filesystem+set}" = set; then
4514 enableval="$enable_filesystem"
4516 if test "$enableval" = yes; then
4517 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
4519 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
4524 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4525 if test "x$LINE" != x ; then
4526 eval "DEFAULT_$LINE"
4531 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4535 eval "$ac_cv_use_filesystem"
4536 if test "$no_cache" != 1; then
4537 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4540 if test "$wxUSE_FILESYSTEM" = yes; then
4541 echo "$as_me:4541: result: yes" >&5
4542 echo "${ECHO_T}yes" >&6
4544 echo "$as_me:4544: result: no" >&5
4545 echo "${ECHO_T}no" >&6
4548 echo "$as_me:4548: checking for --enable-fs_inet" >&5
4549 echo $ECHO_N "checking for --enable-fs_inet... $ECHO_C" >&6
4551 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4552 if test "${enable_fs_inet+set}" = set; then
4553 enableval="$enable_fs_inet"
4555 if test "$enableval" = yes; then
4556 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
4558 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
4563 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4564 if test "x$LINE" != x ; then
4565 eval "DEFAULT_$LINE"
4570 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
4574 eval "$ac_cv_use_fs_inet"
4575 if test "$no_cache" != 1; then
4576 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
4579 if test "$wxUSE_FS_INET" = yes; then
4580 echo "$as_me:4580: result: yes" >&5
4581 echo "${ECHO_T}yes" >&6
4583 echo "$as_me:4583: result: no" >&5
4584 echo "${ECHO_T}no" >&6
4587 echo "$as_me:4587: checking for --enable-fs_zip" >&5
4588 echo $ECHO_N "checking for --enable-fs_zip... $ECHO_C" >&6
4590 # Check whether --enable-fs_zip or --disable-fs_zip was given.
4591 if test "${enable_fs_zip+set}" = set; then
4592 enableval="$enable_fs_zip"
4594 if test "$enableval" = yes; then
4595 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
4597 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
4602 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4603 if test "x$LINE" != x ; then
4604 eval "DEFAULT_$LINE"
4609 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4613 eval "$ac_cv_use_fs_zip"
4614 if test "$no_cache" != 1; then
4615 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4618 if test "$wxUSE_FS_ZIP" = yes; then
4619 echo "$as_me:4619: result: yes" >&5
4620 echo "${ECHO_T}yes" >&6
4622 echo "$as_me:4622: result: no" >&5
4623 echo "${ECHO_T}no" >&6
4626 echo "$as_me:4626: checking for --enable-zipstream" >&5
4627 echo $ECHO_N "checking for --enable-zipstream... $ECHO_C" >&6
4629 # Check whether --enable-zipstream or --disable-zipstream was given.
4630 if test "${enable_zipstream+set}" = set; then
4631 enableval="$enable_zipstream"
4633 if test "$enableval" = yes; then
4634 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
4636 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
4641 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
4642 if test "x$LINE" != x ; then
4643 eval "DEFAULT_$LINE"
4648 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
4652 eval "$ac_cv_use_zipstream"
4653 if test "$no_cache" != 1; then
4654 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
4657 if test "$wxUSE_ZIPSTREAM" = yes; then
4658 echo "$as_me:4658: result: yes" >&5
4659 echo "${ECHO_T}yes" >&6
4661 echo "$as_me:4661: result: no" >&5
4662 echo "${ECHO_T}no" >&6
4665 echo "$as_me:4665: checking for --enable-catch_segvs" >&5
4666 echo $ECHO_N "checking for --enable-catch_segvs... $ECHO_C" >&6
4668 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4669 if test "${enable_catch_segvs+set}" = set; then
4670 enableval="$enable_catch_segvs"
4672 if test "$enableval" = yes; then
4673 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
4675 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
4680 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4681 if test "x$LINE" != x ; then
4682 eval "DEFAULT_$LINE"
4687 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4691 eval "$ac_cv_use_catch_segvs"
4692 if test "$no_cache" != 1; then
4693 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4696 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4697 echo "$as_me:4697: result: yes" >&5
4698 echo "${ECHO_T}yes" >&6
4700 echo "$as_me:4700: result: no" >&5
4701 echo "${ECHO_T}no" >&6
4704 echo "$as_me:4704: checking for --enable-snglinst" >&5
4705 echo $ECHO_N "checking for --enable-snglinst... $ECHO_C" >&6
4707 # Check whether --enable-snglinst or --disable-snglinst was given.
4708 if test "${enable_snglinst+set}" = set; then
4709 enableval="$enable_snglinst"
4711 if test "$enableval" = yes; then
4712 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
4714 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
4719 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4720 if test "x$LINE" != x ; then
4721 eval "DEFAULT_$LINE"
4726 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4730 eval "$ac_cv_use_snglinst"
4731 if test "$no_cache" != 1; then
4732 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4735 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4736 echo "$as_me:4736: result: yes" >&5
4737 echo "${ECHO_T}yes" >&6
4739 echo "$as_me:4739: result: no" >&5
4740 echo "${ECHO_T}no" >&6
4743 echo "$as_me:4743: checking for --enable-mimetype" >&5
4744 echo $ECHO_N "checking for --enable-mimetype... $ECHO_C" >&6
4746 # Check whether --enable-mimetype or --disable-mimetype was given.
4747 if test "${enable_mimetype+set}" = set; then
4748 enableval="$enable_mimetype"
4750 if test "$enableval" = yes; then
4751 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
4753 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
4758 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4759 if test "x$LINE" != x ; then
4760 eval "DEFAULT_$LINE"
4765 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4769 eval "$ac_cv_use_mimetype"
4770 if test "$no_cache" != 1; then
4771 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4774 if test "$wxUSE_MIMETYPE" = yes; then
4775 echo "$as_me:4775: result: yes" >&5
4776 echo "${ECHO_T}yes" >&6
4778 echo "$as_me:4778: result: no" >&5
4779 echo "${ECHO_T}no" >&6
4782 echo "$as_me:4782: checking for --enable-system_options" >&5
4783 echo $ECHO_N "checking for --enable-system_options... $ECHO_C" >&6
4785 # Check whether --enable-system_options or --disable-system_options was given.
4786 if test "${enable_system_options+set}" = set; then
4787 enableval="$enable_system_options"
4789 if test "$enableval" = yes; then
4790 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
4792 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
4797 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
4798 if test "x$LINE" != x ; then
4799 eval "DEFAULT_$LINE"
4804 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
4808 eval "$ac_cv_use_system_options"
4809 if test "$no_cache" != 1; then
4810 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
4813 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
4814 echo "$as_me:4814: result: yes" >&5
4815 echo "${ECHO_T}yes" >&6
4817 echo "$as_me:4817: result: no" >&5
4818 echo "${ECHO_T}no" >&6
4821 echo "$as_me:4821: checking for --enable-url" >&5
4822 echo $ECHO_N "checking for --enable-url... $ECHO_C" >&6
4824 # Check whether --enable-url or --disable-url was given.
4825 if test "${enable_url+set}" = set; then
4826 enableval="$enable_url"
4828 if test "$enableval" = yes; then
4829 ac_cv_use_url='wxUSE_URL=yes'
4831 ac_cv_use_url='wxUSE_URL=no'
4836 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
4837 if test "x$LINE" != x ; then
4838 eval "DEFAULT_$LINE"
4843 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
4847 eval "$ac_cv_use_url"
4848 if test "$no_cache" != 1; then
4849 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
4852 if test "$wxUSE_URL" = yes; then
4853 echo "$as_me:4853: result: yes" >&5
4854 echo "${ECHO_T}yes" >&6
4856 echo "$as_me:4856: result: no" >&5
4857 echo "${ECHO_T}no" >&6
4860 echo "$as_me:4860: checking for --enable-protocol" >&5
4861 echo $ECHO_N "checking for --enable-protocol... $ECHO_C" >&6
4863 # Check whether --enable-protocol or --disable-protocol was given.
4864 if test "${enable_protocol+set}" = set; then
4865 enableval="$enable_protocol"
4867 if test "$enableval" = yes; then
4868 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
4870 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
4875 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4876 if test "x$LINE" != x ; then
4877 eval "DEFAULT_$LINE"
4882 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4886 eval "$ac_cv_use_protocol"
4887 if test "$no_cache" != 1; then
4888 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
4891 if test "$wxUSE_PROTOCOL" = yes; then
4892 echo "$as_me:4892: result: yes" >&5
4893 echo "${ECHO_T}yes" >&6
4895 echo "$as_me:4895: result: no" >&5
4896 echo "${ECHO_T}no" >&6
4899 echo "$as_me:4899: checking for --enable-protocol_http" >&5
4900 echo $ECHO_N "checking for --enable-protocol_http... $ECHO_C" >&6
4902 # Check whether --enable-protocol_http or --disable-protocol_http was given.
4903 if test "${enable_protocol_http+set}" = set; then
4904 enableval="$enable_protocol_http"
4906 if test "$enableval" = yes; then
4907 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
4909 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
4914 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4915 if test "x$LINE" != x ; then
4916 eval "DEFAULT_$LINE"
4921 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4925 eval "$ac_cv_use_protocol_http"
4926 if test "$no_cache" != 1; then
4927 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
4930 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4931 echo "$as_me:4931: result: yes" >&5
4932 echo "${ECHO_T}yes" >&6
4934 echo "$as_me:4934: result: no" >&5
4935 echo "${ECHO_T}no" >&6
4938 echo "$as_me:4938: checking for --enable-protocol_ftp" >&5
4939 echo $ECHO_N "checking for --enable-protocol_ftp... $ECHO_C" >&6
4941 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
4942 if test "${enable_protocol_ftp+set}" = set; then
4943 enableval="$enable_protocol_ftp"
4945 if test "$enableval" = yes; then
4946 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
4948 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
4953 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4954 if test "x$LINE" != x ; then
4955 eval "DEFAULT_$LINE"
4960 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4964 eval "$ac_cv_use_protocol_ftp"
4965 if test "$no_cache" != 1; then
4966 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
4969 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4970 echo "$as_me:4970: result: yes" >&5
4971 echo "${ECHO_T}yes" >&6
4973 echo "$as_me:4973: result: no" >&5
4974 echo "${ECHO_T}no" >&6
4977 echo "$as_me:4977: checking for --enable-protocol_file" >&5
4978 echo $ECHO_N "checking for --enable-protocol_file... $ECHO_C" >&6
4980 # Check whether --enable-protocol_file or --disable-protocol_file was given.
4981 if test "${enable_protocol_file+set}" = set; then
4982 enableval="$enable_protocol_file"
4984 if test "$enableval" = yes; then
4985 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
4987 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
4992 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4993 if test "x$LINE" != x ; then
4994 eval "DEFAULT_$LINE"
4999 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5003 eval "$ac_cv_use_protocol_file"
5004 if test "$no_cache" != 1; then
5005 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
5008 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5009 echo "$as_me:5009: result: yes" >&5
5010 echo "${ECHO_T}yes" >&6
5012 echo "$as_me:5012: result: no" >&5
5013 echo "${ECHO_T}no" >&6
5016 echo "$as_me:5016: checking for --enable-threads" >&5
5017 echo $ECHO_N "checking for --enable-threads... $ECHO_C" >&6
5019 # Check whether --enable-threads or --disable-threads was given.
5020 if test "${enable_threads+set}" = set; then
5021 enableval="$enable_threads"
5023 if test "$enableval" = yes; then
5024 ac_cv_use_threads='wxUSE_THREADS=yes'
5026 ac_cv_use_threads='wxUSE_THREADS=no'
5031 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
5032 if test "x$LINE" != x ; then
5033 eval "DEFAULT_$LINE"
5038 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
5042 eval "$ac_cv_use_threads"
5043 if test "$no_cache" != 1; then
5044 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
5047 if test "$wxUSE_THREADS" = yes; then
5048 echo "$as_me:5048: result: yes" >&5
5049 echo "${ECHO_T}yes" >&6
5051 echo "$as_me:5051: result: no" >&5
5052 echo "${ECHO_T}no" >&6
5055 if test "$wxUSE_GUI" = "yes"; then
5057 echo "$as_me:5057: checking for --enable-docview" >&5
5058 echo $ECHO_N "checking for --enable-docview... $ECHO_C" >&6
5060 # Check whether --enable-docview or --disable-docview was given.
5061 if test "${enable_docview+set}" = set; then
5062 enableval="$enable_docview"
5064 if test "$enableval" = yes; then
5065 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
5067 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
5072 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
5073 if test "x$LINE" != x ; then
5074 eval "DEFAULT_$LINE"
5079 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
5083 eval "$ac_cv_use_docview"
5084 if test "$no_cache" != 1; then
5085 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
5088 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
5089 echo "$as_me:5089: result: yes" >&5
5090 echo "${ECHO_T}yes" >&6
5092 echo "$as_me:5092: result: no" >&5
5093 echo "${ECHO_T}no" >&6
5096 echo "$as_me:5096: checking for --enable-help" >&5
5097 echo $ECHO_N "checking for --enable-help... $ECHO_C" >&6
5099 # Check whether --enable-help or --disable-help was given.
5100 if test "${enable_help+set}" = set; then
5101 enableval="$enable_help"
5103 if test "$enableval" = yes; then
5104 ac_cv_use_help='wxUSE_HELP=yes'
5106 ac_cv_use_help='wxUSE_HELP=no'
5111 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
5112 if test "x$LINE" != x ; then
5113 eval "DEFAULT_$LINE"
5118 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
5122 eval "$ac_cv_use_help"
5123 if test "$no_cache" != 1; then
5124 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
5127 if test "$wxUSE_HELP" = yes; then
5128 echo "$as_me:5128: result: yes" >&5
5129 echo "${ECHO_T}yes" >&6
5131 echo "$as_me:5131: result: no" >&5
5132 echo "${ECHO_T}no" >&6
5135 echo "$as_me:5135: checking for --enable-mshtmlhelp" >&5
5136 echo $ECHO_N "checking for --enable-mshtmlhelp... $ECHO_C" >&6
5138 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
5139 if test "${enable_mshtmlhelp+set}" = set; then
5140 enableval="$enable_mshtmlhelp"
5142 if test "$enableval" = yes; then
5143 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
5145 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
5150 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
5151 if test "x$LINE" != x ; then
5152 eval "DEFAULT_$LINE"
5157 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
5161 eval "$ac_cv_use_mshtmlhelp"
5162 if test "$no_cache" != 1; then
5163 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
5166 if test "$wxUSE_MS_HTML_HELP" = yes; then
5167 echo "$as_me:5167: result: yes" >&5
5168 echo "${ECHO_T}yes" >&6
5170 echo "$as_me:5170: result: no" >&5
5171 echo "${ECHO_T}no" >&6
5174 echo "$as_me:5174: checking for --enable-html" >&5
5175 echo $ECHO_N "checking for --enable-html... $ECHO_C" >&6
5177 # Check whether --enable-html or --disable-html was given.
5178 if test "${enable_html+set}" = set; then
5179 enableval="$enable_html"
5181 if test "$enableval" = yes; then
5182 ac_cv_use_html='wxUSE_HTML=yes'
5184 ac_cv_use_html='wxUSE_HTML=no'
5189 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5190 if test "x$LINE" != x ; then
5191 eval "DEFAULT_$LINE"
5196 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5200 eval "$ac_cv_use_html"
5201 if test "$no_cache" != 1; then
5202 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5205 if test "$wxUSE_HTML" = yes; then
5206 echo "$as_me:5206: result: yes" >&5
5207 echo "${ECHO_T}yes" >&6
5209 echo "$as_me:5209: result: no" >&5
5210 echo "${ECHO_T}no" >&6
5213 echo "$as_me:5213: checking for --enable-htmlhelp" >&5
5214 echo $ECHO_N "checking for --enable-htmlhelp... $ECHO_C" >&6
5216 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
5217 if test "${enable_htmlhelp+set}" = set; then
5218 enableval="$enable_htmlhelp"
5220 if test "$enableval" = yes; then
5221 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
5223 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
5228 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
5229 if test "x$LINE" != x ; then
5230 eval "DEFAULT_$LINE"
5235 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
5239 eval "$ac_cv_use_htmlhelp"
5240 if test "$no_cache" != 1; then
5241 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
5244 if test "$wxUSE_WXHTML_HELP" = yes; then
5245 echo "$as_me:5245: result: yes" >&5
5246 echo "${ECHO_T}yes" >&6
5248 echo "$as_me:5248: result: no" >&5
5249 echo "${ECHO_T}no" >&6
5252 echo "$as_me:5252: checking for --enable-constraints" >&5
5253 echo $ECHO_N "checking for --enable-constraints... $ECHO_C" >&6
5255 # Check whether --enable-constraints or --disable-constraints was given.
5256 if test "${enable_constraints+set}" = set; then
5257 enableval="$enable_constraints"
5259 if test "$enableval" = yes; then
5260 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
5262 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
5267 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5268 if test "x$LINE" != x ; then
5269 eval "DEFAULT_$LINE"
5274 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
5278 eval "$ac_cv_use_constraints"
5279 if test "$no_cache" != 1; then
5280 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
5283 if test "$wxUSE_CONSTRAINTS" = yes; then
5284 echo "$as_me:5284: result: yes" >&5
5285 echo "${ECHO_T}yes" >&6
5287 echo "$as_me:5287: result: no" >&5
5288 echo "${ECHO_T}no" >&6
5291 echo "$as_me:5291: checking for --enable-printarch" >&5
5292 echo $ECHO_N "checking for --enable-printarch... $ECHO_C" >&6
5294 # Check whether --enable-printarch or --disable-printarch was given.
5295 if test "${enable_printarch+set}" = set; then
5296 enableval="$enable_printarch"
5298 if test "$enableval" = yes; then
5299 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
5301 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
5306 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
5307 if test "x$LINE" != x ; then
5308 eval "DEFAULT_$LINE"
5313 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
5317 eval "$ac_cv_use_printarch"
5318 if test "$no_cache" != 1; then
5319 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
5322 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
5323 echo "$as_me:5323: result: yes" >&5
5324 echo "${ECHO_T}yes" >&6
5326 echo "$as_me:5326: result: no" >&5
5327 echo "${ECHO_T}no" >&6
5330 echo "$as_me:5330: checking for --enable-mdi" >&5
5331 echo $ECHO_N "checking for --enable-mdi... $ECHO_C" >&6
5333 # Check whether --enable-mdi or --disable-mdi was given.
5334 if test "${enable_mdi+set}" = set; then
5335 enableval="$enable_mdi"
5337 if test "$enableval" = yes; then
5338 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=yes'
5340 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=no'
5345 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
5346 if test "x$LINE" != x ; then
5347 eval "DEFAULT_$LINE"
5352 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
5356 eval "$ac_cv_use_mdi"
5357 if test "$no_cache" != 1; then
5358 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
5361 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
5362 echo "$as_me:5362: result: yes" >&5
5363 echo "${ECHO_T}yes" >&6
5365 echo "$as_me:5365: result: no" >&5
5366 echo "${ECHO_T}no" >&6
5369 echo "$as_me:5369: checking for --enable-loggui" >&5
5370 echo $ECHO_N "checking for --enable-loggui... $ECHO_C" >&6
5372 # Check whether --enable-loggui or --disable-loggui was given.
5373 if test "${enable_loggui+set}" = set; then
5374 enableval="$enable_loggui"
5376 if test "$enableval" = yes; then
5377 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
5379 ac_cv_use_loggui='wxUSE_LOGGUI=no'
5384 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
5385 if test "x$LINE" != x ; then
5386 eval "DEFAULT_$LINE"
5391 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
5395 eval "$ac_cv_use_loggui"
5396 if test "$no_cache" != 1; then
5397 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
5400 if test "$wxUSE_LOGGUI" = yes; then
5401 echo "$as_me:5401: result: yes" >&5
5402 echo "${ECHO_T}yes" >&6
5404 echo "$as_me:5404: result: no" >&5
5405 echo "${ECHO_T}no" >&6
5408 echo "$as_me:5408: checking for --enable-logwin" >&5
5409 echo $ECHO_N "checking for --enable-logwin... $ECHO_C" >&6
5411 # Check whether --enable-logwin or --disable-logwin was given.
5412 if test "${enable_logwin+set}" = set; then
5413 enableval="$enable_logwin"
5415 if test "$enableval" = yes; then
5416 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
5418 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
5423 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
5424 if test "x$LINE" != x ; then
5425 eval "DEFAULT_$LINE"
5430 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
5434 eval "$ac_cv_use_logwin"
5435 if test "$no_cache" != 1; then
5436 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
5439 if test "$wxUSE_LOGWINDOW" = yes; then
5440 echo "$as_me:5440: result: yes" >&5
5441 echo "${ECHO_T}yes" >&6
5443 echo "$as_me:5443: result: no" >&5
5444 echo "${ECHO_T}no" >&6
5447 echo "$as_me:5447: checking for --enable-logdialog" >&5
5448 echo $ECHO_N "checking for --enable-logdialog... $ECHO_C" >&6
5450 # Check whether --enable-logdialog or --disable-logdialog was given.
5451 if test "${enable_logdialog+set}" = set; then
5452 enableval="$enable_logdialog"
5454 if test "$enableval" = yes; then
5455 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
5457 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
5462 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
5463 if test "x$LINE" != x ; then
5464 eval "DEFAULT_$LINE"
5469 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
5473 eval "$ac_cv_use_logdialog"
5474 if test "$no_cache" != 1; then
5475 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
5478 if test "$wxUSE_LOGDIALOG" = yes; then
5479 echo "$as_me:5479: result: yes" >&5
5480 echo "${ECHO_T}yes" >&6
5482 echo "$as_me:5482: result: no" >&5
5483 echo "${ECHO_T}no" >&6
5486 echo "$as_me:5486: checking for --enable-postscript" >&5
5487 echo $ECHO_N "checking for --enable-postscript... $ECHO_C" >&6
5489 # Check whether --enable-postscript or --disable-postscript was given.
5490 if test "${enable_postscript+set}" = set; then
5491 enableval="$enable_postscript"
5493 if test "$enableval" = yes; then
5494 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
5496 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
5501 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
5502 if test "x$LINE" != x ; then
5503 eval "DEFAULT_$LINE"
5508 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
5512 eval "$ac_cv_use_postscript"
5513 if test "$no_cache" != 1; then
5514 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
5517 if test "$wxUSE_POSTSCRIPT" = yes; then
5518 echo "$as_me:5518: result: yes" >&5
5519 echo "${ECHO_T}yes" >&6
5521 echo "$as_me:5521: result: no" >&5
5522 echo "${ECHO_T}no" >&6
5525 echo "$as_me:5525: checking for --enable-prologio" >&5
5526 echo $ECHO_N "checking for --enable-prologio... $ECHO_C" >&6
5528 # Check whether --enable-prologio or --disable-prologio was given.
5529 if test "${enable_prologio+set}" = set; then
5530 enableval="$enable_prologio"
5532 if test "$enableval" = yes; then
5533 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
5535 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
5540 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
5541 if test "x$LINE" != x ; then
5542 eval "DEFAULT_$LINE"
5547 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
5551 eval "$ac_cv_use_prologio"
5552 if test "$no_cache" != 1; then
5553 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
5556 if test "$wxUSE_PROLOGIO" = yes; then
5557 echo "$as_me:5557: result: yes" >&5
5558 echo "${ECHO_T}yes" >&6
5560 echo "$as_me:5560: result: no" >&5
5561 echo "${ECHO_T}no" >&6
5564 echo "$as_me:5564: checking for --enable-resources" >&5
5565 echo $ECHO_N "checking for --enable-resources... $ECHO_C" >&6
5567 # Check whether --enable-resources or --disable-resources was given.
5568 if test "${enable_resources+set}" = set; then
5569 enableval="$enable_resources"
5571 if test "$enableval" = yes; then
5572 ac_cv_use_resources='wxUSE_RESOURCES=yes'
5574 ac_cv_use_resources='wxUSE_RESOURCES=no'
5579 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
5580 if test "x$LINE" != x ; then
5581 eval "DEFAULT_$LINE"
5586 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
5590 eval "$ac_cv_use_resources"
5591 if test "$no_cache" != 1; then
5592 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
5595 if test "$wxUSE_RESOURCES" = yes; then
5596 echo "$as_me:5596: result: yes" >&5
5597 echo "${ECHO_T}yes" >&6
5599 echo "$as_me:5599: result: no" >&5
5600 echo "${ECHO_T}no" >&6
5603 echo "$as_me:5603: checking for --enable-xresources" >&5
5604 echo $ECHO_N "checking for --enable-xresources... $ECHO_C" >&6
5606 # Check whether --enable-xresources or --disable-xresources was given.
5607 if test "${enable_xresources+set}" = set; then
5608 enableval="$enable_xresources"
5610 if test "$enableval" = yes; then
5611 ac_cv_use_xresources='wxUSE_X_RESOURCES=yes'
5613 ac_cv_use_xresources='wxUSE_X_RESOURCES=no'
5618 LINE=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
5619 if test "x$LINE" != x ; then
5620 eval "DEFAULT_$LINE"
5625 ac_cv_use_xresources='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
5629 eval "$ac_cv_use_xresources"
5630 if test "$no_cache" != 1; then
5631 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
5634 if test "$wxUSE_X_RESOURCES" = yes; then
5635 echo "$as_me:5635: result: yes" >&5
5636 echo "${ECHO_T}yes" >&6
5638 echo "$as_me:5638: result: no" >&5
5639 echo "${ECHO_T}no" >&6
5642 echo "$as_me:5642: checking for --enable-clipboard" >&5
5643 echo $ECHO_N "checking for --enable-clipboard... $ECHO_C" >&6
5645 # Check whether --enable-clipboard or --disable-clipboard was given.
5646 if test "${enable_clipboard+set}" = set; then
5647 enableval="$enable_clipboard"
5649 if test "$enableval" = yes; then
5650 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
5652 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
5657 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
5658 if test "x$LINE" != x ; then
5659 eval "DEFAULT_$LINE"
5664 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
5668 eval "$ac_cv_use_clipboard"
5669 if test "$no_cache" != 1; then
5670 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
5673 if test "$wxUSE_CLIPBOARD" = yes; then
5674 echo "$as_me:5674: result: yes" >&5
5675 echo "${ECHO_T}yes" >&6
5677 echo "$as_me:5677: result: no" >&5
5678 echo "${ECHO_T}no" >&6
5681 echo "$as_me:5681: checking for --enable-dnd" >&5
5682 echo $ECHO_N "checking for --enable-dnd... $ECHO_C" >&6
5684 # Check whether --enable-dnd or --disable-dnd was given.
5685 if test "${enable_dnd+set}" = set; then
5686 enableval="$enable_dnd"
5688 if test "$enableval" = yes; then
5689 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
5691 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
5696 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
5697 if test "x$LINE" != x ; then
5698 eval "DEFAULT_$LINE"
5703 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
5707 eval "$ac_cv_use_dnd"
5708 if test "$no_cache" != 1; then
5709 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
5712 if test "$wxUSE_DRAG_AND_DROP" = yes; then
5713 echo "$as_me:5713: result: yes" >&5
5714 echo "${ECHO_T}yes" >&6
5716 echo "$as_me:5716: result: no" >&5
5717 echo "${ECHO_T}no" >&6
5720 echo "$as_me:5720: checking for --enable-metafile" >&5
5721 echo $ECHO_N "checking for --enable-metafile... $ECHO_C" >&6
5723 # Check whether --enable-metafile or --disable-metafile was given.
5724 if test "${enable_metafile+set}" = set; then
5725 enableval="$enable_metafile"
5727 if test "$enableval" = yes; then
5728 ac_cv_use_metafile='wxUSE_METAFILE=yes'
5730 ac_cv_use_metafile='wxUSE_METAFILE=no'
5735 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
5736 if test "x$LINE" != x ; then
5737 eval "DEFAULT_$LINE"
5742 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
5746 eval "$ac_cv_use_metafile"
5747 if test "$no_cache" != 1; then
5748 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
5751 if test "$wxUSE_METAFILE" = yes; then
5752 echo "$as_me:5752: result: yes" >&5
5753 echo "${ECHO_T}yes" >&6
5755 echo "$as_me:5755: result: no" >&5
5756 echo "${ECHO_T}no" >&6
5759 echo "$as_me:5759: checking for --enable-treelayout" >&5
5760 echo $ECHO_N "checking for --enable-treelayout... $ECHO_C" >&6
5762 # Check whether --enable-treelayout or --disable-treelayout was given.
5763 if test "${enable_treelayout+set}" = set; then
5764 enableval="$enable_treelayout"
5766 if test "$enableval" = yes; then
5767 ac_cv_use_treelayout='wxUSE_TREELAYOUT=yes'
5769 ac_cv_use_treelayout='wxUSE_TREELAYOUT=no'
5774 LINE=`grep "wxUSE_TREELAYOUT" ${wx_arg_cache_file}`
5775 if test "x$LINE" != x ; then
5776 eval "DEFAULT_$LINE"
5781 ac_cv_use_treelayout='wxUSE_TREELAYOUT='$DEFAULT_wxUSE_TREELAYOUT
5785 eval "$ac_cv_use_treelayout"
5786 if test "$no_cache" != 1; then
5787 echo $ac_cv_use_treelayout >> ${wx_arg_cache_file}.tmp
5790 if test "$wxUSE_TREELAYOUT" = yes; then
5791 echo "$as_me:5791: result: yes" >&5
5792 echo "${ECHO_T}yes" >&6
5794 echo "$as_me:5794: result: no" >&5
5795 echo "${ECHO_T}no" >&6
5798 echo "$as_me:5798: checking for --enable-controls" >&5
5799 echo $ECHO_N "checking for --enable-controls... $ECHO_C" >&6
5801 # Check whether --enable-controls or --disable-controls was given.
5802 if test "${enable_controls+set}" = set; then
5803 enableval="$enable_controls"
5805 if test "$enableval" = yes; then
5806 ac_cv_use_controls='wxUSE_CONTROLS=yes'
5808 ac_cv_use_controls='wxUSE_CONTROLS=no'
5813 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
5814 if test "x$LINE" != x ; then
5815 eval "DEFAULT_$LINE"
5820 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
5824 eval "$ac_cv_use_controls"
5825 if test "$no_cache" != 1; then
5826 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
5829 if test "$wxUSE_CONTROLS" = yes; then
5830 echo "$as_me:5830: result: yes" >&5
5831 echo "${ECHO_T}yes" >&6
5833 echo "$as_me:5833: result: no" >&5
5834 echo "${ECHO_T}no" >&6
5837 if test "$wxUSE_CONTROLS" = "yes"; then
5838 DEFAULT_wxUSE_ACCEL=yes
5839 DEFAULT_wxUSE_BMPBUTTON=yes
5840 DEFAULT_wxUSE_BUTTON=yes
5841 DEFAULT_wxUSE_CALCTRL=no
5842 DEFAULT_wxUSE_CARET=yes
5843 DEFAULT_wxUSE_COMBOBOX=yes
5844 DEFAULT_wxUSE_CHECKBOX=yes
5845 DEFAULT_wxUSE_CHECKLISTBOX=yes
5846 DEFAULT_wxUSE_CHOICE=yes
5847 DEFAULT_wxUSE_GAUGE=yes
5848 DEFAULT_wxUSE_GRID=yes
5849 DEFAULT_wxUSE_NEW_GRID=yes
5850 DEFAULT_wxUSE_IMAGLIST=yes
5851 DEFAULT_wxUSE_LISTBOX=yes
5852 DEFAULT_wxUSE_LISTCTRL=yes
5853 DEFAULT_wxUSE_NOTEBOOK=yes
5854 DEFAULT_wxUSE_PROPSHEET=yes
5855 DEFAULT_wxUSE_RADIOBOX=yes
5856 DEFAULT_wxUSE_RADIOBTN=yes
5857 DEFAULT_wxUSE_SASH=yes
5858 DEFAULT_wxUSE_SCROLLBAR=yes
5859 DEFAULT_wxUSE_SLIDER=yes
5860 DEFAULT_wxUSE_SPINBTN=yes
5861 DEFAULT_wxUSE_SPINCTRL=yes
5862 DEFAULT_wxUSE_SPLITTER=yes
5863 DEFAULT_wxUSE_STATBMP=yes
5864 DEFAULT_wxUSE_STATBOX=yes
5865 DEFAULT_wxUSE_STATLINE=yes
5866 DEFAULT_wxUSE_STATUSBAR=yes
5867 DEFAULT_wxUSE_TAB_DIALOG=yes
5868 DEFAULT_wxUSE_TOGGLEBTN=yes
5869 DEFAULT_wxUSE_TOOLBAR=yes
5870 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
5871 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
5872 DEFAULT_wxUSE_TOOLTIPS=yes
5873 DEFAULT_wxUSE_TREECTRL=yes
5874 DEFAULT_wxUSE_POPUPWIN=yes
5875 DEFAULT_wxUSE_TIPWINDOW=yes
5876 elif test "$wxUSE_CONTROLS" = "no"; then
5877 DEFAULT_wxUSE_ACCEL=no
5878 DEFAULT_wxUSE_BMPBUTTON=no
5879 DEFAULT_wxUSE_BUTTON=no
5880 DEFAULT_wxUSE_CALCTRL=no
5881 DEFAULT_wxUSE_CARET=no
5882 DEFAULT_wxUSE_COMBOBOX=no
5883 DEFAULT_wxUSE_CHECKBOX=no
5884 DEFAULT_wxUSE_CHECKLISTBOX=no
5885 DEFAULT_wxUSE_CHOICE=no
5886 DEFAULT_wxUSE_GAUGE=no
5887 DEFAULT_wxUSE_GRID=no
5888 DEFAULT_wxUSE_NEW_GRID=no
5889 DEFAULT_wxUSE_IMAGLIST=no
5890 DEFAULT_wxUSE_LISTBOX=no
5891 DEFAULT_wxUSE_LISTCTRL=no
5892 DEFAULT_wxUSE_NOTEBOOK=no
5893 DEFAULT_wxUSE_PROPSHEET=no
5894 DEFAULT_wxUSE_RADIOBOX=no
5895 DEFAULT_wxUSE_RADIOBTN=no
5896 DEFAULT_wxUSE_SASH=no
5897 DEFAULT_wxUSE_SCROLLBAR=no
5898 DEFAULT_wxUSE_SLIDER=no
5899 DEFAULT_wxUSE_SPINBTN=no
5900 DEFAULT_wxUSE_SPINCTRL=no
5901 DEFAULT_wxUSE_SPLITTER=no
5902 DEFAULT_wxUSE_STATBMP=no
5903 DEFAULT_wxUSE_STATBOX=no
5904 DEFAULT_wxUSE_STATLINE=no
5905 DEFAULT_wxUSE_STATUSBAR=no
5906 DEFAULT_wxUSE_TAB_DIALOG=no
5907 DEFAULT_wxUSE_TOGGLEBTN=no
5908 DEFAULT_wxUSE_TOOLBAR=no
5909 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
5910 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
5911 DEFAULT_wxUSE_TOOLTIPS=no
5912 DEFAULT_wxUSE_TREECTRL=no
5913 DEFAULT_wxUSE_POPUPWIN=no
5914 DEFAULT_wxUSE_TIPWINDOW=no
5917 echo "$as_me:5917: checking for --enable-accel" >&5
5918 echo $ECHO_N "checking for --enable-accel... $ECHO_C" >&6
5920 # Check whether --enable-accel or --disable-accel was given.
5921 if test "${enable_accel+set}" = set; then
5922 enableval="$enable_accel"
5924 if test "$enableval" = yes; then
5925 ac_cv_use_accel='wxUSE_ACCEL=yes'
5927 ac_cv_use_accel='wxUSE_ACCEL=no'
5932 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
5933 if test "x$LINE" != x ; then
5934 eval "DEFAULT_$LINE"
5939 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
5943 eval "$ac_cv_use_accel"
5944 if test "$no_cache" != 1; then
5945 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
5948 if test "$wxUSE_ACCEL" = yes; then
5949 echo "$as_me:5949: result: yes" >&5
5950 echo "${ECHO_T}yes" >&6
5952 echo "$as_me:5952: result: no" >&5
5953 echo "${ECHO_T}no" >&6
5956 echo "$as_me:5956: checking for --enable-button" >&5
5957 echo $ECHO_N "checking for --enable-button... $ECHO_C" >&6
5959 # Check whether --enable-button or --disable-button was given.
5960 if test "${enable_button+set}" = set; then
5961 enableval="$enable_button"
5963 if test "$enableval" = yes; then
5964 ac_cv_use_button='wxUSE_BUTTON=yes'
5966 ac_cv_use_button='wxUSE_BUTTON=no'
5971 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
5972 if test "x$LINE" != x ; then
5973 eval "DEFAULT_$LINE"
5978 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
5982 eval "$ac_cv_use_button"
5983 if test "$no_cache" != 1; then
5984 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
5987 if test "$wxUSE_BUTTON" = yes; then
5988 echo "$as_me:5988: result: yes" >&5
5989 echo "${ECHO_T}yes" >&6
5991 echo "$as_me:5991: result: no" >&5
5992 echo "${ECHO_T}no" >&6
5995 echo "$as_me:5995: checking for --enable-bmpbutton" >&5
5996 echo $ECHO_N "checking for --enable-bmpbutton... $ECHO_C" >&6
5998 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
5999 if test "${enable_bmpbutton+set}" = set; then
6000 enableval="$enable_bmpbutton"
6002 if test "$enableval" = yes; then
6003 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
6005 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
6010 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
6011 if test "x$LINE" != x ; then
6012 eval "DEFAULT_$LINE"
6017 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
6021 eval "$ac_cv_use_bmpbutton"
6022 if test "$no_cache" != 1; then
6023 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
6026 if test "$wxUSE_BMPBUTTON" = yes; then
6027 echo "$as_me:6027: result: yes" >&5
6028 echo "${ECHO_T}yes" >&6
6030 echo "$as_me:6030: result: no" >&5
6031 echo "${ECHO_T}no" >&6
6034 echo "$as_me:6034: checking for --enable-calendar" >&5
6035 echo $ECHO_N "checking for --enable-calendar... $ECHO_C" >&6
6037 # Check whether --enable-calendar or --disable-calendar was given.
6038 if test "${enable_calendar+set}" = set; then
6039 enableval="$enable_calendar"
6041 if test "$enableval" = yes; then
6042 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
6044 ac_cv_use_calendar='wxUSE_CALCTRL=no'
6049 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
6050 if test "x$LINE" != x ; then
6051 eval "DEFAULT_$LINE"
6056 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
6060 eval "$ac_cv_use_calendar"
6061 if test "$no_cache" != 1; then
6062 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
6065 if test "$wxUSE_CALCTRL" = yes; then
6066 echo "$as_me:6066: result: yes" >&5
6067 echo "${ECHO_T}yes" >&6
6069 echo "$as_me:6069: result: no" >&5
6070 echo "${ECHO_T}no" >&6
6073 echo "$as_me:6073: checking for --enable-caret" >&5
6074 echo $ECHO_N "checking for --enable-caret... $ECHO_C" >&6
6076 # Check whether --enable-caret or --disable-caret was given.
6077 if test "${enable_caret+set}" = set; then
6078 enableval="$enable_caret"
6080 if test "$enableval" = yes; then
6081 ac_cv_use_caret='wxUSE_CARET=yes'
6083 ac_cv_use_caret='wxUSE_CARET=no'
6088 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
6089 if test "x$LINE" != x ; then
6090 eval "DEFAULT_$LINE"
6095 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
6099 eval "$ac_cv_use_caret"
6100 if test "$no_cache" != 1; then
6101 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
6104 if test "$wxUSE_CARET" = yes; then
6105 echo "$as_me:6105: result: yes" >&5
6106 echo "${ECHO_T}yes" >&6
6108 echo "$as_me:6108: result: no" >&5
6109 echo "${ECHO_T}no" >&6
6112 echo "$as_me:6112: checking for --enable-checkbox" >&5
6113 echo $ECHO_N "checking for --enable-checkbox... $ECHO_C" >&6
6115 # Check whether --enable-checkbox or --disable-checkbox was given.
6116 if test "${enable_checkbox+set}" = set; then
6117 enableval="$enable_checkbox"
6119 if test "$enableval" = yes; then
6120 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
6122 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
6127 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
6128 if test "x$LINE" != x ; then
6129 eval "DEFAULT_$LINE"
6134 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
6138 eval "$ac_cv_use_checkbox"
6139 if test "$no_cache" != 1; then
6140 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
6143 if test "$wxUSE_CHECKBOX" = yes; then
6144 echo "$as_me:6144: result: yes" >&5
6145 echo "${ECHO_T}yes" >&6
6147 echo "$as_me:6147: result: no" >&5
6148 echo "${ECHO_T}no" >&6
6151 echo "$as_me:6151: checking for --enable-checklst" >&5
6152 echo $ECHO_N "checking for --enable-checklst... $ECHO_C" >&6
6154 # Check whether --enable-checklst or --disable-checklst was given.
6155 if test "${enable_checklst+set}" = set; then
6156 enableval="$enable_checklst"
6158 if test "$enableval" = yes; then
6159 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
6161 ac_cv_use_checklst='wxUSE_CHECKLST=no'
6166 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
6167 if test "x$LINE" != x ; then
6168 eval "DEFAULT_$LINE"
6173 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
6177 eval "$ac_cv_use_checklst"
6178 if test "$no_cache" != 1; then
6179 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
6182 if test "$wxUSE_CHECKLST" = yes; then
6183 echo "$as_me:6183: result: yes" >&5
6184 echo "${ECHO_T}yes" >&6
6186 echo "$as_me:6186: result: no" >&5
6187 echo "${ECHO_T}no" >&6
6190 echo "$as_me:6190: checking for --enable-choice" >&5
6191 echo $ECHO_N "checking for --enable-choice... $ECHO_C" >&6
6193 # Check whether --enable-choice or --disable-choice was given.
6194 if test "${enable_choice+set}" = set; then
6195 enableval="$enable_choice"
6197 if test "$enableval" = yes; then
6198 ac_cv_use_choice='wxUSE_CHOICE=yes'
6200 ac_cv_use_choice='wxUSE_CHOICE=no'
6205 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
6206 if test "x$LINE" != x ; then
6207 eval "DEFAULT_$LINE"
6212 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
6216 eval "$ac_cv_use_choice"
6217 if test "$no_cache" != 1; then
6218 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
6221 if test "$wxUSE_CHOICE" = yes; then
6222 echo "$as_me:6222: result: yes" >&5
6223 echo "${ECHO_T}yes" >&6
6225 echo "$as_me:6225: result: no" >&5
6226 echo "${ECHO_T}no" >&6
6229 echo "$as_me:6229: checking for --enable-combobox" >&5
6230 echo $ECHO_N "checking for --enable-combobox... $ECHO_C" >&6
6232 # Check whether --enable-combobox or --disable-combobox was given.
6233 if test "${enable_combobox+set}" = set; then
6234 enableval="$enable_combobox"
6236 if test "$enableval" = yes; then
6237 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
6239 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
6244 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6245 if test "x$LINE" != x ; then
6246 eval "DEFAULT_$LINE"
6251 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
6255 eval "$ac_cv_use_combobox"
6256 if test "$no_cache" != 1; then
6257 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6260 if test "$wxUSE_COMBOBOX" = yes; then
6261 echo "$as_me:6261: result: yes" >&5
6262 echo "${ECHO_T}yes" >&6
6264 echo "$as_me:6264: result: no" >&5
6265 echo "${ECHO_T}no" >&6
6268 echo "$as_me:6268: checking for --enable-gauge" >&5
6269 echo $ECHO_N "checking for --enable-gauge... $ECHO_C" >&6
6271 # Check whether --enable-gauge or --disable-gauge was given.
6272 if test "${enable_gauge+set}" = set; then
6273 enableval="$enable_gauge"
6275 if test "$enableval" = yes; then
6276 ac_cv_use_gauge='wxUSE_GAUGE=yes'
6278 ac_cv_use_gauge='wxUSE_GAUGE=no'
6283 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
6284 if test "x$LINE" != x ; then
6285 eval "DEFAULT_$LINE"
6290 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
6294 eval "$ac_cv_use_gauge"
6295 if test "$no_cache" != 1; then
6296 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
6299 if test "$wxUSE_GAUGE" = yes; then
6300 echo "$as_me:6300: result: yes" >&5
6301 echo "${ECHO_T}yes" >&6
6303 echo "$as_me:6303: result: no" >&5
6304 echo "${ECHO_T}no" >&6
6307 echo "$as_me:6307: checking for --enable-grid" >&5
6308 echo $ECHO_N "checking for --enable-grid... $ECHO_C" >&6
6310 # Check whether --enable-grid or --disable-grid was given.
6311 if test "${enable_grid+set}" = set; then
6312 enableval="$enable_grid"
6314 if test "$enableval" = yes; then
6315 ac_cv_use_grid='wxUSE_GRID=yes'
6317 ac_cv_use_grid='wxUSE_GRID=no'
6322 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
6323 if test "x$LINE" != x ; then
6324 eval "DEFAULT_$LINE"
6329 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
6333 eval "$ac_cv_use_grid"
6334 if test "$no_cache" != 1; then
6335 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
6338 if test "$wxUSE_GRID" = yes; then
6339 echo "$as_me:6339: result: yes" >&5
6340 echo "${ECHO_T}yes" >&6
6342 echo "$as_me:6342: result: no" >&5
6343 echo "${ECHO_T}no" >&6
6346 echo "$as_me:6346: checking for --enable-newgrid" >&5
6347 echo $ECHO_N "checking for --enable-newgrid... $ECHO_C" >&6
6349 # Check whether --enable-newgrid or --disable-newgrid was given.
6350 if test "${enable_newgrid+set}" = set; then
6351 enableval="$enable_newgrid"
6353 if test "$enableval" = yes; then
6354 ac_cv_use_newgrid='wxUSE_NEW_GRID=yes'
6356 ac_cv_use_newgrid='wxUSE_NEW_GRID=no'
6361 LINE=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
6362 if test "x$LINE" != x ; then
6363 eval "DEFAULT_$LINE"
6368 ac_cv_use_newgrid='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
6372 eval "$ac_cv_use_newgrid"
6373 if test "$no_cache" != 1; then
6374 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
6377 if test "$wxUSE_NEW_GRID" = yes; then
6378 echo "$as_me:6378: result: yes" >&5
6379 echo "${ECHO_T}yes" >&6
6381 echo "$as_me:6381: result: no" >&5
6382 echo "${ECHO_T}no" >&6
6385 echo "$as_me:6385: checking for --enable-imaglist" >&5
6386 echo $ECHO_N "checking for --enable-imaglist... $ECHO_C" >&6
6388 # Check whether --enable-imaglist or --disable-imaglist was given.
6389 if test "${enable_imaglist+set}" = set; then
6390 enableval="$enable_imaglist"
6392 if test "$enableval" = yes; then
6393 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
6395 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
6400 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
6401 if test "x$LINE" != x ; then
6402 eval "DEFAULT_$LINE"
6407 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
6411 eval "$ac_cv_use_imaglist"
6412 if test "$no_cache" != 1; then
6413 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
6416 if test "$wxUSE_IMAGLIST" = yes; then
6417 echo "$as_me:6417: result: yes" >&5
6418 echo "${ECHO_T}yes" >&6
6420 echo "$as_me:6420: result: no" >&5
6421 echo "${ECHO_T}no" >&6
6424 echo "$as_me:6424: checking for --enable-listbox" >&5
6425 echo $ECHO_N "checking for --enable-listbox... $ECHO_C" >&6
6427 # Check whether --enable-listbox or --disable-listbox was given.
6428 if test "${enable_listbox+set}" = set; then
6429 enableval="$enable_listbox"
6431 if test "$enableval" = yes; then
6432 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
6434 ac_cv_use_listbox='wxUSE_LISTBOX=no'
6439 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
6440 if test "x$LINE" != x ; then
6441 eval "DEFAULT_$LINE"
6446 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
6450 eval "$ac_cv_use_listbox"
6451 if test "$no_cache" != 1; then
6452 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
6455 if test "$wxUSE_LISTBOX" = yes; then
6456 echo "$as_me:6456: result: yes" >&5
6457 echo "${ECHO_T}yes" >&6
6459 echo "$as_me:6459: result: no" >&5
6460 echo "${ECHO_T}no" >&6
6463 echo "$as_me:6463: checking for --enable-listctrl" >&5
6464 echo $ECHO_N "checking for --enable-listctrl... $ECHO_C" >&6
6466 # Check whether --enable-listctrl or --disable-listctrl was given.
6467 if test "${enable_listctrl+set}" = set; then
6468 enableval="$enable_listctrl"
6470 if test "$enableval" = yes; then
6471 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
6473 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
6478 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
6479 if test "x$LINE" != x ; then
6480 eval "DEFAULT_$LINE"
6485 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
6489 eval "$ac_cv_use_listctrl"
6490 if test "$no_cache" != 1; then
6491 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
6494 if test "$wxUSE_LISTCTRL" = yes; then
6495 echo "$as_me:6495: result: yes" >&5
6496 echo "${ECHO_T}yes" >&6
6498 echo "$as_me:6498: result: no" >&5
6499 echo "${ECHO_T}no" >&6
6502 echo "$as_me:6502: checking for --enable-notebook" >&5
6503 echo $ECHO_N "checking for --enable-notebook... $ECHO_C" >&6
6505 # Check whether --enable-notebook or --disable-notebook was given.
6506 if test "${enable_notebook+set}" = set; then
6507 enableval="$enable_notebook"
6509 if test "$enableval" = yes; then
6510 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
6512 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
6517 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
6518 if test "x$LINE" != x ; then
6519 eval "DEFAULT_$LINE"
6524 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
6528 eval "$ac_cv_use_notebook"
6529 if test "$no_cache" != 1; then
6530 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
6533 if test "$wxUSE_NOTEBOOK" = yes; then
6534 echo "$as_me:6534: result: yes" >&5
6535 echo "${ECHO_T}yes" >&6
6537 echo "$as_me:6537: result: no" >&5
6538 echo "${ECHO_T}no" >&6
6541 echo "$as_me:6541: checking for --enable-propsheet" >&5
6542 echo $ECHO_N "checking for --enable-propsheet... $ECHO_C" >&6
6544 # Check whether --enable-propsheet or --disable-propsheet was given.
6545 if test "${enable_propsheet+set}" = set; then
6546 enableval="$enable_propsheet"
6548 if test "$enableval" = yes; then
6549 ac_cv_use_propsheet='wxUSE_PROPSHEET=yes'
6551 ac_cv_use_propsheet='wxUSE_PROPSHEET=no'
6556 LINE=`grep "wxUSE_PROPSHEET" ${wx_arg_cache_file}`
6557 if test "x$LINE" != x ; then
6558 eval "DEFAULT_$LINE"
6563 ac_cv_use_propsheet='wxUSE_PROPSHEET='$DEFAULT_wxUSE_PROPSHEET
6567 eval "$ac_cv_use_propsheet"
6568 if test "$no_cache" != 1; then
6569 echo $ac_cv_use_propsheet >> ${wx_arg_cache_file}.tmp
6572 if test "$wxUSE_PROPSHEET" = yes; then
6573 echo "$as_me:6573: result: yes" >&5
6574 echo "${ECHO_T}yes" >&6
6576 echo "$as_me:6576: result: no" >&5
6577 echo "${ECHO_T}no" >&6
6580 echo "$as_me:6580: checking for --enable-radiobox" >&5
6581 echo $ECHO_N "checking for --enable-radiobox... $ECHO_C" >&6
6583 # Check whether --enable-radiobox or --disable-radiobox was given.
6584 if test "${enable_radiobox+set}" = set; then
6585 enableval="$enable_radiobox"
6587 if test "$enableval" = yes; then
6588 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
6590 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
6595 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
6596 if test "x$LINE" != x ; then
6597 eval "DEFAULT_$LINE"
6602 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
6606 eval "$ac_cv_use_radiobox"
6607 if test "$no_cache" != 1; then
6608 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
6611 if test "$wxUSE_RADIOBOX" = yes; then
6612 echo "$as_me:6612: result: yes" >&5
6613 echo "${ECHO_T}yes" >&6
6615 echo "$as_me:6615: result: no" >&5
6616 echo "${ECHO_T}no" >&6
6619 echo "$as_me:6619: checking for --enable-radiobtn" >&5
6620 echo $ECHO_N "checking for --enable-radiobtn... $ECHO_C" >&6
6622 # Check whether --enable-radiobtn or --disable-radiobtn was given.
6623 if test "${enable_radiobtn+set}" = set; then
6624 enableval="$enable_radiobtn"
6626 if test "$enableval" = yes; then
6627 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
6629 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
6634 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
6635 if test "x$LINE" != x ; then
6636 eval "DEFAULT_$LINE"
6641 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
6645 eval "$ac_cv_use_radiobtn"
6646 if test "$no_cache" != 1; then
6647 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
6650 if test "$wxUSE_RADIOBTN" = yes; then
6651 echo "$as_me:6651: result: yes" >&5
6652 echo "${ECHO_T}yes" >&6
6654 echo "$as_me:6654: result: no" >&5
6655 echo "${ECHO_T}no" >&6
6658 echo "$as_me:6658: checking for --enable-sash" >&5
6659 echo $ECHO_N "checking for --enable-sash... $ECHO_C" >&6
6661 # Check whether --enable-sash or --disable-sash was given.
6662 if test "${enable_sash+set}" = set; then
6663 enableval="$enable_sash"
6665 if test "$enableval" = yes; then
6666 ac_cv_use_sash='wxUSE_SASH=yes'
6668 ac_cv_use_sash='wxUSE_SASH=no'
6673 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
6674 if test "x$LINE" != x ; then
6675 eval "DEFAULT_$LINE"
6680 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
6684 eval "$ac_cv_use_sash"
6685 if test "$no_cache" != 1; then
6686 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
6689 if test "$wxUSE_SASH" = yes; then
6690 echo "$as_me:6690: result: yes" >&5
6691 echo "${ECHO_T}yes" >&6
6693 echo "$as_me:6693: result: no" >&5
6694 echo "${ECHO_T}no" >&6
6697 echo "$as_me:6697: checking for --enable-scrollbar" >&5
6698 echo $ECHO_N "checking for --enable-scrollbar... $ECHO_C" >&6
6700 # Check whether --enable-scrollbar or --disable-scrollbar was given.
6701 if test "${enable_scrollbar+set}" = set; then
6702 enableval="$enable_scrollbar"
6704 if test "$enableval" = yes; then
6705 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
6707 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
6712 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
6713 if test "x$LINE" != x ; then
6714 eval "DEFAULT_$LINE"
6719 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
6723 eval "$ac_cv_use_scrollbar"
6724 if test "$no_cache" != 1; then
6725 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
6728 if test "$wxUSE_SCROLLBAR" = yes; then
6729 echo "$as_me:6729: result: yes" >&5
6730 echo "${ECHO_T}yes" >&6
6732 echo "$as_me:6732: result: no" >&5
6733 echo "${ECHO_T}no" >&6
6736 echo "$as_me:6736: checking for --enable-slider" >&5
6737 echo $ECHO_N "checking for --enable-slider... $ECHO_C" >&6
6739 # Check whether --enable-slider or --disable-slider was given.
6740 if test "${enable_slider+set}" = set; then
6741 enableval="$enable_slider"
6743 if test "$enableval" = yes; then
6744 ac_cv_use_slider='wxUSE_SLIDER=yes'
6746 ac_cv_use_slider='wxUSE_SLIDER=no'
6751 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
6752 if test "x$LINE" != x ; then
6753 eval "DEFAULT_$LINE"
6758 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
6762 eval "$ac_cv_use_slider"
6763 if test "$no_cache" != 1; then
6764 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
6767 if test "$wxUSE_SLIDER" = yes; then
6768 echo "$as_me:6768: result: yes" >&5
6769 echo "${ECHO_T}yes" >&6
6771 echo "$as_me:6771: result: no" >&5
6772 echo "${ECHO_T}no" >&6
6775 echo "$as_me:6775: checking for --enable-spinbtn" >&5
6776 echo $ECHO_N "checking for --enable-spinbtn... $ECHO_C" >&6
6778 # Check whether --enable-spinbtn or --disable-spinbtn was given.
6779 if test "${enable_spinbtn+set}" = set; then
6780 enableval="$enable_spinbtn"
6782 if test "$enableval" = yes; then
6783 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
6785 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
6790 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
6791 if test "x$LINE" != x ; then
6792 eval "DEFAULT_$LINE"
6797 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
6801 eval "$ac_cv_use_spinbtn"
6802 if test "$no_cache" != 1; then
6803 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
6806 if test "$wxUSE_SPINBTN" = yes; then
6807 echo "$as_me:6807: result: yes" >&5
6808 echo "${ECHO_T}yes" >&6
6810 echo "$as_me:6810: result: no" >&5
6811 echo "${ECHO_T}no" >&6
6814 echo "$as_me:6814: checking for --enable-spinctrl" >&5
6815 echo $ECHO_N "checking for --enable-spinctrl... $ECHO_C" >&6
6817 # Check whether --enable-spinctrl or --disable-spinctrl was given.
6818 if test "${enable_spinctrl+set}" = set; then
6819 enableval="$enable_spinctrl"
6821 if test "$enableval" = yes; then
6822 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
6824 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
6829 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
6830 if test "x$LINE" != x ; then
6831 eval "DEFAULT_$LINE"
6836 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
6840 eval "$ac_cv_use_spinctrl"
6841 if test "$no_cache" != 1; then
6842 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
6845 if test "$wxUSE_SPINCTRL" = yes; then
6846 echo "$as_me:6846: result: yes" >&5
6847 echo "${ECHO_T}yes" >&6
6849 echo "$as_me:6849: result: no" >&5
6850 echo "${ECHO_T}no" >&6
6853 echo "$as_me:6853: checking for --enable-splitter" >&5
6854 echo $ECHO_N "checking for --enable-splitter... $ECHO_C" >&6
6856 # Check whether --enable-splitter or --disable-splitter was given.
6857 if test "${enable_splitter+set}" = set; then
6858 enableval="$enable_splitter"
6860 if test "$enableval" = yes; then
6861 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
6863 ac_cv_use_splitter='wxUSE_SPLITTER=no'
6868 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
6869 if test "x$LINE" != x ; then
6870 eval "DEFAULT_$LINE"
6875 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
6879 eval "$ac_cv_use_splitter"
6880 if test "$no_cache" != 1; then
6881 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
6884 if test "$wxUSE_SPLITTER" = yes; then
6885 echo "$as_me:6885: result: yes" >&5
6886 echo "${ECHO_T}yes" >&6
6888 echo "$as_me:6888: result: no" >&5
6889 echo "${ECHO_T}no" >&6
6892 echo "$as_me:6892: checking for --enable-statbmp" >&5
6893 echo $ECHO_N "checking for --enable-statbmp... $ECHO_C" >&6
6895 # Check whether --enable-statbmp or --disable-statbmp was given.
6896 if test "${enable_statbmp+set}" = set; then
6897 enableval="$enable_statbmp"
6899 if test "$enableval" = yes; then
6900 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
6902 ac_cv_use_statbmp='wxUSE_STATBMP=no'
6907 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
6908 if test "x$LINE" != x ; then
6909 eval "DEFAULT_$LINE"
6914 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
6918 eval "$ac_cv_use_statbmp"
6919 if test "$no_cache" != 1; then
6920 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
6923 if test "$wxUSE_STATBMP" = yes; then
6924 echo "$as_me:6924: result: yes" >&5
6925 echo "${ECHO_T}yes" >&6
6927 echo "$as_me:6927: result: no" >&5
6928 echo "${ECHO_T}no" >&6
6931 echo "$as_me:6931: checking for --enable-statbox" >&5
6932 echo $ECHO_N "checking for --enable-statbox... $ECHO_C" >&6
6934 # Check whether --enable-statbox or --disable-statbox was given.
6935 if test "${enable_statbox+set}" = set; then
6936 enableval="$enable_statbox"
6938 if test "$enableval" = yes; then
6939 ac_cv_use_statbox='wxUSE_STATBOX=yes'
6941 ac_cv_use_statbox='wxUSE_STATBOX=no'
6946 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
6947 if test "x$LINE" != x ; then
6948 eval "DEFAULT_$LINE"
6953 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
6957 eval "$ac_cv_use_statbox"
6958 if test "$no_cache" != 1; then
6959 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
6962 if test "$wxUSE_STATBOX" = yes; then
6963 echo "$as_me:6963: result: yes" >&5
6964 echo "${ECHO_T}yes" >&6
6966 echo "$as_me:6966: result: no" >&5
6967 echo "${ECHO_T}no" >&6
6970 echo "$as_me:6970: checking for --enable-statline" >&5
6971 echo $ECHO_N "checking for --enable-statline... $ECHO_C" >&6
6973 # Check whether --enable-statline or --disable-statline was given.
6974 if test "${enable_statline+set}" = set; then
6975 enableval="$enable_statline"
6977 if test "$enableval" = yes; then
6978 ac_cv_use_statline='wxUSE_STATLINE=yes'
6980 ac_cv_use_statline='wxUSE_STATLINE=no'
6985 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
6986 if test "x$LINE" != x ; then
6987 eval "DEFAULT_$LINE"
6992 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
6996 eval "$ac_cv_use_statline"
6997 if test "$no_cache" != 1; then
6998 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
7001 if test "$wxUSE_STATLINE" = yes; then
7002 echo "$as_me:7002: result: yes" >&5
7003 echo "${ECHO_T}yes" >&6
7005 echo "$as_me:7005: result: no" >&5
7006 echo "${ECHO_T}no" >&6
7009 echo "$as_me:7009: checking for --enable-stattext" >&5
7010 echo $ECHO_N "checking for --enable-stattext... $ECHO_C" >&6
7012 # Check whether --enable-stattext or --disable-stattext was given.
7013 if test "${enable_stattext+set}" = set; then
7014 enableval="$enable_stattext"
7016 if test "$enableval" = yes; then
7017 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
7019 ac_cv_use_stattext='wxUSE_STATTEXT=no'
7024 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
7025 if test "x$LINE" != x ; then
7026 eval "DEFAULT_$LINE"
7031 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
7035 eval "$ac_cv_use_stattext"
7036 if test "$no_cache" != 1; then
7037 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
7040 if test "$wxUSE_STATTEXT" = yes; then
7041 echo "$as_me:7041: result: yes" >&5
7042 echo "${ECHO_T}yes" >&6
7044 echo "$as_me:7044: result: no" >&5
7045 echo "${ECHO_T}no" >&6
7048 echo "$as_me:7048: checking for --enable-statusbar" >&5
7049 echo $ECHO_N "checking for --enable-statusbar... $ECHO_C" >&6
7051 # Check whether --enable-statusbar or --disable-statusbar was given.
7052 if test "${enable_statusbar+set}" = set; then
7053 enableval="$enable_statusbar"
7055 if test "$enableval" = yes; then
7056 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
7058 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
7063 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
7064 if test "x$LINE" != x ; then
7065 eval "DEFAULT_$LINE"
7070 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
7074 eval "$ac_cv_use_statusbar"
7075 if test "$no_cache" != 1; then
7076 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
7079 if test "$wxUSE_STATUSBAR" = yes; then
7080 echo "$as_me:7080: result: yes" >&5
7081 echo "${ECHO_T}yes" >&6
7083 echo "$as_me:7083: result: no" >&5
7084 echo "${ECHO_T}no" >&6
7087 echo "$as_me:7087: checking for --enable-tabdialog" >&5
7088 echo $ECHO_N "checking for --enable-tabdialog... $ECHO_C" >&6
7090 # Check whether --enable-tabdialog or --disable-tabdialog was given.
7091 if test "${enable_tabdialog+set}" = set; then
7092 enableval="$enable_tabdialog"
7094 if test "$enableval" = yes; then
7095 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
7097 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
7102 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
7103 if test "x$LINE" != x ; then
7104 eval "DEFAULT_$LINE"
7109 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
7113 eval "$ac_cv_use_tabdialog"
7114 if test "$no_cache" != 1; then
7115 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
7118 if test "$wxUSE_TABDIALOG" = yes; then
7119 echo "$as_me:7119: result: yes" >&5
7120 echo "${ECHO_T}yes" >&6
7122 echo "$as_me:7122: result: no" >&5
7123 echo "${ECHO_T}no" >&6
7126 echo "$as_me:7126: checking for --enable-textctrl" >&5
7127 echo $ECHO_N "checking for --enable-textctrl... $ECHO_C" >&6
7129 # Check whether --enable-textctrl or --disable-textctrl was given.
7130 if test "${enable_textctrl+set}" = set; then
7131 enableval="$enable_textctrl"
7133 if test "$enableval" = yes; then
7134 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
7136 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
7141 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
7142 if test "x$LINE" != x ; then
7143 eval "DEFAULT_$LINE"
7148 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
7152 eval "$ac_cv_use_textctrl"
7153 if test "$no_cache" != 1; then
7154 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
7157 if test "$wxUSE_TEXTCTRL" = yes; then
7158 echo "$as_me:7158: result: yes" >&5
7159 echo "${ECHO_T}yes" >&6
7161 echo "$as_me:7161: result: no" >&5
7162 echo "${ECHO_T}no" >&6
7165 echo "$as_me:7165: checking for --enable-togglebtn" >&5
7166 echo $ECHO_N "checking for --enable-togglebtn... $ECHO_C" >&6
7168 # Check whether --enable-togglebtn or --disable-togglebtn was given.
7169 if test "${enable_togglebtn+set}" = set; then
7170 enableval="$enable_togglebtn"
7172 if test "$enableval" = yes; then
7173 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
7175 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
7180 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
7181 if test "x$LINE" != x ; then
7182 eval "DEFAULT_$LINE"
7187 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
7191 eval "$ac_cv_use_togglebtn"
7192 if test "$no_cache" != 1; then
7193 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
7196 if test "$wxUSE_TOGGLEBTN" = yes; then
7197 echo "$as_me:7197: result: yes" >&5
7198 echo "${ECHO_T}yes" >&6
7200 echo "$as_me:7200: result: no" >&5
7201 echo "${ECHO_T}no" >&6
7204 echo "$as_me:7204: checking for --enable-toolbar" >&5
7205 echo $ECHO_N "checking for --enable-toolbar... $ECHO_C" >&6
7207 # Check whether --enable-toolbar or --disable-toolbar was given.
7208 if test "${enable_toolbar+set}" = set; then
7209 enableval="$enable_toolbar"
7211 if test "$enableval" = yes; then
7212 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
7214 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
7219 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
7220 if test "x$LINE" != x ; then
7221 eval "DEFAULT_$LINE"
7226 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
7230 eval "$ac_cv_use_toolbar"
7231 if test "$no_cache" != 1; then
7232 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7235 if test "$wxUSE_TOOLBAR" = yes; then
7236 echo "$as_me:7236: result: yes" >&5
7237 echo "${ECHO_T}yes" >&6
7239 echo "$as_me:7239: result: no" >&5
7240 echo "${ECHO_T}no" >&6
7243 echo "$as_me:7243: checking for --enable-tbarnative" >&5
7244 echo $ECHO_N "checking for --enable-tbarnative... $ECHO_C" >&6
7246 # Check whether --enable-tbarnative or --disable-tbarnative was given.
7247 if test "${enable_tbarnative+set}" = set; then
7248 enableval="$enable_tbarnative"
7250 if test "$enableval" = yes; then
7251 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
7253 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
7258 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7259 if test "x$LINE" != x ; then
7260 eval "DEFAULT_$LINE"
7265 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7269 eval "$ac_cv_use_tbarnative"
7270 if test "$no_cache" != 1; then
7271 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7274 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7275 echo "$as_me:7275: result: yes" >&5
7276 echo "${ECHO_T}yes" >&6
7278 echo "$as_me:7278: result: no" >&5
7279 echo "${ECHO_T}no" >&6
7282 echo "$as_me:7282: checking for --enable-tbarsmpl" >&5
7283 echo $ECHO_N "checking for --enable-tbarsmpl... $ECHO_C" >&6
7285 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
7286 if test "${enable_tbarsmpl+set}" = set; then
7287 enableval="$enable_tbarsmpl"
7289 if test "$enableval" = yes; then
7290 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
7292 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
7297 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
7298 if test "x$LINE" != x ; then
7299 eval "DEFAULT_$LINE"
7304 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
7308 eval "$ac_cv_use_tbarsmpl"
7309 if test "$no_cache" != 1; then
7310 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
7313 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
7314 echo "$as_me:7314: result: yes" >&5
7315 echo "${ECHO_T}yes" >&6
7317 echo "$as_me:7317: result: no" >&5
7318 echo "${ECHO_T}no" >&6
7321 echo "$as_me:7321: checking for --enable-treectrl" >&5
7322 echo $ECHO_N "checking for --enable-treectrl... $ECHO_C" >&6
7324 # Check whether --enable-treectrl or --disable-treectrl was given.
7325 if test "${enable_treectrl+set}" = set; then
7326 enableval="$enable_treectrl"
7328 if test "$enableval" = yes; then
7329 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
7331 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
7336 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
7337 if test "x$LINE" != x ; then
7338 eval "DEFAULT_$LINE"
7343 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
7347 eval "$ac_cv_use_treectrl"
7348 if test "$no_cache" != 1; then
7349 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
7352 if test "$wxUSE_TREECTRL" = yes; then
7353 echo "$as_me:7353: result: yes" >&5
7354 echo "${ECHO_T}yes" >&6
7356 echo "$as_me:7356: result: no" >&5
7357 echo "${ECHO_T}no" >&6
7360 echo "$as_me:7360: checking for --enable-tipwindow" >&5
7361 echo $ECHO_N "checking for --enable-tipwindow... $ECHO_C" >&6
7363 # Check whether --enable-tipwindow or --disable-tipwindow was given.
7364 if test "${enable_tipwindow+set}" = set; then
7365 enableval="$enable_tipwindow"
7367 if test "$enableval" = yes; then
7368 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
7370 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
7375 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
7376 if test "x$LINE" != x ; then
7377 eval "DEFAULT_$LINE"
7382 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
7386 eval "$ac_cv_use_tipwindow"
7387 if test "$no_cache" != 1; then
7388 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
7391 if test "$wxUSE_TIPWINDOW" = yes; then
7392 echo "$as_me:7392: result: yes" >&5
7393 echo "${ECHO_T}yes" >&6
7395 echo "$as_me:7395: result: no" >&5
7396 echo "${ECHO_T}no" >&6
7399 echo "$as_me:7399: checking for --enable-popupwin" >&5
7400 echo $ECHO_N "checking for --enable-popupwin... $ECHO_C" >&6
7402 # Check whether --enable-popupwin or --disable-popupwin was given.
7403 if test "${enable_popupwin+set}" = set; then
7404 enableval="$enable_popupwin"
7406 if test "$enableval" = yes; then
7407 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
7409 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
7414 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
7415 if test "x$LINE" != x ; then
7416 eval "DEFAULT_$LINE"
7421 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
7425 eval "$ac_cv_use_popupwin"
7426 if test "$no_cache" != 1; then
7427 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
7430 if test "$wxUSE_POPUPWIN" = yes; then
7431 echo "$as_me:7431: result: yes" >&5
7432 echo "${ECHO_T}yes" >&6
7434 echo "$as_me:7434: result: no" >&5
7435 echo "${ECHO_T}no" >&6
7438 echo "$as_me:7438: checking for --enable-commondlg" >&5
7439 echo $ECHO_N "checking for --enable-commondlg... $ECHO_C" >&6
7441 # Check whether --enable-commondlg or --disable-commondlg was given.
7442 if test "${enable_commondlg+set}" = set; then
7443 enableval="$enable_commondlg"
7445 if test "$enableval" = yes; then
7446 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
7448 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
7453 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
7454 if test "x$LINE" != x ; then
7455 eval "DEFAULT_$LINE"
7460 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
7464 eval "$ac_cv_use_commondlg"
7465 if test "$no_cache" != 1; then
7466 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
7469 if test "$wxUSE_COMMONDLGS" = yes; then
7470 echo "$as_me:7470: result: yes" >&5
7471 echo "${ECHO_T}yes" >&6
7473 echo "$as_me:7473: result: no" >&5
7474 echo "${ECHO_T}no" >&6
7477 echo "$as_me:7477: checking for --enable-choicedlg" >&5
7478 echo $ECHO_N "checking for --enable-choicedlg... $ECHO_C" >&6
7480 # Check whether --enable-choicedlg or --disable-choicedlg was given.
7481 if test "${enable_choicedlg+set}" = set; then
7482 enableval="$enable_choicedlg"
7484 if test "$enableval" = yes; then
7485 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
7487 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
7492 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
7493 if test "x$LINE" != x ; then
7494 eval "DEFAULT_$LINE"
7499 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
7503 eval "$ac_cv_use_choicedlg"
7504 if test "$no_cache" != 1; then
7505 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
7508 if test "$wxUSE_CHOICEDLG" = yes; then
7509 echo "$as_me:7509: result: yes" >&5
7510 echo "${ECHO_T}yes" >&6
7512 echo "$as_me:7512: result: no" >&5
7513 echo "${ECHO_T}no" >&6
7516 echo "$as_me:7516: checking for --enable-coldlg" >&5
7517 echo $ECHO_N "checking for --enable-coldlg... $ECHO_C" >&6
7519 # Check whether --enable-coldlg or --disable-coldlg was given.
7520 if test "${enable_coldlg+set}" = set; then
7521 enableval="$enable_coldlg"
7523 if test "$enableval" = yes; then
7524 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
7526 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
7531 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
7532 if test "x$LINE" != x ; then
7533 eval "DEFAULT_$LINE"
7538 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
7542 eval "$ac_cv_use_coldlg"
7543 if test "$no_cache" != 1; then
7544 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
7547 if test "$wxUSE_COLOURDLG" = yes; then
7548 echo "$as_me:7548: result: yes" >&5
7549 echo "${ECHO_T}yes" >&6
7551 echo "$as_me:7551: result: no" >&5
7552 echo "${ECHO_T}no" >&6
7555 echo "$as_me:7555: checking for --enable-filedlg" >&5
7556 echo $ECHO_N "checking for --enable-filedlg... $ECHO_C" >&6
7558 # Check whether --enable-filedlg or --disable-filedlg was given.
7559 if test "${enable_filedlg+set}" = set; then
7560 enableval="$enable_filedlg"
7562 if test "$enableval" = yes; then
7563 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
7565 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
7570 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
7571 if test "x$LINE" != x ; then
7572 eval "DEFAULT_$LINE"
7577 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
7581 eval "$ac_cv_use_filedlg"
7582 if test "$no_cache" != 1; then
7583 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
7586 if test "$wxUSE_FILEDLG" = yes; then
7587 echo "$as_me:7587: result: yes" >&5
7588 echo "${ECHO_T}yes" >&6
7590 echo "$as_me:7590: result: no" >&5
7591 echo "${ECHO_T}no" >&6
7594 echo "$as_me:7594: checking for --enable-finddlg" >&5
7595 echo $ECHO_N "checking for --enable-finddlg... $ECHO_C" >&6
7597 # Check whether --enable-finddlg or --disable-finddlg was given.
7598 if test "${enable_finddlg+set}" = set; then
7599 enableval="$enable_finddlg"
7601 if test "$enableval" = yes; then
7602 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
7604 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
7609 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
7610 if test "x$LINE" != x ; then
7611 eval "DEFAULT_$LINE"
7616 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
7620 eval "$ac_cv_use_finddlg"
7621 if test "$no_cache" != 1; then
7622 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
7625 if test "$wxUSE_FINDREPLDLG" = yes; then
7626 echo "$as_me:7626: result: yes" >&5
7627 echo "${ECHO_T}yes" >&6
7629 echo "$as_me:7629: result: no" >&5
7630 echo "${ECHO_T}no" >&6
7633 echo "$as_me:7633: checking for --enable-fontdlg" >&5
7634 echo $ECHO_N "checking for --enable-fontdlg... $ECHO_C" >&6
7636 # Check whether --enable-fontdlg or --disable-fontdlg was given.
7637 if test "${enable_fontdlg+set}" = set; then
7638 enableval="$enable_fontdlg"
7640 if test "$enableval" = yes; then
7641 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
7643 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
7648 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
7649 if test "x$LINE" != x ; then
7650 eval "DEFAULT_$LINE"
7655 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
7659 eval "$ac_cv_use_fontdlg"
7660 if test "$no_cache" != 1; then
7661 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
7664 if test "$wxUSE_FONTDLG" = yes; then
7665 echo "$as_me:7665: result: yes" >&5
7666 echo "${ECHO_T}yes" >&6
7668 echo "$as_me:7668: result: no" >&5
7669 echo "${ECHO_T}no" >&6
7672 echo "$as_me:7672: checking for --enable-dirdlg" >&5
7673 echo $ECHO_N "checking for --enable-dirdlg... $ECHO_C" >&6
7675 # Check whether --enable-dirdlg or --disable-dirdlg was given.
7676 if test "${enable_dirdlg+set}" = set; then
7677 enableval="$enable_dirdlg"
7679 if test "$enableval" = yes; then
7680 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
7682 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
7687 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
7688 if test "x$LINE" != x ; then
7689 eval "DEFAULT_$LINE"
7694 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
7698 eval "$ac_cv_use_dirdlg"
7699 if test "$no_cache" != 1; then
7700 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
7703 if test "$wxUSE_DIRDLG" = yes; then
7704 echo "$as_me:7704: result: yes" >&5
7705 echo "${ECHO_T}yes" >&6
7707 echo "$as_me:7707: result: no" >&5
7708 echo "${ECHO_T}no" >&6
7711 echo "$as_me:7711: checking for --enable-msgdlg" >&5
7712 echo $ECHO_N "checking for --enable-msgdlg... $ECHO_C" >&6
7714 # Check whether --enable-msgdlg or --disable-msgdlg was given.
7715 if test "${enable_msgdlg+set}" = set; then
7716 enableval="$enable_msgdlg"
7718 if test "$enableval" = yes; then
7719 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
7721 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
7726 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
7727 if test "x$LINE" != x ; then
7728 eval "DEFAULT_$LINE"
7733 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
7737 eval "$ac_cv_use_msgdlg"
7738 if test "$no_cache" != 1; then
7739 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
7742 if test "$wxUSE_MSGDLG" = yes; then
7743 echo "$as_me:7743: result: yes" >&5
7744 echo "${ECHO_T}yes" >&6
7746 echo "$as_me:7746: result: no" >&5
7747 echo "${ECHO_T}no" >&6
7750 echo "$as_me:7750: checking for --enable-numberdlg" >&5
7751 echo $ECHO_N "checking for --enable-numberdlg... $ECHO_C" >&6
7753 # Check whether --enable-numberdlg or --disable-numberdlg was given.
7754 if test "${enable_numberdlg+set}" = set; then
7755 enableval="$enable_numberdlg"
7757 if test "$enableval" = yes; then
7758 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
7760 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
7765 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
7766 if test "x$LINE" != x ; then
7767 eval "DEFAULT_$LINE"
7772 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
7776 eval "$ac_cv_use_numberdlg"
7777 if test "$no_cache" != 1; then
7778 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
7781 if test "$wxUSE_NUMBERDLG" = yes; then
7782 echo "$as_me:7782: result: yes" >&5
7783 echo "${ECHO_T}yes" >&6
7785 echo "$as_me:7785: result: no" >&5
7786 echo "${ECHO_T}no" >&6
7789 echo "$as_me:7789: checking for --enable-splash" >&5
7790 echo $ECHO_N "checking for --enable-splash... $ECHO_C" >&6
7792 # Check whether --enable-splash or --disable-splash was given.
7793 if test "${enable_splash+set}" = set; then
7794 enableval="$enable_splash"
7796 if test "$enableval" = yes; then
7797 ac_cv_use_splash='wxUSE_SPLASH=yes'
7799 ac_cv_use_splash='wxUSE_SPLASH=no'
7804 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
7805 if test "x$LINE" != x ; then
7806 eval "DEFAULT_$LINE"
7811 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
7815 eval "$ac_cv_use_splash"
7816 if test "$no_cache" != 1; then
7817 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
7820 if test "$wxUSE_SPLASH" = yes; then
7821 echo "$as_me:7821: result: yes" >&5
7822 echo "${ECHO_T}yes" >&6
7824 echo "$as_me:7824: result: no" >&5
7825 echo "${ECHO_T}no" >&6
7828 echo "$as_me:7828: checking for --enable-textdlg" >&5
7829 echo $ECHO_N "checking for --enable-textdlg... $ECHO_C" >&6
7831 # Check whether --enable-textdlg or --disable-textdlg was given.
7832 if test "${enable_textdlg+set}" = set; then
7833 enableval="$enable_textdlg"
7835 if test "$enableval" = yes; then
7836 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
7838 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
7843 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
7844 if test "x$LINE" != x ; then
7845 eval "DEFAULT_$LINE"
7850 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
7854 eval "$ac_cv_use_textdlg"
7855 if test "$no_cache" != 1; then
7856 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
7859 if test "$wxUSE_TEXTDLG" = yes; then
7860 echo "$as_me:7860: result: yes" >&5
7861 echo "${ECHO_T}yes" >&6
7863 echo "$as_me:7863: result: no" >&5
7864 echo "${ECHO_T}no" >&6
7867 echo "$as_me:7867: checking for --enable-tipdlg" >&5
7868 echo $ECHO_N "checking for --enable-tipdlg... $ECHO_C" >&6
7870 # Check whether --enable-tipdlg or --disable-tipdlg was given.
7871 if test "${enable_tipdlg+set}" = set; then
7872 enableval="$enable_tipdlg"
7874 if test "$enableval" = yes; then
7875 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
7877 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
7882 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
7883 if test "x$LINE" != x ; then
7884 eval "DEFAULT_$LINE"
7889 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
7893 eval "$ac_cv_use_tipdlg"
7894 if test "$no_cache" != 1; then
7895 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
7898 if test "$wxUSE_STARTUP_TIPS" = yes; then
7899 echo "$as_me:7899: result: yes" >&5
7900 echo "${ECHO_T}yes" >&6
7902 echo "$as_me:7902: result: no" >&5
7903 echo "${ECHO_T}no" >&6
7906 echo "$as_me:7906: checking for --enable-progressdlg" >&5
7907 echo $ECHO_N "checking for --enable-progressdlg... $ECHO_C" >&6
7909 # Check whether --enable-progressdlg or --disable-progressdlg was given.
7910 if test "${enable_progressdlg+set}" = set; then
7911 enableval="$enable_progressdlg"
7913 if test "$enableval" = yes; then
7914 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
7916 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
7921 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
7922 if test "x$LINE" != x ; then
7923 eval "DEFAULT_$LINE"
7928 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
7932 eval "$ac_cv_use_progressdlg"
7933 if test "$no_cache" != 1; then
7934 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
7937 if test "$wxUSE_PROGRESSDLG" = yes; then
7938 echo "$as_me:7938: result: yes" >&5
7939 echo "${ECHO_T}yes" >&6
7941 echo "$as_me:7941: result: no" >&5
7942 echo "${ECHO_T}no" >&6
7945 echo "$as_me:7945: checking for --enable-wizarddlg" >&5
7946 echo $ECHO_N "checking for --enable-wizarddlg... $ECHO_C" >&6
7948 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
7949 if test "${enable_wizarddlg+set}" = set; then
7950 enableval="$enable_wizarddlg"
7952 if test "$enableval" = yes; then
7953 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
7955 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
7960 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
7961 if test "x$LINE" != x ; then
7962 eval "DEFAULT_$LINE"
7967 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
7971 eval "$ac_cv_use_wizarddlg"
7972 if test "$no_cache" != 1; then
7973 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
7976 if test "$wxUSE_WIZARDDLG" = yes; then
7977 echo "$as_me:7977: result: yes" >&5
7978 echo "${ECHO_T}yes" >&6
7980 echo "$as_me:7980: result: no" >&5
7981 echo "${ECHO_T}no" >&6
7984 echo "$as_me:7984: checking for --enable-menus" >&5
7985 echo $ECHO_N "checking for --enable-menus... $ECHO_C" >&6
7987 # Check whether --enable-menus or --disable-menus was given.
7988 if test "${enable_menus+set}" = set; then
7989 enableval="$enable_menus"
7991 if test "$enableval" = yes; then
7992 ac_cv_use_menus='wxUSE_MENUS=yes'
7994 ac_cv_use_menus='wxUSE_MENUS=no'
7999 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
8000 if test "x$LINE" != x ; then
8001 eval "DEFAULT_$LINE"
8006 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
8010 eval "$ac_cv_use_menus"
8011 if test "$no_cache" != 1; then
8012 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
8015 if test "$wxUSE_MENUS" = yes; then
8016 echo "$as_me:8016: result: yes" >&5
8017 echo "${ECHO_T}yes" >&6
8019 echo "$as_me:8019: result: no" >&5
8020 echo "${ECHO_T}no" >&6
8023 echo "$as_me:8023: checking for --enable-miniframe" >&5
8024 echo $ECHO_N "checking for --enable-miniframe... $ECHO_C" >&6
8026 # Check whether --enable-miniframe or --disable-miniframe was given.
8027 if test "${enable_miniframe+set}" = set; then
8028 enableval="$enable_miniframe"
8030 if test "$enableval" = yes; then
8031 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
8033 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
8038 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
8039 if test "x$LINE" != x ; then
8040 eval "DEFAULT_$LINE"
8045 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
8049 eval "$ac_cv_use_miniframe"
8050 if test "$no_cache" != 1; then
8051 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
8054 if test "$wxUSE_MINIFRAME" = yes; then
8055 echo "$as_me:8055: result: yes" >&5
8056 echo "${ECHO_T}yes" >&6
8058 echo "$as_me:8058: result: no" >&5
8059 echo "${ECHO_T}no" >&6
8062 echo "$as_me:8062: checking for --enable-tooltips" >&5
8063 echo $ECHO_N "checking for --enable-tooltips... $ECHO_C" >&6
8065 # Check whether --enable-tooltips or --disable-tooltips was given.
8066 if test "${enable_tooltips+set}" = set; then
8067 enableval="$enable_tooltips"
8069 if test "$enableval" = yes; then
8070 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
8072 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
8077 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
8078 if test "x$LINE" != x ; then
8079 eval "DEFAULT_$LINE"
8084 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
8088 eval "$ac_cv_use_tooltips"
8089 if test "$no_cache" != 1; then
8090 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
8093 if test "$wxUSE_TOOLTIPS" = yes; then
8094 echo "$as_me:8094: result: yes" >&5
8095 echo "${ECHO_T}yes" >&6
8097 echo "$as_me:8097: result: no" >&5
8098 echo "${ECHO_T}no" >&6
8101 echo "$as_me:8101: checking for --enable-splines" >&5
8102 echo $ECHO_N "checking for --enable-splines... $ECHO_C" >&6
8104 # Check whether --enable-splines or --disable-splines was given.
8105 if test "${enable_splines+set}" = set; then
8106 enableval="$enable_splines"
8108 if test "$enableval" = yes; then
8109 ac_cv_use_splines='wxUSE_SPLINES=yes'
8111 ac_cv_use_splines='wxUSE_SPLINES=no'
8116 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
8117 if test "x$LINE" != x ; then
8118 eval "DEFAULT_$LINE"
8123 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
8127 eval "$ac_cv_use_splines"
8128 if test "$no_cache" != 1; then
8129 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
8132 if test "$wxUSE_SPLINES" = yes; then
8133 echo "$as_me:8133: result: yes" >&5
8134 echo "${ECHO_T}yes" >&6
8136 echo "$as_me:8136: result: no" >&5
8137 echo "${ECHO_T}no" >&6
8140 echo "$as_me:8140: checking for --enable-validators" >&5
8141 echo $ECHO_N "checking for --enable-validators... $ECHO_C" >&6
8143 # Check whether --enable-validators or --disable-validators was given.
8144 if test "${enable_validators+set}" = set; then
8145 enableval="$enable_validators"
8147 if test "$enableval" = yes; then
8148 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
8150 ac_cv_use_validators='wxUSE_VALIDATORS=no'
8155 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
8156 if test "x$LINE" != x ; then
8157 eval "DEFAULT_$LINE"
8162 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
8166 eval "$ac_cv_use_validators"
8167 if test "$no_cache" != 1; then
8168 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
8171 if test "$wxUSE_VALIDATORS" = yes; then
8172 echo "$as_me:8172: result: yes" >&5
8173 echo "${ECHO_T}yes" >&6
8175 echo "$as_me:8175: result: no" >&5
8176 echo "${ECHO_T}no" >&6
8179 echo "$as_me:8179: checking for --enable-busyinfo" >&5
8180 echo $ECHO_N "checking for --enable-busyinfo... $ECHO_C" >&6
8182 # Check whether --enable-busyinfo or --disable-busyinfo was given.
8183 if test "${enable_busyinfo+set}" = set; then
8184 enableval="$enable_busyinfo"
8186 if test "$enableval" = yes; then
8187 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
8189 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
8194 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
8195 if test "x$LINE" != x ; then
8196 eval "DEFAULT_$LINE"
8201 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
8205 eval "$ac_cv_use_busyinfo"
8206 if test "$no_cache" != 1; then
8207 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
8210 if test "$wxUSE_BUSYINFO" = yes; then
8211 echo "$as_me:8211: result: yes" >&5
8212 echo "${ECHO_T}yes" >&6
8214 echo "$as_me:8214: result: no" >&5
8215 echo "${ECHO_T}no" >&6
8218 echo "$as_me:8218: checking for --enable-joystick" >&5
8219 echo $ECHO_N "checking for --enable-joystick... $ECHO_C" >&6
8221 # Check whether --enable-joystick or --disable-joystick was given.
8222 if test "${enable_joystick+set}" = set; then
8223 enableval="$enable_joystick"
8225 if test "$enableval" = yes; then
8226 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
8228 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
8233 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
8234 if test "x$LINE" != x ; then
8235 eval "DEFAULT_$LINE"
8240 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
8244 eval "$ac_cv_use_joystick"
8245 if test "$no_cache" != 1; then
8246 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
8249 if test "$wxUSE_JOYSTICK" = yes; then
8250 echo "$as_me:8250: result: yes" >&5
8251 echo "${ECHO_T}yes" >&6
8253 echo "$as_me:8253: result: no" >&5
8254 echo "${ECHO_T}no" >&6
8257 echo "$as_me:8257: checking for --enable-metafile" >&5
8258 echo $ECHO_N "checking for --enable-metafile... $ECHO_C" >&6
8260 # Check whether --enable-metafile or --disable-metafile was given.
8261 if test "${enable_metafile+set}" = set; then
8262 enableval="$enable_metafile"
8264 if test "$enableval" = yes; then
8265 ac_cv_use_metafile='wxUSE_METAFILE=yes'
8267 ac_cv_use_metafile='wxUSE_METAFILE=no'
8272 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8273 if test "x$LINE" != x ; then
8274 eval "DEFAULT_$LINE"
8279 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8283 eval "$ac_cv_use_metafile"
8284 if test "$no_cache" != 1; then
8285 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8288 if test "$wxUSE_METAFILE" = yes; then
8289 echo "$as_me:8289: result: yes" >&5
8290 echo "${ECHO_T}yes" >&6
8292 echo "$as_me:8292: result: no" >&5
8293 echo "${ECHO_T}no" >&6
8296 echo "$as_me:8296: checking for --enable-dragimage" >&5
8297 echo $ECHO_N "checking for --enable-dragimage... $ECHO_C" >&6
8299 # Check whether --enable-dragimage or --disable-dragimage was given.
8300 if test "${enable_dragimage+set}" = set; then
8301 enableval="$enable_dragimage"
8303 if test "$enableval" = yes; then
8304 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
8306 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
8311 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
8312 if test "x$LINE" != x ; then
8313 eval "DEFAULT_$LINE"
8318 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
8322 eval "$ac_cv_use_dragimage"
8323 if test "$no_cache" != 1; then
8324 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
8327 if test "$wxUSE_DRAGIMAGE" = yes; then
8328 echo "$as_me:8328: result: yes" >&5
8329 echo "${ECHO_T}yes" >&6
8331 echo "$as_me:8331: result: no" >&5
8332 echo "${ECHO_T}no" >&6
8335 echo "$as_me:8335: checking for --enable-palette" >&5
8336 echo $ECHO_N "checking for --enable-palette... $ECHO_C" >&6
8338 # Check whether --enable-palette or --disable-palette was given.
8339 if test "${enable_palette+set}" = set; then
8340 enableval="$enable_palette"
8342 if test "$enableval" = yes; then
8343 ac_cv_use_palette='wxUSE_PALETTE=yes'
8345 ac_cv_use_palette='wxUSE_PALETTE=no'
8350 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
8351 if test "x$LINE" != x ; then
8352 eval "DEFAULT_$LINE"
8357 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
8361 eval "$ac_cv_use_palette"
8362 if test "$no_cache" != 1; then
8363 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
8366 if test "$wxUSE_PALETTE" = yes; then
8367 echo "$as_me:8367: result: yes" >&5
8368 echo "${ECHO_T}yes" >&6
8370 echo "$as_me:8370: result: no" >&5
8371 echo "${ECHO_T}no" >&6
8374 echo "$as_me:8374: checking for --enable-image" >&5
8375 echo $ECHO_N "checking for --enable-image... $ECHO_C" >&6
8377 # Check whether --enable-image or --disable-image was given.
8378 if test "${enable_image+set}" = set; then
8379 enableval="$enable_image"
8381 if test "$enableval" = yes; then
8382 ac_cv_use_image='wxUSE_IMAGE=yes'
8384 ac_cv_use_image='wxUSE_IMAGE=no'
8389 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
8390 if test "x$LINE" != x ; then
8391 eval "DEFAULT_$LINE"
8396 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
8400 eval "$ac_cv_use_image"
8401 if test "$no_cache" != 1; then
8402 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
8405 if test "$wxUSE_IMAGE" = yes; then
8406 echo "$as_me:8406: result: yes" >&5
8407 echo "${ECHO_T}yes" >&6
8409 echo "$as_me:8409: result: no" >&5
8410 echo "${ECHO_T}no" >&6
8413 echo "$as_me:8413: checking for --enable-gif" >&5
8414 echo $ECHO_N "checking for --enable-gif... $ECHO_C" >&6
8416 # Check whether --enable-gif or --disable-gif was given.
8417 if test "${enable_gif+set}" = set; then
8418 enableval="$enable_gif"
8420 if test "$enableval" = yes; then
8421 ac_cv_use_gif='wxUSE_GIF=yes'
8423 ac_cv_use_gif='wxUSE_GIF=no'
8428 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
8429 if test "x$LINE" != x ; then
8430 eval "DEFAULT_$LINE"
8435 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
8439 eval "$ac_cv_use_gif"
8440 if test "$no_cache" != 1; then
8441 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
8444 if test "$wxUSE_GIF" = yes; then
8445 echo "$as_me:8445: result: yes" >&5
8446 echo "${ECHO_T}yes" >&6
8448 echo "$as_me:8448: result: no" >&5
8449 echo "${ECHO_T}no" >&6
8452 echo "$as_me:8452: checking for --enable-pcx" >&5
8453 echo $ECHO_N "checking for --enable-pcx... $ECHO_C" >&6
8455 # Check whether --enable-pcx or --disable-pcx was given.
8456 if test "${enable_pcx+set}" = set; then
8457 enableval="$enable_pcx"
8459 if test "$enableval" = yes; then
8460 ac_cv_use_pcx='wxUSE_PCX=yes'
8462 ac_cv_use_pcx='wxUSE_PCX=no'
8467 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
8468 if test "x$LINE" != x ; then
8469 eval "DEFAULT_$LINE"
8474 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
8478 eval "$ac_cv_use_pcx"
8479 if test "$no_cache" != 1; then
8480 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
8483 if test "$wxUSE_PCX" = yes; then
8484 echo "$as_me:8484: result: yes" >&5
8485 echo "${ECHO_T}yes" >&6
8487 echo "$as_me:8487: result: no" >&5
8488 echo "${ECHO_T}no" >&6
8491 echo "$as_me:8491: checking for --enable-iff" >&5
8492 echo $ECHO_N "checking for --enable-iff... $ECHO_C" >&6
8494 # Check whether --enable-iff or --disable-iff was given.
8495 if test "${enable_iff+set}" = set; then
8496 enableval="$enable_iff"
8498 if test "$enableval" = yes; then
8499 ac_cv_use_iff='wxUSE_IFF=yes'
8501 ac_cv_use_iff='wxUSE_IFF=no'
8506 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
8507 if test "x$LINE" != x ; then
8508 eval "DEFAULT_$LINE"
8513 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
8517 eval "$ac_cv_use_iff"
8518 if test "$no_cache" != 1; then
8519 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
8522 if test "$wxUSE_IFF" = yes; then
8523 echo "$as_me:8523: result: yes" >&5
8524 echo "${ECHO_T}yes" >&6
8526 echo "$as_me:8526: result: no" >&5
8527 echo "${ECHO_T}no" >&6
8530 echo "$as_me:8530: checking for --enable-pnm" >&5
8531 echo $ECHO_N "checking for --enable-pnm... $ECHO_C" >&6
8533 # Check whether --enable-pnm or --disable-pnm was given.
8534 if test "${enable_pnm+set}" = set; then
8535 enableval="$enable_pnm"
8537 if test "$enableval" = yes; then
8538 ac_cv_use_pnm='wxUSE_PNM=yes'
8540 ac_cv_use_pnm='wxUSE_PNM=no'
8545 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
8546 if test "x$LINE" != x ; then
8547 eval "DEFAULT_$LINE"
8552 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
8556 eval "$ac_cv_use_pnm"
8557 if test "$no_cache" != 1; then
8558 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
8561 if test "$wxUSE_PNM" = yes; then
8562 echo "$as_me:8562: result: yes" >&5
8563 echo "${ECHO_T}yes" >&6
8565 echo "$as_me:8565: result: no" >&5
8566 echo "${ECHO_T}no" >&6
8569 echo "$as_me:8569: checking for --enable-xpm" >&5
8570 echo $ECHO_N "checking for --enable-xpm... $ECHO_C" >&6
8572 # Check whether --enable-xpm or --disable-xpm was given.
8573 if test "${enable_xpm+set}" = set; then
8574 enableval="$enable_xpm"
8576 if test "$enableval" = yes; then
8577 ac_cv_use_xpm='wxUSE_XPM=yes'
8579 ac_cv_use_xpm='wxUSE_XPM=no'
8584 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
8585 if test "x$LINE" != x ; then
8586 eval "DEFAULT_$LINE"
8591 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
8595 eval "$ac_cv_use_xpm"
8596 if test "$no_cache" != 1; then
8597 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
8600 if test "$wxUSE_XPM" = yes; then
8601 echo "$as_me:8601: result: yes" >&5
8602 echo "${ECHO_T}yes" >&6
8604 echo "$as_me:8604: result: no" >&5
8605 echo "${ECHO_T}no" >&6
8608 echo "$as_me:8608: checking for --enable-ico_cur" >&5
8609 echo $ECHO_N "checking for --enable-ico_cur... $ECHO_C" >&6
8611 # Check whether --enable-ico_cur or --disable-ico_cur was given.
8612 if test "${enable_ico_cur+set}" = set; then
8613 enableval="$enable_ico_cur"
8615 if test "$enableval" = yes; then
8616 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
8618 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
8623 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
8624 if test "x$LINE" != x ; then
8625 eval "DEFAULT_$LINE"
8630 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
8634 eval "$ac_cv_use_ico_cur"
8635 if test "$no_cache" != 1; then
8636 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
8639 if test "$wxUSE_ICO_CUR" = yes; then
8640 echo "$as_me:8640: result: yes" >&5
8641 echo "${ECHO_T}yes" >&6
8643 echo "$as_me:8643: result: no" >&5
8644 echo "${ECHO_T}no" >&6
8650 *-pc-os2_emx | *-pc-os2-emx )
8659 echo "saving argument cache $wx_arg_cache_file"
8660 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
8662 echo "$as_me:8662: checking for toolkit" >&5
8663 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
8665 if test "$wxUSE_GUI" = "yes"; then
8667 if test "$USE_BEOS" = 1; then
8668 { { echo "$as_me:8668: error: BeOS GUI is not supported yet, use --disable-gui" >&5
8669 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
8670 { (exit 1); exit 1; }; }
8673 if test "$TOOLKIT_GIVEN" = 1; then
8674 for toolkit in `echo $ALL_TOOLKITS`; do
8676 eval "value=\$${var}"
8677 eval "$var=`echo \
$value | sed -e "s/yes/1/" -e "s/no/0/"`"
8680 for toolkit in `echo $ALL_TOOLKITS`; do
8681 if test "$has_toolkit_in_cache" != 1; then
8682 var=DEFAULT_DEFAULT_wxUSE_$toolkit
8684 var=DEFAULT_wxUSE_$toolkit
8686 eval "wxUSE_$toolkit=\$${var}"
8690 NUM_TOOLKITS=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} \
8691 + ${wxUSE_WINE:-0} + ${wxUSE_MSW:-0} + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} + ${wxUSE_X11:-0}`
8694 *-pc-os2_emx | *-pc-os2-emx )
8695 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
8698 case "$NUM_TOOLKITS" in
8702 { { echo "$as_me:8702: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
8703 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
8704 { (exit 1); exit 1; }; }
8707 { { echo "$as_me:8707: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
8708 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
8709 { (exit 1); exit 1; }; }
8712 for toolkit in `echo $ALL_TOOLKITS`; do
8714 eval "value=\$${var}"
8715 if test "x$value" != x; then
8716 cache_var=CACHE_$toolkit
8717 eval "cache=\$${cache_var}"
8718 if test "$cache" = 1; then
8719 echo "$var=$value" >> ${wx_arg_cache_file}
8721 if test "$value" = 1; then
8722 toolkit_echo=`echo $toolkit | tr [A
-Z] [a
-z]`
8723 echo "$as_me:8723: result: $toolkit_echo" >&5
8724 echo "${ECHO_T}$toolkit_echo" >&6
8729 echo "$as_me:8729: result: base ($host_alias hosted) only" >&5
8730 echo "${ECHO_T}base ($host_alias hosted) only" >&6
8737 if test "$wxUSE_MSW" = 1 ; then
8748 if test "$wants_win32" = 1 ; then
8751 cat >>confdefs.h <<\EOF
8755 cat >>confdefs.h <<\EOF
8759 cat >>confdefs.h <<\EOF
8760 #define __WINDOWS__ 1
8763 cat >>confdefs.h <<\EOF
8764 #define __GNUWIN32__ 1
8767 cat >>confdefs.h <<\EOF
8771 cat >>confdefs.h <<\EOF
8772 #define WINVER 0x0400
8776 if test "$doesnt_want_win32" = 1 ; then
8781 if test "$USE_UNIX" = 1 ; then
8783 cat >>confdefs.h <<\EOF
8789 cat >confcache <<\_ACEOF
8790 # This file is a shell script that caches the results of configure
8791 # tests run on this system so they can be shared between configure
8792 # scripts and configure runs, see configure's option --config-cache.
8793 # It is not useful on other systems. If it contains results you don't
8794 # want to keep, you may remove or edit it.
8796 # config.status only pays attention to the cache file if you give it
8797 # the --recheck option to rerun configure.
8799 # `ac_cv_env_foo
' variables (set or unset) will be overriden when
8800 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8805 # The following way of writing the cache mishandles newlines in values,
8806 # but we know of no workaround that is simple, portable, and efficient.
8807 # So, don't put newlines in cache variables' values.
8808 # Ultrix sh set writes to stderr and can't be redirected directly,
8809 # and sets the high bit in the cache file unless we assign to the vars.
8812 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8814 # `set' does not quote correctly, so add quotes (double-quote
8815 # substitution turns \\\\ into \\, and sed turns \\ into \).
8818 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8821 # `set' quotes correctly as required by POSIX, so do not add quotes.
8823 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
8830 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8832 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8834 if cmp -s $cache_file confcache
; then :; else
8835 if test -w $cache_file; then
8836 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
8837 cat confcache
>$cache_file
8839 echo "not updating unwritable cache $cache_file"
8844 if test "$build" != "$host" ; then
8845 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
8849 RANLIB
=$host_alias-ranlib
8850 DLLTOOL
=$host_alias-dlltool
8851 RESCOMP
=$host_alias-windres
8854 STRIP
=$host_alias-strip
8856 { { echo "$as_me:8856: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
8857 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
8858 { (exit 1); exit 1; }; }
8864 ac_cpp
='$CPP $CPPFLAGS'
8865 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8866 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8867 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8868 if test -n "$ac_tool_prefix"; then
8869 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
8870 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
8871 echo "$as_me:8871: checking for $ac_word" >&5
8872 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8873 if test "${ac_cv_prog_CC+set}" = set; then
8874 echo $ECHO_N "(cached) $ECHO_C" >&6
8876 if test -n "$CC"; then
8877 ac_cv_prog_CC
="$CC" # Let the user override the test.
8879 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
8881 for ac_dir
in $ac_dummy; do
8883 test -z "$ac_dir" && ac_dir
=.
8884 $as_executable_p "$ac_dir/$ac_word" || continue
8885 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
8886 echo "$as_me:8886: found $ac_dir/$ac_word" >&5
8893 if test -n "$CC"; then
8894 echo "$as_me:8894: result: $CC" >&5
8895 echo "${ECHO_T}$CC" >&6
8897 echo "$as_me:8897: result: no" >&5
8898 echo "${ECHO_T}no" >&6
8902 if test -z "$ac_cv_prog_CC"; then
8904 # Extract the first word of "gcc", so it can be a program name with args.
8905 set dummy gcc
; ac_word
=$2
8906 echo "$as_me:8906: checking for $ac_word" >&5
8907 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8908 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
8909 echo $ECHO_N "(cached) $ECHO_C" >&6
8911 if test -n "$ac_ct_CC"; then
8912 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
8914 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
8916 for ac_dir
in $ac_dummy; do
8918 test -z "$ac_dir" && ac_dir
=.
8919 $as_executable_p "$ac_dir/$ac_word" || continue
8920 ac_cv_prog_ac_ct_CC
="gcc"
8921 echo "$as_me:8921: found $ac_dir/$ac_word" >&5
8927 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
8928 if test -n "$ac_ct_CC"; then
8929 echo "$as_me:8929: result: $ac_ct_CC" >&5
8930 echo "${ECHO_T}$ac_ct_CC" >&6
8932 echo "$as_me:8932: result: no" >&5
8933 echo "${ECHO_T}no" >&6
8941 if test -z "$CC"; then
8942 if test -n "$ac_tool_prefix"; then
8943 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
8944 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
8945 echo "$as_me:8945: checking for $ac_word" >&5
8946 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8947 if test "${ac_cv_prog_CC+set}" = set; then
8948 echo $ECHO_N "(cached) $ECHO_C" >&6
8950 if test -n "$CC"; then
8951 ac_cv_prog_CC
="$CC" # Let the user override the test.
8953 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
8955 for ac_dir
in $ac_dummy; do
8957 test -z "$ac_dir" && ac_dir
=.
8958 $as_executable_p "$ac_dir/$ac_word" || continue
8959 ac_cv_prog_CC
="${ac_tool_prefix}cc"
8960 echo "$as_me:8960: found $ac_dir/$ac_word" >&5
8967 if test -n "$CC"; then
8968 echo "$as_me:8968: result: $CC" >&5
8969 echo "${ECHO_T}$CC" >&6
8971 echo "$as_me:8971: result: no" >&5
8972 echo "${ECHO_T}no" >&6
8976 if test -z "$ac_cv_prog_CC"; then
8978 # Extract the first word of "cc", so it can be a program name with args.
8979 set dummy cc
; ac_word
=$2
8980 echo "$as_me:8980: checking for $ac_word" >&5
8981 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8982 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
8983 echo $ECHO_N "(cached) $ECHO_C" >&6
8985 if test -n "$ac_ct_CC"; then
8986 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
8988 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
8990 for ac_dir
in $ac_dummy; do
8992 test -z "$ac_dir" && ac_dir
=.
8993 $as_executable_p "$ac_dir/$ac_word" || continue
8994 ac_cv_prog_ac_ct_CC
="cc"
8995 echo "$as_me:8995: found $ac_dir/$ac_word" >&5
9001 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
9002 if test -n "$ac_ct_CC"; then
9003 echo "$as_me:9003: result: $ac_ct_CC" >&5
9004 echo "${ECHO_T}$ac_ct_CC" >&6
9006 echo "$as_me:9006: result: no" >&5
9007 echo "${ECHO_T}no" >&6
9016 if test -z "$CC"; then
9017 # Extract the first word of "cc", so it can be a program name with args.
9018 set dummy cc
; ac_word
=$2
9019 echo "$as_me:9019: checking for $ac_word" >&5
9020 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9021 if test "${ac_cv_prog_CC+set}" = set; then
9022 echo $ECHO_N "(cached) $ECHO_C" >&6
9024 if test -n "$CC"; then
9025 ac_cv_prog_CC
="$CC" # Let the user override the test.
9028 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
9030 for ac_dir
in $ac_dummy; do
9032 test -z "$ac_dir" && ac_dir
=.
9033 $as_executable_p "$ac_dir/$ac_word" || continue
9034 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
9035 ac_prog_rejected
=yes
9039 echo "$as_me:9039: found $ac_dir/$ac_word" >&5
9043 if test $ac_prog_rejected = yes; then
9044 # We found a bogon in the path, so make sure we never use it.
9045 set dummy
$ac_cv_prog_CC
9047 if test $# != 0; then
9048 # We chose a different compiler from the bogus one.
9049 # However, it has the same basename, so the bogon will be chosen
9050 # first if we set CC to just the basename; use the full file name.
9052 set dummy
"$ac_dir/$ac_word" ${1+"$@"}
9060 if test -n "$CC"; then
9061 echo "$as_me:9061: result: $CC" >&5
9062 echo "${ECHO_T}$CC" >&6
9064 echo "$as_me:9064: result: no" >&5
9065 echo "${ECHO_T}no" >&6
9069 if test -z "$CC"; then
9070 if test -n "$ac_tool_prefix"; then
9073 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9074 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
9075 echo "$as_me:9075: checking for $ac_word" >&5
9076 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9077 if test "${ac_cv_prog_CC+set}" = set; then
9078 echo $ECHO_N "(cached) $ECHO_C" >&6
9080 if test -n "$CC"; then
9081 ac_cv_prog_CC
="$CC" # Let the user override the test.
9083 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
9085 for ac_dir
in $ac_dummy; do
9087 test -z "$ac_dir" && ac_dir
=.
9088 $as_executable_p "$ac_dir/$ac_word" || continue
9089 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
9090 echo "$as_me:9090: found $ac_dir/$ac_word" >&5
9097 if test -n "$CC"; then
9098 echo "$as_me:9098: result: $CC" >&5
9099 echo "${ECHO_T}$CC" >&6
9101 echo "$as_me:9101: result: no" >&5
9102 echo "${ECHO_T}no" >&6
9105 test -n "$CC" && break
9108 if test -z "$CC"; then
9112 # Extract the first word of "$ac_prog", so it can be a program name with args.
9113 set dummy
$ac_prog; ac_word
=$2
9114 echo "$as_me:9114: checking for $ac_word" >&5
9115 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9116 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9117 echo $ECHO_N "(cached) $ECHO_C" >&6
9119 if test -n "$ac_ct_CC"; then
9120 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
9122 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
9124 for ac_dir
in $ac_dummy; do
9126 test -z "$ac_dir" && ac_dir
=.
9127 $as_executable_p "$ac_dir/$ac_word" || continue
9128 ac_cv_prog_ac_ct_CC
="$ac_prog"
9129 echo "$as_me:9129: found $ac_dir/$ac_word" >&5
9135 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
9136 if test -n "$ac_ct_CC"; then
9137 echo "$as_me:9137: result: $ac_ct_CC" >&5
9138 echo "${ECHO_T}$ac_ct_CC" >&6
9140 echo "$as_me:9140: result: no" >&5
9141 echo "${ECHO_T}no" >&6
9144 test -n "$ac_ct_CC" && break
9152 test -z "$CC" && { { echo "$as_me:9152: error: no acceptable cc found in \$PATH" >&5
9153 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
9154 { (exit 1); exit 1; }; }
9156 # Provide some information about the compiler.
9157 echo "$as_me:9157:" \
9158 "checking for C compiler version" >&5
9159 ac_compiler
=`set X $ac_compile; echo $2`
9160 { (eval echo "$as_me:9160: \"$ac_compiler --version </dev/null >&5\"") >&5
9161 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
9163 echo "$as_me:9163: \$? = $ac_status" >&5
9164 (exit $ac_status); }
9165 { (eval echo "$as_me:9165: \"$ac_compiler -v </dev/null >&5\"") >&5
9166 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
9168 echo "$as_me:9168: \$? = $ac_status" >&5
9169 (exit $ac_status); }
9170 { (eval echo "$as_me:9170: \"$ac_compiler -V </dev/null >&5\"") >&5
9171 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
9173 echo "$as_me:9173: \$? = $ac_status" >&5
9174 (exit $ac_status); }
9176 cat >conftest.
$ac_ext <<_ACEOF
9177 #line 9177 "configure"
9178 #include "confdefs.h"
9188 ac_clean_files_save
=$ac_clean_files
9189 ac_clean_files
="$ac_clean_files a.out a.exe"
9190 # Try to create an executable without -o first, disregard a.out.
9191 # It will help us diagnose broken compilers, and finding out an intuition
9193 echo "$as_me:9193: checking for C compiler default output" >&5
9194 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
9195 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
9196 if { (eval echo "$as_me:9196: \"$ac_link_default\"") >&5
9197 (eval $ac_link_default) 2>&5
9199 echo "$as_me:9199: \$? = $ac_status" >&5
9200 (exit $ac_status); }; then
9201 # Find the output, starting from the most likely. This scheme is
9202 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
9204 for ac_file
in `ls a.exe conftest.exe 2>/dev/null;
9205 ls a.out conftest 2>/dev/null;
9206 ls a.* conftest.* 2>/dev/null`; do
9208 *.
$ac_ext | *.o
| *.obj
| *.xcoff
| *.tds
| *.d
| *.pdb
) ;;
9209 a.out
) # We found the default executable, but exeext='' is most
9212 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
9213 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
9220 echo "$as_me: failed program was:" >&5
9221 cat conftest.
$ac_ext >&5
9222 { { echo "$as_me:9222: error: C compiler cannot create executables" >&5
9223 echo "$as_me: error: C compiler cannot create executables" >&2;}
9224 { (exit 77); exit 77; }; }
9227 ac_exeext
=$ac_cv_exeext
9228 echo "$as_me:9228: result: $ac_file" >&5
9229 echo "${ECHO_T}$ac_file" >&6
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 the C compiler works" >&5
9234 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
9235 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
9236 # If not cross compiling, check that we can run a simple program.
9237 if test "$cross_compiling" != yes; then
9238 if { ac_try
='./$ac_file'
9239 { (eval echo "$as_me:9239: \"$ac_try\"") >&5
9242 echo "$as_me:9242: \$? = $ac_status" >&5
9243 (exit $ac_status); }; }; then
9246 if test "$cross_compiling" = maybe
; then
9249 { { echo "$as_me:9249: error: cannot run C compiled programs.
9250 If you meant to cross compile, use \`--host'." >&5
9251 echo "$as_me: error: cannot run C compiled programs.
9252 If you meant to cross compile, use \`--host'." >&2;}
9253 { (exit 1); exit 1; }; }
9257 echo "$as_me:9257: result: yes" >&5
9258 echo "${ECHO_T}yes" >&6
9260 rm -f a.out a.exe conftest
$ac_cv_exeext
9261 ac_clean_files
=$ac_clean_files_save
9262 # Check the compiler produces executables we can run. If not, either
9263 # the compiler is broken, or we cross compile.
9264 echo "$as_me:9264: checking whether we are cross compiling" >&5
9265 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
9266 echo "$as_me:9266: result: $cross_compiling" >&5
9267 echo "${ECHO_T}$cross_compiling" >&6
9269 echo "$as_me:9269: checking for executable suffix" >&5
9270 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
9271 if { (eval echo "$as_me:9271: \"$ac_link\"") >&5
9272 (eval $ac_link) 2>&5
9274 echo "$as_me:9274: \$? = $ac_status" >&5
9275 (exit $ac_status); }; then
9276 # If both `conftest.exe' and `conftest' are `present' (well, observable)
9277 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
9278 # work properly (i.e., refer to `conftest.exe'), while it won't with
9280 for ac_file
in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
9282 *.
$ac_ext | *.o
| *.obj
| *.xcoff
| *.tds
| *.d
| *.pdb
) ;;
9283 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
9290 { { echo "$as_me:9290: error: cannot compute EXEEXT: cannot compile and link" >&5
9291 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
9292 { (exit 1); exit 1; }; }
9295 rm -f conftest
$ac_cv_exeext
9296 echo "$as_me:9296: result: $ac_cv_exeext" >&5
9297 echo "${ECHO_T}$ac_cv_exeext" >&6
9299 rm -f conftest.
$ac_ext
9300 EXEEXT
=$ac_cv_exeext
9302 echo "$as_me:9302: checking for object suffix" >&5
9303 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
9304 if test "${ac_cv_objext+set}" = set; then
9305 echo $ECHO_N "(cached) $ECHO_C" >&6
9307 cat >conftest.
$ac_ext <<_ACEOF
9308 #line 9308 "configure"
9309 #include "confdefs.h"
9319 rm -f conftest.o conftest.obj
9320 if { (eval echo "$as_me:9320: \"$ac_compile\"") >&5
9321 (eval $ac_compile) 2>&5
9323 echo "$as_me:9323: \$? = $ac_status" >&5
9324 (exit $ac_status); }; then
9325 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
9327 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
) ;;
9328 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
9333 echo "$as_me: failed program was:" >&5
9334 cat conftest.
$ac_ext >&5
9335 { { echo "$as_me:9335: error: cannot compute OBJEXT: cannot compile" >&5
9336 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
9337 { (exit 1); exit 1; }; }
9340 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
9342 echo "$as_me:9342: result: $ac_cv_objext" >&5
9343 echo "${ECHO_T}$ac_cv_objext" >&6
9344 OBJEXT
=$ac_cv_objext
9346 echo "$as_me:9346: checking whether we are using the GNU C compiler" >&5
9347 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
9348 if test "${ac_cv_c_compiler_gnu+set}" = set; then
9349 echo $ECHO_N "(cached) $ECHO_C" >&6
9351 cat >conftest.
$ac_ext <<_ACEOF
9352 #line 9352 "configure"
9353 #include "confdefs.h"
9366 rm -f conftest.
$ac_objext
9367 if { (eval echo "$as_me:9367: \"$ac_compile\"") >&5
9368 (eval $ac_compile) 2>&5
9370 echo "$as_me:9370: \$? = $ac_status" >&5
9371 (exit $ac_status); } &&
9372 { ac_try
='test -s conftest.$ac_objext'
9373 { (eval echo "$as_me:9373: \"$ac_try\"") >&5
9376 echo "$as_me:9376: \$? = $ac_status" >&5
9377 (exit $ac_status); }; }; then
9380 echo "$as_me: failed program was:" >&5
9381 cat conftest.
$ac_ext >&5
9384 rm -f conftest.
$ac_objext conftest.
$ac_ext
9385 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
9388 echo "$as_me:9388: result: $ac_cv_c_compiler_gnu" >&5
9389 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
9390 GCC
=`test $ac_compiler_gnu = yes && echo yes`
9391 ac_test_CFLAGS
=${CFLAGS+set}
9392 ac_save_CFLAGS
=$CFLAGS
9394 echo "$as_me:9394: checking whether $CC accepts -g" >&5
9395 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
9396 if test "${ac_cv_prog_cc_g+set}" = set; then
9397 echo $ECHO_N "(cached) $ECHO_C" >&6
9399 cat >conftest.
$ac_ext <<_ACEOF
9400 #line 9400 "configure"
9401 #include "confdefs.h"
9411 rm -f conftest.
$ac_objext
9412 if { (eval echo "$as_me:9412: \"$ac_compile\"") >&5
9413 (eval $ac_compile) 2>&5
9415 echo "$as_me:9415: \$? = $ac_status" >&5
9416 (exit $ac_status); } &&
9417 { ac_try
='test -s conftest.$ac_objext'
9418 { (eval echo "$as_me:9418: \"$ac_try\"") >&5
9421 echo "$as_me:9421: \$? = $ac_status" >&5
9422 (exit $ac_status); }; }; then
9425 echo "$as_me: failed program was:" >&5
9426 cat conftest.
$ac_ext >&5
9429 rm -f conftest.
$ac_objext conftest.
$ac_ext
9431 echo "$as_me:9431: result: $ac_cv_prog_cc_g" >&5
9432 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
9433 if test "$ac_test_CFLAGS" = set; then
9434 CFLAGS
=$ac_save_CFLAGS
9435 elif test $ac_cv_prog_cc_g = yes; then
9436 if test "$GCC" = yes; then
9442 if test "$GCC" = yes; then
9448 # Some people use a C++ compiler to compile C. Since we use `exit',
9449 # in C++ we need to declare it. In case someone uses the same compiler
9450 # for both compiling C and C++ we need to have the C++ compiler decide
9451 # the declaration of exit, since it's the most demanding environment.
9452 cat >conftest.
$ac_ext <<_ACEOF
9457 rm -f conftest.
$ac_objext
9458 if { (eval echo "$as_me:9458: \"$ac_compile\"") >&5
9459 (eval $ac_compile) 2>&5
9461 echo "$as_me:9461: \$? = $ac_status" >&5
9462 (exit $ac_status); } &&
9463 { ac_try
='test -s conftest.$ac_objext'
9464 { (eval echo "$as_me:9464: \"$ac_try\"") >&5
9467 echo "$as_me:9467: \$? = $ac_status" >&5
9468 (exit $ac_status); }; }; then
9469 for ac_declaration
in \
9471 '#include <stdlib.h>' \
9472 'extern "C" void std::exit (int) throw (); using std::exit;' \
9473 'extern "C" void std::exit (int); using std::exit;' \
9474 'extern "C" void exit (int) throw ();' \
9475 'extern "C" void exit (int);' \
9478 cat >conftest.
$ac_ext <<_ACEOF
9479 #line 9479 "configure"
9480 #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
9509 rm -f conftest.
$ac_objext conftest.
$ac_ext
9510 cat >conftest.
$ac_ext <<_ACEOF
9511 #line 9511 "configure"
9512 #include "confdefs.h"
9522 rm -f conftest.
$ac_objext
9523 if { (eval echo "$as_me:9523: \"$ac_compile\"") >&5
9524 (eval $ac_compile) 2>&5
9526 echo "$as_me:9526: \$? = $ac_status" >&5
9527 (exit $ac_status); } &&
9528 { ac_try
='test -s conftest.$ac_objext'
9529 { (eval echo "$as_me:9529: \"$ac_try\"") >&5
9532 echo "$as_me:9532: \$? = $ac_status" >&5
9533 (exit $ac_status); }; }; then
9536 echo "$as_me: failed program was:" >&5
9537 cat conftest.
$ac_ext >&5
9539 rm -f conftest.
$ac_objext conftest.
$ac_ext
9542 if test -n "$ac_declaration"; then
9543 echo '#ifdef __cplusplus' >>confdefs.h
9544 echo $ac_declaration >>confdefs.h
9545 echo '#endif' >>confdefs.h
9549 echo "$as_me: failed program was:" >&5
9550 cat conftest.
$ac_ext >&5
9552 rm -f conftest.
$ac_objext conftest.
$ac_ext
9554 ac_cpp
='$CPP $CPPFLAGS'
9555 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9556 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9557 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9560 ac_cpp
='$CPP $CPPFLAGS'
9561 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9562 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9563 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9564 echo "$as_me:9564: checking how to run the C preprocessor" >&5
9565 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
9566 # On Suns, sometimes $CPP names a directory.
9567 if test -n "$CPP" && test -d "$CPP"; then
9570 if test -z "$CPP"; then
9571 if test "${ac_cv_prog_CPP+set}" = set; then
9572 echo $ECHO_N "(cached) $ECHO_C" >&6
9574 # Double quotes because CPP needs to be expanded
9575 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
9578 for ac_c_preproc_warn_flag
in '' yes
9580 # Use a header file that comes with gcc, so configuring glibc
9581 # with a fresh cross-compiler works.
9582 # On the NeXT, cc -E runs the code through the compiler's parser,
9583 # not just through cpp. "Syntax error" is here to catch this case.
9584 cat >conftest.
$ac_ext <<_ACEOF
9585 #line 9585 "configure"
9586 #include "confdefs.h"
9590 if { (eval echo "$as_me:9590: \"$ac_cpp conftest.$ac_ext\"") >&5
9591 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9593 egrep -v '^ *\+' conftest.er1
>conftest.err
9595 cat conftest.err
>&5
9596 echo "$as_me:9596: \$? = $ac_status" >&5
9597 (exit $ac_status); } >/dev
/null
; then
9598 if test -s conftest.err
; then
9599 ac_cpp_err
=$ac_c_preproc_warn_flag
9606 if test -z "$ac_cpp_err"; then
9609 echo "$as_me: failed program was:" >&5
9610 cat conftest.
$ac_ext >&5
9611 # Broken: fails on valid input.
9614 rm -f conftest.err conftest.
$ac_ext
9616 # OK, works on sane cases. Now check whether non-existent headers
9617 # can be detected and how.
9618 cat >conftest.
$ac_ext <<_ACEOF
9619 #line 9619 "configure"
9620 #include "confdefs.h"
9621 #include <ac_nonexistent.h>
9623 if { (eval echo "$as_me:9623: \"$ac_cpp conftest.$ac_ext\"") >&5
9624 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9626 egrep -v '^ *\+' conftest.er1
>conftest.err
9628 cat conftest.err
>&5
9629 echo "$as_me:9629: \$? = $ac_status" >&5
9630 (exit $ac_status); } >/dev
/null
; then
9631 if test -s conftest.err
; then
9632 ac_cpp_err
=$ac_c_preproc_warn_flag
9639 if test -z "$ac_cpp_err"; then
9640 # Broken: success on invalid input.
9643 echo "$as_me: failed program was:" >&5
9644 cat conftest.
$ac_ext >&5
9645 # Passes both tests.
9649 rm -f conftest.err conftest.
$ac_ext
9652 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9653 rm -f conftest.err conftest.
$ac_ext
9654 if $ac_preproc_ok; then
9666 echo "$as_me:9666: result: $CPP" >&5
9667 echo "${ECHO_T}$CPP" >&6
9669 for ac_c_preproc_warn_flag
in '' yes
9671 # Use a header file that comes with gcc, so configuring glibc
9672 # with a fresh cross-compiler works.
9673 # On the NeXT, cc -E runs the code through the compiler's parser,
9674 # not just through cpp. "Syntax error" is here to catch this case.
9675 cat >conftest.
$ac_ext <<_ACEOF
9676 #line 9676 "configure"
9677 #include "confdefs.h"
9681 if { (eval echo "$as_me:9681: \"$ac_cpp conftest.$ac_ext\"") >&5
9682 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9684 egrep -v '^ *\+' conftest.er1
>conftest.err
9686 cat conftest.err
>&5
9687 echo "$as_me:9687: \$? = $ac_status" >&5
9688 (exit $ac_status); } >/dev
/null
; then
9689 if test -s conftest.err
; then
9690 ac_cpp_err
=$ac_c_preproc_warn_flag
9697 if test -z "$ac_cpp_err"; then
9700 echo "$as_me: failed program was:" >&5
9701 cat conftest.
$ac_ext >&5
9702 # Broken: fails on valid input.
9705 rm -f conftest.err conftest.
$ac_ext
9707 # OK, works on sane cases. Now check whether non-existent headers
9708 # can be detected and how.
9709 cat >conftest.
$ac_ext <<_ACEOF
9710 #line 9710 "configure"
9711 #include "confdefs.h"
9712 #include <ac_nonexistent.h>
9714 if { (eval echo "$as_me:9714: \"$ac_cpp conftest.$ac_ext\"") >&5
9715 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9717 egrep -v '^ *\+' conftest.er1
>conftest.err
9719 cat conftest.err
>&5
9720 echo "$as_me:9720: \$? = $ac_status" >&5
9721 (exit $ac_status); } >/dev
/null
; then
9722 if test -s conftest.err
; then
9723 ac_cpp_err
=$ac_c_preproc_warn_flag
9730 if test -z "$ac_cpp_err"; then
9731 # Broken: success on invalid input.
9734 echo "$as_me: failed program was:" >&5
9735 cat conftest.
$ac_ext >&5
9736 # Passes both tests.
9740 rm -f conftest.err conftest.
$ac_ext
9743 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9744 rm -f conftest.err conftest.
$ac_ext
9745 if $ac_preproc_ok; then
9748 { { echo "$as_me:9748: error: C preprocessor \"$CPP\" fails sanity check" >&5
9749 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
9750 { (exit 1); exit 1; }; }
9754 ac_cpp
='$CPP $CPPFLAGS'
9755 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9756 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9757 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9759 if test $ac_cv_c_compiler_gnu = yes; then
9760 echo "$as_me:9760: checking whether $CC needs -traditional" >&5
9761 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
9762 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
9763 echo $ECHO_N "(cached) $ECHO_C" >&6
9765 ac_pattern
="Autoconf.*'x'"
9766 cat >conftest.
$ac_ext <<_ACEOF
9767 #line 9767 "configure"
9768 #include "confdefs.h"
9772 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9773 egrep "$ac_pattern" >/dev
/null
2>&1; then
9774 ac_cv_prog_gcc_traditional
=yes
9776 ac_cv_prog_gcc_traditional
=no
9780 if test $ac_cv_prog_gcc_traditional = no
; then
9781 cat >conftest.
$ac_ext <<_ACEOF
9782 #line 9782 "configure"
9783 #include "confdefs.h"
9787 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9788 egrep "$ac_pattern" >/dev
/null
2>&1; then
9789 ac_cv_prog_gcc_traditional
=yes
9795 echo "$as_me:9795: result: $ac_cv_prog_gcc_traditional" >&5
9796 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
9797 if test $ac_cv_prog_gcc_traditional = yes; then
9798 CC
="$CC -traditional"
9803 ac_cpp
='$CXXCPP $CPPFLAGS'
9804 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9805 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9806 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
9808 CXXFLAGS
=${CXXFLAGS:=}
9810 ac_cpp
='$CXXCPP $CPPFLAGS'
9811 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9812 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9813 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
9814 if test -n "$ac_tool_prefix"; then
9815 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
9817 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9818 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
9819 echo "$as_me:9819: checking for $ac_word" >&5
9820 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9821 if test "${ac_cv_prog_CXX+set}" = set; then
9822 echo $ECHO_N "(cached) $ECHO_C" >&6
9824 if test -n "$CXX"; then
9825 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
9827 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
9829 for ac_dir
in $ac_dummy; do
9831 test -z "$ac_dir" && ac_dir
=.
9832 $as_executable_p "$ac_dir/$ac_word" || continue
9833 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
9834 echo "$as_me:9834: found $ac_dir/$ac_word" >&5
9841 if test -n "$CXX"; then
9842 echo "$as_me:9842: result: $CXX" >&5
9843 echo "${ECHO_T}$CXX" >&6
9845 echo "$as_me:9845: result: no" >&5
9846 echo "${ECHO_T}no" >&6
9849 test -n "$CXX" && break
9852 if test -z "$CXX"; then
9854 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
9856 # Extract the first word of "$ac_prog", so it can be a program name with args.
9857 set dummy
$ac_prog; ac_word
=$2
9858 echo "$as_me:9858: checking for $ac_word" >&5
9859 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9860 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
9861 echo $ECHO_N "(cached) $ECHO_C" >&6
9863 if test -n "$ac_ct_CXX"; then
9864 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
9866 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
9868 for ac_dir
in $ac_dummy; do
9870 test -z "$ac_dir" && ac_dir
=.
9871 $as_executable_p "$ac_dir/$ac_word" || continue
9872 ac_cv_prog_ac_ct_CXX
="$ac_prog"
9873 echo "$as_me:9873: found $ac_dir/$ac_word" >&5
9879 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
9880 if test -n "$ac_ct_CXX"; then
9881 echo "$as_me:9881: result: $ac_ct_CXX" >&5
9882 echo "${ECHO_T}$ac_ct_CXX" >&6
9884 echo "$as_me:9884: result: no" >&5
9885 echo "${ECHO_T}no" >&6
9888 test -n "$ac_ct_CXX" && break
9890 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
9895 # Provide some information about the compiler.
9896 echo "$as_me:9896:" \
9897 "checking for C++ compiler version" >&5
9898 ac_compiler
=`set X $ac_compile; echo $2`
9899 { (eval echo "$as_me:9899: \"$ac_compiler --version </dev/null >&5\"") >&5
9900 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
9902 echo "$as_me:9902: \$? = $ac_status" >&5
9903 (exit $ac_status); }
9904 { (eval echo "$as_me:9904: \"$ac_compiler -v </dev/null >&5\"") >&5
9905 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
9907 echo "$as_me:9907: \$? = $ac_status" >&5
9908 (exit $ac_status); }
9909 { (eval echo "$as_me:9909: \"$ac_compiler -V </dev/null >&5\"") >&5
9910 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
9912 echo "$as_me:9912: \$? = $ac_status" >&5
9913 (exit $ac_status); }
9915 echo "$as_me:9915: checking whether we are using the GNU C++ compiler" >&5
9916 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
9917 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
9918 echo $ECHO_N "(cached) $ECHO_C" >&6
9920 cat >conftest.
$ac_ext <<_ACEOF
9921 #line 9921 "configure"
9922 #include "confdefs.h"
9935 rm -f conftest.
$ac_objext
9936 if { (eval echo "$as_me:9936: \"$ac_compile\"") >&5
9937 (eval $ac_compile) 2>&5
9939 echo "$as_me:9939: \$? = $ac_status" >&5
9940 (exit $ac_status); } &&
9941 { ac_try
='test -s conftest.$ac_objext'
9942 { (eval echo "$as_me:9942: \"$ac_try\"") >&5
9945 echo "$as_me:9945: \$? = $ac_status" >&5
9946 (exit $ac_status); }; }; then
9949 echo "$as_me: failed program was:" >&5
9950 cat conftest.
$ac_ext >&5
9953 rm -f conftest.
$ac_objext conftest.
$ac_ext
9954 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
9957 echo "$as_me:9957: result: $ac_cv_cxx_compiler_gnu" >&5
9958 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
9959 GXX
=`test $ac_compiler_gnu = yes && echo yes`
9960 ac_test_CXXFLAGS
=${CXXFLAGS+set}
9961 ac_save_CXXFLAGS
=$CXXFLAGS
9963 echo "$as_me:9963: checking whether $CXX accepts -g" >&5
9964 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
9965 if test "${ac_cv_prog_cxx_g+set}" = set; then
9966 echo $ECHO_N "(cached) $ECHO_C" >&6
9968 cat >conftest.
$ac_ext <<_ACEOF
9969 #line 9969 "configure"
9970 #include "confdefs.h"
9980 rm -f conftest.
$ac_objext
9981 if { (eval echo "$as_me:9981: \"$ac_compile\"") >&5
9982 (eval $ac_compile) 2>&5
9984 echo "$as_me:9984: \$? = $ac_status" >&5
9985 (exit $ac_status); } &&
9986 { ac_try
='test -s conftest.$ac_objext'
9987 { (eval echo "$as_me:9987: \"$ac_try\"") >&5
9990 echo "$as_me:9990: \$? = $ac_status" >&5
9991 (exit $ac_status); }; }; then
9992 ac_cv_prog_cxx_g
=yes
9994 echo "$as_me: failed program was:" >&5
9995 cat conftest.
$ac_ext >&5
9998 rm -f conftest.
$ac_objext conftest.
$ac_ext
10000 echo "$as_me:10000: result: $ac_cv_prog_cxx_g" >&5
10001 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
10002 if test "$ac_test_CXXFLAGS" = set; then
10003 CXXFLAGS
=$ac_save_CXXFLAGS
10004 elif test $ac_cv_prog_cxx_g = yes; then
10005 if test "$GXX" = yes; then
10011 if test "$GXX" = yes; then
10017 for ac_declaration
in \
10019 '#include <stdlib.h>' \
10020 'extern "C" void std::exit (int) throw (); using std::exit;' \
10021 'extern "C" void std::exit (int); using std::exit;' \
10022 'extern "C" void exit (int) throw ();' \
10023 'extern "C" void exit (int);' \
10026 cat >conftest.
$ac_ext <<_ACEOF
10027 #line 10027 "configure"
10028 #include "confdefs.h"
10029 #include <stdlib.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
10057 rm -f conftest.
$ac_objext conftest.
$ac_ext
10058 cat >conftest.
$ac_ext <<_ACEOF
10059 #line 10059 "configure"
10060 #include "confdefs.h"
10070 rm -f conftest.
$ac_objext
10071 if { (eval echo "$as_me:10071: \"$ac_compile\"") >&5
10072 (eval $ac_compile) 2>&5
10074 echo "$as_me:10074: \$? = $ac_status" >&5
10075 (exit $ac_status); } &&
10076 { ac_try
='test -s conftest.$ac_objext'
10077 { (eval echo "$as_me:10077: \"$ac_try\"") >&5
10078 (eval $ac_try) 2>&5
10080 echo "$as_me:10080: \$? = $ac_status" >&5
10081 (exit $ac_status); }; }; then
10084 echo "$as_me: failed program was:" >&5
10085 cat conftest.
$ac_ext >&5
10087 rm -f conftest.
$ac_objext conftest.
$ac_ext
10090 if test -n "$ac_declaration"; then
10091 echo '#ifdef __cplusplus' >>confdefs.h
10092 echo $ac_declaration >>confdefs.h
10093 echo '#endif' >>confdefs.h
10097 ac_cpp
='$CXXCPP $CPPFLAGS'
10098 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10099 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10100 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10103 ac_cpp
='$CPP $CPPFLAGS'
10104 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10105 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10106 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10108 if test -n "$ac_tool_prefix"; then
10109 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
10110 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
10111 echo "$as_me:10111: checking for $ac_word" >&5
10112 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10113 if test "${ac_cv_prog_RANLIB+set}" = set; then
10114 echo $ECHO_N "(cached) $ECHO_C" >&6
10116 if test -n "$RANLIB"; then
10117 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
10119 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
10121 for ac_dir
in $ac_dummy; do
10123 test -z "$ac_dir" && ac_dir
=.
10124 $as_executable_p "$ac_dir/$ac_word" || continue
10125 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
10126 echo "$as_me:10126: found $ac_dir/$ac_word" >&5
10132 RANLIB
=$ac_cv_prog_RANLIB
10133 if test -n "$RANLIB"; then
10134 echo "$as_me:10134: result: $RANLIB" >&5
10135 echo "${ECHO_T}$RANLIB" >&6
10137 echo "$as_me:10137: result: no" >&5
10138 echo "${ECHO_T}no" >&6
10142 if test -z "$ac_cv_prog_RANLIB"; then
10143 ac_ct_RANLIB
=$RANLIB
10144 # Extract the first word of "ranlib", so it can be a program name with args.
10145 set dummy ranlib
; ac_word
=$2
10146 echo "$as_me:10146: checking for $ac_word" >&5
10147 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10148 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
10149 echo $ECHO_N "(cached) $ECHO_C" >&6
10151 if test -n "$ac_ct_RANLIB"; then
10152 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
10154 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
10156 for ac_dir
in $ac_dummy; do
10158 test -z "$ac_dir" && ac_dir
=.
10159 $as_executable_p "$ac_dir/$ac_word" || continue
10160 ac_cv_prog_ac_ct_RANLIB
="ranlib"
10161 echo "$as_me:10161: found $ac_dir/$ac_word" >&5
10165 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
10168 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
10169 if test -n "$ac_ct_RANLIB"; then
10170 echo "$as_me:10170: result: $ac_ct_RANLIB" >&5
10171 echo "${ECHO_T}$ac_ct_RANLIB" >&6
10173 echo "$as_me:10173: result: no" >&5
10174 echo "${ECHO_T}no" >&6
10177 RANLIB
=$ac_ct_RANLIB
10179 RANLIB
="$ac_cv_prog_RANLIB"
10182 # Extract the first word of "ar", so it can be a program name with args.
10183 set dummy
ar; ac_word
=$2
10184 echo "$as_me:10184: checking for $ac_word" >&5
10185 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10186 if test "${ac_cv_prog_AR+set}" = set; then
10187 echo $ECHO_N "(cached) $ECHO_C" >&6
10189 if test -n "$AR"; then
10190 ac_cv_prog_AR
="$AR" # Let the user override the test.
10192 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
10194 for ac_dir
in $ac_dummy; do
10196 test -z "$ac_dir" && ac_dir
=.
10197 $as_executable_p "$ac_dir/$ac_word" || continue
10199 echo "$as_me:10199: found $ac_dir/$ac_word" >&5
10203 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
10207 if test -n "$AR"; then
10208 echo "$as_me:10208: result: $AR" >&5
10209 echo "${ECHO_T}$AR" >&6
10211 echo "$as_me:10211: result: no" >&5
10212 echo "${ECHO_T}no" >&6
10215 # Find a good install program. We prefer a C program (faster),
10216 # so one script is as good as another. But avoid the broken or
10217 # incompatible versions:
10218 # SysV /etc/install, /usr/sbin/install
10219 # SunOS /usr/etc/install
10220 # IRIX /sbin/install
10222 # AmigaOS /C/install, which installs bootblocks on floppy discs
10223 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
10224 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
10225 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
10226 # ./install, which can be erroneously created by make from ./install.sh.
10227 echo "$as_me:10227: checking for a BSD compatible install" >&5
10228 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
10229 if test -z "$INSTALL"; then
10230 if test "${ac_cv_path_install+set}" = set; then
10231 echo $ECHO_N "(cached) $ECHO_C" >&6
10233 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
10234 for ac_dir
in $PATH; do
10236 # Account for people who put trailing slashes in PATH elements.
10238 / | .
/ | .
// | /cC
/* \
10239 | /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* \
10242 # OSF1 and SCO ODT 3.0 have their own names for install.
10243 # Don't use installbsd from OSF since it installs stuff as root
10245 for ac_prog
in ginstall scoinst
install; do
10246 if $as_executable_p "$ac_dir/$ac_prog"; then
10247 if test $ac_prog = install &&
10248 grep dspmsg
"$ac_dir/$ac_prog" >/dev
/null
2>&1; then
10249 # AIX install. It has an incompatible calling convention.
10251 elif test $ac_prog = install &&
10252 grep pwplus
"$ac_dir/$ac_prog" >/dev
/null
2>&1; then
10253 # program-specific install script used by HP pwplus--don't use.
10256 ac_cv_path_install
="$ac_dir/$ac_prog -c"
10266 if test "${ac_cv_path_install+set}" = set; then
10267 INSTALL
=$ac_cv_path_install
10269 # As a last resort, use the slow shell script. We don't cache a
10270 # path for INSTALL within a source directory, because that will
10271 # break other packages using the cache if that directory is
10272 # removed, or if the path is relative.
10273 INSTALL
=$ac_install_sh
10276 echo "$as_me:10276: result: $INSTALL" >&5
10277 echo "${ECHO_T}$INSTALL" >&6
10279 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
10280 # It thinks the first close brace ends the variable substitution.
10281 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
10283 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
10285 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
10291 INSTALL
=`pwd`/${INSTALL} ;;
10296 powerpc
-*-darwin* )
10297 INSTALL_PROGRAM
="cp -fp"
10298 INSTALL_DATA
="cp -fp"
10304 # Extract the first word of "strip", so it can be a program name with args.
10305 set dummy strip
; ac_word
=$2
10306 echo "$as_me:10306: checking for $ac_word" >&5
10307 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10308 if test "${ac_cv_prog_STRIP+set}" = set; then
10309 echo $ECHO_N "(cached) $ECHO_C" >&6
10311 if test -n "$STRIP"; then
10312 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
10314 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
10316 for ac_dir
in $ac_dummy; do
10318 test -z "$ac_dir" && ac_dir
=.
10319 $as_executable_p "$ac_dir/$ac_word" || continue
10320 ac_cv_prog_STRIP
="strip"
10321 echo "$as_me:10321: found $ac_dir/$ac_word" >&5
10325 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
10328 STRIP
=$ac_cv_prog_STRIP
10329 if test -n "$STRIP"; then
10330 echo "$as_me:10330: result: $STRIP" >&5
10331 echo "${ECHO_T}$STRIP" >&6
10333 echo "$as_me:10333: result: no" >&5
10334 echo "${ECHO_T}no" >&6
10337 echo "$as_me:10337: checking if make is GNU make" >&5
10338 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
10339 if test "${wx_cv_prog_makeisgnu+set}" = set; then
10340 echo $ECHO_N "(cached) $ECHO_C" >&6
10343 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
10344 egrep -s GNU
> /dev
/null
); then
10345 wx_cv_prog_makeisgnu
="yes"
10347 wx_cv_prog_makeisgnu
="no"
10351 echo "$as_me:10351: result: $wx_cv_prog_makeisgnu" >&5
10352 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
10354 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
10360 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
10361 echo "$as_me:10361: checking if make supports VPATH" >&5
10362 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
10363 if test "${wx_cv_prog_makevpath+set}" = set; then
10364 echo $ECHO_N "(cached) $ECHO_C" >&6
10367 cat - << EOF > confMake
10373 if test ! -d sub
; then
10376 echo dummy
> sub
/file
10377 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
10379 rm -f sub
/file check final_file confMake
10381 if test "$RESULT" = 0; then
10382 wx_cv_prog_makevpath
="yes"
10384 wx_cv_prog_makevpath
="no"
10388 echo "$as_me:10388: result: $wx_cv_prog_makevpath" >&5
10389 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
10391 if test "x$wx_cv_prog_makevpath" != "xyes"; then
10392 { { echo "$as_me:10392: error:
10393 You need a make-utility that is able to use the variable
10395 If your version of make does not support VPATH correctly,
10396 please install GNU-make (possibly as gmake), and start
10397 configure with the following command:
10398 export MAKE=gmake; ./configure for sh-type shells
10399 setenv MAKE gmake; ./configure for csh-type shells
10400 Also please do remember to use gmake in this case every time
10401 you are trying to compile.
10403 echo "$as_me: error:
10404 You need a make-utility that is able to use the variable
10406 If your version of make does not support VPATH correctly,
10407 please install GNU-make (possibly as gmake), and start
10408 configure with the following command:
10409 export MAKE=gmake; ./configure for sh-type shells
10410 setenv MAKE gmake; ./configure for csh-type shells
10411 Also please do remember to use gmake in this case every time
10412 you are trying to compile.
10414 { (exit 1); exit 1; }; }
10416 for ac_prog
in 'bison -y' byacc
10418 # Extract the first word of "$ac_prog", so it can be a program name with args.
10419 set dummy
$ac_prog; ac_word
=$2
10420 echo "$as_me:10420: checking for $ac_word" >&5
10421 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10422 if test "${ac_cv_prog_YACC+set}" = set; then
10423 echo $ECHO_N "(cached) $ECHO_C" >&6
10425 if test -n "$YACC"; then
10426 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
10428 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
10430 for ac_dir
in $ac_dummy; do
10432 test -z "$ac_dir" && ac_dir
=.
10433 $as_executable_p "$ac_dir/$ac_word" || continue
10434 ac_cv_prog_YACC
="$ac_prog"
10435 echo "$as_me:10435: found $ac_dir/$ac_word" >&5
10441 YACC
=$ac_cv_prog_YACC
10442 if test -n "$YACC"; then
10443 echo "$as_me:10443: result: $YACC" >&5
10444 echo "${ECHO_T}$YACC" >&6
10446 echo "$as_me:10446: result: no" >&5
10447 echo "${ECHO_T}no" >&6
10450 test -n "$YACC" && break
10452 test -n "$YACC" || YACC
="yacc"
10454 for ac_prog
in flex
lex
10456 # Extract the first word of "$ac_prog", so it can be a program name with args.
10457 set dummy
$ac_prog; ac_word
=$2
10458 echo "$as_me:10458: checking for $ac_word" >&5
10459 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10460 if test "${ac_cv_prog_LEX+set}" = set; then
10461 echo $ECHO_N "(cached) $ECHO_C" >&6
10463 if test -n "$LEX"; then
10464 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
10466 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
10468 for ac_dir
in $ac_dummy; do
10470 test -z "$ac_dir" && ac_dir
=.
10471 $as_executable_p "$ac_dir/$ac_word" || continue
10472 ac_cv_prog_LEX
="$ac_prog"
10473 echo "$as_me:10473: found $ac_dir/$ac_word" >&5
10479 LEX
=$ac_cv_prog_LEX
10480 if test -n "$LEX"; then
10481 echo "$as_me:10481: result: $LEX" >&5
10482 echo "${ECHO_T}$LEX" >&6
10484 echo "$as_me:10484: result: no" >&5
10485 echo "${ECHO_T}no" >&6
10488 test -n "$LEX" && break
10490 test -n "$LEX" || LEX
=":"
10492 if test -z "$LEXLIB"
10494 echo "$as_me:10494: checking for yywrap in -lfl" >&5
10495 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
10496 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
10497 echo $ECHO_N "(cached) $ECHO_C" >&6
10499 ac_check_lib_save_LIBS
=$LIBS
10501 cat >conftest.
$ac_ext <<_ACEOF
10502 #line 10502 "configure"
10503 #include "confdefs.h"
10505 /* Override any gcc2 internal prototype to avoid an error. */
10509 /* We use char because int might match the return type of a gcc2
10510 builtin and then its argument prototype would still apply. */
10520 rm -f conftest.
$ac_objext conftest
$ac_exeext
10521 if { (eval echo "$as_me:10521: \"$ac_link\"") >&5
10522 (eval $ac_link) 2>&5
10524 echo "$as_me:10524: \$? = $ac_status" >&5
10525 (exit $ac_status); } &&
10526 { ac_try
='test -s conftest$ac_exeext'
10527 { (eval echo "$as_me:10527: \"$ac_try\"") >&5
10528 (eval $ac_try) 2>&5
10530 echo "$as_me:10530: \$? = $ac_status" >&5
10531 (exit $ac_status); }; }; then
10532 ac_cv_lib_fl_yywrap
=yes
10534 echo "$as_me: failed program was:" >&5
10535 cat conftest.
$ac_ext >&5
10536 ac_cv_lib_fl_yywrap
=no
10538 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10539 LIBS
=$ac_check_lib_save_LIBS
10541 echo "$as_me:10541: result: $ac_cv_lib_fl_yywrap" >&5
10542 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
10543 if test $ac_cv_lib_fl_yywrap = yes; then
10546 echo "$as_me:10546: checking for yywrap in -ll" >&5
10547 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
10548 if test "${ac_cv_lib_l_yywrap+set}" = set; then
10549 echo $ECHO_N "(cached) $ECHO_C" >&6
10551 ac_check_lib_save_LIBS
=$LIBS
10553 cat >conftest.
$ac_ext <<_ACEOF
10554 #line 10554 "configure"
10555 #include "confdefs.h"
10557 /* Override any gcc2 internal prototype to avoid an error. */
10561 /* We use char because int might match the return type of a gcc2
10562 builtin and then its argument prototype would still apply. */
10572 rm -f conftest.
$ac_objext conftest
$ac_exeext
10573 if { (eval echo "$as_me:10573: \"$ac_link\"") >&5
10574 (eval $ac_link) 2>&5
10576 echo "$as_me:10576: \$? = $ac_status" >&5
10577 (exit $ac_status); } &&
10578 { ac_try
='test -s conftest$ac_exeext'
10579 { (eval echo "$as_me:10579: \"$ac_try\"") >&5
10580 (eval $ac_try) 2>&5
10582 echo "$as_me:10582: \$? = $ac_status" >&5
10583 (exit $ac_status); }; }; then
10584 ac_cv_lib_l_yywrap
=yes
10586 echo "$as_me: failed program was:" >&5
10587 cat conftest.
$ac_ext >&5
10588 ac_cv_lib_l_yywrap
=no
10590 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10591 LIBS
=$ac_check_lib_save_LIBS
10593 echo "$as_me:10593: result: $ac_cv_lib_l_yywrap" >&5
10594 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
10595 if test $ac_cv_lib_l_yywrap = yes; then
10603 if test "x$LEX" != "x:"; then
10604 echo "$as_me:10604: checking lex output file root" >&5
10605 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
10606 if test "${ac_cv_prog_lex_root+set}" = set; then
10607 echo $ECHO_N "(cached) $ECHO_C" >&6
10609 # The minimal lex program is just a single line: %%. But some broken lexes
10610 # (Solaris, I think it was) want two %% lines, so accommodate them.
10613 if test -f lex.yy.c
; then
10614 ac_cv_prog_lex_root
=lex.yy
10615 elif test -f lexyy.c
; then
10616 ac_cv_prog_lex_root
=lexyy
10618 { { echo "$as_me:10618: error: cannot find output from $LEX; giving up" >&5
10619 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
10620 { (exit 1); exit 1; }; }
10623 echo "$as_me:10623: result: $ac_cv_prog_lex_root" >&5
10624 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
10625 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
10627 echo "$as_me:10627: checking whether yytext is a pointer" >&5
10628 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
10629 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
10630 echo $ECHO_N "(cached) $ECHO_C" >&6
10632 # POSIX says lex can declare yytext either as a pointer or an array; the
10633 # default is implementation-dependent. Figure out which it is, since
10634 # not all implementations provide the %pointer and %array declarations.
10635 ac_cv_prog_lex_yytext_pointer
=no
10636 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
10638 LIBS
="$LIBS $LEXLIB"
10639 cat >conftest.
$ac_ext <<_ACEOF
10640 `cat $LEX_OUTPUT_ROOT.c`
10642 rm -f conftest.
$ac_objext conftest
$ac_exeext
10643 if { (eval echo "$as_me:10643: \"$ac_link\"") >&5
10644 (eval $ac_link) 2>&5
10646 echo "$as_me:10646: \$? = $ac_status" >&5
10647 (exit $ac_status); } &&
10648 { ac_try
='test -s conftest$ac_exeext'
10649 { (eval echo "$as_me:10649: \"$ac_try\"") >&5
10650 (eval $ac_try) 2>&5
10652 echo "$as_me:10652: \$? = $ac_status" >&5
10653 (exit $ac_status); }; }; then
10654 ac_cv_prog_lex_yytext_pointer
=yes
10656 echo "$as_me: failed program was:" >&5
10657 cat conftest.
$ac_ext >&5
10659 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10661 rm -f "${LEX_OUTPUT_ROOT}.c"
10664 echo "$as_me:10664: result: $ac_cv_prog_lex_yytext_pointer" >&5
10665 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
10666 if test $ac_cv_prog_lex_yytext_pointer = yes; then
10668 cat >>confdefs.h
<<\EOF
10669 #define YYTEXT_POINTER 1
10676 echo "$as_me:10676: checking whether ln -s works" >&5
10677 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
10679 if test "$LN_S" = "ln -s"; then
10680 echo "$as_me:10680: result: yes" >&5
10681 echo "${ECHO_T}yes" >&6
10683 echo "$as_me:10683: result: no, using $LN_S" >&5
10684 echo "${ECHO_T}no, using $LN_S" >&6
10687 if test "$wxUSE_MAC" != 1; then
10689 for ac_header
in strings.h
10691 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10692 echo "$as_me:10692: checking for $ac_header" >&5
10693 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10694 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10695 echo $ECHO_N "(cached) $ECHO_C" >&6
10697 cat >conftest.
$ac_ext <<_ACEOF
10698 #line 10698 "configure"
10699 #include "confdefs.h"
10700 #include <$ac_header>
10702 if { (eval echo "$as_me:10702: \"$ac_cpp conftest.$ac_ext\"") >&5
10703 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10705 egrep -v '^ *\+' conftest.er1
>conftest.err
10707 cat conftest.err
>&5
10708 echo "$as_me:10708: \$? = $ac_status" >&5
10709 (exit $ac_status); } >/dev
/null
; then
10710 if test -s conftest.err
; then
10711 ac_cpp_err
=$ac_c_preproc_warn_flag
10718 if test -z "$ac_cpp_err"; then
10719 eval "$as_ac_Header=yes"
10721 echo "$as_me: failed program was:" >&5
10722 cat conftest.
$ac_ext >&5
10723 eval "$as_ac_Header=no"
10725 rm -f conftest.err conftest.
$ac_ext
10727 echo "$as_me:10727: result: `eval echo '${'$as_ac_Header'}'`" >&5
10728 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10729 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10730 cat >>confdefs.h
<<EOF
10731 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10739 for ac_header
in stdlib.h
10741 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10742 echo "$as_me:10742: checking for $ac_header" >&5
10743 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10744 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10745 echo $ECHO_N "(cached) $ECHO_C" >&6
10747 cat >conftest.
$ac_ext <<_ACEOF
10748 #line 10748 "configure"
10749 #include "confdefs.h"
10750 #include <$ac_header>
10752 if { (eval echo "$as_me:10752: \"$ac_cpp conftest.$ac_ext\"") >&5
10753 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10755 egrep -v '^ *\+' conftest.er1
>conftest.err
10757 cat conftest.err
>&5
10758 echo "$as_me:10758: \$? = $ac_status" >&5
10759 (exit $ac_status); } >/dev
/null
; then
10760 if test -s conftest.err
; then
10761 ac_cpp_err
=$ac_c_preproc_warn_flag
10768 if test -z "$ac_cpp_err"; then
10769 eval "$as_ac_Header=yes"
10771 echo "$as_me: failed program was:" >&5
10772 cat conftest.
$ac_ext >&5
10773 eval "$as_ac_Header=no"
10775 rm -f conftest.err conftest.
$ac_ext
10777 echo "$as_me:10777: result: `eval echo '${'$as_ac_Header'}'`" >&5
10778 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10779 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10780 cat >>confdefs.h
<<EOF
10781 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10787 for ac_header
in malloc.h
10789 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10790 echo "$as_me:10790: checking for $ac_header" >&5
10791 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10792 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10793 echo $ECHO_N "(cached) $ECHO_C" >&6
10795 cat >conftest.
$ac_ext <<_ACEOF
10796 #line 10796 "configure"
10797 #include "confdefs.h"
10798 #include <$ac_header>
10800 if { (eval echo "$as_me:10800: \"$ac_cpp conftest.$ac_ext\"") >&5
10801 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10803 egrep -v '^ *\+' conftest.er1
>conftest.err
10805 cat conftest.err
>&5
10806 echo "$as_me:10806: \$? = $ac_status" >&5
10807 (exit $ac_status); } >/dev
/null
; then
10808 if test -s conftest.err
; then
10809 ac_cpp_err
=$ac_c_preproc_warn_flag
10816 if test -z "$ac_cpp_err"; then
10817 eval "$as_ac_Header=yes"
10819 echo "$as_me: failed program was:" >&5
10820 cat conftest.
$ac_ext >&5
10821 eval "$as_ac_Header=no"
10823 rm -f conftest.err conftest.
$ac_ext
10825 echo "$as_me:10825: result: `eval echo '${'$as_ac_Header'}'`" >&5
10826 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10827 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10828 cat >>confdefs.h
<<EOF
10829 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10835 for ac_header
in unistd.h
10837 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10838 echo "$as_me:10838: checking for $ac_header" >&5
10839 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10840 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10841 echo $ECHO_N "(cached) $ECHO_C" >&6
10843 cat >conftest.
$ac_ext <<_ACEOF
10844 #line 10844 "configure"
10845 #include "confdefs.h"
10846 #include <$ac_header>
10848 if { (eval echo "$as_me:10848: \"$ac_cpp conftest.$ac_ext\"") >&5
10849 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10851 egrep -v '^ *\+' conftest.er1
>conftest.err
10853 cat conftest.err
>&5
10854 echo "$as_me:10854: \$? = $ac_status" >&5
10855 (exit $ac_status); } >/dev
/null
; then
10856 if test -s conftest.err
; then
10857 ac_cpp_err
=$ac_c_preproc_warn_flag
10864 if test -z "$ac_cpp_err"; then
10865 eval "$as_ac_Header=yes"
10867 echo "$as_me: failed program was:" >&5
10868 cat conftest.
$ac_ext >&5
10869 eval "$as_ac_Header=no"
10871 rm -f conftest.err conftest.
$ac_ext
10873 echo "$as_me:10873: result: `eval echo '${'$as_ac_Header'}'`" >&5
10874 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10875 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10876 cat >>confdefs.h
<<EOF
10877 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10883 for ac_header
in wchar.h
10885 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10886 echo "$as_me:10886: checking for $ac_header" >&5
10887 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10888 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10889 echo $ECHO_N "(cached) $ECHO_C" >&6
10891 cat >conftest.
$ac_ext <<_ACEOF
10892 #line 10892 "configure"
10893 #include "confdefs.h"
10894 #include <$ac_header>
10896 if { (eval echo "$as_me:10896: \"$ac_cpp conftest.$ac_ext\"") >&5
10897 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10899 egrep -v '^ *\+' conftest.er1
>conftest.err
10901 cat conftest.err
>&5
10902 echo "$as_me:10902: \$? = $ac_status" >&5
10903 (exit $ac_status); } >/dev
/null
; then
10904 if test -s conftest.err
; then
10905 ac_cpp_err
=$ac_c_preproc_warn_flag
10912 if test -z "$ac_cpp_err"; then
10913 eval "$as_ac_Header=yes"
10915 echo "$as_me: failed program was:" >&5
10916 cat conftest.
$ac_ext >&5
10917 eval "$as_ac_Header=no"
10919 rm -f conftest.err conftest.
$ac_ext
10921 echo "$as_me:10921: result: `eval echo '${'$as_ac_Header'}'`" >&5
10922 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10923 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10924 cat >>confdefs.h
<<EOF
10925 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10931 if test "$ac_cv_header_wchar_h" != "yes"; then
10933 for ac_header
in wcstr.h
10935 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10936 echo "$as_me:10936: checking for $ac_header" >&5
10937 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10938 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10939 echo $ECHO_N "(cached) $ECHO_C" >&6
10941 cat >conftest.
$ac_ext <<_ACEOF
10942 #line 10942 "configure"
10943 #include "confdefs.h"
10944 #include <$ac_header>
10946 if { (eval echo "$as_me:10946: \"$ac_cpp conftest.$ac_ext\"") >&5
10947 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10949 egrep -v '^ *\+' conftest.er1
>conftest.err
10951 cat conftest.err
>&5
10952 echo "$as_me:10952: \$? = $ac_status" >&5
10953 (exit $ac_status); } >/dev
/null
; then
10954 if test -s conftest.err
; then
10955 ac_cpp_err
=$ac_c_preproc_warn_flag
10962 if test -z "$ac_cpp_err"; then
10963 eval "$as_ac_Header=yes"
10965 echo "$as_me: failed program was:" >&5
10966 cat conftest.
$ac_ext >&5
10967 eval "$as_ac_Header=no"
10969 rm -f conftest.err conftest.
$ac_ext
10971 echo "$as_me:10971: result: `eval echo '${'$as_ac_Header'}'`" >&5
10972 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10973 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10974 cat >>confdefs.h
<<EOF
10975 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10983 for ac_header
in fnmatch.h
10985 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10986 echo "$as_me:10986: checking for $ac_header" >&5
10987 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10988 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10989 echo $ECHO_N "(cached) $ECHO_C" >&6
10991 cat >conftest.
$ac_ext <<_ACEOF
10992 #line 10992 "configure"
10993 #include "confdefs.h"
10994 #include <$ac_header>
10996 if { (eval echo "$as_me:10996: \"$ac_cpp conftest.$ac_ext\"") >&5
10997 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10999 egrep -v '^ *\+' conftest.er1
>conftest.err
11001 cat conftest.err
>&5
11002 echo "$as_me:11002: \$? = $ac_status" >&5
11003 (exit $ac_status); } >/dev
/null
; then
11004 if test -s conftest.err
; then
11005 ac_cpp_err
=$ac_c_preproc_warn_flag
11012 if test -z "$ac_cpp_err"; then
11013 eval "$as_ac_Header=yes"
11015 echo "$as_me: failed program was:" >&5
11016 cat conftest.
$ac_ext >&5
11017 eval "$as_ac_Header=no"
11019 rm -f conftest.err conftest.
$ac_ext
11021 echo "$as_me:11021: result: `eval echo '${'$as_ac_Header'}'`" >&5
11022 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11023 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11024 cat >>confdefs.h
<<EOF
11025 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11031 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
11033 for ac_func
in fnmatch
11035 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11036 echo "$as_me:11036: checking for $ac_func" >&5
11037 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11038 if eval "test \"\${$as_ac_var+set}\" = set"; then
11039 echo $ECHO_N "(cached) $ECHO_C" >&6
11041 cat >conftest.
$ac_ext <<_ACEOF
11042 #line 11042 "configure"
11043 #include "confdefs.h"
11044 /* System header to define __stub macros and hopefully few prototypes,
11045 which can conflict with char $ac_func (); below. */
11046 #include <assert.h>
11047 /* Override any gcc2 internal prototype to avoid an error. */
11051 /* We use char because int might match the return type of a gcc2
11052 builtin and then its argument prototype would still apply. */
11059 /* The GNU C library defines this for functions which it implements
11060 to always fail with ENOSYS. Some functions are actually named
11061 something starting with __ and the normal name is an alias. */
11062 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11072 rm -f conftest.
$ac_objext conftest
$ac_exeext
11073 if { (eval echo "$as_me:11073: \"$ac_link\"") >&5
11074 (eval $ac_link) 2>&5
11076 echo "$as_me:11076: \$? = $ac_status" >&5
11077 (exit $ac_status); } &&
11078 { ac_try
='test -s conftest$ac_exeext'
11079 { (eval echo "$as_me:11079: \"$ac_try\"") >&5
11080 (eval $ac_try) 2>&5
11082 echo "$as_me:11082: \$? = $ac_status" >&5
11083 (exit $ac_status); }; }; then
11084 eval "$as_ac_var=yes"
11086 echo "$as_me: failed program was:" >&5
11087 cat conftest.
$ac_ext >&5
11088 eval "$as_ac_var=no"
11090 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11092 echo "$as_me:11092: result: `eval echo '${'$as_ac_var'}'`" >&5
11093 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11094 if test `eval echo '${'$as_ac_var'}'` = yes; then
11095 cat >>confdefs.h
<<EOF
11096 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11104 for ac_header
in langinfo.h
11106 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11107 echo "$as_me:11107: checking for $ac_header" >&5
11108 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11109 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11110 echo $ECHO_N "(cached) $ECHO_C" >&6
11112 cat >conftest.
$ac_ext <<_ACEOF
11113 #line 11113 "configure"
11114 #include "confdefs.h"
11115 #include <$ac_header>
11117 if { (eval echo "$as_me:11117: \"$ac_cpp conftest.$ac_ext\"") >&5
11118 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11120 egrep -v '^ *\+' conftest.er1
>conftest.err
11122 cat conftest.err
>&5
11123 echo "$as_me:11123: \$? = $ac_status" >&5
11124 (exit $ac_status); } >/dev
/null
; then
11125 if test -s conftest.err
; then
11126 ac_cpp_err
=$ac_c_preproc_warn_flag
11133 if test -z "$ac_cpp_err"; then
11134 eval "$as_ac_Header=yes"
11136 echo "$as_me: failed program was:" >&5
11137 cat conftest.
$ac_ext >&5
11138 eval "$as_ac_Header=no"
11140 rm -f conftest.err conftest.
$ac_ext
11142 echo "$as_me:11142: result: `eval echo '${'$as_ac_Header'}'`" >&5
11143 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11144 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11145 cat >>confdefs.h
<<EOF
11146 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11152 if test "$wxUSE_GUI" = "yes"; then
11153 if test "$wxUSE_UNIX" = "yes"; then
11155 for ac_header
in X
11/XKBlib.h
11157 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11158 echo "$as_me:11158: checking for $ac_header" >&5
11159 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11160 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11161 echo $ECHO_N "(cached) $ECHO_C" >&6
11163 cat >conftest.
$ac_ext <<_ACEOF
11164 #line 11164 "configure"
11165 #include "confdefs.h"
11166 #include <$ac_header>
11168 if { (eval echo "$as_me:11168: \"$ac_cpp conftest.$ac_ext\"") >&5
11169 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11171 egrep -v '^ *\+' conftest.er1
>conftest.err
11173 cat conftest.err
>&5
11174 echo "$as_me:11174: \$? = $ac_status" >&5
11175 (exit $ac_status); } >/dev
/null
; then
11176 if test -s conftest.err
; then
11177 ac_cpp_err
=$ac_c_preproc_warn_flag
11184 if test -z "$ac_cpp_err"; then
11185 eval "$as_ac_Header=yes"
11187 echo "$as_me: failed program was:" >&5
11188 cat conftest.
$ac_ext >&5
11189 eval "$as_ac_Header=no"
11191 rm -f conftest.err conftest.
$ac_ext
11193 echo "$as_me:11193: result: `eval echo '${'$as_ac_Header'}'`" >&5
11194 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11195 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11196 cat >>confdefs.h
<<EOF
11197 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11206 echo "$as_me:11206: checking for $CC option to accept ANSI C" >&5
11207 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11208 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11209 echo $ECHO_N "(cached) $ECHO_C" >&6
11211 ac_cv_prog_cc_stdc
=no
11213 cat >conftest.
$ac_ext <<_ACEOF
11214 #line 11214 "configure"
11215 #include "confdefs.h"
11216 #include <stdarg.h>
11218 #include <sys/types.h>
11219 #include <sys/stat.h>
11220 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11221 struct buf { int x; };
11222 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11223 static char *e (p, i)
11229 static char *f (char * (*g) (char **, int), char **p, ...)
11234 s = g (p, va_arg (v,int));
11238 int test (int i, double x);
11239 struct s1 {int (*f) (int a);};
11240 struct s2 {int (*f) (double a);};
11241 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11247 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11252 # Don't try gcc -ansi; that turns off useful extensions and
11253 # breaks some systems' header files.
11254 # AIX -qlanglvl=ansi
11255 # Ultrix and OSF/1 -std1
11256 # HP-UX 10.20 and later -Ae
11257 # HP-UX older versions -Aa -D_HPUX_SOURCE
11258 # SVR4 -Xc -D__EXTENSIONS__
11259 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11261 CC
="$ac_save_CC $ac_arg"
11262 rm -f conftest.
$ac_objext
11263 if { (eval echo "$as_me:11263: \"$ac_compile\"") >&5
11264 (eval $ac_compile) 2>&5
11266 echo "$as_me:11266: \$? = $ac_status" >&5
11267 (exit $ac_status); } &&
11268 { ac_try
='test -s conftest.$ac_objext'
11269 { (eval echo "$as_me:11269: \"$ac_try\"") >&5
11270 (eval $ac_try) 2>&5
11272 echo "$as_me:11272: \$? = $ac_status" >&5
11273 (exit $ac_status); }; }; then
11274 ac_cv_prog_cc_stdc
=$ac_arg
11277 echo "$as_me: failed program was:" >&5
11278 cat conftest.
$ac_ext >&5
11280 rm -f conftest.
$ac_objext
11282 rm -f conftest.
$ac_ext conftest.
$ac_objext
11287 case "x$ac_cv_prog_cc_stdc" in
11289 echo "$as_me:11289: result: none needed" >&5
11290 echo "${ECHO_T}none needed" >&6 ;;
11292 echo "$as_me:11292: result: $ac_cv_prog_cc_stdc" >&5
11293 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11294 CC
="$CC $ac_cv_prog_cc_stdc" ;;
11297 echo "$as_me:11297: checking for an ANSI C-conforming const" >&5
11298 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
11299 if test "${ac_cv_c_const+set}" = set; then
11300 echo $ECHO_N "(cached) $ECHO_C" >&6
11302 cat >conftest.
$ac_ext <<_ACEOF
11303 #line 11303 "configure"
11304 #include "confdefs.h"
11309 /* FIXME: Include the comments suggested by Paul. */
11310 #ifndef __cplusplus
11311 /* Ultrix mips cc rejects this. */
11312 typedef int charset[2];
11314 /* SunOS 4.1.1 cc rejects this. */
11315 char const *const *ccp;
11317 /* NEC SVR4.0.2 mips cc rejects this. */
11318 struct point {int x, y;};
11319 static struct point const zero = {0,0};
11320 /* AIX XL C 1.02.0.0 rejects this.
11321 It does not let you subtract one const X* pointer from another in
11322 an arm of an if-expression whose if-part is not a constant
11324 const char *g = "string";
11325 ccp = &g + (g ? g-g : 0);
11326 /* HPUX 7.0 cc rejects these. */
11329 ccp = (char const *const *) p;
11330 { /* SCO 3.2v4 cc rejects this. */
11332 char const *s = 0 ? (char *) 0 : (char const *) 0;
11336 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
11337 int x[] = {25, 17};
11338 const int *foo = &x[0];
11341 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
11342 typedef const int *iptr;
11346 { /* AIX XL C 1.02.0.0 rejects this saying
11347 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
11348 struct s { int j; const int *ap[3]; };
11349 struct s *b; b->j = 5;
11351 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
11352 const int foo = 10;
11360 rm -f conftest.
$ac_objext
11361 if { (eval echo "$as_me:11361: \"$ac_compile\"") >&5
11362 (eval $ac_compile) 2>&5
11364 echo "$as_me:11364: \$? = $ac_status" >&5
11365 (exit $ac_status); } &&
11366 { ac_try
='test -s conftest.$ac_objext'
11367 { (eval echo "$as_me:11367: \"$ac_try\"") >&5
11368 (eval $ac_try) 2>&5
11370 echo "$as_me:11370: \$? = $ac_status" >&5
11371 (exit $ac_status); }; }; then
11374 echo "$as_me: failed program was:" >&5
11375 cat conftest.
$ac_ext >&5
11378 rm -f conftest.
$ac_objext conftest.
$ac_ext
11380 echo "$as_me:11380: result: $ac_cv_c_const" >&5
11381 echo "${ECHO_T}$ac_cv_c_const" >&6
11382 if test $ac_cv_c_const = no
; then
11384 cat >>confdefs.h
<<\EOF
11390 echo "$as_me:11390: checking for inline" >&5
11391 echo $ECHO_N "checking for inline... $ECHO_C" >&6
11392 if test "${ac_cv_c_inline+set}" = set; then
11393 echo $ECHO_N "(cached) $ECHO_C" >&6
11396 for ac_kw
in inline __inline__ __inline
; do
11397 cat >conftest.
$ac_ext <<_ACEOF
11398 #line 11398 "configure"
11399 #include "confdefs.h"
11400 #ifndef __cplusplus
11401 static $ac_kw int static_foo () {return 0; }
11402 $ac_kw int foo () {return 0; }
11406 rm -f conftest.
$ac_objext
11407 if { (eval echo "$as_me:11407: \"$ac_compile\"") >&5
11408 (eval $ac_compile) 2>&5
11410 echo "$as_me:11410: \$? = $ac_status" >&5
11411 (exit $ac_status); } &&
11412 { ac_try
='test -s conftest.$ac_objext'
11413 { (eval echo "$as_me:11413: \"$ac_try\"") >&5
11414 (eval $ac_try) 2>&5
11416 echo "$as_me:11416: \$? = $ac_status" >&5
11417 (exit $ac_status); }; }; then
11418 ac_cv_c_inline
=$ac_kw; break
11420 echo "$as_me: failed program was:" >&5
11421 cat conftest.
$ac_ext >&5
11423 rm -f conftest.
$ac_objext conftest.
$ac_ext
11427 echo "$as_me:11427: result: $ac_cv_c_inline" >&5
11428 echo "${ECHO_T}$ac_cv_c_inline" >&6
11429 case $ac_cv_c_inline in
11432 cat >>confdefs.h
<<\EOF
11436 *) cat >>confdefs.h
<<EOF
11437 #define inline $ac_cv_c_inline
11442 echo "$as_me:11442: checking for ANSI C header files" >&5
11443 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
11444 if test "${ac_cv_header_stdc+set}" = set; then
11445 echo $ECHO_N "(cached) $ECHO_C" >&6
11447 cat >conftest.
$ac_ext <<_ACEOF
11448 #line 11448 "configure"
11449 #include "confdefs.h"
11450 #include <stdlib.h>
11451 #include <stdarg.h>
11452 #include <string.h>
11456 if { (eval echo "$as_me:11456: \"$ac_cpp conftest.$ac_ext\"") >&5
11457 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11459 egrep -v '^ *\+' conftest.er1
>conftest.err
11461 cat conftest.err
>&5
11462 echo "$as_me:11462: \$? = $ac_status" >&5
11463 (exit $ac_status); } >/dev
/null
; then
11464 if test -s conftest.err
; then
11465 ac_cpp_err
=$ac_c_preproc_warn_flag
11472 if test -z "$ac_cpp_err"; then
11473 ac_cv_header_stdc
=yes
11475 echo "$as_me: failed program was:" >&5
11476 cat conftest.
$ac_ext >&5
11477 ac_cv_header_stdc
=no
11479 rm -f conftest.err conftest.
$ac_ext
11481 if test $ac_cv_header_stdc = yes; then
11482 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11483 cat >conftest.
$ac_ext <<_ACEOF
11484 #line 11484 "configure"
11485 #include "confdefs.h"
11486 #include <string.h>
11489 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11490 egrep "memchr" >/dev
/null
2>&1; then
11493 ac_cv_header_stdc
=no
11499 if test $ac_cv_header_stdc = yes; then
11500 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11501 cat >conftest.
$ac_ext <<_ACEOF
11502 #line 11502 "configure"
11503 #include "confdefs.h"
11504 #include <stdlib.h>
11507 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11508 egrep "free" >/dev
/null
2>&1; then
11511 ac_cv_header_stdc
=no
11517 if test $ac_cv_header_stdc = yes; then
11518 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11519 if test "$cross_compiling" = yes; then
11522 cat >conftest.
$ac_ext <<_ACEOF
11523 #line 11523 "configure"
11524 #include "confdefs.h"
11526 #if ((' ' & 0x0FF) == 0x020)
11527 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11528 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11530 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
11531 || ('j' <= (c) && (c) <= 'r') \
11532 || ('s' <= (c) && (c) <= 'z'))
11533 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11536 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11541 for (i = 0; i < 256; i++)
11542 if (XOR (islower (i), ISLOWER (i))
11543 || toupper (i) != TOUPPER (i))
11548 rm -f conftest
$ac_exeext
11549 if { (eval echo "$as_me:11549: \"$ac_link\"") >&5
11550 (eval $ac_link) 2>&5
11552 echo "$as_me:11552: \$? = $ac_status" >&5
11553 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11554 { (eval echo "$as_me:11554: \"$ac_try\"") >&5
11555 (eval $ac_try) 2>&5
11557 echo "$as_me:11557: \$? = $ac_status" >&5
11558 (exit $ac_status); }; }; then
11561 echo "$as_me: program exited with status $ac_status" >&5
11562 echo "$as_me: failed program was:" >&5
11563 cat conftest.
$ac_ext >&5
11564 ac_cv_header_stdc
=no
11566 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11570 echo "$as_me:11570: result: $ac_cv_header_stdc" >&5
11571 echo "${ECHO_T}$ac_cv_header_stdc" >&6
11572 if test $ac_cv_header_stdc = yes; then
11574 cat >>confdefs.h
<<\EOF
11575 #define STDC_HEADERS 1
11580 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
11582 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
11583 inttypes.h stdint.h unistd.h
11585 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11586 echo "$as_me:11586: checking for $ac_header" >&5
11587 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11588 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11589 echo $ECHO_N "(cached) $ECHO_C" >&6
11591 cat >conftest.
$ac_ext <<_ACEOF
11592 #line 11592 "configure"
11593 #include "confdefs.h"
11594 $ac_includes_default
11595 #include <$ac_header>
11597 rm -f conftest.
$ac_objext
11598 if { (eval echo "$as_me:11598: \"$ac_compile\"") >&5
11599 (eval $ac_compile) 2>&5
11601 echo "$as_me:11601: \$? = $ac_status" >&5
11602 (exit $ac_status); } &&
11603 { ac_try
='test -s conftest.$ac_objext'
11604 { (eval echo "$as_me:11604: \"$ac_try\"") >&5
11605 (eval $ac_try) 2>&5
11607 echo "$as_me:11607: \$? = $ac_status" >&5
11608 (exit $ac_status); }; }; then
11609 eval "$as_ac_Header=yes"
11611 echo "$as_me: failed program was:" >&5
11612 cat conftest.
$ac_ext >&5
11613 eval "$as_ac_Header=no"
11615 rm -f conftest.
$ac_objext conftest.
$ac_ext
11617 echo "$as_me:11617: result: `eval echo '${'$as_ac_Header'}'`" >&5
11618 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11619 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11620 cat >>confdefs.h
<<EOF
11621 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11627 echo "$as_me:11627: checking for char" >&5
11628 echo $ECHO_N "checking for char... $ECHO_C" >&6
11629 if test "${ac_cv_type_char+set}" = set; then
11630 echo $ECHO_N "(cached) $ECHO_C" >&6
11632 cat >conftest.
$ac_ext <<_ACEOF
11633 #line 11633 "configure"
11634 #include "confdefs.h"
11635 $ac_includes_default
11647 rm -f conftest.
$ac_objext
11648 if { (eval echo "$as_me:11648: \"$ac_compile\"") >&5
11649 (eval $ac_compile) 2>&5
11651 echo "$as_me:11651: \$? = $ac_status" >&5
11652 (exit $ac_status); } &&
11653 { ac_try
='test -s conftest.$ac_objext'
11654 { (eval echo "$as_me:11654: \"$ac_try\"") >&5
11655 (eval $ac_try) 2>&5
11657 echo "$as_me:11657: \$? = $ac_status" >&5
11658 (exit $ac_status); }; }; then
11659 ac_cv_type_char
=yes
11661 echo "$as_me: failed program was:" >&5
11662 cat conftest.
$ac_ext >&5
11665 rm -f conftest.
$ac_objext conftest.
$ac_ext
11667 echo "$as_me:11667: result: $ac_cv_type_char" >&5
11668 echo "${ECHO_T}$ac_cv_type_char" >&6
11670 echo "$as_me:11670: checking size of char" >&5
11671 echo $ECHO_N "checking size of char... $ECHO_C" >&6
11672 if test "${ac_cv_sizeof_char+set}" = set; then
11673 echo $ECHO_N "(cached) $ECHO_C" >&6
11675 if test "$ac_cv_type_char" = yes; then
11676 if test "$cross_compiling" = yes; then
11677 # Depending upon the size, compute the lo and hi bounds.
11678 cat >conftest.
$ac_ext <<_ACEOF
11679 #line 11679 "configure"
11680 #include "confdefs.h"
11681 $ac_includes_default
11685 int _array_ [1 - 2 * !((sizeof (char)) >= 0)]
11690 rm -f conftest.
$ac_objext
11691 if { (eval echo "$as_me:11691: \"$ac_compile\"") >&5
11692 (eval $ac_compile) 2>&5
11694 echo "$as_me:11694: \$? = $ac_status" >&5
11695 (exit $ac_status); } &&
11696 { ac_try
='test -s conftest.$ac_objext'
11697 { (eval echo "$as_me:11697: \"$ac_try\"") >&5
11698 (eval $ac_try) 2>&5
11700 echo "$as_me:11700: \$? = $ac_status" >&5
11701 (exit $ac_status); }; }; then
11704 cat >conftest.
$ac_ext <<_ACEOF
11705 #line 11705 "configure"
11706 #include "confdefs.h"
11707 $ac_includes_default
11711 int _array_ [1 - 2 * !((sizeof (char)) <= $ac_mid)]
11716 rm -f conftest.
$ac_objext
11717 if { (eval echo "$as_me:11717: \"$ac_compile\"") >&5
11718 (eval $ac_compile) 2>&5
11720 echo "$as_me:11720: \$? = $ac_status" >&5
11721 (exit $ac_status); } &&
11722 { ac_try
='test -s conftest.$ac_objext'
11723 { (eval echo "$as_me:11723: \"$ac_try\"") >&5
11724 (eval $ac_try) 2>&5
11726 echo "$as_me:11726: \$? = $ac_status" >&5
11727 (exit $ac_status); }; }; then
11728 ac_hi
=$ac_mid; break
11730 echo "$as_me: failed program was:" >&5
11731 cat conftest.
$ac_ext >&5
11732 ac_lo
=`expr $ac_mid + 1`; ac_mid
=`expr 2 '*' $ac_mid + 1`
11734 rm -f conftest.
$ac_objext conftest.
$ac_ext
11737 echo "$as_me: failed program was:" >&5
11738 cat conftest.
$ac_ext >&5
11741 cat >conftest.
$ac_ext <<_ACEOF
11742 #line 11742 "configure"
11743 #include "confdefs.h"
11744 $ac_includes_default
11748 int _array_ [1 - 2 * !((sizeof (char)) >= $ac_mid)]
11753 rm -f conftest.
$ac_objext
11754 if { (eval echo "$as_me:11754: \"$ac_compile\"") >&5
11755 (eval $ac_compile) 2>&5
11757 echo "$as_me:11757: \$? = $ac_status" >&5
11758 (exit $ac_status); } &&
11759 { ac_try
='test -s conftest.$ac_objext'
11760 { (eval echo "$as_me:11760: \"$ac_try\"") >&5
11761 (eval $ac_try) 2>&5
11763 echo "$as_me:11763: \$? = $ac_status" >&5
11764 (exit $ac_status); }; }; then
11765 ac_lo
=$ac_mid; break
11767 echo "$as_me: failed program was:" >&5
11768 cat conftest.
$ac_ext >&5
11769 ac_hi
=`expr $ac_mid - 1`; ac_mid
=`expr 2 '*' $ac_mid`
11771 rm -f conftest.
$ac_objext conftest.
$ac_ext
11774 rm -f conftest.
$ac_objext conftest.
$ac_ext
11775 # Binary search between lo and hi bounds.
11776 while test "x$ac_lo" != "x$ac_hi"; do
11777 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
11778 cat >conftest.
$ac_ext <<_ACEOF
11779 #line 11779 "configure"
11780 #include "confdefs.h"
11781 $ac_includes_default
11785 int _array_ [1 - 2 * !((sizeof (char)) <= $ac_mid)]
11790 rm -f conftest.
$ac_objext
11791 if { (eval echo "$as_me:11791: \"$ac_compile\"") >&5
11792 (eval $ac_compile) 2>&5
11794 echo "$as_me:11794: \$? = $ac_status" >&5
11795 (exit $ac_status); } &&
11796 { ac_try
='test -s conftest.$ac_objext'
11797 { (eval echo "$as_me:11797: \"$ac_try\"") >&5
11798 (eval $ac_try) 2>&5
11800 echo "$as_me:11800: \$? = $ac_status" >&5
11801 (exit $ac_status); }; }; then
11804 echo "$as_me: failed program was:" >&5
11805 cat conftest.
$ac_ext >&5
11806 ac_lo
=`expr $ac_mid + 1`
11808 rm -f conftest.
$ac_objext conftest.
$ac_ext
11810 ac_cv_sizeof_char
=$ac_lo
11812 if test "$cross_compiling" = yes; then
11813 { { echo "$as_me:11813: error: cannot run test program while cross compiling" >&5
11814 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
11815 { (exit 1); exit 1; }; }
11817 cat >conftest.
$ac_ext <<_ACEOF
11818 #line 11818 "configure"
11819 #include "confdefs.h"
11820 $ac_includes_default
11824 FILE *f = fopen ("conftest.val", "w");
11827 fprintf (f, "%d", (sizeof (char)));
11833 rm -f conftest
$ac_exeext
11834 if { (eval echo "$as_me:11834: \"$ac_link\"") >&5
11835 (eval $ac_link) 2>&5
11837 echo "$as_me:11837: \$? = $ac_status" >&5
11838 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11839 { (eval echo "$as_me:11839: \"$ac_try\"") >&5
11840 (eval $ac_try) 2>&5
11842 echo "$as_me:11842: \$? = $ac_status" >&5
11843 (exit $ac_status); }; }; then
11844 ac_cv_sizeof_char
=`cat conftest.val`
11846 echo "$as_me: program exited with status $ac_status" >&5
11847 echo "$as_me: failed program was:" >&5
11848 cat conftest.
$ac_ext >&5
11850 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11855 ac_cv_sizeof_char
=0
11858 echo "$as_me:11858: result: $ac_cv_sizeof_char" >&5
11859 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
11860 cat >>confdefs.h
<<EOF
11861 #define SIZEOF_CHAR $ac_cv_sizeof_char
11864 echo "$as_me:11864: checking for short" >&5
11865 echo $ECHO_N "checking for short... $ECHO_C" >&6
11866 if test "${ac_cv_type_short+set}" = set; then
11867 echo $ECHO_N "(cached) $ECHO_C" >&6
11869 cat >conftest.
$ac_ext <<_ACEOF
11870 #line 11870 "configure"
11871 #include "confdefs.h"
11872 $ac_includes_default
11878 if (sizeof (short))
11884 rm -f conftest.
$ac_objext
11885 if { (eval echo "$as_me:11885: \"$ac_compile\"") >&5
11886 (eval $ac_compile) 2>&5
11888 echo "$as_me:11888: \$? = $ac_status" >&5
11889 (exit $ac_status); } &&
11890 { ac_try
='test -s conftest.$ac_objext'
11891 { (eval echo "$as_me:11891: \"$ac_try\"") >&5
11892 (eval $ac_try) 2>&5
11894 echo "$as_me:11894: \$? = $ac_status" >&5
11895 (exit $ac_status); }; }; then
11896 ac_cv_type_short
=yes
11898 echo "$as_me: failed program was:" >&5
11899 cat conftest.
$ac_ext >&5
11900 ac_cv_type_short
=no
11902 rm -f conftest.
$ac_objext conftest.
$ac_ext
11904 echo "$as_me:11904: result: $ac_cv_type_short" >&5
11905 echo "${ECHO_T}$ac_cv_type_short" >&6
11907 echo "$as_me:11907: checking size of short" >&5
11908 echo $ECHO_N "checking size of short... $ECHO_C" >&6
11909 if test "${ac_cv_sizeof_short+set}" = set; then
11910 echo $ECHO_N "(cached) $ECHO_C" >&6
11912 if test "$ac_cv_type_short" = yes; then
11913 if test "$cross_compiling" = yes; then
11914 # Depending upon the size, compute the lo and hi bounds.
11915 cat >conftest.
$ac_ext <<_ACEOF
11916 #line 11916 "configure"
11917 #include "confdefs.h"
11918 $ac_includes_default
11922 int _array_ [1 - 2 * !((sizeof (short)) >= 0)]
11927 rm -f conftest.
$ac_objext
11928 if { (eval echo "$as_me:11928: \"$ac_compile\"") >&5
11929 (eval $ac_compile) 2>&5
11931 echo "$as_me:11931: \$? = $ac_status" >&5
11932 (exit $ac_status); } &&
11933 { ac_try
='test -s conftest.$ac_objext'
11934 { (eval echo "$as_me:11934: \"$ac_try\"") >&5
11935 (eval $ac_try) 2>&5
11937 echo "$as_me:11937: \$? = $ac_status" >&5
11938 (exit $ac_status); }; }; then
11941 cat >conftest.
$ac_ext <<_ACEOF
11942 #line 11942 "configure"
11943 #include "confdefs.h"
11944 $ac_includes_default
11948 int _array_ [1 - 2 * !((sizeof (short)) <= $ac_mid)]
11953 rm -f conftest.
$ac_objext
11954 if { (eval echo "$as_me:11954: \"$ac_compile\"") >&5
11955 (eval $ac_compile) 2>&5
11957 echo "$as_me:11957: \$? = $ac_status" >&5
11958 (exit $ac_status); } &&
11959 { ac_try
='test -s conftest.$ac_objext'
11960 { (eval echo "$as_me:11960: \"$ac_try\"") >&5
11961 (eval $ac_try) 2>&5
11963 echo "$as_me:11963: \$? = $ac_status" >&5
11964 (exit $ac_status); }; }; then
11965 ac_hi
=$ac_mid; break
11967 echo "$as_me: failed program was:" >&5
11968 cat conftest.
$ac_ext >&5
11969 ac_lo
=`expr $ac_mid + 1`; ac_mid
=`expr 2 '*' $ac_mid + 1`
11971 rm -f conftest.
$ac_objext conftest.
$ac_ext
11974 echo "$as_me: failed program was:" >&5
11975 cat conftest.
$ac_ext >&5
11978 cat >conftest.
$ac_ext <<_ACEOF
11979 #line 11979 "configure"
11980 #include "confdefs.h"
11981 $ac_includes_default
11985 int _array_ [1 - 2 * !((sizeof (short)) >= $ac_mid)]
11990 rm -f conftest.
$ac_objext
11991 if { (eval echo "$as_me:11991: \"$ac_compile\"") >&5
11992 (eval $ac_compile) 2>&5
11994 echo "$as_me:11994: \$? = $ac_status" >&5
11995 (exit $ac_status); } &&
11996 { ac_try
='test -s conftest.$ac_objext'
11997 { (eval echo "$as_me:11997: \"$ac_try\"") >&5
11998 (eval $ac_try) 2>&5
12000 echo "$as_me:12000: \$? = $ac_status" >&5
12001 (exit $ac_status); }; }; then
12002 ac_lo
=$ac_mid; break
12004 echo "$as_me: failed program was:" >&5
12005 cat conftest.
$ac_ext >&5
12006 ac_hi
=`expr $ac_mid - 1`; ac_mid
=`expr 2 '*' $ac_mid`
12008 rm -f conftest.
$ac_objext conftest.
$ac_ext
12011 rm -f conftest.
$ac_objext conftest.
$ac_ext
12012 # Binary search between lo and hi bounds.
12013 while test "x$ac_lo" != "x$ac_hi"; do
12014 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
12015 cat >conftest.
$ac_ext <<_ACEOF
12016 #line 12016 "configure"
12017 #include "confdefs.h"
12018 $ac_includes_default
12022 int _array_ [1 - 2 * !((sizeof (short)) <= $ac_mid)]
12027 rm -f conftest.
$ac_objext
12028 if { (eval echo "$as_me:12028: \"$ac_compile\"") >&5
12029 (eval $ac_compile) 2>&5
12031 echo "$as_me:12031: \$? = $ac_status" >&5
12032 (exit $ac_status); } &&
12033 { ac_try
='test -s conftest.$ac_objext'
12034 { (eval echo "$as_me:12034: \"$ac_try\"") >&5
12035 (eval $ac_try) 2>&5
12037 echo "$as_me:12037: \$? = $ac_status" >&5
12038 (exit $ac_status); }; }; then
12041 echo "$as_me: failed program was:" >&5
12042 cat conftest.
$ac_ext >&5
12043 ac_lo
=`expr $ac_mid + 1`
12045 rm -f conftest.
$ac_objext conftest.
$ac_ext
12047 ac_cv_sizeof_short
=$ac_lo
12049 if test "$cross_compiling" = yes; then
12050 { { echo "$as_me:12050: error: cannot run test program while cross compiling" >&5
12051 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
12052 { (exit 1); exit 1; }; }
12054 cat >conftest.
$ac_ext <<_ACEOF
12055 #line 12055 "configure"
12056 #include "confdefs.h"
12057 $ac_includes_default
12061 FILE *f = fopen ("conftest.val", "w");
12064 fprintf (f, "%d", (sizeof (short)));
12070 rm -f conftest
$ac_exeext
12071 if { (eval echo "$as_me:12071: \"$ac_link\"") >&5
12072 (eval $ac_link) 2>&5
12074 echo "$as_me:12074: \$? = $ac_status" >&5
12075 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12076 { (eval echo "$as_me:12076: \"$ac_try\"") >&5
12077 (eval $ac_try) 2>&5
12079 echo "$as_me:12079: \$? = $ac_status" >&5
12080 (exit $ac_status); }; }; then
12081 ac_cv_sizeof_short
=`cat conftest.val`
12083 echo "$as_me: program exited with status $ac_status" >&5
12084 echo "$as_me: failed program was:" >&5
12085 cat conftest.
$ac_ext >&5
12087 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12092 ac_cv_sizeof_short
=0
12095 echo "$as_me:12095: result: $ac_cv_sizeof_short" >&5
12096 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
12097 cat >>confdefs.h
<<EOF
12098 #define SIZEOF_SHORT $ac_cv_sizeof_short
12101 echo "$as_me:12101: checking for void *" >&5
12102 echo $ECHO_N "checking for void *... $ECHO_C" >&6
12103 if test "${ac_cv_type_void_p+set}" = set; then
12104 echo $ECHO_N "(cached) $ECHO_C" >&6
12106 cat >conftest.
$ac_ext <<_ACEOF
12107 #line 12107 "configure"
12108 #include "confdefs.h"
12109 $ac_includes_default
12115 if (sizeof (void *))
12121 rm -f conftest.
$ac_objext
12122 if { (eval echo "$as_me:12122: \"$ac_compile\"") >&5
12123 (eval $ac_compile) 2>&5
12125 echo "$as_me:12125: \$? = $ac_status" >&5
12126 (exit $ac_status); } &&
12127 { ac_try
='test -s conftest.$ac_objext'
12128 { (eval echo "$as_me:12128: \"$ac_try\"") >&5
12129 (eval $ac_try) 2>&5
12131 echo "$as_me:12131: \$? = $ac_status" >&5
12132 (exit $ac_status); }; }; then
12133 ac_cv_type_void_p
=yes
12135 echo "$as_me: failed program was:" >&5
12136 cat conftest.
$ac_ext >&5
12137 ac_cv_type_void_p
=no
12139 rm -f conftest.
$ac_objext conftest.
$ac_ext
12141 echo "$as_me:12141: result: $ac_cv_type_void_p" >&5
12142 echo "${ECHO_T}$ac_cv_type_void_p" >&6
12144 echo "$as_me:12144: checking size of void *" >&5
12145 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
12146 if test "${ac_cv_sizeof_void_p+set}" = set; then
12147 echo $ECHO_N "(cached) $ECHO_C" >&6
12149 if test "$ac_cv_type_void_p" = yes; then
12150 if test "$cross_compiling" = yes; then
12151 # Depending upon the size, compute the lo and hi bounds.
12152 cat >conftest.
$ac_ext <<_ACEOF
12153 #line 12153 "configure"
12154 #include "confdefs.h"
12155 $ac_includes_default
12159 int _array_ [1 - 2 * !((sizeof (void *)) >= 0)]
12164 rm -f conftest.
$ac_objext
12165 if { (eval echo "$as_me:12165: \"$ac_compile\"") >&5
12166 (eval $ac_compile) 2>&5
12168 echo "$as_me:12168: \$? = $ac_status" >&5
12169 (exit $ac_status); } &&
12170 { ac_try
='test -s conftest.$ac_objext'
12171 { (eval echo "$as_me:12171: \"$ac_try\"") >&5
12172 (eval $ac_try) 2>&5
12174 echo "$as_me:12174: \$? = $ac_status" >&5
12175 (exit $ac_status); }; }; then
12178 cat >conftest.
$ac_ext <<_ACEOF
12179 #line 12179 "configure"
12180 #include "confdefs.h"
12181 $ac_includes_default
12185 int _array_ [1 - 2 * !((sizeof (void *)) <= $ac_mid)]
12190 rm -f conftest.
$ac_objext
12191 if { (eval echo "$as_me:12191: \"$ac_compile\"") >&5
12192 (eval $ac_compile) 2>&5
12194 echo "$as_me:12194: \$? = $ac_status" >&5
12195 (exit $ac_status); } &&
12196 { ac_try
='test -s conftest.$ac_objext'
12197 { (eval echo "$as_me:12197: \"$ac_try\"") >&5
12198 (eval $ac_try) 2>&5
12200 echo "$as_me:12200: \$? = $ac_status" >&5
12201 (exit $ac_status); }; }; then
12202 ac_hi
=$ac_mid; break
12204 echo "$as_me: failed program was:" >&5
12205 cat conftest.
$ac_ext >&5
12206 ac_lo
=`expr $ac_mid + 1`; ac_mid
=`expr 2 '*' $ac_mid + 1`
12208 rm -f conftest.
$ac_objext conftest.
$ac_ext
12211 echo "$as_me: failed program was:" >&5
12212 cat conftest.
$ac_ext >&5
12215 cat >conftest.
$ac_ext <<_ACEOF
12216 #line 12216 "configure"
12217 #include "confdefs.h"
12218 $ac_includes_default
12222 int _array_ [1 - 2 * !((sizeof (void *)) >= $ac_mid)]
12227 rm -f conftest.
$ac_objext
12228 if { (eval echo "$as_me:12228: \"$ac_compile\"") >&5
12229 (eval $ac_compile) 2>&5
12231 echo "$as_me:12231: \$? = $ac_status" >&5
12232 (exit $ac_status); } &&
12233 { ac_try
='test -s conftest.$ac_objext'
12234 { (eval echo "$as_me:12234: \"$ac_try\"") >&5
12235 (eval $ac_try) 2>&5
12237 echo "$as_me:12237: \$? = $ac_status" >&5
12238 (exit $ac_status); }; }; then
12239 ac_lo
=$ac_mid; break
12241 echo "$as_me: failed program was:" >&5
12242 cat conftest.
$ac_ext >&5
12243 ac_hi
=`expr $ac_mid - 1`; ac_mid
=`expr 2 '*' $ac_mid`
12245 rm -f conftest.
$ac_objext conftest.
$ac_ext
12248 rm -f conftest.
$ac_objext conftest.
$ac_ext
12249 # Binary search between lo and hi bounds.
12250 while test "x$ac_lo" != "x$ac_hi"; do
12251 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
12252 cat >conftest.
$ac_ext <<_ACEOF
12253 #line 12253 "configure"
12254 #include "confdefs.h"
12255 $ac_includes_default
12259 int _array_ [1 - 2 * !((sizeof (void *)) <= $ac_mid)]
12264 rm -f conftest.
$ac_objext
12265 if { (eval echo "$as_me:12265: \"$ac_compile\"") >&5
12266 (eval $ac_compile) 2>&5
12268 echo "$as_me:12268: \$? = $ac_status" >&5
12269 (exit $ac_status); } &&
12270 { ac_try
='test -s conftest.$ac_objext'
12271 { (eval echo "$as_me:12271: \"$ac_try\"") >&5
12272 (eval $ac_try) 2>&5
12274 echo "$as_me:12274: \$? = $ac_status" >&5
12275 (exit $ac_status); }; }; then
12278 echo "$as_me: failed program was:" >&5
12279 cat conftest.
$ac_ext >&5
12280 ac_lo
=`expr $ac_mid + 1`
12282 rm -f conftest.
$ac_objext conftest.
$ac_ext
12284 ac_cv_sizeof_void_p
=$ac_lo
12286 if test "$cross_compiling" = yes; then
12287 { { echo "$as_me:12287: error: cannot run test program while cross compiling" >&5
12288 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
12289 { (exit 1); exit 1; }; }
12291 cat >conftest.
$ac_ext <<_ACEOF
12292 #line 12292 "configure"
12293 #include "confdefs.h"
12294 $ac_includes_default
12298 FILE *f = fopen ("conftest.val", "w");
12301 fprintf (f, "%d", (sizeof (void *)));
12307 rm -f conftest
$ac_exeext
12308 if { (eval echo "$as_me:12308: \"$ac_link\"") >&5
12309 (eval $ac_link) 2>&5
12311 echo "$as_me:12311: \$? = $ac_status" >&5
12312 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12313 { (eval echo "$as_me:12313: \"$ac_try\"") >&5
12314 (eval $ac_try) 2>&5
12316 echo "$as_me:12316: \$? = $ac_status" >&5
12317 (exit $ac_status); }; }; then
12318 ac_cv_sizeof_void_p
=`cat conftest.val`
12320 echo "$as_me: program exited with status $ac_status" >&5
12321 echo "$as_me: failed program was:" >&5
12322 cat conftest.
$ac_ext >&5
12324 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12329 ac_cv_sizeof_void_p
=0
12332 echo "$as_me:12332: result: $ac_cv_sizeof_void_p" >&5
12333 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
12334 cat >>confdefs.h
<<EOF
12335 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
12338 echo "$as_me:12338: checking for int" >&5
12339 echo $ECHO_N "checking for int... $ECHO_C" >&6
12340 if test "${ac_cv_type_int+set}" = set; then
12341 echo $ECHO_N "(cached) $ECHO_C" >&6
12343 cat >conftest.
$ac_ext <<_ACEOF
12344 #line 12344 "configure"
12345 #include "confdefs.h"
12346 $ac_includes_default
12358 rm -f conftest.
$ac_objext
12359 if { (eval echo "$as_me:12359: \"$ac_compile\"") >&5
12360 (eval $ac_compile) 2>&5
12362 echo "$as_me:12362: \$? = $ac_status" >&5
12363 (exit $ac_status); } &&
12364 { ac_try
='test -s conftest.$ac_objext'
12365 { (eval echo "$as_me:12365: \"$ac_try\"") >&5
12366 (eval $ac_try) 2>&5
12368 echo "$as_me:12368: \$? = $ac_status" >&5
12369 (exit $ac_status); }; }; then
12372 echo "$as_me: failed program was:" >&5
12373 cat conftest.
$ac_ext >&5
12376 rm -f conftest.
$ac_objext conftest.
$ac_ext
12378 echo "$as_me:12378: result: $ac_cv_type_int" >&5
12379 echo "${ECHO_T}$ac_cv_type_int" >&6
12381 echo "$as_me:12381: checking size of int" >&5
12382 echo $ECHO_N "checking size of int... $ECHO_C" >&6
12383 if test "${ac_cv_sizeof_int+set}" = set; then
12384 echo $ECHO_N "(cached) $ECHO_C" >&6
12386 if test "$ac_cv_type_int" = yes; then
12387 if test "$cross_compiling" = yes; then
12388 # Depending upon the size, compute the lo and hi bounds.
12389 cat >conftest.
$ac_ext <<_ACEOF
12390 #line 12390 "configure"
12391 #include "confdefs.h"
12392 $ac_includes_default
12396 int _array_ [1 - 2 * !((sizeof (int)) >= 0)]
12401 rm -f conftest.
$ac_objext
12402 if { (eval echo "$as_me:12402: \"$ac_compile\"") >&5
12403 (eval $ac_compile) 2>&5
12405 echo "$as_me:12405: \$? = $ac_status" >&5
12406 (exit $ac_status); } &&
12407 { ac_try
='test -s conftest.$ac_objext'
12408 { (eval echo "$as_me:12408: \"$ac_try\"") >&5
12409 (eval $ac_try) 2>&5
12411 echo "$as_me:12411: \$? = $ac_status" >&5
12412 (exit $ac_status); }; }; then
12415 cat >conftest.
$ac_ext <<_ACEOF
12416 #line 12416 "configure"
12417 #include "confdefs.h"
12418 $ac_includes_default
12422 int _array_ [1 - 2 * !((sizeof (int)) <= $ac_mid)]
12427 rm -f conftest.
$ac_objext
12428 if { (eval echo "$as_me:12428: \"$ac_compile\"") >&5
12429 (eval $ac_compile) 2>&5
12431 echo "$as_me:12431: \$? = $ac_status" >&5
12432 (exit $ac_status); } &&
12433 { ac_try
='test -s conftest.$ac_objext'
12434 { (eval echo "$as_me:12434: \"$ac_try\"") >&5
12435 (eval $ac_try) 2>&5
12437 echo "$as_me:12437: \$? = $ac_status" >&5
12438 (exit $ac_status); }; }; then
12439 ac_hi
=$ac_mid; break
12441 echo "$as_me: failed program was:" >&5
12442 cat conftest.
$ac_ext >&5
12443 ac_lo
=`expr $ac_mid + 1`; ac_mid
=`expr 2 '*' $ac_mid + 1`
12445 rm -f conftest.
$ac_objext conftest.
$ac_ext
12448 echo "$as_me: failed program was:" >&5
12449 cat conftest.
$ac_ext >&5
12452 cat >conftest.
$ac_ext <<_ACEOF
12453 #line 12453 "configure"
12454 #include "confdefs.h"
12455 $ac_includes_default
12459 int _array_ [1 - 2 * !((sizeof (int)) >= $ac_mid)]
12464 rm -f conftest.
$ac_objext
12465 if { (eval echo "$as_me:12465: \"$ac_compile\"") >&5
12466 (eval $ac_compile) 2>&5
12468 echo "$as_me:12468: \$? = $ac_status" >&5
12469 (exit $ac_status); } &&
12470 { ac_try
='test -s conftest.$ac_objext'
12471 { (eval echo "$as_me:12471: \"$ac_try\"") >&5
12472 (eval $ac_try) 2>&5
12474 echo "$as_me:12474: \$? = $ac_status" >&5
12475 (exit $ac_status); }; }; then
12476 ac_lo
=$ac_mid; break
12478 echo "$as_me: failed program was:" >&5
12479 cat conftest.
$ac_ext >&5
12480 ac_hi
=`expr $ac_mid - 1`; ac_mid
=`expr 2 '*' $ac_mid`
12482 rm -f conftest.
$ac_objext conftest.
$ac_ext
12485 rm -f conftest.
$ac_objext conftest.
$ac_ext
12486 # Binary search between lo and hi bounds.
12487 while test "x$ac_lo" != "x$ac_hi"; do
12488 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
12489 cat >conftest.
$ac_ext <<_ACEOF
12490 #line 12490 "configure"
12491 #include "confdefs.h"
12492 $ac_includes_default
12496 int _array_ [1 - 2 * !((sizeof (int)) <= $ac_mid)]
12501 rm -f conftest.
$ac_objext
12502 if { (eval echo "$as_me:12502: \"$ac_compile\"") >&5
12503 (eval $ac_compile) 2>&5
12505 echo "$as_me:12505: \$? = $ac_status" >&5
12506 (exit $ac_status); } &&
12507 { ac_try
='test -s conftest.$ac_objext'
12508 { (eval echo "$as_me:12508: \"$ac_try\"") >&5
12509 (eval $ac_try) 2>&5
12511 echo "$as_me:12511: \$? = $ac_status" >&5
12512 (exit $ac_status); }; }; then
12515 echo "$as_me: failed program was:" >&5
12516 cat conftest.
$ac_ext >&5
12517 ac_lo
=`expr $ac_mid + 1`
12519 rm -f conftest.
$ac_objext conftest.
$ac_ext
12521 ac_cv_sizeof_int
=$ac_lo
12523 if test "$cross_compiling" = yes; then
12524 { { echo "$as_me:12524: error: cannot run test program while cross compiling" >&5
12525 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
12526 { (exit 1); exit 1; }; }
12528 cat >conftest.
$ac_ext <<_ACEOF
12529 #line 12529 "configure"
12530 #include "confdefs.h"
12531 $ac_includes_default
12535 FILE *f = fopen ("conftest.val", "w");
12538 fprintf (f, "%d", (sizeof (int)));
12544 rm -f conftest
$ac_exeext
12545 if { (eval echo "$as_me:12545: \"$ac_link\"") >&5
12546 (eval $ac_link) 2>&5
12548 echo "$as_me:12548: \$? = $ac_status" >&5
12549 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12550 { (eval echo "$as_me:12550: \"$ac_try\"") >&5
12551 (eval $ac_try) 2>&5
12553 echo "$as_me:12553: \$? = $ac_status" >&5
12554 (exit $ac_status); }; }; then
12555 ac_cv_sizeof_int
=`cat conftest.val`
12557 echo "$as_me: program exited with status $ac_status" >&5
12558 echo "$as_me: failed program was:" >&5
12559 cat conftest.
$ac_ext >&5
12561 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12569 echo "$as_me:12569: result: $ac_cv_sizeof_int" >&5
12570 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
12571 cat >>confdefs.h
<<EOF
12572 #define SIZEOF_INT $ac_cv_sizeof_int
12575 echo "$as_me:12575: checking for long" >&5
12576 echo $ECHO_N "checking for long... $ECHO_C" >&6
12577 if test "${ac_cv_type_long+set}" = set; then
12578 echo $ECHO_N "(cached) $ECHO_C" >&6
12580 cat >conftest.
$ac_ext <<_ACEOF
12581 #line 12581 "configure"
12582 #include "confdefs.h"
12583 $ac_includes_default
12595 rm -f conftest.
$ac_objext
12596 if { (eval echo "$as_me:12596: \"$ac_compile\"") >&5
12597 (eval $ac_compile) 2>&5
12599 echo "$as_me:12599: \$? = $ac_status" >&5
12600 (exit $ac_status); } &&
12601 { ac_try
='test -s conftest.$ac_objext'
12602 { (eval echo "$as_me:12602: \"$ac_try\"") >&5
12603 (eval $ac_try) 2>&5
12605 echo "$as_me:12605: \$? = $ac_status" >&5
12606 (exit $ac_status); }; }; then
12607 ac_cv_type_long
=yes
12609 echo "$as_me: failed program was:" >&5
12610 cat conftest.
$ac_ext >&5
12613 rm -f conftest.
$ac_objext conftest.
$ac_ext
12615 echo "$as_me:12615: result: $ac_cv_type_long" >&5
12616 echo "${ECHO_T}$ac_cv_type_long" >&6
12618 echo "$as_me:12618: checking size of long" >&5
12619 echo $ECHO_N "checking size of long... $ECHO_C" >&6
12620 if test "${ac_cv_sizeof_long+set}" = set; then
12621 echo $ECHO_N "(cached) $ECHO_C" >&6
12623 if test "$ac_cv_type_long" = yes; then
12624 if test "$cross_compiling" = yes; then
12625 # Depending upon the size, compute the lo and hi bounds.
12626 cat >conftest.
$ac_ext <<_ACEOF
12627 #line 12627 "configure"
12628 #include "confdefs.h"
12629 $ac_includes_default
12633 int _array_ [1 - 2 * !((sizeof (long)) >= 0)]
12638 rm -f conftest.
$ac_objext
12639 if { (eval echo "$as_me:12639: \"$ac_compile\"") >&5
12640 (eval $ac_compile) 2>&5
12642 echo "$as_me:12642: \$? = $ac_status" >&5
12643 (exit $ac_status); } &&
12644 { ac_try
='test -s conftest.$ac_objext'
12645 { (eval echo "$as_me:12645: \"$ac_try\"") >&5
12646 (eval $ac_try) 2>&5
12648 echo "$as_me:12648: \$? = $ac_status" >&5
12649 (exit $ac_status); }; }; then
12652 cat >conftest.
$ac_ext <<_ACEOF
12653 #line 12653 "configure"
12654 #include "confdefs.h"
12655 $ac_includes_default
12659 int _array_ [1 - 2 * !((sizeof (long)) <= $ac_mid)]
12664 rm -f conftest.
$ac_objext
12665 if { (eval echo "$as_me:12665: \"$ac_compile\"") >&5
12666 (eval $ac_compile) 2>&5
12668 echo "$as_me:12668: \$? = $ac_status" >&5
12669 (exit $ac_status); } &&
12670 { ac_try
='test -s conftest.$ac_objext'
12671 { (eval echo "$as_me:12671: \"$ac_try\"") >&5
12672 (eval $ac_try) 2>&5
12674 echo "$as_me:12674: \$? = $ac_status" >&5
12675 (exit $ac_status); }; }; then
12676 ac_hi
=$ac_mid; break
12678 echo "$as_me: failed program was:" >&5
12679 cat conftest.
$ac_ext >&5
12680 ac_lo
=`expr $ac_mid + 1`; ac_mid
=`expr 2 '*' $ac_mid + 1`
12682 rm -f conftest.
$ac_objext conftest.
$ac_ext
12685 echo "$as_me: failed program was:" >&5
12686 cat conftest.
$ac_ext >&5
12689 cat >conftest.
$ac_ext <<_ACEOF
12690 #line 12690 "configure"
12691 #include "confdefs.h"
12692 $ac_includes_default
12696 int _array_ [1 - 2 * !((sizeof (long)) >= $ac_mid)]
12701 rm -f conftest.
$ac_objext
12702 if { (eval echo "$as_me:12702: \"$ac_compile\"") >&5
12703 (eval $ac_compile) 2>&5
12705 echo "$as_me:12705: \$? = $ac_status" >&5
12706 (exit $ac_status); } &&
12707 { ac_try
='test -s conftest.$ac_objext'
12708 { (eval echo "$as_me:12708: \"$ac_try\"") >&5
12709 (eval $ac_try) 2>&5
12711 echo "$as_me:12711: \$? = $ac_status" >&5
12712 (exit $ac_status); }; }; then
12713 ac_lo
=$ac_mid; break
12715 echo "$as_me: failed program was:" >&5
12716 cat conftest.
$ac_ext >&5
12717 ac_hi
=`expr $ac_mid - 1`; ac_mid
=`expr 2 '*' $ac_mid`
12719 rm -f conftest.
$ac_objext conftest.
$ac_ext
12722 rm -f conftest.
$ac_objext conftest.
$ac_ext
12723 # Binary search between lo and hi bounds.
12724 while test "x$ac_lo" != "x$ac_hi"; do
12725 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
12726 cat >conftest.
$ac_ext <<_ACEOF
12727 #line 12727 "configure"
12728 #include "confdefs.h"
12729 $ac_includes_default
12733 int _array_ [1 - 2 * !((sizeof (long)) <= $ac_mid)]
12738 rm -f conftest.
$ac_objext
12739 if { (eval echo "$as_me:12739: \"$ac_compile\"") >&5
12740 (eval $ac_compile) 2>&5
12742 echo "$as_me:12742: \$? = $ac_status" >&5
12743 (exit $ac_status); } &&
12744 { ac_try
='test -s conftest.$ac_objext'
12745 { (eval echo "$as_me:12745: \"$ac_try\"") >&5
12746 (eval $ac_try) 2>&5
12748 echo "$as_me:12748: \$? = $ac_status" >&5
12749 (exit $ac_status); }; }; then
12752 echo "$as_me: failed program was:" >&5
12753 cat conftest.
$ac_ext >&5
12754 ac_lo
=`expr $ac_mid + 1`
12756 rm -f conftest.
$ac_objext conftest.
$ac_ext
12758 ac_cv_sizeof_long
=$ac_lo
12760 if test "$cross_compiling" = yes; then
12761 { { echo "$as_me:12761: error: cannot run test program while cross compiling" >&5
12762 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
12763 { (exit 1); exit 1; }; }
12765 cat >conftest.
$ac_ext <<_ACEOF
12766 #line 12766 "configure"
12767 #include "confdefs.h"
12768 $ac_includes_default
12772 FILE *f = fopen ("conftest.val", "w");
12775 fprintf (f, "%d", (sizeof (long)));
12781 rm -f conftest
$ac_exeext
12782 if { (eval echo "$as_me:12782: \"$ac_link\"") >&5
12783 (eval $ac_link) 2>&5
12785 echo "$as_me:12785: \$? = $ac_status" >&5
12786 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12787 { (eval echo "$as_me:12787: \"$ac_try\"") >&5
12788 (eval $ac_try) 2>&5
12790 echo "$as_me:12790: \$? = $ac_status" >&5
12791 (exit $ac_status); }; }; then
12792 ac_cv_sizeof_long
=`cat conftest.val`
12794 echo "$as_me: program exited with status $ac_status" >&5
12795 echo "$as_me: failed program was:" >&5
12796 cat conftest.
$ac_ext >&5
12798 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12803 ac_cv_sizeof_long
=0
12806 echo "$as_me:12806: result: $ac_cv_sizeof_long" >&5
12807 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
12808 cat >>confdefs.h
<<EOF
12809 #define SIZEOF_LONG $ac_cv_sizeof_long
12814 echo "$as_me:12814: checking for long long" >&5
12815 echo $ECHO_N "checking for long long... $ECHO_C" >&6
12816 if test "${ac_cv_type_long_long+set}" = set; then
12817 echo $ECHO_N "(cached) $ECHO_C" >&6
12819 cat >conftest.
$ac_ext <<_ACEOF
12820 #line 12820 "configure"
12821 #include "confdefs.h"
12822 $ac_includes_default
12826 if ((long long *) 0)
12828 if (sizeof (long long))
12834 rm -f conftest.
$ac_objext
12835 if { (eval echo "$as_me:12835: \"$ac_compile\"") >&5
12836 (eval $ac_compile) 2>&5
12838 echo "$as_me:12838: \$? = $ac_status" >&5
12839 (exit $ac_status); } &&
12840 { ac_try
='test -s conftest.$ac_objext'
12841 { (eval echo "$as_me:12841: \"$ac_try\"") >&5
12842 (eval $ac_try) 2>&5
12844 echo "$as_me:12844: \$? = $ac_status" >&5
12845 (exit $ac_status); }; }; then
12846 ac_cv_type_long_long
=yes
12848 echo "$as_me: failed program was:" >&5
12849 cat conftest.
$ac_ext >&5
12850 ac_cv_type_long_long
=no
12852 rm -f conftest.
$ac_objext conftest.
$ac_ext
12854 echo "$as_me:12854: result: $ac_cv_type_long_long" >&5
12855 echo "${ECHO_T}$ac_cv_type_long_long" >&6
12857 echo "$as_me:12857: checking size of long long" >&5
12858 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
12859 if test "${ac_cv_sizeof_long_long+set}" = set; then
12860 echo $ECHO_N "(cached) $ECHO_C" >&6
12862 if test "$ac_cv_type_long_long" = yes; then
12863 if test "$cross_compiling" = yes; then
12864 # Depending upon the size, compute the lo and hi bounds.
12865 cat >conftest.
$ac_ext <<_ACEOF
12866 #line 12866 "configure"
12867 #include "confdefs.h"
12868 $ac_includes_default
12872 int _array_ [1 - 2 * !((sizeof (long long)) >= 0)]
12877 rm -f conftest.
$ac_objext
12878 if { (eval echo "$as_me:12878: \"$ac_compile\"") >&5
12879 (eval $ac_compile) 2>&5
12881 echo "$as_me:12881: \$? = $ac_status" >&5
12882 (exit $ac_status); } &&
12883 { ac_try
='test -s conftest.$ac_objext'
12884 { (eval echo "$as_me:12884: \"$ac_try\"") >&5
12885 (eval $ac_try) 2>&5
12887 echo "$as_me:12887: \$? = $ac_status" >&5
12888 (exit $ac_status); }; }; then
12891 cat >conftest.
$ac_ext <<_ACEOF
12892 #line 12892 "configure"
12893 #include "confdefs.h"
12894 $ac_includes_default
12898 int _array_ [1 - 2 * !((sizeof (long long)) <= $ac_mid)]
12903 rm -f conftest.
$ac_objext
12904 if { (eval echo "$as_me:12904: \"$ac_compile\"") >&5
12905 (eval $ac_compile) 2>&5
12907 echo "$as_me:12907: \$? = $ac_status" >&5
12908 (exit $ac_status); } &&
12909 { ac_try
='test -s conftest.$ac_objext'
12910 { (eval echo "$as_me:12910: \"$ac_try\"") >&5
12911 (eval $ac_try) 2>&5
12913 echo "$as_me:12913: \$? = $ac_status" >&5
12914 (exit $ac_status); }; }; then
12915 ac_hi
=$ac_mid; break
12917 echo "$as_me: failed program was:" >&5
12918 cat conftest.
$ac_ext >&5
12919 ac_lo
=`expr $ac_mid + 1`; ac_mid
=`expr 2 '*' $ac_mid + 1`
12921 rm -f conftest.
$ac_objext conftest.
$ac_ext
12924 echo "$as_me: failed program was:" >&5
12925 cat conftest.
$ac_ext >&5
12928 cat >conftest.
$ac_ext <<_ACEOF
12929 #line 12929 "configure"
12930 #include "confdefs.h"
12931 $ac_includes_default
12935 int _array_ [1 - 2 * !((sizeof (long long)) >= $ac_mid)]
12940 rm -f conftest.
$ac_objext
12941 if { (eval echo "$as_me:12941: \"$ac_compile\"") >&5
12942 (eval $ac_compile) 2>&5
12944 echo "$as_me:12944: \$? = $ac_status" >&5
12945 (exit $ac_status); } &&
12946 { ac_try
='test -s conftest.$ac_objext'
12947 { (eval echo "$as_me:12947: \"$ac_try\"") >&5
12948 (eval $ac_try) 2>&5
12950 echo "$as_me:12950: \$? = $ac_status" >&5
12951 (exit $ac_status); }; }; then
12952 ac_lo
=$ac_mid; break
12954 echo "$as_me: failed program was:" >&5
12955 cat conftest.
$ac_ext >&5
12956 ac_hi
=`expr $ac_mid - 1`; ac_mid
=`expr 2 '*' $ac_mid`
12958 rm -f conftest.
$ac_objext conftest.
$ac_ext
12961 rm -f conftest.
$ac_objext conftest.
$ac_ext
12962 # Binary search between lo and hi bounds.
12963 while test "x$ac_lo" != "x$ac_hi"; do
12964 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
12965 cat >conftest.
$ac_ext <<_ACEOF
12966 #line 12966 "configure"
12967 #include "confdefs.h"
12968 $ac_includes_default
12972 int _array_ [1 - 2 * !((sizeof (long long)) <= $ac_mid)]
12977 rm -f conftest.
$ac_objext
12978 if { (eval echo "$as_me:12978: \"$ac_compile\"") >&5
12979 (eval $ac_compile) 2>&5
12981 echo "$as_me:12981: \$? = $ac_status" >&5
12982 (exit $ac_status); } &&
12983 { ac_try
='test -s conftest.$ac_objext'
12984 { (eval echo "$as_me:12984: \"$ac_try\"") >&5
12985 (eval $ac_try) 2>&5
12987 echo "$as_me:12987: \$? = $ac_status" >&5
12988 (exit $ac_status); }; }; then
12991 echo "$as_me: failed program was:" >&5
12992 cat conftest.
$ac_ext >&5
12993 ac_lo
=`expr $ac_mid + 1`
12995 rm -f conftest.
$ac_objext conftest.
$ac_ext
12997 ac_cv_sizeof_long_long
=$ac_lo
12999 if test "$cross_compiling" = yes; then
13000 { { echo "$as_me:13000: error: cannot run test program while cross compiling" >&5
13001 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
13002 { (exit 1); exit 1; }; }
13004 cat >conftest.
$ac_ext <<_ACEOF
13005 #line 13005 "configure"
13006 #include "confdefs.h"
13007 $ac_includes_default
13011 FILE *f = fopen ("conftest.val", "w");
13014 fprintf (f, "%d", (sizeof (long long)));
13020 rm -f conftest
$ac_exeext
13021 if { (eval echo "$as_me:13021: \"$ac_link\"") >&5
13022 (eval $ac_link) 2>&5
13024 echo "$as_me:13024: \$? = $ac_status" >&5
13025 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13026 { (eval echo "$as_me:13026: \"$ac_try\"") >&5
13027 (eval $ac_try) 2>&5
13029 echo "$as_me:13029: \$? = $ac_status" >&5
13030 (exit $ac_status); }; }; then
13031 ac_cv_sizeof_long_long
=`cat conftest.val`
13033 echo "$as_me: program exited with status $ac_status" >&5
13034 echo "$as_me: failed program was:" >&5
13035 cat conftest.
$ac_ext >&5
13037 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13042 ac_cv_sizeof_long_long
=0
13045 echo "$as_me:13045: result: $ac_cv_sizeof_long_long" >&5
13046 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
13047 cat >>confdefs.h
<<EOF
13048 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
13053 echo "$as_me:13053: checking for long long" >&5
13054 echo $ECHO_N "checking for long long... $ECHO_C" >&6
13055 if test "${ac_cv_type_long_long+set}" = set; then
13056 echo $ECHO_N "(cached) $ECHO_C" >&6
13058 cat >conftest.
$ac_ext <<_ACEOF
13059 #line 13059 "configure"
13060 #include "confdefs.h"
13061 $ac_includes_default
13065 if ((long long *) 0)
13067 if (sizeof (long long))
13073 rm -f conftest.
$ac_objext
13074 if { (eval echo "$as_me:13074: \"$ac_compile\"") >&5
13075 (eval $ac_compile) 2>&5
13077 echo "$as_me:13077: \$? = $ac_status" >&5
13078 (exit $ac_status); } &&
13079 { ac_try
='test -s conftest.$ac_objext'
13080 { (eval echo "$as_me:13080: \"$ac_try\"") >&5
13081 (eval $ac_try) 2>&5
13083 echo "$as_me:13083: \$? = $ac_status" >&5
13084 (exit $ac_status); }; }; then
13085 ac_cv_type_long_long
=yes
13087 echo "$as_me: failed program was:" >&5
13088 cat conftest.
$ac_ext >&5
13089 ac_cv_type_long_long
=no
13091 rm -f conftest.
$ac_objext conftest.
$ac_ext
13093 echo "$as_me:13093: result: $ac_cv_type_long_long" >&5
13094 echo "${ECHO_T}$ac_cv_type_long_long" >&6
13096 echo "$as_me:13096: checking size of long long" >&5
13097 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
13098 if test "${ac_cv_sizeof_long_long+set}" = set; then
13099 echo $ECHO_N "(cached) $ECHO_C" >&6
13101 if test "$ac_cv_type_long_long" = yes; then
13102 if test "$cross_compiling" = yes; then
13103 # Depending upon the size, compute the lo and hi bounds.
13104 cat >conftest.
$ac_ext <<_ACEOF
13105 #line 13105 "configure"
13106 #include "confdefs.h"
13107 $ac_includes_default
13111 int _array_ [1 - 2 * !((sizeof (long long)) >= 0)]
13116 rm -f conftest.
$ac_objext
13117 if { (eval echo "$as_me:13117: \"$ac_compile\"") >&5
13118 (eval $ac_compile) 2>&5
13120 echo "$as_me:13120: \$? = $ac_status" >&5
13121 (exit $ac_status); } &&
13122 { ac_try
='test -s conftest.$ac_objext'
13123 { (eval echo "$as_me:13123: \"$ac_try\"") >&5
13124 (eval $ac_try) 2>&5
13126 echo "$as_me:13126: \$? = $ac_status" >&5
13127 (exit $ac_status); }; }; then
13130 cat >conftest.
$ac_ext <<_ACEOF
13131 #line 13131 "configure"
13132 #include "confdefs.h"
13133 $ac_includes_default
13137 int _array_ [1 - 2 * !((sizeof (long long)) <= $ac_mid)]
13142 rm -f conftest.
$ac_objext
13143 if { (eval echo "$as_me:13143: \"$ac_compile\"") >&5
13144 (eval $ac_compile) 2>&5
13146 echo "$as_me:13146: \$? = $ac_status" >&5
13147 (exit $ac_status); } &&
13148 { ac_try
='test -s conftest.$ac_objext'
13149 { (eval echo "$as_me:13149: \"$ac_try\"") >&5
13150 (eval $ac_try) 2>&5
13152 echo "$as_me:13152: \$? = $ac_status" >&5
13153 (exit $ac_status); }; }; then
13154 ac_hi
=$ac_mid; break
13156 echo "$as_me: failed program was:" >&5
13157 cat conftest.
$ac_ext >&5
13158 ac_lo
=`expr $ac_mid + 1`; ac_mid
=`expr 2 '*' $ac_mid + 1`
13160 rm -f conftest.
$ac_objext conftest.
$ac_ext
13163 echo "$as_me: failed program was:" >&5
13164 cat conftest.
$ac_ext >&5
13167 cat >conftest.
$ac_ext <<_ACEOF
13168 #line 13168 "configure"
13169 #include "confdefs.h"
13170 $ac_includes_default
13174 int _array_ [1 - 2 * !((sizeof (long long)) >= $ac_mid)]
13179 rm -f conftest.
$ac_objext
13180 if { (eval echo "$as_me:13180: \"$ac_compile\"") >&5
13181 (eval $ac_compile) 2>&5
13183 echo "$as_me:13183: \$? = $ac_status" >&5
13184 (exit $ac_status); } &&
13185 { ac_try
='test -s conftest.$ac_objext'
13186 { (eval echo "$as_me:13186: \"$ac_try\"") >&5
13187 (eval $ac_try) 2>&5
13189 echo "$as_me:13189: \$? = $ac_status" >&5
13190 (exit $ac_status); }; }; then
13191 ac_lo
=$ac_mid; break
13193 echo "$as_me: failed program was:" >&5
13194 cat conftest.
$ac_ext >&5
13195 ac_hi
=`expr $ac_mid - 1`; ac_mid
=`expr 2 '*' $ac_mid`
13197 rm -f conftest.
$ac_objext conftest.
$ac_ext
13200 rm -f conftest.
$ac_objext conftest.
$ac_ext
13201 # Binary search between lo and hi bounds.
13202 while test "x$ac_lo" != "x$ac_hi"; do
13203 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13204 cat >conftest.
$ac_ext <<_ACEOF
13205 #line 13205 "configure"
13206 #include "confdefs.h"
13207 $ac_includes_default
13211 int _array_ [1 - 2 * !((sizeof (long long)) <= $ac_mid)]
13216 rm -f conftest.
$ac_objext
13217 if { (eval echo "$as_me:13217: \"$ac_compile\"") >&5
13218 (eval $ac_compile) 2>&5
13220 echo "$as_me:13220: \$? = $ac_status" >&5
13221 (exit $ac_status); } &&
13222 { ac_try
='test -s conftest.$ac_objext'
13223 { (eval echo "$as_me:13223: \"$ac_try\"") >&5
13224 (eval $ac_try) 2>&5
13226 echo "$as_me:13226: \$? = $ac_status" >&5
13227 (exit $ac_status); }; }; then
13230 echo "$as_me: failed program was:" >&5
13231 cat conftest.
$ac_ext >&5
13232 ac_lo
=`expr $ac_mid + 1`
13234 rm -f conftest.
$ac_objext conftest.
$ac_ext
13236 ac_cv_sizeof_long_long
=$ac_lo
13238 if test "$cross_compiling" = yes; then
13239 { { echo "$as_me:13239: error: cannot run test program while cross compiling" >&5
13240 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
13241 { (exit 1); exit 1; }; }
13243 cat >conftest.
$ac_ext <<_ACEOF
13244 #line 13244 "configure"
13245 #include "confdefs.h"
13246 $ac_includes_default
13250 FILE *f = fopen ("conftest.val", "w");
13253 fprintf (f, "%d", (sizeof (long long)));
13259 rm -f conftest
$ac_exeext
13260 if { (eval echo "$as_me:13260: \"$ac_link\"") >&5
13261 (eval $ac_link) 2>&5
13263 echo "$as_me:13263: \$? = $ac_status" >&5
13264 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13265 { (eval echo "$as_me:13265: \"$ac_try\"") >&5
13266 (eval $ac_try) 2>&5
13268 echo "$as_me:13268: \$? = $ac_status" >&5
13269 (exit $ac_status); }; }; then
13270 ac_cv_sizeof_long_long
=`cat conftest.val`
13272 echo "$as_me: program exited with status $ac_status" >&5
13273 echo "$as_me: failed program was:" >&5
13274 cat conftest.
$ac_ext >&5
13276 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13281 ac_cv_sizeof_long_long
=0
13284 echo "$as_me:13284: result: $ac_cv_sizeof_long_long" >&5
13285 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
13286 cat >>confdefs.h
<<EOF
13287 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
13292 echo "$as_me:13292: checking size of wchar_t" >&5
13293 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
13294 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
13295 echo $ECHO_N "(cached) $ECHO_C" >&6
13298 if test "$cross_compiling" = yes; then
13299 wx_cv_sizeof_wchar_t
=4
13302 cat >conftest.
$ac_ext <<_ACEOF
13303 #line 13303 "configure"
13304 #include "confdefs.h"
13306 #ifdef HAVE_WCHAR_H
13308 # include <stddef.h>
13310 # include <wchar.h>
13312 #ifdef HAVE_STDLIB_H
13313 # include <stdlib.h>
13318 FILE *f=fopen("conftestval", "w");
13320 fprintf(f, "%i", sizeof(wchar_t));
13325 rm -f conftest
$ac_exeext
13326 if { (eval echo "$as_me:13326: \"$ac_link\"") >&5
13327 (eval $ac_link) 2>&5
13329 echo "$as_me:13329: \$? = $ac_status" >&5
13330 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13331 { (eval echo "$as_me:13331: \"$ac_try\"") >&5
13332 (eval $ac_try) 2>&5
13334 echo "$as_me:13334: \$? = $ac_status" >&5
13335 (exit $ac_status); }; }; then
13336 wx_cv_sizeof_wchar_t
=`cat conftestval`
13338 echo "$as_me: program exited with status $ac_status" >&5
13339 echo "$as_me: failed program was:" >&5
13340 cat conftest.
$ac_ext >&5
13341 wx_cv_sizeof_wchar_t
=0
13343 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13347 echo "$as_me:13347: result: $wx_cv_sizeof_wchar_t" >&5
13348 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
13350 cat >>confdefs.h
<<EOF
13351 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
13354 # Check whether --enable-largefile or --disable-largefile was given.
13355 if test "${enable_largefile+set}" = set; then
13356 enableval
="$enable_largefile"
13359 if test "$enable_largefile" != no
; then
13362 echo "$as_me:13362: checking for _FILE_OFFSET_BITS value needed for large files" >&5
13363 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
13364 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
13365 echo $ECHO_N "(cached) $ECHO_C" >&6
13368 cat >conftest.
$ac_ext <<_ACEOF
13369 #line 13369 "configure"
13370 #include "confdefs.h"
13371 #define _FILE_OFFSET_BITS 64
13372 #include <sys/types.h>
13377 unsigned int field: sizeof(off_t) == 8;
13384 rm -f conftest.
$ac_objext
13385 if { (eval echo "$as_me:13385: \"$ac_compile\"") >&5
13386 (eval $ac_compile) 2>&5
13388 echo "$as_me:13388: \$? = $ac_status" >&5
13389 (exit $ac_status); } &&
13390 { ac_try
='test -s conftest.$ac_objext'
13391 { (eval echo "$as_me:13391: \"$ac_try\"") >&5
13392 (eval $ac_try) 2>&5
13394 echo "$as_me:13394: \$? = $ac_status" >&5
13395 (exit $ac_status); }; }; then
13396 ac_cv_sys_file_offset_bits
=64
13398 echo "$as_me: failed program was:" >&5
13399 cat conftest.
$ac_ext >&5
13400 ac_cv_sys_file_offset_bits
=no
13402 rm -f conftest.
$ac_objext conftest.
$ac_ext
13405 echo "$as_me:13405: result: $ac_cv_sys_file_offset_bits" >&5
13406 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
13408 if test "$ac_cv_sys_file_offset_bits" != no
; then
13410 cat >>confdefs.h
<<EOF
13411 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
13416 if test "x$wx_largefile" != "xyes"; then
13418 echo "$as_me:13418: checking for _LARGE_FILES value needed for large files" >&5
13419 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
13420 if test "${ac_cv_sys_large_files+set}" = set; then
13421 echo $ECHO_N "(cached) $ECHO_C" >&6
13424 cat >conftest.
$ac_ext <<_ACEOF
13425 #line 13425 "configure"
13426 #include "confdefs.h"
13427 #define _LARGE_FILES 1
13428 #include <sys/types.h>
13433 unsigned int field: sizeof(off_t) == 8;
13440 rm -f conftest.
$ac_objext
13441 if { (eval echo "$as_me:13441: \"$ac_compile\"") >&5
13442 (eval $ac_compile) 2>&5
13444 echo "$as_me:13444: \$? = $ac_status" >&5
13445 (exit $ac_status); } &&
13446 { ac_try
='test -s conftest.$ac_objext'
13447 { (eval echo "$as_me:13447: \"$ac_try\"") >&5
13448 (eval $ac_try) 2>&5
13450 echo "$as_me:13450: \$? = $ac_status" >&5
13451 (exit $ac_status); }; }; then
13452 ac_cv_sys_large_files
=1
13454 echo "$as_me: failed program was:" >&5
13455 cat conftest.
$ac_ext >&5
13456 ac_cv_sys_large_files
=no
13458 rm -f conftest.
$ac_objext conftest.
$ac_ext
13461 echo "$as_me:13461: result: $ac_cv_sys_large_files" >&5
13462 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
13464 if test "$ac_cv_sys_large_files" != no
; then
13466 cat >>confdefs.h
<<EOF
13467 #define _LARGE_FILES $ac_cv_sys_large_files
13474 echo "$as_me:13474: checking if large file support is available" >&5
13475 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
13476 if test "x$wx_largefile" = "xyes"; then
13477 cat >>confdefs.h
<<\EOF
13478 #define HAVE_LARGEFILE_SUPPORT 1
13482 echo "$as_me:13482: result: $wx_largefile" >&5
13483 echo "${ECHO_T}$wx_largefile" >&6
13486 echo "$as_me:13486: checking whether byte ordering is bigendian" >&5
13487 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
13488 if test "${ac_cv_c_bigendian+set}" = set; then
13489 echo $ECHO_N "(cached) $ECHO_C" >&6
13491 ac_cv_c_bigendian
=unknown
13492 # See if sys/param.h defines the BYTE_ORDER macro.
13493 cat >conftest.
$ac_ext <<_ACEOF
13494 #line 13494 "configure"
13495 #include "confdefs.h"
13496 #include <sys/types.h>
13497 #include <sys/param.h>
13502 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
13503 bogus endian macros
13509 rm -f conftest.
$ac_objext
13510 if { (eval echo "$as_me:13510: \"$ac_compile\"") >&5
13511 (eval $ac_compile) 2>&5
13513 echo "$as_me:13513: \$? = $ac_status" >&5
13514 (exit $ac_status); } &&
13515 { ac_try
='test -s conftest.$ac_objext'
13516 { (eval echo "$as_me:13516: \"$ac_try\"") >&5
13517 (eval $ac_try) 2>&5
13519 echo "$as_me:13519: \$? = $ac_status" >&5
13520 (exit $ac_status); }; }; then
13521 # It does; now see whether it defined to BIG_ENDIAN or not.
13522 cat >conftest.
$ac_ext <<_ACEOF
13523 #line 13523 "configure"
13524 #include "confdefs.h"
13525 #include <sys/types.h>
13526 #include <sys/param.h>
13531 #if BYTE_ORDER != BIG_ENDIAN
13538 rm -f conftest.
$ac_objext
13539 if { (eval echo "$as_me:13539: \"$ac_compile\"") >&5
13540 (eval $ac_compile) 2>&5
13542 echo "$as_me:13542: \$? = $ac_status" >&5
13543 (exit $ac_status); } &&
13544 { ac_try
='test -s conftest.$ac_objext'
13545 { (eval echo "$as_me:13545: \"$ac_try\"") >&5
13546 (eval $ac_try) 2>&5
13548 echo "$as_me:13548: \$? = $ac_status" >&5
13549 (exit $ac_status); }; }; then
13550 ac_cv_c_bigendian
=yes
13552 echo "$as_me: failed program was:" >&5
13553 cat conftest.
$ac_ext >&5
13554 ac_cv_c_bigendian
=no
13556 rm -f conftest.
$ac_objext conftest.
$ac_ext
13558 echo "$as_me: failed program was:" >&5
13559 cat conftest.
$ac_ext >&5
13561 rm -f conftest.
$ac_objext conftest.
$ac_ext
13562 if test $ac_cv_c_bigendian = unknown
; then
13563 if test "$cross_compiling" = yes; then
13564 ac_cv_c_bigendian
=unknown
13566 cat >conftest.
$ac_ext <<_ACEOF
13567 #line 13567 "configure"
13568 #include "confdefs.h"
13570 /* Are we little or big endian? From Harbison&Steele. */
13574 char c[sizeof (long)];
13577 exit (u.c[sizeof (long) - 1] == 1);
13580 rm -f conftest
$ac_exeext
13581 if { (eval echo "$as_me:13581: \"$ac_link\"") >&5
13582 (eval $ac_link) 2>&5
13584 echo "$as_me:13584: \$? = $ac_status" >&5
13585 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13586 { (eval echo "$as_me:13586: \"$ac_try\"") >&5
13587 (eval $ac_try) 2>&5
13589 echo "$as_me:13589: \$? = $ac_status" >&5
13590 (exit $ac_status); }; }; then
13591 ac_cv_c_bigendian
=no
13593 echo "$as_me: program exited with status $ac_status" >&5
13594 echo "$as_me: failed program was:" >&5
13595 cat conftest.
$ac_ext >&5
13596 ac_cv_c_bigendian
=yes
13598 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13602 echo "$as_me:13602: result: $ac_cv_c_bigendian" >&5
13603 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
13604 if test $ac_cv_c_bigendian = unknown
; then
13605 { echo "$as_me:13605: 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
13606 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;}
13608 if test $ac_cv_c_bigendian = yes; then
13609 cat >>confdefs.h
<<\EOF
13610 #define WORDS_BIGENDIAN 1
13616 ac_cpp
='$CXXCPP $CPPFLAGS'
13617 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13618 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13619 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13620 echo "$as_me:13620: checking how to run the C++ preprocessor" >&5
13621 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
13622 if test -z "$CXXCPP"; then
13623 if test "${ac_cv_prog_CXXCPP+set}" = set; then
13624 echo $ECHO_N "(cached) $ECHO_C" >&6
13626 # Double quotes because CXXCPP needs to be expanded
13627 for CXXCPP
in "$CXX -E" "/lib/cpp"
13629 ac_preproc_ok
=false
13630 for ac_cxx_preproc_warn_flag
in '' yes
13632 # Use a header file that comes with gcc, so configuring glibc
13633 # with a fresh cross-compiler works.
13634 # On the NeXT, cc -E runs the code through the compiler's parser,
13635 # not just through cpp. "Syntax error" is here to catch this case.
13636 cat >conftest.
$ac_ext <<_ACEOF
13637 #line 13637 "configure"
13638 #include "confdefs.h"
13639 #include <assert.h>
13642 if { (eval echo "$as_me:13642: \"$ac_cpp conftest.$ac_ext\"") >&5
13643 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13645 egrep -v '^ *\+' conftest.er1
>conftest.err
13647 cat conftest.err
>&5
13648 echo "$as_me:13648: \$? = $ac_status" >&5
13649 (exit $ac_status); } >/dev
/null
; then
13650 if test -s conftest.err
; then
13651 ac_cpp_err
=$ac_cxx_preproc_warn_flag
13658 if test -z "$ac_cpp_err"; then
13661 echo "$as_me: failed program was:" >&5
13662 cat conftest.
$ac_ext >&5
13663 # Broken: fails on valid input.
13666 rm -f conftest.err conftest.
$ac_ext
13668 # OK, works on sane cases. Now check whether non-existent headers
13669 # can be detected and how.
13670 cat >conftest.
$ac_ext <<_ACEOF
13671 #line 13671 "configure"
13672 #include "confdefs.h"
13673 #include <ac_nonexistent.h>
13675 if { (eval echo "$as_me:13675: \"$ac_cpp conftest.$ac_ext\"") >&5
13676 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13678 egrep -v '^ *\+' conftest.er1
>conftest.err
13680 cat conftest.err
>&5
13681 echo "$as_me:13681: \$? = $ac_status" >&5
13682 (exit $ac_status); } >/dev
/null
; then
13683 if test -s conftest.err
; then
13684 ac_cpp_err
=$ac_cxx_preproc_warn_flag
13691 if test -z "$ac_cpp_err"; then
13692 # Broken: success on invalid input.
13695 echo "$as_me: failed program was:" >&5
13696 cat conftest.
$ac_ext >&5
13697 # Passes both tests.
13701 rm -f conftest.err conftest.
$ac_ext
13704 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13705 rm -f conftest.err conftest.
$ac_ext
13706 if $ac_preproc_ok; then
13711 ac_cv_prog_CXXCPP
=$CXXCPP
13714 CXXCPP
=$ac_cv_prog_CXXCPP
13716 ac_cv_prog_CXXCPP
=$CXXCPP
13718 echo "$as_me:13718: result: $CXXCPP" >&5
13719 echo "${ECHO_T}$CXXCPP" >&6
13720 ac_preproc_ok
=false
13721 for ac_cxx_preproc_warn_flag
in '' yes
13723 # Use a header file that comes with gcc, so configuring glibc
13724 # with a fresh cross-compiler works.
13725 # On the NeXT, cc -E runs the code through the compiler's parser,
13726 # not just through cpp. "Syntax error" is here to catch this case.
13727 cat >conftest.
$ac_ext <<_ACEOF
13728 #line 13728 "configure"
13729 #include "confdefs.h"
13730 #include <assert.h>
13733 if { (eval echo "$as_me:13733: \"$ac_cpp conftest.$ac_ext\"") >&5
13734 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13736 egrep -v '^ *\+' conftest.er1
>conftest.err
13738 cat conftest.err
>&5
13739 echo "$as_me:13739: \$? = $ac_status" >&5
13740 (exit $ac_status); } >/dev
/null
; then
13741 if test -s conftest.err
; then
13742 ac_cpp_err
=$ac_cxx_preproc_warn_flag
13749 if test -z "$ac_cpp_err"; then
13752 echo "$as_me: failed program was:" >&5
13753 cat conftest.
$ac_ext >&5
13754 # Broken: fails on valid input.
13757 rm -f conftest.err conftest.
$ac_ext
13759 # OK, works on sane cases. Now check whether non-existent headers
13760 # can be detected and how.
13761 cat >conftest.
$ac_ext <<_ACEOF
13762 #line 13762 "configure"
13763 #include "confdefs.h"
13764 #include <ac_nonexistent.h>
13766 if { (eval echo "$as_me:13766: \"$ac_cpp conftest.$ac_ext\"") >&5
13767 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13769 egrep -v '^ *\+' conftest.er1
>conftest.err
13771 cat conftest.err
>&5
13772 echo "$as_me:13772: \$? = $ac_status" >&5
13773 (exit $ac_status); } >/dev
/null
; then
13774 if test -s conftest.err
; then
13775 ac_cpp_err
=$ac_cxx_preproc_warn_flag
13782 if test -z "$ac_cpp_err"; then
13783 # Broken: success on invalid input.
13786 echo "$as_me: failed program was:" >&5
13787 cat conftest.
$ac_ext >&5
13788 # Passes both tests.
13792 rm -f conftest.err conftest.
$ac_ext
13795 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13796 rm -f conftest.err conftest.
$ac_ext
13797 if $ac_preproc_ok; then
13800 { { echo "$as_me:13800: error: C++ preprocessor \"$CXXCPP\" fails sanity check" >&5
13801 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check" >&2;}
13802 { (exit 1); exit 1; }; }
13806 ac_cpp
='$CXXCPP $CPPFLAGS'
13807 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13808 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13809 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13811 if test "$cross_compiling" = "yes"; then
13812 cat >>confdefs.h
<<\EOF
13813 #define wxUSE_IOSTREAMH 1
13819 ac_cpp
='$CXXCPP $CPPFLAGS'
13820 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13821 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13822 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13824 for ac_header
in iostream
13826 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13827 echo "$as_me:13827: checking for $ac_header" >&5
13828 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13829 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13830 echo $ECHO_N "(cached) $ECHO_C" >&6
13832 cat >conftest.
$ac_ext <<_ACEOF
13833 #line 13833 "configure"
13834 #include "confdefs.h"
13835 #include <$ac_header>
13837 if { (eval echo "$as_me:13837: \"$ac_cpp conftest.$ac_ext\"") >&5
13838 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13840 egrep -v '^ *\+' conftest.er1
>conftest.err
13842 cat conftest.err
>&5
13843 echo "$as_me:13843: \$? = $ac_status" >&5
13844 (exit $ac_status); } >/dev
/null
; then
13845 if test -s conftest.err
; then
13846 ac_cpp_err
=$ac_cxx_preproc_warn_flag
13853 if test -z "$ac_cpp_err"; then
13854 eval "$as_ac_Header=yes"
13856 echo "$as_me: failed program was:" >&5
13857 cat conftest.
$ac_ext >&5
13858 eval "$as_ac_Header=no"
13860 rm -f conftest.err conftest.
$ac_ext
13862 echo "$as_me:13862: result: `eval echo '${'$as_ac_Header'}'`" >&5
13863 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13864 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13865 cat >>confdefs.h
<<EOF
13866 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13872 if test "$ac_cv_header_iostream" = "yes" ; then
13875 cat >>confdefs.h
<<\EOF
13876 #define wxUSE_IOSTREAMH 1
13882 ac_cpp
='$CPP $CPPFLAGS'
13883 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13884 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13885 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13889 echo "$as_me:13889: checking if C++ compiler supports bool" >&5
13890 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
13891 if test "${wx_cv_cpp_bool+set}" = set; then
13892 echo $ECHO_N "(cached) $ECHO_C" >&6
13896 ac_cpp
='$CXXCPP $CPPFLAGS'
13897 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13898 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13899 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13901 cat >conftest.
$ac_ext <<_ACEOF
13902 #line 13902 "configure"
13903 #include "confdefs.h"
13917 rm -f conftest.
$ac_objext
13918 if { (eval echo "$as_me:13918: \"$ac_compile\"") >&5
13919 (eval $ac_compile) 2>&5
13921 echo "$as_me:13921: \$? = $ac_status" >&5
13922 (exit $ac_status); } &&
13923 { ac_try
='test -s conftest.$ac_objext'
13924 { (eval echo "$as_me:13924: \"$ac_try\"") >&5
13925 (eval $ac_try) 2>&5
13927 echo "$as_me:13927: \$? = $ac_status" >&5
13928 (exit $ac_status); }; }; then
13933 echo "$as_me: failed program was:" >&5
13934 cat conftest.
$ac_ext >&5
13939 rm -f conftest.
$ac_objext conftest.
$ac_ext
13942 ac_cpp
='$CPP $CPPFLAGS'
13943 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13944 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13945 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13948 echo "$as_me:13948: result: $wx_cv_cpp_bool" >&5
13949 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
13951 if test "$wx_cv_cpp_bool" = "yes"; then
13952 cat >>confdefs.h
<<\EOF
13953 #define HAVE_BOOL 1
13958 echo "$as_me:13958: checking if C++ compiler supports the explicit keyword" >&5
13959 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
13960 if test "${wx_cv_explicit+set}" = set; then
13961 echo $ECHO_N "(cached) $ECHO_C" >&6
13965 ac_cpp
='$CXXCPP $CPPFLAGS'
13966 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13967 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13968 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13970 cat >conftest.
$ac_ext <<_ACEOF
13971 #line 13971 "configure"
13972 #include "confdefs.h"
13974 class Foo { public: explicit Foo(int) {} };
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
13999 cat >conftest.
$ac_ext <<_ACEOF
14000 #line 14000 "configure"
14001 #include "confdefs.h"
14003 class Foo { public: explicit Foo(int) {} };
14004 static void TakeFoo(const Foo& foo) { }
14017 rm -f conftest.
$ac_objext
14018 if { (eval echo "$as_me:14018: \"$ac_compile\"") >&5
14019 (eval $ac_compile) 2>&5
14021 echo "$as_me:14021: \$? = $ac_status" >&5
14022 (exit $ac_status); } &&
14023 { ac_try
='test -s conftest.$ac_objext'
14024 { (eval echo "$as_me:14024: \"$ac_try\"") >&5
14025 (eval $ac_try) 2>&5
14027 echo "$as_me:14027: \$? = $ac_status" >&5
14028 (exit $ac_status); }; }; then
14031 echo "$as_me: failed program was:" >&5
14032 cat conftest.
$ac_ext >&5
14036 rm -f conftest.
$ac_objext conftest.
$ac_ext
14039 echo "$as_me: failed program was:" >&5
14040 cat conftest.
$ac_ext >&5
14044 rm -f conftest.
$ac_objext conftest.
$ac_ext
14047 ac_cpp
='$CPP $CPPFLAGS'
14048 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14049 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14050 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14053 echo "$as_me:14053: result: $wx_cv_explicit" >&5
14054 echo "${ECHO_T}$wx_cv_explicit" >&6
14056 if test "$wx_cv_explicit" = "yes"; then
14057 cat >>confdefs.h
<<\EOF
14058 #define HAVE_EXPLICIT 1
14064 /usr/local/include \
14066 /usr/Motif-1.2/include \
14067 /usr/Motif-2.1/include \
14069 /usr/include/Motif1.2 \
14070 /opt/xpm/include/X11 \
14071 /opt/GBxpm/include/ \
14072 /opt/GBxpm/X11/include/ \
14074 /usr/Motif1.2/include \
14076 /usr/openwin/include \
14080 /usr/X11R6/include \
14081 /usr/X11R6.4/include \
14082 /usr/X11R5/include \
14083 /usr/X11R4/include \
14085 /usr/include/X11R6 \
14086 /usr/include/X11R5 \
14087 /usr/include/X11R4 \
14089 /usr/local/X11R6/include \
14090 /usr/local/X11R5/include \
14091 /usr/local/X11R4/include \
14093 /usr/local/include/X11R6 \
14094 /usr/local/include/X11R5 \
14095 /usr/local/include/X11R4 \
14099 /usr/local/X11/include \
14100 /usr/local/include/X11 \
14102 /usr/X386/include \
14103 /usr/x386/include \
14104 /usr/XFree86/include/X11 \
14106 X:/XFree86/include \
14107 X:/XFree86/include/X11 \
14110 /usr/local/include/gtk \
14111 /usr/include/glib \
14112 /usr/local/include/glib \
14115 /usr/local/include/qt \
14117 /usr/include/windows \
14118 /usr/include/wine \
14119 /usr/local/include/wine \
14121 /usr/unsupported/include \
14122 /usr/athena/include \
14123 /usr/local/x11r5/include \
14124 /usr/lpp/Xamples/include \
14126 /usr/openwin/share/include \
14130 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
14132 cat >confcache
<<\_ACEOF
14133 # This file is a shell script that caches the results of configure
14134 # tests run on this system so they can be shared between configure
14135 # scripts and configure runs, see configure's option --config-cache.
14136 # It is not useful on other systems. If it contains results you don't
14137 # want to keep, you may remove or edit it.
14139 # config.status only pays attention to the cache file if you give it
14140 # the --recheck option to rerun configure.
14142 # `ac_cv_env_foo' variables (set or unset) will be overriden when
14143 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14144 # following values.
14148 # The following way of writing the cache mishandles newlines in values,
14149 # but we know of no workaround that is simple, portable, and efficient.
14150 # So, don't put newlines in cache variables' values.
14151 # Ultrix sh set writes to stderr and can't be redirected directly,
14152 # and sets the high bit in the cache file unless we assign to the vars.
14155 case `(ac_space=' '; set | grep ac_space) 2>&1` in
14157 # `set' does not quote correctly, so add quotes (double-quote
14158 # substitution turns \\\\ into \\, and sed turns \\ into \).
14161 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14164 # `set' quotes correctly as required by POSIX, so do not add quotes.
14166 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
14173 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14175 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14177 if cmp -s $cache_file confcache
; then :; else
14178 if test -w $cache_file; then
14179 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
14180 cat confcache
>$cache_file
14182 echo "not updating unwritable cache $cache_file"
14187 if test "$USE_LINUX" = 1; then
14188 echo "$as_me:14188: checking for glibc 2.1 or later" >&5
14189 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
14190 if test "${wx_cv_lib_glibc21+set}" = set; then
14191 echo $ECHO_N "(cached) $ECHO_C" >&6
14194 cat >conftest.
$ac_ext <<_ACEOF
14195 #line 14195 "configure"
14196 #include "confdefs.h"
14197 #include <features.h>
14202 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
14203 #error not glibc2.1
14210 rm -f conftest.
$ac_objext
14211 if { (eval echo "$as_me:14211: \"$ac_compile\"") >&5
14212 (eval $ac_compile) 2>&5
14214 echo "$as_me:14214: \$? = $ac_status" >&5
14215 (exit $ac_status); } &&
14216 { ac_try
='test -s conftest.$ac_objext'
14217 { (eval echo "$as_me:14217: \"$ac_try\"") >&5
14218 (eval $ac_try) 2>&5
14220 echo "$as_me:14220: \$? = $ac_status" >&5
14221 (exit $ac_status); }; }; then
14223 wx_cv_lib_glibc21
=yes
14226 echo "$as_me: failed program was:" >&5
14227 cat conftest.
$ac_ext >&5
14229 wx_cv_lib_glibc21
=no
14232 rm -f conftest.
$ac_objext conftest.
$ac_ext
14235 echo "$as_me:14235: result: $wx_cv_lib_glibc21" >&5
14236 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
14237 if test "$wx_cv_lib_glibc21" = "yes"; then
14238 cat >>confdefs.h
<<\EOF
14239 #define wxHAVE_GLIBC2 1
14245 if test "x$wx_cv_lib_glibc21" = "xyes"; then
14246 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
14247 cat >>confdefs.h
<<\EOF
14248 #define _GNU_SOURCE 1
14255 if test "$wxUSE_REGEX" != "no"; then
14256 cat >>confdefs.h
<<\EOF
14257 #define wxUSE_REGEX 1
14260 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
14261 echo "$as_me:14261: checking for regex.h" >&5
14262 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
14263 if test "${ac_cv_header_regex_h+set}" = set; then
14264 echo $ECHO_N "(cached) $ECHO_C" >&6
14266 cat >conftest.
$ac_ext <<_ACEOF
14267 #line 14267 "configure"
14268 #include "confdefs.h"
14271 if { (eval echo "$as_me:14271: \"$ac_cpp conftest.$ac_ext\"") >&5
14272 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14274 egrep -v '^ *\+' conftest.er1
>conftest.err
14276 cat conftest.err
>&5
14277 echo "$as_me:14277: \$? = $ac_status" >&5
14278 (exit $ac_status); } >/dev
/null
; then
14279 if test -s conftest.err
; then
14280 ac_cpp_err
=$ac_c_preproc_warn_flag
14287 if test -z "$ac_cpp_err"; then
14288 ac_cv_header_regex_h
=yes
14290 echo "$as_me: failed program was:" >&5
14291 cat conftest.
$ac_ext >&5
14292 ac_cv_header_regex_h
=no
14294 rm -f conftest.err conftest.
$ac_ext
14296 echo "$as_me:14296: result: $ac_cv_header_regex_h" >&5
14297 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
14298 if test $ac_cv_header_regex_h = yes; then
14300 for ac_func
in regcomp
14302 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14303 echo "$as_me:14303: checking for $ac_func" >&5
14304 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14305 if eval "test \"\${$as_ac_var+set}\" = set"; then
14306 echo $ECHO_N "(cached) $ECHO_C" >&6
14308 cat >conftest.
$ac_ext <<_ACEOF
14309 #line 14309 "configure"
14310 #include "confdefs.h"
14311 /* System header to define __stub macros and hopefully few prototypes
14313 which can conflict with char $ac_func (); below. */
14314 #include <assert.h>
14315 /* Override any gcc2 internal prototype to avoid an error. */
14319 /* We use char because int might match the return type of a gcc2
14320 builtin and then its argument prototype would still apply. */
14327 /* The GNU C library defines this for functions which it implements
14328 to always fail with ENOSYS. Some functions are actually named
14329 something starting with __ and the normal name is an alias. */
14330 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14340 rm -f conftest.
$ac_objext conftest
$ac_exeext
14341 if { (eval echo "$as_me:14341: \"$ac_link\"") >&5
14342 (eval $ac_link) 2>&5
14344 echo "$as_me:14344: \$? = $ac_status" >&5
14345 (exit $ac_status); } &&
14346 { ac_try
='test -s conftest$ac_exeext'
14347 { (eval echo "$as_me:14347: \"$ac_try\"") >&5
14348 (eval $ac_try) 2>&5
14350 echo "$as_me:14350: \$? = $ac_status" >&5
14351 (exit $ac_status); }; }; then
14352 eval "$as_ac_var=yes"
14354 echo "$as_me: failed program was:" >&5
14355 cat conftest.
$ac_ext >&5
14356 eval "$as_ac_var=no"
14358 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
14360 echo "$as_me:14360: result: `eval echo '${'$as_ac_var'}'`" >&5
14361 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14362 if test `eval echo '${'$as_ac_var'}'` = yes; then
14363 cat >>confdefs.h
<<EOF
14364 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14372 if test "x$ac_cv_func_regcomp" != "xyes"; then
14373 if test "$wxUSE_REGEX" = "sys" ; then
14374 { { echo "$as_me:14374: error: system regex library not found! Use --with-regex to use built-in version" >&5
14375 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
14376 { (exit 1); exit 1; }; }
14378 { echo "$as_me:14378: WARNING: system regex library not found, will use built-in instead" >&5
14379 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
14380 wxUSE_REGEX
=builtin
14387 if test "$wxUSE_REGEX" = "builtin" ; then
14388 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
14394 if test "$wxUSE_ZLIB" != "no" ; then
14395 cat >>confdefs.h
<<\EOF
14396 #define wxUSE_ZLIB 1
14399 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
14400 echo "$as_me:14400: checking for zlib.h" >&5
14401 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
14402 if test "${ac_cv_header_zlib_h+set}" = set; then
14403 echo $ECHO_N "(cached) $ECHO_C" >&6
14405 cat >conftest.
$ac_ext <<_ACEOF
14406 #line 14406 "configure"
14407 #include "confdefs.h"
14410 if { (eval echo "$as_me:14410: \"$ac_cpp conftest.$ac_ext\"") >&5
14411 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14413 egrep -v '^ *\+' conftest.er1
>conftest.err
14415 cat conftest.err
>&5
14416 echo "$as_me:14416: \$? = $ac_status" >&5
14417 (exit $ac_status); } >/dev
/null
; then
14418 if test -s conftest.err
; then
14419 ac_cpp_err
=$ac_c_preproc_warn_flag
14426 if test -z "$ac_cpp_err"; then
14427 ac_cv_header_zlib_h
=yes
14429 echo "$as_me: failed program was:" >&5
14430 cat conftest.
$ac_ext >&5
14431 ac_cv_header_zlib_h
=no
14433 rm -f conftest.err conftest.
$ac_ext
14435 echo "$as_me:14435: result: $ac_cv_header_zlib_h" >&5
14436 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
14437 if test $ac_cv_header_zlib_h = yes; then
14438 echo "$as_me:14438: checking for deflate in -lz" >&5
14439 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
14440 if test "${ac_cv_lib_z_deflate+set}" = set; then
14441 echo $ECHO_N "(cached) $ECHO_C" >&6
14443 ac_check_lib_save_LIBS
=$LIBS
14445 cat >conftest.
$ac_ext <<_ACEOF
14446 #line 14446 "configure"
14447 #include "confdefs.h"
14449 /* Override any gcc2 internal prototype to avoid an error. */
14453 /* We use char because int might match the return type of a gcc2
14454 builtin and then its argument prototype would still apply. */
14464 rm -f conftest.
$ac_objext conftest
$ac_exeext
14465 if { (eval echo "$as_me:14465: \"$ac_link\"") >&5
14466 (eval $ac_link) 2>&5
14468 echo "$as_me:14468: \$? = $ac_status" >&5
14469 (exit $ac_status); } &&
14470 { ac_try
='test -s conftest$ac_exeext'
14471 { (eval echo "$as_me:14471: \"$ac_try\"") >&5
14472 (eval $ac_try) 2>&5
14474 echo "$as_me:14474: \$? = $ac_status" >&5
14475 (exit $ac_status); }; }; then
14476 ac_cv_lib_z_deflate
=yes
14478 echo "$as_me: failed program was:" >&5
14479 cat conftest.
$ac_ext >&5
14480 ac_cv_lib_z_deflate
=no
14482 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
14483 LIBS
=$ac_check_lib_save_LIBS
14485 echo "$as_me:14485: result: $ac_cv_lib_z_deflate" >&5
14486 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
14487 if test $ac_cv_lib_z_deflate = yes; then
14493 if test "x$ZLIB_LINK" = "x" ; then
14494 if test "$wxUSE_ZLIB" = "sys" ; then
14495 { { echo "$as_me:14495: error: system zlib compression library not found! Use --with-zlib=builtin to use built-in version" >&5
14496 echo "$as_me: error: system zlib compression library not found! Use --with-zlib=builtin to use built-in version" >&2;}
14497 { (exit 1); exit 1; }; }
14499 { echo "$as_me:14499: WARNING: system zlib compression library not found, will use built-in instead" >&5
14500 echo "$as_me: WARNING: system zlib compression library not found, will use built-in instead" >&2;}
14508 if test "$wxUSE_ZLIB" = "builtin" ; then
14509 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
14515 if test "$wxUSE_LIBPNG" != "no" ; then
14516 cat >>confdefs.h
<<\EOF
14517 #define wxUSE_LIBPNG 1
14520 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
14521 { echo "$as_me:14521: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
14522 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
14526 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
14527 { echo "$as_me:14527: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
14528 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
14529 wxUSE_LIBPNG
=builtin
14532 if test "$wxUSE_MGL" != 1 ; then
14533 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
14534 echo "$as_me:14534: checking for png.h" >&5
14535 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
14536 if test "${ac_cv_header_png_h+set}" = set; then
14537 echo $ECHO_N "(cached) $ECHO_C" >&6
14539 cat >conftest.
$ac_ext <<_ACEOF
14540 #line 14540 "configure"
14541 #include "confdefs.h"
14544 if { (eval echo "$as_me:14544: \"$ac_cpp conftest.$ac_ext\"") >&5
14545 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14547 egrep -v '^ *\+' conftest.er1
>conftest.err
14549 cat conftest.err
>&5
14550 echo "$as_me:14550: \$? = $ac_status" >&5
14551 (exit $ac_status); } >/dev
/null
; then
14552 if test -s conftest.err
; then
14553 ac_cpp_err
=$ac_c_preproc_warn_flag
14560 if test -z "$ac_cpp_err"; then
14561 ac_cv_header_png_h
=yes
14563 echo "$as_me: failed program was:" >&5
14564 cat conftest.
$ac_ext >&5
14565 ac_cv_header_png_h
=no
14567 rm -f conftest.err conftest.
$ac_ext
14569 echo "$as_me:14569: result: $ac_cv_header_png_h" >&5
14570 echo "${ECHO_T}$ac_cv_header_png_h" >&6
14571 if test $ac_cv_header_png_h = yes; then
14572 echo "$as_me:14572: checking for png_check_sig in -lpng" >&5
14573 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
14574 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
14575 echo $ECHO_N "(cached) $ECHO_C" >&6
14577 ac_check_lib_save_LIBS
=$LIBS
14578 LIBS
="-lpng -lz -lm $LIBS"
14579 cat >conftest.
$ac_ext <<_ACEOF
14580 #line 14580 "configure"
14581 #include "confdefs.h"
14583 /* Override any gcc2 internal prototype to avoid an error. */
14587 /* We use char because int might match the return type of a gcc2
14588 builtin and then its argument prototype would still apply. */
14589 char png_check_sig ();
14598 rm -f conftest.
$ac_objext conftest
$ac_exeext
14599 if { (eval echo "$as_me:14599: \"$ac_link\"") >&5
14600 (eval $ac_link) 2>&5
14602 echo "$as_me:14602: \$? = $ac_status" >&5
14603 (exit $ac_status); } &&
14604 { ac_try
='test -s conftest$ac_exeext'
14605 { (eval echo "$as_me:14605: \"$ac_try\"") >&5
14606 (eval $ac_try) 2>&5
14608 echo "$as_me:14608: \$? = $ac_status" >&5
14609 (exit $ac_status); }; }; then
14610 ac_cv_lib_png_png_check_sig
=yes
14612 echo "$as_me: failed program was:" >&5
14613 cat conftest.
$ac_ext >&5
14614 ac_cv_lib_png_png_check_sig
=no
14616 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
14617 LIBS
=$ac_check_lib_save_LIBS
14619 echo "$as_me:14619: result: $ac_cv_lib_png_png_check_sig" >&5
14620 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
14621 if test $ac_cv_lib_png_png_check_sig = yes; then
14627 if test "x$PNG_LINK" = "x" ; then
14628 if test "$wxUSE_LIBPNG" = "sys" ; then
14629 { { echo "$as_me:14629: error: system png library not found! Use --with-libpng=builtin to use built-in version" >&5
14630 echo "$as_me: error: system png library not found! Use --with-libpng=builtin to use built-in version" >&2;}
14631 { (exit 1); exit 1; }; }
14633 { echo "$as_me:14633: WARNING: system png library not found, will use built-in instead" >&5
14634 echo "$as_me: WARNING: system png library not found, will use built-in instead" >&2;}
14635 wxUSE_LIBPNG
=builtin
14643 if test "$wxUSE_LIBPNG" = "builtin" ; then
14644 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
14647 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
14652 if test "$wxUSE_LIBJPEG" != "no" ; then
14653 cat >>confdefs.h
<<\EOF
14654 #define wxUSE_LIBJPEG 1
14657 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
14658 { echo "$as_me:14658: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
14659 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
14663 if test "$wxUSE_MGL" != 1 ; then
14664 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
14665 echo "$as_me:14665: checking for jpeglib.h" >&5
14666 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
14667 if test "${ac_cv_header_jpeglib_h+set}" = set; then
14668 echo $ECHO_N "(cached) $ECHO_C" >&6
14670 cat >conftest.
$ac_ext <<_ACEOF
14671 #line 14671 "configure"
14672 #include "confdefs.h"
14674 #undef HAVE_STDLIB_H
14676 #include <jpeglib.h>
14686 rm -f conftest.
$ac_objext
14687 if { (eval echo "$as_me:14687: \"$ac_compile\"") >&5
14688 (eval $ac_compile) 2>&5
14690 echo "$as_me:14690: \$? = $ac_status" >&5
14691 (exit $ac_status); } &&
14692 { ac_try
='test -s conftest.$ac_objext'
14693 { (eval echo "$as_me:14693: \"$ac_try\"") >&5
14694 (eval $ac_try) 2>&5
14696 echo "$as_me:14696: \$? = $ac_status" >&5
14697 (exit $ac_status); }; }; then
14698 ac_cv_header_jpeglib_h
=yes
14700 echo "$as_me: failed program was:" >&5
14701 cat conftest.
$ac_ext >&5
14702 ac_cv_header_jpeglib_h
=no
14705 rm -f conftest.
$ac_objext conftest.
$ac_ext
14709 echo "$as_me:14709: result: $ac_cv_header_jpeglib_h" >&5
14710 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
14712 if test "$ac_cv_header_jpeglib_h" = "yes"; then
14713 echo "$as_me:14713: checking for jpeg_read_header in -ljpeg" >&5
14714 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
14715 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
14716 echo $ECHO_N "(cached) $ECHO_C" >&6
14718 ac_check_lib_save_LIBS
=$LIBS
14719 LIBS
="-ljpeg $LIBS"
14720 cat >conftest.
$ac_ext <<_ACEOF
14721 #line 14721 "configure"
14722 #include "confdefs.h"
14724 /* Override any gcc2 internal prototype to avoid an error. */
14728 /* We use char because int might match the return type of a gcc2
14729 builtin and then its argument prototype would still apply. */
14730 char jpeg_read_header ();
14734 jpeg_read_header ();
14739 rm -f conftest.
$ac_objext conftest
$ac_exeext
14740 if { (eval echo "$as_me:14740: \"$ac_link\"") >&5
14741 (eval $ac_link) 2>&5
14743 echo "$as_me:14743: \$? = $ac_status" >&5
14744 (exit $ac_status); } &&
14745 { ac_try
='test -s conftest$ac_exeext'
14746 { (eval echo "$as_me:14746: \"$ac_try\"") >&5
14747 (eval $ac_try) 2>&5
14749 echo "$as_me:14749: \$? = $ac_status" >&5
14750 (exit $ac_status); }; }; then
14751 ac_cv_lib_jpeg_jpeg_read_header
=yes
14753 echo "$as_me: failed program was:" >&5
14754 cat conftest.
$ac_ext >&5
14755 ac_cv_lib_jpeg_jpeg_read_header
=no
14757 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
14758 LIBS
=$ac_check_lib_save_LIBS
14760 echo "$as_me:14760: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
14761 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
14762 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
14763 JPEG_LINK
=" -ljpeg"
14768 if test "x$JPEG_LINK" = "x" ; then
14769 if test "$wxUSE_LIBJPEG" = "sys" ; then
14770 { { echo "$as_me:14770: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
14771 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
14772 { (exit 1); exit 1; }; }
14774 { echo "$as_me:14774: WARNING: system jpeg library not found, will use built-in instead" >&5
14775 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
14776 wxUSE_LIBJPEG
=builtin
14784 if test "$wxUSE_LIBJPEG" = "builtin" ; then
14785 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
14791 if test "$wxUSE_LIBTIFF" != "no" ; then
14792 cat >>confdefs.h
<<\EOF
14793 #define wxUSE_LIBTIFF 1
14796 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
14797 echo "$as_me:14797: checking for tiffio.h" >&5
14798 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
14799 if test "${ac_cv_header_tiffio_h+set}" = set; then
14800 echo $ECHO_N "(cached) $ECHO_C" >&6
14802 cat >conftest.
$ac_ext <<_ACEOF
14803 #line 14803 "configure"
14804 #include "confdefs.h"
14805 #include <tiffio.h>
14807 if { (eval echo "$as_me:14807: \"$ac_cpp conftest.$ac_ext\"") >&5
14808 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14810 egrep -v '^ *\+' conftest.er1
>conftest.err
14812 cat conftest.err
>&5
14813 echo "$as_me:14813: \$? = $ac_status" >&5
14814 (exit $ac_status); } >/dev
/null
; then
14815 if test -s conftest.err
; then
14816 ac_cpp_err
=$ac_c_preproc_warn_flag
14823 if test -z "$ac_cpp_err"; then
14824 ac_cv_header_tiffio_h
=yes
14826 echo "$as_me: failed program was:" >&5
14827 cat conftest.
$ac_ext >&5
14828 ac_cv_header_tiffio_h
=no
14830 rm -f conftest.err conftest.
$ac_ext
14832 echo "$as_me:14832: result: $ac_cv_header_tiffio_h" >&5
14833 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
14834 if test $ac_cv_header_tiffio_h = yes; then
14835 echo "$as_me:14835: checking for TIFFError in -ltiff" >&5
14836 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
14837 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
14838 echo $ECHO_N "(cached) $ECHO_C" >&6
14840 ac_check_lib_save_LIBS
=$LIBS
14841 LIBS
="-ltiff -lm $LIBS"
14842 cat >conftest.
$ac_ext <<_ACEOF
14843 #line 14843 "configure"
14844 #include "confdefs.h"
14846 /* Override any gcc2 internal prototype to avoid an error. */
14850 /* We use char because int might match the return type of a gcc2
14851 builtin and then its argument prototype would still apply. */
14861 rm -f conftest.
$ac_objext conftest
$ac_exeext
14862 if { (eval echo "$as_me:14862: \"$ac_link\"") >&5
14863 (eval $ac_link) 2>&5
14865 echo "$as_me:14865: \$? = $ac_status" >&5
14866 (exit $ac_status); } &&
14867 { ac_try
='test -s conftest$ac_exeext'
14868 { (eval echo "$as_me:14868: \"$ac_try\"") >&5
14869 (eval $ac_try) 2>&5
14871 echo "$as_me:14871: \$? = $ac_status" >&5
14872 (exit $ac_status); }; }; then
14873 ac_cv_lib_tiff_TIFFError
=yes
14875 echo "$as_me: failed program was:" >&5
14876 cat conftest.
$ac_ext >&5
14877 ac_cv_lib_tiff_TIFFError
=no
14879 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
14880 LIBS
=$ac_check_lib_save_LIBS
14882 echo "$as_me:14882: result: $ac_cv_lib_tiff_TIFFError" >&5
14883 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
14884 if test $ac_cv_lib_tiff_TIFFError = yes; then
14885 TIFF_LINK
=" -ltiff"
14890 if test "x$TIFF_LINK" = "x" ; then
14891 if test "$wxUSE_LIBTIFF" = "sys" ; then
14892 { { echo "$as_me:14892: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
14893 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
14894 { (exit 1); exit 1; }; }
14896 { echo "$as_me:14896: WARNING: system tiff library not found, will use built-in instead" >&5
14897 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
14898 wxUSE_LIBTIFF
=builtin
14905 if test "$wxUSE_LIBTIFF" = "builtin" ; then
14906 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
14916 if test "$USE_WIN32" = 1 ; then
14918 for ac_header
in w32api.h
14920 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14921 echo "$as_me:14921: checking for $ac_header" >&5
14922 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14923 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14924 echo $ECHO_N "(cached) $ECHO_C" >&6
14926 cat >conftest.
$ac_ext <<_ACEOF
14927 #line 14927 "configure"
14928 #include "confdefs.h"
14929 #include <$ac_header>
14931 if { (eval echo "$as_me:14931: \"$ac_cpp conftest.$ac_ext\"") >&5
14932 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14934 egrep -v '^ *\+' conftest.er1
>conftest.err
14936 cat conftest.err
>&5
14937 echo "$as_me:14937: \$? = $ac_status" >&5
14938 (exit $ac_status); } >/dev
/null
; then
14939 if test -s conftest.err
; then
14940 ac_cpp_err
=$ac_c_preproc_warn_flag
14947 if test -z "$ac_cpp_err"; then
14948 eval "$as_ac_Header=yes"
14950 echo "$as_me: failed program was:" >&5
14951 cat conftest.
$ac_ext >&5
14952 eval "$as_ac_Header=no"
14954 rm -f conftest.err conftest.
$ac_ext
14956 echo "$as_me:14956: result: `eval echo '${'$as_ac_Header'}'`" >&5
14957 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14958 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14959 cat >>confdefs.h
<<EOF
14960 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14966 echo "$as_me:14966: checking for windows.h" >&5
14967 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
14968 if test "${ac_cv_header_windows_h+set}" = set; then
14969 echo $ECHO_N "(cached) $ECHO_C" >&6
14971 cat >conftest.
$ac_ext <<_ACEOF
14972 #line 14972 "configure"
14973 #include "confdefs.h"
14974 #include <windows.h>
14976 if { (eval echo "$as_me:14976: \"$ac_cpp conftest.$ac_ext\"") >&5
14977 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14979 egrep -v '^ *\+' conftest.er1
>conftest.err
14981 cat conftest.err
>&5
14982 echo "$as_me:14982: \$? = $ac_status" >&5
14983 (exit $ac_status); } >/dev
/null
; then
14984 if test -s conftest.err
; then
14985 ac_cpp_err
=$ac_c_preproc_warn_flag
14992 if test -z "$ac_cpp_err"; then
14993 ac_cv_header_windows_h
=yes
14995 echo "$as_me: failed program was:" >&5
14996 cat conftest.
$ac_ext >&5
14997 ac_cv_header_windows_h
=no
14999 rm -f conftest.err conftest.
$ac_ext
15001 echo "$as_me:15001: result: $ac_cv_header_windows_h" >&5
15002 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
15003 if test $ac_cv_header_windows_h = yes; then
15007 { { echo "$as_me:15007: error: please set CFLAGS to contain the location of windows.h" >&5
15008 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
15009 { (exit 1); exit 1; }; }
15013 echo "$as_me:15013: checking if w32api has good enough MSIE support" >&5
15014 echo $ECHO_N "checking if w32api has good enough MSIE support... $ECHO_C" >&6
15015 if test "${wx_cv_w32api_win32_ie+set}" = set; then
15016 echo $ECHO_N "(cached) $ECHO_C" >&6
15019 cat >conftest.
$ac_ext <<_ACEOF
15020 #line 15020 "configure"
15021 #include "confdefs.h"
15022 #include <w32api.h>
15027 #define wxCHECK_W32API_VERSION( major, minor ) \
15028 ( defined( __W32API_MAJOR_VERSION ) && defined( __W32API_MINOR_VERSION ) \
15029 && ( ( __W32API_MAJOR_VERSION > (major) ) \
15030 || ( __W32API_MAJOR_VERSION == (major) && __W32API_MINOR_VERSION >= (minor))))
15032 #if !wxCHECK_W32API_VERSION(1,1)
15033 #error You need w32api 1.1 or newer
15040 rm -f conftest.
$ac_objext
15041 if { (eval echo "$as_me:15041: \"$ac_compile\"") >&5
15042 (eval $ac_compile) 2>&5
15044 echo "$as_me:15044: \$? = $ac_status" >&5
15045 (exit $ac_status); } &&
15046 { ac_try
='test -s conftest.$ac_objext'
15047 { (eval echo "$as_me:15047: \"$ac_try\"") >&5
15048 (eval $ac_try) 2>&5
15050 echo "$as_me:15050: \$? = $ac_status" >&5
15051 (exit $ac_status); }; }; then
15053 wx_cv_w32api_win32_ie
=yes
15056 echo "$as_me: failed program was:" >&5
15057 cat conftest.
$ac_ext >&5
15059 wx_cv_w32api_win32_ie
=no
15062 rm -f conftest.
$ac_objext conftest.
$ac_ext
15065 echo "$as_me:15065: result: $wx_cv_w32api_win32_ie" >&5
15066 echo "${ECHO_T}$wx_cv_w32api_win32_ie" >&6
15067 if test "$wx_cv_w32api_win32_ie" = "yes" ; then
15068 CPPFLAGS
="$CPPFLAGS -D_WIN32_IE=0x400"
15071 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
15075 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32"
15076 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
15079 if test "$wxUSE_ODBC" = "yes" ; then
15080 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
15083 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
15084 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
15087 if test "$wxUSE_GUI" = "yes"; then
15096 if test "$wxUSE_MSW" = 1 ; then
15102 LDFLAGS
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
15106 if test "$wxUSE_GTK" = 1; then
15107 echo "$as_me:15107: checking for GTK+ version" >&5
15108 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
15110 gtk_version_cached
=1
15111 if test "${wx_cv_lib_gtk+set}" = set; then
15112 echo $ECHO_N "(cached) $ECHO_C" >&6
15115 gtk_version_cached
=0
15116 echo "$as_me:15116: result: " >&5
15117 echo "${ECHO_T}" >&6
15120 if test "$wxUSE_THREADS" = "yes"; then
15121 GTK_MODULES
=gthread
15125 if test "x$wxUSE_GTK2" = "xyes"; then
15126 # Check whether --enable-gtktest or --disable-gtktest was given.
15127 if test "${enable_gtktest+set}" = set; then
15128 enableval
="$enable_gtktest"
15134 pkg_config_args
=gtk
+-2.0
15135 for module
in .
$GTK_MODULES
15139 pkg_config_args
="$pkg_config_args gthread-2.0"
15146 # Extract the first word of "pkg-config", so it can be a program name with args.
15147 set dummy pkg
-config; ac_word
=$2
15148 echo "$as_me:15148: checking for $ac_word" >&5
15149 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15150 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
15151 echo $ECHO_N "(cached) $ECHO_C" >&6
15153 case $PKG_CONFIG in
15155 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
15158 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
15160 for ac_dir
in $ac_dummy; do
15162 test -z "$ac_dir" && ac_dir
=.
15163 if $as_executable_p "$ac_dir/$ac_word"; then
15164 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
15165 echo "$as_me:15165: found $ac_dir/$ac_word" >&5
15170 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
15174 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
15176 if test -n "$PKG_CONFIG"; then
15177 echo "$as_me:15177: result: $PKG_CONFIG" >&5
15178 echo "${ECHO_T}$PKG_CONFIG" >&6
15180 echo "$as_me:15180: result: no" >&5
15181 echo "${ECHO_T}no" >&6
15184 if test x
$PKG_CONFIG != xno
; then
15185 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
15188 echo *** pkg
-config too old
; version
0.7 or better required.
15196 min_gtk_version
=2.0.0
15197 echo "$as_me:15197: checking for GTK+ - version >= $min_gtk_version" >&5
15198 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
15200 if test x
$PKG_CONFIG != xno
; then
15201 ## don't try to run the test against uninstalled libtool libs
15202 if $PKG_CONFIG --uninstalled $pkg_config_args; then
15203 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
15207 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
15214 if test x
"$no_gtk" = x
; then
15215 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
15216 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
15217 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
15218 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
15219 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
15220 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
15221 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
15222 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
15223 if test "x$enable_gtktest" = "xyes" ; then
15224 ac_save_CFLAGS
="$CFLAGS"
15225 ac_save_LIBS
="$LIBS"
15226 CFLAGS
="$CFLAGS $GTK_CFLAGS"
15227 LIBS
="$GTK_LIBS $LIBS"
15229 if test "$cross_compiling" = yes; then
15230 echo $ac_n "cross compiling; assumed OK... $ac_c"
15232 cat >conftest.
$ac_ext <<_ACEOF
15233 #line 15233 "configure"
15234 #include "confdefs.h"
15236 #include <gtk/gtk.h>
15238 #include <stdlib.h>
15243 int major, minor, micro;
15246 system ("touch conf.gtktest");
15248 /* HP/UX 9 (%@#!) writes to sscanf strings */
15249 tmp_version = g_strdup("$min_gtk_version");
15250 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
15251 printf("%s, bad version string\n", "$min_gtk_version");
15255 if ((gtk_major_version != $gtk_config_major_version) ||
15256 (gtk_minor_version != $gtk_config_minor_version) ||
15257 (gtk_micro_version != $gtk_config_micro_version))
15259 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
15260 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
15261 gtk_major_version, gtk_minor_version, gtk_micro_version);
15262 printf ("*** was found! If pkg-config was correct, then it is best\n");
15263 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
15264 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
15265 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
15266 printf("*** required on your system.\n");
15267 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
15268 printf("*** to point to the correct configuration files\n");
15270 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
15271 (gtk_minor_version != GTK_MINOR_VERSION) ||
15272 (gtk_micro_version != GTK_MICRO_VERSION))
15274 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
15275 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
15276 printf("*** library (version %d.%d.%d)\n",
15277 gtk_major_version, gtk_minor_version, gtk_micro_version);
15281 if ((gtk_major_version > major) ||
15282 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
15283 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
15289 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
15290 gtk_major_version, gtk_minor_version, gtk_micro_version);
15291 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
15292 major, minor, micro);
15293 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
15295 printf("*** If you have already installed a sufficiently new version, this error\n");
15296 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
15297 printf("*** being found. The easiest way to fix this is to remove the old version\n");
15298 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
15299 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
15300 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
15301 printf("*** so that the correct libraries are found at run-time))\n");
15308 rm -f conftest
$ac_exeext
15309 if { (eval echo "$as_me:15309: \"$ac_link\"") >&5
15310 (eval $ac_link) 2>&5
15312 echo "$as_me:15312: \$? = $ac_status" >&5
15313 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15314 { (eval echo "$as_me:15314: \"$ac_try\"") >&5
15315 (eval $ac_try) 2>&5
15317 echo "$as_me:15317: \$? = $ac_status" >&5
15318 (exit $ac_status); }; }; then
15321 echo "$as_me: program exited with status $ac_status" >&5
15322 echo "$as_me: failed program was:" >&5
15323 cat conftest.
$ac_ext >&5
15326 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15328 CFLAGS
="$ac_save_CFLAGS"
15329 LIBS
="$ac_save_LIBS"
15332 if test "x$no_gtk" = x
; then
15333 echo "$as_me:15333: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
15334 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
15337 echo "$as_me:15337: result: no" >&5
15338 echo "${ECHO_T}no" >&6
15339 if test "$PKG_CONFIG" = "no" ; then
15340 echo "*** A new enough version of pkg-config was not found."
15341 echo "*** See http://pkgconfig.sourceforge.net"
15343 if test -f conf.gtktest
; then
15346 echo "*** Could not run GTK+ test program, checking why..."
15347 ac_save_CFLAGS
="$CFLAGS"
15348 ac_save_LIBS
="$LIBS"
15349 CFLAGS
="$CFLAGS $GTK_CFLAGS"
15350 LIBS
="$LIBS $GTK_LIBS"
15351 cat >conftest.
$ac_ext <<_ACEOF
15352 #line 15352 "configure"
15353 #include "confdefs.h"
15355 #include <gtk/gtk.h>
15361 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
15366 rm -f conftest.
$ac_objext conftest
$ac_exeext
15367 if { (eval echo "$as_me:15367: \"$ac_link\"") >&5
15368 (eval $ac_link) 2>&5
15370 echo "$as_me:15370: \$? = $ac_status" >&5
15371 (exit $ac_status); } &&
15372 { ac_try
='test -s conftest$ac_exeext'
15373 { (eval echo "$as_me:15373: \"$ac_try\"") >&5
15374 (eval $ac_try) 2>&5
15376 echo "$as_me:15376: \$? = $ac_status" >&5
15377 (exit $ac_status); }; }; then
15378 echo "*** The test program compiled, but did not run. This usually means"
15379 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
15380 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
15381 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
15382 echo "*** to the installed location Also, make sure you have run ldconfig if that"
15383 echo "*** is required on your system"
15385 echo "*** If you have an old version installed, it is best to remove it, although"
15386 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
15388 echo "$as_me: failed program was:" >&5
15389 cat conftest.
$ac_ext >&5
15390 echo "*** The test program failed to compile or link. See the file config.log for the"
15391 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
15393 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
15394 CFLAGS
="$ac_save_CFLAGS"
15395 LIBS
="$ac_save_LIBS"
15407 if test -z "$wx_cv_lib_gtk"; then
15409 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
15410 if test "${with_gtk_prefix+set}" = set; then
15411 withval
="$with_gtk_prefix"
15412 gtk_config_prefix
="$withval"
15414 gtk_config_prefix
=""
15417 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
15418 if test "${with_gtk_exec_prefix+set}" = set; then
15419 withval
="$with_gtk_exec_prefix"
15420 gtk_config_exec_prefix
="$withval"
15422 gtk_config_exec_prefix
=""
15424 # Check whether --enable-gtktest or --disable-gtktest was given.
15425 if test "${enable_gtktest+set}" = set; then
15426 enableval
="$enable_gtktest"
15432 for module
in .
$GTK_MODULES
15436 gtk_config_args
="$gtk_config_args gthread"
15441 if test x
$gtk_config_exec_prefix != x
; then
15442 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
15443 if test x
${GTK_CONFIG+set} != xset
; then
15444 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
15447 if test x
$gtk_config_prefix != x
; then
15448 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
15449 if test x
${GTK_CONFIG+set} != xset
; then
15450 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
15454 # Extract the first word of "gtk-config", so it can be a program name with args.
15455 set dummy gtk
-config; ac_word
=$2
15456 echo "$as_me:15456: checking for $ac_word" >&5
15457 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15458 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
15459 echo $ECHO_N "(cached) $ECHO_C" >&6
15461 case $GTK_CONFIG in
15463 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
15466 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
15468 for ac_dir
in $ac_dummy; do
15470 test -z "$ac_dir" && ac_dir
=.
15471 if $as_executable_p "$ac_dir/$ac_word"; then
15472 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
15473 echo "$as_me:15473: found $ac_dir/$ac_word" >&5
15478 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
15482 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
15484 if test -n "$GTK_CONFIG"; then
15485 echo "$as_me:15485: result: $GTK_CONFIG" >&5
15486 echo "${ECHO_T}$GTK_CONFIG" >&6
15488 echo "$as_me:15488: result: no" >&5
15489 echo "${ECHO_T}no" >&6
15492 min_gtk_version
=1.2.7
15493 echo "$as_me:15493: checking for GTK - version >= $min_gtk_version" >&5
15494 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
15496 if test "$GTK_CONFIG" = "no" ; then
15499 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
15500 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
15501 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
15502 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
15503 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
15504 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
15505 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
15506 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
15507 if test "x$enable_gtktest" = "xyes" ; then
15508 ac_save_CFLAGS
="$CFLAGS"
15509 ac_save_LIBS
="$LIBS"
15510 CFLAGS
="$CFLAGS $GTK_CFLAGS"
15511 LIBS
="$GTK_LIBS $LIBS"
15513 if test "$cross_compiling" = yes; then
15514 echo $ac_n "cross compiling; assumed OK... $ac_c"
15516 cat >conftest.
$ac_ext <<_ACEOF
15517 #line 15517 "configure"
15518 #include "confdefs.h"
15520 #include <gtk/gtk.h>
15522 #include <stdlib.h>
15527 int major, minor, micro;
15530 system ("touch conf.gtktest");
15532 /* HP/UX 9 (%@#!) writes to sscanf strings */
15533 tmp_version = g_strdup("$min_gtk_version");
15534 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
15535 printf("%s, bad version string\n", "$min_gtk_version");
15539 if ((gtk_major_version != $gtk_config_major_version) ||
15540 (gtk_minor_version != $gtk_config_minor_version) ||
15541 (gtk_micro_version != $gtk_config_micro_version))
15543 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
15544 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
15545 gtk_major_version, gtk_minor_version, gtk_micro_version);
15546 printf ("*** was found! If gtk-config was correct, then it is best\n");
15547 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
15548 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
15549 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
15550 printf("*** required on your system.\n");
15551 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
15552 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
15553 printf("*** before re-running configure\n");
15555 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
15556 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
15557 (gtk_minor_version != GTK_MINOR_VERSION) ||
15558 (gtk_micro_version != GTK_MICRO_VERSION))
15560 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
15561 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
15562 printf("*** library (version %d.%d.%d)\n",
15563 gtk_major_version, gtk_minor_version, gtk_micro_version);
15565 #endif /* defined (GTK_MAJOR_VERSION) ... */
15568 if ((gtk_major_version > major) ||
15569 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
15570 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
15576 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
15577 gtk_major_version, gtk_minor_version, gtk_micro_version);
15578 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
15579 major, minor, micro);
15580 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
15582 printf("*** If you have already installed a sufficiently new version, this error\n");
15583 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
15584 printf("*** being found. The easiest way to fix this is to remove the old version\n");
15585 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
15586 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
15587 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
15588 printf("*** so that the correct libraries are found at run-time))\n");
15595 rm -f conftest
$ac_exeext
15596 if { (eval echo "$as_me:15596: \"$ac_link\"") >&5
15597 (eval $ac_link) 2>&5
15599 echo "$as_me:15599: \$? = $ac_status" >&5
15600 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15601 { (eval echo "$as_me:15601: \"$ac_try\"") >&5
15602 (eval $ac_try) 2>&5
15604 echo "$as_me:15604: \$? = $ac_status" >&5
15605 (exit $ac_status); }; }; then
15608 echo "$as_me: program exited with status $ac_status" >&5
15609 echo "$as_me: failed program was:" >&5
15610 cat conftest.
$ac_ext >&5
15613 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15615 CFLAGS
="$ac_save_CFLAGS"
15616 LIBS
="$ac_save_LIBS"
15619 if test "x$no_gtk" = x
; then
15620 echo "$as_me:15620: result: yes" >&5
15621 echo "${ECHO_T}yes" >&6
15622 wx_cv_lib_gtk
=1.2.7
15624 echo "$as_me:15624: result: no" >&5
15625 echo "${ECHO_T}no" >&6
15626 if test "$GTK_CONFIG" = "no" ; then
15627 echo "*** The gtk-config script installed by GTK could not be found"
15628 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
15629 echo "*** your path, or set the GTK_CONFIG environment variable to the"
15630 echo "*** full path to gtk-config."
15632 if test -f conf.gtktest
; then
15635 echo "*** Could not run GTK test program, checking why..."
15636 CFLAGS
="$CFLAGS $GTK_CFLAGS"
15637 LIBS
="$LIBS $GTK_LIBS"
15638 cat >conftest.
$ac_ext <<_ACEOF
15639 #line 15639 "configure"
15640 #include "confdefs.h"
15642 #include <gtk/gtk.h>
15648 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
15653 rm -f conftest.
$ac_objext conftest
$ac_exeext
15654 if { (eval echo "$as_me:15654: \"$ac_link\"") >&5
15655 (eval $ac_link) 2>&5
15657 echo "$as_me:15657: \$? = $ac_status" >&5
15658 (exit $ac_status); } &&
15659 { ac_try
='test -s conftest$ac_exeext'
15660 { (eval echo "$as_me:15660: \"$ac_try\"") >&5
15661 (eval $ac_try) 2>&5
15663 echo "$as_me:15663: \$? = $ac_status" >&5
15664 (exit $ac_status); }; }; then
15665 echo "*** The test program compiled, but did not run. This usually means"
15666 echo "*** that the run-time linker is not finding GTK or finding the wrong"
15667 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
15668 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
15669 echo "*** to the installed location Also, make sure you have run ldconfig if that"
15670 echo "*** is required on your system"
15672 echo "*** If you have an old version installed, it is best to remove it, although"
15673 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
15675 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
15676 echo "*** came with the system with the command"
15678 echo "*** rpm --erase --nodeps gtk gtk-devel"
15680 echo "$as_me: failed program was:" >&5
15681 cat conftest.
$ac_ext >&5
15682 echo "*** The test program failed to compile or link. See the file config.log for the"
15683 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
15684 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
15685 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
15687 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
15688 CFLAGS
="$ac_save_CFLAGS"
15689 LIBS
="$ac_save_LIBS"
15701 if test -z "$wx_cv_lib_gtk"; then
15703 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
15704 if test "${with_gtk_prefix+set}" = set; then
15705 withval
="$with_gtk_prefix"
15706 gtk_config_prefix
="$withval"
15708 gtk_config_prefix
=""
15711 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
15712 if test "${with_gtk_exec_prefix+set}" = set; then
15713 withval
="$with_gtk_exec_prefix"
15714 gtk_config_exec_prefix
="$withval"
15716 gtk_config_exec_prefix
=""
15718 # Check whether --enable-gtktest or --disable-gtktest was given.
15719 if test "${enable_gtktest+set}" = set; then
15720 enableval
="$enable_gtktest"
15726 for module
in .
$GTK_MODULES
15730 gtk_config_args
="$gtk_config_args gthread"
15735 if test x
$gtk_config_exec_prefix != x
; then
15736 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
15737 if test x
${GTK_CONFIG+set} != xset
; then
15738 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
15741 if test x
$gtk_config_prefix != x
; then
15742 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
15743 if test x
${GTK_CONFIG+set} != xset
; then
15744 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
15748 # Extract the first word of "gtk-config", so it can be a program name with args.
15749 set dummy gtk
-config; ac_word
=$2
15750 echo "$as_me:15750: checking for $ac_word" >&5
15751 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15752 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
15753 echo $ECHO_N "(cached) $ECHO_C" >&6
15755 case $GTK_CONFIG in
15757 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
15760 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
15762 for ac_dir
in $ac_dummy; do
15764 test -z "$ac_dir" && ac_dir
=.
15765 if $as_executable_p "$ac_dir/$ac_word"; then
15766 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
15767 echo "$as_me:15767: found $ac_dir/$ac_word" >&5
15772 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
15776 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
15778 if test -n "$GTK_CONFIG"; then
15779 echo "$as_me:15779: result: $GTK_CONFIG" >&5
15780 echo "${ECHO_T}$GTK_CONFIG" >&6
15782 echo "$as_me:15782: result: no" >&5
15783 echo "${ECHO_T}no" >&6
15786 min_gtk_version
=1.2.3
15787 echo "$as_me:15787: checking for GTK - version >= $min_gtk_version" >&5
15788 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
15790 if test "$GTK_CONFIG" = "no" ; then
15793 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
15794 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
15795 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
15796 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
15797 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
15798 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
15799 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
15800 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
15801 if test "x$enable_gtktest" = "xyes" ; then
15802 ac_save_CFLAGS
="$CFLAGS"
15803 ac_save_LIBS
="$LIBS"
15804 CFLAGS
="$CFLAGS $GTK_CFLAGS"
15805 LIBS
="$GTK_LIBS $LIBS"
15807 if test "$cross_compiling" = yes; then
15808 echo $ac_n "cross compiling; assumed OK... $ac_c"
15810 cat >conftest.
$ac_ext <<_ACEOF
15811 #line 15811 "configure"
15812 #include "confdefs.h"
15814 #include <gtk/gtk.h>
15816 #include <stdlib.h>
15821 int major, minor, micro;
15824 system ("touch conf.gtktest");
15826 /* HP/UX 9 (%@#!) writes to sscanf strings */
15827 tmp_version = g_strdup("$min_gtk_version");
15828 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
15829 printf("%s, bad version string\n", "$min_gtk_version");
15833 if ((gtk_major_version != $gtk_config_major_version) ||
15834 (gtk_minor_version != $gtk_config_minor_version) ||
15835 (gtk_micro_version != $gtk_config_micro_version))
15837 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
15838 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
15839 gtk_major_version, gtk_minor_version, gtk_micro_version);
15840 printf ("*** was found! If gtk-config was correct, then it is best\n");
15841 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
15842 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
15843 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
15844 printf("*** required on your system.\n");
15845 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
15846 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
15847 printf("*** before re-running configure\n");
15849 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
15850 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
15851 (gtk_minor_version != GTK_MINOR_VERSION) ||
15852 (gtk_micro_version != GTK_MICRO_VERSION))
15854 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
15855 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
15856 printf("*** library (version %d.%d.%d)\n",
15857 gtk_major_version, gtk_minor_version, gtk_micro_version);
15859 #endif /* defined (GTK_MAJOR_VERSION) ... */
15862 if ((gtk_major_version > major) ||
15863 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
15864 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
15870 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
15871 gtk_major_version, gtk_minor_version, gtk_micro_version);
15872 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
15873 major, minor, micro);
15874 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
15876 printf("*** If you have already installed a sufficiently new version, this error\n");
15877 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
15878 printf("*** being found. The easiest way to fix this is to remove the old version\n");
15879 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
15880 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
15881 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
15882 printf("*** so that the correct libraries are found at run-time))\n");
15889 rm -f conftest
$ac_exeext
15890 if { (eval echo "$as_me:15890: \"$ac_link\"") >&5
15891 (eval $ac_link) 2>&5
15893 echo "$as_me:15893: \$? = $ac_status" >&5
15894 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15895 { (eval echo "$as_me:15895: \"$ac_try\"") >&5
15896 (eval $ac_try) 2>&5
15898 echo "$as_me:15898: \$? = $ac_status" >&5
15899 (exit $ac_status); }; }; then
15902 echo "$as_me: program exited with status $ac_status" >&5
15903 echo "$as_me: failed program was:" >&5
15904 cat conftest.
$ac_ext >&5
15907 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15909 CFLAGS
="$ac_save_CFLAGS"
15910 LIBS
="$ac_save_LIBS"
15913 if test "x$no_gtk" = x
; then
15914 echo "$as_me:15914: result: yes" >&5
15915 echo "${ECHO_T}yes" >&6
15916 wx_cv_lib_gtk
=1.2.3
15918 echo "$as_me:15918: result: no" >&5
15919 echo "${ECHO_T}no" >&6
15920 if test "$GTK_CONFIG" = "no" ; then
15921 echo "*** The gtk-config script installed by GTK could not be found"
15922 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
15923 echo "*** your path, or set the GTK_CONFIG environment variable to the"
15924 echo "*** full path to gtk-config."
15926 if test -f conf.gtktest
; then
15929 echo "*** Could not run GTK test program, checking why..."
15930 CFLAGS
="$CFLAGS $GTK_CFLAGS"
15931 LIBS
="$LIBS $GTK_LIBS"
15932 cat >conftest.
$ac_ext <<_ACEOF
15933 #line 15933 "configure"
15934 #include "confdefs.h"
15936 #include <gtk/gtk.h>
15942 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
15947 rm -f conftest.
$ac_objext conftest
$ac_exeext
15948 if { (eval echo "$as_me:15948: \"$ac_link\"") >&5
15949 (eval $ac_link) 2>&5
15951 echo "$as_me:15951: \$? = $ac_status" >&5
15952 (exit $ac_status); } &&
15953 { ac_try
='test -s conftest$ac_exeext'
15954 { (eval echo "$as_me:15954: \"$ac_try\"") >&5
15955 (eval $ac_try) 2>&5
15957 echo "$as_me:15957: \$? = $ac_status" >&5
15958 (exit $ac_status); }; }; then
15959 echo "*** The test program compiled, but did not run. This usually means"
15960 echo "*** that the run-time linker is not finding GTK or finding the wrong"
15961 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
15962 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
15963 echo "*** to the installed location Also, make sure you have run ldconfig if that"
15964 echo "*** is required on your system"
15966 echo "*** If you have an old version installed, it is best to remove it, although"
15967 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
15969 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
15970 echo "*** came with the system with the command"
15972 echo "*** rpm --erase --nodeps gtk gtk-devel"
15974 echo "$as_me: failed program was:" >&5
15975 cat conftest.
$ac_ext >&5
15976 echo "*** The test program failed to compile or link. See the file config.log for the"
15977 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
15978 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
15979 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
15981 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
15982 CFLAGS
="$ac_save_CFLAGS"
15983 LIBS
="$ac_save_LIBS"
15995 if test -z "$wx_cv_lib_gtk"; then
15998 wx_cv_cflags_gtk
=$GTK_CFLAGS
15999 wx_cv_libs_gtk
=$GTK_LIBS
16004 if test "$gtk_version_cached" = 1; then
16005 echo "$as_me:16005: result: $wx_cv_lib_gtk" >&5
16006 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
16009 case "$wx_cv_lib_gtk" in
16017 *) { { echo "$as_me:16017: error:
16018 Please check that gtk-config is in path, the directory
16019 where GTK+ libraries are installed (returned by
16020 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
16021 equivalent variable and GTK+ is version 1.2.3 or above.
16023 echo "$as_me: error:
16024 Please check that gtk-config is in path, the directory
16025 where GTK+ libraries are installed (returned by
16026 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
16027 equivalent variable and GTK+ is version 1.2.3 or above.
16029 { (exit 1); exit 1; }; }
16033 if test "$WXGTK20" = 1; then
16034 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
16038 if test -z "$PKG_CONFIG"; then
16039 # Extract the first word of "pkg-config", so it can be a program name with args.
16040 set dummy pkg
-config; ac_word
=$2
16041 echo "$as_me:16041: checking for $ac_word" >&5
16042 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16043 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
16044 echo $ECHO_N "(cached) $ECHO_C" >&6
16046 case $PKG_CONFIG in
16048 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
16051 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
16053 for ac_dir
in $ac_dummy; do
16055 test -z "$ac_dir" && ac_dir
=.
16056 if $as_executable_p "$ac_dir/$ac_word"; then
16057 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
16058 echo "$as_me:16058: found $ac_dir/$ac_word" >&5
16063 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
16067 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
16069 if test -n "$PKG_CONFIG"; then
16070 echo "$as_me:16070: result: $PKG_CONFIG" >&5
16071 echo "${ECHO_T}$PKG_CONFIG" >&6
16073 echo "$as_me:16073: result: no" >&5
16074 echo "${ECHO_T}no" >&6
16079 if test "$PKG_CONFIG" = "no" ; then
16080 echo "*** The pkg-config script could not be found. Make sure it is"
16081 echo "*** in your path, or set the PKG_CONFIG environment variable"
16082 echo "*** to the full path to pkg-config."
16083 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
16085 PKG_CONFIG_MIN_VERSION
=0.9.0
16086 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
16087 echo "$as_me:16087: checking for pangoft2" >&5
16088 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
16090 if $PKG_CONFIG --exists "pangoft2" ; then
16091 echo "$as_me:16091: result: yes" >&5
16092 echo "${ECHO_T}yes" >&6
16095 echo "$as_me:16095: checking PANGOFT2_CFLAGS" >&5
16096 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
16097 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
16098 echo "$as_me:16098: result: $PANGOFT2_CFLAGS" >&5
16099 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
16101 echo "$as_me:16101: checking PANGOFT2_LIBS" >&5
16102 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
16103 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
16104 echo "$as_me:16104: result: $PANGOFT2_LIBS" >&5
16105 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
16109 ## If we have a custom action on failure, don't print errors, but
16110 ## do set a variable so people can do so.
16111 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
16116 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
16117 echo "*** See http://www.freedesktop.org/software/pkgconfig"
16121 if test $succeeded = yes; then
16123 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
16124 LIBS
="$LIBS $PANGOFT2_LIBS"
16128 { echo "$as_me:16128: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
16129 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
16130 wxUSE_PRINTING_ARCHITECTURE
="no"
16137 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
16138 GUI_TK_LIBRARY
="$wx_cv_libs_gtk"
16140 AFMINSTALL
=afminstall
16144 echo "$as_me:16144: checking for gdk_im_open in -lgdk" >&5
16145 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
16146 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
16147 echo $ECHO_N "(cached) $ECHO_C" >&6
16149 ac_check_lib_save_LIBS
=$LIBS
16151 cat >conftest.
$ac_ext <<_ACEOF
16152 #line 16152 "configure"
16153 #include "confdefs.h"
16155 /* Override any gcc2 internal prototype to avoid an error. */
16159 /* We use char because int might match the return type of a gcc2
16160 builtin and then its argument prototype would still apply. */
16161 char gdk_im_open ();
16170 rm -f conftest.
$ac_objext conftest
$ac_exeext
16171 if { (eval echo "$as_me:16171: \"$ac_link\"") >&5
16172 (eval $ac_link) 2>&5
16174 echo "$as_me:16174: \$? = $ac_status" >&5
16175 (exit $ac_status); } &&
16176 { ac_try
='test -s conftest$ac_exeext'
16177 { (eval echo "$as_me:16177: \"$ac_try\"") >&5
16178 (eval $ac_try) 2>&5
16180 echo "$as_me:16180: \$? = $ac_status" >&5
16181 (exit $ac_status); }; }; then
16182 ac_cv_lib_gdk_gdk_im_open
=yes
16184 echo "$as_me: failed program was:" >&5
16185 cat conftest.
$ac_ext >&5
16186 ac_cv_lib_gdk_gdk_im_open
=no
16188 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
16189 LIBS
=$ac_check_lib_save_LIBS
16191 echo "$as_me:16191: result: $ac_cv_lib_gdk_gdk_im_open" >&5
16192 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
16193 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
16194 cat >>confdefs.h
<<\EOF
16202 if test "$wxUSE_MGL" = 1; then
16203 echo "$as_me:16203: checking for SciTech MGL library" >&5
16204 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
16205 if test "x$MGL_ROOT" = x
; then
16206 echo "$as_me:16206: result: not found" >&5
16207 echo "${ECHO_T}not found" >&6
16208 { { echo "$as_me:16208: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
16209 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
16210 { (exit 1); exit 1; }; }
16212 echo "$as_me:16212: result: $MGL_ROOT" >&5
16213 echo "${ECHO_T}$MGL_ROOT" >&6
16218 mgl_os
=linux
/gcc
/glibc
16224 { { echo "$as_me:16224: error: This system type ${host} is not yet supported by wxMGL." >&5
16225 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
16226 { (exit 1); exit 1; }; }
16231 if test "$wxUSE_DEBUG_FLAG" = yes ; then
16232 if test -f $MGL_ROOT/lib
/debug
/$mgl_os/libmgl.a
-o \
16233 -f $MGL_ROOT/lib
/debug
/$mgl_os/libmgl.so
; then
16237 if test "x$mgl_lib_type" = x
; then
16238 if test -f $MGL_ROOT/lib
/release
/$mgl_os/libmgl.a
-o \
16239 -f $MGL_ROOT/lib
/release
/$mgl_os/libmgl.so
; then
16240 mgl_lib_type
=release
16242 { { echo "$as_me:16242: error: Cannot find MGL libraries, make sure they are compiled." >&5
16243 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
16244 { (exit 1); exit 1; }; }
16248 wxUSE_UNIVERSAL
="yes"
16250 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
16251 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
16253 AFMINSTALL
=afminstall
16258 if test "$wxUSE_MICROWIN" = 1; then
16259 echo "$as_me:16259: checking for MicroWindows" >&5
16260 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
16261 if test "x$MICROWINDOWS" = x
; then
16262 echo "$as_me:16262: result: not found" >&5
16263 echo "${ECHO_T}not found" >&6
16264 { { echo "$as_me:16264: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
16265 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
16266 { (exit 1); exit 1; }; }
16268 echo "$as_me:16268: result: $MICROWINDOWS" >&5
16269 echo "${ECHO_T}$MICROWINDOWS" >&6
16272 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
16273 echo "$as_me:16273: result: MicroWindows' libraries found." >&5
16274 echo "${ECHO_T}MicroWindows' libraries found." >&6
16276 { { echo "$as_me:16276: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
16277 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
16278 { (exit 1); exit 1; }; }
16281 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
16282 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
16284 wxUSE_UNIVERSAL
="yes"
16286 AFMINSTALL
=afminstall
16288 GUIDIST
=MICROWIN_DIST
16290 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
16293 if test "$wxUSE_X11" = 1; then
16294 echo "$as_me:16294: checking for X" >&5
16295 echo $ECHO_N "checking for X... $ECHO_C" >&6
16297 # Check whether --with-x or --without-x was given.
16298 if test "${with_x+set}" = set; then
16302 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
16303 if test "x$with_x" = xno
; then
16304 # The user explicitly disabled X.
16307 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
16308 # Both variables are already set.
16311 if test "${ac_cv_have_x+set}" = set; then
16312 echo $ECHO_N "(cached) $ECHO_C" >&6
16314 # One or both of the vars are not set, and there is no cached value.
16315 ac_x_includes
=no ac_x_libraries
=no
16316 rm -fr conftest.dir
16317 if mkdir conftest.dir
; then
16319 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
16320 cat >Imakefile
<<'EOF'
16322 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
16324 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
16325 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
16326 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
16327 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
16328 for ac_extension
in a so sl
; do
16329 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
16330 test -f $ac_im_libdir/libX11.
$ac_extension; then
16331 ac_im_usrlibdir
=$ac_im_libdir; break
16334 # Screen out bogus values from the imake configuration. They are
16335 # bogus both because they are the default anyway, and because
16336 # using them would break gcc on systems where it needs fixed includes.
16337 case $ac_im_incroot in
16339 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
16341 case $ac_im_usrlibdir in
16342 /usr
/lib
| /lib
) ;;
16343 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
16347 rm -fr conftest.dir
16350 # Standard set of common directories for X headers.
16351 # Check X11 before X11Rn because it is often a symlink to the current release.
16363 /usr/local/X11/include
16364 /usr/local/X11R6/include
16365 /usr/local/X11R5/include
16366 /usr/local/X11R4/include
16368 /usr/local/include/X11
16369 /usr/local/include/X11R6
16370 /usr/local/include/X11R5
16371 /usr/local/include/X11R4
16375 /usr/XFree86/include/X11
16379 /usr/unsupported/include
16380 /usr/athena/include
16381 /usr/local/x11r5/include
16382 /usr/lpp/Xamples/include
16384 /usr/openwin/include
16385 /usr/openwin/share/include'
16387 if test "$ac_x_includes" = no
; then
16388 # Guess where to find include files, by looking for Intrinsic.h.
16389 # First, try using that file with no special directory specified.
16390 cat >conftest.
$ac_ext <<_ACEOF
16391 #line 16391 "configure"
16392 #include "confdefs.h"
16393 #include <X11/Intrinsic.h>
16395 if { (eval echo "$as_me:16395: \"$ac_cpp conftest.$ac_ext\"") >&5
16396 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16398 egrep -v '^ *\+' conftest.er1
>conftest.err
16400 cat conftest.err
>&5
16401 echo "$as_me:16401: \$? = $ac_status" >&5
16402 (exit $ac_status); } >/dev
/null
; then
16403 if test -s conftest.err
; then
16404 ac_cpp_err
=$ac_c_preproc_warn_flag
16411 if test -z "$ac_cpp_err"; then
16412 # We can compile using X headers with no special include directory.
16415 echo "$as_me: failed program was:" >&5
16416 cat conftest.
$ac_ext >&5
16417 for ac_dir
in $ac_x_header_dirs; do
16418 if test -r "$ac_dir/X11/Intrinsic.h"; then
16419 ac_x_includes
=$ac_dir
16424 rm -f conftest.err conftest.
$ac_ext
16425 fi # $ac_x_includes = no
16427 if test "$ac_x_libraries" = no
; then
16428 # Check for the libraries.
16429 # See if we find them without any special options.
16430 # Don't add to $LIBS permanently.
16433 cat >conftest.
$ac_ext <<_ACEOF
16434 #line 16434 "configure"
16435 #include "confdefs.h"
16436 #include <X11/Intrinsic.h>
16445 rm -f conftest.
$ac_objext conftest
$ac_exeext
16446 if { (eval echo "$as_me:16446: \"$ac_link\"") >&5
16447 (eval $ac_link) 2>&5
16449 echo "$as_me:16449: \$? = $ac_status" >&5
16450 (exit $ac_status); } &&
16451 { ac_try
='test -s conftest$ac_exeext'
16452 { (eval echo "$as_me:16452: \"$ac_try\"") >&5
16453 (eval $ac_try) 2>&5
16455 echo "$as_me:16455: \$? = $ac_status" >&5
16456 (exit $ac_status); }; }; then
16458 # We can link X programs with no special library path.
16461 echo "$as_me: failed program was:" >&5
16462 cat conftest.
$ac_ext >&5
16464 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
16466 # Don't even attempt the hair of trying to link an X program!
16467 for ac_extension
in a so sl
; do
16468 if test -r $ac_dir/libXt.
$ac_extension; then
16469 ac_x_libraries
=$ac_dir
16475 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
16476 fi # $ac_x_libraries = no
16478 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
16479 # Didn't find X anywhere. Cache the known absence of X.
16480 ac_cv_have_x
="have_x=no"
16482 # Record where we found X for the cache.
16483 ac_cv_have_x
="have_x=yes \
16484 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
16489 eval "$ac_cv_have_x"
16492 if test "$have_x" != yes; then
16493 echo "$as_me:16493: result: $have_x" >&5
16494 echo "${ECHO_T}$have_x" >&6
16497 # If each of the values was on the command line, it overrides each guess.
16498 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
16499 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
16500 # Update the cache value to reflect the command line values.
16501 ac_cv_have_x
="have_x=yes \
16502 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
16503 echo "$as_me:16503: result: libraries $x_libraries, headers $x_includes" >&5
16504 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
16507 if test "$no_x" = yes; then
16508 # Not all programs may use this symbol, but it does not hurt to define it.
16510 cat >>confdefs.h
<<\EOF
16511 #define X_DISPLAY_MISSING 1
16514 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
16516 if test -n "$x_includes"; then
16517 X_CFLAGS
="$X_CFLAGS -I$x_includes"
16520 # It would also be nice to do this for all -L options, not just this one.
16521 if test -n "$x_libraries"; then
16522 X_LIBS
="$X_LIBS -L$x_libraries"
16523 # For Solaris; some versions of Sun CC require a space after -R and
16524 # others require no space. Words are not sufficient . . . .
16525 case `(uname -sr) 2>/dev/null` in
16527 echo "$as_me:16527: checking whether -R must be followed by a space" >&5
16528 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
16529 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
16530 cat >conftest.
$ac_ext <<_ACEOF
16531 #line 16531 "configure"
16532 #include "confdefs.h"
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
16556 echo "$as_me: failed program was:" >&5
16557 cat conftest.
$ac_ext >&5
16560 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
16561 if test $ac_R_nospace = yes; then
16562 echo "$as_me:16562: result: no" >&5
16563 echo "${ECHO_T}no" >&6
16564 X_LIBS
="$X_LIBS -R$x_libraries"
16566 LIBS
="$ac_xsave_LIBS -R $x_libraries"
16567 cat >conftest.
$ac_ext <<_ACEOF
16568 #line 16568 "configure"
16569 #include "confdefs.h"
16579 rm -f conftest.
$ac_objext conftest
$ac_exeext
16580 if { (eval echo "$as_me:16580: \"$ac_link\"") >&5
16581 (eval $ac_link) 2>&5
16583 echo "$as_me:16583: \$? = $ac_status" >&5
16584 (exit $ac_status); } &&
16585 { ac_try
='test -s conftest$ac_exeext'
16586 { (eval echo "$as_me:16586: \"$ac_try\"") >&5
16587 (eval $ac_try) 2>&5
16589 echo "$as_me:16589: \$? = $ac_status" >&5
16590 (exit $ac_status); }; }; then
16593 echo "$as_me: failed program was:" >&5
16594 cat conftest.
$ac_ext >&5
16597 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
16598 if test $ac_R_space = yes; then
16599 echo "$as_me:16599: result: yes" >&5
16600 echo "${ECHO_T}yes" >&6
16601 X_LIBS
="$X_LIBS -R $x_libraries"
16603 echo "$as_me:16603: result: neither works" >&5
16604 echo "${ECHO_T}neither works" >&6
16607 LIBS
=$ac_xsave_LIBS
16611 # Check for system-dependent libraries X programs must link with.
16612 # Do this before checking for the system-independent R6 libraries
16613 # (-lICE), since we may need -lsocket or whatever for X linking.
16615 if test "$ISC" = yes; then
16616 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
16618 # Martyn Johnson says this is needed for Ultrix, if the X
16619 # libraries were built with DECnet support. And Karl Berry says
16620 # the Alpha needs dnet_stub (dnet does not exist).
16621 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
16622 cat >conftest.
$ac_ext <<_ACEOF
16623 #line 16623 "configure"
16624 #include "confdefs.h"
16626 /* Override any gcc2 internal prototype to avoid an error. */
16630 /* We use char because int might match the return type of a gcc2
16631 builtin and then its argument prototype would still apply. */
16632 char XOpenDisplay ();
16641 rm -f conftest.
$ac_objext conftest
$ac_exeext
16642 if { (eval echo "$as_me:16642: \"$ac_link\"") >&5
16643 (eval $ac_link) 2>&5
16645 echo "$as_me:16645: \$? = $ac_status" >&5
16646 (exit $ac_status); } &&
16647 { ac_try
='test -s conftest$ac_exeext'
16648 { (eval echo "$as_me:16648: \"$ac_try\"") >&5
16649 (eval $ac_try) 2>&5
16651 echo "$as_me:16651: \$? = $ac_status" >&5
16652 (exit $ac_status); }; }; then
16655 echo "$as_me: failed program was:" >&5
16656 cat conftest.
$ac_ext >&5
16657 echo "$as_me:16657: checking for dnet_ntoa in -ldnet" >&5
16658 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
16659 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
16660 echo $ECHO_N "(cached) $ECHO_C" >&6
16662 ac_check_lib_save_LIBS
=$LIBS
16663 LIBS
="-ldnet $LIBS"
16664 cat >conftest.
$ac_ext <<_ACEOF
16665 #line 16665 "configure"
16666 #include "confdefs.h"
16668 /* Override any gcc2 internal prototype to avoid an error. */
16672 /* We use char because int might match the return type of a gcc2
16673 builtin and then its argument prototype would still apply. */
16683 rm -f conftest.
$ac_objext conftest
$ac_exeext
16684 if { (eval echo "$as_me:16684: \"$ac_link\"") >&5
16685 (eval $ac_link) 2>&5
16687 echo "$as_me:16687: \$? = $ac_status" >&5
16688 (exit $ac_status); } &&
16689 { ac_try
='test -s conftest$ac_exeext'
16690 { (eval echo "$as_me:16690: \"$ac_try\"") >&5
16691 (eval $ac_try) 2>&5
16693 echo "$as_me:16693: \$? = $ac_status" >&5
16694 (exit $ac_status); }; }; then
16695 ac_cv_lib_dnet_dnet_ntoa
=yes
16697 echo "$as_me: failed program was:" >&5
16698 cat conftest.
$ac_ext >&5
16699 ac_cv_lib_dnet_dnet_ntoa
=no
16701 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
16702 LIBS
=$ac_check_lib_save_LIBS
16704 echo "$as_me:16704: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
16705 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
16706 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
16707 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
16710 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
16711 echo "$as_me:16711: checking for dnet_ntoa in -ldnet_stub" >&5
16712 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
16713 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
16714 echo $ECHO_N "(cached) $ECHO_C" >&6
16716 ac_check_lib_save_LIBS
=$LIBS
16717 LIBS
="-ldnet_stub $LIBS"
16718 cat >conftest.
$ac_ext <<_ACEOF
16719 #line 16719 "configure"
16720 #include "confdefs.h"
16722 /* Override any gcc2 internal prototype to avoid an error. */
16726 /* We use char because int might match the return type of a gcc2
16727 builtin and then its argument prototype would still apply. */
16737 rm -f conftest.
$ac_objext conftest
$ac_exeext
16738 if { (eval echo "$as_me:16738: \"$ac_link\"") >&5
16739 (eval $ac_link) 2>&5
16741 echo "$as_me:16741: \$? = $ac_status" >&5
16742 (exit $ac_status); } &&
16743 { ac_try
='test -s conftest$ac_exeext'
16744 { (eval echo "$as_me:16744: \"$ac_try\"") >&5
16745 (eval $ac_try) 2>&5
16747 echo "$as_me:16747: \$? = $ac_status" >&5
16748 (exit $ac_status); }; }; then
16749 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
16751 echo "$as_me: failed program was:" >&5
16752 cat conftest.
$ac_ext >&5
16753 ac_cv_lib_dnet_stub_dnet_ntoa
=no
16755 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
16756 LIBS
=$ac_check_lib_save_LIBS
16758 echo "$as_me:16758: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
16759 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
16760 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
16761 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
16766 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
16767 LIBS
="$ac_xsave_LIBS"
16769 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
16770 # to get the SysV transport functions.
16771 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
16773 # The nsl library prevents programs from opening the X display
16774 # on Irix 5.2, according to T.E. Dickey.
16775 # The functions gethostbyname, getservbyname, and inet_addr are
16776 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
16777 echo "$as_me:16777: checking for gethostbyname" >&5
16778 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
16779 if test "${ac_cv_func_gethostbyname+set}" = set; then
16780 echo $ECHO_N "(cached) $ECHO_C" >&6
16782 cat >conftest.
$ac_ext <<_ACEOF
16783 #line 16783 "configure"
16784 #include "confdefs.h"
16785 /* System header to define __stub macros and hopefully few prototypes,
16786 which can conflict with char gethostbyname (); below. */
16787 #include <assert.h>
16788 /* Override any gcc2 internal prototype to avoid an error. */
16792 /* We use char because int might match the return type of a gcc2
16793 builtin and then its argument prototype would still apply. */
16794 char gethostbyname ();
16800 /* The GNU C library defines this for functions which it implements
16801 to always fail with ENOSYS. Some functions are actually named
16802 something starting with __ and the normal name is an alias. */
16803 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
16813 rm -f conftest.
$ac_objext conftest
$ac_exeext
16814 if { (eval echo "$as_me:16814: \"$ac_link\"") >&5
16815 (eval $ac_link) 2>&5
16817 echo "$as_me:16817: \$? = $ac_status" >&5
16818 (exit $ac_status); } &&
16819 { ac_try
='test -s conftest$ac_exeext'
16820 { (eval echo "$as_me:16820: \"$ac_try\"") >&5
16821 (eval $ac_try) 2>&5
16823 echo "$as_me:16823: \$? = $ac_status" >&5
16824 (exit $ac_status); }; }; then
16825 ac_cv_func_gethostbyname
=yes
16827 echo "$as_me: failed program was:" >&5
16828 cat conftest.
$ac_ext >&5
16829 ac_cv_func_gethostbyname
=no
16831 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
16833 echo "$as_me:16833: result: $ac_cv_func_gethostbyname" >&5
16834 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
16836 if test $ac_cv_func_gethostbyname = no
; then
16837 echo "$as_me:16837: checking for gethostbyname in -lnsl" >&5
16838 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
16839 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
16840 echo $ECHO_N "(cached) $ECHO_C" >&6
16842 ac_check_lib_save_LIBS
=$LIBS
16844 cat >conftest.
$ac_ext <<_ACEOF
16845 #line 16845 "configure"
16846 #include "confdefs.h"
16848 /* Override any gcc2 internal prototype to avoid an error. */
16852 /* We use char because int might match the return type of a gcc2
16853 builtin and then its argument prototype would still apply. */
16854 char gethostbyname ();
16863 rm -f conftest.
$ac_objext conftest
$ac_exeext
16864 if { (eval echo "$as_me:16864: \"$ac_link\"") >&5
16865 (eval $ac_link) 2>&5
16867 echo "$as_me:16867: \$? = $ac_status" >&5
16868 (exit $ac_status); } &&
16869 { ac_try
='test -s conftest$ac_exeext'
16870 { (eval echo "$as_me:16870: \"$ac_try\"") >&5
16871 (eval $ac_try) 2>&5
16873 echo "$as_me:16873: \$? = $ac_status" >&5
16874 (exit $ac_status); }; }; then
16875 ac_cv_lib_nsl_gethostbyname
=yes
16877 echo "$as_me: failed program was:" >&5
16878 cat conftest.
$ac_ext >&5
16879 ac_cv_lib_nsl_gethostbyname
=no
16881 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
16882 LIBS
=$ac_check_lib_save_LIBS
16884 echo "$as_me:16884: result: $ac_cv_lib_nsl_gethostbyname" >&5
16885 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
16886 if test $ac_cv_lib_nsl_gethostbyname = yes; then
16887 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
16890 if test $ac_cv_lib_nsl_gethostbyname = no
; then
16891 echo "$as_me:16891: checking for gethostbyname in -lbsd" >&5
16892 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
16893 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
16894 echo $ECHO_N "(cached) $ECHO_C" >&6
16896 ac_check_lib_save_LIBS
=$LIBS
16898 cat >conftest.
$ac_ext <<_ACEOF
16899 #line 16899 "configure"
16900 #include "confdefs.h"
16902 /* Override any gcc2 internal prototype to avoid an error. */
16906 /* We use char because int might match the return type of a gcc2
16907 builtin and then its argument prototype would still apply. */
16908 char gethostbyname ();
16917 rm -f conftest.
$ac_objext conftest
$ac_exeext
16918 if { (eval echo "$as_me:16918: \"$ac_link\"") >&5
16919 (eval $ac_link) 2>&5
16921 echo "$as_me:16921: \$? = $ac_status" >&5
16922 (exit $ac_status); } &&
16923 { ac_try
='test -s conftest$ac_exeext'
16924 { (eval echo "$as_me:16924: \"$ac_try\"") >&5
16925 (eval $ac_try) 2>&5
16927 echo "$as_me:16927: \$? = $ac_status" >&5
16928 (exit $ac_status); }; }; then
16929 ac_cv_lib_bsd_gethostbyname
=yes
16931 echo "$as_me: failed program was:" >&5
16932 cat conftest.
$ac_ext >&5
16933 ac_cv_lib_bsd_gethostbyname
=no
16935 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
16936 LIBS
=$ac_check_lib_save_LIBS
16938 echo "$as_me:16938: result: $ac_cv_lib_bsd_gethostbyname" >&5
16939 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
16940 if test $ac_cv_lib_bsd_gethostbyname = yes; then
16941 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
16947 # lieder@skyler.mavd.honeywell.com says without -lsocket,
16948 # socket/setsockopt and other routines are undefined under SCO ODT
16949 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
16950 # on later versions), says Simon Leinen: it contains gethostby*
16951 # variants that don't use the nameserver (or something). -lsocket
16952 # must be given before -lnsl if both are needed. We assume that
16953 # if connect needs -lnsl, so does gethostbyname.
16954 echo "$as_me:16954: checking for connect" >&5
16955 echo $ECHO_N "checking for connect... $ECHO_C" >&6
16956 if test "${ac_cv_func_connect+set}" = set; then
16957 echo $ECHO_N "(cached) $ECHO_C" >&6
16959 cat >conftest.
$ac_ext <<_ACEOF
16960 #line 16960 "configure"
16961 #include "confdefs.h"
16962 /* System header to define __stub macros and hopefully few prototypes,
16963 which can conflict with char connect (); below. */
16964 #include <assert.h>
16965 /* Override any gcc2 internal prototype to avoid an error. */
16969 /* We use char because int might match the return type of a gcc2
16970 builtin and then its argument prototype would still apply. */
16977 /* The GNU C library defines this for functions which it implements
16978 to always fail with ENOSYS. Some functions are actually named
16979 something starting with __ and the normal name is an alias. */
16980 #if defined (__stub_connect) || defined (__stub___connect)
16990 rm -f conftest.
$ac_objext conftest
$ac_exeext
16991 if { (eval echo "$as_me:16991: \"$ac_link\"") >&5
16992 (eval $ac_link) 2>&5
16994 echo "$as_me:16994: \$? = $ac_status" >&5
16995 (exit $ac_status); } &&
16996 { ac_try
='test -s conftest$ac_exeext'
16997 { (eval echo "$as_me:16997: \"$ac_try\"") >&5
16998 (eval $ac_try) 2>&5
17000 echo "$as_me:17000: \$? = $ac_status" >&5
17001 (exit $ac_status); }; }; then
17002 ac_cv_func_connect
=yes
17004 echo "$as_me: failed program was:" >&5
17005 cat conftest.
$ac_ext >&5
17006 ac_cv_func_connect
=no
17008 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
17010 echo "$as_me:17010: result: $ac_cv_func_connect" >&5
17011 echo "${ECHO_T}$ac_cv_func_connect" >&6
17013 if test $ac_cv_func_connect = no
; then
17014 echo "$as_me:17014: checking for connect in -lsocket" >&5
17015 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
17016 if test "${ac_cv_lib_socket_connect+set}" = set; then
17017 echo $ECHO_N "(cached) $ECHO_C" >&6
17019 ac_check_lib_save_LIBS
=$LIBS
17020 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
17021 cat >conftest.
$ac_ext <<_ACEOF
17022 #line 17022 "configure"
17023 #include "confdefs.h"
17025 /* Override any gcc2 internal prototype to avoid an error. */
17029 /* We use char because int might match the return type of a gcc2
17030 builtin and then its argument prototype would still apply. */
17040 rm -f conftest.
$ac_objext conftest
$ac_exeext
17041 if { (eval echo "$as_me:17041: \"$ac_link\"") >&5
17042 (eval $ac_link) 2>&5
17044 echo "$as_me:17044: \$? = $ac_status" >&5
17045 (exit $ac_status); } &&
17046 { ac_try
='test -s conftest$ac_exeext'
17047 { (eval echo "$as_me:17047: \"$ac_try\"") >&5
17048 (eval $ac_try) 2>&5
17050 echo "$as_me:17050: \$? = $ac_status" >&5
17051 (exit $ac_status); }; }; then
17052 ac_cv_lib_socket_connect
=yes
17054 echo "$as_me: failed program was:" >&5
17055 cat conftest.
$ac_ext >&5
17056 ac_cv_lib_socket_connect
=no
17058 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
17059 LIBS
=$ac_check_lib_save_LIBS
17061 echo "$as_me:17061: result: $ac_cv_lib_socket_connect" >&5
17062 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
17063 if test $ac_cv_lib_socket_connect = yes; then
17064 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
17069 # Guillermo Gomez says -lposix is necessary on A/UX.
17070 echo "$as_me:17070: checking for remove" >&5
17071 echo $ECHO_N "checking for remove... $ECHO_C" >&6
17072 if test "${ac_cv_func_remove+set}" = set; then
17073 echo $ECHO_N "(cached) $ECHO_C" >&6
17075 cat >conftest.
$ac_ext <<_ACEOF
17076 #line 17076 "configure"
17077 #include "confdefs.h"
17078 /* System header to define __stub macros and hopefully few prototypes,
17079 which can conflict with char remove (); below. */
17080 #include <assert.h>
17081 /* Override any gcc2 internal prototype to avoid an error. */
17085 /* We use char because int might match the return type of a gcc2
17086 builtin and then its argument prototype would still apply. */
17093 /* The GNU C library defines this for functions which it implements
17094 to always fail with ENOSYS. Some functions are actually named
17095 something starting with __ and the normal name is an alias. */
17096 #if defined (__stub_remove) || defined (__stub___remove)
17106 rm -f conftest.
$ac_objext conftest
$ac_exeext
17107 if { (eval echo "$as_me:17107: \"$ac_link\"") >&5
17108 (eval $ac_link) 2>&5
17110 echo "$as_me:17110: \$? = $ac_status" >&5
17111 (exit $ac_status); } &&
17112 { ac_try
='test -s conftest$ac_exeext'
17113 { (eval echo "$as_me:17113: \"$ac_try\"") >&5
17114 (eval $ac_try) 2>&5
17116 echo "$as_me:17116: \$? = $ac_status" >&5
17117 (exit $ac_status); }; }; then
17118 ac_cv_func_remove
=yes
17120 echo "$as_me: failed program was:" >&5
17121 cat conftest.
$ac_ext >&5
17122 ac_cv_func_remove
=no
17124 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
17126 echo "$as_me:17126: result: $ac_cv_func_remove" >&5
17127 echo "${ECHO_T}$ac_cv_func_remove" >&6
17129 if test $ac_cv_func_remove = no
; then
17130 echo "$as_me:17130: checking for remove in -lposix" >&5
17131 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
17132 if test "${ac_cv_lib_posix_remove+set}" = set; then
17133 echo $ECHO_N "(cached) $ECHO_C" >&6
17135 ac_check_lib_save_LIBS
=$LIBS
17136 LIBS
="-lposix $LIBS"
17137 cat >conftest.
$ac_ext <<_ACEOF
17138 #line 17138 "configure"
17139 #include "confdefs.h"
17141 /* Override any gcc2 internal prototype to avoid an error. */
17145 /* We use char because int might match the return type of a gcc2
17146 builtin and then its argument prototype would still apply. */
17156 rm -f conftest.
$ac_objext conftest
$ac_exeext
17157 if { (eval echo "$as_me:17157: \"$ac_link\"") >&5
17158 (eval $ac_link) 2>&5
17160 echo "$as_me:17160: \$? = $ac_status" >&5
17161 (exit $ac_status); } &&
17162 { ac_try
='test -s conftest$ac_exeext'
17163 { (eval echo "$as_me:17163: \"$ac_try\"") >&5
17164 (eval $ac_try) 2>&5
17166 echo "$as_me:17166: \$? = $ac_status" >&5
17167 (exit $ac_status); }; }; then
17168 ac_cv_lib_posix_remove
=yes
17170 echo "$as_me: failed program was:" >&5
17171 cat conftest.
$ac_ext >&5
17172 ac_cv_lib_posix_remove
=no
17174 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
17175 LIBS
=$ac_check_lib_save_LIBS
17177 echo "$as_me:17177: result: $ac_cv_lib_posix_remove" >&5
17178 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
17179 if test $ac_cv_lib_posix_remove = yes; then
17180 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
17185 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
17186 echo "$as_me:17186: checking for shmat" >&5
17187 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
17188 if test "${ac_cv_func_shmat+set}" = set; then
17189 echo $ECHO_N "(cached) $ECHO_C" >&6
17191 cat >conftest.
$ac_ext <<_ACEOF
17192 #line 17192 "configure"
17193 #include "confdefs.h"
17194 /* System header to define __stub macros and hopefully few prototypes,
17195 which can conflict with char shmat (); below. */
17196 #include <assert.h>
17197 /* Override any gcc2 internal prototype to avoid an error. */
17201 /* We use char because int might match the return type of a gcc2
17202 builtin and then its argument prototype would still apply. */
17209 /* The GNU C library defines this for functions which it implements
17210 to always fail with ENOSYS. Some functions are actually named
17211 something starting with __ and the normal name is an alias. */
17212 #if defined (__stub_shmat) || defined (__stub___shmat)
17222 rm -f conftest.
$ac_objext conftest
$ac_exeext
17223 if { (eval echo "$as_me:17223: \"$ac_link\"") >&5
17224 (eval $ac_link) 2>&5
17226 echo "$as_me:17226: \$? = $ac_status" >&5
17227 (exit $ac_status); } &&
17228 { ac_try
='test -s conftest$ac_exeext'
17229 { (eval echo "$as_me:17229: \"$ac_try\"") >&5
17230 (eval $ac_try) 2>&5
17232 echo "$as_me:17232: \$? = $ac_status" >&5
17233 (exit $ac_status); }; }; then
17234 ac_cv_func_shmat
=yes
17236 echo "$as_me: failed program was:" >&5
17237 cat conftest.
$ac_ext >&5
17238 ac_cv_func_shmat
=no
17240 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
17242 echo "$as_me:17242: result: $ac_cv_func_shmat" >&5
17243 echo "${ECHO_T}$ac_cv_func_shmat" >&6
17245 if test $ac_cv_func_shmat = no
; then
17246 echo "$as_me:17246: checking for shmat in -lipc" >&5
17247 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
17248 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
17249 echo $ECHO_N "(cached) $ECHO_C" >&6
17251 ac_check_lib_save_LIBS
=$LIBS
17253 cat >conftest.
$ac_ext <<_ACEOF
17254 #line 17254 "configure"
17255 #include "confdefs.h"
17257 /* Override any gcc2 internal prototype to avoid an error. */
17261 /* We use char because int might match the return type of a gcc2
17262 builtin and then its argument prototype would still apply. */
17272 rm -f conftest.
$ac_objext conftest
$ac_exeext
17273 if { (eval echo "$as_me:17273: \"$ac_link\"") >&5
17274 (eval $ac_link) 2>&5
17276 echo "$as_me:17276: \$? = $ac_status" >&5
17277 (exit $ac_status); } &&
17278 { ac_try
='test -s conftest$ac_exeext'
17279 { (eval echo "$as_me:17279: \"$ac_try\"") >&5
17280 (eval $ac_try) 2>&5
17282 echo "$as_me:17282: \$? = $ac_status" >&5
17283 (exit $ac_status); }; }; then
17284 ac_cv_lib_ipc_shmat
=yes
17286 echo "$as_me: failed program was:" >&5
17287 cat conftest.
$ac_ext >&5
17288 ac_cv_lib_ipc_shmat
=no
17290 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
17291 LIBS
=$ac_check_lib_save_LIBS
17293 echo "$as_me:17293: result: $ac_cv_lib_ipc_shmat" >&5
17294 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
17295 if test $ac_cv_lib_ipc_shmat = yes; then
17296 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
17302 # Check for libraries that X11R6 Xt/Xaw programs need.
17303 ac_save_LDFLAGS
=$LDFLAGS
17304 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
17305 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
17306 # check for ICE first), but we must link in the order -lSM -lICE or
17307 # we get undefined symbols. So assume we have SM if we have ICE.
17308 # These have to be linked with before -lX11, unlike the other
17309 # libraries we check for below, so use a different variable.
17310 # John Interrante, Karl Berry
17311 echo "$as_me:17311: checking for IceConnectionNumber in -lICE" >&5
17312 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
17313 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
17314 echo $ECHO_N "(cached) $ECHO_C" >&6
17316 ac_check_lib_save_LIBS
=$LIBS
17317 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
17318 cat >conftest.
$ac_ext <<_ACEOF
17319 #line 17319 "configure"
17320 #include "confdefs.h"
17322 /* Override any gcc2 internal prototype to avoid an error. */
17326 /* We use char because int might match the return type of a gcc2
17327 builtin and then its argument prototype would still apply. */
17328 char IceConnectionNumber ();
17332 IceConnectionNumber ();
17337 rm -f conftest.
$ac_objext conftest
$ac_exeext
17338 if { (eval echo "$as_me:17338: \"$ac_link\"") >&5
17339 (eval $ac_link) 2>&5
17341 echo "$as_me:17341: \$? = $ac_status" >&5
17342 (exit $ac_status); } &&
17343 { ac_try
='test -s conftest$ac_exeext'
17344 { (eval echo "$as_me:17344: \"$ac_try\"") >&5
17345 (eval $ac_try) 2>&5
17347 echo "$as_me:17347: \$? = $ac_status" >&5
17348 (exit $ac_status); }; }; then
17349 ac_cv_lib_ICE_IceConnectionNumber
=yes
17351 echo "$as_me: failed program was:" >&5
17352 cat conftest.
$ac_ext >&5
17353 ac_cv_lib_ICE_IceConnectionNumber
=no
17355 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
17356 LIBS
=$ac_check_lib_save_LIBS
17358 echo "$as_me:17358: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
17359 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
17360 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
17361 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
17364 LDFLAGS
=$ac_save_LDFLAGS
17368 if test "$no_x" = "yes"; then
17369 { { echo "$as_me:17369: error: X11 not found" >&5
17370 echo "$as_me: error: X11 not found" >&2;}
17371 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
17374 GUI_TK_LIBRARY
="$X_LIBS"
17375 TOOLKIT_INCLUDE
="$X_CFLAGS"
17376 AFMINSTALL
=afminstall
17377 COMPILED_X_PROGRAM
=0
17379 if test "$wxUSE_NANOX" = "yes"; then
17380 echo "$as_me:17380: checking for MicroWindows/NanoX distribution" >&5
17381 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
17382 if test "x$MICROWIN" = x
; then
17383 echo "$as_me:17383: result: not found" >&5
17384 echo "${ECHO_T}not found" >&6
17385 { { echo "$as_me:17385: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
17386 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
17387 { (exit 1); exit 1; }; }
17389 echo "$as_me:17389: result: $MICROWIN" >&5
17390 echo "${ECHO_T}$MICROWIN" >&6
17391 cat >>confdefs.h
<<\EOF
17392 #define wxUSE_NANOX 1
17399 echo "$as_me:17399: checking for Xpm library" >&5
17400 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
17403 for ac_dir
in $SEARCH_LIB;
17405 for ac_extension
in a so sl dylib
; do
17406 if test -f "$ac_dir/libXpm.$ac_extension"; then
17407 ac_find_libraries
=$ac_dir
17413 if test "$ac_find_libraries" != "" ; then
17415 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
17417 if test $result = 0; then
17420 ac_path_to_link
=" -L$ac_find_libraries"
17423 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
17425 cat >>confdefs.h
<<\EOF
17426 #define wxHAVE_LIB_XPM 1
17429 echo "$as_me:17429: result: found at $ac_find_libraries" >&5
17430 echo "${ECHO_T}found at $ac_find_libraries" >&6
17432 cat >conftest.
$ac_ext <<_ACEOF
17433 #line 17433 "configure"
17434 #include "confdefs.h"
17436 #include <X11/xpm.h>
17443 version = XpmLibraryVersion();
17449 rm -f conftest.
$ac_objext
17450 if { (eval echo "$as_me:17450: \"$ac_compile\"") >&5
17451 (eval $ac_compile) 2>&5
17453 echo "$as_me:17453: \$? = $ac_status" >&5
17454 (exit $ac_status); } &&
17455 { ac_try
='test -s conftest.$ac_objext'
17456 { (eval echo "$as_me:17456: \"$ac_try\"") >&5
17457 (eval $ac_try) 2>&5
17459 echo "$as_me:17459: \$? = $ac_status" >&5
17460 (exit $ac_status); }; }; then
17463 cat >>confdefs.h
<<\EOF
17464 #define wxHAVE_LIB_XPM 1
17467 echo "$as_me:17467: result: found in default search path" >&5
17468 echo "${ECHO_T}found in default search path" >&6
17469 COMPILED_X_PROGRAM
=0
17472 echo "$as_me: failed program was:" >&5
17473 cat conftest.
$ac_ext >&5
17475 echo "$as_me:17475: result: no" >&5
17476 echo "${ECHO_T}no" >&6
17477 { echo "$as_me:17477: WARNING: library will be compiled without support for images in XPM format" >&5
17478 echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
17481 rm -f conftest.
$ac_objext conftest.
$ac_ext
17484 wxUSE_UNIVERSAL
="yes"
17486 if test "$wxUSE_NANOX" = "yes"; then
17487 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
17488 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"
17489 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
17491 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11$xpm_link"
17494 TOOLKIT_VPATH
="\${top_srcdir}/src/x11"
17499 if test "$wxUSE_WINE" = 1; then
17500 echo "$as_me:17500: checking for windows.h" >&5
17501 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
17502 if test "${ac_cv_header_windows_h+set}" = set; then
17503 echo $ECHO_N "(cached) $ECHO_C" >&6
17505 cat >conftest.
$ac_ext <<_ACEOF
17506 #line 17506 "configure"
17507 #include "confdefs.h"
17508 #include <windows.h>
17510 if { (eval echo "$as_me:17510: \"$ac_cpp conftest.$ac_ext\"") >&5
17511 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17513 egrep -v '^ *\+' conftest.er1
>conftest.err
17515 cat conftest.err
>&5
17516 echo "$as_me:17516: \$? = $ac_status" >&5
17517 (exit $ac_status); } >/dev
/null
; then
17518 if test -s conftest.err
; then
17519 ac_cpp_err
=$ac_c_preproc_warn_flag
17526 if test -z "$ac_cpp_err"; then
17527 ac_cv_header_windows_h
=yes
17529 echo "$as_me: failed program was:" >&5
17530 cat conftest.
$ac_ext >&5
17531 ac_cv_header_windows_h
=no
17533 rm -f conftest.err conftest.
$ac_ext
17535 echo "$as_me:17535: result: $ac_cv_header_windows_h" >&5
17536 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
17537 if test $ac_cv_header_windows_h = yes; then
17541 { { echo "$as_me:17541: error: please set CFLAGS to contain the location of windows.h" >&5
17542 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
17543 { (exit 1); exit 1; }; }
17548 echo "$as_me:17548: checking for Xpm library" >&5
17549 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
17552 for ac_dir
in $SEARCH_LIB;
17554 for ac_extension
in a so sl dylib
; do
17555 if test -f "$ac_dir/libXpm.$ac_extension"; then
17556 ac_find_libraries
=$ac_dir
17562 if test "$ac_find_libraries" != "" ; then
17563 GUI_TK_LIBRARY
="-L$ac_find_libraries"
17565 cat >>confdefs.h
<<\EOF
17566 #define wxHAVE_LIB_XPM 1
17569 echo "$as_me:17569: result: found at $ac_find_libraries" >&5
17570 echo "${ECHO_T}found at $ac_find_libraries" >&6
17572 echo "$as_me:17572: result: no" >&5
17573 echo "${ECHO_T}no" >&6
17574 { echo "$as_me:17574: WARNING: library will be compiled without support for images in XPM format" >&5
17575 echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
17579 echo "$as_me:17579: checking for Mesa library" >&5
17580 echo $ECHO_N "checking for Mesa library... $ECHO_C" >&6
17583 for ac_dir
in $SEARCH_LIB;
17585 for ac_extension
in a so sl dylib
; do
17586 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
17587 ac_find_libraries
=$ac_dir
17593 if test "$ac_find_libraries" != "" ; then
17594 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
17595 mesa_link
=" -lMesaGL"
17596 echo "$as_me:17596: result: found at $ac_find_libraries" >&5
17597 echo "${ECHO_T}found at $ac_find_libraries" >&6
17599 { { echo "$as_me:17599: error: no" >&5
17600 echo "$as_me: error: no" >&2;}
17601 { (exit 1); exit 1; }; }
17604 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lwine$mesa_link$xpm_link -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
17607 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXWINE__"
17610 if test "$wxUSE_MOTIF" = 1; then
17611 if test "$no_x" = yes; then
17612 # Not all programs may use this symbol, but it does not hurt to define it.
17614 cat >>confdefs.h
<<\EOF
17615 #define X_DISPLAY_MISSING 1
17618 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
17620 if test -n "$x_includes"; then
17621 X_CFLAGS
="$X_CFLAGS -I$x_includes"
17624 # It would also be nice to do this for all -L options, not just this one.
17625 if test -n "$x_libraries"; then
17626 X_LIBS
="$X_LIBS -L$x_libraries"
17627 # For Solaris; some versions of Sun CC require a space after -R and
17628 # others require no space. Words are not sufficient . . . .
17629 case `(uname -sr) 2>/dev/null` in
17631 echo "$as_me:17631: checking whether -R must be followed by a space" >&5
17632 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
17633 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
17634 cat >conftest.
$ac_ext <<_ACEOF
17635 #line 17635 "configure"
17636 #include "confdefs.h"
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
17660 echo "$as_me: failed program was:" >&5
17661 cat conftest.
$ac_ext >&5
17664 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
17665 if test $ac_R_nospace = yes; then
17666 echo "$as_me:17666: result: no" >&5
17667 echo "${ECHO_T}no" >&6
17668 X_LIBS
="$X_LIBS -R$x_libraries"
17670 LIBS
="$ac_xsave_LIBS -R $x_libraries"
17671 cat >conftest.
$ac_ext <<_ACEOF
17672 #line 17672 "configure"
17673 #include "confdefs.h"
17683 rm -f conftest.
$ac_objext conftest
$ac_exeext
17684 if { (eval echo "$as_me:17684: \"$ac_link\"") >&5
17685 (eval $ac_link) 2>&5
17687 echo "$as_me:17687: \$? = $ac_status" >&5
17688 (exit $ac_status); } &&
17689 { ac_try
='test -s conftest$ac_exeext'
17690 { (eval echo "$as_me:17690: \"$ac_try\"") >&5
17691 (eval $ac_try) 2>&5
17693 echo "$as_me:17693: \$? = $ac_status" >&5
17694 (exit $ac_status); }; }; then
17697 echo "$as_me: failed program was:" >&5
17698 cat conftest.
$ac_ext >&5
17701 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
17702 if test $ac_R_space = yes; then
17703 echo "$as_me:17703: result: yes" >&5
17704 echo "${ECHO_T}yes" >&6
17705 X_LIBS
="$X_LIBS -R $x_libraries"
17707 echo "$as_me:17707: result: neither works" >&5
17708 echo "${ECHO_T}neither works" >&6
17711 LIBS
=$ac_xsave_LIBS
17715 # Check for system-dependent libraries X programs must link with.
17716 # Do this before checking for the system-independent R6 libraries
17717 # (-lICE), since we may need -lsocket or whatever for X linking.
17719 if test "$ISC" = yes; then
17720 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
17722 # Martyn Johnson says this is needed for Ultrix, if the X
17723 # libraries were built with DECnet support. And Karl Berry says
17724 # the Alpha needs dnet_stub (dnet does not exist).
17725 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
17726 cat >conftest.
$ac_ext <<_ACEOF
17727 #line 17727 "configure"
17728 #include "confdefs.h"
17730 /* Override any gcc2 internal prototype to avoid an error. */
17734 /* We use char because int might match the return type of a gcc2
17735 builtin and then its argument prototype would still apply. */
17736 char XOpenDisplay ();
17745 rm -f conftest.
$ac_objext conftest
$ac_exeext
17746 if { (eval echo "$as_me:17746: \"$ac_link\"") >&5
17747 (eval $ac_link) 2>&5
17749 echo "$as_me:17749: \$? = $ac_status" >&5
17750 (exit $ac_status); } &&
17751 { ac_try
='test -s conftest$ac_exeext'
17752 { (eval echo "$as_me:17752: \"$ac_try\"") >&5
17753 (eval $ac_try) 2>&5
17755 echo "$as_me:17755: \$? = $ac_status" >&5
17756 (exit $ac_status); }; }; then
17759 echo "$as_me: failed program was:" >&5
17760 cat conftest.
$ac_ext >&5
17761 echo "$as_me:17761: checking for dnet_ntoa in -ldnet" >&5
17762 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
17763 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
17764 echo $ECHO_N "(cached) $ECHO_C" >&6
17766 ac_check_lib_save_LIBS
=$LIBS
17767 LIBS
="-ldnet $LIBS"
17768 cat >conftest.
$ac_ext <<_ACEOF
17769 #line 17769 "configure"
17770 #include "confdefs.h"
17772 /* Override any gcc2 internal prototype to avoid an error. */
17776 /* We use char because int might match the return type of a gcc2
17777 builtin and then its argument prototype would still apply. */
17787 rm -f conftest.
$ac_objext conftest
$ac_exeext
17788 if { (eval echo "$as_me:17788: \"$ac_link\"") >&5
17789 (eval $ac_link) 2>&5
17791 echo "$as_me:17791: \$? = $ac_status" >&5
17792 (exit $ac_status); } &&
17793 { ac_try
='test -s conftest$ac_exeext'
17794 { (eval echo "$as_me:17794: \"$ac_try\"") >&5
17795 (eval $ac_try) 2>&5
17797 echo "$as_me:17797: \$? = $ac_status" >&5
17798 (exit $ac_status); }; }; then
17799 ac_cv_lib_dnet_dnet_ntoa
=yes
17801 echo "$as_me: failed program was:" >&5
17802 cat conftest.
$ac_ext >&5
17803 ac_cv_lib_dnet_dnet_ntoa
=no
17805 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
17806 LIBS
=$ac_check_lib_save_LIBS
17808 echo "$as_me:17808: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
17809 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
17810 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
17811 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
17814 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
17815 echo "$as_me:17815: checking for dnet_ntoa in -ldnet_stub" >&5
17816 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
17817 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
17818 echo $ECHO_N "(cached) $ECHO_C" >&6
17820 ac_check_lib_save_LIBS
=$LIBS
17821 LIBS
="-ldnet_stub $LIBS"
17822 cat >conftest.
$ac_ext <<_ACEOF
17823 #line 17823 "configure"
17824 #include "confdefs.h"
17826 /* Override any gcc2 internal prototype to avoid an error. */
17830 /* We use char because int might match the return type of a gcc2
17831 builtin and then its argument prototype would still apply. */
17841 rm -f conftest.
$ac_objext conftest
$ac_exeext
17842 if { (eval echo "$as_me:17842: \"$ac_link\"") >&5
17843 (eval $ac_link) 2>&5
17845 echo "$as_me:17845: \$? = $ac_status" >&5
17846 (exit $ac_status); } &&
17847 { ac_try
='test -s conftest$ac_exeext'
17848 { (eval echo "$as_me:17848: \"$ac_try\"") >&5
17849 (eval $ac_try) 2>&5
17851 echo "$as_me:17851: \$? = $ac_status" >&5
17852 (exit $ac_status); }; }; then
17853 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
17855 echo "$as_me: failed program was:" >&5
17856 cat conftest.
$ac_ext >&5
17857 ac_cv_lib_dnet_stub_dnet_ntoa
=no
17859 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
17860 LIBS
=$ac_check_lib_save_LIBS
17862 echo "$as_me:17862: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
17863 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
17864 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
17865 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
17870 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
17871 LIBS
="$ac_xsave_LIBS"
17873 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
17874 # to get the SysV transport functions.
17875 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
17877 # The nsl library prevents programs from opening the X display
17878 # on Irix 5.2, according to T.E. Dickey.
17879 # The functions gethostbyname, getservbyname, and inet_addr are
17880 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
17881 echo "$as_me:17881: checking for gethostbyname" >&5
17882 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
17883 if test "${ac_cv_func_gethostbyname+set}" = set; then
17884 echo $ECHO_N "(cached) $ECHO_C" >&6
17886 cat >conftest.
$ac_ext <<_ACEOF
17887 #line 17887 "configure"
17888 #include "confdefs.h"
17889 /* System header to define __stub macros and hopefully few prototypes,
17890 which can conflict with char gethostbyname (); below. */
17891 #include <assert.h>
17892 /* Override any gcc2 internal prototype to avoid an error. */
17896 /* We use char because int might match the return type of a gcc2
17897 builtin and then its argument prototype would still apply. */
17898 char gethostbyname ();
17904 /* The GNU C library defines this for functions which it implements
17905 to always fail with ENOSYS. Some functions are actually named
17906 something starting with __ and the normal name is an alias. */
17907 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
17917 rm -f conftest.
$ac_objext conftest
$ac_exeext
17918 if { (eval echo "$as_me:17918: \"$ac_link\"") >&5
17919 (eval $ac_link) 2>&5
17921 echo "$as_me:17921: \$? = $ac_status" >&5
17922 (exit $ac_status); } &&
17923 { ac_try
='test -s conftest$ac_exeext'
17924 { (eval echo "$as_me:17924: \"$ac_try\"") >&5
17925 (eval $ac_try) 2>&5
17927 echo "$as_me:17927: \$? = $ac_status" >&5
17928 (exit $ac_status); }; }; then
17929 ac_cv_func_gethostbyname
=yes
17931 echo "$as_me: failed program was:" >&5
17932 cat conftest.
$ac_ext >&5
17933 ac_cv_func_gethostbyname
=no
17935 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
17937 echo "$as_me:17937: result: $ac_cv_func_gethostbyname" >&5
17938 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
17940 if test $ac_cv_func_gethostbyname = no
; then
17941 echo "$as_me:17941: checking for gethostbyname in -lnsl" >&5
17942 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
17943 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
17944 echo $ECHO_N "(cached) $ECHO_C" >&6
17946 ac_check_lib_save_LIBS
=$LIBS
17948 cat >conftest.
$ac_ext <<_ACEOF
17949 #line 17949 "configure"
17950 #include "confdefs.h"
17952 /* Override any gcc2 internal prototype to avoid an error. */
17956 /* We use char because int might match the return type of a gcc2
17957 builtin and then its argument prototype would still apply. */
17958 char gethostbyname ();
17967 rm -f conftest.
$ac_objext conftest
$ac_exeext
17968 if { (eval echo "$as_me:17968: \"$ac_link\"") >&5
17969 (eval $ac_link) 2>&5
17971 echo "$as_me:17971: \$? = $ac_status" >&5
17972 (exit $ac_status); } &&
17973 { ac_try
='test -s conftest$ac_exeext'
17974 { (eval echo "$as_me:17974: \"$ac_try\"") >&5
17975 (eval $ac_try) 2>&5
17977 echo "$as_me:17977: \$? = $ac_status" >&5
17978 (exit $ac_status); }; }; then
17979 ac_cv_lib_nsl_gethostbyname
=yes
17981 echo "$as_me: failed program was:" >&5
17982 cat conftest.
$ac_ext >&5
17983 ac_cv_lib_nsl_gethostbyname
=no
17985 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
17986 LIBS
=$ac_check_lib_save_LIBS
17988 echo "$as_me:17988: result: $ac_cv_lib_nsl_gethostbyname" >&5
17989 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
17990 if test $ac_cv_lib_nsl_gethostbyname = yes; then
17991 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
17994 if test $ac_cv_lib_nsl_gethostbyname = no
; then
17995 echo "$as_me:17995: checking for gethostbyname in -lbsd" >&5
17996 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
17997 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
17998 echo $ECHO_N "(cached) $ECHO_C" >&6
18000 ac_check_lib_save_LIBS
=$LIBS
18002 cat >conftest.
$ac_ext <<_ACEOF
18003 #line 18003 "configure"
18004 #include "confdefs.h"
18006 /* Override any gcc2 internal prototype to avoid an error. */
18010 /* We use char because int might match the return type of a gcc2
18011 builtin and then its argument prototype would still apply. */
18012 char gethostbyname ();
18021 rm -f conftest.
$ac_objext conftest
$ac_exeext
18022 if { (eval echo "$as_me:18022: \"$ac_link\"") >&5
18023 (eval $ac_link) 2>&5
18025 echo "$as_me:18025: \$? = $ac_status" >&5
18026 (exit $ac_status); } &&
18027 { ac_try
='test -s conftest$ac_exeext'
18028 { (eval echo "$as_me:18028: \"$ac_try\"") >&5
18029 (eval $ac_try) 2>&5
18031 echo "$as_me:18031: \$? = $ac_status" >&5
18032 (exit $ac_status); }; }; then
18033 ac_cv_lib_bsd_gethostbyname
=yes
18035 echo "$as_me: failed program was:" >&5
18036 cat conftest.
$ac_ext >&5
18037 ac_cv_lib_bsd_gethostbyname
=no
18039 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18040 LIBS
=$ac_check_lib_save_LIBS
18042 echo "$as_me:18042: result: $ac_cv_lib_bsd_gethostbyname" >&5
18043 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
18044 if test $ac_cv_lib_bsd_gethostbyname = yes; then
18045 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
18051 # lieder@skyler.mavd.honeywell.com says without -lsocket,
18052 # socket/setsockopt and other routines are undefined under SCO ODT
18053 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
18054 # on later versions), says Simon Leinen: it contains gethostby*
18055 # variants that don't use the nameserver (or something). -lsocket
18056 # must be given before -lnsl if both are needed. We assume that
18057 # if connect needs -lnsl, so does gethostbyname.
18058 echo "$as_me:18058: checking for connect" >&5
18059 echo $ECHO_N "checking for connect... $ECHO_C" >&6
18060 if test "${ac_cv_func_connect+set}" = set; then
18061 echo $ECHO_N "(cached) $ECHO_C" >&6
18063 cat >conftest.
$ac_ext <<_ACEOF
18064 #line 18064 "configure"
18065 #include "confdefs.h"
18066 /* System header to define __stub macros and hopefully few prototypes,
18067 which can conflict with char connect (); below. */
18068 #include <assert.h>
18069 /* Override any gcc2 internal prototype to avoid an error. */
18073 /* We use char because int might match the return type of a gcc2
18074 builtin and then its argument prototype would still apply. */
18081 /* The GNU C library defines this for functions which it implements
18082 to always fail with ENOSYS. Some functions are actually named
18083 something starting with __ and the normal name is an alias. */
18084 #if defined (__stub_connect) || defined (__stub___connect)
18094 rm -f conftest.
$ac_objext conftest
$ac_exeext
18095 if { (eval echo "$as_me:18095: \"$ac_link\"") >&5
18096 (eval $ac_link) 2>&5
18098 echo "$as_me:18098: \$? = $ac_status" >&5
18099 (exit $ac_status); } &&
18100 { ac_try
='test -s conftest$ac_exeext'
18101 { (eval echo "$as_me:18101: \"$ac_try\"") >&5
18102 (eval $ac_try) 2>&5
18104 echo "$as_me:18104: \$? = $ac_status" >&5
18105 (exit $ac_status); }; }; then
18106 ac_cv_func_connect
=yes
18108 echo "$as_me: failed program was:" >&5
18109 cat conftest.
$ac_ext >&5
18110 ac_cv_func_connect
=no
18112 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18114 echo "$as_me:18114: result: $ac_cv_func_connect" >&5
18115 echo "${ECHO_T}$ac_cv_func_connect" >&6
18117 if test $ac_cv_func_connect = no
; then
18118 echo "$as_me:18118: checking for connect in -lsocket" >&5
18119 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
18120 if test "${ac_cv_lib_socket_connect+set}" = set; then
18121 echo $ECHO_N "(cached) $ECHO_C" >&6
18123 ac_check_lib_save_LIBS
=$LIBS
18124 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
18125 cat >conftest.
$ac_ext <<_ACEOF
18126 #line 18126 "configure"
18127 #include "confdefs.h"
18129 /* Override any gcc2 internal prototype to avoid an error. */
18133 /* We use char because int might match the return type of a gcc2
18134 builtin and then its argument prototype would still apply. */
18144 rm -f conftest.
$ac_objext conftest
$ac_exeext
18145 if { (eval echo "$as_me:18145: \"$ac_link\"") >&5
18146 (eval $ac_link) 2>&5
18148 echo "$as_me:18148: \$? = $ac_status" >&5
18149 (exit $ac_status); } &&
18150 { ac_try
='test -s conftest$ac_exeext'
18151 { (eval echo "$as_me:18151: \"$ac_try\"") >&5
18152 (eval $ac_try) 2>&5
18154 echo "$as_me:18154: \$? = $ac_status" >&5
18155 (exit $ac_status); }; }; then
18156 ac_cv_lib_socket_connect
=yes
18158 echo "$as_me: failed program was:" >&5
18159 cat conftest.
$ac_ext >&5
18160 ac_cv_lib_socket_connect
=no
18162 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18163 LIBS
=$ac_check_lib_save_LIBS
18165 echo "$as_me:18165: result: $ac_cv_lib_socket_connect" >&5
18166 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
18167 if test $ac_cv_lib_socket_connect = yes; then
18168 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
18173 # Guillermo Gomez says -lposix is necessary on A/UX.
18174 echo "$as_me:18174: checking for remove" >&5
18175 echo $ECHO_N "checking for remove... $ECHO_C" >&6
18176 if test "${ac_cv_func_remove+set}" = set; then
18177 echo $ECHO_N "(cached) $ECHO_C" >&6
18179 cat >conftest.
$ac_ext <<_ACEOF
18180 #line 18180 "configure"
18181 #include "confdefs.h"
18182 /* System header to define __stub macros and hopefully few prototypes,
18183 which can conflict with char remove (); below. */
18184 #include <assert.h>
18185 /* Override any gcc2 internal prototype to avoid an error. */
18189 /* We use char because int might match the return type of a gcc2
18190 builtin and then its argument prototype would still apply. */
18197 /* The GNU C library defines this for functions which it implements
18198 to always fail with ENOSYS. Some functions are actually named
18199 something starting with __ and the normal name is an alias. */
18200 #if defined (__stub_remove) || defined (__stub___remove)
18210 rm -f conftest.
$ac_objext conftest
$ac_exeext
18211 if { (eval echo "$as_me:18211: \"$ac_link\"") >&5
18212 (eval $ac_link) 2>&5
18214 echo "$as_me:18214: \$? = $ac_status" >&5
18215 (exit $ac_status); } &&
18216 { ac_try
='test -s conftest$ac_exeext'
18217 { (eval echo "$as_me:18217: \"$ac_try\"") >&5
18218 (eval $ac_try) 2>&5
18220 echo "$as_me:18220: \$? = $ac_status" >&5
18221 (exit $ac_status); }; }; then
18222 ac_cv_func_remove
=yes
18224 echo "$as_me: failed program was:" >&5
18225 cat conftest.
$ac_ext >&5
18226 ac_cv_func_remove
=no
18228 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18230 echo "$as_me:18230: result: $ac_cv_func_remove" >&5
18231 echo "${ECHO_T}$ac_cv_func_remove" >&6
18233 if test $ac_cv_func_remove = no
; then
18234 echo "$as_me:18234: checking for remove in -lposix" >&5
18235 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
18236 if test "${ac_cv_lib_posix_remove+set}" = set; then
18237 echo $ECHO_N "(cached) $ECHO_C" >&6
18239 ac_check_lib_save_LIBS
=$LIBS
18240 LIBS
="-lposix $LIBS"
18241 cat >conftest.
$ac_ext <<_ACEOF
18242 #line 18242 "configure"
18243 #include "confdefs.h"
18245 /* Override any gcc2 internal prototype to avoid an error. */
18249 /* We use char because int might match the return type of a gcc2
18250 builtin and then its argument prototype would still apply. */
18260 rm -f conftest.
$ac_objext conftest
$ac_exeext
18261 if { (eval echo "$as_me:18261: \"$ac_link\"") >&5
18262 (eval $ac_link) 2>&5
18264 echo "$as_me:18264: \$? = $ac_status" >&5
18265 (exit $ac_status); } &&
18266 { ac_try
='test -s conftest$ac_exeext'
18267 { (eval echo "$as_me:18267: \"$ac_try\"") >&5
18268 (eval $ac_try) 2>&5
18270 echo "$as_me:18270: \$? = $ac_status" >&5
18271 (exit $ac_status); }; }; then
18272 ac_cv_lib_posix_remove
=yes
18274 echo "$as_me: failed program was:" >&5
18275 cat conftest.
$ac_ext >&5
18276 ac_cv_lib_posix_remove
=no
18278 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18279 LIBS
=$ac_check_lib_save_LIBS
18281 echo "$as_me:18281: result: $ac_cv_lib_posix_remove" >&5
18282 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
18283 if test $ac_cv_lib_posix_remove = yes; then
18284 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
18289 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
18290 echo "$as_me:18290: checking for shmat" >&5
18291 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
18292 if test "${ac_cv_func_shmat+set}" = set; then
18293 echo $ECHO_N "(cached) $ECHO_C" >&6
18295 cat >conftest.
$ac_ext <<_ACEOF
18296 #line 18296 "configure"
18297 #include "confdefs.h"
18298 /* System header to define __stub macros and hopefully few prototypes,
18299 which can conflict with char shmat (); below. */
18300 #include <assert.h>
18301 /* Override any gcc2 internal prototype to avoid an error. */
18305 /* We use char because int might match the return type of a gcc2
18306 builtin and then its argument prototype would still apply. */
18313 /* The GNU C library defines this for functions which it implements
18314 to always fail with ENOSYS. Some functions are actually named
18315 something starting with __ and the normal name is an alias. */
18316 #if defined (__stub_shmat) || defined (__stub___shmat)
18326 rm -f conftest.
$ac_objext conftest
$ac_exeext
18327 if { (eval echo "$as_me:18327: \"$ac_link\"") >&5
18328 (eval $ac_link) 2>&5
18330 echo "$as_me:18330: \$? = $ac_status" >&5
18331 (exit $ac_status); } &&
18332 { ac_try
='test -s conftest$ac_exeext'
18333 { (eval echo "$as_me:18333: \"$ac_try\"") >&5
18334 (eval $ac_try) 2>&5
18336 echo "$as_me:18336: \$? = $ac_status" >&5
18337 (exit $ac_status); }; }; then
18338 ac_cv_func_shmat
=yes
18340 echo "$as_me: failed program was:" >&5
18341 cat conftest.
$ac_ext >&5
18342 ac_cv_func_shmat
=no
18344 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18346 echo "$as_me:18346: result: $ac_cv_func_shmat" >&5
18347 echo "${ECHO_T}$ac_cv_func_shmat" >&6
18349 if test $ac_cv_func_shmat = no
; then
18350 echo "$as_me:18350: checking for shmat in -lipc" >&5
18351 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
18352 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
18353 echo $ECHO_N "(cached) $ECHO_C" >&6
18355 ac_check_lib_save_LIBS
=$LIBS
18357 cat >conftest.
$ac_ext <<_ACEOF
18358 #line 18358 "configure"
18359 #include "confdefs.h"
18361 /* Override any gcc2 internal prototype to avoid an error. */
18365 /* We use char because int might match the return type of a gcc2
18366 builtin and then its argument prototype would still apply. */
18376 rm -f conftest.
$ac_objext conftest
$ac_exeext
18377 if { (eval echo "$as_me:18377: \"$ac_link\"") >&5
18378 (eval $ac_link) 2>&5
18380 echo "$as_me:18380: \$? = $ac_status" >&5
18381 (exit $ac_status); } &&
18382 { ac_try
='test -s conftest$ac_exeext'
18383 { (eval echo "$as_me:18383: \"$ac_try\"") >&5
18384 (eval $ac_try) 2>&5
18386 echo "$as_me:18386: \$? = $ac_status" >&5
18387 (exit $ac_status); }; }; then
18388 ac_cv_lib_ipc_shmat
=yes
18390 echo "$as_me: failed program was:" >&5
18391 cat conftest.
$ac_ext >&5
18392 ac_cv_lib_ipc_shmat
=no
18394 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18395 LIBS
=$ac_check_lib_save_LIBS
18397 echo "$as_me:18397: result: $ac_cv_lib_ipc_shmat" >&5
18398 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
18399 if test $ac_cv_lib_ipc_shmat = yes; then
18400 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
18406 # Check for libraries that X11R6 Xt/Xaw programs need.
18407 ac_save_LDFLAGS
=$LDFLAGS
18408 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
18409 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
18410 # check for ICE first), but we must link in the order -lSM -lICE or
18411 # we get undefined symbols. So assume we have SM if we have ICE.
18412 # These have to be linked with before -lX11, unlike the other
18413 # libraries we check for below, so use a different variable.
18414 # John Interrante, Karl Berry
18415 echo "$as_me:18415: checking for IceConnectionNumber in -lICE" >&5
18416 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
18417 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
18418 echo $ECHO_N "(cached) $ECHO_C" >&6
18420 ac_check_lib_save_LIBS
=$LIBS
18421 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
18422 cat >conftest.
$ac_ext <<_ACEOF
18423 #line 18423 "configure"
18424 #include "confdefs.h"
18426 /* Override any gcc2 internal prototype to avoid an error. */
18430 /* We use char because int might match the return type of a gcc2
18431 builtin and then its argument prototype would still apply. */
18432 char IceConnectionNumber ();
18436 IceConnectionNumber ();
18441 rm -f conftest.
$ac_objext conftest
$ac_exeext
18442 if { (eval echo "$as_me:18442: \"$ac_link\"") >&5
18443 (eval $ac_link) 2>&5
18445 echo "$as_me:18445: \$? = $ac_status" >&5
18446 (exit $ac_status); } &&
18447 { ac_try
='test -s conftest$ac_exeext'
18448 { (eval echo "$as_me:18448: \"$ac_try\"") >&5
18449 (eval $ac_try) 2>&5
18451 echo "$as_me:18451: \$? = $ac_status" >&5
18452 (exit $ac_status); }; }; then
18453 ac_cv_lib_ICE_IceConnectionNumber
=yes
18455 echo "$as_me: failed program was:" >&5
18456 cat conftest.
$ac_ext >&5
18457 ac_cv_lib_ICE_IceConnectionNumber
=no
18459 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18460 LIBS
=$ac_check_lib_save_LIBS
18462 echo "$as_me:18462: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
18463 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
18464 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
18465 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
18468 LDFLAGS
=$ac_save_LDFLAGS
18472 if test "$no_x" = "yes"; then
18473 { { echo "$as_me:18473: error: X11 not found" >&5
18474 echo "$as_me: error: X11 not found" >&2;}
18475 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
18478 GUI_TK_LIBRARY
="$X_LIBS"
18479 TOOLKIT_INCLUDE
="$X_CFLAGS"
18480 AFMINSTALL
=afminstall
18481 COMPILED_X_PROGRAM
=0
18483 echo "$as_me:18483: checking for Motif/Lesstif headers" >&5
18484 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
18487 for ac_dir
in $SEARCH_INCLUDE;
18489 if test -f "$ac_dir/Xm/Xm.h"; then
18490 ac_find_includes
=$ac_dir
18495 if test "$ac_find_includes" != "" ; then
18496 echo "$as_me:18496: result: found in $ac_find_includes" >&5
18497 echo "${ECHO_T}found in $ac_find_includes" >&6
18499 ac_path_to_include
=$ac_find_includes
18500 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
18502 if test $result = 0; then
18503 ac_path_to_include
=""
18505 ac_path_to_include
=" -I$ac_find_includes"
18508 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
18510 cat >conftest.
$ac_ext <<_ACEOF
18511 #line 18511 "configure"
18512 #include "confdefs.h"
18521 version = xmUseVersion;
18527 rm -f conftest.
$ac_objext
18528 if { (eval echo "$as_me:18528: \"$ac_compile\"") >&5
18529 (eval $ac_compile) 2>&5
18531 echo "$as_me:18531: \$? = $ac_status" >&5
18532 (exit $ac_status); } &&
18533 { ac_try
='test -s conftest.$ac_objext'
18534 { (eval echo "$as_me:18534: \"$ac_try\"") >&5
18535 (eval $ac_try) 2>&5
18537 echo "$as_me:18537: \$? = $ac_status" >&5
18538 (exit $ac_status); }; }; then
18540 echo "$as_me:18540: result: found in default search path" >&5
18541 echo "${ECHO_T}found in default search path" >&6
18542 COMPILED_X_PROGRAM
=1
18545 echo "$as_me: failed program was:" >&5
18546 cat conftest.
$ac_ext >&5
18548 echo "$as_me:18548: result: no" >&5
18549 echo "${ECHO_T}no" >&6
18550 { { echo "$as_me:18550: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
18551 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
18552 { (exit 1); exit 1; }; }
18555 rm -f conftest.
$ac_objext conftest.
$ac_ext
18558 if test "$COMPILED_X_PROGRAM" = 0; then
18559 echo "$as_me:18559: checking for Motif/Lesstif library" >&5
18560 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
18563 for ac_dir
in $SEARCH_LIB;
18565 for ac_extension
in a so sl dylib
; do
18566 if test -f "$ac_dir/libXm.$ac_extension"; then
18567 ac_find_libraries
=$ac_dir
18573 if test "$ac_find_libraries" != "" ; then
18574 echo "$as_me:18574: result: found at $ac_find_libraries" >&5
18575 echo "${ECHO_T}found at $ac_find_libraries" >&6
18577 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
18579 if test $result = 0; then
18582 ac_path_to_link
=" -L$ac_find_libraries"
18585 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
18587 save_CFLAGS
=$CFLAGS
18588 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
18590 cat >conftest.
$ac_ext <<_ACEOF
18591 #line 18591 "configure"
18592 #include "confdefs.h"
18601 version = xmUseVersion;
18607 rm -f conftest.
$ac_objext
18608 if { (eval echo "$as_me:18608: \"$ac_compile\"") >&5
18609 (eval $ac_compile) 2>&5
18611 echo "$as_me:18611: \$? = $ac_status" >&5
18612 (exit $ac_status); } &&
18613 { ac_try
='test -s conftest.$ac_objext'
18614 { (eval echo "$as_me:18614: \"$ac_try\"") >&5
18615 (eval $ac_try) 2>&5
18617 echo "$as_me:18617: \$? = $ac_status" >&5
18618 (exit $ac_status); }; }; then
18620 echo "$as_me:18620: result: found in default search path" >&5
18621 echo "${ECHO_T}found in default search path" >&6
18622 COMPILED_X_PROGRAM
=1
18625 echo "$as_me: failed program was:" >&5
18626 cat conftest.
$ac_ext >&5
18628 echo "$as_me:18628: result: no" >&5
18629 echo "${ECHO_T}no" >&6
18630 { { echo "$as_me:18630: error: please set LDFLAGS to contain the location of libXm" >&5
18631 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
18632 { (exit 1); exit 1; }; }
18635 rm -f conftest.
$ac_objext conftest.
$ac_ext
18637 CFLAGS
=$save_CFLAGS
18642 echo "$as_me:18642: checking for Xpm library" >&5
18643 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
18646 for ac_dir
in $SEARCH_LIB;
18648 for ac_extension
in a so sl dylib
; do
18649 if test -f "$ac_dir/libXpm.$ac_extension"; then
18650 ac_find_libraries
=$ac_dir
18656 if test "$ac_find_libraries" != "" ; then
18658 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
18660 if test $result = 0; then
18663 ac_path_to_link
=" -L$ac_find_libraries"
18666 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
18669 cat >>confdefs.h
<<\EOF
18670 #define wxHAVE_LIB_XPM 1
18673 echo "$as_me:18673: result: found at $ac_find_libraries" >&5
18674 echo "${ECHO_T}found at $ac_find_libraries" >&6
18676 save_CFLAGS
=$CFLAGS
18677 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
18679 cat >conftest.
$ac_ext <<_ACEOF
18680 #line 18680 "configure"
18681 #include "confdefs.h"
18683 #include <X11/xpm.h>
18690 version = XpmLibraryVersion();
18696 rm -f conftest.
$ac_objext
18697 if { (eval echo "$as_me:18697: \"$ac_compile\"") >&5
18698 (eval $ac_compile) 2>&5
18700 echo "$as_me:18700: \$? = $ac_status" >&5
18701 (exit $ac_status); } &&
18702 { ac_try
='test -s conftest.$ac_objext'
18703 { (eval echo "$as_me:18703: \"$ac_try\"") >&5
18704 (eval $ac_try) 2>&5
18706 echo "$as_me:18706: \$? = $ac_status" >&5
18707 (exit $ac_status); }; }; then
18710 cat >>confdefs.h
<<\EOF
18711 #define wxHAVE_LIB_XPM 1
18714 echo "$as_me:18714: result: found in default search path" >&5
18715 echo "${ECHO_T}found in default search path" >&6
18716 COMPILED_X_PROGRAM
=0
18719 echo "$as_me: failed program was:" >&5
18720 cat conftest.
$ac_ext >&5
18722 echo "$as_me:18722: result: no" >&5
18723 echo "${ECHO_T}no" >&6
18724 { echo "$as_me:18724: WARNING: library will be compiled without support for images in XPM format" >&5
18725 echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
18728 rm -f conftest.
$ac_objext conftest.
$ac_ext
18730 CFLAGS
=$save_CFLAGS
18733 echo "$as_me:18733: checking if we need -lXp and/or -lSM -lICE" >&5
18734 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
18738 for libp
in "" " -lXp"; do
18739 if test "$libs_found" = "0"; then
18740 for libsm_ice
in " -lSM -lICE"; do
18741 if test "$libs_found" = "0"; then
18743 LIBS
="$GUI_TK_LIBRARY -lXm${xpm_link} ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
18744 save_CFLAGS
=$CFLAGS
18745 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
18747 cat >conftest.
$ac_ext <<_ACEOF
18748 #line 18748 "configure"
18749 #include "confdefs.h"
18752 #include <Xm/List.h>
18758 XmString string = NULL;
18761 XmListAddItem(w, string, position);
18767 rm -f conftest.
$ac_objext conftest
$ac_exeext
18768 if { (eval echo "$as_me:18768: \"$ac_link\"") >&5
18769 (eval $ac_link) 2>&5
18771 echo "$as_me:18771: \$? = $ac_status" >&5
18772 (exit $ac_status); } &&
18773 { ac_try
='test -s conftest$ac_exeext'
18774 { (eval echo "$as_me:18774: \"$ac_try\"") >&5
18775 (eval $ac_try) 2>&5
18777 echo "$as_me:18777: \$? = $ac_status" >&5
18778 (exit $ac_status); }; }; then
18781 libsm_ice_link
="$libsm_ice"
18782 echo "$as_me:18782: result: need${libp_link}${libsm_ice_link}" >&5
18783 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
18787 echo "$as_me: failed program was:" >&5
18788 cat conftest.
$ac_ext >&5
18791 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18794 CFLAGS
=$save_CFLAGS
18800 if test "$libs_found" = "0"; then
18801 echo "$as_me:18801: result: can't find the right libraries" >&5
18802 echo "${ECHO_T}can't find the right libraries" >&6
18803 { { echo "$as_me:18803: error: can't link a simple motif program" >&5
18804 echo "$as_me: error: can't link a simple motif program" >&2;}
18805 { (exit 1); exit 1; }; }
18808 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm$xpm_link${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
18809 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo"
18814 if test "$wxUSE_MAC" = 1; then
18815 if test "$wxUSE_PRECOMP" = "yes"; then
18816 CPPFLAGS
="$CPPFLAGS -cpp-precomp"
18818 CPPFLAGS
="$CPPFLAGS -no-cpp-precomp"
18820 CPPFLAGS
="$CPPFLAGS -I/Developer/Headers/FlatCarbon -I\${top_srcdir}/src/mac/morefile"
18821 CFLAGS
="$CFLAGS -fpascal-strings"
18822 CXXFLAGS
="$CXXFLAGS -fpascal-strings"
18824 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefile"
18829 if test "$wxUSE_PM" = 1; then
18834 if test "$TOOLKIT" = "PM" ; then
18837 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
18840 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
18842 if test "$wxUSE_UNIVERSAL" = "yes"; then
18843 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
18845 ALL_SOURCES
="\$(ALL_SOURCES) \${UNIV_SOURCES}"
18846 ALL_HEADERS
="\$(ALL_HEADERS) \${UNIV_HEADERS}"
18848 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
18849 if test "$wxUSE_X11" = 1; then
18850 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
18852 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
18854 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
18857 ALL_OBJECTS
="\$(GUIOBJS)"
18858 ALL_SOURCES
="\$(ALL_SOURCES)"
18859 ALL_HEADERS
="\$(ALL_HEADERS)"
18862 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
18864 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
18865 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
18868 if test "$wxUSE_HTML" = "yes"; then
18869 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
18872 if test "$wxUSE_LIBJPEG" = "builtin" ; then
18873 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
18875 if test "$wxUSE_LIBTIFF" = "builtin" ; then
18876 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
18878 if test "$wxUSE_LIBPNG" = "builtin" ; then
18879 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
18882 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
18883 DISTDIR
="wx\$(TOOLKIT)"
18889 if test "$USE_WIN32" = 1 ; then
18890 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
18891 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
18895 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
18896 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
18899 ALL_SOURCES
="\$(ALL_SOURCES)"
18900 ALL_HEADERS
="\$(ALL_HEADERS)"
18902 PORT_FILES
="\${top_srcdir}/src/files.lst"
18904 GUIDIST
="BASE_DIST"
18908 if test "$TOOLKIT" != "MSW" -a "$wxUSE_ODBC" = "yes" ; then
18909 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
18912 if test "$wxUSE_REGEX" = "builtin" ; then
18913 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
18915 if test "$wxUSE_ZLIB" = "builtin" ; then
18916 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
18919 if test "$wxUSE_OPENGL" = "yes"; then
18920 if test "$wxUSE_MAC" = 1; then
18921 OPENGL_LIBS
="-framework OpenGL -framework AGL"
18922 elif test "$wxUSE_MSW" = 1; then
18923 OPENGL_LIBS
="-lopengl32 -lglu32"
18925 echo "$as_me:18925: checking for GL/gl.h" >&5
18926 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
18927 if test "${ac_cv_header_GL_gl_h+set}" = set; then
18928 echo $ECHO_N "(cached) $ECHO_C" >&6
18930 cat >conftest.
$ac_ext <<_ACEOF
18931 #line 18931 "configure"
18932 #include "confdefs.h"
18935 if { (eval echo "$as_me:18935: \"$ac_cpp conftest.$ac_ext\"") >&5
18936 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18938 egrep -v '^ *\+' conftest.er1
>conftest.err
18940 cat conftest.err
>&5
18941 echo "$as_me:18941: \$? = $ac_status" >&5
18942 (exit $ac_status); } >/dev
/null
; then
18943 if test -s conftest.err
; then
18944 ac_cpp_err
=$ac_c_preproc_warn_flag
18951 if test -z "$ac_cpp_err"; then
18952 ac_cv_header_GL_gl_h
=yes
18954 echo "$as_me: failed program was:" >&5
18955 cat conftest.
$ac_ext >&5
18956 ac_cv_header_GL_gl_h
=no
18958 rm -f conftest.err conftest.
$ac_ext
18960 echo "$as_me:18960: result: $ac_cv_header_GL_gl_h" >&5
18961 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
18962 if test $ac_cv_header_GL_gl_h = yes; then
18964 echo "$as_me:18964: checking for -lGL" >&5
18965 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
18968 for ac_dir
in $SEARCH_LIB;
18970 for ac_extension
in a so sl dylib
; do
18971 if test -f "$ac_dir/libGL.$ac_extension"; then
18972 ac_find_libraries
=$ac_dir
18978 if test "$ac_find_libraries" != "" ; then
18980 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
18982 if test $result = 0; then
18985 ac_path_to_link
=" -L$ac_find_libraries"
18988 if test "$ac_path_to_link" = " -L/usr/lib" ; then
18989 LDFLAGS_GL
="$LDFLAGS"
18991 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
18993 OPENGL_LIBS
="-lGL -lGLU"
18994 echo "$as_me:18994: result: yes" >&5
18995 echo "${ECHO_T}yes" >&6
18997 echo "$as_me:18997: result: no" >&5
18998 echo "${ECHO_T}no" >&6
18999 echo "$as_me:18999: checking for -lMesaGL" >&5
19000 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
19003 for ac_dir
in $SEARCH_LIB;
19005 for ac_extension
in a so sl dylib
; do
19006 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
19007 ac_find_libraries
=$ac_dir
19013 if test "$ac_find_libraries" != "" ; then
19015 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
19017 if test $result = 0; then
19020 ac_path_to_link
=" -L$ac_find_libraries"
19023 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
19024 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
19025 echo "$as_me:19025: result: yes" >&5
19026 echo "${ECHO_T}yes" >&6
19028 echo "$as_me:19028: result: no" >&5
19029 echo "${ECHO_T}no" >&6
19035 if test "x$OPENGL_LIBS" = "x"; then
19036 { { echo "$as_me:19036: error: OpenGL libraries not available" >&5
19037 echo "$as_me: error: OpenGL libraries not available" >&2;}
19038 { (exit 1); exit 1; }; }
19042 if test "$wxUSE_OPENGL" = "yes"; then
19043 cat >>confdefs.h
<<\EOF
19044 #define wxUSE_OPENGL 1
19047 cat >>confdefs.h
<<\EOF
19048 #define wxUSE_GLCANVAS 1
19051 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl"
19055 if test -z "$TOOLKIT_VPATH" ; then
19056 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
19059 if test -n "$TOOLKIT" ; then
19060 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
19063 lib_unicode_suffix
=
19064 if test "$wxUSE_UNICODE" = "yes"; then
19065 lib_unicode_suffix
=u
19069 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
19073 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
19074 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
19076 if test "$cross_compiling" = "yes"; then
19077 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
19078 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
19081 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
19082 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
19084 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
19085 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
19087 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
19088 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
19089 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
19090 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
19093 *-*-cygwin* | *-*-mingw32* )
19095 if test "$cross_compiling" != "yes" -a "$TOOLKIT_DIR" = "msw"; then
19096 WX_LIBRARY
="wxmsw${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
19097 WX_LIBRARY_GL
="wxmsw_gl${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
19098 WX_LIBRARY_NAME_SHARED
="${WX_LIBRARY}.${SO_SUFFIX}"
19099 WX_LIBRARY_NAME_SHARED_GL
="${WX_LIBRARY_GL}.${SO_SUFFIX}"
19101 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
19102 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
19107 if test "$wxUSE_MAC" = 1; then
19108 WX_RESOURCES_MACOSX_ASCII
="lib${WX_LIBRARY}.r"
19109 WX_RESOURCES_MACOSX_DATA
="lib${WX_LIBRARY}.rsrc"
19114 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
19115 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
19117 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
19118 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
19120 if test "$wxUSE_OPENGL" = "yes"; then
19121 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
19122 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
19125 if test "$wxUSE_SHARED" = "yes"; then
19127 *-pc-os2_emx | *-pc-os2-emx | \
19130 { echo "$as_me:19130: WARNING: Host system doesn't support shared libraries, disabling" >&5
19131 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
19136 if test "$wxUSE_SHARED" = "yes"; then
19138 if test "$wxUSE_OPENGL" = "yes"; then
19139 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
19140 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1} \$(build_libdir)/${WX_LIBRARY_LINK1_GL}"
19142 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
19143 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1}"
19146 if test "$GCC" = "yes"; then
19150 SHARED_LD
="${CXX} -shared -o"
19154 if test "$GCC" == "yes"; then
19155 SHARED_LD
="${SHARED_LD} ${PIC_FLAG}"
19157 LDFLAGS
="$LDFLAGS -L/usr/lib"
19159 SHARED_LD
="${CXX} -b -o"
19163 if test "$wxUSE_OPENGL" = "yes"; then
19164 WX_ALL_INSTALLED
="preinstall_gl"
19165 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
19167 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
19172 if test "$GCC" != "yes"; then
19173 echo "$as_me:19173: checking for Intel compiler" >&5
19174 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
19175 if test "${wx_cv_prog_icc+set}" = set; then
19176 echo $ECHO_N "(cached) $ECHO_C" >&6
19179 cat >conftest.
$ac_ext <<_ACEOF
19180 #line 19180 "configure"
19181 #include "confdefs.h"
19187 #ifndef __INTEL_COMPILER
19195 rm -f conftest.
$ac_objext
19196 if { (eval echo "$as_me:19196: \"$ac_compile\"") >&5
19197 (eval $ac_compile) 2>&5
19199 echo "$as_me:19199: \$? = $ac_status" >&5
19200 (exit $ac_status); } &&
19201 { ac_try
='test -s conftest.$ac_objext'
19202 { (eval echo "$as_me:19202: \"$ac_try\"") >&5
19203 (eval $ac_try) 2>&5
19205 echo "$as_me:19205: \$? = $ac_status" >&5
19206 (exit $ac_status); }; }; then
19209 echo "$as_me: failed program was:" >&5
19210 cat conftest.
$ac_ext >&5
19214 rm -f conftest.
$ac_objext conftest.
$ac_ext
19217 echo "$as_me:19217: result: $wx_cv_prog_icc" >&5
19218 echo "${ECHO_T}$wx_cv_prog_icc" >&6
19219 if test "$wx_cv_prog_icc" = "yes"; then
19224 if test "$wxUSE_SONAME" = "yes" ; then
19225 SONAME_FLAGS
="-Wl,-soname,${WX_LIBRARY_LINK1}"
19226 SONAME_FLAGS_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
19227 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
19232 if test "$GCC" = yes ; then
19233 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
19235 SHARED_LD
="${CXX} -G -o"
19237 SONAME_FLAGS
="-h ${WX_LIBRARY_NAME_SHARED}"
19238 SONAME_FLAGS_GL
="-h ${WX_LIBRARY_NAME_SHARED_GL}"
19243 CFLAGS
="$CFLAGS -fno-common -DWXMAKINGDLL"
19244 CXXFLAGS
="$CXXFLAGS -fno-common -DWXMAKINGDLL"
19245 SHARED_LD
="\${top_srcdir}/distrib/mac/shared-ld-sh -undefined suppress -flat_namespace -o"
19246 PIC_FLAG
="-dynamic -fPIC"
19247 SONAME_FLAGS
="-compatibility_version ${WX_RELEASE} -current_version ${WX_VERSION}"
19248 SONAME_FLAGS_GL
=${SONAME_FLAGS}
19252 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
19253 set dummy makeC
++SharedLib
; ac_word
=$2
19254 echo "$as_me:19254: checking for $ac_word" >&5
19255 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19256 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
19257 echo $ECHO_N "(cached) $ECHO_C" >&6
19259 if test -n "$AIX_CXX_LD"; then
19260 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
19262 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
19264 for ac_dir
in $ac_dummy; do
19266 test -z "$ac_dir" && ac_dir
=.
19267 $as_executable_p "$ac_dir/$ac_word" || continue
19268 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
19269 echo "$as_me:19269: found $ac_dir/$ac_word" >&5
19273 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
19276 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
19277 if test -n "$AIX_CXX_LD"; then
19278 echo "$as_me:19278: result: $AIX_CXX_LD" >&5
19279 echo "${ECHO_T}$AIX_CXX_LD" >&6
19281 echo "$as_me:19281: result: no" >&5
19282 echo "${ECHO_T}no" >&6
19285 SHARED_LD
="$(AIX_CXX_LD) -p 0 -o"
19288 *-*-cygwin* | *-*-mingw32* )
19290 WX_LIBRARY_IMPORTLIB
="${WX_LIBRARY_NAME_SHARED}.a"
19292 SHARED_LD
="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_IMPORTLIB} -o"
19293 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
19295 PIC_FLAG
="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
19297 if test "$wxUSE_OPENGL" = "yes"; then
19298 WX_ALL_INSTALLED
="preinstall_gl"
19299 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
19301 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
19306 SHARED_LD
="${LD} -shared -o"
19309 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
19311 *-*-irix5* | *-*-irix6* | \
19318 { { echo "$as_me:19318: error: unknown system type $host." >&5
19319 echo "$as_me: error: unknown system type $host." >&2;}
19320 { (exit 1); exit 1; }; }
19323 if test "x$WX_TARGET_LIBRARY" = "x"; then
19324 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
19325 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
19328 WX_TARGET_LIBRARY_TYPE
="so"
19329 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
19332 if test "$wxUSE_SHARED" = "no"; then
19334 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
19335 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
19338 if test "$wxUSE_MAC" = 1; then
19339 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
19342 if test "$wxUSE_OPENGL" = "yes"; then
19343 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
19344 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
19346 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
19349 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
19350 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
19352 WX_TARGET_LIBRARY_TYPE
="a"
19353 INSTALL_LIBRARY
='$(INSTALL_DATA)'
19356 if test "$wxUSE_MAC" = 1; then
19357 LIBWXMACRES
="\$(top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
19358 WX_ALL
="${WX_ALL} ${LIBWXMACRES}"
19359 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
19360 # Extract the first word of "Rez", so it can be a program name with args.
19361 set dummy Rez
; ac_word
=$2
19362 echo "$as_me:19362: checking for $ac_word" >&5
19363 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19364 if test "${ac_cv_prog_RESCOMP+set}" = set; then
19365 echo $ECHO_N "(cached) $ECHO_C" >&6
19367 if test -n "$RESCOMP"; then
19368 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
19370 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
19372 for ac_dir
in $ac_dummy; do
19374 test -z "$ac_dir" && ac_dir
=.
19375 $as_executable_p "$ac_dir/$ac_word" || continue
19376 ac_cv_prog_RESCOMP
="Rez"
19377 echo "$as_me:19377: found $ac_dir/$ac_word" >&5
19381 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
19384 RESCOMP
=$ac_cv_prog_RESCOMP
19385 if test -n "$RESCOMP"; then
19386 echo "$as_me:19386: result: $RESCOMP" >&5
19387 echo "${ECHO_T}$RESCOMP" >&6
19389 echo "$as_me:19389: result: no" >&5
19390 echo "${ECHO_T}no" >&6
19393 # Extract the first word of "DeRez", so it can be a program name with args.
19394 set dummy DeRez
; ac_word
=$2
19395 echo "$as_me:19395: checking for $ac_word" >&5
19396 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19397 if test "${ac_cv_prog_DEREZ+set}" = set; then
19398 echo $ECHO_N "(cached) $ECHO_C" >&6
19400 if test -n "$DEREZ"; then
19401 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
19403 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
19405 for ac_dir
in $ac_dummy; do
19407 test -z "$ac_dir" && ac_dir
=.
19408 $as_executable_p "$ac_dir/$ac_word" || continue
19409 ac_cv_prog_DEREZ
="DeRez"
19410 echo "$as_me:19410: found $ac_dir/$ac_word" >&5
19414 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
19417 DEREZ
=$ac_cv_prog_DEREZ
19418 if test -n "$DEREZ"; then
19419 echo "$as_me:19419: result: $DEREZ" >&5
19420 echo "${ECHO_T}$DEREZ" >&6
19422 echo "$as_me:19422: result: no" >&5
19423 echo "${ECHO_T}no" >&6
19426 MACOSX_BUNDLE
="bundle"
19427 if test "$wxUSE_SHARED" = "yes"; then
19428 LIBWXMACRESCOMP
="\$(RESCOMP) -t APPL Carbon.r -o \$(BIN_PROGRAM)"
19429 LIBWXMACRESWXCONFIG
="${RESCOMP} -t APPL Carbon.r -o"
19431 LIBWXMACRESCOMP
="\$(RESCOMP) -t APPL Carbon.r ${LIBWXMACRES} -o \$(BIN_PROGRAM)"
19432 LIBWXMACRESWXCONFIG
="${RESCOMP} -t APPL Carbon.r \${prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
19435 if test "$wxUSE_PM" = 1; then
19436 LIBWXMACRESCOMP
="emxbind -ep \$(BIN_PROGRAM)"
19440 echo "$as_me:19440: checking for mode_t" >&5
19441 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
19442 if test "${ac_cv_type_mode_t+set}" = set; then
19443 echo $ECHO_N "(cached) $ECHO_C" >&6
19445 cat >conftest.
$ac_ext <<_ACEOF
19446 #line 19446 "configure"
19447 #include "confdefs.h"
19448 $ac_includes_default
19454 if (sizeof (mode_t))
19460 rm -f conftest.
$ac_objext
19461 if { (eval echo "$as_me:19461: \"$ac_compile\"") >&5
19462 (eval $ac_compile) 2>&5
19464 echo "$as_me:19464: \$? = $ac_status" >&5
19465 (exit $ac_status); } &&
19466 { ac_try
='test -s conftest.$ac_objext'
19467 { (eval echo "$as_me:19467: \"$ac_try\"") >&5
19468 (eval $ac_try) 2>&5
19470 echo "$as_me:19470: \$? = $ac_status" >&5
19471 (exit $ac_status); }; }; then
19472 ac_cv_type_mode_t
=yes
19474 echo "$as_me: failed program was:" >&5
19475 cat conftest.
$ac_ext >&5
19476 ac_cv_type_mode_t
=no
19478 rm -f conftest.
$ac_objext conftest.
$ac_ext
19480 echo "$as_me:19480: result: $ac_cv_type_mode_t" >&5
19481 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
19482 if test $ac_cv_type_mode_t = yes; then
19486 cat >>confdefs.h
<<EOF
19492 echo "$as_me:19492: checking for off_t" >&5
19493 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
19494 if test "${ac_cv_type_off_t+set}" = set; then
19495 echo $ECHO_N "(cached) $ECHO_C" >&6
19497 cat >conftest.
$ac_ext <<_ACEOF
19498 #line 19498 "configure"
19499 #include "confdefs.h"
19500 $ac_includes_default
19506 if (sizeof (off_t))
19512 rm -f conftest.
$ac_objext
19513 if { (eval echo "$as_me:19513: \"$ac_compile\"") >&5
19514 (eval $ac_compile) 2>&5
19516 echo "$as_me:19516: \$? = $ac_status" >&5
19517 (exit $ac_status); } &&
19518 { ac_try
='test -s conftest.$ac_objext'
19519 { (eval echo "$as_me:19519: \"$ac_try\"") >&5
19520 (eval $ac_try) 2>&5
19522 echo "$as_me:19522: \$? = $ac_status" >&5
19523 (exit $ac_status); }; }; then
19524 ac_cv_type_off_t
=yes
19526 echo "$as_me: failed program was:" >&5
19527 cat conftest.
$ac_ext >&5
19528 ac_cv_type_off_t
=no
19530 rm -f conftest.
$ac_objext conftest.
$ac_ext
19532 echo "$as_me:19532: result: $ac_cv_type_off_t" >&5
19533 echo "${ECHO_T}$ac_cv_type_off_t" >&6
19534 if test $ac_cv_type_off_t = yes; then
19538 cat >>confdefs.h
<<EOF
19544 echo "$as_me:19544: checking for pid_t" >&5
19545 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
19546 if test "${ac_cv_type_pid_t+set}" = set; then
19547 echo $ECHO_N "(cached) $ECHO_C" >&6
19549 cat >conftest.
$ac_ext <<_ACEOF
19550 #line 19550 "configure"
19551 #include "confdefs.h"
19552 $ac_includes_default
19558 if (sizeof (pid_t))
19564 rm -f conftest.
$ac_objext
19565 if { (eval echo "$as_me:19565: \"$ac_compile\"") >&5
19566 (eval $ac_compile) 2>&5
19568 echo "$as_me:19568: \$? = $ac_status" >&5
19569 (exit $ac_status); } &&
19570 { ac_try
='test -s conftest.$ac_objext'
19571 { (eval echo "$as_me:19571: \"$ac_try\"") >&5
19572 (eval $ac_try) 2>&5
19574 echo "$as_me:19574: \$? = $ac_status" >&5
19575 (exit $ac_status); }; }; then
19576 ac_cv_type_pid_t
=yes
19578 echo "$as_me: failed program was:" >&5
19579 cat conftest.
$ac_ext >&5
19580 ac_cv_type_pid_t
=no
19582 rm -f conftest.
$ac_objext conftest.
$ac_ext
19584 echo "$as_me:19584: result: $ac_cv_type_pid_t" >&5
19585 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
19586 if test $ac_cv_type_pid_t = yes; then
19590 cat >>confdefs.h
<<EOF
19596 echo "$as_me:19596: checking for size_t" >&5
19597 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
19598 if test "${ac_cv_type_size_t+set}" = set; then
19599 echo $ECHO_N "(cached) $ECHO_C" >&6
19601 cat >conftest.
$ac_ext <<_ACEOF
19602 #line 19602 "configure"
19603 #include "confdefs.h"
19604 $ac_includes_default
19610 if (sizeof (size_t))
19616 rm -f conftest.
$ac_objext
19617 if { (eval echo "$as_me:19617: \"$ac_compile\"") >&5
19618 (eval $ac_compile) 2>&5
19620 echo "$as_me:19620: \$? = $ac_status" >&5
19621 (exit $ac_status); } &&
19622 { ac_try
='test -s conftest.$ac_objext'
19623 { (eval echo "$as_me:19623: \"$ac_try\"") >&5
19624 (eval $ac_try) 2>&5
19626 echo "$as_me:19626: \$? = $ac_status" >&5
19627 (exit $ac_status); }; }; then
19628 ac_cv_type_size_t
=yes
19630 echo "$as_me: failed program was:" >&5
19631 cat conftest.
$ac_ext >&5
19632 ac_cv_type_size_t
=no
19634 rm -f conftest.
$ac_objext conftest.
$ac_ext
19636 echo "$as_me:19636: result: $ac_cv_type_size_t" >&5
19637 echo "${ECHO_T}$ac_cv_type_size_t" >&6
19638 if test $ac_cv_type_size_t = yes; then
19642 cat >>confdefs.h
<<EOF
19643 #define size_t unsigned
19648 echo "$as_me:19648: checking for uid_t in sys/types.h" >&5
19649 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
19650 if test "${ac_cv_type_uid_t+set}" = set; then
19651 echo $ECHO_N "(cached) $ECHO_C" >&6
19653 cat >conftest.
$ac_ext <<_ACEOF
19654 #line 19654 "configure"
19655 #include "confdefs.h"
19656 #include <sys/types.h>
19659 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19660 egrep "uid_t" >/dev
/null
2>&1; then
19661 ac_cv_type_uid_t
=yes
19663 ac_cv_type_uid_t
=no
19668 echo "$as_me:19668: result: $ac_cv_type_uid_t" >&5
19669 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
19670 if test $ac_cv_type_uid_t = no
; then
19672 cat >>confdefs.h
<<\EOF
19676 cat >>confdefs.h
<<\EOF
19683 ac_cpp
='$CXXCPP $CPPFLAGS'
19684 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19685 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19686 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19688 echo "$as_me:19688: checking if size_t is unsigned int" >&5
19689 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
19690 if test "${wx_cv_size_t_is_uint+set}" = set; then
19691 echo $ECHO_N "(cached) $ECHO_C" >&6
19693 cat >conftest.
$ac_ext <<_ACEOF
19694 #line 19694 "configure"
19695 #include "confdefs.h"
19696 #include <stddef.h>
19703 struct Foo { void foo(size_t); void foo(unsigned int); };
19711 rm -f conftest.
$ac_objext
19712 if { (eval echo "$as_me:19712: \"$ac_compile\"") >&5
19713 (eval $ac_compile) 2>&5
19715 echo "$as_me:19715: \$? = $ac_status" >&5
19716 (exit $ac_status); } &&
19717 { ac_try
='test -s conftest.$ac_objext'
19718 { (eval echo "$as_me:19718: \"$ac_try\"") >&5
19719 (eval $ac_try) 2>&5
19721 echo "$as_me:19721: \$? = $ac_status" >&5
19722 (exit $ac_status); }; }; then
19723 wx_cv_size_t_is_uint
=no
19725 echo "$as_me: failed program was:" >&5
19726 cat conftest.
$ac_ext >&5
19727 wx_cv_size_t_is_uint
=yes
19730 rm -f conftest.
$ac_objext conftest.
$ac_ext
19733 echo "$as_me:19733: result: $wx_cv_size_t_is_uint" >&5
19734 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
19736 if test "$wx_cv_size_t_is_uint" = "yes"; then
19737 cat >>confdefs.h
<<\EOF
19738 #define wxSIZE_T_IS_UINT 1
19742 echo "$as_me:19742: checking if size_t is unsigned long" >&5
19743 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
19744 if test "${wx_cv_size_t_is_ulong+set}" = set; then
19745 echo $ECHO_N "(cached) $ECHO_C" >&6
19747 cat >conftest.
$ac_ext <<_ACEOF
19748 #line 19748 "configure"
19749 #include "confdefs.h"
19750 #include <stddef.h>
19757 struct Foo { void foo(size_t); void foo(unsigned long); };
19765 rm -f conftest.
$ac_objext
19766 if { (eval echo "$as_me:19766: \"$ac_compile\"") >&5
19767 (eval $ac_compile) 2>&5
19769 echo "$as_me:19769: \$? = $ac_status" >&5
19770 (exit $ac_status); } &&
19771 { ac_try
='test -s conftest.$ac_objext'
19772 { (eval echo "$as_me:19772: \"$ac_try\"") >&5
19773 (eval $ac_try) 2>&5
19775 echo "$as_me:19775: \$? = $ac_status" >&5
19776 (exit $ac_status); }; }; then
19777 wx_cv_size_t_is_ulong
=no
19779 echo "$as_me: failed program was:" >&5
19780 cat conftest.
$ac_ext >&5
19781 wx_cv_size_t_is_ulong
=yes
19784 rm -f conftest.
$ac_objext conftest.
$ac_ext
19787 echo "$as_me:19787: result: $wx_cv_size_t_is_ulong" >&5
19788 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
19790 if test "$wx_cv_size_t_is_ulong" = "yes"; then
19791 cat >>confdefs.h
<<\EOF
19792 #define wxSIZE_T_IS_ULONG 1
19799 ac_cpp
='$CPP $CPPFLAGS'
19800 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19801 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19802 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19804 echo "$as_me:19804: checking for pw_gecos in struct passwd" >&5
19805 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
19806 if test "${wx_cv_struct_pw_gecos+set}" = set; then
19807 echo $ECHO_N "(cached) $ECHO_C" >&6
19810 cat >conftest.
$ac_ext <<_ACEOF
19811 #line 19811 "configure"
19812 #include "confdefs.h"
19826 rm -f conftest.
$ac_objext
19827 if { (eval echo "$as_me:19827: \"$ac_compile\"") >&5
19828 (eval $ac_compile) 2>&5
19830 echo "$as_me:19830: \$? = $ac_status" >&5
19831 (exit $ac_status); } &&
19832 { ac_try
='test -s conftest.$ac_objext'
19833 { (eval echo "$as_me:19833: \"$ac_try\"") >&5
19834 (eval $ac_try) 2>&5
19836 echo "$as_me:19836: \$? = $ac_status" >&5
19837 (exit $ac_status); }; }; then
19839 wx_cv_struct_pw_gecos
=yes
19842 echo "$as_me: failed program was:" >&5
19843 cat conftest.
$ac_ext >&5
19845 wx_cv_struct_pw_gecos
=no
19848 rm -f conftest.
$ac_objext conftest.
$ac_ext
19851 echo "$as_me:19851: result: $wx_cv_struct_pw_gecos" >&5
19852 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
19854 if test "$wx_cv_struct_pw_gecos" = "yes"; then
19855 cat >>confdefs.h
<<\EOF
19856 #define HAVE_PW_GECOS 1
19861 if test "$wx_cv_sizeof_wchar_t" != "0"; then
19862 cat >>confdefs.h
<<\EOF
19863 #define wxUSE_WCHAR_T 1
19869 for ac_func
in wcslen
19871 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19872 echo "$as_me:19872: checking for $ac_func" >&5
19873 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19874 if eval "test \"\${$as_ac_var+set}\" = set"; then
19875 echo $ECHO_N "(cached) $ECHO_C" >&6
19877 cat >conftest.
$ac_ext <<_ACEOF
19878 #line 19878 "configure"
19879 #include "confdefs.h"
19880 /* System header to define __stub macros and hopefully few prototypes,
19881 which can conflict with char $ac_func (); below. */
19882 #include <assert.h>
19883 /* Override any gcc2 internal prototype to avoid an error. */
19887 /* We use char because int might match the return type of a gcc2
19888 builtin and then its argument prototype would still apply. */
19895 /* The GNU C library defines this for functions which it implements
19896 to always fail with ENOSYS. Some functions are actually named
19897 something starting with __ and the normal name is an alias. */
19898 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19908 rm -f conftest.
$ac_objext conftest
$ac_exeext
19909 if { (eval echo "$as_me:19909: \"$ac_link\"") >&5
19910 (eval $ac_link) 2>&5
19912 echo "$as_me:19912: \$? = $ac_status" >&5
19913 (exit $ac_status); } &&
19914 { ac_try
='test -s conftest$ac_exeext'
19915 { (eval echo "$as_me:19915: \"$ac_try\"") >&5
19916 (eval $ac_try) 2>&5
19918 echo "$as_me:19918: \$? = $ac_status" >&5
19919 (exit $ac_status); }; }; then
19920 eval "$as_ac_var=yes"
19922 echo "$as_me: failed program was:" >&5
19923 cat conftest.
$ac_ext >&5
19924 eval "$as_ac_var=no"
19926 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19928 echo "$as_me:19928: result: `eval echo '${'$as_ac_var'}'`" >&5
19929 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19930 if test `eval echo '${'$as_ac_var'}'` = yes; then
19931 cat >>confdefs.h
<<EOF
19932 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19938 if test "$WCSLEN_FOUND" = 0; then
19939 if test "$TOOLKIT" = "MSW"; then
19940 echo "$as_me:19940: checking for wcslen in -lmsvcrt" >&5
19941 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
19942 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
19943 echo $ECHO_N "(cached) $ECHO_C" >&6
19945 ac_check_lib_save_LIBS
=$LIBS
19946 LIBS
="-lmsvcrt $LIBS"
19947 cat >conftest.
$ac_ext <<_ACEOF
19948 #line 19948 "configure"
19949 #include "confdefs.h"
19951 /* Override any gcc2 internal prototype to avoid an error. */
19955 /* We use char because int might match the return type of a gcc2
19956 builtin and then its argument prototype would still apply. */
19966 rm -f conftest.
$ac_objext conftest
$ac_exeext
19967 if { (eval echo "$as_me:19967: \"$ac_link\"") >&5
19968 (eval $ac_link) 2>&5
19970 echo "$as_me:19970: \$? = $ac_status" >&5
19971 (exit $ac_status); } &&
19972 { ac_try
='test -s conftest$ac_exeext'
19973 { (eval echo "$as_me:19973: \"$ac_try\"") >&5
19974 (eval $ac_try) 2>&5
19976 echo "$as_me:19976: \$? = $ac_status" >&5
19977 (exit $ac_status); }; }; then
19978 ac_cv_lib_msvcrt_wcslen
=yes
19980 echo "$as_me: failed program was:" >&5
19981 cat conftest.
$ac_ext >&5
19982 ac_cv_lib_msvcrt_wcslen
=no
19984 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19985 LIBS
=$ac_check_lib_save_LIBS
19987 echo "$as_me:19987: result: $ac_cv_lib_msvcrt_wcslen" >&5
19988 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
19989 if test $ac_cv_lib_msvcrt_wcslen = yes; then
19994 echo "$as_me:19994: checking for wcslen in -lw" >&5
19995 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
19996 if test "${ac_cv_lib_w_wcslen+set}" = set; then
19997 echo $ECHO_N "(cached) $ECHO_C" >&6
19999 ac_check_lib_save_LIBS
=$LIBS
20001 cat >conftest.
$ac_ext <<_ACEOF
20002 #line 20002 "configure"
20003 #include "confdefs.h"
20005 /* Override any gcc2 internal prototype to avoid an error. */
20009 /* We use char because int might match the return type of a gcc2
20010 builtin and then its argument prototype would still apply. */
20020 rm -f conftest.
$ac_objext conftest
$ac_exeext
20021 if { (eval echo "$as_me:20021: \"$ac_link\"") >&5
20022 (eval $ac_link) 2>&5
20024 echo "$as_me:20024: \$? = $ac_status" >&5
20025 (exit $ac_status); } &&
20026 { ac_try
='test -s conftest$ac_exeext'
20027 { (eval echo "$as_me:20027: \"$ac_try\"") >&5
20028 (eval $ac_try) 2>&5
20030 echo "$as_me:20030: \$? = $ac_status" >&5
20031 (exit $ac_status); }; }; then
20032 ac_cv_lib_w_wcslen
=yes
20034 echo "$as_me: failed program was:" >&5
20035 cat conftest.
$ac_ext >&5
20036 ac_cv_lib_w_wcslen
=no
20038 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20039 LIBS
=$ac_check_lib_save_LIBS
20041 echo "$as_me:20041: result: $ac_cv_lib_w_wcslen" >&5
20042 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
20043 if test $ac_cv_lib_w_wcslen = yes; then
20053 if test "$WCSLEN_FOUND" = 1; then
20054 cat >>confdefs.h
<<\EOF
20055 #define HAVE_WCSLEN 1
20060 for ac_func
in wcsrtombs
20062 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20063 echo "$as_me:20063: checking for $ac_func" >&5
20064 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20065 if eval "test \"\${$as_ac_var+set}\" = set"; then
20066 echo $ECHO_N "(cached) $ECHO_C" >&6
20068 cat >conftest.
$ac_ext <<_ACEOF
20069 #line 20069 "configure"
20070 #include "confdefs.h"
20071 /* System header to define __stub macros and hopefully few prototypes,
20072 which can conflict with char $ac_func (); below. */
20073 #include <assert.h>
20074 /* Override any gcc2 internal prototype to avoid an error. */
20078 /* We use char because int might match the return type of a gcc2
20079 builtin and then its argument prototype would still apply. */
20086 /* The GNU C library defines this for functions which it implements
20087 to always fail with ENOSYS. Some functions are actually named
20088 something starting with __ and the normal name is an alias. */
20089 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20099 rm -f conftest.
$ac_objext conftest
$ac_exeext
20100 if { (eval echo "$as_me:20100: \"$ac_link\"") >&5
20101 (eval $ac_link) 2>&5
20103 echo "$as_me:20103: \$? = $ac_status" >&5
20104 (exit $ac_status); } &&
20105 { ac_try
='test -s conftest$ac_exeext'
20106 { (eval echo "$as_me:20106: \"$ac_try\"") >&5
20107 (eval $ac_try) 2>&5
20109 echo "$as_me:20109: \$? = $ac_status" >&5
20110 (exit $ac_status); }; }; then
20111 eval "$as_ac_var=yes"
20113 echo "$as_me: failed program was:" >&5
20114 cat conftest.
$ac_ext >&5
20115 eval "$as_ac_var=no"
20117 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20119 echo "$as_me:20119: result: `eval echo '${'$as_ac_var'}'`" >&5
20120 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20121 if test `eval echo '${'$as_ac_var'}'` = yes; then
20122 cat >>confdefs.h
<<EOF
20123 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20130 { echo "$as_me:20130: WARNING: Wide character support is unavailable" >&5
20131 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
20134 for ac_func
in vprintf
20136 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20137 echo "$as_me:20137: checking for $ac_func" >&5
20138 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20139 if eval "test \"\${$as_ac_var+set}\" = set"; then
20140 echo $ECHO_N "(cached) $ECHO_C" >&6
20142 cat >conftest.
$ac_ext <<_ACEOF
20143 #line 20143 "configure"
20144 #include "confdefs.h"
20145 /* System header to define __stub macros and hopefully few prototypes,
20146 which can conflict with char $ac_func (); below. */
20147 #include <assert.h>
20148 /* Override any gcc2 internal prototype to avoid an error. */
20152 /* We use char because int might match the return type of a gcc2
20153 builtin and then its argument prototype would still apply. */
20160 /* The GNU C library defines this for functions which it implements
20161 to always fail with ENOSYS. Some functions are actually named
20162 something starting with __ and the normal name is an alias. */
20163 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20173 rm -f conftest.
$ac_objext conftest
$ac_exeext
20174 if { (eval echo "$as_me:20174: \"$ac_link\"") >&5
20175 (eval $ac_link) 2>&5
20177 echo "$as_me:20177: \$? = $ac_status" >&5
20178 (exit $ac_status); } &&
20179 { ac_try
='test -s conftest$ac_exeext'
20180 { (eval echo "$as_me:20180: \"$ac_try\"") >&5
20181 (eval $ac_try) 2>&5
20183 echo "$as_me:20183: \$? = $ac_status" >&5
20184 (exit $ac_status); }; }; then
20185 eval "$as_ac_var=yes"
20187 echo "$as_me: failed program was:" >&5
20188 cat conftest.
$ac_ext >&5
20189 eval "$as_ac_var=no"
20191 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20193 echo "$as_me:20193: result: `eval echo '${'$as_ac_var'}'`" >&5
20194 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20195 if test `eval echo '${'$as_ac_var'}'` = yes; then
20196 cat >>confdefs.h
<<EOF
20197 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20200 echo "$as_me:20200: checking for _doprnt" >&5
20201 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6
20202 if test "${ac_cv_func__doprnt+set}" = set; then
20203 echo $ECHO_N "(cached) $ECHO_C" >&6
20205 cat >conftest.
$ac_ext <<_ACEOF
20206 #line 20206 "configure"
20207 #include "confdefs.h"
20208 /* System header to define __stub macros and hopefully few prototypes,
20209 which can conflict with char _doprnt (); below. */
20210 #include <assert.h>
20211 /* Override any gcc2 internal prototype to avoid an error. */
20215 /* We use char because int might match the return type of a gcc2
20216 builtin and then its argument prototype would still apply. */
20223 /* The GNU C library defines this for functions which it implements
20224 to always fail with ENOSYS. Some functions are actually named
20225 something starting with __ and the normal name is an alias. */
20226 #if defined (__stub__doprnt) || defined (__stub____doprnt)
20236 rm -f conftest.
$ac_objext conftest
$ac_exeext
20237 if { (eval echo "$as_me:20237: \"$ac_link\"") >&5
20238 (eval $ac_link) 2>&5
20240 echo "$as_me:20240: \$? = $ac_status" >&5
20241 (exit $ac_status); } &&
20242 { ac_try
='test -s conftest$ac_exeext'
20243 { (eval echo "$as_me:20243: \"$ac_try\"") >&5
20244 (eval $ac_try) 2>&5
20246 echo "$as_me:20246: \$? = $ac_status" >&5
20247 (exit $ac_status); }; }; then
20248 ac_cv_func__doprnt
=yes
20250 echo "$as_me: failed program was:" >&5
20251 cat conftest.
$ac_ext >&5
20252 ac_cv_func__doprnt
=no
20254 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20256 echo "$as_me:20256: result: $ac_cv_func__doprnt" >&5
20257 echo "${ECHO_T}$ac_cv_func__doprnt" >&6
20258 if test $ac_cv_func__doprnt = yes; then
20260 cat >>confdefs.h
<<\EOF
20261 #define HAVE_DOPRNT 1
20269 echo "$as_me:20269: checking for vsnprintf" >&5
20270 echo $ECHO_N "checking for vsnprintf... $ECHO_C" >&6
20271 if test "${wx_cv_func_vsnprintf+set}" = set; then
20272 echo $ECHO_N "(cached) $ECHO_C" >&6
20275 cat >conftest.
$ac_ext <<_ACEOF
20276 #line 20276 "configure"
20277 #include "confdefs.h"
20280 #include <stdarg.h>
20286 int wx_test_vsnprintf(const char *, ...);
20288 wx_test_vsnprintf("%s");
20292 int wx_test_vsnprintf(const char *fmt, ...)
20297 va_start(argp, fmt);
20298 vsnprintf(s, 42, fmt, argp);
20305 rm -f conftest.
$ac_objext conftest
$ac_exeext
20306 if { (eval echo "$as_me:20306: \"$ac_link\"") >&5
20307 (eval $ac_link) 2>&5
20309 echo "$as_me:20309: \$? = $ac_status" >&5
20310 (exit $ac_status); } &&
20311 { ac_try
='test -s conftest$ac_exeext'
20312 { (eval echo "$as_me:20312: \"$ac_try\"") >&5
20313 (eval $ac_try) 2>&5
20315 echo "$as_me:20315: \$? = $ac_status" >&5
20316 (exit $ac_status); }; }; then
20318 wx_cv_func_vsnprintf
=yes
20321 echo "$as_me: failed program was:" >&5
20322 cat conftest.
$ac_ext >&5
20324 cat >conftest.
$ac_ext <<_ACEOF
20325 #line 20325 "configure"
20326 #include "confdefs.h"
20329 #include <stdarg.h>
20335 int wx_test_vsnprintf(const char *, ...);
20337 wx_test_vsnprintf("%s");
20341 int wx_test_vsnprintf(const char *fmt, ...)
20346 va_start(argp, fmt);
20347 _vsnprintf(s, 42, fmt, argp);
20354 rm -f conftest.
$ac_objext conftest
$ac_exeext
20355 if { (eval echo "$as_me:20355: \"$ac_link\"") >&5
20356 (eval $ac_link) 2>&5
20358 echo "$as_me:20358: \$? = $ac_status" >&5
20359 (exit $ac_status); } &&
20360 { ac_try
='test -s conftest$ac_exeext'
20361 { (eval echo "$as_me:20361: \"$ac_try\"") >&5
20362 (eval $ac_try) 2>&5
20364 echo "$as_me:20364: \$? = $ac_status" >&5
20365 (exit $ac_status); }; }; then
20367 wx_cv_func_vsnprintf
=yes
20370 echo "$as_me: failed program was:" >&5
20371 cat conftest.
$ac_ext >&5
20373 wx_cv_func_vsnprintf
=no
20376 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20379 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20382 echo "$as_me:20382: result: $wx_cv_func_vsnprintf" >&5
20383 echo "${ECHO_T}$wx_cv_func_vsnprintf" >&6
20385 if test "$wx_cv_func_vsnprintf" = yes; then
20386 cat >>confdefs.h
<<\EOF
20387 #define HAVE_VSNPRINTF 1
20391 { echo "$as_me:20391: WARNING: unsafe function vsprintf will be used instead of vsnprintf" >&5
20392 echo "$as_me: WARNING: unsafe function vsprintf will be used instead of vsnprintf" >&2;}
20395 echo "$as_me:20395: checking for vsscanf" >&5
20396 echo $ECHO_N "checking for vsscanf... $ECHO_C" >&6
20397 if test "${wx_cv_func_vsscanf+set}" = set; then
20398 echo $ECHO_N "(cached) $ECHO_C" >&6
20401 cat >conftest.
$ac_ext <<_ACEOF
20402 #line 20402 "configure"
20403 #include "confdefs.h"
20406 #include <stdarg.h>
20412 int wx_test_vsscanf(const char *, ...);
20414 wx_test_vsscanf("%d");
20418 int wx_test_vsscanf(const char *fmt, ...)
20421 va_start(argp, fmt);
20422 vsscanf("42", fmt, argp);
20429 rm -f conftest.
$ac_objext
20430 if { (eval echo "$as_me:20430: \"$ac_compile\"") >&5
20431 (eval $ac_compile) 2>&5
20433 echo "$as_me:20433: \$? = $ac_status" >&5
20434 (exit $ac_status); } &&
20435 { ac_try
='test -s conftest.$ac_objext'
20436 { (eval echo "$as_me:20436: \"$ac_try\"") >&5
20437 (eval $ac_try) 2>&5
20439 echo "$as_me:20439: \$? = $ac_status" >&5
20440 (exit $ac_status); }; }; then
20442 wx_cv_func_vsscanf
=yes
20445 echo "$as_me: failed program was:" >&5
20446 cat conftest.
$ac_ext >&5
20448 wx_cv_func_vsscanf
=no
20451 rm -f conftest.
$ac_objext conftest.
$ac_ext
20454 echo "$as_me:20454: result: $wx_cv_func_vsscanf" >&5
20455 echo "${ECHO_T}$wx_cv_func_vsscanf" >&6
20457 if test "$wx_cv_func_vsscanf" = yes; then
20458 cat >>confdefs.h
<<\EOF
20459 #define HAVE_VSSCANF 1
20464 if test "$wxUSE_UNICODE" = yes; then
20466 for ac_func
in fputwc wprintf vswprintf
20468 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20469 echo "$as_me:20469: checking for $ac_func" >&5
20470 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20471 if eval "test \"\${$as_ac_var+set}\" = set"; then
20472 echo $ECHO_N "(cached) $ECHO_C" >&6
20474 cat >conftest.
$ac_ext <<_ACEOF
20475 #line 20475 "configure"
20476 #include "confdefs.h"
20477 /* System header to define __stub macros and hopefully few prototypes,
20478 which can conflict with char $ac_func (); below. */
20479 #include <assert.h>
20480 /* Override any gcc2 internal prototype to avoid an error. */
20484 /* We use char because int might match the return type of a gcc2
20485 builtin and then its argument prototype would still apply. */
20492 /* The GNU C library defines this for functions which it implements
20493 to always fail with ENOSYS. Some functions are actually named
20494 something starting with __ and the normal name is an alias. */
20495 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20505 rm -f conftest.
$ac_objext conftest
$ac_exeext
20506 if { (eval echo "$as_me:20506: \"$ac_link\"") >&5
20507 (eval $ac_link) 2>&5
20509 echo "$as_me:20509: \$? = $ac_status" >&5
20510 (exit $ac_status); } &&
20511 { ac_try
='test -s conftest$ac_exeext'
20512 { (eval echo "$as_me:20512: \"$ac_try\"") >&5
20513 (eval $ac_try) 2>&5
20515 echo "$as_me:20515: \$? = $ac_status" >&5
20516 (exit $ac_status); }; }; then
20517 eval "$as_ac_var=yes"
20519 echo "$as_me: failed program was:" >&5
20520 cat conftest.
$ac_ext >&5
20521 eval "$as_ac_var=no"
20523 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20525 echo "$as_me:20525: result: `eval echo '${'$as_ac_var'}'`" >&5
20526 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20527 if test `eval echo '${'$as_ac_var'}'` = yes; then
20528 cat >>confdefs.h
<<EOF
20529 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20537 if test "$TOOLKIT" != "MSW"; then
20540 ac_cpp
='$CXXCPP $CPPFLAGS'
20541 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20542 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20543 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20545 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
20546 if test "${with_libiconv_prefix+set}" = set; then
20547 withval
="$with_libiconv_prefix"
20549 for dir
in `echo "$withval" | tr : ' '`; do
20550 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
20551 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
20556 echo "$as_me:20556: checking for iconv" >&5
20557 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
20558 if test "${am_cv_func_iconv+set}" = set; then
20559 echo $ECHO_N "(cached) $ECHO_C" >&6
20562 am_cv_func_iconv
="no, consider installing GNU libiconv"
20564 cat >conftest.
$ac_ext <<_ACEOF
20565 #line 20565 "configure"
20566 #include "confdefs.h"
20567 #include <stdlib.h>
20572 iconv_t cd = iconv_open("","");
20573 iconv(cd,NULL,NULL,NULL,NULL);
20579 rm -f conftest.
$ac_objext conftest
$ac_exeext
20580 if { (eval echo "$as_me:20580: \"$ac_link\"") >&5
20581 (eval $ac_link) 2>&5
20583 echo "$as_me:20583: \$? = $ac_status" >&5
20584 (exit $ac_status); } &&
20585 { ac_try
='test -s conftest$ac_exeext'
20586 { (eval echo "$as_me:20586: \"$ac_try\"") >&5
20587 (eval $ac_try) 2>&5
20589 echo "$as_me:20589: \$? = $ac_status" >&5
20590 (exit $ac_status); }; }; then
20591 am_cv_func_iconv
=yes
20593 echo "$as_me: failed program was:" >&5
20594 cat conftest.
$ac_ext >&5
20596 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20597 if test "$am_cv_func_iconv" != yes; then
20598 am_save_LIBS
="$LIBS"
20599 LIBS
="$LIBS -liconv"
20600 cat >conftest.
$ac_ext <<_ACEOF
20601 #line 20601 "configure"
20602 #include "confdefs.h"
20603 #include <stdlib.h>
20608 iconv_t cd = iconv_open("","");
20609 iconv(cd,NULL,NULL,NULL,NULL);
20615 rm -f conftest.
$ac_objext conftest
$ac_exeext
20616 if { (eval echo "$as_me:20616: \"$ac_link\"") >&5
20617 (eval $ac_link) 2>&5
20619 echo "$as_me:20619: \$? = $ac_status" >&5
20620 (exit $ac_status); } &&
20621 { ac_try
='test -s conftest$ac_exeext'
20622 { (eval echo "$as_me:20622: \"$ac_try\"") >&5
20623 (eval $ac_try) 2>&5
20625 echo "$as_me:20625: \$? = $ac_status" >&5
20626 (exit $ac_status); }; }; then
20627 am_cv_lib_iconv
=yes
20628 am_cv_func_iconv
=yes
20630 echo "$as_me: failed program was:" >&5
20631 cat conftest.
$ac_ext >&5
20633 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20634 LIBS
="$am_save_LIBS"
20638 echo "$as_me:20638: result: $am_cv_func_iconv" >&5
20639 echo "${ECHO_T}$am_cv_func_iconv" >&6
20640 if test "$am_cv_func_iconv" = yes; then
20642 cat >>confdefs.h
<<\EOF
20643 #define HAVE_ICONV 1
20646 echo "$as_me:20646: checking if iconv needs const" >&5
20647 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
20648 if test "${wx_cv_func_iconv_const+set}" = set; then
20649 echo $ECHO_N "(cached) $ECHO_C" >&6
20651 cat >conftest.
$ac_ext <<_ACEOF
20652 #line 20652 "configure"
20653 #include "confdefs.h"
20655 #include <stdlib.h>
20661 #if defined(__STDC__) || defined(__cplusplus)
20662 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
20675 rm -f conftest.
$ac_objext
20676 if { (eval echo "$as_me:20676: \"$ac_compile\"") >&5
20677 (eval $ac_compile) 2>&5
20679 echo "$as_me:20679: \$? = $ac_status" >&5
20680 (exit $ac_status); } &&
20681 { ac_try
='test -s conftest.$ac_objext'
20682 { (eval echo "$as_me:20682: \"$ac_try\"") >&5
20683 (eval $ac_try) 2>&5
20685 echo "$as_me:20685: \$? = $ac_status" >&5
20686 (exit $ac_status); }; }; then
20687 wx_cv_func_iconv_const
="no"
20689 echo "$as_me: failed program was:" >&5
20690 cat conftest.
$ac_ext >&5
20691 wx_cv_func_iconv_const
="yes"
20694 rm -f conftest.
$ac_objext conftest.
$ac_ext
20697 echo "$as_me:20697: result: $wx_cv_func_iconv_const" >&5
20698 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
20701 if test "x$wx_cv_func_iconv_const" = "xyes"; then
20702 iconv_const
="const"
20705 cat >>confdefs.h
<<EOF
20706 #define ICONV_CONST $iconv_const
20711 if test "$am_cv_lib_iconv" = yes; then
20715 LIBS
="$LIBICONV $LIBS"
20717 ac_cpp
='$CPP $CPPFLAGS'
20718 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20719 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20720 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20722 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
20724 for ac_func
in sigaction
20726 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20727 echo "$as_me:20727: checking for $ac_func" >&5
20728 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20729 if eval "test \"\${$as_ac_var+set}\" = set"; then
20730 echo $ECHO_N "(cached) $ECHO_C" >&6
20732 cat >conftest.
$ac_ext <<_ACEOF
20733 #line 20733 "configure"
20734 #include "confdefs.h"
20735 /* System header to define __stub macros and hopefully few prototypes,
20736 which can conflict with char $ac_func (); below. */
20737 #include <assert.h>
20738 /* Override any gcc2 internal prototype to avoid an error. */
20742 /* We use char because int might match the return type of a gcc2
20743 builtin and then its argument prototype would still apply. */
20750 /* The GNU C library defines this for functions which it implements
20751 to always fail with ENOSYS. Some functions are actually named
20752 something starting with __ and the normal name is an alias. */
20753 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20763 rm -f conftest.
$ac_objext conftest
$ac_exeext
20764 if { (eval echo "$as_me:20764: \"$ac_link\"") >&5
20765 (eval $ac_link) 2>&5
20767 echo "$as_me:20767: \$? = $ac_status" >&5
20768 (exit $ac_status); } &&
20769 { ac_try
='test -s conftest$ac_exeext'
20770 { (eval echo "$as_me:20770: \"$ac_try\"") >&5
20771 (eval $ac_try) 2>&5
20773 echo "$as_me:20773: \$? = $ac_status" >&5
20774 (exit $ac_status); }; }; then
20775 eval "$as_ac_var=yes"
20777 echo "$as_me: failed program was:" >&5
20778 cat conftest.
$ac_ext >&5
20779 eval "$as_ac_var=no"
20781 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20783 echo "$as_me:20783: result: `eval echo '${'$as_ac_var'}'`" >&5
20784 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20785 if test `eval echo '${'$as_ac_var'}'` = yes; then
20786 cat >>confdefs.h
<<EOF
20787 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20793 if test "$ac_cv_func_sigaction" = "no"; then
20794 { echo "$as_me:20794: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
20795 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
20796 wxUSE_ON_FATAL_EXCEPTION
=no
20799 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
20802 ac_cpp
='$CXXCPP $CPPFLAGS'
20803 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20804 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20805 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20807 echo "$as_me:20807: checking for sa_handler type" >&5
20808 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
20809 if test "${wx_cv_type_sa_handler+set}" = set; then
20810 echo $ECHO_N "(cached) $ECHO_C" >&6
20813 cat >conftest.
$ac_ext <<_ACEOF
20814 #line 20814 "configure"
20815 #include "confdefs.h"
20816 #include <signal.h>
20821 extern void testSigHandler(int);
20823 struct sigaction sa;
20824 sa.sa_handler = testSigHandler;
20830 rm -f conftest.
$ac_objext
20831 if { (eval echo "$as_me:20831: \"$ac_compile\"") >&5
20832 (eval $ac_compile) 2>&5
20834 echo "$as_me:20834: \$? = $ac_status" >&5
20835 (exit $ac_status); } &&
20836 { ac_try
='test -s conftest.$ac_objext'
20837 { (eval echo "$as_me:20837: \"$ac_try\"") >&5
20838 (eval $ac_try) 2>&5
20840 echo "$as_me:20840: \$? = $ac_status" >&5
20841 (exit $ac_status); }; }; then
20843 wx_cv_type_sa_handler
=int
20846 echo "$as_me: failed program was:" >&5
20847 cat conftest.
$ac_ext >&5
20849 wx_cv_type_sa_handler
=void
20852 rm -f conftest.
$ac_objext conftest.
$ac_ext
20855 echo "$as_me:20855: result: $wx_cv_type_sa_handler" >&5
20856 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
20859 ac_cpp
='$CPP $CPPFLAGS'
20860 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20861 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20862 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20864 cat >>confdefs.h
<<EOF
20865 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
20871 for ac_func
in vfork
20873 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20874 echo "$as_me:20874: checking for $ac_func" >&5
20875 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20876 if eval "test \"\${$as_ac_var+set}\" = set"; then
20877 echo $ECHO_N "(cached) $ECHO_C" >&6
20879 cat >conftest.
$ac_ext <<_ACEOF
20880 #line 20880 "configure"
20881 #include "confdefs.h"
20882 /* System header to define __stub macros and hopefully few prototypes,
20883 which can conflict with char $ac_func (); below. */
20884 #include <assert.h>
20885 /* Override any gcc2 internal prototype to avoid an error. */
20889 /* We use char because int might match the return type of a gcc2
20890 builtin and then its argument prototype would still apply. */
20897 /* The GNU C library defines this for functions which it implements
20898 to always fail with ENOSYS. Some functions are actually named
20899 something starting with __ and the normal name is an alias. */
20900 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20910 rm -f conftest.
$ac_objext conftest
$ac_exeext
20911 if { (eval echo "$as_me:20911: \"$ac_link\"") >&5
20912 (eval $ac_link) 2>&5
20914 echo "$as_me:20914: \$? = $ac_status" >&5
20915 (exit $ac_status); } &&
20916 { ac_try
='test -s conftest$ac_exeext'
20917 { (eval echo "$as_me:20917: \"$ac_try\"") >&5
20918 (eval $ac_try) 2>&5
20920 echo "$as_me:20920: \$? = $ac_status" >&5
20921 (exit $ac_status); }; }; then
20922 eval "$as_ac_var=yes"
20924 echo "$as_me: failed program was:" >&5
20925 cat conftest.
$ac_ext >&5
20926 eval "$as_ac_var=no"
20928 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20930 echo "$as_me:20930: result: `eval echo '${'$as_ac_var'}'`" >&5
20931 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20932 if test `eval echo '${'$as_ac_var'}'` = yes; then
20933 cat >>confdefs.h
<<EOF
20934 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20940 for ac_func
in mkstemp mktemp
20942 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20943 echo "$as_me:20943: checking for $ac_func" >&5
20944 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20945 if eval "test \"\${$as_ac_var+set}\" = set"; then
20946 echo $ECHO_N "(cached) $ECHO_C" >&6
20948 cat >conftest.
$ac_ext <<_ACEOF
20949 #line 20949 "configure"
20950 #include "confdefs.h"
20951 /* System header to define __stub macros and hopefully few prototypes,
20952 which can conflict with char $ac_func (); below. */
20953 #include <assert.h>
20954 /* Override any gcc2 internal prototype to avoid an error. */
20958 /* We use char because int might match the return type of a gcc2
20959 builtin and then its argument prototype would still apply. */
20966 /* The GNU C library defines this for functions which it implements
20967 to always fail with ENOSYS. Some functions are actually named
20968 something starting with __ and the normal name is an alias. */
20969 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20979 rm -f conftest.
$ac_objext conftest
$ac_exeext
20980 if { (eval echo "$as_me:20980: \"$ac_link\"") >&5
20981 (eval $ac_link) 2>&5
20983 echo "$as_me:20983: \$? = $ac_status" >&5
20984 (exit $ac_status); } &&
20985 { ac_try
='test -s conftest$ac_exeext'
20986 { (eval echo "$as_me:20986: \"$ac_try\"") >&5
20987 (eval $ac_try) 2>&5
20989 echo "$as_me:20989: \$? = $ac_status" >&5
20990 (exit $ac_status); }; }; then
20991 eval "$as_ac_var=yes"
20993 echo "$as_me: failed program was:" >&5
20994 cat conftest.
$ac_ext >&5
20995 eval "$as_ac_var=no"
20997 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20999 echo "$as_me:20999: result: `eval echo '${'$as_ac_var'}'`" >&5
21000 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21001 if test `eval echo '${'$as_ac_var'}'` = yes; then
21002 cat >>confdefs.h
<<EOF
21003 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21009 echo "$as_me:21009: checking for statfs" >&5
21010 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
21011 if test "${wx_cv_func_statfs+set}" = set; then
21012 echo $ECHO_N "(cached) $ECHO_C" >&6
21014 cat >conftest.
$ac_ext <<_ACEOF
21015 #line 21015 "configure"
21016 #include "confdefs.h"
21018 #if defined(__BSD__)
21019 #include <sys/param.h>
21020 #include <sys/mount.h>
21022 #include <sys/vfs.h>
21040 rm -f conftest.
$ac_objext
21041 if { (eval echo "$as_me:21041: \"$ac_compile\"") >&5
21042 (eval $ac_compile) 2>&5
21044 echo "$as_me:21044: \$? = $ac_status" >&5
21045 (exit $ac_status); } &&
21046 { ac_try
='test -s conftest.$ac_objext'
21047 { (eval echo "$as_me:21047: \"$ac_try\"") >&5
21048 (eval $ac_try) 2>&5
21050 echo "$as_me:21050: \$? = $ac_status" >&5
21051 (exit $ac_status); }; }; then
21053 wx_cv_func_statfs
=yes
21056 echo "$as_me: failed program was:" >&5
21057 cat conftest.
$ac_ext >&5
21059 wx_cv_func_statfs
=no
21062 rm -f conftest.
$ac_objext conftest.
$ac_ext
21065 echo "$as_me:21065: result: $wx_cv_func_statfs" >&5
21066 echo "${ECHO_T}$wx_cv_func_statfs" >&6
21068 if test "$wx_cv_func_statfs" = "yes"; then
21069 cat >>confdefs.h
<<\EOF
21070 #define HAVE_STATFS 1
21074 echo "$as_me:21074: checking for statvfs" >&5
21075 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
21076 if test "${wx_cv_func_statvfs+set}" = set; then
21077 echo $ECHO_N "(cached) $ECHO_C" >&6
21079 cat >conftest.
$ac_ext <<_ACEOF
21080 #line 21080 "configure"
21081 #include "confdefs.h"
21083 #include <sys/statvfs.h>
21100 rm -f conftest.
$ac_objext
21101 if { (eval echo "$as_me:21101: \"$ac_compile\"") >&5
21102 (eval $ac_compile) 2>&5
21104 echo "$as_me:21104: \$? = $ac_status" >&5
21105 (exit $ac_status); } &&
21106 { ac_try
='test -s conftest.$ac_objext'
21107 { (eval echo "$as_me:21107: \"$ac_try\"") >&5
21108 (eval $ac_try) 2>&5
21110 echo "$as_me:21110: \$? = $ac_status" >&5
21111 (exit $ac_status); }; }; then
21113 wx_cv_func_statvfs
=yes
21116 echo "$as_me: failed program was:" >&5
21117 cat conftest.
$ac_ext >&5
21119 wx_cv_func_statvfs
=no
21122 rm -f conftest.
$ac_objext conftest.
$ac_ext
21125 echo "$as_me:21125: result: $wx_cv_func_statvfs" >&5
21126 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
21128 if test "$wx_cv_func_statvfs" = "yes"; then
21129 cat >>confdefs.h
<<\EOF
21130 #define HAVE_STATVFS 1
21134 { echo "$as_me:21134: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
21135 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
21139 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
21141 for ac_func
in fcntl flock
21143 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21144 echo "$as_me:21144: checking for $ac_func" >&5
21145 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21146 if eval "test \"\${$as_ac_var+set}\" = set"; then
21147 echo $ECHO_N "(cached) $ECHO_C" >&6
21149 cat >conftest.
$ac_ext <<_ACEOF
21150 #line 21150 "configure"
21151 #include "confdefs.h"
21152 /* System header to define __stub macros and hopefully few prototypes,
21153 which can conflict with char $ac_func (); below. */
21154 #include <assert.h>
21155 /* Override any gcc2 internal prototype to avoid an error. */
21159 /* We use char because int might match the return type of a gcc2
21160 builtin and then its argument prototype would still apply. */
21167 /* The GNU C library defines this for functions which it implements
21168 to always fail with ENOSYS. Some functions are actually named
21169 something starting with __ and the normal name is an alias. */
21170 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21180 rm -f conftest.
$ac_objext conftest
$ac_exeext
21181 if { (eval echo "$as_me:21181: \"$ac_link\"") >&5
21182 (eval $ac_link) 2>&5
21184 echo "$as_me:21184: \$? = $ac_status" >&5
21185 (exit $ac_status); } &&
21186 { ac_try
='test -s conftest$ac_exeext'
21187 { (eval echo "$as_me:21187: \"$ac_try\"") >&5
21188 (eval $ac_try) 2>&5
21190 echo "$as_me:21190: \$? = $ac_status" >&5
21191 (exit $ac_status); }; }; then
21192 eval "$as_ac_var=yes"
21194 echo "$as_me: failed program was:" >&5
21195 cat conftest.
$ac_ext >&5
21196 eval "$as_ac_var=no"
21198 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21200 echo "$as_me:21200: result: `eval echo '${'$as_ac_var'}'`" >&5
21201 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21202 if test `eval echo '${'$as_ac_var'}'` = yes; then
21203 cat >>confdefs.h
<<EOF
21204 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21210 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
21211 { echo "$as_me:21211: WARNING: wxSingleInstanceChecker not available" >&5
21212 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
21213 wxUSE_SNGLINST_CHECKER
=no
21217 for ac_func
in timegm
21219 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21220 echo "$as_me:21220: checking for $ac_func" >&5
21221 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21222 if eval "test \"\${$as_ac_var+set}\" = set"; then
21223 echo $ECHO_N "(cached) $ECHO_C" >&6
21225 cat >conftest.
$ac_ext <<_ACEOF
21226 #line 21226 "configure"
21227 #include "confdefs.h"
21228 /* System header to define __stub macros and hopefully few prototypes,
21229 which can conflict with char $ac_func (); below. */
21230 #include <assert.h>
21231 /* Override any gcc2 internal prototype to avoid an error. */
21235 /* We use char because int might match the return type of a gcc2
21236 builtin and then its argument prototype would still apply. */
21243 /* The GNU C library defines this for functions which it implements
21244 to always fail with ENOSYS. Some functions are actually named
21245 something starting with __ and the normal name is an alias. */
21246 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21256 rm -f conftest.
$ac_objext conftest
$ac_exeext
21257 if { (eval echo "$as_me:21257: \"$ac_link\"") >&5
21258 (eval $ac_link) 2>&5
21260 echo "$as_me:21260: \$? = $ac_status" >&5
21261 (exit $ac_status); } &&
21262 { ac_try
='test -s conftest$ac_exeext'
21263 { (eval echo "$as_me:21263: \"$ac_try\"") >&5
21264 (eval $ac_try) 2>&5
21266 echo "$as_me:21266: \$? = $ac_status" >&5
21267 (exit $ac_status); }; }; then
21268 eval "$as_ac_var=yes"
21270 echo "$as_me: failed program was:" >&5
21271 cat conftest.
$ac_ext >&5
21272 eval "$as_ac_var=no"
21274 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21276 echo "$as_me:21276: result: `eval echo '${'$as_ac_var'}'`" >&5
21277 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21278 if test `eval echo '${'$as_ac_var'}'` = yes; then
21279 cat >>confdefs.h
<<EOF
21280 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21286 for ac_func
in putenv setenv
21288 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21289 echo "$as_me:21289: checking for $ac_func" >&5
21290 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21291 if eval "test \"\${$as_ac_var+set}\" = set"; then
21292 echo $ECHO_N "(cached) $ECHO_C" >&6
21294 cat >conftest.
$ac_ext <<_ACEOF
21295 #line 21295 "configure"
21296 #include "confdefs.h"
21297 /* System header to define __stub macros and hopefully few prototypes,
21298 which can conflict with char $ac_func (); below. */
21299 #include <assert.h>
21300 /* Override any gcc2 internal prototype to avoid an error. */
21304 /* We use char because int might match the return type of a gcc2
21305 builtin and then its argument prototype would still apply. */
21312 /* The GNU C library defines this for functions which it implements
21313 to always fail with ENOSYS. Some functions are actually named
21314 something starting with __ and the normal name is an alias. */
21315 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21325 rm -f conftest.
$ac_objext conftest
$ac_exeext
21326 if { (eval echo "$as_me:21326: \"$ac_link\"") >&5
21327 (eval $ac_link) 2>&5
21329 echo "$as_me:21329: \$? = $ac_status" >&5
21330 (exit $ac_status); } &&
21331 { ac_try
='test -s conftest$ac_exeext'
21332 { (eval echo "$as_me:21332: \"$ac_try\"") >&5
21333 (eval $ac_try) 2>&5
21335 echo "$as_me:21335: \$? = $ac_status" >&5
21336 (exit $ac_status); }; }; then
21337 eval "$as_ac_var=yes"
21339 echo "$as_me: failed program was:" >&5
21340 cat conftest.
$ac_ext >&5
21341 eval "$as_ac_var=no"
21343 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21345 echo "$as_me:21345: result: `eval echo '${'$as_ac_var'}'`" >&5
21346 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21347 if test `eval echo '${'$as_ac_var'}'` = yes; then
21348 cat >>confdefs.h
<<EOF
21349 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21355 HAVE_SOME_SLEEP_FUNC
=0
21356 if test "$USE_BEOS" = 1; then
21357 cat >>confdefs.h
<<\EOF
21358 #define HAVE_SLEEP 1
21361 HAVE_SOME_SLEEP_FUNC
=1
21364 if test "$USE_DARWIN" = 1; then
21365 cat >>confdefs.h
<<\EOF
21366 #define HAVE_USLEEP 1
21369 HAVE_SOME_SLEEP_FUNC
=1
21372 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
21375 for ac_func
in nanosleep
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
21440 cat >>confdefs.h
<<\EOF
21441 #define HAVE_NANOSLEEP 1
21446 echo "$as_me:21446: checking for nanosleep in -lposix4" >&5
21447 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
21448 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
21449 echo $ECHO_N "(cached) $ECHO_C" >&6
21451 ac_check_lib_save_LIBS
=$LIBS
21452 LIBS
="-lposix4 $LIBS"
21453 cat >conftest.
$ac_ext <<_ACEOF
21454 #line 21454 "configure"
21455 #include "confdefs.h"
21457 /* Override any gcc2 internal prototype to avoid an error. */
21461 /* We use char because int might match the return type of a gcc2
21462 builtin and then its argument prototype would still apply. */
21472 rm -f conftest.
$ac_objext conftest
$ac_exeext
21473 if { (eval echo "$as_me:21473: \"$ac_link\"") >&5
21474 (eval $ac_link) 2>&5
21476 echo "$as_me:21476: \$? = $ac_status" >&5
21477 (exit $ac_status); } &&
21478 { ac_try
='test -s conftest$ac_exeext'
21479 { (eval echo "$as_me:21479: \"$ac_try\"") >&5
21480 (eval $ac_try) 2>&5
21482 echo "$as_me:21482: \$? = $ac_status" >&5
21483 (exit $ac_status); }; }; then
21484 ac_cv_lib_posix4_nanosleep
=yes
21486 echo "$as_me: failed program was:" >&5
21487 cat conftest.
$ac_ext >&5
21488 ac_cv_lib_posix4_nanosleep
=no
21490 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21491 LIBS
=$ac_check_lib_save_LIBS
21493 echo "$as_me:21493: result: $ac_cv_lib_posix4_nanosleep" >&5
21494 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
21495 if test $ac_cv_lib_posix4_nanosleep = yes; then
21497 cat >>confdefs.h
<<\EOF
21498 #define HAVE_NANOSLEEP 1
21501 POSIX4_LINK
=" -lposix4"
21505 for ac_func
in usleep
21507 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21508 echo "$as_me:21508: checking for $ac_func" >&5
21509 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21510 if eval "test \"\${$as_ac_var+set}\" = set"; then
21511 echo $ECHO_N "(cached) $ECHO_C" >&6
21513 cat >conftest.
$ac_ext <<_ACEOF
21514 #line 21514 "configure"
21515 #include "confdefs.h"
21516 /* System header to define __stub macros and hopefully few prototypes,
21517 which can conflict with char $ac_func (); below. */
21518 #include <assert.h>
21519 /* Override any gcc2 internal prototype to avoid an error. */
21523 /* We use char because int might match the return type of a gcc2
21524 builtin and then its argument prototype would still apply. */
21531 /* The GNU C library defines this for functions which it implements
21532 to always fail with ENOSYS. Some functions are actually named
21533 something starting with __ and the normal name is an alias. */
21534 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21544 rm -f conftest.
$ac_objext conftest
$ac_exeext
21545 if { (eval echo "$as_me:21545: \"$ac_link\"") >&5
21546 (eval $ac_link) 2>&5
21548 echo "$as_me:21548: \$? = $ac_status" >&5
21549 (exit $ac_status); } &&
21550 { ac_try
='test -s conftest$ac_exeext'
21551 { (eval echo "$as_me:21551: \"$ac_try\"") >&5
21552 (eval $ac_try) 2>&5
21554 echo "$as_me:21554: \$? = $ac_status" >&5
21555 (exit $ac_status); }; }; then
21556 eval "$as_ac_var=yes"
21558 echo "$as_me: failed program was:" >&5
21559 cat conftest.
$ac_ext >&5
21560 eval "$as_ac_var=no"
21562 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21564 echo "$as_me:21564: result: `eval echo '${'$as_ac_var'}'`" >&5
21565 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21566 if test `eval echo '${'$as_ac_var'}'` = yes; then
21567 cat >>confdefs.h
<<EOF
21568 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21570 cat >>confdefs.h
<<\EOF
21571 #define HAVE_USLEEP 1
21575 { echo "$as_me:21575: WARNING: wxSleep() function will not work" >&5
21576 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
21588 for ac_func
in uname gethostname
21590 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21591 echo "$as_me:21591: checking for $ac_func" >&5
21592 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21593 if eval "test \"\${$as_ac_var+set}\" = set"; then
21594 echo $ECHO_N "(cached) $ECHO_C" >&6
21596 cat >conftest.
$ac_ext <<_ACEOF
21597 #line 21597 "configure"
21598 #include "confdefs.h"
21599 /* System header to define __stub macros and hopefully few prototypes,
21600 which can conflict with char $ac_func (); below. */
21601 #include <assert.h>
21602 /* Override any gcc2 internal prototype to avoid an error. */
21606 /* We use char because int might match the return type of a gcc2
21607 builtin and then its argument prototype would still apply. */
21614 /* The GNU C library defines this for functions which it implements
21615 to always fail with ENOSYS. Some functions are actually named
21616 something starting with __ and the normal name is an alias. */
21617 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21627 rm -f conftest.
$ac_objext conftest
$ac_exeext
21628 if { (eval echo "$as_me:21628: \"$ac_link\"") >&5
21629 (eval $ac_link) 2>&5
21631 echo "$as_me:21631: \$? = $ac_status" >&5
21632 (exit $ac_status); } &&
21633 { ac_try
='test -s conftest$ac_exeext'
21634 { (eval echo "$as_me:21634: \"$ac_try\"") >&5
21635 (eval $ac_try) 2>&5
21637 echo "$as_me:21637: \$? = $ac_status" >&5
21638 (exit $ac_status); }; }; then
21639 eval "$as_ac_var=yes"
21641 echo "$as_me: failed program was:" >&5
21642 cat conftest.
$ac_ext >&5
21643 eval "$as_ac_var=no"
21645 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21647 echo "$as_me:21647: result: `eval echo '${'$as_ac_var'}'`" >&5
21648 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21649 if test `eval echo '${'$as_ac_var'}'` = yes; then
21650 cat >>confdefs.h
<<EOF
21651 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21658 ac_cpp
='$CXXCPP $CPPFLAGS'
21659 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21660 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21661 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21663 for ac_func
in strtok_r
21665 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21666 echo "$as_me:21666: checking for $ac_func" >&5
21667 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21668 if eval "test \"\${$as_ac_var+set}\" = set"; then
21669 echo $ECHO_N "(cached) $ECHO_C" >&6
21671 cat >conftest.
$ac_ext <<_ACEOF
21672 #line 21672 "configure"
21673 #include "confdefs.h"
21674 /* System header to define __stub macros and hopefully few prototypes,
21675 which can conflict with char $ac_func (); below. */
21676 #include <assert.h>
21677 /* Override any gcc2 internal prototype to avoid an error. */
21681 /* We use char because int might match the return type of a gcc2
21682 builtin and then its argument prototype would still apply. */
21689 /* The GNU C library defines this for functions which it implements
21690 to always fail with ENOSYS. Some functions are actually named
21691 something starting with __ and the normal name is an alias. */
21692 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21702 rm -f conftest.
$ac_objext conftest
$ac_exeext
21703 if { (eval echo "$as_me:21703: \"$ac_link\"") >&5
21704 (eval $ac_link) 2>&5
21706 echo "$as_me:21706: \$? = $ac_status" >&5
21707 (exit $ac_status); } &&
21708 { ac_try
='test -s conftest$ac_exeext'
21709 { (eval echo "$as_me:21709: \"$ac_try\"") >&5
21710 (eval $ac_try) 2>&5
21712 echo "$as_me:21712: \$? = $ac_status" >&5
21713 (exit $ac_status); }; }; then
21714 eval "$as_ac_var=yes"
21716 echo "$as_me: failed program was:" >&5
21717 cat conftest.
$ac_ext >&5
21718 eval "$as_ac_var=no"
21720 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21722 echo "$as_me:21722: result: `eval echo '${'$as_ac_var'}'`" >&5
21723 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21724 if test `eval echo '${'$as_ac_var'}'` = yes; then
21725 cat >>confdefs.h
<<EOF
21726 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21733 ac_cpp
='$CPP $CPPFLAGS'
21734 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21735 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21736 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21740 for ac_func
in inet_addr
21742 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21743 echo "$as_me:21743: checking for $ac_func" >&5
21744 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21745 if eval "test \"\${$as_ac_var+set}\" = set"; then
21746 echo $ECHO_N "(cached) $ECHO_C" >&6
21748 cat >conftest.
$ac_ext <<_ACEOF
21749 #line 21749 "configure"
21750 #include "confdefs.h"
21751 /* System header to define __stub macros and hopefully few prototypes,
21752 which can conflict with char $ac_func (); below. */
21753 #include <assert.h>
21754 /* Override any gcc2 internal prototype to avoid an error. */
21758 /* We use char because int might match the return type of a gcc2
21759 builtin and then its argument prototype would still apply. */
21766 /* The GNU C library defines this for functions which it implements
21767 to always fail with ENOSYS. Some functions are actually named
21768 something starting with __ and the normal name is an alias. */
21769 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21779 rm -f conftest.
$ac_objext conftest
$ac_exeext
21780 if { (eval echo "$as_me:21780: \"$ac_link\"") >&5
21781 (eval $ac_link) 2>&5
21783 echo "$as_me:21783: \$? = $ac_status" >&5
21784 (exit $ac_status); } &&
21785 { ac_try
='test -s conftest$ac_exeext'
21786 { (eval echo "$as_me:21786: \"$ac_try\"") >&5
21787 (eval $ac_try) 2>&5
21789 echo "$as_me:21789: \$? = $ac_status" >&5
21790 (exit $ac_status); }; }; then
21791 eval "$as_ac_var=yes"
21793 echo "$as_me: failed program was:" >&5
21794 cat conftest.
$ac_ext >&5
21795 eval "$as_ac_var=no"
21797 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21799 echo "$as_me:21799: result: `eval echo '${'$as_ac_var'}'`" >&5
21800 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21801 if test `eval echo '${'$as_ac_var'}'` = yes; then
21802 cat >>confdefs.h
<<EOF
21803 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21805 cat >>confdefs.h
<<\EOF
21806 #define HAVE_INET_ADDR 1
21811 echo "$as_me:21811: checking for inet_addr in -lnsl" >&5
21812 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
21813 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
21814 echo $ECHO_N "(cached) $ECHO_C" >&6
21816 ac_check_lib_save_LIBS
=$LIBS
21818 cat >conftest.
$ac_ext <<_ACEOF
21819 #line 21819 "configure"
21820 #include "confdefs.h"
21822 /* Override any gcc2 internal prototype to avoid an error. */
21826 /* We use char because int might match the return type of a gcc2
21827 builtin and then its argument prototype would still apply. */
21837 rm -f conftest.
$ac_objext conftest
$ac_exeext
21838 if { (eval echo "$as_me:21838: \"$ac_link\"") >&5
21839 (eval $ac_link) 2>&5
21841 echo "$as_me:21841: \$? = $ac_status" >&5
21842 (exit $ac_status); } &&
21843 { ac_try
='test -s conftest$ac_exeext'
21844 { (eval echo "$as_me:21844: \"$ac_try\"") >&5
21845 (eval $ac_try) 2>&5
21847 echo "$as_me:21847: \$? = $ac_status" >&5
21848 (exit $ac_status); }; }; then
21849 ac_cv_lib_nsl_inet_addr
=yes
21851 echo "$as_me: failed program was:" >&5
21852 cat conftest.
$ac_ext >&5
21853 ac_cv_lib_nsl_inet_addr
=no
21855 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21856 LIBS
=$ac_check_lib_save_LIBS
21858 echo "$as_me:21858: result: $ac_cv_lib_nsl_inet_addr" >&5
21859 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
21860 if test $ac_cv_lib_nsl_inet_addr = yes; then
21863 echo "$as_me:21863: checking for inet_addr in -lresolv" >&5
21864 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
21865 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
21866 echo $ECHO_N "(cached) $ECHO_C" >&6
21868 ac_check_lib_save_LIBS
=$LIBS
21869 LIBS
="-lresolv $LIBS"
21870 cat >conftest.
$ac_ext <<_ACEOF
21871 #line 21871 "configure"
21872 #include "confdefs.h"
21874 /* Override any gcc2 internal prototype to avoid an error. */
21878 /* We use char because int might match the return type of a gcc2
21879 builtin and then its argument prototype would still apply. */
21889 rm -f conftest.
$ac_objext conftest
$ac_exeext
21890 if { (eval echo "$as_me:21890: \"$ac_link\"") >&5
21891 (eval $ac_link) 2>&5
21893 echo "$as_me:21893: \$? = $ac_status" >&5
21894 (exit $ac_status); } &&
21895 { ac_try
='test -s conftest$ac_exeext'
21896 { (eval echo "$as_me:21896: \"$ac_try\"") >&5
21897 (eval $ac_try) 2>&5
21899 echo "$as_me:21899: \$? = $ac_status" >&5
21900 (exit $ac_status); }; }; then
21901 ac_cv_lib_resolv_inet_addr
=yes
21903 echo "$as_me: failed program was:" >&5
21904 cat conftest.
$ac_ext >&5
21905 ac_cv_lib_resolv_inet_addr
=no
21907 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21908 LIBS
=$ac_check_lib_save_LIBS
21910 echo "$as_me:21910: result: $ac_cv_lib_resolv_inet_addr" >&5
21911 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
21912 if test $ac_cv_lib_resolv_inet_addr = yes; then
21915 echo "$as_me:21915: checking for inet_addr in -lsocket" >&5
21916 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
21917 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
21918 echo $ECHO_N "(cached) $ECHO_C" >&6
21920 ac_check_lib_save_LIBS
=$LIBS
21921 LIBS
="-lsocket $LIBS"
21922 cat >conftest.
$ac_ext <<_ACEOF
21923 #line 21923 "configure"
21924 #include "confdefs.h"
21926 /* Override any gcc2 internal prototype to avoid an error. */
21930 /* We use char because int might match the return type of a gcc2
21931 builtin and then its argument prototype would still apply. */
21941 rm -f conftest.
$ac_objext conftest
$ac_exeext
21942 if { (eval echo "$as_me:21942: \"$ac_link\"") >&5
21943 (eval $ac_link) 2>&5
21945 echo "$as_me:21945: \$? = $ac_status" >&5
21946 (exit $ac_status); } &&
21947 { ac_try
='test -s conftest$ac_exeext'
21948 { (eval echo "$as_me:21948: \"$ac_try\"") >&5
21949 (eval $ac_try) 2>&5
21951 echo "$as_me:21951: \$? = $ac_status" >&5
21952 (exit $ac_status); }; }; then
21953 ac_cv_lib_socket_inet_addr
=yes
21955 echo "$as_me: failed program was:" >&5
21956 cat conftest.
$ac_ext >&5
21957 ac_cv_lib_socket_inet_addr
=no
21959 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21960 LIBS
=$ac_check_lib_save_LIBS
21962 echo "$as_me:21962: result: $ac_cv_lib_socket_inet_addr" >&5
21963 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
21964 if test $ac_cv_lib_socket_inet_addr = yes; then
21976 for ac_func
in inet_aton
21978 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21979 echo "$as_me:21979: checking for $ac_func" >&5
21980 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21981 if eval "test \"\${$as_ac_var+set}\" = set"; then
21982 echo $ECHO_N "(cached) $ECHO_C" >&6
21984 cat >conftest.
$ac_ext <<_ACEOF
21985 #line 21985 "configure"
21986 #include "confdefs.h"
21987 /* System header to define __stub macros and hopefully few prototypes,
21988 which can conflict with char $ac_func (); below. */
21989 #include <assert.h>
21990 /* Override any gcc2 internal prototype to avoid an error. */
21994 /* We use char because int might match the return type of a gcc2
21995 builtin and then its argument prototype would still apply. */
22002 /* The GNU C library defines this for functions which it implements
22003 to always fail with ENOSYS. Some functions are actually named
22004 something starting with __ and the normal name is an alias. */
22005 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22015 rm -f conftest.
$ac_objext conftest
$ac_exeext
22016 if { (eval echo "$as_me:22016: \"$ac_link\"") >&5
22017 (eval $ac_link) 2>&5
22019 echo "$as_me:22019: \$? = $ac_status" >&5
22020 (exit $ac_status); } &&
22021 { ac_try
='test -s conftest$ac_exeext'
22022 { (eval echo "$as_me:22022: \"$ac_try\"") >&5
22023 (eval $ac_try) 2>&5
22025 echo "$as_me:22025: \$? = $ac_status" >&5
22026 (exit $ac_status); }; }; then
22027 eval "$as_ac_var=yes"
22029 echo "$as_me: failed program was:" >&5
22030 cat conftest.
$ac_ext >&5
22031 eval "$as_ac_var=no"
22033 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22035 echo "$as_me:22035: result: `eval echo '${'$as_ac_var'}'`" >&5
22036 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22037 if test `eval echo '${'$as_ac_var'}'` = yes; then
22038 cat >>confdefs.h
<<EOF
22039 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22041 cat >>confdefs.h
<<\EOF
22042 #define HAVE_INET_ATON 1
22047 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
22048 echo "$as_me:22048: checking for inet_aton in -l$INET_LINK" >&5
22049 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
22050 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
22051 echo $ECHO_N "(cached) $ECHO_C" >&6
22053 ac_check_lib_save_LIBS
=$LIBS
22054 LIBS
="-l$INET_LINK $LIBS"
22055 cat >conftest.
$ac_ext <<_ACEOF
22056 #line 22056 "configure"
22057 #include "confdefs.h"
22059 /* Override any gcc2 internal prototype to avoid an error. */
22063 /* We use char because int might match the return type of a gcc2
22064 builtin and then its argument prototype would still apply. */
22074 rm -f conftest.
$ac_objext conftest
$ac_exeext
22075 if { (eval echo "$as_me:22075: \"$ac_link\"") >&5
22076 (eval $ac_link) 2>&5
22078 echo "$as_me:22078: \$? = $ac_status" >&5
22079 (exit $ac_status); } &&
22080 { ac_try
='test -s conftest$ac_exeext'
22081 { (eval echo "$as_me:22081: \"$ac_try\"") >&5
22082 (eval $ac_try) 2>&5
22084 echo "$as_me:22084: \$? = $ac_status" >&5
22085 (exit $ac_status); }; }; then
22086 eval "$as_ac_Lib=yes"
22088 echo "$as_me: failed program was:" >&5
22089 cat conftest.
$ac_ext >&5
22090 eval "$as_ac_Lib=no"
22092 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22093 LIBS
=$ac_check_lib_save_LIBS
22095 echo "$as_me:22095: result: `eval echo '${'$as_ac_Lib'}'`" >&5
22096 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
22097 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
22098 cat >>confdefs.h
<<\EOF
22099 #define HAVE_INET_ATON 1
22107 if test "x$INET_LINK" != "x"; then
22108 cat >>confdefs.h
<<\EOF
22109 #define HAVE_INET_ADDR 1
22112 INET_LINK
=" -l$INET_LINK"
22117 cat >confcache
<<\_ACEOF
22118 # This file is a shell script that caches the results of configure
22119 # tests run on this system so they can be shared between configure
22120 # scripts and configure runs, see configure's option --config-cache.
22121 # It is not useful on other systems. If it contains results you don't
22122 # want to keep, you may remove or edit it.
22124 # config.status only pays attention to the cache file if you give it
22125 # the --recheck option to rerun configure.
22127 # `ac_cv_env_foo' variables (set or unset) will be overriden when
22128 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22129 # following values.
22133 # The following way of writing the cache mishandles newlines in values,
22134 # but we know of no workaround that is simple, portable, and efficient.
22135 # So, don't put newlines in cache variables' values.
22136 # Ultrix sh set writes to stderr and can't be redirected directly,
22137 # and sets the high bit in the cache file unless we assign to the vars.
22140 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22142 # `set' does not quote correctly, so add quotes (double-quote
22143 # substitution turns \\\\ into \\, and sed turns \\ into \).
22146 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22149 # `set' quotes correctly as required by POSIX, so do not add quotes.
22151 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
22158 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22160 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22162 if cmp -s $cache_file confcache
; then :; else
22163 if test -w $cache_file; then
22164 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
22165 cat confcache
>$cache_file
22167 echo "not updating unwritable cache $cache_file"
22173 if test "$TOOLKIT" != "MSW"; then
22178 if test "$wxUSE_THREADS" = "yes" ; then
22179 if test "$wxUSE_WINE" = 1 ; then
22180 { echo "$as_me:22180: WARNING: Threads are not supported under WINE... disabled" >&5
22181 echo "$as_me: WARNING: Threads are not supported under WINE... disabled" >&2;}
22183 elif test "$USE_BEOS" = 1; then
22184 { echo "$as_me:22184: WARNING: BeOS threads are not yet supported... disabled" >&5
22185 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
22190 if test "$wxUSE_THREADS" = "yes" ; then
22192 THREAD_OPTS
="-pthread"
22194 *-*-solaris2* | *-*-sunos4* )
22195 if test "x$GCC" = "xyes"; then
22196 THREAD_OPTS
="-pthreads $THREAD_OPTS"
22198 THREAD_OPTS
="-mt $THREAD_OPTS"
22202 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
22204 *-*-darwin* | *-*-cygwin* )
22208 THREAD_OPTS
="pthreads"
22212 THREAD_OPTS
="$THREAD_OPTS pthread none"
22215 for flag
in $THREAD_OPTS; do
22218 echo "$as_me:22218: checking whether pthreads work without any flags" >&5
22219 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
22223 echo "$as_me:22223: checking whether pthreads work with $flag" >&5
22224 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
22225 THREADS_CFLAGS
="$flag"
22229 echo "$as_me:22229: checking for the pthreads library -l$flag" >&5
22230 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
22231 THREADS_LINK
="-l$flag"
22236 save_CFLAGS
="$CFLAGS"
22237 LIBS
="$THREADS_LINK $LIBS"
22238 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
22240 cat >conftest.
$ac_ext <<_ACEOF
22241 #line 22241 "configure"
22242 #include "confdefs.h"
22243 #include <pthread.h>
22247 pthread_create(0,0,0,0);
22252 rm -f conftest.
$ac_objext conftest
$ac_exeext
22253 if { (eval echo "$as_me:22253: \"$ac_link\"") >&5
22254 (eval $ac_link) 2>&5
22256 echo "$as_me:22256: \$? = $ac_status" >&5
22257 (exit $ac_status); } &&
22258 { ac_try
='test -s conftest$ac_exeext'
22259 { (eval echo "$as_me:22259: \"$ac_try\"") >&5
22260 (eval $ac_try) 2>&5
22262 echo "$as_me:22262: \$? = $ac_status" >&5
22263 (exit $ac_status); }; }; then
22266 echo "$as_me: failed program was:" >&5
22267 cat conftest.
$ac_ext >&5
22269 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22272 CFLAGS
="$save_CFLAGS"
22274 echo "$as_me:22274: result: $THREADS_OK" >&5
22275 echo "${ECHO_T}$THREADS_OK" >&6
22276 if test "x$THREADS_OK" = "xyes"; then
22284 if test "x$THREADS_OK" != "xyes"; then
22286 { echo "$as_me:22286: WARNING: No thread support on this system... disabled" >&5
22287 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
22289 LIBS
="$THREADS_LINK $THREADS_CFLAGS $LIBS"
22291 echo "$as_me:22291: checking if more special flags are required for pthreads" >&5
22292 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
22295 *-aix* | *-freebsd*)
22296 flag
="-D_THREAD_SAFE"
22298 *solaris
* | alpha
*-osf*)
22299 flag
="-D_REENTRANT"
22302 echo "$as_me:22302: result: ${flag}" >&5
22303 echo "${ECHO_T}${flag}" >&6
22304 if test "x$flag" != xno
; then
22305 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
22308 if test "x$THREADS_CFLAGS" != "x"; then
22309 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
22310 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
22315 if test "$wxUSE_THREADS" = "yes" ; then
22317 for ac_func
in thr_setconcurrency
22319 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22320 echo "$as_me:22320: checking for $ac_func" >&5
22321 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22322 if eval "test \"\${$as_ac_var+set}\" = set"; then
22323 echo $ECHO_N "(cached) $ECHO_C" >&6
22325 cat >conftest.
$ac_ext <<_ACEOF
22326 #line 22326 "configure"
22327 #include "confdefs.h"
22328 /* System header to define __stub macros and hopefully few prototypes,
22329 which can conflict with char $ac_func (); below. */
22330 #include <assert.h>
22331 /* Override any gcc2 internal prototype to avoid an error. */
22335 /* We use char because int might match the return type of a gcc2
22336 builtin and then its argument prototype would still apply. */
22343 /* The GNU C library defines this for functions which it implements
22344 to always fail with ENOSYS. Some functions are actually named
22345 something starting with __ and the normal name is an alias. */
22346 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22356 rm -f conftest.
$ac_objext conftest
$ac_exeext
22357 if { (eval echo "$as_me:22357: \"$ac_link\"") >&5
22358 (eval $ac_link) 2>&5
22360 echo "$as_me:22360: \$? = $ac_status" >&5
22361 (exit $ac_status); } &&
22362 { ac_try
='test -s conftest$ac_exeext'
22363 { (eval echo "$as_me:22363: \"$ac_try\"") >&5
22364 (eval $ac_try) 2>&5
22366 echo "$as_me:22366: \$? = $ac_status" >&5
22367 (exit $ac_status); }; }; then
22368 eval "$as_ac_var=yes"
22370 echo "$as_me: failed program was:" >&5
22371 cat conftest.
$ac_ext >&5
22372 eval "$as_ac_var=no"
22374 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22376 echo "$as_me:22376: result: `eval echo '${'$as_ac_var'}'`" >&5
22377 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22378 if test `eval echo '${'$as_ac_var'}'` = yes; then
22379 cat >>confdefs.h
<<EOF
22380 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22386 for ac_header
in sched.h
22388 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22389 echo "$as_me:22389: checking for $ac_header" >&5
22390 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22391 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22392 echo $ECHO_N "(cached) $ECHO_C" >&6
22394 cat >conftest.
$ac_ext <<_ACEOF
22395 #line 22395 "configure"
22396 #include "confdefs.h"
22397 #include <$ac_header>
22399 if { (eval echo "$as_me:22399: \"$ac_cpp conftest.$ac_ext\"") >&5
22400 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22402 egrep -v '^ *\+' conftest.er1
>conftest.err
22404 cat conftest.err
>&5
22405 echo "$as_me:22405: \$? = $ac_status" >&5
22406 (exit $ac_status); } >/dev
/null
; then
22407 if test -s conftest.err
; then
22408 ac_cpp_err
=$ac_c_preproc_warn_flag
22415 if test -z "$ac_cpp_err"; then
22416 eval "$as_ac_Header=yes"
22418 echo "$as_me: failed program was:" >&5
22419 cat conftest.
$ac_ext >&5
22420 eval "$as_ac_Header=no"
22422 rm -f conftest.err conftest.
$ac_ext
22424 echo "$as_me:22424: result: `eval echo '${'$as_ac_Header'}'`" >&5
22425 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22426 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22427 cat >>confdefs.h
<<EOF
22428 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22434 if test "$ac_cv_header_sched_h" = "yes"; then
22435 echo "$as_me:22435: checking for sched_yield" >&5
22436 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
22437 if test "${ac_cv_func_sched_yield+set}" = set; then
22438 echo $ECHO_N "(cached) $ECHO_C" >&6
22440 cat >conftest.
$ac_ext <<_ACEOF
22441 #line 22441 "configure"
22442 #include "confdefs.h"
22443 /* System header to define __stub macros and hopefully few prototypes,
22444 which can conflict with char sched_yield (); below. */
22445 #include <assert.h>
22446 /* Override any gcc2 internal prototype to avoid an error. */
22450 /* We use char because int might match the return type of a gcc2
22451 builtin and then its argument prototype would still apply. */
22452 char sched_yield ();
22458 /* The GNU C library defines this for functions which it implements
22459 to always fail with ENOSYS. Some functions are actually named
22460 something starting with __ and the normal name is an alias. */
22461 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
22471 rm -f conftest.
$ac_objext conftest
$ac_exeext
22472 if { (eval echo "$as_me:22472: \"$ac_link\"") >&5
22473 (eval $ac_link) 2>&5
22475 echo "$as_me:22475: \$? = $ac_status" >&5
22476 (exit $ac_status); } &&
22477 { ac_try
='test -s conftest$ac_exeext'
22478 { (eval echo "$as_me:22478: \"$ac_try\"") >&5
22479 (eval $ac_try) 2>&5
22481 echo "$as_me:22481: \$? = $ac_status" >&5
22482 (exit $ac_status); }; }; then
22483 ac_cv_func_sched_yield
=yes
22485 echo "$as_me: failed program was:" >&5
22486 cat conftest.
$ac_ext >&5
22487 ac_cv_func_sched_yield
=no
22489 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22491 echo "$as_me:22491: result: $ac_cv_func_sched_yield" >&5
22492 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
22493 if test $ac_cv_func_sched_yield = yes; then
22494 cat >>confdefs.h
<<\EOF
22495 #define HAVE_SCHED_YIELD 1
22500 echo "$as_me:22500: checking for sched_yield in -lposix4" >&5
22501 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
22502 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
22503 echo $ECHO_N "(cached) $ECHO_C" >&6
22505 ac_check_lib_save_LIBS
=$LIBS
22506 LIBS
="-lposix4 $LIBS"
22507 cat >conftest.
$ac_ext <<_ACEOF
22508 #line 22508 "configure"
22509 #include "confdefs.h"
22511 /* Override any gcc2 internal prototype to avoid an error. */
22515 /* We use char because int might match the return type of a gcc2
22516 builtin and then its argument prototype would still apply. */
22517 char sched_yield ();
22526 rm -f conftest.
$ac_objext conftest
$ac_exeext
22527 if { (eval echo "$as_me:22527: \"$ac_link\"") >&5
22528 (eval $ac_link) 2>&5
22530 echo "$as_me:22530: \$? = $ac_status" >&5
22531 (exit $ac_status); } &&
22532 { ac_try
='test -s conftest$ac_exeext'
22533 { (eval echo "$as_me:22533: \"$ac_try\"") >&5
22534 (eval $ac_try) 2>&5
22536 echo "$as_me:22536: \$? = $ac_status" >&5
22537 (exit $ac_status); }; }; then
22538 ac_cv_lib_posix4_sched_yield
=yes
22540 echo "$as_me: failed program was:" >&5
22541 cat conftest.
$ac_ext >&5
22542 ac_cv_lib_posix4_sched_yield
=no
22544 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22545 LIBS
=$ac_check_lib_save_LIBS
22547 echo "$as_me:22547: result: $ac_cv_lib_posix4_sched_yield" >&5
22548 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
22549 if test $ac_cv_lib_posix4_sched_yield = yes; then
22550 cat >>confdefs.h
<<\EOF
22551 #define HAVE_SCHED_YIELD 1
22553 POSIX4_LINK
=" -lposix4"
22555 { echo "$as_me:22555: WARNING: wxThread::Yield will not work properly" >&5
22556 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
22565 echo "$as_me:22565: checking for pthread_attr_getschedpolicy" >&5
22566 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
22567 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
22568 echo $ECHO_N "(cached) $ECHO_C" >&6
22570 cat >conftest.
$ac_ext <<_ACEOF
22571 #line 22571 "configure"
22572 #include "confdefs.h"
22573 /* System header to define __stub macros and hopefully few prototypes,
22574 which can conflict with char pthread_attr_getschedpolicy (); below. */
22575 #include <assert.h>
22576 /* Override any gcc2 internal prototype to avoid an error. */
22580 /* We use char because int might match the return type of a gcc2
22581 builtin and then its argument prototype would still apply. */
22582 char pthread_attr_getschedpolicy ();
22588 /* The GNU C library defines this for functions which it implements
22589 to always fail with ENOSYS. Some functions are actually named
22590 something starting with __ and the normal name is an alias. */
22591 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
22594 f = pthread_attr_getschedpolicy;
22601 rm -f conftest.
$ac_objext conftest
$ac_exeext
22602 if { (eval echo "$as_me:22602: \"$ac_link\"") >&5
22603 (eval $ac_link) 2>&5
22605 echo "$as_me:22605: \$? = $ac_status" >&5
22606 (exit $ac_status); } &&
22607 { ac_try
='test -s conftest$ac_exeext'
22608 { (eval echo "$as_me:22608: \"$ac_try\"") >&5
22609 (eval $ac_try) 2>&5
22611 echo "$as_me:22611: \$? = $ac_status" >&5
22612 (exit $ac_status); }; }; then
22613 ac_cv_func_pthread_attr_getschedpolicy
=yes
22615 echo "$as_me: failed program was:" >&5
22616 cat conftest.
$ac_ext >&5
22617 ac_cv_func_pthread_attr_getschedpolicy
=no
22619 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22621 echo "$as_me:22621: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
22622 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
22623 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
22624 echo "$as_me:22624: checking for pthread_attr_setschedparam" >&5
22625 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
22626 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
22627 echo $ECHO_N "(cached) $ECHO_C" >&6
22629 cat >conftest.
$ac_ext <<_ACEOF
22630 #line 22630 "configure"
22631 #include "confdefs.h"
22632 /* System header to define __stub macros and hopefully few prototypes
22634 which can conflict with char pthread_attr_setschedparam (); below. */
22635 #include <assert.h>
22636 /* Override any gcc2 internal prototype to avoid an error. */
22640 /* We use char because int might match the return type of a gcc2
22641 builtin and then its argument prototype would still apply. */
22642 char pthread_attr_setschedparam ();
22648 /* The GNU C library defines this for functions which it implements
22649 to always fail with ENOSYS. Some functions are actually named
22650 something starting with __ and the normal name is an alias. */
22651 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
22654 f = pthread_attr_setschedparam;
22661 rm -f conftest.
$ac_objext conftest
$ac_exeext
22662 if { (eval echo "$as_me:22662: \"$ac_link\"") >&5
22663 (eval $ac_link) 2>&5
22665 echo "$as_me:22665: \$? = $ac_status" >&5
22666 (exit $ac_status); } &&
22667 { ac_try
='test -s conftest$ac_exeext'
22668 { (eval echo "$as_me:22668: \"$ac_try\"") >&5
22669 (eval $ac_try) 2>&5
22671 echo "$as_me:22671: \$? = $ac_status" >&5
22672 (exit $ac_status); }; }; then
22673 ac_cv_func_pthread_attr_setschedparam
=yes
22675 echo "$as_me: failed program was:" >&5
22676 cat conftest.
$ac_ext >&5
22677 ac_cv_func_pthread_attr_setschedparam
=no
22679 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22681 echo "$as_me:22681: result: $ac_cv_func_pthread_attr_setschedparam" >&5
22682 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
22683 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
22684 echo "$as_me:22684: checking for sched_get_priority_max" >&5
22685 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
22686 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
22687 echo $ECHO_N "(cached) $ECHO_C" >&6
22689 cat >conftest.
$ac_ext <<_ACEOF
22690 #line 22690 "configure"
22691 #include "confdefs.h"
22692 /* System header to define __stub macros and hopefully few prototypes
22694 which can conflict with char sched_get_priority_max (); below. */
22695 #include <assert.h>
22696 /* Override any gcc2 internal prototype to avoid an error. */
22700 /* We use char because int might match the return type of a gcc2
22701 builtin and then its argument prototype would still apply. */
22702 char sched_get_priority_max ();
22708 /* The GNU C library defines this for functions which it implements
22709 to always fail with ENOSYS. Some functions are actually named
22710 something starting with __ and the normal name is an alias. */
22711 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
22714 f = sched_get_priority_max;
22721 rm -f conftest.
$ac_objext conftest
$ac_exeext
22722 if { (eval echo "$as_me:22722: \"$ac_link\"") >&5
22723 (eval $ac_link) 2>&5
22725 echo "$as_me:22725: \$? = $ac_status" >&5
22726 (exit $ac_status); } &&
22727 { ac_try
='test -s conftest$ac_exeext'
22728 { (eval echo "$as_me:22728: \"$ac_try\"") >&5
22729 (eval $ac_try) 2>&5
22731 echo "$as_me:22731: \$? = $ac_status" >&5
22732 (exit $ac_status); }; }; then
22733 ac_cv_func_sched_get_priority_max
=yes
22735 echo "$as_me: failed program was:" >&5
22736 cat conftest.
$ac_ext >&5
22737 ac_cv_func_sched_get_priority_max
=no
22739 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22741 echo "$as_me:22741: result: $ac_cv_func_sched_get_priority_max" >&5
22742 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
22743 if test $ac_cv_func_sched_get_priority_max = yes; then
22746 echo "$as_me:22746: checking for sched_get_priority_max in -lposix4" >&5
22747 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
22748 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
22749 echo $ECHO_N "(cached) $ECHO_C" >&6
22751 ac_check_lib_save_LIBS
=$LIBS
22752 LIBS
="-lposix4 $LIBS"
22753 cat >conftest.
$ac_ext <<_ACEOF
22754 #line 22754 "configure"
22755 #include "confdefs.h"
22757 /* Override any gcc2 internal prototype to avoid an error. */
22761 /* We use char because int might match the return type of a gcc2
22762 builtin and then its argument prototype would still apply. */
22763 char sched_get_priority_max ();
22767 sched_get_priority_max ();
22772 rm -f conftest.
$ac_objext conftest
$ac_exeext
22773 if { (eval echo "$as_me:22773: \"$ac_link\"") >&5
22774 (eval $ac_link) 2>&5
22776 echo "$as_me:22776: \$? = $ac_status" >&5
22777 (exit $ac_status); } &&
22778 { ac_try
='test -s conftest$ac_exeext'
22779 { (eval echo "$as_me:22779: \"$ac_try\"") >&5
22780 (eval $ac_try) 2>&5
22782 echo "$as_me:22782: \$? = $ac_status" >&5
22783 (exit $ac_status); }; }; then
22784 ac_cv_lib_posix4_sched_get_priority_max
=yes
22786 echo "$as_me: failed program was:" >&5
22787 cat conftest.
$ac_ext >&5
22788 ac_cv_lib_posix4_sched_get_priority_max
=no
22790 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22791 LIBS
=$ac_check_lib_save_LIBS
22793 echo "$as_me:22793: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
22794 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
22795 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
22798 POSIX4_LINK
=" -lposix4"
22808 if test "$HAVE_PRIOR_FUNCS" = 1; then
22809 cat >>confdefs.h
<<\EOF
22810 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
22814 { echo "$as_me:22814: WARNING: Setting thread priority will not work" >&5
22815 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
22818 echo "$as_me:22818: checking for pthread_cancel" >&5
22819 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
22820 if test "${ac_cv_func_pthread_cancel+set}" = set; then
22821 echo $ECHO_N "(cached) $ECHO_C" >&6
22823 cat >conftest.
$ac_ext <<_ACEOF
22824 #line 22824 "configure"
22825 #include "confdefs.h"
22826 /* System header to define __stub macros and hopefully few prototypes,
22827 which can conflict with char pthread_cancel (); below. */
22828 #include <assert.h>
22829 /* Override any gcc2 internal prototype to avoid an error. */
22833 /* We use char because int might match the return type of a gcc2
22834 builtin and then its argument prototype would still apply. */
22835 char pthread_cancel ();
22841 /* The GNU C library defines this for functions which it implements
22842 to always fail with ENOSYS. Some functions are actually named
22843 something starting with __ and the normal name is an alias. */
22844 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
22847 f = pthread_cancel;
22854 rm -f conftest.
$ac_objext conftest
$ac_exeext
22855 if { (eval echo "$as_me:22855: \"$ac_link\"") >&5
22856 (eval $ac_link) 2>&5
22858 echo "$as_me:22858: \$? = $ac_status" >&5
22859 (exit $ac_status); } &&
22860 { ac_try
='test -s conftest$ac_exeext'
22861 { (eval echo "$as_me:22861: \"$ac_try\"") >&5
22862 (eval $ac_try) 2>&5
22864 echo "$as_me:22864: \$? = $ac_status" >&5
22865 (exit $ac_status); }; }; then
22866 ac_cv_func_pthread_cancel
=yes
22868 echo "$as_me: failed program was:" >&5
22869 cat conftest.
$ac_ext >&5
22870 ac_cv_func_pthread_cancel
=no
22872 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22874 echo "$as_me:22874: result: $ac_cv_func_pthread_cancel" >&5
22875 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
22876 if test $ac_cv_func_pthread_cancel = yes; then
22877 cat >>confdefs.h
<<\EOF
22878 #define HAVE_PTHREAD_CANCEL 1
22882 { echo "$as_me:22882: WARNING: wxThread::Kill() will not work properly" >&5
22883 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
22886 echo "$as_me:22886: checking for pthread_cleanup_push/pop" >&5
22887 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
22888 if test "${wx_cv_func_pthread_cleanup_push+set}" = set; then
22889 echo $ECHO_N "(cached) $ECHO_C" >&6
22892 cat >conftest.
$ac_ext <<_ACEOF
22893 #line 22893 "configure"
22894 #include "confdefs.h"
22895 #include <pthread.h>
22900 pthread_cleanup_push(NULL, NULL);
22901 pthread_cleanup_pop(0);
22907 rm -f conftest.
$ac_objext
22908 if { (eval echo "$as_me:22908: \"$ac_compile\"") >&5
22909 (eval $ac_compile) 2>&5
22911 echo "$as_me:22911: \$? = $ac_status" >&5
22912 (exit $ac_status); } &&
22913 { ac_try
='test -s conftest.$ac_objext'
22914 { (eval echo "$as_me:22914: \"$ac_try\"") >&5
22915 (eval $ac_try) 2>&5
22917 echo "$as_me:22917: \$? = $ac_status" >&5
22918 (exit $ac_status); }; }; then
22920 wx_cv_func_pthread_cleanup_push
=yes
22923 echo "$as_me: failed program was:" >&5
22924 cat conftest.
$ac_ext >&5
22926 wx_cv_func_pthread_cleanup_push
=no
22929 rm -f conftest.
$ac_objext conftest.
$ac_ext
22932 echo "$as_me:22932: result: $wx_cv_func_pthread_cleanup_push" >&5
22933 echo "${ECHO_T}$wx_cv_func_pthread_cleanup_push" >&6
22935 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
22936 cat >>confdefs.h
<<\EOF
22937 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
22942 echo "$as_me:22942: checking for pthread_mutexattr_t" >&5
22943 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
22944 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
22945 echo $ECHO_N "(cached) $ECHO_C" >&6
22948 cat >conftest.
$ac_ext <<_ACEOF
22949 #line 22949 "configure"
22950 #include "confdefs.h"
22951 #include <pthread.h>
22956 pthread_mutexattr_t attr;
22957 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
22963 rm -f conftest.
$ac_objext
22964 if { (eval echo "$as_me:22964: \"$ac_compile\"") >&5
22965 (eval $ac_compile) 2>&5
22967 echo "$as_me:22967: \$? = $ac_status" >&5
22968 (exit $ac_status); } &&
22969 { ac_try
='test -s conftest.$ac_objext'
22970 { (eval echo "$as_me:22970: \"$ac_try\"") >&5
22971 (eval $ac_try) 2>&5
22973 echo "$as_me:22973: \$? = $ac_status" >&5
22974 (exit $ac_status); }; }; then
22976 wx_cv_type_pthread_mutexattr_t
=yes
22979 echo "$as_me: failed program was:" >&5
22980 cat conftest.
$ac_ext >&5
22982 wx_cv_type_pthread_mutexattr_t
=no
22985 rm -f conftest.
$ac_objext conftest.
$ac_ext
22988 echo "$as_me:22988: result: $wx_cv_type_pthread_mutexattr_t" >&5
22989 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
22991 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
22992 cat >>confdefs.h
<<\EOF
22993 #define HAVE_PTHREAD_MUTEXATTR_T 1
22997 echo "$as_me:22997: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
22998 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
22999 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
23000 echo $ECHO_N "(cached) $ECHO_C" >&6
23003 cat >conftest.
$ac_ext <<_ACEOF
23004 #line 23004 "configure"
23005 #include "confdefs.h"
23006 #include <pthread.h>
23011 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
23017 rm -f conftest.
$ac_objext
23018 if { (eval echo "$as_me:23018: \"$ac_compile\"") >&5
23019 (eval $ac_compile) 2>&5
23021 echo "$as_me:23021: \$? = $ac_status" >&5
23022 (exit $ac_status); } &&
23023 { ac_try
='test -s conftest.$ac_objext'
23024 { (eval echo "$as_me:23024: \"$ac_try\"") >&5
23025 (eval $ac_try) 2>&5
23027 echo "$as_me:23027: \$? = $ac_status" >&5
23028 (exit $ac_status); }; }; then
23030 wx_cv_type_pthread_rec_mutex_init
=yes
23033 echo "$as_me: failed program was:" >&5
23034 cat conftest.
$ac_ext >&5
23036 wx_cv_type_pthread_rec_mutex_init
=no
23039 rm -f conftest.
$ac_objext conftest.
$ac_ext
23042 echo "$as_me:23042: result: $wx_cv_type_pthread_rec_mutex_init" >&5
23043 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
23044 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
23045 cat >>confdefs.h
<<\EOF
23046 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
23050 { echo "$as_me:23050: WARNING: wxMutex won't be recursive on this platform" >&5
23051 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
23058 if test "$wxUSE_THREADS" = "yes"; then
23059 cat >>confdefs.h
<<\EOF
23060 #define wxUSE_THREADS 1
23063 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
23065 if test "$ac_cv_func_strtok_r" = "yes"; then
23066 echo "$as_me:23066: checking if -D_REENTRANT is needed" >&5
23067 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
23068 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
23069 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
23070 echo "$as_me:23070: result: yes" >&5
23071 echo "${ECHO_T}yes" >&6
23073 echo "$as_me:23073: result: no" >&5
23074 echo "${ECHO_T}no" >&6
23079 if test "$WXGTK20" = 1 ; then
23080 cat >>confdefs.h
<<EOF
23081 #define __WXGTK20__ $WXGTK20
23087 if test "$WXGTK12" = 1 ; then
23088 cat >>confdefs.h
<<EOF
23089 #define __WXGTK12__ $WXGTK12
23094 if test "$WXGTK127" = 1 ; then
23095 cat >>confdefs.h
<<EOF
23096 #define __WXGTK127__ $WXGTK127
23103 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
23108 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
23109 wxUSE_DEBUG_INFO
=yes
23113 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
23114 cat >>confdefs.h
<<\EOF
23118 WXDEBUG_DEFINE
="-D__WXDEBUG__"
23120 if test "$wxUSE_GTK" = 1 ; then
23121 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
23125 if test "$wxUSE_MEM_TRACING" = "yes" ; then
23126 cat >>confdefs.h
<<\EOF
23127 #define wxUSE_MEMORY_TRACING 1
23130 cat >>confdefs.h
<<\EOF
23131 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
23134 cat >>confdefs.h
<<\EOF
23135 #define wxUSE_DEBUG_NEW_ALWAYS 1
23138 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
23141 if test "$wxUSE_DMALLOC" = "yes" ; then
23142 DMALLOC_LIBS
="-ldmalloc"
23146 if test "$wxUSE_PROFILE" = "yes" ; then
23151 CODE_GEN_FLAGS_CXX
=
23152 if test "$GCC" = "yes" ; then
23153 if test "$wxUSE_NO_RTTI" = "yes" ; then
23154 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
23156 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
23157 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
23159 if test "$wxUSE_PERMISSIVE" = "yes" ; then
23160 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
23162 if test "$USE_WIN32" = 1 ; then
23163 # I'm not even really sure what this was ever added to solve,
23164 # but someone added it for mingw native builds, so I guess
23165 # they had a reason, right??
23166 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-pcc-struct-return"
23171 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
23176 if test "$wxUSE_OPTIMISE" = "no" ; then
23179 if test "$GCC" = yes ; then
23182 i586
-*-*|i686
-*-* )
23183 OPTIMISE
="${OPTIMISE} "
23191 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
23192 cat >>confdefs.h
<<\EOF
23193 #define WXWIN_COMPATIBILITY_2 1
23196 WXWIN_COMPATIBILITY_2_2
="yes"
23199 if test "x$WXWIN_COMPATIBILITY_2_2" != "xno"; then
23200 cat >>confdefs.h
<<\EOF
23201 #define WXWIN_COMPATIBILITY_2_2 1
23206 if test "$wxUSE_GUI" = "yes"; then
23207 cat >>confdefs.h
<<\EOF
23208 #define wxUSE_GUI 1
23212 cat >>confdefs.h
<<\EOF
23213 #define wxUSE_NOGUI 1
23218 if test "$wxUSE_UNIX" = "yes"; then
23219 cat >>confdefs.h
<<\EOF
23220 #define wxUSE_UNIX 1
23225 if test "$wxUSE_APPLE_IEEE" = "yes"; then
23226 cat >>confdefs.h
<<\EOF
23227 #define wxUSE_APPLE_IEEE 1
23232 if test "$wxUSE_TIMER" = "yes"; then
23233 cat >>confdefs.h
<<\EOF
23234 #define wxUSE_TIMER 1
23239 if test "$wxUSE_WAVE" = "yes"; then
23240 cat >>confdefs.h
<<\EOF
23241 #define wxUSE_WAVE 1
23246 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
23247 cat >>confdefs.h
<<\EOF
23248 #define wxUSE_CMDLINE_PARSER 1
23253 if test "$wxUSE_STOPWATCH" = "yes"; then
23254 cat >>confdefs.h
<<\EOF
23255 #define wxUSE_STOPWATCH 1
23260 if test "$wxUSE_DATETIME" = "yes"; then
23261 cat >>confdefs.h
<<\EOF
23262 #define wxUSE_DATETIME 1
23267 if test "$wxUSE_TIMEDATE" = "yes"; then
23268 cat >>confdefs.h
<<\EOF
23269 #define wxUSE_TIMEDATE 1
23274 if test "$wxUSE_FILE" = "yes"; then
23275 cat >>confdefs.h
<<\EOF
23276 #define wxUSE_FILE 1
23281 if test "$wxUSE_FFILE" = "yes"; then
23282 cat >>confdefs.h
<<\EOF
23283 #define wxUSE_FFILE 1
23288 if test "$wxUSE_FILESYSTEM" = "yes"; then
23289 cat >>confdefs.h
<<\EOF
23290 #define wxUSE_FILESYSTEM 1
23295 if test "$wxUSE_FS_INET" = "yes"; then
23296 cat >>confdefs.h
<<\EOF
23297 #define wxUSE_FS_INET 1
23302 if test "$wxUSE_FS_ZIP" = "yes"; then
23303 cat >>confdefs.h
<<\EOF
23304 #define wxUSE_FS_ZIP 1
23309 if test "$wxUSE_ZIPSTREAM" = "yes"; then
23310 cat >>confdefs.h
<<\EOF
23311 #define wxUSE_ZIPSTREAM 1
23316 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
23317 cat >>confdefs.h
<<\EOF
23318 #define wxUSE_ON_FATAL_EXCEPTION 1
23323 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
23324 cat >>confdefs.h
<<\EOF
23325 #define wxUSE_SNGLINST_CHECKER 1
23330 if test "$wxUSE_BUSYINFO" = "yes"; then
23331 cat >>confdefs.h
<<\EOF
23332 #define wxUSE_BUSYINFO 1
23337 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23338 cat >>confdefs.h
<<\EOF
23339 #define wxUSE_STD_IOSTREAM 1
23344 if test "$wxUSE_TEXTBUFFER" = "yes"; then
23345 cat >>confdefs.h
<<\EOF
23346 #define wxUSE_TEXTBUFFER 1
23351 if test "$wxUSE_TEXTFILE" = "yes"; then
23352 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
23353 { echo "$as_me:23353: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
23354 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
23356 cat >>confdefs.h
<<\EOF
23357 #define wxUSE_TEXTFILE 1
23363 if test "$wxUSE_CONFIG" = "yes" ; then
23364 if test "$wxUSE_TEXTFILE" != "yes"; then
23365 { echo "$as_me:23365: WARNING: wxConfig requires wxTextFile... disabled" >&5
23366 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
23368 cat >>confdefs.h
<<\EOF
23369 #define wxUSE_CONFIG 1
23372 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
23376 if test "$wxUSE_INTL" = "yes" ; then
23377 if test "$wxUSE_FILE" != "yes"; then
23378 { echo "$as_me:23378: WARNING: I18n code requires wxFile... disabled" >&5
23379 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
23381 cat >>confdefs.h
<<\EOF
23382 #define wxUSE_INTL 1
23385 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
23386 GUIDIST
="$GUIDIST INTL_DIST"
23390 if test "$wxUSE_LOG" = "yes"; then
23391 cat >>confdefs.h
<<\EOF
23392 #define wxUSE_LOG 1
23395 if test "$wxUSE_LOGGUI" = "yes"; then
23396 cat >>confdefs.h
<<\EOF
23397 #define wxUSE_LOGGUI 1
23402 if test "$wxUSE_LOGWINDOW" = "yes"; then
23403 cat >>confdefs.h
<<\EOF
23404 #define wxUSE_LOGWINDOW 1
23409 if test "$wxUSE_LOGDIALOG" = "yes"; then
23410 cat >>confdefs.h
<<\EOF
23411 #define wxUSE_LOG_DIALOG 1
23417 if test "$wxUSE_LONGLONG" = "yes"; then
23418 cat >>confdefs.h
<<\EOF
23419 #define wxUSE_LONGLONG 1
23424 if test "$wxUSE_GEOMETRY" = "yes"; then
23425 cat >>confdefs.h
<<\EOF
23426 #define wxUSE_GEOMETRY 1
23431 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
23432 cat >>confdefs.h
<<\EOF
23433 #define wxUSE_DIALUP_MANAGER 1
23436 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
23439 if test "$wxUSE_STREAMS" = "yes" ; then
23440 cat >>confdefs.h
<<\EOF
23441 #define wxUSE_STREAMS 1
23446 if test "$wxUSE_DATETIME" = "yes"; then
23448 for ac_func
in strptime
23450 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23451 echo "$as_me:23451: checking for $ac_func" >&5
23452 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23453 if eval "test \"\${$as_ac_var+set}\" = set"; then
23454 echo $ECHO_N "(cached) $ECHO_C" >&6
23456 cat >conftest.
$ac_ext <<_ACEOF
23457 #line 23457 "configure"
23458 #include "confdefs.h"
23459 /* System header to define __stub macros and hopefully few prototypes,
23460 which can conflict with char $ac_func (); below. */
23461 #include <assert.h>
23462 /* Override any gcc2 internal prototype to avoid an error. */
23466 /* We use char because int might match the return type of a gcc2
23467 builtin and then its argument prototype would still apply. */
23474 /* The GNU C library defines this for functions which it implements
23475 to always fail with ENOSYS. Some functions are actually named
23476 something starting with __ and the normal name is an alias. */
23477 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23487 rm -f conftest.
$ac_objext conftest
$ac_exeext
23488 if { (eval echo "$as_me:23488: \"$ac_link\"") >&5
23489 (eval $ac_link) 2>&5
23491 echo "$as_me:23491: \$? = $ac_status" >&5
23492 (exit $ac_status); } &&
23493 { ac_try
='test -s conftest$ac_exeext'
23494 { (eval echo "$as_me:23494: \"$ac_try\"") >&5
23495 (eval $ac_try) 2>&5
23497 echo "$as_me:23497: \$? = $ac_status" >&5
23498 (exit $ac_status); }; }; then
23499 eval "$as_ac_var=yes"
23501 echo "$as_me: failed program was:" >&5
23502 cat conftest.
$ac_ext >&5
23503 eval "$as_ac_var=no"
23505 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23507 echo "$as_me:23507: result: `eval echo '${'$as_ac_var'}'`" >&5
23508 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23509 if test `eval echo '${'$as_ac_var'}'` = yes; then
23510 cat >>confdefs.h
<<EOF
23511 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23517 echo "$as_me:23517: checking for timezone variable in <time.h>" >&5
23518 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
23519 if test "${wx_cv_var_timezone+set}" = set; then
23520 echo $ECHO_N "(cached) $ECHO_C" >&6
23523 cat >conftest.
$ac_ext <<_ACEOF
23524 #line 23524 "configure"
23525 #include "confdefs.h"
23540 rm -f conftest.
$ac_objext
23541 if { (eval echo "$as_me:23541: \"$ac_compile\"") >&5
23542 (eval $ac_compile) 2>&5
23544 echo "$as_me:23544: \$? = $ac_status" >&5
23545 (exit $ac_status); } &&
23546 { ac_try
='test -s conftest.$ac_objext'
23547 { (eval echo "$as_me:23547: \"$ac_try\"") >&5
23548 (eval $ac_try) 2>&5
23550 echo "$as_me:23550: \$? = $ac_status" >&5
23551 (exit $ac_status); }; }; then
23553 wx_cv_var_timezone
=timezone
23556 echo "$as_me: failed program was:" >&5
23557 cat conftest.
$ac_ext >&5
23559 cat >conftest.
$ac_ext <<_ACEOF
23560 #line 23560 "configure"
23561 #include "confdefs.h"
23576 rm -f conftest.
$ac_objext
23577 if { (eval echo "$as_me:23577: \"$ac_compile\"") >&5
23578 (eval $ac_compile) 2>&5
23580 echo "$as_me:23580: \$? = $ac_status" >&5
23581 (exit $ac_status); } &&
23582 { ac_try
='test -s conftest.$ac_objext'
23583 { (eval echo "$as_me:23583: \"$ac_try\"") >&5
23584 (eval $ac_try) 2>&5
23586 echo "$as_me:23586: \$? = $ac_status" >&5
23587 (exit $ac_status); }; }; then
23589 wx_cv_var_timezone
=_timezone
23592 echo "$as_me: failed program was:" >&5
23593 cat conftest.
$ac_ext >&5
23595 cat >conftest.
$ac_ext <<_ACEOF
23596 #line 23596 "configure"
23597 #include "confdefs.h"
23612 rm -f conftest.
$ac_objext
23613 if { (eval echo "$as_me:23613: \"$ac_compile\"") >&5
23614 (eval $ac_compile) 2>&5
23616 echo "$as_me:23616: \$? = $ac_status" >&5
23617 (exit $ac_status); } &&
23618 { ac_try
='test -s conftest.$ac_objext'
23619 { (eval echo "$as_me:23619: \"$ac_try\"") >&5
23620 (eval $ac_try) 2>&5
23622 echo "$as_me:23622: \$? = $ac_status" >&5
23623 (exit $ac_status); }; }; then
23625 wx_cv_var_timezone
=__timezone
23628 echo "$as_me: failed program was:" >&5
23629 cat conftest.
$ac_ext >&5
23631 if test "$USE_DOS" = 0 ; then
23632 { echo "$as_me:23632: WARNING: no timezone variable" >&5
23633 echo "$as_me: WARNING: no timezone variable" >&2;}
23637 rm -f conftest.
$ac_objext conftest.
$ac_ext
23640 rm -f conftest.
$ac_objext conftest.
$ac_ext
23643 rm -f conftest.
$ac_objext conftest.
$ac_ext
23646 echo "$as_me:23646: result: $wx_cv_var_timezone" >&5
23647 echo "${ECHO_T}$wx_cv_var_timezone" >&6
23649 if test "x$wx_cv_var_timezone" != x
; then
23650 cat >>confdefs.h
<<EOF
23651 #define WX_TIMEZONE $wx_cv_var_timezone
23656 for ac_func
in localtime
23658 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23659 echo "$as_me:23659: checking for $ac_func" >&5
23660 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23661 if eval "test \"\${$as_ac_var+set}\" = set"; then
23662 echo $ECHO_N "(cached) $ECHO_C" >&6
23664 cat >conftest.
$ac_ext <<_ACEOF
23665 #line 23665 "configure"
23666 #include "confdefs.h"
23667 /* System header to define __stub macros and hopefully few prototypes,
23668 which can conflict with char $ac_func (); below. */
23669 #include <assert.h>
23670 /* Override any gcc2 internal prototype to avoid an error. */
23674 /* We use char because int might match the return type of a gcc2
23675 builtin and then its argument prototype would still apply. */
23682 /* The GNU C library defines this for functions which it implements
23683 to always fail with ENOSYS. Some functions are actually named
23684 something starting with __ and the normal name is an alias. */
23685 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23695 rm -f conftest.
$ac_objext conftest
$ac_exeext
23696 if { (eval echo "$as_me:23696: \"$ac_link\"") >&5
23697 (eval $ac_link) 2>&5
23699 echo "$as_me:23699: \$? = $ac_status" >&5
23700 (exit $ac_status); } &&
23701 { ac_try
='test -s conftest$ac_exeext'
23702 { (eval echo "$as_me:23702: \"$ac_try\"") >&5
23703 (eval $ac_try) 2>&5
23705 echo "$as_me:23705: \$? = $ac_status" >&5
23706 (exit $ac_status); }; }; then
23707 eval "$as_ac_var=yes"
23709 echo "$as_me: failed program was:" >&5
23710 cat conftest.
$ac_ext >&5
23711 eval "$as_ac_var=no"
23713 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23715 echo "$as_me:23715: result: `eval echo '${'$as_ac_var'}'`" >&5
23716 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23717 if test `eval echo '${'$as_ac_var'}'` = yes; then
23718 cat >>confdefs.h
<<EOF
23719 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23725 if test "$ac_cv_func_localtime" = "yes"; then
23726 echo "$as_me:23726: checking for tm_gmtoff in struct tm" >&5
23727 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
23728 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
23729 echo $ECHO_N "(cached) $ECHO_C" >&6
23732 cat >conftest.
$ac_ext <<_ACEOF
23733 #line 23733 "configure"
23734 #include "confdefs.h"
23749 rm -f conftest.
$ac_objext
23750 if { (eval echo "$as_me:23750: \"$ac_compile\"") >&5
23751 (eval $ac_compile) 2>&5
23753 echo "$as_me:23753: \$? = $ac_status" >&5
23754 (exit $ac_status); } &&
23755 { ac_try
='test -s conftest.$ac_objext'
23756 { (eval echo "$as_me:23756: \"$ac_try\"") >&5
23757 (eval $ac_try) 2>&5
23759 echo "$as_me:23759: \$? = $ac_status" >&5
23760 (exit $ac_status); }; }; then
23762 wx_cv_struct_tm_has_gmtoff
=yes
23765 echo "$as_me: failed program was:" >&5
23766 cat conftest.
$ac_ext >&5
23767 wx_cv_struct_tm_has_gmtoff
=no
23770 rm -f conftest.
$ac_objext conftest.
$ac_ext
23773 echo "$as_me:23773: result: $wx_cv_struct_tm_has_gmtoff" >&5
23774 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
23777 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
23778 cat >>confdefs.h
<<\EOF
23779 #define WX_GMTOFF_IN_TM 1
23784 for ac_func
in gettimeofday ftime
23786 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23787 echo "$as_me:23787: checking for $ac_func" >&5
23788 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23789 if eval "test \"\${$as_ac_var+set}\" = set"; then
23790 echo $ECHO_N "(cached) $ECHO_C" >&6
23792 cat >conftest.
$ac_ext <<_ACEOF
23793 #line 23793 "configure"
23794 #include "confdefs.h"
23795 /* System header to define __stub macros and hopefully few prototypes,
23796 which can conflict with char $ac_func (); below. */
23797 #include <assert.h>
23798 /* Override any gcc2 internal prototype to avoid an error. */
23802 /* We use char because int might match the return type of a gcc2
23803 builtin and then its argument prototype would still apply. */
23810 /* The GNU C library defines this for functions which it implements
23811 to always fail with ENOSYS. Some functions are actually named
23812 something starting with __ and the normal name is an alias. */
23813 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23823 rm -f conftest.
$ac_objext conftest
$ac_exeext
23824 if { (eval echo "$as_me:23824: \"$ac_link\"") >&5
23825 (eval $ac_link) 2>&5
23827 echo "$as_me:23827: \$? = $ac_status" >&5
23828 (exit $ac_status); } &&
23829 { ac_try
='test -s conftest$ac_exeext'
23830 { (eval echo "$as_me:23830: \"$ac_try\"") >&5
23831 (eval $ac_try) 2>&5
23833 echo "$as_me:23833: \$? = $ac_status" >&5
23834 (exit $ac_status); }; }; then
23835 eval "$as_ac_var=yes"
23837 echo "$as_me: failed program was:" >&5
23838 cat conftest.
$ac_ext >&5
23839 eval "$as_ac_var=no"
23841 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23843 echo "$as_me:23843: result: `eval echo '${'$as_ac_var'}'`" >&5
23844 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23845 if test `eval echo '${'$as_ac_var'}'` = yes; then
23846 cat >>confdefs.h
<<EOF
23847 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23853 if test "$ac_cv_func_gettimeofday" = "yes"; then
23854 echo "$as_me:23854: checking whether gettimeofday takes two arguments" >&5
23855 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
23856 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
23857 echo $ECHO_N "(cached) $ECHO_C" >&6
23861 ac_cpp
='$CXXCPP $CPPFLAGS'
23862 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23863 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23864 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23866 cat >conftest.
$ac_ext <<_ACEOF
23867 #line 23867 "configure"
23868 #include "confdefs.h"
23870 #include <sys/time.h>
23871 #include <unistd.h>
23878 gettimeofday(&tv, NULL);
23884 rm -f conftest.
$ac_objext
23885 if { (eval echo "$as_me:23885: \"$ac_compile\"") >&5
23886 (eval $ac_compile) 2>&5
23888 echo "$as_me:23888: \$? = $ac_status" >&5
23889 (exit $ac_status); } &&
23890 { ac_try
='test -s conftest.$ac_objext'
23891 { (eval echo "$as_me:23891: \"$ac_try\"") >&5
23892 (eval $ac_try) 2>&5
23894 echo "$as_me:23894: \$? = $ac_status" >&5
23895 (exit $ac_status); }; }; then
23896 wx_cv_func_gettimeofday_has_2_args
=yes
23898 echo "$as_me: failed program was:" >&5
23899 cat conftest.
$ac_ext >&5
23900 cat >conftest.
$ac_ext <<_ACEOF
23901 #line 23901 "configure"
23902 #include "confdefs.h"
23904 #include <sys/time.h>
23905 #include <unistd.h>
23918 rm -f conftest.
$ac_objext
23919 if { (eval echo "$as_me:23919: \"$ac_compile\"") >&5
23920 (eval $ac_compile) 2>&5
23922 echo "$as_me:23922: \$? = $ac_status" >&5
23923 (exit $ac_status); } &&
23924 { ac_try
='test -s conftest.$ac_objext'
23925 { (eval echo "$as_me:23925: \"$ac_try\"") >&5
23926 (eval $ac_try) 2>&5
23928 echo "$as_me:23928: \$? = $ac_status" >&5
23929 (exit $ac_status); }; }; then
23930 wx_cv_func_gettimeofday_has_2_args
=no
23932 echo "$as_me: failed program was:" >&5
23933 cat conftest.
$ac_ext >&5
23935 { echo "$as_me:23935: WARNING: failed to determine number of gettimeofday() arguments" >&5
23936 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
23937 wx_cv_func_gettimeofday_has_2_args
=unknown
23940 rm -f conftest.
$ac_objext conftest.
$ac_ext
23943 rm -f conftest.
$ac_objext conftest.
$ac_ext
23945 ac_cpp
='$CPP $CPPFLAGS'
23946 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23947 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23948 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23951 echo "$as_me:23951: result: $wx_cv_func_gettimeofday_has_2_args" >&5
23952 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
23954 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
23955 cat >>confdefs.h
<<\EOF
23956 #define WX_GETTIMEOFDAY_NO_TZ 1
23962 cat >>confdefs.h
<<\EOF
23963 #define wxUSE_TIMEDATE 1
23966 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
23969 if test "$wxUSE_SOCKETS" = "yes"; then
23970 if test "$wxUSE_MGL" = "1"; then
23971 { echo "$as_me:23971: WARNING: wxSocket not yet supported under MGL... disabled" >&5
23972 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
23977 if test "$wxUSE_SOCKETS" = "yes"; then
23978 if test "$TOOLKIT" != "MSW"; then
23979 echo "$as_me:23979: checking for socket" >&5
23980 echo $ECHO_N "checking for socket... $ECHO_C" >&6
23981 if test "${ac_cv_func_socket+set}" = set; then
23982 echo $ECHO_N "(cached) $ECHO_C" >&6
23984 cat >conftest.
$ac_ext <<_ACEOF
23985 #line 23985 "configure"
23986 #include "confdefs.h"
23987 /* System header to define __stub macros and hopefully few prototypes,
23988 which can conflict with char socket (); below. */
23989 #include <assert.h>
23990 /* Override any gcc2 internal prototype to avoid an error. */
23994 /* We use char because int might match the return type of a gcc2
23995 builtin and then its argument prototype would still apply. */
24002 /* The GNU C library defines this for functions which it implements
24003 to always fail with ENOSYS. Some functions are actually named
24004 something starting with __ and the normal name is an alias. */
24005 #if defined (__stub_socket) || defined (__stub___socket)
24015 rm -f conftest.
$ac_objext conftest
$ac_exeext
24016 if { (eval echo "$as_me:24016: \"$ac_link\"") >&5
24017 (eval $ac_link) 2>&5
24019 echo "$as_me:24019: \$? = $ac_status" >&5
24020 (exit $ac_status); } &&
24021 { ac_try
='test -s conftest$ac_exeext'
24022 { (eval echo "$as_me:24022: \"$ac_try\"") >&5
24023 (eval $ac_try) 2>&5
24025 echo "$as_me:24025: \$? = $ac_status" >&5
24026 (exit $ac_status); }; }; then
24027 ac_cv_func_socket
=yes
24029 echo "$as_me: failed program was:" >&5
24030 cat conftest.
$ac_ext >&5
24031 ac_cv_func_socket
=no
24033 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24035 echo "$as_me:24035: result: $ac_cv_func_socket" >&5
24036 echo "${ECHO_T}$ac_cv_func_socket" >&6
24037 if test $ac_cv_func_socket = yes; then
24040 echo "$as_me:24040: checking for socket in -lsocket" >&5
24041 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
24042 if test "${ac_cv_lib_socket_socket+set}" = set; then
24043 echo $ECHO_N "(cached) $ECHO_C" >&6
24045 ac_check_lib_save_LIBS
=$LIBS
24046 LIBS
="-lsocket $LIBS"
24047 cat >conftest.
$ac_ext <<_ACEOF
24048 #line 24048 "configure"
24049 #include "confdefs.h"
24051 /* Override any gcc2 internal prototype to avoid an error. */
24055 /* We use char because int might match the return type of a gcc2
24056 builtin and then its argument prototype would still apply. */
24066 rm -f conftest.
$ac_objext conftest
$ac_exeext
24067 if { (eval echo "$as_me:24067: \"$ac_link\"") >&5
24068 (eval $ac_link) 2>&5
24070 echo "$as_me:24070: \$? = $ac_status" >&5
24071 (exit $ac_status); } &&
24072 { ac_try
='test -s conftest$ac_exeext'
24073 { (eval echo "$as_me:24073: \"$ac_try\"") >&5
24074 (eval $ac_try) 2>&5
24076 echo "$as_me:24076: \$? = $ac_status" >&5
24077 (exit $ac_status); }; }; then
24078 ac_cv_lib_socket_socket
=yes
24080 echo "$as_me: failed program was:" >&5
24081 cat conftest.
$ac_ext >&5
24082 ac_cv_lib_socket_socket
=no
24084 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24085 LIBS
=$ac_check_lib_save_LIBS
24087 echo "$as_me:24087: result: $ac_cv_lib_socket_socket" >&5
24088 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
24089 if test $ac_cv_lib_socket_socket = yes; then
24090 if test "$INET_LINK" != " -lsocket"; then
24091 INET_LINK
="$INET_LINK -lsocket"
24095 { echo "$as_me:24095: WARNING: socket library not found - sockets will be disabled" >&5
24096 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
24106 if test "$wxUSE_SOCKETS" = "yes" ; then
24107 if test "$TOOLKIT" != "MSW"; then
24108 echo "$as_me:24108: checking what is the type of the third argument of getsockname" >&5
24109 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
24110 if test "${wx_cv_type_getsockname3+set}" = set; then
24111 echo $ECHO_N "(cached) $ECHO_C" >&6
24115 ac_cpp
='$CXXCPP $CPPFLAGS'
24116 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24117 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24118 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
24120 cat >conftest.
$ac_ext <<_ACEOF
24121 #line 24121 "configure"
24122 #include "confdefs.h"
24124 #include <sys/types.h>
24125 #include <sys/socket.h>
24132 getsockname(0, 0, &len);
24138 rm -f conftest.
$ac_objext
24139 if { (eval echo "$as_me:24139: \"$ac_compile\"") >&5
24140 (eval $ac_compile) 2>&5
24142 echo "$as_me:24142: \$? = $ac_status" >&5
24143 (exit $ac_status); } &&
24144 { ac_try
='test -s conftest.$ac_objext'
24145 { (eval echo "$as_me:24145: \"$ac_try\"") >&5
24146 (eval $ac_try) 2>&5
24148 echo "$as_me:24148: \$? = $ac_status" >&5
24149 (exit $ac_status); }; }; then
24150 wx_cv_type_getsockname3
=socklen_t
24152 echo "$as_me: failed program was:" >&5
24153 cat conftest.
$ac_ext >&5
24154 cat >conftest.
$ac_ext <<_ACEOF
24155 #line 24155 "configure"
24156 #include "confdefs.h"
24158 #include <sys/types.h>
24159 #include <sys/socket.h>
24166 getsockname(0, 0, &len);
24172 rm -f conftest.
$ac_objext
24173 if { (eval echo "$as_me:24173: \"$ac_compile\"") >&5
24174 (eval $ac_compile) 2>&5
24176 echo "$as_me:24176: \$? = $ac_status" >&5
24177 (exit $ac_status); } &&
24178 { ac_try
='test -s conftest.$ac_objext'
24179 { (eval echo "$as_me:24179: \"$ac_try\"") >&5
24180 (eval $ac_try) 2>&5
24182 echo "$as_me:24182: \$? = $ac_status" >&5
24183 (exit $ac_status); }; }; then
24184 wx_cv_type_getsockname3
=size_t
24186 echo "$as_me: failed program was:" >&5
24187 cat conftest.
$ac_ext >&5
24188 cat >conftest.
$ac_ext <<_ACEOF
24189 #line 24189 "configure"
24190 #include "confdefs.h"
24192 #include <sys/types.h>
24193 #include <sys/socket.h>
24200 getsockname(0, 0, &len);
24206 rm -f conftest.
$ac_objext
24207 if { (eval echo "$as_me:24207: \"$ac_compile\"") >&5
24208 (eval $ac_compile) 2>&5
24210 echo "$as_me:24210: \$? = $ac_status" >&5
24211 (exit $ac_status); } &&
24212 { ac_try
='test -s conftest.$ac_objext'
24213 { (eval echo "$as_me:24213: \"$ac_try\"") >&5
24214 (eval $ac_try) 2>&5
24216 echo "$as_me:24216: \$? = $ac_status" >&5
24217 (exit $ac_status); }; }; then
24218 wx_cv_type_getsockname3
=int
24220 echo "$as_me: failed program was:" >&5
24221 cat conftest.
$ac_ext >&5
24222 wx_cv_type_getsockname3
=unknown
24225 rm -f conftest.
$ac_objext conftest.
$ac_ext
24228 rm -f conftest.
$ac_objext conftest.
$ac_ext
24231 rm -f conftest.
$ac_objext conftest.
$ac_ext
24234 ac_cpp
='$CPP $CPPFLAGS'
24235 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24236 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24237 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
24240 echo "$as_me:24240: result: $wx_cv_type_getsockname3" >&5
24241 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
24243 if test "$wx_cv_type_getsockname3" = "unknown"; then
24245 { echo "$as_me:24245: WARNING: Couldn't find socklen_t synonym for this system" >&5
24246 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
24248 cat >>confdefs.h
<<EOF
24249 #define SOCKLEN_T $wx_cv_type_getsockname3
24256 if test "$wxUSE_SOCKETS" = "yes" ; then
24257 cat >>confdefs.h
<<\EOF
24258 #define wxUSE_SOCKETS 1
24261 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
24264 if test "$wxUSE_GUI" = "yes"; then
24266 if test "$TOOLKIT" = "MAC"; then
24267 { echo "$as_me:24267: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
24268 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
24271 if test "$TOOLKIT" = "MOTIF"; then
24272 { echo "$as_me:24272: WARNING: Joystick not yet supported under Motif... disabled" >&5
24273 echo "$as_me: WARNING: Joystick not yet supported under Motif... disabled" >&2;}
24276 if test "$TOOLKIT" = "X11"; then
24277 { echo "$as_me:24277: WARNING: Joystick not yet supported under X11... disabled" >&5
24278 echo "$as_me: WARNING: Joystick not yet supported under X11... disabled" >&2;}
24282 if test "$TOOLKIT" != "MSW"; then
24283 if test "$wxUSE_JOYSTICK" = "yes"; then
24285 for ac_header
in linux
/joystick.h
24287 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24288 echo "$as_me:24288: checking for $ac_header" >&5
24289 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24290 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24291 echo $ECHO_N "(cached) $ECHO_C" >&6
24293 cat >conftest.
$ac_ext <<_ACEOF
24294 #line 24294 "configure"
24295 #include "confdefs.h"
24296 #include <$ac_header>
24298 if { (eval echo "$as_me:24298: \"$ac_cpp conftest.$ac_ext\"") >&5
24299 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24301 egrep -v '^ *\+' conftest.er1
>conftest.err
24303 cat conftest.err
>&5
24304 echo "$as_me:24304: \$? = $ac_status" >&5
24305 (exit $ac_status); } >/dev
/null
; then
24306 if test -s conftest.err
; then
24307 ac_cpp_err
=$ac_c_preproc_warn_flag
24314 if test -z "$ac_cpp_err"; then
24315 eval "$as_ac_Header=yes"
24317 echo "$as_me: failed program was:" >&5
24318 cat conftest.
$ac_ext >&5
24319 eval "$as_ac_Header=no"
24321 rm -f conftest.err conftest.
$ac_ext
24323 echo "$as_me:24323: result: `eval echo '${'$as_ac_Header'}'`" >&5
24324 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24325 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24326 cat >>confdefs.h
<<EOF
24327 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24333 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
24335 { echo "$as_me:24335: WARNING: Joystick not supported by this system... disabled" >&5
24336 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
24341 if test "$wxUSE_JOYSTICK" = "yes"; then
24342 cat >>confdefs.h
<<\EOF
24343 #define wxUSE_JOYSTICK 1
24346 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
24350 if test "$TOOLKIT" != "MSW"; then
24354 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
24355 if test "$USE_DARWIN" = 1; then
24359 for ac_func
in dlopen
24361 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24362 echo "$as_me:24362: checking for $ac_func" >&5
24363 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24364 if eval "test \"\${$as_ac_var+set}\" = set"; then
24365 echo $ECHO_N "(cached) $ECHO_C" >&6
24367 cat >conftest.
$ac_ext <<_ACEOF
24368 #line 24368 "configure"
24369 #include "confdefs.h"
24370 /* System header to define __stub macros and hopefully few prototypes,
24371 which can conflict with char $ac_func (); below. */
24372 #include <assert.h>
24373 /* Override any gcc2 internal prototype to avoid an error. */
24377 /* We use char because int might match the return type of a gcc2
24378 builtin and then its argument prototype would still apply. */
24385 /* The GNU C library defines this for functions which it implements
24386 to always fail with ENOSYS. Some functions are actually named
24387 something starting with __ and the normal name is an alias. */
24388 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24398 rm -f conftest.
$ac_objext conftest
$ac_exeext
24399 if { (eval echo "$as_me:24399: \"$ac_link\"") >&5
24400 (eval $ac_link) 2>&5
24402 echo "$as_me:24402: \$? = $ac_status" >&5
24403 (exit $ac_status); } &&
24404 { ac_try
='test -s conftest$ac_exeext'
24405 { (eval echo "$as_me:24405: \"$ac_try\"") >&5
24406 (eval $ac_try) 2>&5
24408 echo "$as_me:24408: \$? = $ac_status" >&5
24409 (exit $ac_status); }; }; then
24410 eval "$as_ac_var=yes"
24412 echo "$as_me: failed program was:" >&5
24413 cat conftest.
$ac_ext >&5
24414 eval "$as_ac_var=no"
24416 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24418 echo "$as_me:24418: result: `eval echo '${'$as_ac_var'}'`" >&5
24419 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24420 if test `eval echo '${'$as_ac_var'}'` = yes; then
24421 cat >>confdefs.h
<<EOF
24422 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24425 cat >>confdefs.h
<<\EOF
24426 #define HAVE_DLOPEN 1
24433 echo "$as_me:24433: checking for dlopen in -ldl" >&5
24434 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
24435 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
24436 echo $ECHO_N "(cached) $ECHO_C" >&6
24438 ac_check_lib_save_LIBS
=$LIBS
24440 cat >conftest.
$ac_ext <<_ACEOF
24441 #line 24441 "configure"
24442 #include "confdefs.h"
24444 /* Override any gcc2 internal prototype to avoid an error. */
24448 /* We use char because int might match the return type of a gcc2
24449 builtin and then its argument prototype would still apply. */
24459 rm -f conftest.
$ac_objext conftest
$ac_exeext
24460 if { (eval echo "$as_me:24460: \"$ac_link\"") >&5
24461 (eval $ac_link) 2>&5
24463 echo "$as_me:24463: \$? = $ac_status" >&5
24464 (exit $ac_status); } &&
24465 { ac_try
='test -s conftest$ac_exeext'
24466 { (eval echo "$as_me:24466: \"$ac_try\"") >&5
24467 (eval $ac_try) 2>&5
24469 echo "$as_me:24469: \$? = $ac_status" >&5
24470 (exit $ac_status); }; }; then
24471 ac_cv_lib_dl_dlopen
=yes
24473 echo "$as_me: failed program was:" >&5
24474 cat conftest.
$ac_ext >&5
24475 ac_cv_lib_dl_dlopen
=no
24477 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24478 LIBS
=$ac_check_lib_save_LIBS
24480 echo "$as_me:24480: result: $ac_cv_lib_dl_dlopen" >&5
24481 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
24482 if test $ac_cv_lib_dl_dlopen = yes; then
24484 cat >>confdefs.h
<<\EOF
24485 #define HAVE_DLOPEN 1
24489 DL_LINK
=" -ldl$DL_LINK"
24493 for ac_func
in shl_load
24495 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24496 echo "$as_me:24496: checking for $ac_func" >&5
24497 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24498 if eval "test \"\${$as_ac_var+set}\" = set"; then
24499 echo $ECHO_N "(cached) $ECHO_C" >&6
24501 cat >conftest.
$ac_ext <<_ACEOF
24502 #line 24502 "configure"
24503 #include "confdefs.h"
24504 /* System header to define __stub macros and hopefully few prototypes,
24505 which can conflict with char $ac_func (); below. */
24506 #include <assert.h>
24507 /* Override any gcc2 internal prototype to avoid an error. */
24511 /* We use char because int might match the return type of a gcc2
24512 builtin and then its argument prototype would still apply. */
24519 /* The GNU C library defines this for functions which it implements
24520 to always fail with ENOSYS. Some functions are actually named
24521 something starting with __ and the normal name is an alias. */
24522 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24532 rm -f conftest.
$ac_objext conftest
$ac_exeext
24533 if { (eval echo "$as_me:24533: \"$ac_link\"") >&5
24534 (eval $ac_link) 2>&5
24536 echo "$as_me:24536: \$? = $ac_status" >&5
24537 (exit $ac_status); } &&
24538 { ac_try
='test -s conftest$ac_exeext'
24539 { (eval echo "$as_me:24539: \"$ac_try\"") >&5
24540 (eval $ac_try) 2>&5
24542 echo "$as_me:24542: \$? = $ac_status" >&5
24543 (exit $ac_status); }; }; then
24544 eval "$as_ac_var=yes"
24546 echo "$as_me: failed program was:" >&5
24547 cat conftest.
$ac_ext >&5
24548 eval "$as_ac_var=no"
24550 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24552 echo "$as_me:24552: result: `eval echo '${'$as_ac_var'}'`" >&5
24553 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24554 if test `eval echo '${'$as_ac_var'}'` = yes; then
24555 cat >>confdefs.h
<<EOF
24556 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24559 cat >>confdefs.h
<<\EOF
24560 #define HAVE_SHL_LOAD 1
24567 echo "$as_me:24567: checking for dld in -lshl_load" >&5
24568 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
24569 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
24570 echo $ECHO_N "(cached) $ECHO_C" >&6
24572 ac_check_lib_save_LIBS
=$LIBS
24573 LIBS
="-lshl_load $LIBS"
24574 cat >conftest.
$ac_ext <<_ACEOF
24575 #line 24575 "configure"
24576 #include "confdefs.h"
24578 /* Override any gcc2 internal prototype to avoid an error. */
24582 /* We use char because int might match the return type of a gcc2
24583 builtin and then its argument prototype would still apply. */
24593 rm -f conftest.
$ac_objext conftest
$ac_exeext
24594 if { (eval echo "$as_me:24594: \"$ac_link\"") >&5
24595 (eval $ac_link) 2>&5
24597 echo "$as_me:24597: \$? = $ac_status" >&5
24598 (exit $ac_status); } &&
24599 { ac_try
='test -s conftest$ac_exeext'
24600 { (eval echo "$as_me:24600: \"$ac_try\"") >&5
24601 (eval $ac_try) 2>&5
24603 echo "$as_me:24603: \$? = $ac_status" >&5
24604 (exit $ac_status); }; }; then
24605 ac_cv_lib_shl_load_dld
=yes
24607 echo "$as_me: failed program was:" >&5
24608 cat conftest.
$ac_ext >&5
24609 ac_cv_lib_shl_load_dld
=no
24611 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24612 LIBS
=$ac_check_lib_save_LIBS
24614 echo "$as_me:24614: result: $ac_cv_lib_shl_load_dld" >&5
24615 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
24616 if test $ac_cv_lib_shl_load_dld = yes; then
24619 DL_LINK
=" -ldld$DL_LINK"
24631 if test "$HAVE_DL_FUNCS" = 1; then
24633 for ac_func
in dlerror
24635 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24636 echo "$as_me:24636: checking for $ac_func" >&5
24637 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24638 if eval "test \"\${$as_ac_var+set}\" = set"; then
24639 echo $ECHO_N "(cached) $ECHO_C" >&6
24641 cat >conftest.
$ac_ext <<_ACEOF
24642 #line 24642 "configure"
24643 #include "confdefs.h"
24644 /* System header to define __stub macros and hopefully few prototypes,
24645 which can conflict with char $ac_func (); below. */
24646 #include <assert.h>
24647 /* Override any gcc2 internal prototype to avoid an error. */
24651 /* We use char because int might match the return type of a gcc2
24652 builtin and then its argument prototype would still apply. */
24659 /* The GNU C library defines this for functions which it implements
24660 to always fail with ENOSYS. Some functions are actually named
24661 something starting with __ and the normal name is an alias. */
24662 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24672 rm -f conftest.
$ac_objext conftest
$ac_exeext
24673 if { (eval echo "$as_me:24673: \"$ac_link\"") >&5
24674 (eval $ac_link) 2>&5
24676 echo "$as_me:24676: \$? = $ac_status" >&5
24677 (exit $ac_status); } &&
24678 { ac_try
='test -s conftest$ac_exeext'
24679 { (eval echo "$as_me:24679: \"$ac_try\"") >&5
24680 (eval $ac_try) 2>&5
24682 echo "$as_me:24682: \$? = $ac_status" >&5
24683 (exit $ac_status); }; }; then
24684 eval "$as_ac_var=yes"
24686 echo "$as_me: failed program was:" >&5
24687 cat conftest.
$ac_ext >&5
24688 eval "$as_ac_var=no"
24690 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24692 echo "$as_me:24692: result: `eval echo '${'$as_ac_var'}'`" >&5
24693 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24694 if test `eval echo '${'$as_ac_var'}'` = yes; then
24695 cat >>confdefs.h
<<EOF
24696 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24698 cat >>confdefs.h
<<\EOF
24699 #define HAVE_DLERROR 1
24703 echo "$as_me:24703: checking for dlerror in -ldl" >&5
24704 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
24705 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
24706 echo $ECHO_N "(cached) $ECHO_C" >&6
24708 ac_check_lib_save_LIBS
=$LIBS
24710 cat >conftest.
$ac_ext <<_ACEOF
24711 #line 24711 "configure"
24712 #include "confdefs.h"
24714 /* Override any gcc2 internal prototype to avoid an error. */
24718 /* We use char because int might match the return type of a gcc2
24719 builtin and then its argument prototype would still apply. */
24729 rm -f conftest.
$ac_objext conftest
$ac_exeext
24730 if { (eval echo "$as_me:24730: \"$ac_link\"") >&5
24731 (eval $ac_link) 2>&5
24733 echo "$as_me:24733: \$? = $ac_status" >&5
24734 (exit $ac_status); } &&
24735 { ac_try
='test -s conftest$ac_exeext'
24736 { (eval echo "$as_me:24736: \"$ac_try\"") >&5
24737 (eval $ac_try) 2>&5
24739 echo "$as_me:24739: \$? = $ac_status" >&5
24740 (exit $ac_status); }; }; then
24741 ac_cv_lib_dl_dlerror
=yes
24743 echo "$as_me: failed program was:" >&5
24744 cat conftest.
$ac_ext >&5
24745 ac_cv_lib_dl_dlerror
=no
24747 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24748 LIBS
=$ac_check_lib_save_LIBS
24750 echo "$as_me:24750: result: $ac_cv_lib_dl_dlerror" >&5
24751 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
24752 if test $ac_cv_lib_dl_dlerror = yes; then
24753 cat >>confdefs.h
<<\EOF
24754 #define HAVE_DLERROR 1
24765 if test "$HAVE_DL_FUNCS" = 0; then
24766 if test "$HAVE_SHL_FUNCS" = 0; then
24767 if test "$USE_UNIX" = 1; then
24768 { echo "$as_me:24768: WARNING: Missing dynamic loading support, several features will be disabled" >&5
24769 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
24770 wxUSE_DYNAMIC_LOADER
=no
24771 wxUSE_DYNLIB_CLASS
=no
24773 { echo "$as_me:24773: WARNING: Assuming wxLibrary class works on this platform" >&5
24774 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
24781 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
24782 cat >>confdefs.h
<<\EOF
24783 #define wxUSE_DYNAMIC_LOADER 1
24786 elif test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
24787 cat >>confdefs.h
<<\EOF
24788 #define wxUSE_DYNLIB_CLASS 1
24793 if test "$wxUSE_FONTMAP" = "yes" ; then
24794 cat >>confdefs.h
<<\EOF
24795 #define wxUSE_FONTMAP 1
24800 if test "$wxUSE_UNICODE" = "yes" ; then
24801 cat >>confdefs.h
<<\EOF
24802 #define wxUSE_UNICODE 1
24805 if test "$wxUSE_MSW" != 1; then
24806 wxUSE_UNICODE_MSLU
=no
24809 if test "$wxUSE_MSW" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
24810 echo "$as_me:24810: checking for main in -lunicows" >&5
24811 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
24812 if test "${ac_cv_lib_unicows_main+set}" = set; then
24813 echo $ECHO_N "(cached) $ECHO_C" >&6
24815 ac_check_lib_save_LIBS
=$LIBS
24816 LIBS
="-lunicows $LIBS"
24817 cat >conftest.
$ac_ext <<_ACEOF
24818 #line 24818 "configure"
24819 #include "confdefs.h"
24829 rm -f conftest.
$ac_objext conftest
$ac_exeext
24830 if { (eval echo "$as_me:24830: \"$ac_link\"") >&5
24831 (eval $ac_link) 2>&5
24833 echo "$as_me:24833: \$? = $ac_status" >&5
24834 (exit $ac_status); } &&
24835 { ac_try
='test -s conftest$ac_exeext'
24836 { (eval echo "$as_me:24836: \"$ac_try\"") >&5
24837 (eval $ac_try) 2>&5
24839 echo "$as_me:24839: \$? = $ac_status" >&5
24840 (exit $ac_status); }; }; then
24841 ac_cv_lib_unicows_main
=yes
24843 echo "$as_me: failed program was:" >&5
24844 cat conftest.
$ac_ext >&5
24845 ac_cv_lib_unicows_main
=no
24847 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24848 LIBS
=$ac_check_lib_save_LIBS
24850 echo "$as_me:24850: result: $ac_cv_lib_unicows_main" >&5
24851 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
24852 if test $ac_cv_lib_unicows_main = yes; then
24854 cat >>confdefs.h
<<\EOF
24855 #define wxUSE_UNICODE_MSLU 1
24860 { echo "$as_me:24860: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
24861 Applications will only run on Windows NT/2000/XP!" >&5
24862 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
24863 Applications will only run on Windows NT/2000/XP!" >&2;}
24864 wxUSE_UNICODE_MSLU
=no
24871 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
24872 cat >>confdefs.h
<<\EOF
24873 #define wxUSE_EXPERIMENTAL_PRINTF 1
24879 if test "$wxUSE_ODBC" = "yes" ; then
24880 cat >>confdefs.h
<<\EOF
24881 #define wxUSE_ODBC 1
24884 WXODBCFLAG
="-D_IODBC_"
24885 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
24888 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
24889 cat >>confdefs.h
<<\EOF
24890 #define wxUSE_POSTSCRIPT 1
24895 cat >>confdefs.h
<<\EOF
24896 #define wxUSE_AFM_FOR_POSTSCRIPT 1
24899 cat >>confdefs.h
<<\EOF
24900 #define wxUSE_NORMALIZED_PS_FONTS 1
24903 if test "$wxUSE_CONSTRAINTS" = "yes"; then
24904 cat >>confdefs.h
<<\EOF
24905 #define wxUSE_CONSTRAINTS 1
24908 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
24911 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
24913 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
24914 cat >>confdefs.h
<<\EOF
24915 #define wxUSE_MDI_ARCHITECTURE 1
24918 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
24922 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
24923 cat >>confdefs.h
<<\EOF
24924 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
24927 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
24928 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
24929 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
24933 if test "$wxUSE_HELP" = "yes"; then
24934 cat >>confdefs.h
<<\EOF
24935 #define wxUSE_HELP 1
24938 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
24940 if test "$wxUSE_MSW" = 1; then
24941 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
24942 cat >>confdefs.h
<<\EOF
24943 #define wxUSE_MS_HTML_HELP 1
24949 if test "$wxUSE_WXHTML_HELP" = "yes"; then
24950 if test "$wxUSE_HTML" = "yes"; then
24951 cat >>confdefs.h
<<\EOF
24952 #define wxUSE_WXHTML_HELP 1
24956 { echo "$as_me:24956: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
24957 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
24958 wxUSE_WXHTML_HELP
=no
24963 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
24964 if test "$wxUSE_CONSTRAINTS" != "yes"; then
24965 { echo "$as_me:24965: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
24966 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
24968 cat >>confdefs.h
<<\EOF
24969 #define wxUSE_PRINTING_ARCHITECTURE 1
24973 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
24976 if test "$wxUSE_PROLOGIO" = "yes" ; then
24977 cat >>confdefs.h
<<\EOF
24978 #define wxUSE_PROLOGIO 1
24983 if test "$wxUSE_RESOURCES" = "yes" ; then
24984 if test "$wxUSE_NANOX" = "yes"; then
24985 { echo "$as_me:24985: WARNING: Cannot use resource database functions in NanoX" >&5
24986 echo "$as_me: WARNING: Cannot use resource database functions in NanoX" >&2;}
24988 cat >>confdefs.h
<<\EOF
24989 #define wxUSE_RESOURCES 1
24992 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
24996 if test "$wxUSE_X_RESOURCES" = "yes"; then
24997 cat >>confdefs.h
<<\EOF
24998 #define wxUSE_X_RESOURCES 1
25003 if test "$wxUSE_MSW" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
25004 -o "$wxUSE_CLIPBOARD" = "yes" \
25005 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
25007 for ac_header
in ole2.h
25009 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25010 echo "$as_me:25010: checking for $ac_header" >&5
25011 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25012 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25013 echo $ECHO_N "(cached) $ECHO_C" >&6
25015 cat >conftest.
$ac_ext <<_ACEOF
25016 #line 25016 "configure"
25017 #include "confdefs.h"
25018 #include <$ac_header>
25020 if { (eval echo "$as_me:25020: \"$ac_cpp conftest.$ac_ext\"") >&5
25021 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25023 egrep -v '^ *\+' conftest.er1
>conftest.err
25025 cat conftest.err
>&5
25026 echo "$as_me:25026: \$? = $ac_status" >&5
25027 (exit $ac_status); } >/dev
/null
; then
25028 if test -s conftest.err
; then
25029 ac_cpp_err
=$ac_c_preproc_warn_flag
25036 if test -z "$ac_cpp_err"; then
25037 eval "$as_ac_Header=yes"
25039 echo "$as_me: failed program was:" >&5
25040 cat conftest.
$ac_ext >&5
25041 eval "$as_ac_Header=no"
25043 rm -f conftest.err conftest.
$ac_ext
25045 echo "$as_me:25045: result: `eval echo '${'$as_ac_Header'}'`" >&5
25046 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25047 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25048 cat >>confdefs.h
<<EOF
25049 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25055 if test "$ac_cv_header_ole2_h" = "yes" ; then
25056 if test "$GCC" = yes ; then
25057 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
25058 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
25059 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
25060 cat >>confdefs.h
<<\EOF
25061 #define wxUSE_OLE 1
25066 cat >>confdefs.h
<<\EOF
25067 #define wxUSE_DATAOBJ 1
25071 { echo "$as_me:25071: WARNING: Some features disabled because OLE headers not found" >&5
25072 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
25075 wxUSE_DRAG_AND_DROP
=no
25079 if test "$wxUSE_METAFILE" = "yes"; then
25080 cat >>confdefs.h
<<\EOF
25081 #define wxUSE_METAFILE 1
25084 cat >>confdefs.h
<<\EOF
25085 #define wxUSE_ENH_METAFILE 1
25091 if test "$wxUSE_IPC" = "yes"; then
25092 if test "$wxUSE_SOCKETS" != "yes"; then
25093 { echo "$as_me:25093: WARNING: wxWindows IPC classes require sockets... disabled" >&5
25094 echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
25097 cat >>confdefs.h
<<\EOF
25098 #define wxUSE_IPC 1
25103 if test "$wxUSE_CLIPBOARD" = "yes"; then
25104 if test "$wxUSE_MGL" = 1; then
25105 { echo "$as_me:25105: WARNING: Clipboard not yet supported under MGL... disabled" >&5
25106 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
25110 if test "$wxUSE_CLIPBOARD" = "yes"; then
25111 cat >>confdefs.h
<<\EOF
25112 #define wxUSE_CLIPBOARD 1
25115 cat >>confdefs.h
<<\EOF
25116 #define wxUSE_DATAOBJ 1
25122 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
25123 if test "$wxUSE_GTK" = 1; then
25124 if test "$WXGTK12" != 1; then
25125 { echo "$as_me:25125: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
25126 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
25127 wxUSE_DRAG_AND_DROP
=no
25131 if test "$wxUSE_MOTIF" = 1; then
25132 { echo "$as_me:25132: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
25133 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
25134 wxUSE_DRAG_AND_DROP
=no
25137 if test "$wxUSE_X11" = 1; then
25138 { echo "$as_me:25138: WARNING: Drag and drop not yet supported under X11... disabled" >&5
25139 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
25140 wxUSE_DRAG_AND_DROP
=no
25143 if test "$wxUSE_MGL" = 1; then
25144 { echo "$as_me:25144: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
25145 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
25146 wxUSE_DRAG_AND_DROP
=no
25149 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
25150 cat >>confdefs.h
<<\EOF
25151 #define wxUSE_DRAG_AND_DROP 1
25154 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
25159 if test "$wxUSE_SPLINES" = "yes" ; then
25160 cat >>confdefs.h
<<\EOF
25161 #define wxUSE_SPLINES 1
25167 if test "$wxUSE_CONTROLS" = "yes"; then
25171 if test "$wxUSE_ACCEL" = "yes"; then
25172 cat >>confdefs.h
<<\EOF
25173 #define wxUSE_ACCEL 1
25179 if test "$wxUSE_BUTTON" = "yes"; then
25180 cat >>confdefs.h
<<\EOF
25181 #define wxUSE_BUTTON 1
25187 if test "$wxUSE_BMPBUTTON" = "yes"; then
25188 cat >>confdefs.h
<<\EOF
25189 #define wxUSE_BMPBUTTON 1
25195 if test "$wxUSE_CALCTRL" = "yes"; then
25196 cat >>confdefs.h
<<\EOF
25197 #define wxUSE_CALENDARCTRL 1
25201 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
25204 if test "$wxUSE_CARET" = "yes"; then
25205 cat >>confdefs.h
<<\EOF
25206 #define wxUSE_CARET 1
25210 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
25213 if test "$wxUSE_COMBOBOX" = "yes"; then
25214 cat >>confdefs.h
<<\EOF
25215 #define wxUSE_COMBOBOX 1
25221 if test "$wxUSE_CHOICE" = "yes"; then
25222 cat >>confdefs.h
<<\EOF
25223 #define wxUSE_CHOICE 1
25229 if test "$wxUSE_CHECKBOX" = "yes"; then
25230 cat >>confdefs.h
<<\EOF
25231 #define wxUSE_CHECKBOX 1
25237 if test "$wxUSE_CHECKLST" = "yes"; then
25238 cat >>confdefs.h
<<\EOF
25239 #define wxUSE_CHECKLISTBOX 1
25243 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
25246 if test "$wxUSE_GAUGE" = "yes"; then
25247 cat >>confdefs.h
<<\EOF
25248 #define wxUSE_GAUGE 1
25254 if test "$wxUSE_NEW_GRID" = "yes"; then
25256 cat >>confdefs.h
<<\EOF
25257 #define wxUSE_NEW_GRID 1
25261 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
25264 if test "$wxUSE_GRID" = "yes"; then
25265 cat >>confdefs.h
<<\EOF
25266 #define wxUSE_GRID 1
25270 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
25273 if test "$wxUSE_IMAGLIST" = "yes"; then
25274 cat >>confdefs.h
<<\EOF
25275 #define wxUSE_IMAGLIST 1
25280 if test "$wxUSE_LISTBOX" = "yes"; then
25281 cat >>confdefs.h
<<\EOF
25282 #define wxUSE_LISTBOX 1
25288 if test "$wxUSE_LISTCTRL" = "yes"; then
25289 if test "$wxUSE_IMAGLIST" = "yes"; then
25290 cat >>confdefs.h
<<\EOF
25291 #define wxUSE_LISTCTRL 1
25295 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
25297 { echo "$as_me:25297: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
25298 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
25302 if test "$wxUSE_NOTEBOOK" = "yes"; then
25303 cat >>confdefs.h
<<\EOF
25304 #define wxUSE_NOTEBOOK 1
25308 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
25311 if test "$wxUSE_PROPSHEET" = "yes"; then
25312 cat >>confdefs.h
<<\EOF
25313 #define wxUSE_PROPSHEET 1
25317 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS proplist"
25320 if test "$wxUSE_RADIOBOX" = "yes"; then
25321 cat >>confdefs.h
<<\EOF
25322 #define wxUSE_RADIOBOX 1
25328 if test "$wxUSE_RADIOBTN" = "yes"; then
25329 cat >>confdefs.h
<<\EOF
25330 #define wxUSE_RADIOBTN 1
25336 if test "$wxUSE_SASH" = "yes"; then
25337 cat >>confdefs.h
<<\EOF
25338 #define wxUSE_SASH 1
25341 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
25344 if test "$wxUSE_SCROLLBAR" = "yes"; then
25345 cat >>confdefs.h
<<\EOF
25346 #define wxUSE_SCROLLBAR 1
25350 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
25353 if test "$wxUSE_SLIDER" = "yes"; then
25354 cat >>confdefs.h
<<\EOF
25355 #define wxUSE_SLIDER 1
25361 if test "$wxUSE_SPINBTN" = "yes"; then
25362 cat >>confdefs.h
<<\EOF
25363 #define wxUSE_SPINBTN 1
25369 if test "$wxUSE_SPINCTRL" = "yes"; then
25370 cat >>confdefs.h
<<\EOF
25371 #define wxUSE_SPINCTRL 1
25377 if test "$wxUSE_SPLITTER" = "yes"; then
25378 cat >>confdefs.h
<<\EOF
25379 #define wxUSE_SPLITTER 1
25382 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
25385 if test "$wxUSE_STATBMP" = "yes"; then
25386 cat >>confdefs.h
<<\EOF
25387 #define wxUSE_STATBMP 1
25393 if test "$wxUSE_STATBOX" = "yes"; then
25394 cat >>confdefs.h
<<\EOF
25395 #define wxUSE_STATBOX 1
25401 if test "$wxUSE_STATTEXT" = "yes"; then
25402 cat >>confdefs.h
<<\EOF
25403 #define wxUSE_STATTEXT 1
25409 if test "$wxUSE_STATLINE" = "yes"; then
25410 if test "$wxUSE_WINE" = 1 ; then
25411 { echo "$as_me:25411: WARNING: wxStaticLine is not supported under WINE" >&5
25412 echo "$as_me: WARNING: wxStaticLine is not supported under WINE" >&2;}
25414 cat >>confdefs.h
<<\EOF
25415 #define wxUSE_STATLINE 1
25422 if test "$wxUSE_STATUSBAR" = "yes"; then
25423 cat >>confdefs.h
<<\EOF
25424 #define wxUSE_STATUSBAR 1
25429 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
25432 if test "$wxUSE_TABDIALOG" = "yes"; then
25433 cat >>confdefs.h
<<\EOF
25434 #define wxUSE_TAB_DIALOG 1
25437 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
25440 if test "$wxUSE_TEXTCTRL" = "yes"; then
25441 cat >>confdefs.h
<<\EOF
25442 #define wxUSE_TEXTCTRL 1
25446 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
25449 if test "$wxUSE_TOGGLEBTN" = "yes"; then
25450 if test "$wxUSE_MAC" = 1; then
25451 { echo "$as_me:25451: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
25452 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
25455 if test "$wxUSE_UNIVERSAL" = "yes"; then
25456 { echo "$as_me:25456: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
25457 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
25461 if test "$wxUSE_TOGGLEBTN" = "yes"; then
25462 cat >>confdefs.h
<<\EOF
25463 #define wxUSE_TOGGLEBTN 1
25470 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
25471 cat >>confdefs.h
<<\EOF
25472 #define wxUSE_TOOLBAR_SIMPLE 1
25475 wxUSE_TOOLBAR
="yes"
25479 if test "$wxUSE_TOOLBAR" = "yes"; then
25480 cat >>confdefs.h
<<\EOF
25481 #define wxUSE_TOOLBAR 1
25486 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
25487 wxUSE_TOOLBAR_NATIVE
="yes"
25490 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
25491 cat >>confdefs.h
<<\EOF
25492 #define wxUSE_TOOLBAR_NATIVE 1
25498 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
25501 if test "$wxUSE_TOOLTIPS" = "yes"; then
25502 if test "$wxUSE_MOTIF" = 1; then
25503 { echo "$as_me:25503: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
25504 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
25506 if test "$wxUSE_WINE" = 1; then
25507 { echo "$as_me:25507: WARNING: wxTooltip not supported under WINE... disabled" >&5
25508 echo "$as_me: WARNING: wxTooltip not supported under WINE... disabled" >&2;}
25510 if test "$wxUSE_UNIVERSAL" = "yes"; then
25511 { echo "$as_me:25511: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
25512 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
25514 cat >>confdefs.h
<<\EOF
25515 #define wxUSE_TOOLTIPS 1
25523 if test "$wxUSE_TREECTRL" = "yes"; then
25524 if test "$wxUSE_IMAGLIST" = "yes"; then
25525 cat >>confdefs.h
<<\EOF
25526 #define wxUSE_TREECTRL 1
25530 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
25532 { echo "$as_me:25532: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
25533 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
25537 if test "$wxUSE_POPUPWIN" = "yes"; then
25538 if test "$wxUSE_MAC" = 1; then
25539 { echo "$as_me:25539: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
25540 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
25542 if test "$wxUSE_MOTIF" = 1; then
25543 { echo "$as_me:25543: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&5
25544 echo "$as_me: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&2;}
25546 if test "$wxUSE_PM" = 1; then
25547 { echo "$as_me:25547: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
25548 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
25550 cat >>confdefs.h
<<\EOF
25551 #define wxUSE_POPUPWIN 1
25560 if test "$wxUSE_TIPWINDOW" = "yes"; then
25561 if test "$wxUSE_PM" = 1; then
25562 { echo "$as_me:25562: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
25563 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
25565 cat >>confdefs.h
<<\EOF
25566 #define wxUSE_TIPWINDOW 1
25572 if test "$USES_CONTROLS" = 1; then
25573 cat >>confdefs.h
<<\EOF
25574 #define wxUSE_CONTROLS 1
25579 if test "$wxUSE_TREELAYOUT" = "yes"; then
25580 cat >>confdefs.h
<<\EOF
25581 #define wxUSE_TREELAYOUT 1
25584 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treelay"
25587 if test "$wxUSE_DRAGIMAGE" = "yes"; then
25588 cat >>confdefs.h
<<\EOF
25589 #define wxUSE_DRAGIMAGE 1
25592 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
25595 if test "$wxUSE_MENUS" = "yes"; then
25596 cat >>confdefs.h
<<\EOF
25597 #define wxUSE_MENUS 1
25600 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
25603 if test "$wxUSE_METAFILE" = "yes"; then
25604 cat >>confdefs.h
<<\EOF
25605 #define wxUSE_METAFILE 1
25610 if test "$wxUSE_MIMETYPE" = "yes"; then
25611 cat >>confdefs.h
<<\EOF
25612 #define wxUSE_MIMETYPE 1
25617 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
25618 cat >>confdefs.h
<<\EOF
25619 #define wxUSE_SYSTEM_OPTIONS 1
25622 if test "$TOOLKIT" = "MSW"; then
25623 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
25628 if test "$wxUSE_PROTOCOL" = "yes"; then
25629 if test "$wxUSE_SOCKETS" != "yes"; then
25630 { echo "$as_me:25630: WARNING: Protocol classes require sockets... disabled" >&5
25631 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
25635 if test "$wxUSE_PROTOCOL" = "yes"; then
25636 cat >>confdefs.h
<<\EOF
25637 #define wxUSE_PROTOCOL 1
25640 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
25641 cat >>confdefs.h
<<\EOF
25642 #define wxUSE_PROTOCOL_HTTP 1
25646 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
25647 cat >>confdefs.h
<<\EOF
25648 #define wxUSE_PROTOCOL_FTP 1
25652 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
25653 cat >>confdefs.h
<<\EOF
25654 #define wxUSE_PROTOCOL_FILE 1
25661 if test "$wxUSE_URL" = "yes"; then
25662 if test "$wxUSE_PROTOCOL" != "yes"; then
25663 { echo "$as_me:25663: WARNING: wxURL class requires wxProtocol... disabled" >&5
25664 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
25667 if test "$wxUSE_URL" = "yes"; then
25668 cat >>confdefs.h
<<\EOF
25669 #define wxUSE_URL 1
25675 if test "$wxUSE_MINIFRAME" = "yes"; then
25676 cat >>confdefs.h
<<\EOF
25677 #define wxUSE_MINIFRAME 1
25680 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
25683 if test "$wxUSE_HTML" = "yes"; then
25684 cat >>confdefs.h
<<\EOF
25685 #define wxUSE_HTML 1
25688 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
25691 if test "$wxUSE_VALIDATORS" = "yes"; then
25692 cat >>confdefs.h
<<\EOF
25693 #define wxUSE_VALIDATORS 1
25696 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
25699 if test "$wxUSE_PALETTE" = "yes" ; then
25700 cat >>confdefs.h
<<\EOF
25701 #define wxUSE_PALETTE 1
25706 if test "$wxUSE_IMAGE" = "yes" ; then
25707 cat >>confdefs.h
<<\EOF
25708 #define wxUSE_IMAGE 1
25713 if test "$wxUSE_GIF" = "yes" ; then
25714 cat >>confdefs.h
<<\EOF
25715 #define wxUSE_GIF 1
25720 if test "$wxUSE_PCX" = "yes" ; then
25721 cat >>confdefs.h
<<\EOF
25722 #define wxUSE_PCX 1
25727 if test "$wxUSE_IFF" = "yes" ; then
25728 cat >>confdefs.h
<<\EOF
25729 #define wxUSE_IFF 1
25734 if test "$wxUSE_PNM" = "yes" ; then
25735 cat >>confdefs.h
<<\EOF
25736 #define wxUSE_PNM 1
25741 if test "$wxUSE_XPM" = "yes" ; then
25742 cat >>confdefs.h
<<\EOF
25743 #define wxUSE_XPM 1
25748 if test "$wxUSE_ICO_CUR" = "yes" ; then
25749 cat >>confdefs.h
<<\EOF
25750 #define wxUSE_ICO_CUR 1
25755 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
25756 LIBS
=" -lunicows $LIBS"
25759 if test "$wxUSE_CHOICEDLG" = "yes"; then
25760 cat >>confdefs.h
<<\EOF
25761 #define wxUSE_CHOICEDLG 1
25766 if test "$wxUSE_COLOURDLG" = "yes"; then
25767 cat >>confdefs.h
<<\EOF
25768 #define wxUSE_COLOURDLG 1
25773 if test "$wxUSE_FILEDLG" = "yes"; then
25774 cat >>confdefs.h
<<\EOF
25775 #define wxUSE_FILEDLG 1
25780 if test "$wxUSE_FINDREPLDLG" = "yes"; then
25781 cat >>confdefs.h
<<\EOF
25782 #define wxUSE_FINDREPLDLG 1
25787 if test "$wxUSE_FONTDLG" = "yes"; then
25788 cat >>confdefs.h
<<\EOF
25789 #define wxUSE_FONTDLG 1
25794 if test "$wxUSE_DIRDLG" = "yes"; then
25795 if test "$wxUSE_TREECTRL" != "yes"; then
25796 { echo "$as_me:25796: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
25797 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
25799 cat >>confdefs.h
<<\EOF
25800 #define wxUSE_DIRDLG 1
25806 if test "$wxUSE_MSGDLG" = "yes"; then
25807 cat >>confdefs.h
<<\EOF
25808 #define wxUSE_MSGDLG 1
25813 if test "$wxUSE_NUMBERDLG" = "yes"; then
25814 cat >>confdefs.h
<<\EOF
25815 #define wxUSE_NUMBERDLG 1
25820 if test "$wxUSE_PROGRESSDLG" = "yes"; then
25821 if test "$wxUSE_CONSTRAINTS" != "yes"; then
25822 { echo "$as_me:25822: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
25823 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
25825 cat >>confdefs.h
<<\EOF
25826 #define wxUSE_PROGRESSDLG 1
25832 if test "$wxUSE_SPLASH" = "yes"; then
25833 cat >>confdefs.h
<<\EOF
25834 #define wxUSE_SPLASH 1
25839 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
25840 if test "$wxUSE_CONSTRAINTS" != "yes"; then
25841 { echo "$as_me:25841: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
25842 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
25844 cat >>confdefs.h
<<\EOF
25845 #define wxUSE_STARTUP_TIPS 1
25851 if test "$wxUSE_TEXTDLG" = "yes"; then
25852 cat >>confdefs.h
<<\EOF
25853 #define wxUSE_TEXTDLG 1
25858 if test "$wxUSE_WIZARDDLG" = "yes"; then
25859 cat >>confdefs.h
<<\EOF
25860 #define wxUSE_WIZARDDLG 1
25863 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
25866 if test "$cross_compiling" = "yes"; then
25869 OSINFO
=`uname -s -r -m`
25870 OSINFO
="\"$OSINFO\""
25873 cat >>confdefs.h
<<EOF
25874 #define WXWIN_OS_DESCRIPTION $OSINFO
25877 if test "x$prefix" != "xNONE"; then
25880 wxPREFIX
=$ac_default_prefix
25883 cat >>confdefs.h
<<EOF
25884 #define wxINSTALL_PREFIX "$wxPREFIX"
25887 if test "$wxUSE_MAC" = 1 ; then
25888 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
25891 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK -lm $LIBS"
25893 if test "$wxUSE_GUI" = "yes"; then
25895 LIBS
="$GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $LIBS"
25897 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
25898 drawing dynamic erase event exec font image \
25899 minimal propsize rotate widgets"
25901 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
25903 SAMPLES_SUBDIRS
="console"
25906 INCLUDES
="-I\${top_builddir}/lib/wx/include/${TOOLCHAIN_NAME} \
25907 -I\${top_srcdir}/include \
25908 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
25911 if test "$wxUSE_GTK" = 1; then
25914 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
25917 if test "$GXX" = yes ; then
25918 CXXWARNINGS
="-Wall"
25920 if test "$wxUSE_NO_DEPS" = "no" ; then
25921 CFLAGS
="-MMD $CFLAGS"
25922 CXXFLAGS
="-MMD $CXXFLAGS"
25926 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
25928 CFLAGS
=`echo $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
25929 CXXFLAGS
=`echo $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
25930 LIBS
=`echo $LIBS | sed 's/ \+/ /g'`
25932 LDFLAGS
="$LDFLAGS $PROFILE"
25934 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
25936 echo "$as_me:25936: checking whether ${MAKE-make} sets \${MAKE}" >&5
25937 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
25938 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
25939 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
25940 echo $ECHO_N "(cached) $ECHO_C" >&6
25942 cat >conftest.
make <<\EOF
25944 @
echo 'ac_maketemp="${MAKE}"'
25946 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
25947 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
25948 if test -n "$ac_maketemp"; then
25949 eval ac_cv_prog_make_
${ac_make}_set
=yes
25951 eval ac_cv_prog_make_
${ac_make}_set
=no
25953 rm -f conftest.
make
25955 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
25956 echo "$as_me:25956: result: yes" >&5
25957 echo "${ECHO_T}yes" >&6
25960 echo "$as_me:25960: result: no" >&5
25961 echo "${ECHO_T}no" >&6
25962 SET_MAKE
="MAKE=${MAKE-make}"
25965 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
25966 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
25969 ac_config_headers
="$ac_config_headers setup.h:setup.h.in"
25971 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
25972 wx_cv_if_gnu_make
=$IF_GNU_MAKE
25973 wx_cv_path_ifs
=$PATH_IFS
25974 wx_cv_program_ext
=$PROGRAM_EXT
25975 wx_cv_target_library
=$WX_TARGET_LIBRARY
25976 wx_cv_target_library_gl
=$WX_TARGET_LIBRARY_GL
25977 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
25978 export wx_cv_path_samplesubdirs wx_cv_if_gnu_make \
25979 wx_cv_path_ifs wx_cv_program_ext \
25980 wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype
25982 subdirs
="$subdirs demos samples utils contrib"
25984 ac_config_files
="$ac_config_files wx-config src/make.env src/makeprog.env src/makelib.env Makefile"
25985 ac_config_commands
="$ac_config_commands default"
25986 cat >confcache
<<\_ACEOF
25987 # This file is a shell script that caches the results of configure
25988 # tests run on this system so they can be shared between configure
25989 # scripts and configure runs, see configure's option --config-cache.
25990 # It is not useful on other systems. If it contains results you don't
25991 # want to keep, you may remove or edit it.
25993 # config.status only pays attention to the cache file if you give it
25994 # the --recheck option to rerun configure.
25996 # `ac_cv_env_foo' variables (set or unset) will be overriden when
25997 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25998 # following values.
26002 # The following way of writing the cache mishandles newlines in values,
26003 # but we know of no workaround that is simple, portable, and efficient.
26004 # So, don't put newlines in cache variables' values.
26005 # Ultrix sh set writes to stderr and can't be redirected directly,
26006 # and sets the high bit in the cache file unless we assign to the vars.
26009 case `(ac_space=' '; set | grep ac_space) 2>&1` in
26011 # `set' does not quote correctly, so add quotes (double-quote
26012 # substitution turns \\\\ into \\, and sed turns \\ into \).
26015 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26018 # `set' quotes correctly as required by POSIX, so do not add quotes.
26020 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
26027 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26029 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26031 if cmp -s $cache_file confcache
; then :; else
26032 if test -w $cache_file; then
26033 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
26034 cat confcache
>$cache_file
26036 echo "not updating unwritable cache $cache_file"
26041 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
26042 # Let make expand exec_prefix.
26043 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
26045 # VPATH may cause trouble with some makes, so we remove $(srcdir),
26046 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
26047 # trailing colons and then remove the whole line if VPATH becomes empty
26048 # (actually we leave an empty line to preserve line numbers).
26049 if test "x$srcdir" = x.
; then
26050 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
26051 s/:*\$(srcdir):*/:/;
26052 s/:*\${srcdir}:*/:/;
26054 s/^\([^=]*=[ ]*\):*/\1/;
26060 DEFS
=-DHAVE_CONFIG_H
26062 : ${CONFIG_STATUS=./config.status}
26063 ac_clean_files_save
=$ac_clean_files
26064 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
26065 { echo "$as_me:26065: creating $CONFIG_STATUS" >&5
26066 echo "$as_me: creating $CONFIG_STATUS" >&6;}
26067 cat >$CONFIG_STATUS <<_ACEOF
26069 # Generated automatically by configure.
26070 # Run this file to recreate the current configuration.
26071 # Compiler output produced by configure, useful for debugging
26072 # configure, is in config.log if it exists.
26075 SHELL=\${CONFIG_SHELL-$SHELL}
26076 ac_cs_invocation="\$0 \$@"
26080 cat >>$CONFIG_STATUS <<\_ACEOF
26081 # Be Bourne compatible
26082 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
26085 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
26089 # Name of the executable.
26090 as_me
=`echo "$0" |sed 's,.*[\\/],,'`
26092 if expr a
: '\(a\)' >/dev
/null
2>&1; then
26098 rm -f conf$$ conf$$.exe conf$$.
file
26100 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
26101 # We could just check for DJGPP; but this test a) works b) is more generic
26102 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
26103 if test -f conf$$.exe
; then
26104 # Don't use ln at all; we don't have any links
26109 elif ln conf$$.
file conf$$
2>/dev
/null
; then
26114 rm -f conf$$ conf$$.exe conf$$.
file
26116 as_executable_p
="test -f"
26118 # Support unset when possible.
26119 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
26126 $as_unset LANG
|| test "${LANG+set}" != set || { LANG
=C
; export LANG
; }
26127 $as_unset LC_ALL
|| test "${LC_ALL+set}" != set || { LC_ALL
=C
; export LC_ALL
; }
26128 $as_unset LC_TIME
|| test "${LC_TIME+set}" != set || { LC_TIME
=C
; export LC_TIME
; }
26129 $as_unset LC_CTYPE
|| test "${LC_CTYPE+set}" != set || { LC_CTYPE
=C
; export LC_CTYPE
; }
26130 $as_unset LANGUAGE
|| test "${LANGUAGE+set}" != set || { LANGUAGE
=C
; export LANGUAGE
; }
26131 $as_unset LC_COLLATE
|| test "${LC_COLLATE+set}" != set || { LC_COLLATE
=C
; export LC_COLLATE
; }
26132 $as_unset LC_NUMERIC
|| test "${LC_NUMERIC+set}" != set || { LC_NUMERIC
=C
; export LC_NUMERIC
; }
26133 $as_unset LC_MESSAGES
|| test "${LC_MESSAGES+set}" != set || { LC_MESSAGES
=C
; export LC_MESSAGES
; }
26136 # We need space, tab and new line, in precisely that order.
26142 $as_unset CDPATH
|| test "${CDPATH+set}" != set || { CDPATH
=:; export CDPATH
; }
26148 # Files that config.status was made for.
26149 if test -n "$ac_config_files"; then
26150 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
26153 if test -n "$ac_config_headers"; then
26154 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
26157 if test -n "$ac_config_links"; then
26158 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
26161 if test -n "$ac_config_commands"; then
26162 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
26165 cat >>$CONFIG_STATUS <<\EOF
26168 \`$as_me' instantiates files from templates according to the
26169 current configuration.
26171 Usage: $0 [OPTIONS] [FILE]...
26173 -h, --help print this help, then exit
26174 -V, --version print version number, then exit
26175 -d, --debug don't remove temporary files
26176 --recheck update $as_me by reconfiguring in the same conditions
26177 --file=FILE[:TEMPLATE]
26178 instantiate the configuration file FILE
26179 --header=FILE[:TEMPLATE]
26180 instantiate the configuration header FILE
26182 Configuration files:
26185 Configuration headers:
26188 Configuration commands:
26191 Report bugs to <bug-autoconf@gnu.org>."
26194 cat >>$CONFIG_STATUS <<EOF
26197 configured by $0, generated by GNU Autoconf 2.52,
26198 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
26200 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
26201 Free Software Foundation, Inc.
26202 This config.status script is free software; the Free Software Foundation
26203 gives unlimited permission to copy, distribute and modify it."
26208 cat >>$CONFIG_STATUS <<\EOF
26209 # If no file are specified by the user, then we need to provide default
26210 # value. By we need to know if files were specified by the user.
26216 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
26217 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
26219 set dummy
"$ac_option" "$ac_optarg" ${1+"$@"}
26223 *) # This is not an option, so the user has probably given explicit
26225 ac_need_defaults
=false
;;
26229 # Handling of the options.
26231 cat >>$CONFIG_STATUS <<EOF
26232 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
26233 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
26234 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
26236 cat >>$CONFIG_STATUS <<\EOF
26237 --version | --vers* | -V )
26238 echo "$ac_cs_version"; exit 0 ;;
26240 # Conflict between --help and --header
26241 { { echo "$as_me:26241: error: ambiguous option: $1
26242 Try \`$0 --help' for more information." >&5
26243 echo "$as_me: error: ambiguous option: $1
26244 Try \`$0 --help' for more information." >&2;}
26245 { (exit 1); exit 1; }; };;
26246 --help | --hel | -h )
26247 echo "$ac_cs_usage"; exit 0 ;;
26248 --debug | --d* | -d )
26250 --file | --fil | --fi | --f )
26252 CONFIG_FILES
="$CONFIG_FILES $1"
26253 ac_need_defaults
=false
;;
26254 --header | --heade | --head | --hea )
26256 CONFIG_HEADERS
="$CONFIG_HEADERS $1"
26257 ac_need_defaults
=false
;;
26259 # This is an error.
26260 -*) { { echo "$as_me:26260: error: unrecognized option: $1
26261 Try \`$0 --help' for more information." >&5
26262 echo "$as_me: error: unrecognized option: $1
26263 Try \`$0 --help' for more information." >&2;}
26264 { (exit 1); exit 1; }; } ;;
26266 *) ac_config_targets
="$ac_config_targets $1" ;;
26275 ## ----------------------- ##
26276 ## Running config.status. ##
26277 ## ----------------------- ##
26279 This file was extended by $as_me 2.52, executed with
26280 CONFIG_FILES = $CONFIG_FILES
26281 CONFIG_HEADERS = $CONFIG_HEADERS
26282 CONFIG_LINKS = $CONFIG_LINKS
26283 CONFIG_COMMANDS = $CONFIG_COMMANDS
26284 > $ac_cs_invocation
26285 on `(hostname || uname -n) 2>/dev/null | sed 1q`
26290 cat >>$CONFIG_STATUS <<EOF
26292 # INIT-COMMANDS section.
26295 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
26300 cat >>$CONFIG_STATUS <<\EOF
26301 for ac_config_target
in $ac_config_targets
26303 case "$ac_config_target" in
26304 # Handling of arguments.
26305 "wx-config" ) CONFIG_FILES
="$CONFIG_FILES wx-config" ;;
26306 "src/make.env" ) CONFIG_FILES
="$CONFIG_FILES src/make.env" ;;
26307 "src/makeprog.env" ) CONFIG_FILES
="$CONFIG_FILES src/makeprog.env" ;;
26308 "src/makelib.env" ) CONFIG_FILES
="$CONFIG_FILES src/makelib.env" ;;
26309 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
26310 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
26311 "setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS setup.h:setup.h.in" ;;
26312 *) { { echo "$as_me:26312: error: invalid argument: $ac_config_target" >&5
26313 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
26314 { (exit 1); exit 1; }; };;
26318 # If the user did not use the arguments to specify the items to instantiate,
26319 # then the envvar interface is used. Set only those that are not.
26320 # We use the long form for the default assignment because of an extremely
26321 # bizarre bug on SunOS 4.1.3.
26322 if $ac_need_defaults; then
26323 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
26324 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
26325 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
26328 # Create a temporary directory, and hook for its removal unless debugging.
26331 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
26332 trap '{ (exit 1); exit 1; }' 1 2 13 15
26335 # Create a (secure) tmp directory for tmp files.
26338 tmp
=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
26339 test -n "$tmp" && test -d "$tmp"
26342 tmp
=$TMPDIR/cs$$
-$RANDOM
26343 (umask 077 && mkdir $tmp)
26346 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
26347 { (exit 1); exit 1; }
26352 cat >>$CONFIG_STATUS <<EOF
26355 # CONFIG_FILES section.
26358 # No need to generate the scripts if there are no CONFIG_FILES.
26359 # This happens for instance when ./config.status config.h
26360 if test -n "\$CONFIG_FILES"; then
26361 # Protect against being on the right side of a sed subst in config.status.
26362 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
26363 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
26364 s,@SHELL@,$SHELL,;t t
26365 s,@exec_prefix@,$exec_prefix,;t t
26366 s,@prefix@,$prefix,;t t
26367 s,@program_transform_name@,$program_transform_name,;t t
26368 s,@bindir@,$bindir,;t t
26369 s,@sbindir@,$sbindir,;t t
26370 s,@libexecdir@,$libexecdir,;t t
26371 s,@datadir@,$datadir,;t t
26372 s,@sysconfdir@,$sysconfdir,;t t
26373 s,@sharedstatedir@,$sharedstatedir,;t t
26374 s,@localstatedir@,$localstatedir,;t t
26375 s,@libdir@,$libdir,;t t
26376 s,@includedir@,$includedir,;t t
26377 s,@oldincludedir@,$oldincludedir,;t t
26378 s,@infodir@,$infodir,;t t
26379 s,@mandir@,$mandir,;t t
26380 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
26381 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
26382 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
26383 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
26384 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
26385 s,@build_alias@,$build_alias,;t t
26386 s,@host_alias@,$host_alias,;t t
26387 s,@target_alias@,$target_alias,;t t
26388 s,@ECHO_C@,$ECHO_C,;t t
26389 s,@ECHO_N@,$ECHO_N,;t t
26390 s,@ECHO_T@,$ECHO_T,;t t
26391 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
26392 s,@DEFS@,$DEFS,;t t
26393 s,@LIBS@,$LIBS,;t t
26394 s,@build@,$build,;t t
26395 s,@build_cpu@,$build_cpu,;t t
26396 s,@build_vendor@,$build_vendor,;t t
26397 s,@build_os@,$build_os,;t t
26398 s,@host@,$host,;t t
26399 s,@host_cpu@,$host_cpu,;t t
26400 s,@host_vendor@,$host_vendor,;t t
26401 s,@host_os@,$host_os,;t t
26402 s,@target@,$target,;t t
26403 s,@target_cpu@,$target_cpu,;t t
26404 s,@target_vendor@,$target_vendor,;t t
26405 s,@target_os@,$target_os,;t t
26407 s,@CFLAGS@,$CFLAGS,;t t
26408 s,@LDFLAGS@,$LDFLAGS,;t t
26409 s,@CPPFLAGS@,$CPPFLAGS,;t t
26410 s,@ac_ct_CC@,$ac_ct_CC,;t t
26411 s,@EXEEXT@,$EXEEXT,;t t
26412 s,@OBJEXT@,$OBJEXT,;t t
26415 s,@CXXFLAGS@,$CXXFLAGS,;t t
26416 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
26417 s,@RANLIB@,$RANLIB,;t t
26418 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
26420 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
26421 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
26422 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
26423 s,@STRIP@,$STRIP,;t t
26424 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
26425 s,@YACC@,$YACC,;t t
26427 s,@LEXLIB@,$LEXLIB,;t t
26428 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
26429 s,@LN_S@,$LN_S,;t t
26430 s,@CXXCPP@,$CXXCPP,;t t
26431 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
26432 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
26433 s,@GTK_LIBS@,$GTK_LIBS,;t t
26434 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
26435 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
26436 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
26437 s,@X_CFLAGS@,$X_CFLAGS,;t t
26438 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
26439 s,@X_LIBS@,$X_LIBS,;t t
26440 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
26441 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
26442 s,@RESCOMP@,$RESCOMP,;t t
26443 s,@DEREZ@,$DEREZ,;t t
26444 s,@LIBICONV@,$LIBICONV,;t t
26445 s,@LEX_STEM@,$LEX_STEM,;t t
26446 s,@PATH_IFS@,$PATH_IFS,;t t
26447 s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
26448 s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
26449 s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
26450 s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
26451 s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
26452 s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
26453 s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
26454 s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
26455 s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
26456 s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
26457 s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
26458 s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
26459 s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
26460 s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
26461 s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
26462 s,@WX_ALL@,$WX_ALL,;t t
26463 s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
26464 s,@SHARED_LD@,$SHARED_LD,;t t
26465 s,@PIC_FLAG@,$PIC_FLAG,;t t
26466 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
26467 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
26468 s,@SONAME_FLAGS@,$SONAME_FLAGS,;t t
26469 s,@SONAME_FLAGS_GL@,$SONAME_FLAGS_GL,;t t
26470 s,@WX_TARGET_LIBRARY_SONAME@,$WX_TARGET_LIBRARY_SONAME,;t t
26471 s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
26472 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
26473 s,@USE_GUI@,$USE_GUI,;t t
26474 s,@AFMINSTALL@,$AFMINSTALL,;t t
26475 s,@TOOLKIT@,$TOOLKIT,;t t
26476 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
26477 s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
26478 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
26479 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
26480 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
26481 s,@cross_compiling@,$cross_compiling,;t t
26482 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
26483 s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
26484 s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
26485 s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
26486 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
26487 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
26488 s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
26489 s,@ALL_HEADERS@,$ALL_HEADERS,;t t
26490 s,@ALL_SOURCES@,$ALL_SOURCES,;t t
26491 s,@GUIDIST@,$GUIDIST,;t t
26492 s,@PORT_FILES@,$PORT_FILES,;t t
26493 s,@DISTDIR@,$DISTDIR,;t t
26494 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
26495 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
26496 s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
26497 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
26498 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
26499 s,@EXTRADEFS@,$EXTRADEFS,;t t
26500 s,@RESFLAGS@,$RESFLAGS,;t t
26501 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
26502 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
26503 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
26504 s,@MACOSX_BUNDLE@,$MACOSX_BUNDLE,;t t
26505 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
26506 s,@LIBWXMACRESCOMP@,$LIBWXMACRESCOMP,;t t
26507 s,@LIBWXMACRESWXCONFIG@,$LIBWXMACRESWXCONFIG,;t t
26508 s,@DLLTOOL@,$DLLTOOL,;t t
26512 s,@MAKEINFO@,$MAKEINFO,;t t
26513 s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
26514 s,@SET_MAKE@,$SET_MAKE,;t t
26515 s,@subdirs@,$subdirs,;t t
26520 cat >>$CONFIG_STATUS <<\EOF
26521 # Split the substitutions into bite-sized pieces for seds with
26522 # small command number limits, like on Digital OSF/1 and HP-UX.
26523 ac_max_sed_lines
=48
26524 ac_sed_frag
=1 # Number of current file.
26525 ac_beg
=1 # First line for current file.
26526 ac_end
=$ac_max_sed_lines # Line after last line for current file.
26529 while $ac_more_lines; do
26530 if test $ac_beg -gt 1; then
26531 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
26533 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
26535 if test ! -s $tmp/subs.frag
; then
26536 ac_more_lines
=false
26538 # The purpose of the label and of the branching condition is to
26539 # speed up the sed processing (if there are no `@' at all, there
26540 # is no need to browse any of the substitutions).
26541 # These are the two extra sed commands mentioned above.
26543 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
26544 if test -z "$ac_sed_cmds"; then
26545 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
26547 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
26549 ac_sed_frag
=`expr $ac_sed_frag + 1`
26551 ac_end
=`expr $ac_end + $ac_max_sed_lines`
26554 if test -z "$ac_sed_cmds"; then
26557 fi # test -n "$CONFIG_FILES"
26560 cat >>$CONFIG_STATUS <<\EOF
26561 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
26562 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
26564 - | *:- | *:-:* ) # input from stdin
26566 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
26567 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
26568 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
26569 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
26570 * ) ac_file_in
=$ac_file.
in ;;
26573 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
26574 ac_dir
=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26575 X"$ac_file" : 'X\(//\)[^/]' \| \
26576 X"$ac_file" : 'X\(//\)$' \| \
26577 X"$ac_file" : 'X\(/\)' \| \
26578 . : '\(.\)' 2>/dev/null ||
26580 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26581 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
26582 /^X\(\/\/\)$/{ s//\1/; q; }
26583 /^X\(\/\).*/{ s//\1/; q; }
26585 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
26586 { case "$ac_dir" in
26587 [\\/]* | ?
:[\\/]* ) as_incr_dir
=;;
26591 for as_mkdir_dir
in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
26592 case $as_mkdir_dir in
26593 # Skip DOS drivespec
26594 ?
:) as_incr_dir
=$as_mkdir_dir ;;
26596 as_incr_dir
=$as_incr_dir/$as_mkdir_dir
26597 test -d "$as_incr_dir" || mkdir "$as_incr_dir"
26602 ac_dir_suffix
="/`echo $ac_dir|sed 's,^\./,,'`"
26603 # A "../" for each directory in $ac_dir_suffix.
26604 ac_dots
=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
26606 ac_dir_suffix
= ac_dots
=
26611 if test -z "$ac_dots"; then
26614 ac_top_srcdir
=`echo $ac_dots | sed 's,/$,,'`
26616 [\\/]* | ?
:[\\/]* )
26617 ac_srcdir
=$srcdir$ac_dir_suffix;
26618 ac_top_srcdir
=$srcdir ;;
26619 *) # Relative path.
26620 ac_srcdir
=$ac_dots$srcdir$ac_dir_suffix
26621 ac_top_srcdir
=$ac_dots$srcdir ;;
26625 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
26626 *) ac_INSTALL
=$ac_dots$INSTALL ;;
26629 if test x
"$ac_file" != x
-; then
26630 { echo "$as_me:26630: creating $ac_file" >&5
26631 echo "$as_me: creating $ac_file" >&6;}
26634 # Let's still pretend it is `configure' which instantiates (i.e., don't
26635 # use $as_me), people would be surprised to read:
26636 # /* config.h. Generated automatically by config.status. */
26637 configure_input
="Generated automatically from `echo $ac_file_in |
26638 sed 's,.*/,,'` by configure."
26640 # First look for the input files in the build tree, otherwise in the
26642 ac_file_inputs
=`IFS=:
26643 for f in $ac_file_in; do
26645 -) echo $tmp/stdin ;;
26647 # Absolute (can't be DOS-style, as IFS=:)
26648 test -f "$f" || { { echo "$as_me:26648: error: cannot find input file: $f" >&5
26649 echo "$as_me: error: cannot find input file: $f" >&2;}
26650 { (exit 1); exit 1; }; }
26653 if test -f "$f"; then
26656 elif test -f "$srcdir/$f"; then
26661 { { echo "$as_me:26661: error: cannot find input file: $f" >&5
26662 echo "$as_me: error: cannot find input file: $f" >&2;}
26663 { (exit 1); exit 1; }; }
26666 done` || { (exit 1); exit 1; }
26668 cat >>$CONFIG_STATUS <<EOF
26672 cat >>$CONFIG_STATUS <<\EOF
26674 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
26675 s
,@configure_input@
,$configure_input,;t t
26676 s
,@srcdir@
,$ac_srcdir,;t t
26677 s
,@top_srcdir@
,$ac_top_srcdir,;t t
26678 s
,@INSTALL@
,$ac_INSTALL,;t t
26679 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
26681 if test x"$ac_file" != x-; then
26682 mv $tmp/out $ac_file
26690 cat >>$CONFIG_STATUS <<\EOF
26693 # CONFIG_HEADER section.
26696 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
26697 # NAME is the cpp macro being defined and VALUE is the value it is being given.
26699 # ac_d sets the value in "#define NAME VALUE" lines.
26700 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
26701 ac_dB
='[ ].*$,\1#\2'
26704 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
26705 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
26706 ac_uB
='$,\1#\2define\3'
26710 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
26711 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
26713 - | *:- | *:-:* ) # input from stdin
26715 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
26716 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
26717 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
26718 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
26719 * ) ac_file_in
=$ac_file.
in ;;
26722 test x
"$ac_file" != x
- && { echo "$as_me:26722: creating $ac_file" >&5
26723 echo "$as_me: creating $ac_file" >&6;}
26725 # First look for the input files in the build tree, otherwise in the
26727 ac_file_inputs
=`IFS=:
26728 for f in $ac_file_in; do
26730 -) echo $tmp/stdin ;;
26732 # Absolute (can't be DOS-style, as IFS=:)
26733 test -f "$f" || { { echo "$as_me:26733: error: cannot find input file: $f" >&5
26734 echo "$as_me: error: cannot find input file: $f" >&2;}
26735 { (exit 1); exit 1; }; }
26738 if test -f "$f"; then
26741 elif test -f "$srcdir/$f"; then
26746 { { echo "$as_me:26746: error: cannot find input file: $f" >&5
26747 echo "$as_me: error: cannot find input file: $f" >&2;}
26748 { (exit 1); exit 1; }; }
26751 done` || { (exit 1); exit 1; }
26752 # Remove the trailing spaces.
26753 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
26757 # Transform confdefs.h into two sed scripts, `conftest.defines' and
26758 # `conftest.undefs', that substitutes the proper values into
26759 # config.h.in to produce config.h. The first handles `#define'
26760 # templates, and the second `#undef' templates.
26761 # And first: Protect against being on the right side of a sed subst in
26762 # config.status. Protect against being in an unquoted here document
26763 # in config.status.
26764 rm -f conftest.defines conftest.undefs
26765 # Using a here document instead of a string reduces the quoting nightmare.
26766 # Putting comments in sed scripts is not portable.
26768 # `end' is used to avoid that the second main sed command (meant for
26769 # 0-ary CPP macros) applies to n-ary macro definitions.
26770 # See the Autoconf documentation for `clear'.
26771 cat >confdef2sed.
sed <<\EOF
26776 s,^[ ]*#[ ]*define[ ][ ]*\(\([^ (][^ (]*\)([^)]*)\)[ ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
26778 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
26781 # If some macros were called several times there might be several times
26782 # the same #defines, which is useless. Nevertheless, we may not want to
26783 # sort them, since we want the *last* AC-DEFINE to be honored.
26784 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
26785 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
26786 rm -f confdef2sed.sed
26788 # This sed command replaces #undef with comments. This is necessary, for
26789 # example, in the case of _POSIX_SOURCE, which is predefined and required
26790 # on some systems where configure will not decide to define it.
26791 cat >>conftest.undefs <<\EOF
26792 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
26795 # Break up conftest.defines because some shells have a limit on the size
26796 # of here documents, and old seds have small limits too (100 cmds).
26797 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
26798 echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
26799 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
26800 echo ' :' >>$CONFIG_STATUS
26801 rm -f conftest.tail
26802 while grep . conftest.defines >/dev/null
26804 # Write a limited-size here document to $tmp/defines.sed.
26805 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
26806 # Speed up: don't consider the non `#define' lines.
26807 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
26808 # Work around the forget-to-reset-the-flag bug.
26809 echo 't clr' >>$CONFIG_STATUS
26810 echo ': clr' >>$CONFIG_STATUS
26811 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
26813 sed -f $tmp/defines.sed $tmp/in >$tmp/out
26815 mv $tmp/out $tmp/in
26817 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
26818 rm -f conftest.defines
26819 mv conftest.
tail conftest.defines
26821 rm -f conftest.defines
26822 echo ' fi # egrep' >>$CONFIG_STATUS
26823 echo >>$CONFIG_STATUS
26825 # Break up conftest.undefs because some shells have a limit on the size
26826 # of here documents, and old seds have small limits too (100 cmds).
26827 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
26828 rm -f conftest.
tail
26829 while grep . conftest.undefs
>/dev
/null
26831 # Write a limited-size here document to $tmp/undefs.sed.
26832 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
26833 # Speed up: don't consider the non
`#undef'
26834 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
26835 # Work around the forget-to-reset-the-flag bug.
26836 echo 't clr' >>$CONFIG_STATUS
26837 echo ': clr' >>$CONFIG_STATUS
26838 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
26840 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
26842 mv $tmp/out $tmp/in
26844 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
26845 rm -f conftest.undefs
26846 mv conftest.tail conftest.undefs
26848 rm -f conftest.undefs
26850 cat >>$CONFIG_STATUS <<\EOF
26851 # Let's still pretend it is `configure
' which instantiates (i.e., don't
26852 # use $as_me), people would be surprised to read:
26853 # /* config.h. Generated automatically by config.status. */
26854 if test x
"$ac_file" = x
-; then
26855 echo "/* Generated automatically by configure. */" >$tmp/config.h
26857 echo "/* $ac_file. Generated automatically by configure. */" >$tmp/config.h
26859 cat $tmp/in >>$tmp/config.h
26861 if test x
"$ac_file" != x
-; then
26862 if cmp -s $ac_file $tmp/config.h
2>/dev
/null
; then
26863 { echo "$as_me:26863: $ac_file is unchanged" >&5
26864 echo "$as_me: $ac_file is unchanged" >&6;}
26866 ac_dir
=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26867 X"$ac_file" : 'X\(//\)[^/]' \| \
26868 X"$ac_file" : 'X\(//\)$' \| \
26869 X"$ac_file" : 'X\(/\)' \| \
26870 . : '\(.\)' 2>/dev/null ||
26872 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26873 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
26874 /^X\(\/\/\)$/{ s//\1/; q; }
26875 /^X\(\/\).*/{ s//\1/; q; }
26877 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
26878 { case "$ac_dir" in
26879 [\\/]* | ?
:[\\/]* ) as_incr_dir
=;;
26883 for as_mkdir_dir
in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
26884 case $as_mkdir_dir in
26885 # Skip DOS drivespec
26886 ?
:) as_incr_dir
=$as_mkdir_dir ;;
26888 as_incr_dir
=$as_incr_dir/$as_mkdir_dir
26889 test -d "$as_incr_dir" || mkdir "$as_incr_dir"
26896 mv $tmp/config.h
$ac_file
26900 rm -f $tmp/config.h
26904 cat >>$CONFIG_STATUS <<\EOF
26907 # CONFIG_COMMANDS section.
26909 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
26910 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
26911 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
26915 if test ! -h wx
-config; then
26917 mv wx
-config wx
${TOOLCHAIN_NAME}-config
26918 ${LN_S} wx
${TOOLCHAIN_NAME}-config wx
-config
26921 if test ! -d lib
; then
26924 if test ! -d lib
/wx
; then
26927 if test ! -d lib
/wx
/include
; then
26928 mkdir lib
/wx
/include
26930 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}; then
26931 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}
26933 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
; then
26934 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
26936 if test -f setup.h
; then
26937 mv -f setup.h lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
26944 cat >>$CONFIG_STATUS <<\EOF
26946 { (exit 0); exit 0; }
26948 chmod +x
$CONFIG_STATUS
26949 ac_clean_files
=$ac_clean_files_save
26951 # configure is writing to config.log, and then calls config.status.
26952 # config.status does its own redirection, appending to config.log.
26953 # Unfortunately, on DOS this fails, as config.log is still kept open
26954 # by configure, so config.status won't be able to write to it; its
26955 # output is simply discarded. So we exec the FD to /dev/null,
26956 # effectively closing config.log, so it can be properly (re)opened and
26957 # appended to by config.status. When coming back to configure, we
26958 # need to make the FD available again.
26959 if test "$no_create" != yes; then
26962 $SHELL $CONFIG_STATUS || ac_cs_success
=false
26964 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
26965 # would make configure fail if this is the last instruction.
26966 $ac_cs_success || { (exit 1); exit 1; }
26970 # CONFIG_SUBDIRS section.
26972 if test "$no_recursion" != yes; then
26974 # Remove --cache-file and --srcdir arguments so they do not pile up.
26975 ac_sub_configure_args
=
26977 for ac_arg
in $ac_configure_args; do
26978 if test -n "$ac_prev"; then
26983 -cache-file | --cache-file | --cache-fil | --cache-fi \
26984 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
26985 ac_prev
=cache_file
;;
26986 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
26987 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
26990 --config-cache | -C)
26992 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
26994 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
26996 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
27000 for ac_subdir
in : $subdirs; do test "x$ac_subdir" = x
: && continue
27002 # Do not complain, so a configure script can configure whichever
27003 # parts of a large source tree are present.
27004 test -d $srcdir/$ac_subdir || continue
27006 { echo "$as_me:27006: configuring in $ac_subdir" >&5
27007 echo "$as_me: configuring in $ac_subdir" >&6;}
27010 *) { case "./$ac_subdir" in
27011 [\\/]* | ?
:[\\/]* ) as_incr_dir
=;;
27014 as_dummy
="./$ac_subdir"
27015 for as_mkdir_dir
in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
27016 case $as_mkdir_dir in
27017 # Skip DOS drivespec
27018 ?
:) as_incr_dir
=$as_mkdir_dir ;;
27020 as_incr_dir
=$as_incr_dir/$as_mkdir_dir
27021 test -d "$as_incr_dir" || mkdir "$as_incr_dir"
27026 if test -d .
/$ac_subdir; then :;
27028 { { echo "$as_me:27028: error: cannot create \`pwd\`/$ac_subdir" >&5
27029 echo "$as_me: error: cannot create \`pwd\`/$ac_subdir" >&2;}
27030 { (exit 1); exit 1; }; }
27038 # A "../" for each directory in /$ac_subdir.
27039 ac_dots
=`echo $ac_subdir |
27040 sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
27043 .
) # No --srcdir option. We are building in place.
27044 ac_sub_srcdir
=$srcdir ;;
27045 [\\/]* | ?
:[\\/]* ) # Absolute path.
27046 ac_sub_srcdir
=$srcdir/$ac_subdir ;;
27047 *) # Relative path.
27048 ac_sub_srcdir
=$ac_dots$srcdir/$ac_subdir ;;
27051 # Check for guested configure; otherwise get Cygnus style configure.
27052 if test -f $ac_sub_srcdir/configure.gnu
; then
27053 ac_sub_configure
="$SHELL '$ac_sub_srcdir/configure.gnu'"
27054 elif test -f $ac_sub_srcdir/configure
; then
27055 ac_sub_configure
="$SHELL '$ac_sub_srcdir/configure'"
27056 elif test -f $ac_sub_srcdir/configure.
in; then
27057 ac_sub_configure
=$ac_configure
27059 { echo "$as_me:27059: WARNING: no configuration information is in $ac_subdir" >&5
27060 echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2;}
27064 # The recursion is here.
27065 if test -n "$ac_sub_configure"; then
27066 # Make the cache file name correct relative to the subdirectory.
27067 case $cache_file in
27068 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
27069 *) # Relative path.
27070 ac_sub_cache_file
=$ac_dots$cache_file ;;
27073 { echo "$as_me:27073: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir" >&5
27074 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir" >&6;}
27075 # The eval makes quoting arguments work.
27076 eval $ac_sub_configure $ac_sub_configure_args \
27077 --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir ||
27078 { { echo "$as_me:27078: error: $ac_sub_configure failed for $ac_subdir" >&5
27079 echo "$as_me: error: $ac_sub_configure failed for $ac_subdir" >&2;}
27080 { (exit 1); exit 1; }; }