]> git.saurik.com Git - wxWidgets.git/blob - configure
Fixup clipboard usage a bit more.
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by Autoconf 2.52.
5 #
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.
10
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
17
18 # Sed expression to map a string onto a valid variable name.
19 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
20
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"
23
24 # Be Bourne compatible
25 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
26 emulate sh
27 NULLCMD=:
28 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
29 set -o posix
30 fi
31
32 # Name of the executable.
33 as_me=`echo "$0" |sed 's,.*[\\/],,'`
34
35 if expr a : '\(a\)' >/dev/null 2>&1; then
36 as_expr=expr
37 else
38 as_expr=false
39 fi
40
41 rm -f conf$$ conf$$.exe conf$$.file
42 echo >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
48 as_ln_s='cp -p'
49 else
50 as_ln_s='ln -s'
51 fi
52 elif ln conf$$.file conf$$ 2>/dev/null; then
53 as_ln_s=ln
54 else
55 as_ln_s='cp -p'
56 fi
57 rm -f conf$$ conf$$.exe conf$$.file
58
59 as_executable_p="test -f"
60
61 # Support unset when possible.
62 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
63 as_unset=unset
64 else
65 as_unset=false
66 fi
67
68 # NLS nuisances.
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; }
77
78 # IFS
79 # We need space, tab and new line, in precisely that order.
80 as_nl='
81 '
82 IFS=" $as_nl"
83
84 # CDPATH.
85 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
86
87 # Name of the host.
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`
91
92 exec 6>&1
93
94 #
95 # Initializations.
96 #
97 ac_default_prefix=/usr/local
98 cross_compiling=no
99 subdirs=
100 MFLAGS= MAKEFLAGS=
101 SHELL=${CONFIG_SHELL-/bin/sh}
102
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}
107
108 ac_unique_file="wx-config.in"
109 # Factoring default headers for most tests.
110 ac_includes_default="\
111 #include <stdio.h>
112 #if HAVE_SYS_TYPES_H
113 # include <sys/types.h>
114 #endif
115 #if HAVE_SYS_STAT_H
116 # include <sys/stat.h>
117 #endif
118 #if STDC_HEADERS
119 # include <stdlib.h>
120 # include <stddef.h>
121 #else
122 # if HAVE_STDLIB_H
123 # include <stdlib.h>
124 # endif
125 #endif
126 #if HAVE_STRING_H
127 # if !STDC_HEADERS && HAVE_MEMORY_H
128 # include <memory.h>
129 # endif
130 # include <string.h>
131 #endif
132 #if HAVE_STRINGS_H
133 # include <strings.h>
134 #endif
135 #if HAVE_INTTYPES_H
136 # include <inttypes.h>
137 #else
138 # if HAVE_STDINT_H
139 # include <stdint.h>
140 # endif
141 #endif
142 #if HAVE_UNISTD_H
143 # include <unistd.h>
144 #endif"
145
146 ac_subdirs_all="$ac_subdirs_all demos samples utils contrib"
147
148 # Initialize some variables set by options.
149 ac_init_help=
150 ac_init_version=false
151 # The variables have the same names as the options, with
152 # dashes changed to underlines.
153 cache_file=/dev/null
154 exec_prefix=NONE
155 no_create=
156 no_recursion=
157 prefix=NONE
158 program_prefix=NONE
159 program_suffix=NONE
160 program_transform_name=s,x,x,
161 silent=
162 site=
163 srcdir=
164 verbose=
165 x_includes=NONE
166 x_libraries=NONE
167
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'
185
186 # Identity of this package.
187 PACKAGE_NAME=
188 PACKAGE_TARNAME=
189 PACKAGE_VERSION=
190 PACKAGE_STRING=
191 PACKAGE_BUGREPORT=
192
193 ac_prev=
194 for ac_option
195 do
196 # If the previous option needs an argument, assign it.
197 if test -n "$ac_prev"; then
198 eval "$ac_prev=\$ac_option"
199 ac_prev=
200 continue
201 fi
202
203 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
204
205 # Accept the important Cygnus configure options, so we can diagnose typos.
206
207 case $ac_option in
208
209 -bindir | --bindir | --bindi | --bind | --bin | --bi)
210 ac_prev=bindir ;;
211 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
212 bindir=$ac_optarg ;;
213
214 -build | --build | --buil | --bui | --bu)
215 ac_prev=build_alias ;;
216 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
217 build_alias=$ac_optarg ;;
218
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 ;;
225
226 --config-cache | -C)
227 cache_file=config.cache ;;
228
229 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
230 ac_prev=datadir ;;
231 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
232 | --da=*)
233 datadir=$ac_optarg ;;
234
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" ;;
243
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'`
251 case $ac_option in
252 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
253 *) ac_optarg=yes ;;
254 esac
255 eval "enable_$ac_feature='$ac_optarg'" ;;
256
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 ;;
265
266 -gas | --gas | --ga | --g)
267 # Obsolete; use --with-gas.
268 with_gas=yes ;;
269
270 -help | --help | --hel | --he | -h)
271 ac_init_help=long ;;
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 ;;
276
277 -host | --host | --hos | --ho)
278 ac_prev=host_alias ;;
279 -host=* | --host=* | --hos=* | --ho=*)
280 host_alias=$ac_optarg ;;
281
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 ;;
288
289 -infodir | --infodir | --infodi | --infod | --info | --inf)
290 ac_prev=infodir ;;
291 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
292 infodir=$ac_optarg ;;
293
294 -libdir | --libdir | --libdi | --libd)
295 ac_prev=libdir ;;
296 -libdir=* | --libdir=* | --libdi=* | --libd=*)
297 libdir=$ac_optarg ;;
298
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 ;;
305
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 ;;
314
315 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
316 ac_prev=mandir ;;
317 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
318 mandir=$ac_optarg ;;
319
320 -nfp | --nfp | --nf)
321 # Obsolete; use --without-fp.
322 with_fp=no ;;
323
324 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
325 | --no-cr | --no-c)
326 no_create=yes ;;
327
328 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
329 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
330 no_recursion=yes ;;
331
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 ;;
340
341 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
342 ac_prev=prefix ;;
343 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
344 prefix=$ac_optarg ;;
345
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 ;;
352
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 ;;
359
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 ;;
376
377 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
378 | -silent | --silent | --silen | --sile | --sil)
379 silent=yes ;;
380
381 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
382 ac_prev=sbindir ;;
383 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
384 | --sbi=* | --sb=*)
385 sbindir=$ac_optarg ;;
386
387 -sharedstatedir | --sharedstatedir | --sharedstatedi \
388 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
389 | --sharedst | --shareds | --shared | --share | --shar \
390 | --sha | --sh)
391 ac_prev=sharedstatedir ;;
392 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
393 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
394 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
395 | --sha=* | --sh=*)
396 sharedstatedir=$ac_optarg ;;
397
398 -site | --site | --sit)
399 ac_prev=site ;;
400 -site=* | --site=* | --sit=*)
401 site=$ac_optarg ;;
402
403 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
404 ac_prev=srcdir ;;
405 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
406 srcdir=$ac_optarg ;;
407
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 ;;
414
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 ;;
419
420 -v | -verbose | --verbose | --verbos | --verbo | --verb)
421 verbose=yes ;;
422
423 -version | --version | --versio | --versi | --vers | -V)
424 ac_init_version=: ;;
425
426 -with-* | --with-*)
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'`
433 case $ac_option in
434 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
435 *) ac_optarg=yes ;;
436 esac
437 eval "with_$ac_package='$ac_optarg'" ;;
438
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" ;;
447
448 --x)
449 # Obsolete; use --with-x.
450 with_x=yes ;;
451
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 ;;
458
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 ;;
465
466 -*) { echo "$as_me: error: unrecognized option: $ac_option
467 Try \`$0 --help' for more information." >&2
468 { (exit 1); exit 1; }; }
469 ;;
470
471 *=*)
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'"
479 export $ac_envvar ;;
480
481 *)
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}
487 ;;
488
489 esac
490 done
491
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; }; }
496 fi
497
498 # Be sure to have absolute paths.
499 for ac_var in exec_prefix prefix
500 do
501 eval ac_val=$`echo $ac_var`
502 case $ac_val in
503 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
504 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
505 { (exit 1); exit 1; }; };;
506 esac
507 done
508
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
512 do
513 eval ac_val=$`echo $ac_var`
514 case $ac_val in
515 [\\/$]* | ?:[\\/]* ) ;;
516 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
517 { (exit 1); exit 1; }; };;
518 esac
519 done
520
521 # There might be people who depend on the old broken behavior: `$host'
522 # used to hold the argument of --host etc.
523 build=$build_alias
524 host=$host_alias
525 target=$target_alias
526
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
534 cross_compiling=yes
535 fi
536 fi
537
538 ac_tool_prefix=
539 test -n "$host_alias" && ac_tool_prefix=$host_alias-
540
541 test "$silent" = yes && exec 6>/dev/null
542
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.
547 ac_prog=$0
548 ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
549 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
550 srcdir=$ac_confdir
551 if test ! -r $srcdir/$ac_unique_file; then
552 srcdir=..
553 fi
554 else
555 ac_srcdir_defaulted=no
556 fi
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; }; }
561 else
562 { echo "$as_me: error: cannot find sources in $srcdir" >&2
563 { (exit 1); exit 1; }; }
564 fi
565 fi
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}
580 ac_env_CC_value=$CC
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
611
612 #
613 # Report the --help message.
614 #
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.
618 cat <<EOF
619 \`configure' configures this package to adapt to many kinds of systems.
620
621 Usage: $0 [OPTION]... [VAR=VALUE]...
622
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.
625
626 Defaults for the options are specified in brackets.
627
628 Configuration:
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 \`..']
638
639 EOF
640
641 cat <<EOF
642 Installation directories:
643 --prefix=PREFIX install architecture-independent files in PREFIX
644 [$ac_default_prefix]
645 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
646 [PREFIX]
647
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'.
652
653 For better control, use the options below.
654
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]
668 EOF
669
670 cat <<\EOF
671
672 X features:
673 --x-includes=DIR X include files are in DIR
674 --x-libraries=DIR X library files are in DIR
675
676 System types:
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]
680 EOF
681 fi
682
683 if test -n "$ac_init_help"; then
684
685 cat <<\EOF
686
687 Optional Features:
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
851
852 Optional Packages:
853 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
854 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
855 --with-gtk use GTK+
856 --with-motif use Motif/Lesstif
857 --with-mac use Mac OS X
858 --with-wine use WINE
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
863 --with-x11 use X11
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
876
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>
884 CPP C preprocessor
885 CXX C++ compiler command
886 CXXFLAGS C++ compiler flags
887 CXXCPP C++ preprocessor
888
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.
891
892 EOF
893 fi
894
895 if test "$ac_init_help" = "recursive"; then
896 # If there are subdirs, report their specific --help.
897 ac_popdir=`pwd`
898 for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
899 cd $ac_subdir
900 # A "../" for each directory in /$ac_subdir.
901 ac_dots=`echo $ac_subdir |
902 sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
903
904 case $srcdir in
905 .) # No --srcdir option. We are building in place.
906 ac_sub_srcdir=$srcdir ;;
907 [\\/]* | ?:[\\/]* ) # Absolute path.
908 ac_sub_srcdir=$srcdir/$ac_subdir ;;
909 *) # Relative path.
910 ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
911 esac
912
913 # Check for guested configure; otherwise get Cygnus style configure.
914 if test -f $ac_sub_srcdir/configure.gnu; then
915 echo
916 $SHELL $ac_sub_srcdir/configure.gnu --help=recursive
917 elif test -f $ac_sub_srcdir/configure; then
918 echo
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
922 echo
923 $ac_configure --help
924 else
925 echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
926 fi
927 cd $ac_popdir
928 done
929 fi
930
931 test -n "$ac_init_help" && exit 0
932 if $ac_init_version; then
933 cat <<\EOF
934
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.
939 EOF
940 exit 0
941 fi
942 exec 5>config.log
943 cat >&5 <<EOF
944 This file contains any messages produced by compilers while
945 running configure, to aid debugging if configure makes a mistake.
946
947 It was created by $as_me, which was
948 generated by GNU Autoconf 2.52. Invocation command line was
949
950 $ $0 $@
951
952 EOF
953 {
954 cat <<_ASUNAME
955 ## ---------- ##
956 ## Platform. ##
957 ## ---------- ##
958
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`
964
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`
967
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`
975
976 PATH = $PATH
977
978 _ASUNAME
979 } >&5
980
981 cat >&5 <<EOF
982 ## ------------ ##
983 ## Core tests. ##
984 ## ------------ ##
985
986 EOF
987
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.
991 ac_configure_args=
992 ac_sep=
993 for ac_arg
994 do
995 case $ac_arg in
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'"
1003 ac_sep=" " ;;
1004 *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
1005 ac_sep=" " ;;
1006 esac
1007 # Get rid of the leading space.
1008 done
1009
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.
1015 echo >&5
1016 echo "## ----------------- ##" >&5
1017 echo "## Cache variables. ##" >&5
1018 echo "## ----------------- ##" >&5
1019 echo >&5
1020 # The following way of writing the cache mishandles newlines in values,
1021 {
1022 (set) 2>&1 |
1023 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1024 *ac_space=\ *)
1025 sed -n \
1026 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1027 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1028 ;;
1029 *)
1030 sed -n \
1031 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1032 ;;
1033 esac;
1034 } >&5
1035 sed "/^$/d" confdefs.h >conftest.log
1036 if test -s conftest.log; then
1037 echo >&5
1038 echo "## ------------ ##" >&5
1039 echo "## confdefs.h. ##" >&5
1040 echo "## ------------ ##" >&5
1041 echo >&5
1042 cat conftest.log >&5
1043 fi
1044 (echo; echo) >&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 &&
1049 exit $exit_status
1050 ' 0
1051 for ac_signal in 1 2 13 15; do
1052 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1053 done
1054 ac_signal=0
1055
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.
1059 echo >confdefs.h
1060
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"
1066 else
1067 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1068 fi
1069 fi
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
1075 . "$ac_site_file"
1076 fi
1077 done
1078
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;}
1085 case $cache_file in
1086 [\\/]* | ?:[\\/]* ) . $cache_file;;
1087 *) . ./$cache_file;;
1088 esac
1089 fi
1090 else
1091 { echo "$as_me:1091: creating cache $cache_file" >&5
1092 echo "$as_me: creating cache $cache_file" >&6;}
1093 >$cache_file
1094 fi
1095
1096 # Check that the precious variables saved in the cache have kept the same
1097 # value.
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
1106 set,)
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=: ;;
1110 ,set)
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=: ;;
1114 ,);;
1115 *)
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=:
1124 fi;;
1125 esac
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
1129 case $ac_new_val in
1130 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1131 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"`
1132 ac_configure_args="$ac_configure_args '$ac_arg'"
1133 ;;
1134 *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"
1135 ;;
1136 esac
1137 fi
1138 done
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; }; }
1145 fi
1146
1147 ac_ext=c
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
1152
1153 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
1154 *c*,-n*) ECHO_N= ECHO_C='
1155 ' ECHO_T=' ' ;;
1156 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
1157 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
1158 esac
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
1164 ac_status=$?
1165 echo "$as_me:1165: \$? = $ac_status" >&5
1166 (exit $ac_status); }; then
1167 ac_path_separator=';'
1168 else
1169 ac_path_separator=:
1170 fi
1171 PATH_SEPARATOR="$ac_path_separator"
1172 rm -f conftest.sh
1173
1174 ac_aux_dir=
1175 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1176 if test -f $ac_dir/install-sh; then
1177 ac_aux_dir=$ac_dir
1178 ac_install_sh="$ac_aux_dir/install-sh -c"
1179 break
1180 elif test -f $ac_dir/install.sh; then
1181 ac_aux_dir=$ac_dir
1182 ac_install_sh="$ac_aux_dir/install.sh -c"
1183 break
1184 elif test -f $ac_dir/shtool; then
1185 ac_aux_dir=$ac_dir
1186 ac_install_sh="$ac_aux_dir/shtool install -c"
1187 break
1188 fi
1189 done
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; }; }
1194 fi
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.
1198
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; }; }
1204
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
1209 else
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; }; }
1221
1222 fi
1223 echo "$as_me:1223: result: $ac_cv_build" >&5
1224 echo "${ECHO_T}$ac_cv_build" >&6
1225 build=$ac_cv_build
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/'`
1229
1230 test -z "$build_alias" &&
1231 build_alias=$ac_cv_build
1232
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
1237 else
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; }; }
1245
1246 fi
1247 echo "$as_me:1247: result: $ac_cv_host" >&5
1248 echo "${ECHO_T}$ac_cv_host" >&6
1249 host=$ac_cv_host
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/'`
1253
1254 test -z "$host_alias" &&
1255 host_alias=$ac_cv_host
1256
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
1261 else
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; }; }
1269
1270 fi
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/'`
1277
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" = \
1282 NONENONEs,x,x, &&
1283 program_prefix=${target_alias}-
1284 test -z "$target_alias" &&
1285 target_alias=$ac_cv_target
1286
1287 WX_MAJOR_VERSION_NUMBER=2
1288 WX_MINOR_VERSION_NUMBER=3
1289 WX_RELEASE_NUMBER=3
1290
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
1293
1294 WX_MSW_VERSION=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1295
1296 WX_CURRENT=2
1297 WX_REVISION=0
1298 WX_AGE=0
1299
1300 USE_UNIX=1
1301 USE_WIN32=0
1302 USE_DOS=0
1303 USE_BEOS=0
1304 USE_MAC=0
1305
1306 USE_LINUX=
1307 USE_SGI=
1308 USE_HPUX=
1309 USE_SYSV=
1310 USE_SVR4=
1311 USE_AIX=
1312 USE_SUN=
1313 USE_SOLARIS=
1314 USE_SUNOS=
1315 USE_ALPHA=
1316 USE_OSF=
1317 USE_BSD=
1318 USE_DARWIN=
1319 USE_FREEBSD=
1320 USE_OPENBSD=
1321 USE_NETBSD=
1322 USE_VMS=
1323 USE_ULTRIX=
1324 USE_DATA_GENERAL=
1325
1326 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1327
1328 ALL_TOOLKITS="GTK MAC MGL MICROWIN MOTIF MSW PM WINE X11"
1329
1330 DEFAULT_wxUSE_GTK=0
1331 DEFAULT_wxUSE_MAC=0
1332 DEFAULT_wxUSE_MGL=0
1333 DEFAULT_wxUSE_MICROWIN=0
1334 DEFAULT_wxUSE_MOTIF=0
1335 DEFAULT_wxUSE_MSW=0
1336 DEFAULT_wxUSE_PM=0
1337 DEFAULT_wxUSE_WINE=0
1338 DEFAULT_wxUSE_X11=0
1339
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
1349
1350 PROGRAM_EXT=
1351 SO_SUFFIX=so
1352
1353 case "${host}" in
1354 *-hp-hpux* )
1355 USE_HPUX=1
1356 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1357 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1358 SO_SUFFIX=sl
1359 cat >>confdefs.h <<\EOF
1360 #define __HPUX__ 1
1361 EOF
1362
1363 ;;
1364 *-*-linux* )
1365 USE_LINUX=1
1366 cat >>confdefs.h <<\EOF
1367 #define __LINUX__ 1
1368 EOF
1369
1370 TMP=`uname -m`
1371 if test "x$TMP" = "xalpha"; then
1372 USE_ALPHA=1
1373 cat >>confdefs.h <<\EOF
1374 #define __ALPHA__ 1
1375 EOF
1376
1377 fi
1378 DEFAULT_DEFAULT_wxUSE_GTK=1
1379 ;;
1380 *-*-irix5* | *-*-irix6* )
1381 USE_SGI=1
1382 USE_SVR4=1
1383 cat >>confdefs.h <<\EOF
1384 #define __SGI__ 1
1385 EOF
1386
1387 cat >>confdefs.h <<\EOF
1388 #define __SVR4__ 1
1389 EOF
1390
1391 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1392 ;;
1393 *-*-solaris2* )
1394 USE_SUN=1
1395 USE_SOLARIS=1
1396 USE_SVR4=1
1397 cat >>confdefs.h <<\EOF
1398 #define __SUN__ 1
1399 EOF
1400
1401 cat >>confdefs.h <<\EOF
1402 #define __SOLARIS__ 1
1403 EOF
1404
1405 cat >>confdefs.h <<\EOF
1406 #define __SVR4__ 1
1407 EOF
1408
1409 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1410 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1411 ;;
1412 *-*-sunos4* )
1413 USE_SUN=1
1414 USE_SUNOS=1
1415 USE_BSD=1
1416 cat >>confdefs.h <<\EOF
1417 #define __SUN__ 1
1418 EOF
1419
1420 cat >>confdefs.h <<\EOF
1421 #define __SUNOS__ 1
1422 EOF
1423
1424 cat >>confdefs.h <<\EOF
1425 #define __BSD__ 1
1426 EOF
1427
1428 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1429 ;;
1430 *-*-freebsd*)
1431 USE_BSD=1
1432 USE_FREEBSD=1
1433 cat >>confdefs.h <<\EOF
1434 #define __FREEBSD__ 1
1435 EOF
1436
1437 cat >>confdefs.h <<\EOF
1438 #define __BSD__ 1
1439 EOF
1440
1441 DEFAULT_DEFAULT_wxUSE_GTK=1
1442 ;;
1443 *-*-openbsd*)
1444 USE_BSD=1
1445 USE_OPENBSD=1
1446 cat >>confdefs.h <<\EOF
1447 #define __FREEBSD__ 1
1448 EOF
1449
1450 cat >>confdefs.h <<\EOF
1451 #define __OPENBSD__ 1
1452 EOF
1453
1454 DEFAULT_DEFAULT_wxUSE_GTK=1
1455 ;;
1456 *-*-netbsd*)
1457 USE_BSD=1
1458 USE_NETBSD=1
1459 cat >>confdefs.h <<\EOF
1460 #define __FREEBSD__ 1
1461 EOF
1462
1463 cat >>confdefs.h <<\EOF
1464 #define __NETBSD__ 1
1465 EOF
1466
1467 DEFAULT_DEFAULT_wxUSE_GTK=1
1468 ;;
1469 *-*-osf* )
1470 USE_ALPHA=1
1471 USE_OSF=1
1472 cat >>confdefs.h <<\EOF
1473 #define __ALPHA__ 1
1474 EOF
1475
1476 cat >>confdefs.h <<\EOF
1477 #define __OSF__ 1
1478 EOF
1479
1480 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1481 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1482 ;;
1483 *-*-dgux5* )
1484 USE_ALPHA=1
1485 USE_SVR4=1
1486 cat >>confdefs.h <<\EOF
1487 #define __ALPHA__ 1
1488 EOF
1489
1490 cat >>confdefs.h <<\EOF
1491 #define __SVR4__ 1
1492 EOF
1493
1494 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1495 ;;
1496 *-*-sysv5* )
1497 USE_SYSV=1
1498 USE_SVR4=1
1499 cat >>confdefs.h <<\EOF
1500 #define __SYSV__ 1
1501 EOF
1502
1503 cat >>confdefs.h <<\EOF
1504 #define __SVR4__ 1
1505 EOF
1506
1507 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1508 ;;
1509 *-*-aix* )
1510 USE_AIX=1
1511 USE_SYSV=1
1512 USE_SVR4=1
1513 SO_SUFFIX=a
1514 cat >>confdefs.h <<\EOF
1515 #define __AIX__ 1
1516 EOF
1517
1518 cat >>confdefs.h <<\EOF
1519 #define __SYSV__ 1
1520 EOF
1521
1522 cat >>confdefs.h <<\EOF
1523 #define __SVR4__ 1
1524 EOF
1525
1526 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1527 ;;
1528
1529 *-*-cygwin* | *-*-mingw32* )
1530 SO_SUFFIX=dll
1531 PROGRAM_EXT=".exe"
1532 RESCOMP=windres
1533 DEFAULT_DEFAULT_wxUSE_MSW=1
1534 ;;
1535
1536 *-pc-msdosdjgpp )
1537 USE_UNIX=0
1538 USE_DOS=1
1539 cat >>confdefs.h <<\EOF
1540 #define __DOS__ 1
1541 EOF
1542
1543 PROGRAM_EXT=".exe"
1544 DEFAULT_DEFAULT_wxUSE_MGL=1
1545 LIBS="$LIBS -lstdc++"
1546 ;;
1547
1548 *-pc-os2_emx | *-pc-os2-emx )
1549 cat >>confdefs.h <<\EOF
1550 #define __EMX__ 1
1551 EOF
1552
1553 PROGRAM_EXT=".exe"
1554 DEFAULT_DEFAULT_wxUSE_PM=1
1555 LIBS="$LIBS -lstdcpp"
1556 ;;
1557
1558 powerpc-*-darwin* )
1559 USE_BSD=1
1560 USE_DARWIN=1
1561 SO_SUFFIX=dylib
1562 cat >>confdefs.h <<\EOF
1563 #define __BSD__ 1
1564 EOF
1565
1566 cat >>confdefs.h <<\EOF
1567 #define __DARWIN__ 1
1568 EOF
1569
1570 cat >>confdefs.h <<\EOF
1571 #define __POWERPC__ 1
1572 EOF
1573
1574 DEFAULT_DEFAULT_wxUSE_MAC=1
1575 ;;
1576
1577 *-*-beos* )
1578 USE_BEOS=1
1579 cat >>confdefs.h <<\EOF
1580 #define __BEOS__ 1
1581 EOF
1582
1583 ;;
1584
1585 *)
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; }; }
1589 esac
1590
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}
1596
1597 DEBUG_CONFIGURE=0
1598 if test $DEBUG_CONFIGURE = 1; then
1599 DEFAULT_wxUSE_UNIVERSAL=no
1600
1601 DEFAULT_wxUSE_NANOX=no
1602
1603 DEFAULT_wxUSE_THREADS=yes
1604
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
1621
1622 DEFAULT_wxUSE_LOG=yes
1623 DEFAULT_wxUSE_LOGWINDOW=no
1624 DEFAULT_wxUSE_LOGGUI=no
1625 DEFAULT_wxUSE_LOGDIALOG=no
1626
1627 DEFAULT_wxUSE_GUI=yes
1628 DEFAULT_wxUSE_CONTROLS=no
1629
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
1637
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
1662
1663 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
1664 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
1665 DEFAULT_wxUSE_POSTSCRIPT=no
1666
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
1673
1674 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
1675 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
1676 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
1677
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
1694
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
1709
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
1719
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
1759
1760 DEFAULT_wxUSE_UNICODE=no
1761 DEFAULT_wxUSE_UNICODE_MSLU=no
1762 DEFAULT_wxUSE_WCSRTOMBS=no
1763
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
1772 else
1773 DEFAULT_wxUSE_UNIVERSAL=no
1774
1775 DEFAULT_wxUSE_NANOX=no
1776
1777 DEFAULT_wxUSE_THREADS=yes
1778
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
1795
1796 DEFAULT_wxUSE_LOG=yes
1797 DEFAULT_wxUSE_LOGWINDOW=yes
1798 DEFAULT_wxUSE_LOGGUI=yes
1799 DEFAULT_wxUSE_LOGDIALOG=yes
1800
1801 DEFAULT_wxUSE_GUI=yes
1802
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
1810
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
1835
1836 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
1837 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
1838 DEFAULT_wxUSE_POSTSCRIPT=yes
1839
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
1846
1847 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
1848 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
1849 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
1850
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
1867
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
1882
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
1892
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
1932
1933 DEFAULT_wxUSE_UNICODE=no
1934 DEFAULT_wxUSE_UNICODE_MSLU=yes
1935 DEFAULT_wxUSE_WCSRTOMBS=no
1936
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
1945 fi
1946
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"
1953 fi
1954 done
1955
1956 echo "$as_me:1956: checking for --enable-gui" >&5
1957 echo $ECHO_N "checking for --enable-gui... $ECHO_C" >&6
1958 no_cache=0
1959 # Check whether --enable-gui or --disable-gui was given.
1960 if test "${enable_gui+set}" = set; then
1961 enableval="$enable_gui"
1962
1963 if test "$enableval" = yes; then
1964 ac_cv_use_gui='wxUSE_GUI=yes'
1965 else
1966 ac_cv_use_gui='wxUSE_GUI=no'
1967 fi
1968
1969 else
1970
1971 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1972 if test "x$LINE" != x ; then
1973 eval "DEFAULT_$LINE"
1974 else
1975 no_cache=1
1976 fi
1977
1978 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1979
1980 fi;
1981
1982 eval "$ac_cv_use_gui"
1983 if test "$no_cache" != 1; then
1984 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1985 fi
1986
1987 if test "$wxUSE_GUI" = yes; then
1988 echo "$as_me:1988: result: yes" >&5
1989 echo "${ECHO_T}yes" >&6
1990 else
1991 echo "$as_me:1991: result: no" >&5
1992 echo "${ECHO_T}no" >&6
1993 fi
1994
1995 if test "$wxUSE_GUI" = "yes"; then
1996
1997 echo "$as_me:1997: checking for --enable-universal" >&5
1998 echo $ECHO_N "checking for --enable-universal... $ECHO_C" >&6
1999 no_cache=0
2000 # Check whether --enable-universal or --disable-universal was given.
2001 if test "${enable_universal+set}" = set; then
2002 enableval="$enable_universal"
2003
2004 if test "$enableval" = yes; then
2005 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2006 else
2007 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2008 fi
2009
2010 else
2011
2012 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2013 if test "x$LINE" != x ; then
2014 eval "DEFAULT_$LINE"
2015 else
2016 no_cache=1
2017 fi
2018
2019 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2020
2021 fi;
2022
2023 eval "$ac_cv_use_universal"
2024 if test "$no_cache" != 1; then
2025 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2026 fi
2027
2028 if test "$wxUSE_UNIVERSAL" = yes; then
2029 echo "$as_me:2029: result: yes" >&5
2030 echo "${ECHO_T}yes" >&6
2031 else
2032 echo "$as_me:2032: result: no" >&5
2033 echo "${ECHO_T}no" >&6
2034 fi
2035
2036 # Check whether --with-gtk or --without-gtk was given.
2037 if test "${with_gtk+set}" = set; then
2038 withval="$with_gtk"
2039 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2040 fi;
2041
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
2046 fi;
2047
2048 # Check whether --with-mac or --without-mac was given.
2049 if test "${with_mac+set}" = set; then
2050 withval="$with_mac"
2051 wxUSE_MAC="$withval" TOOLKIT_GIVEN=1
2052 fi;
2053
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
2058 fi;
2059
2060 # Check whether --with-msw or --without-msw was given.
2061 if test "${with_msw+set}" = set; then
2062 withval="$with_msw"
2063 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2064 fi;
2065
2066 # Check whether --with-pm or --without-pm was given.
2067 if test "${with_pm+set}" = set; then
2068 withval="$with_pm"
2069 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2070 fi;
2071
2072 # Check whether --with-mgl or --without-mgl was given.
2073 if test "${with_mgl+set}" = set; then
2074 withval="$with_mgl"
2075 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2076 fi;
2077
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
2082 fi;
2083
2084 # Check whether --with-x11 or --without-x11 was given.
2085 if test "${with_x11+set}" = set; then
2086 withval="$with_x11"
2087 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2088 fi;
2089
2090 echo "$as_me:2090: checking for --enable-nanox" >&5
2091 echo $ECHO_N "checking for --enable-nanox... $ECHO_C" >&6
2092 no_cache=0
2093 # Check whether --enable-nanox or --disable-nanox was given.
2094 if test "${enable_nanox+set}" = set; then
2095 enableval="$enable_nanox"
2096
2097 if test "$enableval" = yes; then
2098 ac_cv_use_nanox='wxUSE_NANOX=yes'
2099 else
2100 ac_cv_use_nanox='wxUSE_NANOX=no'
2101 fi
2102
2103 else
2104
2105 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2106 if test "x$LINE" != x ; then
2107 eval "DEFAULT_$LINE"
2108 else
2109 no_cache=1
2110 fi
2111
2112 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2113
2114 fi;
2115
2116 eval "$ac_cv_use_nanox"
2117 if test "$no_cache" != 1; then
2118 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2119 fi
2120
2121 if test "$wxUSE_NANOX" = yes; then
2122 echo "$as_me:2122: result: yes" >&5
2123 echo "${ECHO_T}yes" >&6
2124 else
2125 echo "$as_me:2125: result: no" >&5
2126 echo "${ECHO_T}no" >&6
2127 fi
2128
2129 echo "$as_me:2129: checking for --enable-gtk2" >&5
2130 echo $ECHO_N "checking for --enable-gtk2... $ECHO_C" >&6
2131 no_cache=0
2132 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2133 if test "${enable_gtk2+set}" = set; then
2134 enableval="$enable_gtk2"
2135
2136 if test "$enableval" = yes; then
2137 ac_cv_use_gtk2='wxUSE_GTK2=yes'
2138 else
2139 ac_cv_use_gtk2='wxUSE_GTK2=no'
2140 fi
2141
2142 else
2143
2144 LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2145 if test "x$LINE" != x ; then
2146 eval "DEFAULT_$LINE"
2147 else
2148 no_cache=1
2149 fi
2150
2151 ac_cv_use_gtk2='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2152
2153 fi;
2154
2155 eval "$ac_cv_use_gtk2"
2156 if test "$no_cache" != 1; then
2157 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2158 fi
2159
2160 if test "$wxUSE_GTK2" = yes; then
2161 echo "$as_me:2161: result: yes" >&5
2162 echo "${ECHO_T}yes" >&6
2163 else
2164 echo "$as_me:2164: result: no" >&5
2165 echo "${ECHO_T}no" >&6
2166 fi
2167
2168 echo "$as_me:2168: checking for --with-libpng" >&5
2169 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2170 no_cache=0
2171
2172 # Check whether --with-libpng or --without-libpng was given.
2173 if test "${with_libpng+set}" = set; then
2174 withval="$with_libpng"
2175
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'
2184 else
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; }; }
2188 fi
2189
2190 else
2191
2192 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2193 if test "x$LINE" != x ; then
2194 eval "DEFAULT_$LINE"
2195 else
2196 no_cache=1
2197 fi
2198
2199 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2200
2201 fi;
2202
2203 eval "$ac_cv_use_libpng"
2204 if test "$no_cache" != 1; then
2205 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2206 fi
2207
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
2220 else
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; }; }
2224 fi
2225
2226 echo "$as_me:2226: checking for --with-libjpeg" >&5
2227 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2228 no_cache=0
2229
2230 # Check whether --with-libjpeg or --without-libjpeg was given.
2231 if test "${with_libjpeg+set}" = set; then
2232 withval="$with_libjpeg"
2233
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'
2242 else
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; }; }
2246 fi
2247
2248 else
2249
2250 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2251 if test "x$LINE" != x ; then
2252 eval "DEFAULT_$LINE"
2253 else
2254 no_cache=1
2255 fi
2256
2257 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2258
2259 fi;
2260
2261 eval "$ac_cv_use_libjpeg"
2262 if test "$no_cache" != 1; then
2263 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2264 fi
2265
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
2278 else
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; }; }
2282 fi
2283
2284 echo "$as_me:2284: checking for --with-libtiff" >&5
2285 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2286 no_cache=0
2287
2288 # Check whether --with-libtiff or --without-libtiff was given.
2289 if test "${with_libtiff+set}" = set; then
2290 withval="$with_libtiff"
2291
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'
2300 else
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; }; }
2304 fi
2305
2306 else
2307
2308 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2309 if test "x$LINE" != x ; then
2310 eval "DEFAULT_$LINE"
2311 else
2312 no_cache=1
2313 fi
2314
2315 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2316
2317 fi;
2318
2319 eval "$ac_cv_use_libtiff"
2320 if test "$no_cache" != 1; then
2321 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2322 fi
2323
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
2336 else
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; }; }
2340 fi
2341
2342 echo "$as_me:2342: checking for --with-opengl" >&5
2343 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
2344 no_cache=0
2345
2346 # Check whether --with-opengl or --without-opengl was given.
2347 if test "${with_opengl+set}" = set; then
2348 withval="$with_opengl"
2349
2350 if test "$withval" = yes; then
2351 ac_cv_use_opengl='wxUSE_OPENGL=yes'
2352 else
2353 ac_cv_use_opengl='wxUSE_OPENGL=no'
2354 fi
2355
2356 else
2357
2358 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2359 if test "x$LINE" != x ; then
2360 eval "DEFAULT_$LINE"
2361 else
2362 no_cache=1
2363 fi
2364
2365 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2366
2367 fi;
2368
2369 eval "$ac_cv_use_opengl"
2370 if test "$no_cache" != 1; then
2371 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2372 fi
2373
2374 if test "$wxUSE_OPENGL" = yes; then
2375 echo "$as_me:2375: result: yes" >&5
2376 echo "${ECHO_T}yes" >&6
2377 else
2378 echo "$as_me:2378: result: no" >&5
2379 echo "${ECHO_T}no" >&6
2380 fi
2381
2382 fi
2383
2384 echo "$as_me:2384: checking for --with-dmalloc" >&5
2385 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
2386 no_cache=0
2387
2388 # Check whether --with-dmalloc or --without-dmalloc was given.
2389 if test "${with_dmalloc+set}" = set; then
2390 withval="$with_dmalloc"
2391
2392 if test "$withval" = yes; then
2393 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
2394 else
2395 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
2396 fi
2397
2398 else
2399
2400 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2401 if test "x$LINE" != x ; then
2402 eval "DEFAULT_$LINE"
2403 else
2404 no_cache=1
2405 fi
2406
2407 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2408
2409 fi;
2410
2411 eval "$ac_cv_use_dmalloc"
2412 if test "$no_cache" != 1; then
2413 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2414 fi
2415
2416 if test "$wxUSE_DMALLOC" = yes; then
2417 echo "$as_me:2417: result: yes" >&5
2418 echo "${ECHO_T}yes" >&6
2419 else
2420 echo "$as_me:2420: result: no" >&5
2421 echo "${ECHO_T}no" >&6
2422 fi
2423
2424 echo "$as_me:2424: checking for --with-regex" >&5
2425 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
2426 no_cache=0
2427
2428 # Check whether --with-regex or --without-regex was given.
2429 if test "${with_regex+set}" = set; then
2430 withval="$with_regex"
2431
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'
2440 else
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; }; }
2444 fi
2445
2446 else
2447
2448 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2449 if test "x$LINE" != x ; then
2450 eval "DEFAULT_$LINE"
2451 else
2452 no_cache=1
2453 fi
2454
2455 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2456
2457 fi;
2458
2459 eval "$ac_cv_use_regex"
2460 if test "$no_cache" != 1; then
2461 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2462 fi
2463
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
2476 else
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; }; }
2480 fi
2481
2482 echo "$as_me:2482: checking for --with-zlib" >&5
2483 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
2484 no_cache=0
2485
2486 # Check whether --with-zlib or --without-zlib was given.
2487 if test "${with_zlib+set}" = set; then
2488 withval="$with_zlib"
2489
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'
2498 else
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; }; }
2502 fi
2503
2504 else
2505
2506 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2507 if test "x$LINE" != x ; then
2508 eval "DEFAULT_$LINE"
2509 else
2510 no_cache=1
2511 fi
2512
2513 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2514
2515 fi;
2516
2517 eval "$ac_cv_use_zlib"
2518 if test "$no_cache" != 1; then
2519 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2520 fi
2521
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
2534 else
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; }; }
2538 fi
2539
2540 echo "$as_me:2540: checking for --with-odbc" >&5
2541 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
2542 no_cache=0
2543
2544 # Check whether --with-odbc or --without-odbc was given.
2545 if test "${with_odbc+set}" = set; then
2546 withval="$with_odbc"
2547
2548 if test "$withval" = yes; then
2549 ac_cv_use_odbc='wxUSE_ODBC=yes'
2550 else
2551 ac_cv_use_odbc='wxUSE_ODBC=no'
2552 fi
2553
2554 else
2555
2556 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2557 if test "x$LINE" != x ; then
2558 eval "DEFAULT_$LINE"
2559 else
2560 no_cache=1
2561 fi
2562
2563 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2564
2565 fi;
2566
2567 eval "$ac_cv_use_odbc"
2568 if test "$no_cache" != 1; then
2569 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2570 fi
2571
2572 if test "$wxUSE_ODBC" = yes; then
2573 echo "$as_me:2573: result: yes" >&5
2574 echo "${ECHO_T}yes" >&6
2575 else
2576 echo "$as_me:2576: result: no" >&5
2577 echo "${ECHO_T}no" >&6
2578 fi
2579
2580 echo "$as_me:2580: checking for --enable-shared" >&5
2581 echo $ECHO_N "checking for --enable-shared... $ECHO_C" >&6
2582 no_cache=0
2583 # Check whether --enable-shared or --disable-shared was given.
2584 if test "${enable_shared+set}" = set; then
2585 enableval="$enable_shared"
2586
2587 if test "$enableval" = yes; then
2588 ac_cv_use_shared='wxUSE_SHARED=yes'
2589 else
2590 ac_cv_use_shared='wxUSE_SHARED=no'
2591 fi
2592
2593 else
2594
2595 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2596 if test "x$LINE" != x ; then
2597 eval "DEFAULT_$LINE"
2598 else
2599 no_cache=1
2600 fi
2601
2602 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2603
2604 fi;
2605
2606 eval "$ac_cv_use_shared"
2607 if test "$no_cache" != 1; then
2608 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2609 fi
2610
2611 if test "$wxUSE_SHARED" = yes; then
2612 echo "$as_me:2612: result: yes" >&5
2613 echo "${ECHO_T}yes" >&6
2614 else
2615 echo "$as_me:2615: result: no" >&5
2616 echo "${ECHO_T}no" >&6
2617 fi
2618
2619 echo "$as_me:2619: checking for --enable-soname" >&5
2620 echo $ECHO_N "checking for --enable-soname... $ECHO_C" >&6
2621 no_cache=0
2622 # Check whether --enable-soname or --disable-soname was given.
2623 if test "${enable_soname+set}" = set; then
2624 enableval="$enable_soname"
2625
2626 if test "$enableval" = yes; then
2627 ac_cv_use_soname='wxUSE_SONAME=yes'
2628 else
2629 ac_cv_use_soname='wxUSE_SONAME=no'
2630 fi
2631
2632 else
2633
2634 LINE=`grep "wxUSE_SONAME" ${wx_arg_cache_file}`
2635 if test "x$LINE" != x ; then
2636 eval "DEFAULT_$LINE"
2637 else
2638 no_cache=1
2639 fi
2640
2641 ac_cv_use_soname='wxUSE_SONAME='$DEFAULT_wxUSE_SONAME
2642
2643 fi;
2644
2645 eval "$ac_cv_use_soname"
2646 if test "$no_cache" != 1; then
2647 echo $ac_cv_use_soname >> ${wx_arg_cache_file}.tmp
2648 fi
2649
2650 if test "$wxUSE_SONAME" = yes; then
2651 echo "$as_me:2651: result: yes" >&5
2652 echo "${ECHO_T}yes" >&6
2653 else
2654 echo "$as_me:2654: result: no" >&5
2655 echo "${ECHO_T}no" >&6
2656 fi
2657
2658 echo "$as_me:2658: checking for --enable-optimise" >&5
2659 echo $ECHO_N "checking for --enable-optimise... $ECHO_C" >&6
2660 no_cache=0
2661 # Check whether --enable-optimise or --disable-optimise was given.
2662 if test "${enable_optimise+set}" = set; then
2663 enableval="$enable_optimise"
2664
2665 if test "$enableval" = yes; then
2666 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
2667 else
2668 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
2669 fi
2670
2671 else
2672
2673 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2674 if test "x$LINE" != x ; then
2675 eval "DEFAULT_$LINE"
2676 else
2677 no_cache=1
2678 fi
2679
2680 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2681
2682 fi;
2683
2684 eval "$ac_cv_use_optimise"
2685 if test "$no_cache" != 1; then
2686 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2687 fi
2688
2689 if test "$wxUSE_OPTIMISE" = yes; then
2690 echo "$as_me:2690: result: yes" >&5
2691 echo "${ECHO_T}yes" >&6
2692 else
2693 echo "$as_me:2693: result: no" >&5
2694 echo "${ECHO_T}no" >&6
2695 fi
2696
2697 echo "$as_me:2697: checking for --enable-debug" >&5
2698 echo $ECHO_N "checking for --enable-debug... $ECHO_C" >&6
2699 no_cache=0
2700 # Check whether --enable-debug or --disable-debug was given.
2701 if test "${enable_debug+set}" = set; then
2702 enableval="$enable_debug"
2703
2704 if test "$enableval" = yes; then
2705 ac_cv_use_debug='wxUSE_DEBUG=yes'
2706 else
2707 ac_cv_use_debug='wxUSE_DEBUG=no'
2708 fi
2709
2710 else
2711
2712 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2713 if test "x$LINE" != x ; then
2714 eval "DEFAULT_$LINE"
2715 else
2716 no_cache=1
2717 fi
2718
2719 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2720
2721 fi;
2722
2723 eval "$ac_cv_use_debug"
2724 if test "$no_cache" != 1; then
2725 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2726 fi
2727
2728 if test "$wxUSE_DEBUG" = yes; then
2729 echo "$as_me:2729: result: yes" >&5
2730 echo "${ECHO_T}yes" >&6
2731 else
2732 echo "$as_me:2732: result: no" >&5
2733 echo "${ECHO_T}no" >&6
2734 fi
2735
2736 echo "$as_me:2736: checking for --enable-precomp" >&5
2737 echo $ECHO_N "checking for --enable-precomp... $ECHO_C" >&6
2738 no_cache=0
2739 # Check whether --enable-precomp or --disable-precomp was given.
2740 if test "${enable_precomp+set}" = set; then
2741 enableval="$enable_precomp"
2742
2743 if test "$enableval" = yes; then
2744 ac_cv_use_precomp='wxUSE_PRECOMP=yes'
2745 else
2746 ac_cv_use_precomp='wxUSE_PRECOMP=no'
2747 fi
2748
2749 else
2750
2751 LINE=`grep "wxUSE_PRECOMP" ${wx_arg_cache_file}`
2752 if test "x$LINE" != x ; then
2753 eval "DEFAULT_$LINE"
2754 else
2755 no_cache=1
2756 fi
2757
2758 ac_cv_use_precomp='wxUSE_PRECOMP='$DEFAULT_wxUSE_PRECOMP
2759
2760 fi;
2761
2762 eval "$ac_cv_use_precomp"
2763 if test "$no_cache" != 1; then
2764 echo $ac_cv_use_precomp >> ${wx_arg_cache_file}.tmp
2765 fi
2766
2767 if test "$wxUSE_PRECOMP" = yes; then
2768 echo "$as_me:2768: result: yes" >&5
2769 echo "${ECHO_T}yes" >&6
2770 else
2771 echo "$as_me:2771: result: no" >&5
2772 echo "${ECHO_T}no" >&6
2773 fi
2774
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
2781 fi
2782
2783 echo "$as_me:2783: checking for --enable-debug_flag" >&5
2784 echo $ECHO_N "checking for --enable-debug_flag... $ECHO_C" >&6
2785 no_cache=0
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"
2789
2790 if test "$enableval" = yes; then
2791 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
2792 else
2793 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
2794 fi
2795
2796 else
2797
2798 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2799 if test "x$LINE" != x ; then
2800 eval "DEFAULT_$LINE"
2801 else
2802 no_cache=1
2803 fi
2804
2805 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2806
2807 fi;
2808
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
2812 fi
2813
2814 if test "$wxUSE_DEBUG_FLAG" = yes; then
2815 echo "$as_me:2815: result: yes" >&5
2816 echo "${ECHO_T}yes" >&6
2817 else
2818 echo "$as_me:2818: result: no" >&5
2819 echo "${ECHO_T}no" >&6
2820 fi
2821
2822 echo "$as_me:2822: checking for --enable-debug_info" >&5
2823 echo $ECHO_N "checking for --enable-debug_info... $ECHO_C" >&6
2824 no_cache=0
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"
2828
2829 if test "$enableval" = yes; then
2830 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
2831 else
2832 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
2833 fi
2834
2835 else
2836
2837 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2838 if test "x$LINE" != x ; then
2839 eval "DEFAULT_$LINE"
2840 else
2841 no_cache=1
2842 fi
2843
2844 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2845
2846 fi;
2847
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
2851 fi
2852
2853 if test "$wxUSE_DEBUG_INFO" = yes; then
2854 echo "$as_me:2854: result: yes" >&5
2855 echo "${ECHO_T}yes" >&6
2856 else
2857 echo "$as_me:2857: result: no" >&5
2858 echo "${ECHO_T}no" >&6
2859 fi
2860
2861 echo "$as_me:2861: checking for --enable-debug_gdb" >&5
2862 echo $ECHO_N "checking for --enable-debug_gdb... $ECHO_C" >&6
2863 no_cache=0
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"
2867
2868 if test "$enableval" = yes; then
2869 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
2870 else
2871 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
2872 fi
2873
2874 else
2875
2876 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2877 if test "x$LINE" != x ; then
2878 eval "DEFAULT_$LINE"
2879 else
2880 no_cache=1
2881 fi
2882
2883 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2884
2885 fi;
2886
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
2890 fi
2891
2892 if test "$wxUSE_DEBUG_GDB" = yes; then
2893 echo "$as_me:2893: result: yes" >&5
2894 echo "${ECHO_T}yes" >&6
2895 else
2896 echo "$as_me:2896: result: no" >&5
2897 echo "${ECHO_T}no" >&6
2898 fi
2899
2900 echo "$as_me:2900: checking for --enable-debug_cntxt" >&5
2901 echo $ECHO_N "checking for --enable-debug_cntxt... $ECHO_C" >&6
2902 no_cache=0
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"
2906
2907 if test "$enableval" = yes; then
2908 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
2909 else
2910 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
2911 fi
2912
2913 else
2914
2915 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2916 if test "x$LINE" != x ; then
2917 eval "DEFAULT_$LINE"
2918 else
2919 no_cache=1
2920 fi
2921
2922 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2923
2924 fi;
2925
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
2929 fi
2930
2931 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2932 echo "$as_me:2932: result: yes" >&5
2933 echo "${ECHO_T}yes" >&6
2934 else
2935 echo "$as_me:2935: result: no" >&5
2936 echo "${ECHO_T}no" >&6
2937 fi
2938
2939 echo "$as_me:2939: checking for --enable-mem_tracing" >&5
2940 echo $ECHO_N "checking for --enable-mem_tracing... $ECHO_C" >&6
2941 no_cache=0
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"
2945
2946 if test "$enableval" = yes; then
2947 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
2948 else
2949 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
2950 fi
2951
2952 else
2953
2954 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2955 if test "x$LINE" != x ; then
2956 eval "DEFAULT_$LINE"
2957 else
2958 no_cache=1
2959 fi
2960
2961 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2962
2963 fi;
2964
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
2968 fi
2969
2970 if test "$wxUSE_MEM_TRACING" = yes; then
2971 echo "$as_me:2971: result: yes" >&5
2972 echo "${ECHO_T}yes" >&6
2973 else
2974 echo "$as_me:2974: result: no" >&5
2975 echo "${ECHO_T}no" >&6
2976 fi
2977
2978 echo "$as_me:2978: checking for --enable-profile" >&5
2979 echo $ECHO_N "checking for --enable-profile... $ECHO_C" >&6
2980 no_cache=0
2981 # Check whether --enable-profile or --disable-profile was given.
2982 if test "${enable_profile+set}" = set; then
2983 enableval="$enable_profile"
2984
2985 if test "$enableval" = yes; then
2986 ac_cv_use_profile='wxUSE_PROFILE=yes'
2987 else
2988 ac_cv_use_profile='wxUSE_PROFILE=no'
2989 fi
2990
2991 else
2992
2993 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2994 if test "x$LINE" != x ; then
2995 eval "DEFAULT_$LINE"
2996 else
2997 no_cache=1
2998 fi
2999
3000 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3001
3002 fi;
3003
3004 eval "$ac_cv_use_profile"
3005 if test "$no_cache" != 1; then
3006 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3007 fi
3008
3009 if test "$wxUSE_PROFILE" = yes; then
3010 echo "$as_me:3010: result: yes" >&5
3011 echo "${ECHO_T}yes" >&6
3012 else
3013 echo "$as_me:3013: result: no" >&5
3014 echo "${ECHO_T}no" >&6
3015 fi
3016
3017 echo "$as_me:3017: checking for --enable-no_rtti" >&5
3018 echo $ECHO_N "checking for --enable-no_rtti... $ECHO_C" >&6
3019 no_cache=0
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"
3023
3024 if test "$enableval" = yes; then
3025 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
3026 else
3027 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
3028 fi
3029
3030 else
3031
3032 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3033 if test "x$LINE" != x ; then
3034 eval "DEFAULT_$LINE"
3035 else
3036 no_cache=1
3037 fi
3038
3039 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3040
3041 fi;
3042
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
3046 fi
3047
3048 if test "$wxUSE_NO_RTTI" = yes; then
3049 echo "$as_me:3049: result: yes" >&5
3050 echo "${ECHO_T}yes" >&6
3051 else
3052 echo "$as_me:3052: result: no" >&5
3053 echo "${ECHO_T}no" >&6
3054 fi
3055
3056 echo "$as_me:3056: checking for --enable-no_exceptions" >&5
3057 echo $ECHO_N "checking for --enable-no_exceptions... $ECHO_C" >&6
3058 no_cache=0
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"
3062
3063 if test "$enableval" = yes; then
3064 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
3065 else
3066 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
3067 fi
3068
3069 else
3070
3071 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3072 if test "x$LINE" != x ; then
3073 eval "DEFAULT_$LINE"
3074 else
3075 no_cache=1
3076 fi
3077
3078 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3079
3080 fi;
3081
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
3085 fi
3086
3087 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3088 echo "$as_me:3088: result: yes" >&5
3089 echo "${ECHO_T}yes" >&6
3090 else
3091 echo "$as_me:3091: result: no" >&5
3092 echo "${ECHO_T}no" >&6
3093 fi
3094
3095 echo "$as_me:3095: checking for --enable-permissive" >&5
3096 echo $ECHO_N "checking for --enable-permissive... $ECHO_C" >&6
3097 no_cache=0
3098 # Check whether --enable-permissive or --disable-permissive was given.
3099 if test "${enable_permissive+set}" = set; then
3100 enableval="$enable_permissive"
3101
3102 if test "$enableval" = yes; then
3103 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
3104 else
3105 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
3106 fi
3107
3108 else
3109
3110 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3111 if test "x$LINE" != x ; then
3112 eval "DEFAULT_$LINE"
3113 else
3114 no_cache=1
3115 fi
3116
3117 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
3118
3119 fi;
3120
3121 eval "$ac_cv_use_permissive"
3122 if test "$no_cache" != 1; then
3123 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3124 fi
3125
3126 if test "$wxUSE_PERMISSIVE" = yes; then
3127 echo "$as_me:3127: result: yes" >&5
3128 echo "${ECHO_T}yes" >&6
3129 else
3130 echo "$as_me:3130: result: no" >&5
3131 echo "${ECHO_T}no" >&6
3132 fi
3133
3134 echo "$as_me:3134: checking for --enable-no_deps" >&5
3135 echo $ECHO_N "checking for --enable-no_deps... $ECHO_C" >&6
3136 no_cache=0
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"
3140
3141 if test "$enableval" = yes; then
3142 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
3143 else
3144 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
3145 fi
3146
3147 else
3148
3149 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3150 if test "x$LINE" != x ; then
3151 eval "DEFAULT_$LINE"
3152 else
3153 no_cache=1
3154 fi
3155
3156 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
3157
3158 fi;
3159
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
3163 fi
3164
3165 if test "$wxUSE_NO_DEPS" = yes; then
3166 echo "$as_me:3166: result: yes" >&5
3167 echo "${ECHO_T}yes" >&6
3168 else
3169 echo "$as_me:3169: result: no" >&5
3170 echo "${ECHO_T}no" >&6
3171 fi
3172
3173 echo "$as_me:3173: checking for --enable-compat20" >&5
3174 echo $ECHO_N "checking for --enable-compat20... $ECHO_C" >&6
3175 no_cache=0
3176 # Check whether --enable-compat20 or --disable-compat20 was given.
3177 if test "${enable_compat20+set}" = set; then
3178 enableval="$enable_compat20"
3179
3180 if test "$enableval" = yes; then
3181 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2=yes'
3182 else
3183 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2=no'
3184 fi
3185
3186 else
3187
3188 LINE=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
3189 if test "x$LINE" != x ; then
3190 eval "DEFAULT_$LINE"
3191 else
3192 no_cache=1
3193 fi
3194
3195 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
3196
3197 fi;
3198
3199 eval "$ac_cv_use_compat20"
3200 if test "$no_cache" != 1; then
3201 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
3202 fi
3203
3204 if test "$WXWIN_COMPATIBILITY_2" = yes; then
3205 echo "$as_me:3205: result: yes" >&5
3206 echo "${ECHO_T}yes" >&6
3207 else
3208 echo "$as_me:3208: result: no" >&5
3209 echo "${ECHO_T}no" >&6
3210 fi
3211
3212 echo "$as_me:3212: checking for --enable-compat22" >&5
3213 echo $ECHO_N "checking for --enable-compat22... $ECHO_C" >&6
3214 no_cache=0
3215 # Check whether --enable-compat22 or --disable-compat22 was given.
3216 if test "${enable_compat22+set}" = set; then
3217 enableval="$enable_compat22"
3218
3219 if test "$enableval" = yes; then
3220 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
3221 else
3222 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
3223 fi
3224
3225 else
3226
3227 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3228 if test "x$LINE" != x ; then
3229 eval "DEFAULT_$LINE"
3230 else
3231 no_cache=1
3232 fi
3233
3234 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3235
3236 fi;
3237
3238 eval "$ac_cv_use_compat22"
3239 if test "$no_cache" != 1; then
3240 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3241 fi
3242
3243 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3244 echo "$as_me:3244: result: yes" >&5
3245 echo "${ECHO_T}yes" >&6
3246 else
3247 echo "$as_me:3247: result: no" >&5
3248 echo "${ECHO_T}no" >&6
3249 fi
3250
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"
3255 fi;
3256
3257 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
3258 WXCONFIG_RPATH="-Wl,-rpath -Wl,$wxRPATH_DIR"
3259 fi
3260
3261 echo "$as_me:3261: checking for --enable-intl" >&5
3262 echo $ECHO_N "checking for --enable-intl... $ECHO_C" >&6
3263 no_cache=0
3264 # Check whether --enable-intl or --disable-intl was given.
3265 if test "${enable_intl+set}" = set; then
3266 enableval="$enable_intl"
3267
3268 if test "$enableval" = yes; then
3269 ac_cv_use_intl='wxUSE_INTL=yes'
3270 else
3271 ac_cv_use_intl='wxUSE_INTL=no'
3272 fi
3273
3274 else
3275
3276 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3277 if test "x$LINE" != x ; then
3278 eval "DEFAULT_$LINE"
3279 else
3280 no_cache=1
3281 fi
3282
3283 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3284
3285 fi;
3286
3287 eval "$ac_cv_use_intl"
3288 if test "$no_cache" != 1; then
3289 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3290 fi
3291
3292 if test "$wxUSE_INTL" = yes; then
3293 echo "$as_me:3293: result: yes" >&5
3294 echo "${ECHO_T}yes" >&6
3295 else
3296 echo "$as_me:3296: result: no" >&5
3297 echo "${ECHO_T}no" >&6
3298 fi
3299
3300 echo "$as_me:3300: checking for --enable-config" >&5
3301 echo $ECHO_N "checking for --enable-config... $ECHO_C" >&6
3302 no_cache=0
3303 # Check whether --enable-config or --disable-config was given.
3304 if test "${enable_config+set}" = set; then
3305 enableval="$enable_config"
3306
3307 if test "$enableval" = yes; then
3308 ac_cv_use_config='wxUSE_CONFIG=yes'
3309 else
3310 ac_cv_use_config='wxUSE_CONFIG=no'
3311 fi
3312
3313 else
3314
3315 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3316 if test "x$LINE" != x ; then
3317 eval "DEFAULT_$LINE"
3318 else
3319 no_cache=1
3320 fi
3321
3322 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3323
3324 fi;
3325
3326 eval "$ac_cv_use_config"
3327 if test "$no_cache" != 1; then
3328 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3329 fi
3330
3331 if test "$wxUSE_CONFIG" = yes; then
3332 echo "$as_me:3332: result: yes" >&5
3333 echo "${ECHO_T}yes" >&6
3334 else
3335 echo "$as_me:3335: result: no" >&5
3336 echo "${ECHO_T}no" >&6
3337 fi
3338
3339 echo "$as_me:3339: checking for --enable-protocols" >&5
3340 echo $ECHO_N "checking for --enable-protocols... $ECHO_C" >&6
3341 no_cache=0
3342 # Check whether --enable-protocols or --disable-protocols was given.
3343 if test "${enable_protocols+set}" = set; then
3344 enableval="$enable_protocols"
3345
3346 if test "$enableval" = yes; then
3347 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
3348 else
3349 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
3350 fi
3351
3352 else
3353
3354 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3355 if test "x$LINE" != x ; then
3356 eval "DEFAULT_$LINE"
3357 else
3358 no_cache=1
3359 fi
3360
3361 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
3362
3363 fi;
3364
3365 eval "$ac_cv_use_protocols"
3366 if test "$no_cache" != 1; then
3367 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3368 fi
3369
3370 if test "$wxUSE_PROTOCOL" = yes; then
3371 echo "$as_me:3371: result: yes" >&5
3372 echo "${ECHO_T}yes" >&6
3373 else
3374 echo "$as_me:3374: result: no" >&5
3375 echo "${ECHO_T}no" >&6
3376 fi
3377
3378 echo "$as_me:3378: checking for --enable-ftp" >&5
3379 echo $ECHO_N "checking for --enable-ftp... $ECHO_C" >&6
3380 no_cache=0
3381 # Check whether --enable-ftp or --disable-ftp was given.
3382 if test "${enable_ftp+set}" = set; then
3383 enableval="$enable_ftp"
3384
3385 if test "$enableval" = yes; then
3386 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
3387 else
3388 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
3389 fi
3390
3391 else
3392
3393 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3394 if test "x$LINE" != x ; then
3395 eval "DEFAULT_$LINE"
3396 else
3397 no_cache=1
3398 fi
3399
3400 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
3401
3402 fi;
3403
3404 eval "$ac_cv_use_ftp"
3405 if test "$no_cache" != 1; then
3406 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3407 fi
3408
3409 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3410 echo "$as_me:3410: result: yes" >&5
3411 echo "${ECHO_T}yes" >&6
3412 else
3413 echo "$as_me:3413: result: no" >&5
3414 echo "${ECHO_T}no" >&6
3415 fi
3416
3417 echo "$as_me:3417: checking for --enable-http" >&5
3418 echo $ECHO_N "checking for --enable-http... $ECHO_C" >&6
3419 no_cache=0
3420 # Check whether --enable-http or --disable-http was given.
3421 if test "${enable_http+set}" = set; then
3422 enableval="$enable_http"
3423
3424 if test "$enableval" = yes; then
3425 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
3426 else
3427 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
3428 fi
3429
3430 else
3431
3432 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3433 if test "x$LINE" != x ; then
3434 eval "DEFAULT_$LINE"
3435 else
3436 no_cache=1
3437 fi
3438
3439 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
3440
3441 fi;
3442
3443 eval "$ac_cv_use_http"
3444 if test "$no_cache" != 1; then
3445 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
3446 fi
3447
3448 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
3449 echo "$as_me:3449: result: yes" >&5
3450 echo "${ECHO_T}yes" >&6
3451 else
3452 echo "$as_me:3452: result: no" >&5
3453 echo "${ECHO_T}no" >&6
3454 fi
3455
3456 echo "$as_me:3456: checking for --enable-fileproto" >&5
3457 echo $ECHO_N "checking for --enable-fileproto... $ECHO_C" >&6
3458 no_cache=0
3459 # Check whether --enable-fileproto or --disable-fileproto was given.
3460 if test "${enable_fileproto+set}" = set; then
3461 enableval="$enable_fileproto"
3462
3463 if test "$enableval" = yes; then
3464 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
3465 else
3466 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
3467 fi
3468
3469 else
3470
3471 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
3472 if test "x$LINE" != x ; then
3473 eval "DEFAULT_$LINE"
3474 else
3475 no_cache=1
3476 fi
3477
3478 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
3479
3480 fi;
3481
3482 eval "$ac_cv_use_fileproto"
3483 if test "$no_cache" != 1; then
3484 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
3485 fi
3486
3487 if test "$wxUSE_PROTOCOL_FILE" = yes; then
3488 echo "$as_me:3488: result: yes" >&5
3489 echo "${ECHO_T}yes" >&6
3490 else
3491 echo "$as_me:3491: result: no" >&5
3492 echo "${ECHO_T}no" >&6
3493 fi
3494
3495 echo "$as_me:3495: checking for --enable-sockets" >&5
3496 echo $ECHO_N "checking for --enable-sockets... $ECHO_C" >&6
3497 no_cache=0
3498 # Check whether --enable-sockets or --disable-sockets was given.
3499 if test "${enable_sockets+set}" = set; then
3500 enableval="$enable_sockets"
3501
3502 if test "$enableval" = yes; then
3503 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
3504 else
3505 ac_cv_use_sockets='wxUSE_SOCKETS=no'
3506 fi
3507
3508 else
3509
3510 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
3511 if test "x$LINE" != x ; then
3512 eval "DEFAULT_$LINE"
3513 else
3514 no_cache=1
3515 fi
3516
3517 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
3518
3519 fi;
3520
3521 eval "$ac_cv_use_sockets"
3522 if test "$no_cache" != 1; then
3523 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
3524 fi
3525
3526 if test "$wxUSE_SOCKETS" = yes; then
3527 echo "$as_me:3527: result: yes" >&5
3528 echo "${ECHO_T}yes" >&6
3529 else
3530 echo "$as_me:3530: result: no" >&5
3531 echo "${ECHO_T}no" >&6
3532 fi
3533
3534 echo "$as_me:3534: checking for --enable-ipc" >&5
3535 echo $ECHO_N "checking for --enable-ipc... $ECHO_C" >&6
3536 no_cache=0
3537 # Check whether --enable-ipc or --disable-ipc was given.
3538 if test "${enable_ipc+set}" = set; then
3539 enableval="$enable_ipc"
3540
3541 if test "$enableval" = yes; then
3542 ac_cv_use_ipc='wxUSE_IPC=yes'
3543 else
3544 ac_cv_use_ipc='wxUSE_IPC=no'
3545 fi
3546
3547 else
3548
3549 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
3550 if test "x$LINE" != x ; then
3551 eval "DEFAULT_$LINE"
3552 else
3553 no_cache=1
3554 fi
3555
3556 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
3557
3558 fi;
3559
3560 eval "$ac_cv_use_ipc"
3561 if test "$no_cache" != 1; then
3562 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
3563 fi
3564
3565 if test "$wxUSE_IPC" = yes; then
3566 echo "$as_me:3566: result: yes" >&5
3567 echo "${ECHO_T}yes" >&6
3568 else
3569 echo "$as_me:3569: result: no" >&5
3570 echo "${ECHO_T}no" >&6
3571 fi
3572
3573 echo "$as_me:3573: checking for --enable-cmdline" >&5
3574 echo $ECHO_N "checking for --enable-cmdline... $ECHO_C" >&6
3575 no_cache=0
3576 # Check whether --enable-cmdline or --disable-cmdline was given.
3577 if test "${enable_cmdline+set}" = set; then
3578 enableval="$enable_cmdline"
3579
3580 if test "$enableval" = yes; then
3581 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
3582 else
3583 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
3584 fi
3585
3586 else
3587
3588 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
3589 if test "x$LINE" != x ; then
3590 eval "DEFAULT_$LINE"
3591 else
3592 no_cache=1
3593 fi
3594
3595 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
3596
3597 fi;
3598
3599 eval "$ac_cv_use_cmdline"
3600 if test "$no_cache" != 1; then
3601 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
3602 fi
3603
3604 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3605 echo "$as_me:3605: result: yes" >&5
3606 echo "${ECHO_T}yes" >&6
3607 else
3608 echo "$as_me:3608: result: no" >&5
3609 echo "${ECHO_T}no" >&6
3610 fi
3611
3612 echo "$as_me:3612: checking for --enable-datetime" >&5
3613 echo $ECHO_N "checking for --enable-datetime... $ECHO_C" >&6
3614 no_cache=0
3615 # Check whether --enable-datetime or --disable-datetime was given.
3616 if test "${enable_datetime+set}" = set; then
3617 enableval="$enable_datetime"
3618
3619 if test "$enableval" = yes; then
3620 ac_cv_use_datetime='wxUSE_DATETIME=yes'
3621 else
3622 ac_cv_use_datetime='wxUSE_DATETIME=no'
3623 fi
3624
3625 else
3626
3627 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3628 if test "x$LINE" != x ; then
3629 eval "DEFAULT_$LINE"
3630 else
3631 no_cache=1
3632 fi
3633
3634 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3635
3636 fi;
3637
3638 eval "$ac_cv_use_datetime"
3639 if test "$no_cache" != 1; then
3640 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3641 fi
3642
3643 if test "$wxUSE_DATETIME" = yes; then
3644 echo "$as_me:3644: result: yes" >&5
3645 echo "${ECHO_T}yes" >&6
3646 else
3647 echo "$as_me:3647: result: no" >&5
3648 echo "${ECHO_T}no" >&6
3649 fi
3650
3651 echo "$as_me:3651: checking for --enable-timedate" >&5
3652 echo $ECHO_N "checking for --enable-timedate... $ECHO_C" >&6
3653 no_cache=0
3654 # Check whether --enable-timedate or --disable-timedate was given.
3655 if test "${enable_timedate+set}" = set; then
3656 enableval="$enable_timedate"
3657
3658 if test "$enableval" = yes; then
3659 ac_cv_use_timedate='wxUSE_TIMEDATE=yes'
3660 else
3661 ac_cv_use_timedate='wxUSE_TIMEDATE=no'
3662 fi
3663
3664 else
3665
3666 LINE=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
3667 if test "x$LINE" != x ; then
3668 eval "DEFAULT_$LINE"
3669 else
3670 no_cache=1
3671 fi
3672
3673 ac_cv_use_timedate='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
3674
3675 fi;
3676
3677 eval "$ac_cv_use_timedate"
3678 if test "$no_cache" != 1; then
3679 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
3680 fi
3681
3682 if test "$wxUSE_TIMEDATE" = yes; then
3683 echo "$as_me:3683: result: yes" >&5
3684 echo "${ECHO_T}yes" >&6
3685 else
3686 echo "$as_me:3686: result: no" >&5
3687 echo "${ECHO_T}no" >&6
3688 fi
3689
3690 echo "$as_me:3690: checking for --enable-stopwatch" >&5
3691 echo $ECHO_N "checking for --enable-stopwatch... $ECHO_C" >&6
3692 no_cache=0
3693 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3694 if test "${enable_stopwatch+set}" = set; then
3695 enableval="$enable_stopwatch"
3696
3697 if test "$enableval" = yes; then
3698 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
3699 else
3700 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
3701 fi
3702
3703 else
3704
3705 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3706 if test "x$LINE" != x ; then
3707 eval "DEFAULT_$LINE"
3708 else
3709 no_cache=1
3710 fi
3711
3712 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3713
3714 fi;
3715
3716 eval "$ac_cv_use_stopwatch"
3717 if test "$no_cache" != 1; then
3718 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3719 fi
3720
3721 if test "$wxUSE_STOPWATCH" = yes; then
3722 echo "$as_me:3722: result: yes" >&5
3723 echo "${ECHO_T}yes" >&6
3724 else
3725 echo "$as_me:3725: result: no" >&5
3726 echo "${ECHO_T}no" >&6
3727 fi
3728
3729 echo "$as_me:3729: checking for --enable-dialupman" >&5
3730 echo $ECHO_N "checking for --enable-dialupman... $ECHO_C" >&6
3731 no_cache=0
3732 # Check whether --enable-dialupman or --disable-dialupman was given.
3733 if test "${enable_dialupman+set}" = set; then
3734 enableval="$enable_dialupman"
3735
3736 if test "$enableval" = yes; then
3737 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
3738 else
3739 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
3740 fi
3741
3742 else
3743
3744 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3745 if test "x$LINE" != x ; then
3746 eval "DEFAULT_$LINE"
3747 else
3748 no_cache=1
3749 fi
3750
3751 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3752
3753 fi;
3754
3755 eval "$ac_cv_use_dialupman"
3756 if test "$no_cache" != 1; then
3757 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3758 fi
3759
3760 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3761 echo "$as_me:3761: result: yes" >&5
3762 echo "${ECHO_T}yes" >&6
3763 else
3764 echo "$as_me:3764: result: no" >&5
3765 echo "${ECHO_T}no" >&6
3766 fi
3767
3768 echo "$as_me:3768: checking for --enable-apple_ieee" >&5
3769 echo $ECHO_N "checking for --enable-apple_ieee... $ECHO_C" >&6
3770 no_cache=0
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"
3774
3775 if test "$enableval" = yes; then
3776 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
3777 else
3778 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
3779 fi
3780
3781 else
3782
3783 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3784 if test "x$LINE" != x ; then
3785 eval "DEFAULT_$LINE"
3786 else
3787 no_cache=1
3788 fi
3789
3790 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3791
3792 fi;
3793
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
3797 fi
3798
3799 if test "$wxUSE_APPLE_IEEE" = yes; then
3800 echo "$as_me:3800: result: yes" >&5
3801 echo "${ECHO_T}yes" >&6
3802 else
3803 echo "$as_me:3803: result: no" >&5
3804 echo "${ECHO_T}no" >&6
3805 fi
3806
3807 echo "$as_me:3807: checking for --enable-timer" >&5
3808 echo $ECHO_N "checking for --enable-timer... $ECHO_C" >&6
3809 no_cache=0
3810 # Check whether --enable-timer or --disable-timer was given.
3811 if test "${enable_timer+set}" = set; then
3812 enableval="$enable_timer"
3813
3814 if test "$enableval" = yes; then
3815 ac_cv_use_timer='wxUSE_TIMER=yes'
3816 else
3817 ac_cv_use_timer='wxUSE_TIMER=no'
3818 fi
3819
3820 else
3821
3822 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3823 if test "x$LINE" != x ; then
3824 eval "DEFAULT_$LINE"
3825 else
3826 no_cache=1
3827 fi
3828
3829 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3830
3831 fi;
3832
3833 eval "$ac_cv_use_timer"
3834 if test "$no_cache" != 1; then
3835 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3836 fi
3837
3838 if test "$wxUSE_TIMER" = yes; then
3839 echo "$as_me:3839: result: yes" >&5
3840 echo "${ECHO_T}yes" >&6
3841 else
3842 echo "$as_me:3842: result: no" >&5
3843 echo "${ECHO_T}no" >&6
3844 fi
3845
3846 echo "$as_me:3846: checking for --enable-wave" >&5
3847 echo $ECHO_N "checking for --enable-wave... $ECHO_C" >&6
3848 no_cache=0
3849 # Check whether --enable-wave or --disable-wave was given.
3850 if test "${enable_wave+set}" = set; then
3851 enableval="$enable_wave"
3852
3853 if test "$enableval" = yes; then
3854 ac_cv_use_wave='wxUSE_WAVE=yes'
3855 else
3856 ac_cv_use_wave='wxUSE_WAVE=no'
3857 fi
3858
3859 else
3860
3861 LINE=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3862 if test "x$LINE" != x ; then
3863 eval "DEFAULT_$LINE"
3864 else
3865 no_cache=1
3866 fi
3867
3868 ac_cv_use_wave='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3869
3870 fi;
3871
3872 eval "$ac_cv_use_wave"
3873 if test "$no_cache" != 1; then
3874 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3875 fi
3876
3877 if test "$wxUSE_WAVE" = yes; then
3878 echo "$as_me:3878: result: yes" >&5
3879 echo "${ECHO_T}yes" >&6
3880 else
3881 echo "$as_me:3881: result: no" >&5
3882 echo "${ECHO_T}no" >&6
3883 fi
3884
3885 echo "$as_me:3885: checking for --enable-fraction" >&5
3886 echo $ECHO_N "checking for --enable-fraction... $ECHO_C" >&6
3887 no_cache=0
3888 # Check whether --enable-fraction or --disable-fraction was given.
3889 if test "${enable_fraction+set}" = set; then
3890 enableval="$enable_fraction"
3891
3892 if test "$enableval" = yes; then
3893 ac_cv_use_fraction='wxUSE_FRACTION=yes'
3894 else
3895 ac_cv_use_fraction='wxUSE_FRACTION=no'
3896 fi
3897
3898 else
3899
3900 LINE=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3901 if test "x$LINE" != x ; then
3902 eval "DEFAULT_$LINE"
3903 else
3904 no_cache=1
3905 fi
3906
3907 ac_cv_use_fraction='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3908
3909 fi;
3910
3911 eval "$ac_cv_use_fraction"
3912 if test "$no_cache" != 1; then
3913 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3914 fi
3915
3916 if test "$wxUSE_FRACTION" = yes; then
3917 echo "$as_me:3917: result: yes" >&5
3918 echo "${ECHO_T}yes" >&6
3919 else
3920 echo "$as_me:3920: result: no" >&5
3921 echo "${ECHO_T}no" >&6
3922 fi
3923
3924 echo "$as_me:3924: checking for --enable-dynlib" >&5
3925 echo $ECHO_N "checking for --enable-dynlib... $ECHO_C" >&6
3926 no_cache=0
3927 # Check whether --enable-dynlib or --disable-dynlib was given.
3928 if test "${enable_dynlib+set}" = set; then
3929 enableval="$enable_dynlib"
3930
3931 if test "$enableval" = yes; then
3932 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
3933 else
3934 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
3935 fi
3936
3937 else
3938
3939 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3940 if test "x$LINE" != x ; then
3941 eval "DEFAULT_$LINE"
3942 else
3943 no_cache=1
3944 fi
3945
3946 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3947
3948 fi;
3949
3950 eval "$ac_cv_use_dynlib"
3951 if test "$no_cache" != 1; then
3952 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3953 fi
3954
3955 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3956 echo "$as_me:3956: result: yes" >&5
3957 echo "${ECHO_T}yes" >&6
3958 else
3959 echo "$as_me:3959: result: no" >&5
3960 echo "${ECHO_T}no" >&6
3961 fi
3962
3963 echo "$as_me:3963: checking for --enable-dynamicloader" >&5
3964 echo $ECHO_N "checking for --enable-dynamicloader... $ECHO_C" >&6
3965 no_cache=0
3966 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
3967 if test "${enable_dynamicloader+set}" = set; then
3968 enableval="$enable_dynamicloader"
3969
3970 if test "$enableval" = yes; then
3971 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
3972 else
3973 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
3974 fi
3975
3976 else
3977
3978 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
3979 if test "x$LINE" != x ; then
3980 eval "DEFAULT_$LINE"
3981 else
3982 no_cache=1
3983 fi
3984
3985 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
3986
3987 fi;
3988
3989 eval "$ac_cv_use_dynamicloader"
3990 if test "$no_cache" != 1; then
3991 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
3992 fi
3993
3994 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
3995 echo "$as_me:3995: result: yes" >&5
3996 echo "${ECHO_T}yes" >&6
3997 else
3998 echo "$as_me:3998: result: no" >&5
3999 echo "${ECHO_T}no" >&6
4000 fi
4001
4002 echo "$as_me:4002: checking for --enable-longlong" >&5
4003 echo $ECHO_N "checking for --enable-longlong... $ECHO_C" >&6
4004 no_cache=0
4005 # Check whether --enable-longlong or --disable-longlong was given.
4006 if test "${enable_longlong+set}" = set; then
4007 enableval="$enable_longlong"
4008
4009 if test "$enableval" = yes; then
4010 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
4011 else
4012 ac_cv_use_longlong='wxUSE_LONGLONG=no'
4013 fi
4014
4015 else
4016
4017 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
4018 if test "x$LINE" != x ; then
4019 eval "DEFAULT_$LINE"
4020 else
4021 no_cache=1
4022 fi
4023
4024 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
4025
4026 fi;
4027
4028 eval "$ac_cv_use_longlong"
4029 if test "$no_cache" != 1; then
4030 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
4031 fi
4032
4033 if test "$wxUSE_LONGLONG" = yes; then
4034 echo "$as_me:4034: result: yes" >&5
4035 echo "${ECHO_T}yes" >&6
4036 else
4037 echo "$as_me:4037: result: no" >&5
4038 echo "${ECHO_T}no" >&6
4039 fi
4040
4041 echo "$as_me:4041: checking for --enable-geometry" >&5
4042 echo $ECHO_N "checking for --enable-geometry... $ECHO_C" >&6
4043 no_cache=0
4044 # Check whether --enable-geometry or --disable-geometry was given.
4045 if test "${enable_geometry+set}" = set; then
4046 enableval="$enable_geometry"
4047
4048 if test "$enableval" = yes; then
4049 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
4050 else
4051 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
4052 fi
4053
4054 else
4055
4056 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
4057 if test "x$LINE" != x ; then
4058 eval "DEFAULT_$LINE"
4059 else
4060 no_cache=1
4061 fi
4062
4063 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
4064
4065 fi;
4066
4067 eval "$ac_cv_use_geometry"
4068 if test "$no_cache" != 1; then
4069 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
4070 fi
4071
4072 if test "$wxUSE_GEOMETRY" = yes; then
4073 echo "$as_me:4073: result: yes" >&5
4074 echo "${ECHO_T}yes" >&6
4075 else
4076 echo "$as_me:4076: result: no" >&5
4077 echo "${ECHO_T}no" >&6
4078 fi
4079
4080 echo "$as_me:4080: checking for --enable-log" >&5
4081 echo $ECHO_N "checking for --enable-log... $ECHO_C" >&6
4082 no_cache=0
4083 # Check whether --enable-log or --disable-log was given.
4084 if test "${enable_log+set}" = set; then
4085 enableval="$enable_log"
4086
4087 if test "$enableval" = yes; then
4088 ac_cv_use_log='wxUSE_LOG=yes'
4089 else
4090 ac_cv_use_log='wxUSE_LOG=no'
4091 fi
4092
4093 else
4094
4095 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
4096 if test "x$LINE" != x ; then
4097 eval "DEFAULT_$LINE"
4098 else
4099 no_cache=1
4100 fi
4101
4102 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
4103
4104 fi;
4105
4106 eval "$ac_cv_use_log"
4107 if test "$no_cache" != 1; then
4108 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
4109 fi
4110
4111 if test "$wxUSE_LOG" = yes; then
4112 echo "$as_me:4112: result: yes" >&5
4113 echo "${ECHO_T}yes" >&6
4114 else
4115 echo "$as_me:4115: result: no" >&5
4116 echo "${ECHO_T}no" >&6
4117 fi
4118
4119 echo "$as_me:4119: checking for --enable-streams" >&5
4120 echo $ECHO_N "checking for --enable-streams... $ECHO_C" >&6
4121 no_cache=0
4122 # Check whether --enable-streams or --disable-streams was given.
4123 if test "${enable_streams+set}" = set; then
4124 enableval="$enable_streams"
4125
4126 if test "$enableval" = yes; then
4127 ac_cv_use_streams='wxUSE_STREAMS=yes'
4128 else
4129 ac_cv_use_streams='wxUSE_STREAMS=no'
4130 fi
4131
4132 else
4133
4134 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
4135 if test "x$LINE" != x ; then
4136 eval "DEFAULT_$LINE"
4137 else
4138 no_cache=1
4139 fi
4140
4141 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
4142
4143 fi;
4144
4145 eval "$ac_cv_use_streams"
4146 if test "$no_cache" != 1; then
4147 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
4148 fi
4149
4150 if test "$wxUSE_STREAMS" = yes; then
4151 echo "$as_me:4151: result: yes" >&5
4152 echo "${ECHO_T}yes" >&6
4153 else
4154 echo "$as_me:4154: result: no" >&5
4155 echo "${ECHO_T}no" >&6
4156 fi
4157
4158 echo "$as_me:4158: checking for --enable-file" >&5
4159 echo $ECHO_N "checking for --enable-file... $ECHO_C" >&6
4160 no_cache=0
4161 # Check whether --enable-file or --disable-file was given.
4162 if test "${enable_file+set}" = set; then
4163 enableval="$enable_file"
4164
4165 if test "$enableval" = yes; then
4166 ac_cv_use_file='wxUSE_FILE=yes'
4167 else
4168 ac_cv_use_file='wxUSE_FILE=no'
4169 fi
4170
4171 else
4172
4173 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4174 if test "x$LINE" != x ; then
4175 eval "DEFAULT_$LINE"
4176 else
4177 no_cache=1
4178 fi
4179
4180 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4181
4182 fi;
4183
4184 eval "$ac_cv_use_file"
4185 if test "$no_cache" != 1; then
4186 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4187 fi
4188
4189 if test "$wxUSE_FILE" = yes; then
4190 echo "$as_me:4190: result: yes" >&5
4191 echo "${ECHO_T}yes" >&6
4192 else
4193 echo "$as_me:4193: result: no" >&5
4194 echo "${ECHO_T}no" >&6
4195 fi
4196
4197 echo "$as_me:4197: checking for --enable-ffile" >&5
4198 echo $ECHO_N "checking for --enable-ffile... $ECHO_C" >&6
4199 no_cache=0
4200 # Check whether --enable-ffile or --disable-ffile was given.
4201 if test "${enable_ffile+set}" = set; then
4202 enableval="$enable_ffile"
4203
4204 if test "$enableval" = yes; then
4205 ac_cv_use_ffile='wxUSE_FFILE=yes'
4206 else
4207 ac_cv_use_ffile='wxUSE_FFILE=no'
4208 fi
4209
4210 else
4211
4212 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4213 if test "x$LINE" != x ; then
4214 eval "DEFAULT_$LINE"
4215 else
4216 no_cache=1
4217 fi
4218
4219 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4220
4221 fi;
4222
4223 eval "$ac_cv_use_ffile"
4224 if test "$no_cache" != 1; then
4225 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4226 fi
4227
4228 if test "$wxUSE_FFILE" = yes; then
4229 echo "$as_me:4229: result: yes" >&5
4230 echo "${ECHO_T}yes" >&6
4231 else
4232 echo "$as_me:4232: result: no" >&5
4233 echo "${ECHO_T}no" >&6
4234 fi
4235
4236 echo "$as_me:4236: checking for --enable-textbuf" >&5
4237 echo $ECHO_N "checking for --enable-textbuf... $ECHO_C" >&6
4238 no_cache=0
4239 # Check whether --enable-textbuf or --disable-textbuf was given.
4240 if test "${enable_textbuf+set}" = set; then
4241 enableval="$enable_textbuf"
4242
4243 if test "$enableval" = yes; then
4244 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
4245 else
4246 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
4247 fi
4248
4249 else
4250
4251 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
4252 if test "x$LINE" != x ; then
4253 eval "DEFAULT_$LINE"
4254 else
4255 no_cache=1
4256 fi
4257
4258 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
4259
4260 fi;
4261
4262 eval "$ac_cv_use_textbuf"
4263 if test "$no_cache" != 1; then
4264 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
4265 fi
4266
4267 if test "$wxUSE_TEXTBUFFER" = yes; then
4268 echo "$as_me:4268: result: yes" >&5
4269 echo "${ECHO_T}yes" >&6
4270 else
4271 echo "$as_me:4271: result: no" >&5
4272 echo "${ECHO_T}no" >&6
4273 fi
4274
4275 echo "$as_me:4275: checking for --enable-textfile" >&5
4276 echo $ECHO_N "checking for --enable-textfile... $ECHO_C" >&6
4277 no_cache=0
4278 # Check whether --enable-textfile or --disable-textfile was given.
4279 if test "${enable_textfile+set}" = set; then
4280 enableval="$enable_textfile"
4281
4282 if test "$enableval" = yes; then
4283 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
4284 else
4285 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
4286 fi
4287
4288 else
4289
4290 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
4291 if test "x$LINE" != x ; then
4292 eval "DEFAULT_$LINE"
4293 else
4294 no_cache=1
4295 fi
4296
4297 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
4298
4299 fi;
4300
4301 eval "$ac_cv_use_textfile"
4302 if test "$no_cache" != 1; then
4303 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4304 fi
4305
4306 if test "$wxUSE_TEXTFILE" = yes; then
4307 echo "$as_me:4307: result: yes" >&5
4308 echo "${ECHO_T}yes" >&6
4309 else
4310 echo "$as_me:4310: result: no" >&5
4311 echo "${ECHO_T}no" >&6
4312 fi
4313
4314 echo "$as_me:4314: checking for --enable-fontmap" >&5
4315 echo $ECHO_N "checking for --enable-fontmap... $ECHO_C" >&6
4316 no_cache=0
4317 # Check whether --enable-fontmap or --disable-fontmap was given.
4318 if test "${enable_fontmap+set}" = set; then
4319 enableval="$enable_fontmap"
4320
4321 if test "$enableval" = yes; then
4322 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
4323 else
4324 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
4325 fi
4326
4327 else
4328
4329 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4330 if test "x$LINE" != x ; then
4331 eval "DEFAULT_$LINE"
4332 else
4333 no_cache=1
4334 fi
4335
4336 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4337
4338 fi;
4339
4340 eval "$ac_cv_use_fontmap"
4341 if test "$no_cache" != 1; then
4342 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4343 fi
4344
4345 if test "$wxUSE_FONTMAP" = yes; then
4346 echo "$as_me:4346: result: yes" >&5
4347 echo "${ECHO_T}yes" >&6
4348 else
4349 echo "$as_me:4349: result: no" >&5
4350 echo "${ECHO_T}no" >&6
4351 fi
4352
4353 echo "$as_me:4353: checking for --enable-unicode" >&5
4354 echo $ECHO_N "checking for --enable-unicode... $ECHO_C" >&6
4355 no_cache=0
4356 # Check whether --enable-unicode or --disable-unicode was given.
4357 if test "${enable_unicode+set}" = set; then
4358 enableval="$enable_unicode"
4359
4360 if test "$enableval" = yes; then
4361 ac_cv_use_unicode='wxUSE_UNICODE=yes'
4362 else
4363 ac_cv_use_unicode='wxUSE_UNICODE=no'
4364 fi
4365
4366 else
4367
4368 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
4369 if test "x$LINE" != x ; then
4370 eval "DEFAULT_$LINE"
4371 else
4372 no_cache=1
4373 fi
4374
4375 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
4376
4377 fi;
4378
4379 eval "$ac_cv_use_unicode"
4380 if test "$no_cache" != 1; then
4381 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
4382 fi
4383
4384 if test "$wxUSE_UNICODE" = yes; then
4385 echo "$as_me:4385: result: yes" >&5
4386 echo "${ECHO_T}yes" >&6
4387 else
4388 echo "$as_me:4388: result: no" >&5
4389 echo "${ECHO_T}no" >&6
4390 fi
4391
4392 echo "$as_me:4392: checking for --enable-mslu" >&5
4393 echo $ECHO_N "checking for --enable-mslu... $ECHO_C" >&6
4394 no_cache=0
4395 # Check whether --enable-mslu or --disable-mslu was given.
4396 if test "${enable_mslu+set}" = set; then
4397 enableval="$enable_mslu"
4398
4399 if test "$enableval" = yes; then
4400 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4401 else
4402 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4403 fi
4404
4405 else
4406
4407 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
4408 if test "x$LINE" != x ; then
4409 eval "DEFAULT_$LINE"
4410 else
4411 no_cache=1
4412 fi
4413
4414 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
4415
4416 fi;
4417
4418 eval "$ac_cv_use_mslu"
4419 if test "$no_cache" != 1; then
4420 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
4421 fi
4422
4423 if test "$wxUSE_UNICODE_MSLU" = yes; then
4424 echo "$as_me:4424: result: yes" >&5
4425 echo "${ECHO_T}yes" >&6
4426 else
4427 echo "$as_me:4427: result: no" >&5
4428 echo "${ECHO_T}no" >&6
4429 fi
4430
4431 echo "$as_me:4431: checking for --enable-wxprintfv" >&5
4432 echo $ECHO_N "checking for --enable-wxprintfv... $ECHO_C" >&6
4433 no_cache=0
4434 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
4435 if test "${enable_wxprintfv+set}" = set; then
4436 enableval="$enable_wxprintfv"
4437
4438 if test "$enableval" = yes; then
4439 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
4440 else
4441 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
4442 fi
4443
4444 else
4445
4446 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
4447 if test "x$LINE" != x ; then
4448 eval "DEFAULT_$LINE"
4449 else
4450 no_cache=1
4451 fi
4452
4453 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
4454
4455 fi;
4456
4457 eval "$ac_cv_use_wxprintfv"
4458 if test "$no_cache" != 1; then
4459 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
4460 fi
4461
4462 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
4463 echo "$as_me:4463: result: yes" >&5
4464 echo "${ECHO_T}yes" >&6
4465 else
4466 echo "$as_me:4466: result: no" >&5
4467 echo "${ECHO_T}no" >&6
4468 fi
4469
4470 echo "$as_me:4470: checking for --enable-std_iostreams" >&5
4471 echo $ECHO_N "checking for --enable-std_iostreams... $ECHO_C" >&6
4472 no_cache=0
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"
4476
4477 if test "$enableval" = yes; then
4478 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4479 else
4480 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4481 fi
4482
4483 else
4484
4485 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
4486 if test "x$LINE" != x ; then
4487 eval "DEFAULT_$LINE"
4488 else
4489 no_cache=1
4490 fi
4491
4492 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
4493
4494 fi;
4495
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
4499 fi
4500
4501 if test "$wxUSE_STD_IOSTREAM" = yes; then
4502 echo "$as_me:4502: result: yes" >&5
4503 echo "${ECHO_T}yes" >&6
4504 else
4505 echo "$as_me:4505: result: no" >&5
4506 echo "${ECHO_T}no" >&6
4507 fi
4508
4509 echo "$as_me:4509: checking for --enable-filesystem" >&5
4510 echo $ECHO_N "checking for --enable-filesystem... $ECHO_C" >&6
4511 no_cache=0
4512 # Check whether --enable-filesystem or --disable-filesystem was given.
4513 if test "${enable_filesystem+set}" = set; then
4514 enableval="$enable_filesystem"
4515
4516 if test "$enableval" = yes; then
4517 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
4518 else
4519 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
4520 fi
4521
4522 else
4523
4524 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4525 if test "x$LINE" != x ; then
4526 eval "DEFAULT_$LINE"
4527 else
4528 no_cache=1
4529 fi
4530
4531 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4532
4533 fi;
4534
4535 eval "$ac_cv_use_filesystem"
4536 if test "$no_cache" != 1; then
4537 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4538 fi
4539
4540 if test "$wxUSE_FILESYSTEM" = yes; then
4541 echo "$as_me:4541: result: yes" >&5
4542 echo "${ECHO_T}yes" >&6
4543 else
4544 echo "$as_me:4544: result: no" >&5
4545 echo "${ECHO_T}no" >&6
4546 fi
4547
4548 echo "$as_me:4548: checking for --enable-fs_inet" >&5
4549 echo $ECHO_N "checking for --enable-fs_inet... $ECHO_C" >&6
4550 no_cache=0
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"
4554
4555 if test "$enableval" = yes; then
4556 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
4557 else
4558 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
4559 fi
4560
4561 else
4562
4563 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4564 if test "x$LINE" != x ; then
4565 eval "DEFAULT_$LINE"
4566 else
4567 no_cache=1
4568 fi
4569
4570 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
4571
4572 fi;
4573
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
4577 fi
4578
4579 if test "$wxUSE_FS_INET" = yes; then
4580 echo "$as_me:4580: result: yes" >&5
4581 echo "${ECHO_T}yes" >&6
4582 else
4583 echo "$as_me:4583: result: no" >&5
4584 echo "${ECHO_T}no" >&6
4585 fi
4586
4587 echo "$as_me:4587: checking for --enable-fs_zip" >&5
4588 echo $ECHO_N "checking for --enable-fs_zip... $ECHO_C" >&6
4589 no_cache=0
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"
4593
4594 if test "$enableval" = yes; then
4595 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
4596 else
4597 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
4598 fi
4599
4600 else
4601
4602 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4603 if test "x$LINE" != x ; then
4604 eval "DEFAULT_$LINE"
4605 else
4606 no_cache=1
4607 fi
4608
4609 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4610
4611 fi;
4612
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
4616 fi
4617
4618 if test "$wxUSE_FS_ZIP" = yes; then
4619 echo "$as_me:4619: result: yes" >&5
4620 echo "${ECHO_T}yes" >&6
4621 else
4622 echo "$as_me:4622: result: no" >&5
4623 echo "${ECHO_T}no" >&6
4624 fi
4625
4626 echo "$as_me:4626: checking for --enable-zipstream" >&5
4627 echo $ECHO_N "checking for --enable-zipstream... $ECHO_C" >&6
4628 no_cache=0
4629 # Check whether --enable-zipstream or --disable-zipstream was given.
4630 if test "${enable_zipstream+set}" = set; then
4631 enableval="$enable_zipstream"
4632
4633 if test "$enableval" = yes; then
4634 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
4635 else
4636 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
4637 fi
4638
4639 else
4640
4641 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
4642 if test "x$LINE" != x ; then
4643 eval "DEFAULT_$LINE"
4644 else
4645 no_cache=1
4646 fi
4647
4648 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
4649
4650 fi;
4651
4652 eval "$ac_cv_use_zipstream"
4653 if test "$no_cache" != 1; then
4654 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
4655 fi
4656
4657 if test "$wxUSE_ZIPSTREAM" = yes; then
4658 echo "$as_me:4658: result: yes" >&5
4659 echo "${ECHO_T}yes" >&6
4660 else
4661 echo "$as_me:4661: result: no" >&5
4662 echo "${ECHO_T}no" >&6
4663 fi
4664
4665 echo "$as_me:4665: checking for --enable-catch_segvs" >&5
4666 echo $ECHO_N "checking for --enable-catch_segvs... $ECHO_C" >&6
4667 no_cache=0
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"
4671
4672 if test "$enableval" = yes; then
4673 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
4674 else
4675 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
4676 fi
4677
4678 else
4679
4680 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4681 if test "x$LINE" != x ; then
4682 eval "DEFAULT_$LINE"
4683 else
4684 no_cache=1
4685 fi
4686
4687 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4688
4689 fi;
4690
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
4694 fi
4695
4696 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4697 echo "$as_me:4697: result: yes" >&5
4698 echo "${ECHO_T}yes" >&6
4699 else
4700 echo "$as_me:4700: result: no" >&5
4701 echo "${ECHO_T}no" >&6
4702 fi
4703
4704 echo "$as_me:4704: checking for --enable-snglinst" >&5
4705 echo $ECHO_N "checking for --enable-snglinst... $ECHO_C" >&6
4706 no_cache=0
4707 # Check whether --enable-snglinst or --disable-snglinst was given.
4708 if test "${enable_snglinst+set}" = set; then
4709 enableval="$enable_snglinst"
4710
4711 if test "$enableval" = yes; then
4712 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
4713 else
4714 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
4715 fi
4716
4717 else
4718
4719 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4720 if test "x$LINE" != x ; then
4721 eval "DEFAULT_$LINE"
4722 else
4723 no_cache=1
4724 fi
4725
4726 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4727
4728 fi;
4729
4730 eval "$ac_cv_use_snglinst"
4731 if test "$no_cache" != 1; then
4732 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4733 fi
4734
4735 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4736 echo "$as_me:4736: result: yes" >&5
4737 echo "${ECHO_T}yes" >&6
4738 else
4739 echo "$as_me:4739: result: no" >&5
4740 echo "${ECHO_T}no" >&6
4741 fi
4742
4743 echo "$as_me:4743: checking for --enable-mimetype" >&5
4744 echo $ECHO_N "checking for --enable-mimetype... $ECHO_C" >&6
4745 no_cache=0
4746 # Check whether --enable-mimetype or --disable-mimetype was given.
4747 if test "${enable_mimetype+set}" = set; then
4748 enableval="$enable_mimetype"
4749
4750 if test "$enableval" = yes; then
4751 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
4752 else
4753 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
4754 fi
4755
4756 else
4757
4758 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4759 if test "x$LINE" != x ; then
4760 eval "DEFAULT_$LINE"
4761 else
4762 no_cache=1
4763 fi
4764
4765 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4766
4767 fi;
4768
4769 eval "$ac_cv_use_mimetype"
4770 if test "$no_cache" != 1; then
4771 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4772 fi
4773
4774 if test "$wxUSE_MIMETYPE" = yes; then
4775 echo "$as_me:4775: result: yes" >&5
4776 echo "${ECHO_T}yes" >&6
4777 else
4778 echo "$as_me:4778: result: no" >&5
4779 echo "${ECHO_T}no" >&6
4780 fi
4781
4782 echo "$as_me:4782: checking for --enable-system_options" >&5
4783 echo $ECHO_N "checking for --enable-system_options... $ECHO_C" >&6
4784 no_cache=0
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"
4788
4789 if test "$enableval" = yes; then
4790 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
4791 else
4792 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
4793 fi
4794
4795 else
4796
4797 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
4798 if test "x$LINE" != x ; then
4799 eval "DEFAULT_$LINE"
4800 else
4801 no_cache=1
4802 fi
4803
4804 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
4805
4806 fi;
4807
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
4811 fi
4812
4813 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
4814 echo "$as_me:4814: result: yes" >&5
4815 echo "${ECHO_T}yes" >&6
4816 else
4817 echo "$as_me:4817: result: no" >&5
4818 echo "${ECHO_T}no" >&6
4819 fi
4820
4821 echo "$as_me:4821: checking for --enable-url" >&5
4822 echo $ECHO_N "checking for --enable-url... $ECHO_C" >&6
4823 no_cache=0
4824 # Check whether --enable-url or --disable-url was given.
4825 if test "${enable_url+set}" = set; then
4826 enableval="$enable_url"
4827
4828 if test "$enableval" = yes; then
4829 ac_cv_use_url='wxUSE_URL=yes'
4830 else
4831 ac_cv_use_url='wxUSE_URL=no'
4832 fi
4833
4834 else
4835
4836 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
4837 if test "x$LINE" != x ; then
4838 eval "DEFAULT_$LINE"
4839 else
4840 no_cache=1
4841 fi
4842
4843 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
4844
4845 fi;
4846
4847 eval "$ac_cv_use_url"
4848 if test "$no_cache" != 1; then
4849 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
4850 fi
4851
4852 if test "$wxUSE_URL" = yes; then
4853 echo "$as_me:4853: result: yes" >&5
4854 echo "${ECHO_T}yes" >&6
4855 else
4856 echo "$as_me:4856: result: no" >&5
4857 echo "${ECHO_T}no" >&6
4858 fi
4859
4860 echo "$as_me:4860: checking for --enable-protocol" >&5
4861 echo $ECHO_N "checking for --enable-protocol... $ECHO_C" >&6
4862 no_cache=0
4863 # Check whether --enable-protocol or --disable-protocol was given.
4864 if test "${enable_protocol+set}" = set; then
4865 enableval="$enable_protocol"
4866
4867 if test "$enableval" = yes; then
4868 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
4869 else
4870 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
4871 fi
4872
4873 else
4874
4875 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4876 if test "x$LINE" != x ; then
4877 eval "DEFAULT_$LINE"
4878 else
4879 no_cache=1
4880 fi
4881
4882 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4883
4884 fi;
4885
4886 eval "$ac_cv_use_protocol"
4887 if test "$no_cache" != 1; then
4888 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
4889 fi
4890
4891 if test "$wxUSE_PROTOCOL" = yes; then
4892 echo "$as_me:4892: result: yes" >&5
4893 echo "${ECHO_T}yes" >&6
4894 else
4895 echo "$as_me:4895: result: no" >&5
4896 echo "${ECHO_T}no" >&6
4897 fi
4898
4899 echo "$as_me:4899: checking for --enable-protocol_http" >&5
4900 echo $ECHO_N "checking for --enable-protocol_http... $ECHO_C" >&6
4901 no_cache=0
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"
4905
4906 if test "$enableval" = yes; then
4907 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
4908 else
4909 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
4910 fi
4911
4912 else
4913
4914 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4915 if test "x$LINE" != x ; then
4916 eval "DEFAULT_$LINE"
4917 else
4918 no_cache=1
4919 fi
4920
4921 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4922
4923 fi;
4924
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
4928 fi
4929
4930 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4931 echo "$as_me:4931: result: yes" >&5
4932 echo "${ECHO_T}yes" >&6
4933 else
4934 echo "$as_me:4934: result: no" >&5
4935 echo "${ECHO_T}no" >&6
4936 fi
4937
4938 echo "$as_me:4938: checking for --enable-protocol_ftp" >&5
4939 echo $ECHO_N "checking for --enable-protocol_ftp... $ECHO_C" >&6
4940 no_cache=0
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"
4944
4945 if test "$enableval" = yes; then
4946 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
4947 else
4948 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
4949 fi
4950
4951 else
4952
4953 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4954 if test "x$LINE" != x ; then
4955 eval "DEFAULT_$LINE"
4956 else
4957 no_cache=1
4958 fi
4959
4960 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4961
4962 fi;
4963
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
4967 fi
4968
4969 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4970 echo "$as_me:4970: result: yes" >&5
4971 echo "${ECHO_T}yes" >&6
4972 else
4973 echo "$as_me:4973: result: no" >&5
4974 echo "${ECHO_T}no" >&6
4975 fi
4976
4977 echo "$as_me:4977: checking for --enable-protocol_file" >&5
4978 echo $ECHO_N "checking for --enable-protocol_file... $ECHO_C" >&6
4979 no_cache=0
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"
4983
4984 if test "$enableval" = yes; then
4985 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
4986 else
4987 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
4988 fi
4989
4990 else
4991
4992 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4993 if test "x$LINE" != x ; then
4994 eval "DEFAULT_$LINE"
4995 else
4996 no_cache=1
4997 fi
4998
4999 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5000
5001 fi;
5002
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
5006 fi
5007
5008 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5009 echo "$as_me:5009: result: yes" >&5
5010 echo "${ECHO_T}yes" >&6
5011 else
5012 echo "$as_me:5012: result: no" >&5
5013 echo "${ECHO_T}no" >&6
5014 fi
5015
5016 echo "$as_me:5016: checking for --enable-threads" >&5
5017 echo $ECHO_N "checking for --enable-threads... $ECHO_C" >&6
5018 no_cache=0
5019 # Check whether --enable-threads or --disable-threads was given.
5020 if test "${enable_threads+set}" = set; then
5021 enableval="$enable_threads"
5022
5023 if test "$enableval" = yes; then
5024 ac_cv_use_threads='wxUSE_THREADS=yes'
5025 else
5026 ac_cv_use_threads='wxUSE_THREADS=no'
5027 fi
5028
5029 else
5030
5031 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
5032 if test "x$LINE" != x ; then
5033 eval "DEFAULT_$LINE"
5034 else
5035 no_cache=1
5036 fi
5037
5038 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
5039
5040 fi;
5041
5042 eval "$ac_cv_use_threads"
5043 if test "$no_cache" != 1; then
5044 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
5045 fi
5046
5047 if test "$wxUSE_THREADS" = yes; then
5048 echo "$as_me:5048: result: yes" >&5
5049 echo "${ECHO_T}yes" >&6
5050 else
5051 echo "$as_me:5051: result: no" >&5
5052 echo "${ECHO_T}no" >&6
5053 fi
5054
5055 if test "$wxUSE_GUI" = "yes"; then
5056
5057 echo "$as_me:5057: checking for --enable-docview" >&5
5058 echo $ECHO_N "checking for --enable-docview... $ECHO_C" >&6
5059 no_cache=0
5060 # Check whether --enable-docview or --disable-docview was given.
5061 if test "${enable_docview+set}" = set; then
5062 enableval="$enable_docview"
5063
5064 if test "$enableval" = yes; then
5065 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
5066 else
5067 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
5068 fi
5069
5070 else
5071
5072 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
5073 if test "x$LINE" != x ; then
5074 eval "DEFAULT_$LINE"
5075 else
5076 no_cache=1
5077 fi
5078
5079 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
5080
5081 fi;
5082
5083 eval "$ac_cv_use_docview"
5084 if test "$no_cache" != 1; then
5085 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
5086 fi
5087
5088 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
5089 echo "$as_me:5089: result: yes" >&5
5090 echo "${ECHO_T}yes" >&6
5091 else
5092 echo "$as_me:5092: result: no" >&5
5093 echo "${ECHO_T}no" >&6
5094 fi
5095
5096 echo "$as_me:5096: checking for --enable-help" >&5
5097 echo $ECHO_N "checking for --enable-help... $ECHO_C" >&6
5098 no_cache=0
5099 # Check whether --enable-help or --disable-help was given.
5100 if test "${enable_help+set}" = set; then
5101 enableval="$enable_help"
5102
5103 if test "$enableval" = yes; then
5104 ac_cv_use_help='wxUSE_HELP=yes'
5105 else
5106 ac_cv_use_help='wxUSE_HELP=no'
5107 fi
5108
5109 else
5110
5111 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
5112 if test "x$LINE" != x ; then
5113 eval "DEFAULT_$LINE"
5114 else
5115 no_cache=1
5116 fi
5117
5118 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
5119
5120 fi;
5121
5122 eval "$ac_cv_use_help"
5123 if test "$no_cache" != 1; then
5124 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
5125 fi
5126
5127 if test "$wxUSE_HELP" = yes; then
5128 echo "$as_me:5128: result: yes" >&5
5129 echo "${ECHO_T}yes" >&6
5130 else
5131 echo "$as_me:5131: result: no" >&5
5132 echo "${ECHO_T}no" >&6
5133 fi
5134
5135 echo "$as_me:5135: checking for --enable-mshtmlhelp" >&5
5136 echo $ECHO_N "checking for --enable-mshtmlhelp... $ECHO_C" >&6
5137 no_cache=0
5138 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
5139 if test "${enable_mshtmlhelp+set}" = set; then
5140 enableval="$enable_mshtmlhelp"
5141
5142 if test "$enableval" = yes; then
5143 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
5144 else
5145 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
5146 fi
5147
5148 else
5149
5150 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
5151 if test "x$LINE" != x ; then
5152 eval "DEFAULT_$LINE"
5153 else
5154 no_cache=1
5155 fi
5156
5157 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
5158
5159 fi;
5160
5161 eval "$ac_cv_use_mshtmlhelp"
5162 if test "$no_cache" != 1; then
5163 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
5164 fi
5165
5166 if test "$wxUSE_MS_HTML_HELP" = yes; then
5167 echo "$as_me:5167: result: yes" >&5
5168 echo "${ECHO_T}yes" >&6
5169 else
5170 echo "$as_me:5170: result: no" >&5
5171 echo "${ECHO_T}no" >&6
5172 fi
5173
5174 echo "$as_me:5174: checking for --enable-html" >&5
5175 echo $ECHO_N "checking for --enable-html... $ECHO_C" >&6
5176 no_cache=0
5177 # Check whether --enable-html or --disable-html was given.
5178 if test "${enable_html+set}" = set; then
5179 enableval="$enable_html"
5180
5181 if test "$enableval" = yes; then
5182 ac_cv_use_html='wxUSE_HTML=yes'
5183 else
5184 ac_cv_use_html='wxUSE_HTML=no'
5185 fi
5186
5187 else
5188
5189 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5190 if test "x$LINE" != x ; then
5191 eval "DEFAULT_$LINE"
5192 else
5193 no_cache=1
5194 fi
5195
5196 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5197
5198 fi;
5199
5200 eval "$ac_cv_use_html"
5201 if test "$no_cache" != 1; then
5202 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5203 fi
5204
5205 if test "$wxUSE_HTML" = yes; then
5206 echo "$as_me:5206: result: yes" >&5
5207 echo "${ECHO_T}yes" >&6
5208 else
5209 echo "$as_me:5209: result: no" >&5
5210 echo "${ECHO_T}no" >&6
5211 fi
5212
5213 echo "$as_me:5213: checking for --enable-htmlhelp" >&5
5214 echo $ECHO_N "checking for --enable-htmlhelp... $ECHO_C" >&6
5215 no_cache=0
5216 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
5217 if test "${enable_htmlhelp+set}" = set; then
5218 enableval="$enable_htmlhelp"
5219
5220 if test "$enableval" = yes; then
5221 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
5222 else
5223 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
5224 fi
5225
5226 else
5227
5228 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
5229 if test "x$LINE" != x ; then
5230 eval "DEFAULT_$LINE"
5231 else
5232 no_cache=1
5233 fi
5234
5235 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
5236
5237 fi;
5238
5239 eval "$ac_cv_use_htmlhelp"
5240 if test "$no_cache" != 1; then
5241 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
5242 fi
5243
5244 if test "$wxUSE_WXHTML_HELP" = yes; then
5245 echo "$as_me:5245: result: yes" >&5
5246 echo "${ECHO_T}yes" >&6
5247 else
5248 echo "$as_me:5248: result: no" >&5
5249 echo "${ECHO_T}no" >&6
5250 fi
5251
5252 echo "$as_me:5252: checking for --enable-constraints" >&5
5253 echo $ECHO_N "checking for --enable-constraints... $ECHO_C" >&6
5254 no_cache=0
5255 # Check whether --enable-constraints or --disable-constraints was given.
5256 if test "${enable_constraints+set}" = set; then
5257 enableval="$enable_constraints"
5258
5259 if test "$enableval" = yes; then
5260 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
5261 else
5262 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
5263 fi
5264
5265 else
5266
5267 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5268 if test "x$LINE" != x ; then
5269 eval "DEFAULT_$LINE"
5270 else
5271 no_cache=1
5272 fi
5273
5274 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
5275
5276 fi;
5277
5278 eval "$ac_cv_use_constraints"
5279 if test "$no_cache" != 1; then
5280 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
5281 fi
5282
5283 if test "$wxUSE_CONSTRAINTS" = yes; then
5284 echo "$as_me:5284: result: yes" >&5
5285 echo "${ECHO_T}yes" >&6
5286 else
5287 echo "$as_me:5287: result: no" >&5
5288 echo "${ECHO_T}no" >&6
5289 fi
5290
5291 echo "$as_me:5291: checking for --enable-printarch" >&5
5292 echo $ECHO_N "checking for --enable-printarch... $ECHO_C" >&6
5293 no_cache=0
5294 # Check whether --enable-printarch or --disable-printarch was given.
5295 if test "${enable_printarch+set}" = set; then
5296 enableval="$enable_printarch"
5297
5298 if test "$enableval" = yes; then
5299 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
5300 else
5301 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
5302 fi
5303
5304 else
5305
5306 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
5307 if test "x$LINE" != x ; then
5308 eval "DEFAULT_$LINE"
5309 else
5310 no_cache=1
5311 fi
5312
5313 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
5314
5315 fi;
5316
5317 eval "$ac_cv_use_printarch"
5318 if test "$no_cache" != 1; then
5319 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
5320 fi
5321
5322 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
5323 echo "$as_me:5323: result: yes" >&5
5324 echo "${ECHO_T}yes" >&6
5325 else
5326 echo "$as_me:5326: result: no" >&5
5327 echo "${ECHO_T}no" >&6
5328 fi
5329
5330 echo "$as_me:5330: checking for --enable-mdi" >&5
5331 echo $ECHO_N "checking for --enable-mdi... $ECHO_C" >&6
5332 no_cache=0
5333 # Check whether --enable-mdi or --disable-mdi was given.
5334 if test "${enable_mdi+set}" = set; then
5335 enableval="$enable_mdi"
5336
5337 if test "$enableval" = yes; then
5338 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=yes'
5339 else
5340 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=no'
5341 fi
5342
5343 else
5344
5345 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
5346 if test "x$LINE" != x ; then
5347 eval "DEFAULT_$LINE"
5348 else
5349 no_cache=1
5350 fi
5351
5352 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
5353
5354 fi;
5355
5356 eval "$ac_cv_use_mdi"
5357 if test "$no_cache" != 1; then
5358 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
5359 fi
5360
5361 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
5362 echo "$as_me:5362: result: yes" >&5
5363 echo "${ECHO_T}yes" >&6
5364 else
5365 echo "$as_me:5365: result: no" >&5
5366 echo "${ECHO_T}no" >&6
5367 fi
5368
5369 echo "$as_me:5369: checking for --enable-loggui" >&5
5370 echo $ECHO_N "checking for --enable-loggui... $ECHO_C" >&6
5371 no_cache=0
5372 # Check whether --enable-loggui or --disable-loggui was given.
5373 if test "${enable_loggui+set}" = set; then
5374 enableval="$enable_loggui"
5375
5376 if test "$enableval" = yes; then
5377 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
5378 else
5379 ac_cv_use_loggui='wxUSE_LOGGUI=no'
5380 fi
5381
5382 else
5383
5384 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
5385 if test "x$LINE" != x ; then
5386 eval "DEFAULT_$LINE"
5387 else
5388 no_cache=1
5389 fi
5390
5391 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
5392
5393 fi;
5394
5395 eval "$ac_cv_use_loggui"
5396 if test "$no_cache" != 1; then
5397 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
5398 fi
5399
5400 if test "$wxUSE_LOGGUI" = yes; then
5401 echo "$as_me:5401: result: yes" >&5
5402 echo "${ECHO_T}yes" >&6
5403 else
5404 echo "$as_me:5404: result: no" >&5
5405 echo "${ECHO_T}no" >&6
5406 fi
5407
5408 echo "$as_me:5408: checking for --enable-logwin" >&5
5409 echo $ECHO_N "checking for --enable-logwin... $ECHO_C" >&6
5410 no_cache=0
5411 # Check whether --enable-logwin or --disable-logwin was given.
5412 if test "${enable_logwin+set}" = set; then
5413 enableval="$enable_logwin"
5414
5415 if test "$enableval" = yes; then
5416 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
5417 else
5418 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
5419 fi
5420
5421 else
5422
5423 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
5424 if test "x$LINE" != x ; then
5425 eval "DEFAULT_$LINE"
5426 else
5427 no_cache=1
5428 fi
5429
5430 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
5431
5432 fi;
5433
5434 eval "$ac_cv_use_logwin"
5435 if test "$no_cache" != 1; then
5436 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
5437 fi
5438
5439 if test "$wxUSE_LOGWINDOW" = yes; then
5440 echo "$as_me:5440: result: yes" >&5
5441 echo "${ECHO_T}yes" >&6
5442 else
5443 echo "$as_me:5443: result: no" >&5
5444 echo "${ECHO_T}no" >&6
5445 fi
5446
5447 echo "$as_me:5447: checking for --enable-logdialog" >&5
5448 echo $ECHO_N "checking for --enable-logdialog... $ECHO_C" >&6
5449 no_cache=0
5450 # Check whether --enable-logdialog or --disable-logdialog was given.
5451 if test "${enable_logdialog+set}" = set; then
5452 enableval="$enable_logdialog"
5453
5454 if test "$enableval" = yes; then
5455 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
5456 else
5457 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
5458 fi
5459
5460 else
5461
5462 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
5463 if test "x$LINE" != x ; then
5464 eval "DEFAULT_$LINE"
5465 else
5466 no_cache=1
5467 fi
5468
5469 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
5470
5471 fi;
5472
5473 eval "$ac_cv_use_logdialog"
5474 if test "$no_cache" != 1; then
5475 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
5476 fi
5477
5478 if test "$wxUSE_LOGDIALOG" = yes; then
5479 echo "$as_me:5479: result: yes" >&5
5480 echo "${ECHO_T}yes" >&6
5481 else
5482 echo "$as_me:5482: result: no" >&5
5483 echo "${ECHO_T}no" >&6
5484 fi
5485
5486 echo "$as_me:5486: checking for --enable-postscript" >&5
5487 echo $ECHO_N "checking for --enable-postscript... $ECHO_C" >&6
5488 no_cache=0
5489 # Check whether --enable-postscript or --disable-postscript was given.
5490 if test "${enable_postscript+set}" = set; then
5491 enableval="$enable_postscript"
5492
5493 if test "$enableval" = yes; then
5494 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
5495 else
5496 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
5497 fi
5498
5499 else
5500
5501 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
5502 if test "x$LINE" != x ; then
5503 eval "DEFAULT_$LINE"
5504 else
5505 no_cache=1
5506 fi
5507
5508 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
5509
5510 fi;
5511
5512 eval "$ac_cv_use_postscript"
5513 if test "$no_cache" != 1; then
5514 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
5515 fi
5516
5517 if test "$wxUSE_POSTSCRIPT" = yes; then
5518 echo "$as_me:5518: result: yes" >&5
5519 echo "${ECHO_T}yes" >&6
5520 else
5521 echo "$as_me:5521: result: no" >&5
5522 echo "${ECHO_T}no" >&6
5523 fi
5524
5525 echo "$as_me:5525: checking for --enable-prologio" >&5
5526 echo $ECHO_N "checking for --enable-prologio... $ECHO_C" >&6
5527 no_cache=0
5528 # Check whether --enable-prologio or --disable-prologio was given.
5529 if test "${enable_prologio+set}" = set; then
5530 enableval="$enable_prologio"
5531
5532 if test "$enableval" = yes; then
5533 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
5534 else
5535 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
5536 fi
5537
5538 else
5539
5540 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
5541 if test "x$LINE" != x ; then
5542 eval "DEFAULT_$LINE"
5543 else
5544 no_cache=1
5545 fi
5546
5547 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
5548
5549 fi;
5550
5551 eval "$ac_cv_use_prologio"
5552 if test "$no_cache" != 1; then
5553 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
5554 fi
5555
5556 if test "$wxUSE_PROLOGIO" = yes; then
5557 echo "$as_me:5557: result: yes" >&5
5558 echo "${ECHO_T}yes" >&6
5559 else
5560 echo "$as_me:5560: result: no" >&5
5561 echo "${ECHO_T}no" >&6
5562 fi
5563
5564 echo "$as_me:5564: checking for --enable-resources" >&5
5565 echo $ECHO_N "checking for --enable-resources... $ECHO_C" >&6
5566 no_cache=0
5567 # Check whether --enable-resources or --disable-resources was given.
5568 if test "${enable_resources+set}" = set; then
5569 enableval="$enable_resources"
5570
5571 if test "$enableval" = yes; then
5572 ac_cv_use_resources='wxUSE_RESOURCES=yes'
5573 else
5574 ac_cv_use_resources='wxUSE_RESOURCES=no'
5575 fi
5576
5577 else
5578
5579 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
5580 if test "x$LINE" != x ; then
5581 eval "DEFAULT_$LINE"
5582 else
5583 no_cache=1
5584 fi
5585
5586 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
5587
5588 fi;
5589
5590 eval "$ac_cv_use_resources"
5591 if test "$no_cache" != 1; then
5592 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
5593 fi
5594
5595 if test "$wxUSE_RESOURCES" = yes; then
5596 echo "$as_me:5596: result: yes" >&5
5597 echo "${ECHO_T}yes" >&6
5598 else
5599 echo "$as_me:5599: result: no" >&5
5600 echo "${ECHO_T}no" >&6
5601 fi
5602
5603 echo "$as_me:5603: checking for --enable-xresources" >&5
5604 echo $ECHO_N "checking for --enable-xresources... $ECHO_C" >&6
5605 no_cache=0
5606 # Check whether --enable-xresources or --disable-xresources was given.
5607 if test "${enable_xresources+set}" = set; then
5608 enableval="$enable_xresources"
5609
5610 if test "$enableval" = yes; then
5611 ac_cv_use_xresources='wxUSE_X_RESOURCES=yes'
5612 else
5613 ac_cv_use_xresources='wxUSE_X_RESOURCES=no'
5614 fi
5615
5616 else
5617
5618 LINE=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
5619 if test "x$LINE" != x ; then
5620 eval "DEFAULT_$LINE"
5621 else
5622 no_cache=1
5623 fi
5624
5625 ac_cv_use_xresources='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
5626
5627 fi;
5628
5629 eval "$ac_cv_use_xresources"
5630 if test "$no_cache" != 1; then
5631 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
5632 fi
5633
5634 if test "$wxUSE_X_RESOURCES" = yes; then
5635 echo "$as_me:5635: result: yes" >&5
5636 echo "${ECHO_T}yes" >&6
5637 else
5638 echo "$as_me:5638: result: no" >&5
5639 echo "${ECHO_T}no" >&6
5640 fi
5641
5642 echo "$as_me:5642: checking for --enable-clipboard" >&5
5643 echo $ECHO_N "checking for --enable-clipboard... $ECHO_C" >&6
5644 no_cache=0
5645 # Check whether --enable-clipboard or --disable-clipboard was given.
5646 if test "${enable_clipboard+set}" = set; then
5647 enableval="$enable_clipboard"
5648
5649 if test "$enableval" = yes; then
5650 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
5651 else
5652 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
5653 fi
5654
5655 else
5656
5657 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
5658 if test "x$LINE" != x ; then
5659 eval "DEFAULT_$LINE"
5660 else
5661 no_cache=1
5662 fi
5663
5664 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
5665
5666 fi;
5667
5668 eval "$ac_cv_use_clipboard"
5669 if test "$no_cache" != 1; then
5670 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
5671 fi
5672
5673 if test "$wxUSE_CLIPBOARD" = yes; then
5674 echo "$as_me:5674: result: yes" >&5
5675 echo "${ECHO_T}yes" >&6
5676 else
5677 echo "$as_me:5677: result: no" >&5
5678 echo "${ECHO_T}no" >&6
5679 fi
5680
5681 echo "$as_me:5681: checking for --enable-dnd" >&5
5682 echo $ECHO_N "checking for --enable-dnd... $ECHO_C" >&6
5683 no_cache=0
5684 # Check whether --enable-dnd or --disable-dnd was given.
5685 if test "${enable_dnd+set}" = set; then
5686 enableval="$enable_dnd"
5687
5688 if test "$enableval" = yes; then
5689 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
5690 else
5691 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
5692 fi
5693
5694 else
5695
5696 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
5697 if test "x$LINE" != x ; then
5698 eval "DEFAULT_$LINE"
5699 else
5700 no_cache=1
5701 fi
5702
5703 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
5704
5705 fi;
5706
5707 eval "$ac_cv_use_dnd"
5708 if test "$no_cache" != 1; then
5709 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
5710 fi
5711
5712 if test "$wxUSE_DRAG_AND_DROP" = yes; then
5713 echo "$as_me:5713: result: yes" >&5
5714 echo "${ECHO_T}yes" >&6
5715 else
5716 echo "$as_me:5716: result: no" >&5
5717 echo "${ECHO_T}no" >&6
5718 fi
5719
5720 echo "$as_me:5720: checking for --enable-metafile" >&5
5721 echo $ECHO_N "checking for --enable-metafile... $ECHO_C" >&6
5722 no_cache=0
5723 # Check whether --enable-metafile or --disable-metafile was given.
5724 if test "${enable_metafile+set}" = set; then
5725 enableval="$enable_metafile"
5726
5727 if test "$enableval" = yes; then
5728 ac_cv_use_metafile='wxUSE_METAFILE=yes'
5729 else
5730 ac_cv_use_metafile='wxUSE_METAFILE=no'
5731 fi
5732
5733 else
5734
5735 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
5736 if test "x$LINE" != x ; then
5737 eval "DEFAULT_$LINE"
5738 else
5739 no_cache=1
5740 fi
5741
5742 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
5743
5744 fi;
5745
5746 eval "$ac_cv_use_metafile"
5747 if test "$no_cache" != 1; then
5748 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
5749 fi
5750
5751 if test "$wxUSE_METAFILE" = yes; then
5752 echo "$as_me:5752: result: yes" >&5
5753 echo "${ECHO_T}yes" >&6
5754 else
5755 echo "$as_me:5755: result: no" >&5
5756 echo "${ECHO_T}no" >&6
5757 fi
5758
5759 echo "$as_me:5759: checking for --enable-treelayout" >&5
5760 echo $ECHO_N "checking for --enable-treelayout... $ECHO_C" >&6
5761 no_cache=0
5762 # Check whether --enable-treelayout or --disable-treelayout was given.
5763 if test "${enable_treelayout+set}" = set; then
5764 enableval="$enable_treelayout"
5765
5766 if test "$enableval" = yes; then
5767 ac_cv_use_treelayout='wxUSE_TREELAYOUT=yes'
5768 else
5769 ac_cv_use_treelayout='wxUSE_TREELAYOUT=no'
5770 fi
5771
5772 else
5773
5774 LINE=`grep "wxUSE_TREELAYOUT" ${wx_arg_cache_file}`
5775 if test "x$LINE" != x ; then
5776 eval "DEFAULT_$LINE"
5777 else
5778 no_cache=1
5779 fi
5780
5781 ac_cv_use_treelayout='wxUSE_TREELAYOUT='$DEFAULT_wxUSE_TREELAYOUT
5782
5783 fi;
5784
5785 eval "$ac_cv_use_treelayout"
5786 if test "$no_cache" != 1; then
5787 echo $ac_cv_use_treelayout >> ${wx_arg_cache_file}.tmp
5788 fi
5789
5790 if test "$wxUSE_TREELAYOUT" = yes; then
5791 echo "$as_me:5791: result: yes" >&5
5792 echo "${ECHO_T}yes" >&6
5793 else
5794 echo "$as_me:5794: result: no" >&5
5795 echo "${ECHO_T}no" >&6
5796 fi
5797
5798 echo "$as_me:5798: checking for --enable-controls" >&5
5799 echo $ECHO_N "checking for --enable-controls... $ECHO_C" >&6
5800 no_cache=0
5801 # Check whether --enable-controls or --disable-controls was given.
5802 if test "${enable_controls+set}" = set; then
5803 enableval="$enable_controls"
5804
5805 if test "$enableval" = yes; then
5806 ac_cv_use_controls='wxUSE_CONTROLS=yes'
5807 else
5808 ac_cv_use_controls='wxUSE_CONTROLS=no'
5809 fi
5810
5811 else
5812
5813 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
5814 if test "x$LINE" != x ; then
5815 eval "DEFAULT_$LINE"
5816 else
5817 no_cache=1
5818 fi
5819
5820 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
5821
5822 fi;
5823
5824 eval "$ac_cv_use_controls"
5825 if test "$no_cache" != 1; then
5826 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
5827 fi
5828
5829 if test "$wxUSE_CONTROLS" = yes; then
5830 echo "$as_me:5830: result: yes" >&5
5831 echo "${ECHO_T}yes" >&6
5832 else
5833 echo "$as_me:5833: result: no" >&5
5834 echo "${ECHO_T}no" >&6
5835 fi
5836
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
5915 fi
5916
5917 echo "$as_me:5917: checking for --enable-accel" >&5
5918 echo $ECHO_N "checking for --enable-accel... $ECHO_C" >&6
5919 no_cache=0
5920 # Check whether --enable-accel or --disable-accel was given.
5921 if test "${enable_accel+set}" = set; then
5922 enableval="$enable_accel"
5923
5924 if test "$enableval" = yes; then
5925 ac_cv_use_accel='wxUSE_ACCEL=yes'
5926 else
5927 ac_cv_use_accel='wxUSE_ACCEL=no'
5928 fi
5929
5930 else
5931
5932 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
5933 if test "x$LINE" != x ; then
5934 eval "DEFAULT_$LINE"
5935 else
5936 no_cache=1
5937 fi
5938
5939 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
5940
5941 fi;
5942
5943 eval "$ac_cv_use_accel"
5944 if test "$no_cache" != 1; then
5945 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
5946 fi
5947
5948 if test "$wxUSE_ACCEL" = yes; then
5949 echo "$as_me:5949: result: yes" >&5
5950 echo "${ECHO_T}yes" >&6
5951 else
5952 echo "$as_me:5952: result: no" >&5
5953 echo "${ECHO_T}no" >&6
5954 fi
5955
5956 echo "$as_me:5956: checking for --enable-button" >&5
5957 echo $ECHO_N "checking for --enable-button... $ECHO_C" >&6
5958 no_cache=0
5959 # Check whether --enable-button or --disable-button was given.
5960 if test "${enable_button+set}" = set; then
5961 enableval="$enable_button"
5962
5963 if test "$enableval" = yes; then
5964 ac_cv_use_button='wxUSE_BUTTON=yes'
5965 else
5966 ac_cv_use_button='wxUSE_BUTTON=no'
5967 fi
5968
5969 else
5970
5971 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
5972 if test "x$LINE" != x ; then
5973 eval "DEFAULT_$LINE"
5974 else
5975 no_cache=1
5976 fi
5977
5978 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
5979
5980 fi;
5981
5982 eval "$ac_cv_use_button"
5983 if test "$no_cache" != 1; then
5984 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
5985 fi
5986
5987 if test "$wxUSE_BUTTON" = yes; then
5988 echo "$as_me:5988: result: yes" >&5
5989 echo "${ECHO_T}yes" >&6
5990 else
5991 echo "$as_me:5991: result: no" >&5
5992 echo "${ECHO_T}no" >&6
5993 fi
5994
5995 echo "$as_me:5995: checking for --enable-bmpbutton" >&5
5996 echo $ECHO_N "checking for --enable-bmpbutton... $ECHO_C" >&6
5997 no_cache=0
5998 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
5999 if test "${enable_bmpbutton+set}" = set; then
6000 enableval="$enable_bmpbutton"
6001
6002 if test "$enableval" = yes; then
6003 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
6004 else
6005 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
6006 fi
6007
6008 else
6009
6010 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
6011 if test "x$LINE" != x ; then
6012 eval "DEFAULT_$LINE"
6013 else
6014 no_cache=1
6015 fi
6016
6017 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
6018
6019 fi;
6020
6021 eval "$ac_cv_use_bmpbutton"
6022 if test "$no_cache" != 1; then
6023 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
6024 fi
6025
6026 if test "$wxUSE_BMPBUTTON" = yes; then
6027 echo "$as_me:6027: result: yes" >&5
6028 echo "${ECHO_T}yes" >&6
6029 else
6030 echo "$as_me:6030: result: no" >&5
6031 echo "${ECHO_T}no" >&6
6032 fi
6033
6034 echo "$as_me:6034: checking for --enable-calendar" >&5
6035 echo $ECHO_N "checking for --enable-calendar... $ECHO_C" >&6
6036 no_cache=0
6037 # Check whether --enable-calendar or --disable-calendar was given.
6038 if test "${enable_calendar+set}" = set; then
6039 enableval="$enable_calendar"
6040
6041 if test "$enableval" = yes; then
6042 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
6043 else
6044 ac_cv_use_calendar='wxUSE_CALCTRL=no'
6045 fi
6046
6047 else
6048
6049 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
6050 if test "x$LINE" != x ; then
6051 eval "DEFAULT_$LINE"
6052 else
6053 no_cache=1
6054 fi
6055
6056 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
6057
6058 fi;
6059
6060 eval "$ac_cv_use_calendar"
6061 if test "$no_cache" != 1; then
6062 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
6063 fi
6064
6065 if test "$wxUSE_CALCTRL" = yes; then
6066 echo "$as_me:6066: result: yes" >&5
6067 echo "${ECHO_T}yes" >&6
6068 else
6069 echo "$as_me:6069: result: no" >&5
6070 echo "${ECHO_T}no" >&6
6071 fi
6072
6073 echo "$as_me:6073: checking for --enable-caret" >&5
6074 echo $ECHO_N "checking for --enable-caret... $ECHO_C" >&6
6075 no_cache=0
6076 # Check whether --enable-caret or --disable-caret was given.
6077 if test "${enable_caret+set}" = set; then
6078 enableval="$enable_caret"
6079
6080 if test "$enableval" = yes; then
6081 ac_cv_use_caret='wxUSE_CARET=yes'
6082 else
6083 ac_cv_use_caret='wxUSE_CARET=no'
6084 fi
6085
6086 else
6087
6088 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
6089 if test "x$LINE" != x ; then
6090 eval "DEFAULT_$LINE"
6091 else
6092 no_cache=1
6093 fi
6094
6095 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
6096
6097 fi;
6098
6099 eval "$ac_cv_use_caret"
6100 if test "$no_cache" != 1; then
6101 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
6102 fi
6103
6104 if test "$wxUSE_CARET" = yes; then
6105 echo "$as_me:6105: result: yes" >&5
6106 echo "${ECHO_T}yes" >&6
6107 else
6108 echo "$as_me:6108: result: no" >&5
6109 echo "${ECHO_T}no" >&6
6110 fi
6111
6112 echo "$as_me:6112: checking for --enable-checkbox" >&5
6113 echo $ECHO_N "checking for --enable-checkbox... $ECHO_C" >&6
6114 no_cache=0
6115 # Check whether --enable-checkbox or --disable-checkbox was given.
6116 if test "${enable_checkbox+set}" = set; then
6117 enableval="$enable_checkbox"
6118
6119 if test "$enableval" = yes; then
6120 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
6121 else
6122 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
6123 fi
6124
6125 else
6126
6127 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
6128 if test "x$LINE" != x ; then
6129 eval "DEFAULT_$LINE"
6130 else
6131 no_cache=1
6132 fi
6133
6134 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
6135
6136 fi;
6137
6138 eval "$ac_cv_use_checkbox"
6139 if test "$no_cache" != 1; then
6140 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
6141 fi
6142
6143 if test "$wxUSE_CHECKBOX" = yes; then
6144 echo "$as_me:6144: result: yes" >&5
6145 echo "${ECHO_T}yes" >&6
6146 else
6147 echo "$as_me:6147: result: no" >&5
6148 echo "${ECHO_T}no" >&6
6149 fi
6150
6151 echo "$as_me:6151: checking for --enable-checklst" >&5
6152 echo $ECHO_N "checking for --enable-checklst... $ECHO_C" >&6
6153 no_cache=0
6154 # Check whether --enable-checklst or --disable-checklst was given.
6155 if test "${enable_checklst+set}" = set; then
6156 enableval="$enable_checklst"
6157
6158 if test "$enableval" = yes; then
6159 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
6160 else
6161 ac_cv_use_checklst='wxUSE_CHECKLST=no'
6162 fi
6163
6164 else
6165
6166 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
6167 if test "x$LINE" != x ; then
6168 eval "DEFAULT_$LINE"
6169 else
6170 no_cache=1
6171 fi
6172
6173 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
6174
6175 fi;
6176
6177 eval "$ac_cv_use_checklst"
6178 if test "$no_cache" != 1; then
6179 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
6180 fi
6181
6182 if test "$wxUSE_CHECKLST" = yes; then
6183 echo "$as_me:6183: result: yes" >&5
6184 echo "${ECHO_T}yes" >&6
6185 else
6186 echo "$as_me:6186: result: no" >&5
6187 echo "${ECHO_T}no" >&6
6188 fi
6189
6190 echo "$as_me:6190: checking for --enable-choice" >&5
6191 echo $ECHO_N "checking for --enable-choice... $ECHO_C" >&6
6192 no_cache=0
6193 # Check whether --enable-choice or --disable-choice was given.
6194 if test "${enable_choice+set}" = set; then
6195 enableval="$enable_choice"
6196
6197 if test "$enableval" = yes; then
6198 ac_cv_use_choice='wxUSE_CHOICE=yes'
6199 else
6200 ac_cv_use_choice='wxUSE_CHOICE=no'
6201 fi
6202
6203 else
6204
6205 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
6206 if test "x$LINE" != x ; then
6207 eval "DEFAULT_$LINE"
6208 else
6209 no_cache=1
6210 fi
6211
6212 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
6213
6214 fi;
6215
6216 eval "$ac_cv_use_choice"
6217 if test "$no_cache" != 1; then
6218 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
6219 fi
6220
6221 if test "$wxUSE_CHOICE" = yes; then
6222 echo "$as_me:6222: result: yes" >&5
6223 echo "${ECHO_T}yes" >&6
6224 else
6225 echo "$as_me:6225: result: no" >&5
6226 echo "${ECHO_T}no" >&6
6227 fi
6228
6229 echo "$as_me:6229: checking for --enable-combobox" >&5
6230 echo $ECHO_N "checking for --enable-combobox... $ECHO_C" >&6
6231 no_cache=0
6232 # Check whether --enable-combobox or --disable-combobox was given.
6233 if test "${enable_combobox+set}" = set; then
6234 enableval="$enable_combobox"
6235
6236 if test "$enableval" = yes; then
6237 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
6238 else
6239 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
6240 fi
6241
6242 else
6243
6244 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6245 if test "x$LINE" != x ; then
6246 eval "DEFAULT_$LINE"
6247 else
6248 no_cache=1
6249 fi
6250
6251 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
6252
6253 fi;
6254
6255 eval "$ac_cv_use_combobox"
6256 if test "$no_cache" != 1; then
6257 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6258 fi
6259
6260 if test "$wxUSE_COMBOBOX" = yes; then
6261 echo "$as_me:6261: result: yes" >&5
6262 echo "${ECHO_T}yes" >&6
6263 else
6264 echo "$as_me:6264: result: no" >&5
6265 echo "${ECHO_T}no" >&6
6266 fi
6267
6268 echo "$as_me:6268: checking for --enable-gauge" >&5
6269 echo $ECHO_N "checking for --enable-gauge... $ECHO_C" >&6
6270 no_cache=0
6271 # Check whether --enable-gauge or --disable-gauge was given.
6272 if test "${enable_gauge+set}" = set; then
6273 enableval="$enable_gauge"
6274
6275 if test "$enableval" = yes; then
6276 ac_cv_use_gauge='wxUSE_GAUGE=yes'
6277 else
6278 ac_cv_use_gauge='wxUSE_GAUGE=no'
6279 fi
6280
6281 else
6282
6283 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
6284 if test "x$LINE" != x ; then
6285 eval "DEFAULT_$LINE"
6286 else
6287 no_cache=1
6288 fi
6289
6290 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
6291
6292 fi;
6293
6294 eval "$ac_cv_use_gauge"
6295 if test "$no_cache" != 1; then
6296 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
6297 fi
6298
6299 if test "$wxUSE_GAUGE" = yes; then
6300 echo "$as_me:6300: result: yes" >&5
6301 echo "${ECHO_T}yes" >&6
6302 else
6303 echo "$as_me:6303: result: no" >&5
6304 echo "${ECHO_T}no" >&6
6305 fi
6306
6307 echo "$as_me:6307: checking for --enable-grid" >&5
6308 echo $ECHO_N "checking for --enable-grid... $ECHO_C" >&6
6309 no_cache=0
6310 # Check whether --enable-grid or --disable-grid was given.
6311 if test "${enable_grid+set}" = set; then
6312 enableval="$enable_grid"
6313
6314 if test "$enableval" = yes; then
6315 ac_cv_use_grid='wxUSE_GRID=yes'
6316 else
6317 ac_cv_use_grid='wxUSE_GRID=no'
6318 fi
6319
6320 else
6321
6322 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
6323 if test "x$LINE" != x ; then
6324 eval "DEFAULT_$LINE"
6325 else
6326 no_cache=1
6327 fi
6328
6329 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
6330
6331 fi;
6332
6333 eval "$ac_cv_use_grid"
6334 if test "$no_cache" != 1; then
6335 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
6336 fi
6337
6338 if test "$wxUSE_GRID" = yes; then
6339 echo "$as_me:6339: result: yes" >&5
6340 echo "${ECHO_T}yes" >&6
6341 else
6342 echo "$as_me:6342: result: no" >&5
6343 echo "${ECHO_T}no" >&6
6344 fi
6345
6346 echo "$as_me:6346: checking for --enable-newgrid" >&5
6347 echo $ECHO_N "checking for --enable-newgrid... $ECHO_C" >&6
6348 no_cache=0
6349 # Check whether --enable-newgrid or --disable-newgrid was given.
6350 if test "${enable_newgrid+set}" = set; then
6351 enableval="$enable_newgrid"
6352
6353 if test "$enableval" = yes; then
6354 ac_cv_use_newgrid='wxUSE_NEW_GRID=yes'
6355 else
6356 ac_cv_use_newgrid='wxUSE_NEW_GRID=no'
6357 fi
6358
6359 else
6360
6361 LINE=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
6362 if test "x$LINE" != x ; then
6363 eval "DEFAULT_$LINE"
6364 else
6365 no_cache=1
6366 fi
6367
6368 ac_cv_use_newgrid='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
6369
6370 fi;
6371
6372 eval "$ac_cv_use_newgrid"
6373 if test "$no_cache" != 1; then
6374 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
6375 fi
6376
6377 if test "$wxUSE_NEW_GRID" = yes; then
6378 echo "$as_me:6378: result: yes" >&5
6379 echo "${ECHO_T}yes" >&6
6380 else
6381 echo "$as_me:6381: result: no" >&5
6382 echo "${ECHO_T}no" >&6
6383 fi
6384
6385 echo "$as_me:6385: checking for --enable-imaglist" >&5
6386 echo $ECHO_N "checking for --enable-imaglist... $ECHO_C" >&6
6387 no_cache=0
6388 # Check whether --enable-imaglist or --disable-imaglist was given.
6389 if test "${enable_imaglist+set}" = set; then
6390 enableval="$enable_imaglist"
6391
6392 if test "$enableval" = yes; then
6393 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
6394 else
6395 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
6396 fi
6397
6398 else
6399
6400 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
6401 if test "x$LINE" != x ; then
6402 eval "DEFAULT_$LINE"
6403 else
6404 no_cache=1
6405 fi
6406
6407 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
6408
6409 fi;
6410
6411 eval "$ac_cv_use_imaglist"
6412 if test "$no_cache" != 1; then
6413 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
6414 fi
6415
6416 if test "$wxUSE_IMAGLIST" = yes; then
6417 echo "$as_me:6417: result: yes" >&5
6418 echo "${ECHO_T}yes" >&6
6419 else
6420 echo "$as_me:6420: result: no" >&5
6421 echo "${ECHO_T}no" >&6
6422 fi
6423
6424 echo "$as_me:6424: checking for --enable-listbox" >&5
6425 echo $ECHO_N "checking for --enable-listbox... $ECHO_C" >&6
6426 no_cache=0
6427 # Check whether --enable-listbox or --disable-listbox was given.
6428 if test "${enable_listbox+set}" = set; then
6429 enableval="$enable_listbox"
6430
6431 if test "$enableval" = yes; then
6432 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
6433 else
6434 ac_cv_use_listbox='wxUSE_LISTBOX=no'
6435 fi
6436
6437 else
6438
6439 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
6440 if test "x$LINE" != x ; then
6441 eval "DEFAULT_$LINE"
6442 else
6443 no_cache=1
6444 fi
6445
6446 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
6447
6448 fi;
6449
6450 eval "$ac_cv_use_listbox"
6451 if test "$no_cache" != 1; then
6452 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
6453 fi
6454
6455 if test "$wxUSE_LISTBOX" = yes; then
6456 echo "$as_me:6456: result: yes" >&5
6457 echo "${ECHO_T}yes" >&6
6458 else
6459 echo "$as_me:6459: result: no" >&5
6460 echo "${ECHO_T}no" >&6
6461 fi
6462
6463 echo "$as_me:6463: checking for --enable-listctrl" >&5
6464 echo $ECHO_N "checking for --enable-listctrl... $ECHO_C" >&6
6465 no_cache=0
6466 # Check whether --enable-listctrl or --disable-listctrl was given.
6467 if test "${enable_listctrl+set}" = set; then
6468 enableval="$enable_listctrl"
6469
6470 if test "$enableval" = yes; then
6471 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
6472 else
6473 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
6474 fi
6475
6476 else
6477
6478 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
6479 if test "x$LINE" != x ; then
6480 eval "DEFAULT_$LINE"
6481 else
6482 no_cache=1
6483 fi
6484
6485 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
6486
6487 fi;
6488
6489 eval "$ac_cv_use_listctrl"
6490 if test "$no_cache" != 1; then
6491 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
6492 fi
6493
6494 if test "$wxUSE_LISTCTRL" = yes; then
6495 echo "$as_me:6495: result: yes" >&5
6496 echo "${ECHO_T}yes" >&6
6497 else
6498 echo "$as_me:6498: result: no" >&5
6499 echo "${ECHO_T}no" >&6
6500 fi
6501
6502 echo "$as_me:6502: checking for --enable-notebook" >&5
6503 echo $ECHO_N "checking for --enable-notebook... $ECHO_C" >&6
6504 no_cache=0
6505 # Check whether --enable-notebook or --disable-notebook was given.
6506 if test "${enable_notebook+set}" = set; then
6507 enableval="$enable_notebook"
6508
6509 if test "$enableval" = yes; then
6510 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
6511 else
6512 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
6513 fi
6514
6515 else
6516
6517 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
6518 if test "x$LINE" != x ; then
6519 eval "DEFAULT_$LINE"
6520 else
6521 no_cache=1
6522 fi
6523
6524 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
6525
6526 fi;
6527
6528 eval "$ac_cv_use_notebook"
6529 if test "$no_cache" != 1; then
6530 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
6531 fi
6532
6533 if test "$wxUSE_NOTEBOOK" = yes; then
6534 echo "$as_me:6534: result: yes" >&5
6535 echo "${ECHO_T}yes" >&6
6536 else
6537 echo "$as_me:6537: result: no" >&5
6538 echo "${ECHO_T}no" >&6
6539 fi
6540
6541 echo "$as_me:6541: checking for --enable-propsheet" >&5
6542 echo $ECHO_N "checking for --enable-propsheet... $ECHO_C" >&6
6543 no_cache=0
6544 # Check whether --enable-propsheet or --disable-propsheet was given.
6545 if test "${enable_propsheet+set}" = set; then
6546 enableval="$enable_propsheet"
6547
6548 if test "$enableval" = yes; then
6549 ac_cv_use_propsheet='wxUSE_PROPSHEET=yes'
6550 else
6551 ac_cv_use_propsheet='wxUSE_PROPSHEET=no'
6552 fi
6553
6554 else
6555
6556 LINE=`grep "wxUSE_PROPSHEET" ${wx_arg_cache_file}`
6557 if test "x$LINE" != x ; then
6558 eval "DEFAULT_$LINE"
6559 else
6560 no_cache=1
6561 fi
6562
6563 ac_cv_use_propsheet='wxUSE_PROPSHEET='$DEFAULT_wxUSE_PROPSHEET
6564
6565 fi;
6566
6567 eval "$ac_cv_use_propsheet"
6568 if test "$no_cache" != 1; then
6569 echo $ac_cv_use_propsheet >> ${wx_arg_cache_file}.tmp
6570 fi
6571
6572 if test "$wxUSE_PROPSHEET" = yes; then
6573 echo "$as_me:6573: result: yes" >&5
6574 echo "${ECHO_T}yes" >&6
6575 else
6576 echo "$as_me:6576: result: no" >&5
6577 echo "${ECHO_T}no" >&6
6578 fi
6579
6580 echo "$as_me:6580: checking for --enable-radiobox" >&5
6581 echo $ECHO_N "checking for --enable-radiobox... $ECHO_C" >&6
6582 no_cache=0
6583 # Check whether --enable-radiobox or --disable-radiobox was given.
6584 if test "${enable_radiobox+set}" = set; then
6585 enableval="$enable_radiobox"
6586
6587 if test "$enableval" = yes; then
6588 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
6589 else
6590 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
6591 fi
6592
6593 else
6594
6595 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
6596 if test "x$LINE" != x ; then
6597 eval "DEFAULT_$LINE"
6598 else
6599 no_cache=1
6600 fi
6601
6602 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
6603
6604 fi;
6605
6606 eval "$ac_cv_use_radiobox"
6607 if test "$no_cache" != 1; then
6608 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
6609 fi
6610
6611 if test "$wxUSE_RADIOBOX" = yes; then
6612 echo "$as_me:6612: result: yes" >&5
6613 echo "${ECHO_T}yes" >&6
6614 else
6615 echo "$as_me:6615: result: no" >&5
6616 echo "${ECHO_T}no" >&6
6617 fi
6618
6619 echo "$as_me:6619: checking for --enable-radiobtn" >&5
6620 echo $ECHO_N "checking for --enable-radiobtn... $ECHO_C" >&6
6621 no_cache=0
6622 # Check whether --enable-radiobtn or --disable-radiobtn was given.
6623 if test "${enable_radiobtn+set}" = set; then
6624 enableval="$enable_radiobtn"
6625
6626 if test "$enableval" = yes; then
6627 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
6628 else
6629 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
6630 fi
6631
6632 else
6633
6634 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
6635 if test "x$LINE" != x ; then
6636 eval "DEFAULT_$LINE"
6637 else
6638 no_cache=1
6639 fi
6640
6641 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
6642
6643 fi;
6644
6645 eval "$ac_cv_use_radiobtn"
6646 if test "$no_cache" != 1; then
6647 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
6648 fi
6649
6650 if test "$wxUSE_RADIOBTN" = yes; then
6651 echo "$as_me:6651: result: yes" >&5
6652 echo "${ECHO_T}yes" >&6
6653 else
6654 echo "$as_me:6654: result: no" >&5
6655 echo "${ECHO_T}no" >&6
6656 fi
6657
6658 echo "$as_me:6658: checking for --enable-sash" >&5
6659 echo $ECHO_N "checking for --enable-sash... $ECHO_C" >&6
6660 no_cache=0
6661 # Check whether --enable-sash or --disable-sash was given.
6662 if test "${enable_sash+set}" = set; then
6663 enableval="$enable_sash"
6664
6665 if test "$enableval" = yes; then
6666 ac_cv_use_sash='wxUSE_SASH=yes'
6667 else
6668 ac_cv_use_sash='wxUSE_SASH=no'
6669 fi
6670
6671 else
6672
6673 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
6674 if test "x$LINE" != x ; then
6675 eval "DEFAULT_$LINE"
6676 else
6677 no_cache=1
6678 fi
6679
6680 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
6681
6682 fi;
6683
6684 eval "$ac_cv_use_sash"
6685 if test "$no_cache" != 1; then
6686 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
6687 fi
6688
6689 if test "$wxUSE_SASH" = yes; then
6690 echo "$as_me:6690: result: yes" >&5
6691 echo "${ECHO_T}yes" >&6
6692 else
6693 echo "$as_me:6693: result: no" >&5
6694 echo "${ECHO_T}no" >&6
6695 fi
6696
6697 echo "$as_me:6697: checking for --enable-scrollbar" >&5
6698 echo $ECHO_N "checking for --enable-scrollbar... $ECHO_C" >&6
6699 no_cache=0
6700 # Check whether --enable-scrollbar or --disable-scrollbar was given.
6701 if test "${enable_scrollbar+set}" = set; then
6702 enableval="$enable_scrollbar"
6703
6704 if test "$enableval" = yes; then
6705 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
6706 else
6707 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
6708 fi
6709
6710 else
6711
6712 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
6713 if test "x$LINE" != x ; then
6714 eval "DEFAULT_$LINE"
6715 else
6716 no_cache=1
6717 fi
6718
6719 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
6720
6721 fi;
6722
6723 eval "$ac_cv_use_scrollbar"
6724 if test "$no_cache" != 1; then
6725 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
6726 fi
6727
6728 if test "$wxUSE_SCROLLBAR" = yes; then
6729 echo "$as_me:6729: result: yes" >&5
6730 echo "${ECHO_T}yes" >&6
6731 else
6732 echo "$as_me:6732: result: no" >&5
6733 echo "${ECHO_T}no" >&6
6734 fi
6735
6736 echo "$as_me:6736: checking for --enable-slider" >&5
6737 echo $ECHO_N "checking for --enable-slider... $ECHO_C" >&6
6738 no_cache=0
6739 # Check whether --enable-slider or --disable-slider was given.
6740 if test "${enable_slider+set}" = set; then
6741 enableval="$enable_slider"
6742
6743 if test "$enableval" = yes; then
6744 ac_cv_use_slider='wxUSE_SLIDER=yes'
6745 else
6746 ac_cv_use_slider='wxUSE_SLIDER=no'
6747 fi
6748
6749 else
6750
6751 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
6752 if test "x$LINE" != x ; then
6753 eval "DEFAULT_$LINE"
6754 else
6755 no_cache=1
6756 fi
6757
6758 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
6759
6760 fi;
6761
6762 eval "$ac_cv_use_slider"
6763 if test "$no_cache" != 1; then
6764 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
6765 fi
6766
6767 if test "$wxUSE_SLIDER" = yes; then
6768 echo "$as_me:6768: result: yes" >&5
6769 echo "${ECHO_T}yes" >&6
6770 else
6771 echo "$as_me:6771: result: no" >&5
6772 echo "${ECHO_T}no" >&6
6773 fi
6774
6775 echo "$as_me:6775: checking for --enable-spinbtn" >&5
6776 echo $ECHO_N "checking for --enable-spinbtn... $ECHO_C" >&6
6777 no_cache=0
6778 # Check whether --enable-spinbtn or --disable-spinbtn was given.
6779 if test "${enable_spinbtn+set}" = set; then
6780 enableval="$enable_spinbtn"
6781
6782 if test "$enableval" = yes; then
6783 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
6784 else
6785 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
6786 fi
6787
6788 else
6789
6790 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
6791 if test "x$LINE" != x ; then
6792 eval "DEFAULT_$LINE"
6793 else
6794 no_cache=1
6795 fi
6796
6797 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
6798
6799 fi;
6800
6801 eval "$ac_cv_use_spinbtn"
6802 if test "$no_cache" != 1; then
6803 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
6804 fi
6805
6806 if test "$wxUSE_SPINBTN" = yes; then
6807 echo "$as_me:6807: result: yes" >&5
6808 echo "${ECHO_T}yes" >&6
6809 else
6810 echo "$as_me:6810: result: no" >&5
6811 echo "${ECHO_T}no" >&6
6812 fi
6813
6814 echo "$as_me:6814: checking for --enable-spinctrl" >&5
6815 echo $ECHO_N "checking for --enable-spinctrl... $ECHO_C" >&6
6816 no_cache=0
6817 # Check whether --enable-spinctrl or --disable-spinctrl was given.
6818 if test "${enable_spinctrl+set}" = set; then
6819 enableval="$enable_spinctrl"
6820
6821 if test "$enableval" = yes; then
6822 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
6823 else
6824 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
6825 fi
6826
6827 else
6828
6829 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
6830 if test "x$LINE" != x ; then
6831 eval "DEFAULT_$LINE"
6832 else
6833 no_cache=1
6834 fi
6835
6836 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
6837
6838 fi;
6839
6840 eval "$ac_cv_use_spinctrl"
6841 if test "$no_cache" != 1; then
6842 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
6843 fi
6844
6845 if test "$wxUSE_SPINCTRL" = yes; then
6846 echo "$as_me:6846: result: yes" >&5
6847 echo "${ECHO_T}yes" >&6
6848 else
6849 echo "$as_me:6849: result: no" >&5
6850 echo "${ECHO_T}no" >&6
6851 fi
6852
6853 echo "$as_me:6853: checking for --enable-splitter" >&5
6854 echo $ECHO_N "checking for --enable-splitter... $ECHO_C" >&6
6855 no_cache=0
6856 # Check whether --enable-splitter or --disable-splitter was given.
6857 if test "${enable_splitter+set}" = set; then
6858 enableval="$enable_splitter"
6859
6860 if test "$enableval" = yes; then
6861 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
6862 else
6863 ac_cv_use_splitter='wxUSE_SPLITTER=no'
6864 fi
6865
6866 else
6867
6868 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
6869 if test "x$LINE" != x ; then
6870 eval "DEFAULT_$LINE"
6871 else
6872 no_cache=1
6873 fi
6874
6875 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
6876
6877 fi;
6878
6879 eval "$ac_cv_use_splitter"
6880 if test "$no_cache" != 1; then
6881 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
6882 fi
6883
6884 if test "$wxUSE_SPLITTER" = yes; then
6885 echo "$as_me:6885: result: yes" >&5
6886 echo "${ECHO_T}yes" >&6
6887 else
6888 echo "$as_me:6888: result: no" >&5
6889 echo "${ECHO_T}no" >&6
6890 fi
6891
6892 echo "$as_me:6892: checking for --enable-statbmp" >&5
6893 echo $ECHO_N "checking for --enable-statbmp... $ECHO_C" >&6
6894 no_cache=0
6895 # Check whether --enable-statbmp or --disable-statbmp was given.
6896 if test "${enable_statbmp+set}" = set; then
6897 enableval="$enable_statbmp"
6898
6899 if test "$enableval" = yes; then
6900 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
6901 else
6902 ac_cv_use_statbmp='wxUSE_STATBMP=no'
6903 fi
6904
6905 else
6906
6907 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
6908 if test "x$LINE" != x ; then
6909 eval "DEFAULT_$LINE"
6910 else
6911 no_cache=1
6912 fi
6913
6914 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
6915
6916 fi;
6917
6918 eval "$ac_cv_use_statbmp"
6919 if test "$no_cache" != 1; then
6920 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
6921 fi
6922
6923 if test "$wxUSE_STATBMP" = yes; then
6924 echo "$as_me:6924: result: yes" >&5
6925 echo "${ECHO_T}yes" >&6
6926 else
6927 echo "$as_me:6927: result: no" >&5
6928 echo "${ECHO_T}no" >&6
6929 fi
6930
6931 echo "$as_me:6931: checking for --enable-statbox" >&5
6932 echo $ECHO_N "checking for --enable-statbox... $ECHO_C" >&6
6933 no_cache=0
6934 # Check whether --enable-statbox or --disable-statbox was given.
6935 if test "${enable_statbox+set}" = set; then
6936 enableval="$enable_statbox"
6937
6938 if test "$enableval" = yes; then
6939 ac_cv_use_statbox='wxUSE_STATBOX=yes'
6940 else
6941 ac_cv_use_statbox='wxUSE_STATBOX=no'
6942 fi
6943
6944 else
6945
6946 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
6947 if test "x$LINE" != x ; then
6948 eval "DEFAULT_$LINE"
6949 else
6950 no_cache=1
6951 fi
6952
6953 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
6954
6955 fi;
6956
6957 eval "$ac_cv_use_statbox"
6958 if test "$no_cache" != 1; then
6959 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
6960 fi
6961
6962 if test "$wxUSE_STATBOX" = yes; then
6963 echo "$as_me:6963: result: yes" >&5
6964 echo "${ECHO_T}yes" >&6
6965 else
6966 echo "$as_me:6966: result: no" >&5
6967 echo "${ECHO_T}no" >&6
6968 fi
6969
6970 echo "$as_me:6970: checking for --enable-statline" >&5
6971 echo $ECHO_N "checking for --enable-statline... $ECHO_C" >&6
6972 no_cache=0
6973 # Check whether --enable-statline or --disable-statline was given.
6974 if test "${enable_statline+set}" = set; then
6975 enableval="$enable_statline"
6976
6977 if test "$enableval" = yes; then
6978 ac_cv_use_statline='wxUSE_STATLINE=yes'
6979 else
6980 ac_cv_use_statline='wxUSE_STATLINE=no'
6981 fi
6982
6983 else
6984
6985 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
6986 if test "x$LINE" != x ; then
6987 eval "DEFAULT_$LINE"
6988 else
6989 no_cache=1
6990 fi
6991
6992 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
6993
6994 fi;
6995
6996 eval "$ac_cv_use_statline"
6997 if test "$no_cache" != 1; then
6998 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
6999 fi
7000
7001 if test "$wxUSE_STATLINE" = yes; then
7002 echo "$as_me:7002: result: yes" >&5
7003 echo "${ECHO_T}yes" >&6
7004 else
7005 echo "$as_me:7005: result: no" >&5
7006 echo "${ECHO_T}no" >&6
7007 fi
7008
7009 echo "$as_me:7009: checking for --enable-stattext" >&5
7010 echo $ECHO_N "checking for --enable-stattext... $ECHO_C" >&6
7011 no_cache=0
7012 # Check whether --enable-stattext or --disable-stattext was given.
7013 if test "${enable_stattext+set}" = set; then
7014 enableval="$enable_stattext"
7015
7016 if test "$enableval" = yes; then
7017 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
7018 else
7019 ac_cv_use_stattext='wxUSE_STATTEXT=no'
7020 fi
7021
7022 else
7023
7024 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
7025 if test "x$LINE" != x ; then
7026 eval "DEFAULT_$LINE"
7027 else
7028 no_cache=1
7029 fi
7030
7031 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
7032
7033 fi;
7034
7035 eval "$ac_cv_use_stattext"
7036 if test "$no_cache" != 1; then
7037 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
7038 fi
7039
7040 if test "$wxUSE_STATTEXT" = yes; then
7041 echo "$as_me:7041: result: yes" >&5
7042 echo "${ECHO_T}yes" >&6
7043 else
7044 echo "$as_me:7044: result: no" >&5
7045 echo "${ECHO_T}no" >&6
7046 fi
7047
7048 echo "$as_me:7048: checking for --enable-statusbar" >&5
7049 echo $ECHO_N "checking for --enable-statusbar... $ECHO_C" >&6
7050 no_cache=0
7051 # Check whether --enable-statusbar or --disable-statusbar was given.
7052 if test "${enable_statusbar+set}" = set; then
7053 enableval="$enable_statusbar"
7054
7055 if test "$enableval" = yes; then
7056 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
7057 else
7058 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
7059 fi
7060
7061 else
7062
7063 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
7064 if test "x$LINE" != x ; then
7065 eval "DEFAULT_$LINE"
7066 else
7067 no_cache=1
7068 fi
7069
7070 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
7071
7072 fi;
7073
7074 eval "$ac_cv_use_statusbar"
7075 if test "$no_cache" != 1; then
7076 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
7077 fi
7078
7079 if test "$wxUSE_STATUSBAR" = yes; then
7080 echo "$as_me:7080: result: yes" >&5
7081 echo "${ECHO_T}yes" >&6
7082 else
7083 echo "$as_me:7083: result: no" >&5
7084 echo "${ECHO_T}no" >&6
7085 fi
7086
7087 echo "$as_me:7087: checking for --enable-tabdialog" >&5
7088 echo $ECHO_N "checking for --enable-tabdialog... $ECHO_C" >&6
7089 no_cache=0
7090 # Check whether --enable-tabdialog or --disable-tabdialog was given.
7091 if test "${enable_tabdialog+set}" = set; then
7092 enableval="$enable_tabdialog"
7093
7094 if test "$enableval" = yes; then
7095 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
7096 else
7097 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
7098 fi
7099
7100 else
7101
7102 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
7103 if test "x$LINE" != x ; then
7104 eval "DEFAULT_$LINE"
7105 else
7106 no_cache=1
7107 fi
7108
7109 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
7110
7111 fi;
7112
7113 eval "$ac_cv_use_tabdialog"
7114 if test "$no_cache" != 1; then
7115 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
7116 fi
7117
7118 if test "$wxUSE_TABDIALOG" = yes; then
7119 echo "$as_me:7119: result: yes" >&5
7120 echo "${ECHO_T}yes" >&6
7121 else
7122 echo "$as_me:7122: result: no" >&5
7123 echo "${ECHO_T}no" >&6
7124 fi
7125
7126 echo "$as_me:7126: checking for --enable-textctrl" >&5
7127 echo $ECHO_N "checking for --enable-textctrl... $ECHO_C" >&6
7128 no_cache=0
7129 # Check whether --enable-textctrl or --disable-textctrl was given.
7130 if test "${enable_textctrl+set}" = set; then
7131 enableval="$enable_textctrl"
7132
7133 if test "$enableval" = yes; then
7134 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
7135 else
7136 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
7137 fi
7138
7139 else
7140
7141 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
7142 if test "x$LINE" != x ; then
7143 eval "DEFAULT_$LINE"
7144 else
7145 no_cache=1
7146 fi
7147
7148 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
7149
7150 fi;
7151
7152 eval "$ac_cv_use_textctrl"
7153 if test "$no_cache" != 1; then
7154 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
7155 fi
7156
7157 if test "$wxUSE_TEXTCTRL" = yes; then
7158 echo "$as_me:7158: result: yes" >&5
7159 echo "${ECHO_T}yes" >&6
7160 else
7161 echo "$as_me:7161: result: no" >&5
7162 echo "${ECHO_T}no" >&6
7163 fi
7164
7165 echo "$as_me:7165: checking for --enable-togglebtn" >&5
7166 echo $ECHO_N "checking for --enable-togglebtn... $ECHO_C" >&6
7167 no_cache=0
7168 # Check whether --enable-togglebtn or --disable-togglebtn was given.
7169 if test "${enable_togglebtn+set}" = set; then
7170 enableval="$enable_togglebtn"
7171
7172 if test "$enableval" = yes; then
7173 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
7174 else
7175 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
7176 fi
7177
7178 else
7179
7180 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
7181 if test "x$LINE" != x ; then
7182 eval "DEFAULT_$LINE"
7183 else
7184 no_cache=1
7185 fi
7186
7187 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
7188
7189 fi;
7190
7191 eval "$ac_cv_use_togglebtn"
7192 if test "$no_cache" != 1; then
7193 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
7194 fi
7195
7196 if test "$wxUSE_TOGGLEBTN" = yes; then
7197 echo "$as_me:7197: result: yes" >&5
7198 echo "${ECHO_T}yes" >&6
7199 else
7200 echo "$as_me:7200: result: no" >&5
7201 echo "${ECHO_T}no" >&6
7202 fi
7203
7204 echo "$as_me:7204: checking for --enable-toolbar" >&5
7205 echo $ECHO_N "checking for --enable-toolbar... $ECHO_C" >&6
7206 no_cache=0
7207 # Check whether --enable-toolbar or --disable-toolbar was given.
7208 if test "${enable_toolbar+set}" = set; then
7209 enableval="$enable_toolbar"
7210
7211 if test "$enableval" = yes; then
7212 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
7213 else
7214 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
7215 fi
7216
7217 else
7218
7219 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
7220 if test "x$LINE" != x ; then
7221 eval "DEFAULT_$LINE"
7222 else
7223 no_cache=1
7224 fi
7225
7226 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
7227
7228 fi;
7229
7230 eval "$ac_cv_use_toolbar"
7231 if test "$no_cache" != 1; then
7232 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7233 fi
7234
7235 if test "$wxUSE_TOOLBAR" = yes; then
7236 echo "$as_me:7236: result: yes" >&5
7237 echo "${ECHO_T}yes" >&6
7238 else
7239 echo "$as_me:7239: result: no" >&5
7240 echo "${ECHO_T}no" >&6
7241 fi
7242
7243 echo "$as_me:7243: checking for --enable-tbarnative" >&5
7244 echo $ECHO_N "checking for --enable-tbarnative... $ECHO_C" >&6
7245 no_cache=0
7246 # Check whether --enable-tbarnative or --disable-tbarnative was given.
7247 if test "${enable_tbarnative+set}" = set; then
7248 enableval="$enable_tbarnative"
7249
7250 if test "$enableval" = yes; then
7251 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
7252 else
7253 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
7254 fi
7255
7256 else
7257
7258 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7259 if test "x$LINE" != x ; then
7260 eval "DEFAULT_$LINE"
7261 else
7262 no_cache=1
7263 fi
7264
7265 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7266
7267 fi;
7268
7269 eval "$ac_cv_use_tbarnative"
7270 if test "$no_cache" != 1; then
7271 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7272 fi
7273
7274 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7275 echo "$as_me:7275: result: yes" >&5
7276 echo "${ECHO_T}yes" >&6
7277 else
7278 echo "$as_me:7278: result: no" >&5
7279 echo "${ECHO_T}no" >&6
7280 fi
7281
7282 echo "$as_me:7282: checking for --enable-tbarsmpl" >&5
7283 echo $ECHO_N "checking for --enable-tbarsmpl... $ECHO_C" >&6
7284 no_cache=0
7285 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
7286 if test "${enable_tbarsmpl+set}" = set; then
7287 enableval="$enable_tbarsmpl"
7288
7289 if test "$enableval" = yes; then
7290 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
7291 else
7292 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
7293 fi
7294
7295 else
7296
7297 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
7298 if test "x$LINE" != x ; then
7299 eval "DEFAULT_$LINE"
7300 else
7301 no_cache=1
7302 fi
7303
7304 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
7305
7306 fi;
7307
7308 eval "$ac_cv_use_tbarsmpl"
7309 if test "$no_cache" != 1; then
7310 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
7311 fi
7312
7313 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
7314 echo "$as_me:7314: result: yes" >&5
7315 echo "${ECHO_T}yes" >&6
7316 else
7317 echo "$as_me:7317: result: no" >&5
7318 echo "${ECHO_T}no" >&6
7319 fi
7320
7321 echo "$as_me:7321: checking for --enable-treectrl" >&5
7322 echo $ECHO_N "checking for --enable-treectrl... $ECHO_C" >&6
7323 no_cache=0
7324 # Check whether --enable-treectrl or --disable-treectrl was given.
7325 if test "${enable_treectrl+set}" = set; then
7326 enableval="$enable_treectrl"
7327
7328 if test "$enableval" = yes; then
7329 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
7330 else
7331 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
7332 fi
7333
7334 else
7335
7336 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
7337 if test "x$LINE" != x ; then
7338 eval "DEFAULT_$LINE"
7339 else
7340 no_cache=1
7341 fi
7342
7343 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
7344
7345 fi;
7346
7347 eval "$ac_cv_use_treectrl"
7348 if test "$no_cache" != 1; then
7349 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
7350 fi
7351
7352 if test "$wxUSE_TREECTRL" = yes; then
7353 echo "$as_me:7353: result: yes" >&5
7354 echo "${ECHO_T}yes" >&6
7355 else
7356 echo "$as_me:7356: result: no" >&5
7357 echo "${ECHO_T}no" >&6
7358 fi
7359
7360 echo "$as_me:7360: checking for --enable-tipwindow" >&5
7361 echo $ECHO_N "checking for --enable-tipwindow... $ECHO_C" >&6
7362 no_cache=0
7363 # Check whether --enable-tipwindow or --disable-tipwindow was given.
7364 if test "${enable_tipwindow+set}" = set; then
7365 enableval="$enable_tipwindow"
7366
7367 if test "$enableval" = yes; then
7368 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
7369 else
7370 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
7371 fi
7372
7373 else
7374
7375 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
7376 if test "x$LINE" != x ; then
7377 eval "DEFAULT_$LINE"
7378 else
7379 no_cache=1
7380 fi
7381
7382 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
7383
7384 fi;
7385
7386 eval "$ac_cv_use_tipwindow"
7387 if test "$no_cache" != 1; then
7388 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
7389 fi
7390
7391 if test "$wxUSE_TIPWINDOW" = yes; then
7392 echo "$as_me:7392: result: yes" >&5
7393 echo "${ECHO_T}yes" >&6
7394 else
7395 echo "$as_me:7395: result: no" >&5
7396 echo "${ECHO_T}no" >&6
7397 fi
7398
7399 echo "$as_me:7399: checking for --enable-popupwin" >&5
7400 echo $ECHO_N "checking for --enable-popupwin... $ECHO_C" >&6
7401 no_cache=0
7402 # Check whether --enable-popupwin or --disable-popupwin was given.
7403 if test "${enable_popupwin+set}" = set; then
7404 enableval="$enable_popupwin"
7405
7406 if test "$enableval" = yes; then
7407 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
7408 else
7409 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
7410 fi
7411
7412 else
7413
7414 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
7415 if test "x$LINE" != x ; then
7416 eval "DEFAULT_$LINE"
7417 else
7418 no_cache=1
7419 fi
7420
7421 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
7422
7423 fi;
7424
7425 eval "$ac_cv_use_popupwin"
7426 if test "$no_cache" != 1; then
7427 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
7428 fi
7429
7430 if test "$wxUSE_POPUPWIN" = yes; then
7431 echo "$as_me:7431: result: yes" >&5
7432 echo "${ECHO_T}yes" >&6
7433 else
7434 echo "$as_me:7434: result: no" >&5
7435 echo "${ECHO_T}no" >&6
7436 fi
7437
7438 echo "$as_me:7438: checking for --enable-commondlg" >&5
7439 echo $ECHO_N "checking for --enable-commondlg... $ECHO_C" >&6
7440 no_cache=0
7441 # Check whether --enable-commondlg or --disable-commondlg was given.
7442 if test "${enable_commondlg+set}" = set; then
7443 enableval="$enable_commondlg"
7444
7445 if test "$enableval" = yes; then
7446 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
7447 else
7448 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
7449 fi
7450
7451 else
7452
7453 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
7454 if test "x$LINE" != x ; then
7455 eval "DEFAULT_$LINE"
7456 else
7457 no_cache=1
7458 fi
7459
7460 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
7461
7462 fi;
7463
7464 eval "$ac_cv_use_commondlg"
7465 if test "$no_cache" != 1; then
7466 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
7467 fi
7468
7469 if test "$wxUSE_COMMONDLGS" = yes; then
7470 echo "$as_me:7470: result: yes" >&5
7471 echo "${ECHO_T}yes" >&6
7472 else
7473 echo "$as_me:7473: result: no" >&5
7474 echo "${ECHO_T}no" >&6
7475 fi
7476
7477 echo "$as_me:7477: checking for --enable-choicedlg" >&5
7478 echo $ECHO_N "checking for --enable-choicedlg... $ECHO_C" >&6
7479 no_cache=0
7480 # Check whether --enable-choicedlg or --disable-choicedlg was given.
7481 if test "${enable_choicedlg+set}" = set; then
7482 enableval="$enable_choicedlg"
7483
7484 if test "$enableval" = yes; then
7485 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
7486 else
7487 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
7488 fi
7489
7490 else
7491
7492 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
7493 if test "x$LINE" != x ; then
7494 eval "DEFAULT_$LINE"
7495 else
7496 no_cache=1
7497 fi
7498
7499 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
7500
7501 fi;
7502
7503 eval "$ac_cv_use_choicedlg"
7504 if test "$no_cache" != 1; then
7505 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
7506 fi
7507
7508 if test "$wxUSE_CHOICEDLG" = yes; then
7509 echo "$as_me:7509: result: yes" >&5
7510 echo "${ECHO_T}yes" >&6
7511 else
7512 echo "$as_me:7512: result: no" >&5
7513 echo "${ECHO_T}no" >&6
7514 fi
7515
7516 echo "$as_me:7516: checking for --enable-coldlg" >&5
7517 echo $ECHO_N "checking for --enable-coldlg... $ECHO_C" >&6
7518 no_cache=0
7519 # Check whether --enable-coldlg or --disable-coldlg was given.
7520 if test "${enable_coldlg+set}" = set; then
7521 enableval="$enable_coldlg"
7522
7523 if test "$enableval" = yes; then
7524 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
7525 else
7526 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
7527 fi
7528
7529 else
7530
7531 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
7532 if test "x$LINE" != x ; then
7533 eval "DEFAULT_$LINE"
7534 else
7535 no_cache=1
7536 fi
7537
7538 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
7539
7540 fi;
7541
7542 eval "$ac_cv_use_coldlg"
7543 if test "$no_cache" != 1; then
7544 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
7545 fi
7546
7547 if test "$wxUSE_COLOURDLG" = yes; then
7548 echo "$as_me:7548: result: yes" >&5
7549 echo "${ECHO_T}yes" >&6
7550 else
7551 echo "$as_me:7551: result: no" >&5
7552 echo "${ECHO_T}no" >&6
7553 fi
7554
7555 echo "$as_me:7555: checking for --enable-filedlg" >&5
7556 echo $ECHO_N "checking for --enable-filedlg... $ECHO_C" >&6
7557 no_cache=0
7558 # Check whether --enable-filedlg or --disable-filedlg was given.
7559 if test "${enable_filedlg+set}" = set; then
7560 enableval="$enable_filedlg"
7561
7562 if test "$enableval" = yes; then
7563 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
7564 else
7565 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
7566 fi
7567
7568 else
7569
7570 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
7571 if test "x$LINE" != x ; then
7572 eval "DEFAULT_$LINE"
7573 else
7574 no_cache=1
7575 fi
7576
7577 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
7578
7579 fi;
7580
7581 eval "$ac_cv_use_filedlg"
7582 if test "$no_cache" != 1; then
7583 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
7584 fi
7585
7586 if test "$wxUSE_FILEDLG" = yes; then
7587 echo "$as_me:7587: result: yes" >&5
7588 echo "${ECHO_T}yes" >&6
7589 else
7590 echo "$as_me:7590: result: no" >&5
7591 echo "${ECHO_T}no" >&6
7592 fi
7593
7594 echo "$as_me:7594: checking for --enable-finddlg" >&5
7595 echo $ECHO_N "checking for --enable-finddlg... $ECHO_C" >&6
7596 no_cache=0
7597 # Check whether --enable-finddlg or --disable-finddlg was given.
7598 if test "${enable_finddlg+set}" = set; then
7599 enableval="$enable_finddlg"
7600
7601 if test "$enableval" = yes; then
7602 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
7603 else
7604 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
7605 fi
7606
7607 else
7608
7609 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
7610 if test "x$LINE" != x ; then
7611 eval "DEFAULT_$LINE"
7612 else
7613 no_cache=1
7614 fi
7615
7616 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
7617
7618 fi;
7619
7620 eval "$ac_cv_use_finddlg"
7621 if test "$no_cache" != 1; then
7622 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
7623 fi
7624
7625 if test "$wxUSE_FINDREPLDLG" = yes; then
7626 echo "$as_me:7626: result: yes" >&5
7627 echo "${ECHO_T}yes" >&6
7628 else
7629 echo "$as_me:7629: result: no" >&5
7630 echo "${ECHO_T}no" >&6
7631 fi
7632
7633 echo "$as_me:7633: checking for --enable-fontdlg" >&5
7634 echo $ECHO_N "checking for --enable-fontdlg... $ECHO_C" >&6
7635 no_cache=0
7636 # Check whether --enable-fontdlg or --disable-fontdlg was given.
7637 if test "${enable_fontdlg+set}" = set; then
7638 enableval="$enable_fontdlg"
7639
7640 if test "$enableval" = yes; then
7641 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
7642 else
7643 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
7644 fi
7645
7646 else
7647
7648 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
7649 if test "x$LINE" != x ; then
7650 eval "DEFAULT_$LINE"
7651 else
7652 no_cache=1
7653 fi
7654
7655 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
7656
7657 fi;
7658
7659 eval "$ac_cv_use_fontdlg"
7660 if test "$no_cache" != 1; then
7661 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
7662 fi
7663
7664 if test "$wxUSE_FONTDLG" = yes; then
7665 echo "$as_me:7665: result: yes" >&5
7666 echo "${ECHO_T}yes" >&6
7667 else
7668 echo "$as_me:7668: result: no" >&5
7669 echo "${ECHO_T}no" >&6
7670 fi
7671
7672 echo "$as_me:7672: checking for --enable-dirdlg" >&5
7673 echo $ECHO_N "checking for --enable-dirdlg... $ECHO_C" >&6
7674 no_cache=0
7675 # Check whether --enable-dirdlg or --disable-dirdlg was given.
7676 if test "${enable_dirdlg+set}" = set; then
7677 enableval="$enable_dirdlg"
7678
7679 if test "$enableval" = yes; then
7680 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
7681 else
7682 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
7683 fi
7684
7685 else
7686
7687 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
7688 if test "x$LINE" != x ; then
7689 eval "DEFAULT_$LINE"
7690 else
7691 no_cache=1
7692 fi
7693
7694 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
7695
7696 fi;
7697
7698 eval "$ac_cv_use_dirdlg"
7699 if test "$no_cache" != 1; then
7700 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
7701 fi
7702
7703 if test "$wxUSE_DIRDLG" = yes; then
7704 echo "$as_me:7704: result: yes" >&5
7705 echo "${ECHO_T}yes" >&6
7706 else
7707 echo "$as_me:7707: result: no" >&5
7708 echo "${ECHO_T}no" >&6
7709 fi
7710
7711 echo "$as_me:7711: checking for --enable-msgdlg" >&5
7712 echo $ECHO_N "checking for --enable-msgdlg... $ECHO_C" >&6
7713 no_cache=0
7714 # Check whether --enable-msgdlg or --disable-msgdlg was given.
7715 if test "${enable_msgdlg+set}" = set; then
7716 enableval="$enable_msgdlg"
7717
7718 if test "$enableval" = yes; then
7719 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
7720 else
7721 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
7722 fi
7723
7724 else
7725
7726 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
7727 if test "x$LINE" != x ; then
7728 eval "DEFAULT_$LINE"
7729 else
7730 no_cache=1
7731 fi
7732
7733 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
7734
7735 fi;
7736
7737 eval "$ac_cv_use_msgdlg"
7738 if test "$no_cache" != 1; then
7739 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
7740 fi
7741
7742 if test "$wxUSE_MSGDLG" = yes; then
7743 echo "$as_me:7743: result: yes" >&5
7744 echo "${ECHO_T}yes" >&6
7745 else
7746 echo "$as_me:7746: result: no" >&5
7747 echo "${ECHO_T}no" >&6
7748 fi
7749
7750 echo "$as_me:7750: checking for --enable-numberdlg" >&5
7751 echo $ECHO_N "checking for --enable-numberdlg... $ECHO_C" >&6
7752 no_cache=0
7753 # Check whether --enable-numberdlg or --disable-numberdlg was given.
7754 if test "${enable_numberdlg+set}" = set; then
7755 enableval="$enable_numberdlg"
7756
7757 if test "$enableval" = yes; then
7758 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
7759 else
7760 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
7761 fi
7762
7763 else
7764
7765 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
7766 if test "x$LINE" != x ; then
7767 eval "DEFAULT_$LINE"
7768 else
7769 no_cache=1
7770 fi
7771
7772 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
7773
7774 fi;
7775
7776 eval "$ac_cv_use_numberdlg"
7777 if test "$no_cache" != 1; then
7778 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
7779 fi
7780
7781 if test "$wxUSE_NUMBERDLG" = yes; then
7782 echo "$as_me:7782: result: yes" >&5
7783 echo "${ECHO_T}yes" >&6
7784 else
7785 echo "$as_me:7785: result: no" >&5
7786 echo "${ECHO_T}no" >&6
7787 fi
7788
7789 echo "$as_me:7789: checking for --enable-splash" >&5
7790 echo $ECHO_N "checking for --enable-splash... $ECHO_C" >&6
7791 no_cache=0
7792 # Check whether --enable-splash or --disable-splash was given.
7793 if test "${enable_splash+set}" = set; then
7794 enableval="$enable_splash"
7795
7796 if test "$enableval" = yes; then
7797 ac_cv_use_splash='wxUSE_SPLASH=yes'
7798 else
7799 ac_cv_use_splash='wxUSE_SPLASH=no'
7800 fi
7801
7802 else
7803
7804 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
7805 if test "x$LINE" != x ; then
7806 eval "DEFAULT_$LINE"
7807 else
7808 no_cache=1
7809 fi
7810
7811 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
7812
7813 fi;
7814
7815 eval "$ac_cv_use_splash"
7816 if test "$no_cache" != 1; then
7817 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
7818 fi
7819
7820 if test "$wxUSE_SPLASH" = yes; then
7821 echo "$as_me:7821: result: yes" >&5
7822 echo "${ECHO_T}yes" >&6
7823 else
7824 echo "$as_me:7824: result: no" >&5
7825 echo "${ECHO_T}no" >&6
7826 fi
7827
7828 echo "$as_me:7828: checking for --enable-textdlg" >&5
7829 echo $ECHO_N "checking for --enable-textdlg... $ECHO_C" >&6
7830 no_cache=0
7831 # Check whether --enable-textdlg or --disable-textdlg was given.
7832 if test "${enable_textdlg+set}" = set; then
7833 enableval="$enable_textdlg"
7834
7835 if test "$enableval" = yes; then
7836 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
7837 else
7838 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
7839 fi
7840
7841 else
7842
7843 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
7844 if test "x$LINE" != x ; then
7845 eval "DEFAULT_$LINE"
7846 else
7847 no_cache=1
7848 fi
7849
7850 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
7851
7852 fi;
7853
7854 eval "$ac_cv_use_textdlg"
7855 if test "$no_cache" != 1; then
7856 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
7857 fi
7858
7859 if test "$wxUSE_TEXTDLG" = yes; then
7860 echo "$as_me:7860: result: yes" >&5
7861 echo "${ECHO_T}yes" >&6
7862 else
7863 echo "$as_me:7863: result: no" >&5
7864 echo "${ECHO_T}no" >&6
7865 fi
7866
7867 echo "$as_me:7867: checking for --enable-tipdlg" >&5
7868 echo $ECHO_N "checking for --enable-tipdlg... $ECHO_C" >&6
7869 no_cache=0
7870 # Check whether --enable-tipdlg or --disable-tipdlg was given.
7871 if test "${enable_tipdlg+set}" = set; then
7872 enableval="$enable_tipdlg"
7873
7874 if test "$enableval" = yes; then
7875 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
7876 else
7877 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
7878 fi
7879
7880 else
7881
7882 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
7883 if test "x$LINE" != x ; then
7884 eval "DEFAULT_$LINE"
7885 else
7886 no_cache=1
7887 fi
7888
7889 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
7890
7891 fi;
7892
7893 eval "$ac_cv_use_tipdlg"
7894 if test "$no_cache" != 1; then
7895 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
7896 fi
7897
7898 if test "$wxUSE_STARTUP_TIPS" = yes; then
7899 echo "$as_me:7899: result: yes" >&5
7900 echo "${ECHO_T}yes" >&6
7901 else
7902 echo "$as_me:7902: result: no" >&5
7903 echo "${ECHO_T}no" >&6
7904 fi
7905
7906 echo "$as_me:7906: checking for --enable-progressdlg" >&5
7907 echo $ECHO_N "checking for --enable-progressdlg... $ECHO_C" >&6
7908 no_cache=0
7909 # Check whether --enable-progressdlg or --disable-progressdlg was given.
7910 if test "${enable_progressdlg+set}" = set; then
7911 enableval="$enable_progressdlg"
7912
7913 if test "$enableval" = yes; then
7914 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
7915 else
7916 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
7917 fi
7918
7919 else
7920
7921 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
7922 if test "x$LINE" != x ; then
7923 eval "DEFAULT_$LINE"
7924 else
7925 no_cache=1
7926 fi
7927
7928 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
7929
7930 fi;
7931
7932 eval "$ac_cv_use_progressdlg"
7933 if test "$no_cache" != 1; then
7934 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
7935 fi
7936
7937 if test "$wxUSE_PROGRESSDLG" = yes; then
7938 echo "$as_me:7938: result: yes" >&5
7939 echo "${ECHO_T}yes" >&6
7940 else
7941 echo "$as_me:7941: result: no" >&5
7942 echo "${ECHO_T}no" >&6
7943 fi
7944
7945 echo "$as_me:7945: checking for --enable-wizarddlg" >&5
7946 echo $ECHO_N "checking for --enable-wizarddlg... $ECHO_C" >&6
7947 no_cache=0
7948 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
7949 if test "${enable_wizarddlg+set}" = set; then
7950 enableval="$enable_wizarddlg"
7951
7952 if test "$enableval" = yes; then
7953 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
7954 else
7955 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
7956 fi
7957
7958 else
7959
7960 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
7961 if test "x$LINE" != x ; then
7962 eval "DEFAULT_$LINE"
7963 else
7964 no_cache=1
7965 fi
7966
7967 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
7968
7969 fi;
7970
7971 eval "$ac_cv_use_wizarddlg"
7972 if test "$no_cache" != 1; then
7973 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
7974 fi
7975
7976 if test "$wxUSE_WIZARDDLG" = yes; then
7977 echo "$as_me:7977: result: yes" >&5
7978 echo "${ECHO_T}yes" >&6
7979 else
7980 echo "$as_me:7980: result: no" >&5
7981 echo "${ECHO_T}no" >&6
7982 fi
7983
7984 echo "$as_me:7984: checking for --enable-menus" >&5
7985 echo $ECHO_N "checking for --enable-menus... $ECHO_C" >&6
7986 no_cache=0
7987 # Check whether --enable-menus or --disable-menus was given.
7988 if test "${enable_menus+set}" = set; then
7989 enableval="$enable_menus"
7990
7991 if test "$enableval" = yes; then
7992 ac_cv_use_menus='wxUSE_MENUS=yes'
7993 else
7994 ac_cv_use_menus='wxUSE_MENUS=no'
7995 fi
7996
7997 else
7998
7999 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
8000 if test "x$LINE" != x ; then
8001 eval "DEFAULT_$LINE"
8002 else
8003 no_cache=1
8004 fi
8005
8006 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
8007
8008 fi;
8009
8010 eval "$ac_cv_use_menus"
8011 if test "$no_cache" != 1; then
8012 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
8013 fi
8014
8015 if test "$wxUSE_MENUS" = yes; then
8016 echo "$as_me:8016: result: yes" >&5
8017 echo "${ECHO_T}yes" >&6
8018 else
8019 echo "$as_me:8019: result: no" >&5
8020 echo "${ECHO_T}no" >&6
8021 fi
8022
8023 echo "$as_me:8023: checking for --enable-miniframe" >&5
8024 echo $ECHO_N "checking for --enable-miniframe... $ECHO_C" >&6
8025 no_cache=0
8026 # Check whether --enable-miniframe or --disable-miniframe was given.
8027 if test "${enable_miniframe+set}" = set; then
8028 enableval="$enable_miniframe"
8029
8030 if test "$enableval" = yes; then
8031 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
8032 else
8033 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
8034 fi
8035
8036 else
8037
8038 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
8039 if test "x$LINE" != x ; then
8040 eval "DEFAULT_$LINE"
8041 else
8042 no_cache=1
8043 fi
8044
8045 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
8046
8047 fi;
8048
8049 eval "$ac_cv_use_miniframe"
8050 if test "$no_cache" != 1; then
8051 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
8052 fi
8053
8054 if test "$wxUSE_MINIFRAME" = yes; then
8055 echo "$as_me:8055: result: yes" >&5
8056 echo "${ECHO_T}yes" >&6
8057 else
8058 echo "$as_me:8058: result: no" >&5
8059 echo "${ECHO_T}no" >&6
8060 fi
8061
8062 echo "$as_me:8062: checking for --enable-tooltips" >&5
8063 echo $ECHO_N "checking for --enable-tooltips... $ECHO_C" >&6
8064 no_cache=0
8065 # Check whether --enable-tooltips or --disable-tooltips was given.
8066 if test "${enable_tooltips+set}" = set; then
8067 enableval="$enable_tooltips"
8068
8069 if test "$enableval" = yes; then
8070 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
8071 else
8072 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
8073 fi
8074
8075 else
8076
8077 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
8078 if test "x$LINE" != x ; then
8079 eval "DEFAULT_$LINE"
8080 else
8081 no_cache=1
8082 fi
8083
8084 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
8085
8086 fi;
8087
8088 eval "$ac_cv_use_tooltips"
8089 if test "$no_cache" != 1; then
8090 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
8091 fi
8092
8093 if test "$wxUSE_TOOLTIPS" = yes; then
8094 echo "$as_me:8094: result: yes" >&5
8095 echo "${ECHO_T}yes" >&6
8096 else
8097 echo "$as_me:8097: result: no" >&5
8098 echo "${ECHO_T}no" >&6
8099 fi
8100
8101 echo "$as_me:8101: checking for --enable-splines" >&5
8102 echo $ECHO_N "checking for --enable-splines... $ECHO_C" >&6
8103 no_cache=0
8104 # Check whether --enable-splines or --disable-splines was given.
8105 if test "${enable_splines+set}" = set; then
8106 enableval="$enable_splines"
8107
8108 if test "$enableval" = yes; then
8109 ac_cv_use_splines='wxUSE_SPLINES=yes'
8110 else
8111 ac_cv_use_splines='wxUSE_SPLINES=no'
8112 fi
8113
8114 else
8115
8116 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
8117 if test "x$LINE" != x ; then
8118 eval "DEFAULT_$LINE"
8119 else
8120 no_cache=1
8121 fi
8122
8123 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
8124
8125 fi;
8126
8127 eval "$ac_cv_use_splines"
8128 if test "$no_cache" != 1; then
8129 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
8130 fi
8131
8132 if test "$wxUSE_SPLINES" = yes; then
8133 echo "$as_me:8133: result: yes" >&5
8134 echo "${ECHO_T}yes" >&6
8135 else
8136 echo "$as_me:8136: result: no" >&5
8137 echo "${ECHO_T}no" >&6
8138 fi
8139
8140 echo "$as_me:8140: checking for --enable-validators" >&5
8141 echo $ECHO_N "checking for --enable-validators... $ECHO_C" >&6
8142 no_cache=0
8143 # Check whether --enable-validators or --disable-validators was given.
8144 if test "${enable_validators+set}" = set; then
8145 enableval="$enable_validators"
8146
8147 if test "$enableval" = yes; then
8148 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
8149 else
8150 ac_cv_use_validators='wxUSE_VALIDATORS=no'
8151 fi
8152
8153 else
8154
8155 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
8156 if test "x$LINE" != x ; then
8157 eval "DEFAULT_$LINE"
8158 else
8159 no_cache=1
8160 fi
8161
8162 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
8163
8164 fi;
8165
8166 eval "$ac_cv_use_validators"
8167 if test "$no_cache" != 1; then
8168 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
8169 fi
8170
8171 if test "$wxUSE_VALIDATORS" = yes; then
8172 echo "$as_me:8172: result: yes" >&5
8173 echo "${ECHO_T}yes" >&6
8174 else
8175 echo "$as_me:8175: result: no" >&5
8176 echo "${ECHO_T}no" >&6
8177 fi
8178
8179 echo "$as_me:8179: checking for --enable-busyinfo" >&5
8180 echo $ECHO_N "checking for --enable-busyinfo... $ECHO_C" >&6
8181 no_cache=0
8182 # Check whether --enable-busyinfo or --disable-busyinfo was given.
8183 if test "${enable_busyinfo+set}" = set; then
8184 enableval="$enable_busyinfo"
8185
8186 if test "$enableval" = yes; then
8187 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
8188 else
8189 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
8190 fi
8191
8192 else
8193
8194 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
8195 if test "x$LINE" != x ; then
8196 eval "DEFAULT_$LINE"
8197 else
8198 no_cache=1
8199 fi
8200
8201 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
8202
8203 fi;
8204
8205 eval "$ac_cv_use_busyinfo"
8206 if test "$no_cache" != 1; then
8207 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
8208 fi
8209
8210 if test "$wxUSE_BUSYINFO" = yes; then
8211 echo "$as_me:8211: result: yes" >&5
8212 echo "${ECHO_T}yes" >&6
8213 else
8214 echo "$as_me:8214: result: no" >&5
8215 echo "${ECHO_T}no" >&6
8216 fi
8217
8218 echo "$as_me:8218: checking for --enable-joystick" >&5
8219 echo $ECHO_N "checking for --enable-joystick... $ECHO_C" >&6
8220 no_cache=0
8221 # Check whether --enable-joystick or --disable-joystick was given.
8222 if test "${enable_joystick+set}" = set; then
8223 enableval="$enable_joystick"
8224
8225 if test "$enableval" = yes; then
8226 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
8227 else
8228 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
8229 fi
8230
8231 else
8232
8233 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
8234 if test "x$LINE" != x ; then
8235 eval "DEFAULT_$LINE"
8236 else
8237 no_cache=1
8238 fi
8239
8240 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
8241
8242 fi;
8243
8244 eval "$ac_cv_use_joystick"
8245 if test "$no_cache" != 1; then
8246 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
8247 fi
8248
8249 if test "$wxUSE_JOYSTICK" = yes; then
8250 echo "$as_me:8250: result: yes" >&5
8251 echo "${ECHO_T}yes" >&6
8252 else
8253 echo "$as_me:8253: result: no" >&5
8254 echo "${ECHO_T}no" >&6
8255 fi
8256
8257 echo "$as_me:8257: checking for --enable-metafile" >&5
8258 echo $ECHO_N "checking for --enable-metafile... $ECHO_C" >&6
8259 no_cache=0
8260 # Check whether --enable-metafile or --disable-metafile was given.
8261 if test "${enable_metafile+set}" = set; then
8262 enableval="$enable_metafile"
8263
8264 if test "$enableval" = yes; then
8265 ac_cv_use_metafile='wxUSE_METAFILE=yes'
8266 else
8267 ac_cv_use_metafile='wxUSE_METAFILE=no'
8268 fi
8269
8270 else
8271
8272 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8273 if test "x$LINE" != x ; then
8274 eval "DEFAULT_$LINE"
8275 else
8276 no_cache=1
8277 fi
8278
8279 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8280
8281 fi;
8282
8283 eval "$ac_cv_use_metafile"
8284 if test "$no_cache" != 1; then
8285 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8286 fi
8287
8288 if test "$wxUSE_METAFILE" = yes; then
8289 echo "$as_me:8289: result: yes" >&5
8290 echo "${ECHO_T}yes" >&6
8291 else
8292 echo "$as_me:8292: result: no" >&5
8293 echo "${ECHO_T}no" >&6
8294 fi
8295
8296 echo "$as_me:8296: checking for --enable-dragimage" >&5
8297 echo $ECHO_N "checking for --enable-dragimage... $ECHO_C" >&6
8298 no_cache=0
8299 # Check whether --enable-dragimage or --disable-dragimage was given.
8300 if test "${enable_dragimage+set}" = set; then
8301 enableval="$enable_dragimage"
8302
8303 if test "$enableval" = yes; then
8304 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
8305 else
8306 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
8307 fi
8308
8309 else
8310
8311 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
8312 if test "x$LINE" != x ; then
8313 eval "DEFAULT_$LINE"
8314 else
8315 no_cache=1
8316 fi
8317
8318 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
8319
8320 fi;
8321
8322 eval "$ac_cv_use_dragimage"
8323 if test "$no_cache" != 1; then
8324 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
8325 fi
8326
8327 if test "$wxUSE_DRAGIMAGE" = yes; then
8328 echo "$as_me:8328: result: yes" >&5
8329 echo "${ECHO_T}yes" >&6
8330 else
8331 echo "$as_me:8331: result: no" >&5
8332 echo "${ECHO_T}no" >&6
8333 fi
8334
8335 echo "$as_me:8335: checking for --enable-palette" >&5
8336 echo $ECHO_N "checking for --enable-palette... $ECHO_C" >&6
8337 no_cache=0
8338 # Check whether --enable-palette or --disable-palette was given.
8339 if test "${enable_palette+set}" = set; then
8340 enableval="$enable_palette"
8341
8342 if test "$enableval" = yes; then
8343 ac_cv_use_palette='wxUSE_PALETTE=yes'
8344 else
8345 ac_cv_use_palette='wxUSE_PALETTE=no'
8346 fi
8347
8348 else
8349
8350 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
8351 if test "x$LINE" != x ; then
8352 eval "DEFAULT_$LINE"
8353 else
8354 no_cache=1
8355 fi
8356
8357 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
8358
8359 fi;
8360
8361 eval "$ac_cv_use_palette"
8362 if test "$no_cache" != 1; then
8363 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
8364 fi
8365
8366 if test "$wxUSE_PALETTE" = yes; then
8367 echo "$as_me:8367: result: yes" >&5
8368 echo "${ECHO_T}yes" >&6
8369 else
8370 echo "$as_me:8370: result: no" >&5
8371 echo "${ECHO_T}no" >&6
8372 fi
8373
8374 echo "$as_me:8374: checking for --enable-image" >&5
8375 echo $ECHO_N "checking for --enable-image... $ECHO_C" >&6
8376 no_cache=0
8377 # Check whether --enable-image or --disable-image was given.
8378 if test "${enable_image+set}" = set; then
8379 enableval="$enable_image"
8380
8381 if test "$enableval" = yes; then
8382 ac_cv_use_image='wxUSE_IMAGE=yes'
8383 else
8384 ac_cv_use_image='wxUSE_IMAGE=no'
8385 fi
8386
8387 else
8388
8389 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
8390 if test "x$LINE" != x ; then
8391 eval "DEFAULT_$LINE"
8392 else
8393 no_cache=1
8394 fi
8395
8396 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
8397
8398 fi;
8399
8400 eval "$ac_cv_use_image"
8401 if test "$no_cache" != 1; then
8402 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
8403 fi
8404
8405 if test "$wxUSE_IMAGE" = yes; then
8406 echo "$as_me:8406: result: yes" >&5
8407 echo "${ECHO_T}yes" >&6
8408 else
8409 echo "$as_me:8409: result: no" >&5
8410 echo "${ECHO_T}no" >&6
8411 fi
8412
8413 echo "$as_me:8413: checking for --enable-gif" >&5
8414 echo $ECHO_N "checking for --enable-gif... $ECHO_C" >&6
8415 no_cache=0
8416 # Check whether --enable-gif or --disable-gif was given.
8417 if test "${enable_gif+set}" = set; then
8418 enableval="$enable_gif"
8419
8420 if test "$enableval" = yes; then
8421 ac_cv_use_gif='wxUSE_GIF=yes'
8422 else
8423 ac_cv_use_gif='wxUSE_GIF=no'
8424 fi
8425
8426 else
8427
8428 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
8429 if test "x$LINE" != x ; then
8430 eval "DEFAULT_$LINE"
8431 else
8432 no_cache=1
8433 fi
8434
8435 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
8436
8437 fi;
8438
8439 eval "$ac_cv_use_gif"
8440 if test "$no_cache" != 1; then
8441 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
8442 fi
8443
8444 if test "$wxUSE_GIF" = yes; then
8445 echo "$as_me:8445: result: yes" >&5
8446 echo "${ECHO_T}yes" >&6
8447 else
8448 echo "$as_me:8448: result: no" >&5
8449 echo "${ECHO_T}no" >&6
8450 fi
8451
8452 echo "$as_me:8452: checking for --enable-pcx" >&5
8453 echo $ECHO_N "checking for --enable-pcx... $ECHO_C" >&6
8454 no_cache=0
8455 # Check whether --enable-pcx or --disable-pcx was given.
8456 if test "${enable_pcx+set}" = set; then
8457 enableval="$enable_pcx"
8458
8459 if test "$enableval" = yes; then
8460 ac_cv_use_pcx='wxUSE_PCX=yes'
8461 else
8462 ac_cv_use_pcx='wxUSE_PCX=no'
8463 fi
8464
8465 else
8466
8467 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
8468 if test "x$LINE" != x ; then
8469 eval "DEFAULT_$LINE"
8470 else
8471 no_cache=1
8472 fi
8473
8474 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
8475
8476 fi;
8477
8478 eval "$ac_cv_use_pcx"
8479 if test "$no_cache" != 1; then
8480 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
8481 fi
8482
8483 if test "$wxUSE_PCX" = yes; then
8484 echo "$as_me:8484: result: yes" >&5
8485 echo "${ECHO_T}yes" >&6
8486 else
8487 echo "$as_me:8487: result: no" >&5
8488 echo "${ECHO_T}no" >&6
8489 fi
8490
8491 echo "$as_me:8491: checking for --enable-iff" >&5
8492 echo $ECHO_N "checking for --enable-iff... $ECHO_C" >&6
8493 no_cache=0
8494 # Check whether --enable-iff or --disable-iff was given.
8495 if test "${enable_iff+set}" = set; then
8496 enableval="$enable_iff"
8497
8498 if test "$enableval" = yes; then
8499 ac_cv_use_iff='wxUSE_IFF=yes'
8500 else
8501 ac_cv_use_iff='wxUSE_IFF=no'
8502 fi
8503
8504 else
8505
8506 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
8507 if test "x$LINE" != x ; then
8508 eval "DEFAULT_$LINE"
8509 else
8510 no_cache=1
8511 fi
8512
8513 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
8514
8515 fi;
8516
8517 eval "$ac_cv_use_iff"
8518 if test "$no_cache" != 1; then
8519 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
8520 fi
8521
8522 if test "$wxUSE_IFF" = yes; then
8523 echo "$as_me:8523: result: yes" >&5
8524 echo "${ECHO_T}yes" >&6
8525 else
8526 echo "$as_me:8526: result: no" >&5
8527 echo "${ECHO_T}no" >&6
8528 fi
8529
8530 echo "$as_me:8530: checking for --enable-pnm" >&5
8531 echo $ECHO_N "checking for --enable-pnm... $ECHO_C" >&6
8532 no_cache=0
8533 # Check whether --enable-pnm or --disable-pnm was given.
8534 if test "${enable_pnm+set}" = set; then
8535 enableval="$enable_pnm"
8536
8537 if test "$enableval" = yes; then
8538 ac_cv_use_pnm='wxUSE_PNM=yes'
8539 else
8540 ac_cv_use_pnm='wxUSE_PNM=no'
8541 fi
8542
8543 else
8544
8545 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
8546 if test "x$LINE" != x ; then
8547 eval "DEFAULT_$LINE"
8548 else
8549 no_cache=1
8550 fi
8551
8552 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
8553
8554 fi;
8555
8556 eval "$ac_cv_use_pnm"
8557 if test "$no_cache" != 1; then
8558 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
8559 fi
8560
8561 if test "$wxUSE_PNM" = yes; then
8562 echo "$as_me:8562: result: yes" >&5
8563 echo "${ECHO_T}yes" >&6
8564 else
8565 echo "$as_me:8565: result: no" >&5
8566 echo "${ECHO_T}no" >&6
8567 fi
8568
8569 echo "$as_me:8569: checking for --enable-xpm" >&5
8570 echo $ECHO_N "checking for --enable-xpm... $ECHO_C" >&6
8571 no_cache=0
8572 # Check whether --enable-xpm or --disable-xpm was given.
8573 if test "${enable_xpm+set}" = set; then
8574 enableval="$enable_xpm"
8575
8576 if test "$enableval" = yes; then
8577 ac_cv_use_xpm='wxUSE_XPM=yes'
8578 else
8579 ac_cv_use_xpm='wxUSE_XPM=no'
8580 fi
8581
8582 else
8583
8584 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
8585 if test "x$LINE" != x ; then
8586 eval "DEFAULT_$LINE"
8587 else
8588 no_cache=1
8589 fi
8590
8591 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
8592
8593 fi;
8594
8595 eval "$ac_cv_use_xpm"
8596 if test "$no_cache" != 1; then
8597 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
8598 fi
8599
8600 if test "$wxUSE_XPM" = yes; then
8601 echo "$as_me:8601: result: yes" >&5
8602 echo "${ECHO_T}yes" >&6
8603 else
8604 echo "$as_me:8604: result: no" >&5
8605 echo "${ECHO_T}no" >&6
8606 fi
8607
8608 echo "$as_me:8608: checking for --enable-ico_cur" >&5
8609 echo $ECHO_N "checking for --enable-ico_cur... $ECHO_C" >&6
8610 no_cache=0
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"
8614
8615 if test "$enableval" = yes; then
8616 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
8617 else
8618 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
8619 fi
8620
8621 else
8622
8623 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
8624 if test "x$LINE" != x ; then
8625 eval "DEFAULT_$LINE"
8626 else
8627 no_cache=1
8628 fi
8629
8630 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
8631
8632 fi;
8633
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
8637 fi
8638
8639 if test "$wxUSE_ICO_CUR" = yes; then
8640 echo "$as_me:8640: result: yes" >&5
8641 echo "${ECHO_T}yes" >&6
8642 else
8643 echo "$as_me:8643: result: no" >&5
8644 echo "${ECHO_T}no" >&6
8645 fi
8646
8647 fi
8648
8649 case "${host}" in
8650 *-pc-os2_emx | *-pc-os2-emx )
8651 LEX_STEM="lexyy"
8652 ;;
8653 *)
8654 PATH_IFS=':'
8655 LEX_STEM="lex.yy"
8656 ;;
8657 esac
8658
8659 echo "saving argument cache $wx_arg_cache_file"
8660 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
8661
8662 echo "$as_me:8662: checking for toolkit" >&5
8663 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
8664
8665 if test "$wxUSE_GUI" = "yes"; then
8666
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; }; }
8671 fi
8672
8673 if test "$TOOLKIT_GIVEN" = 1; then
8674 for toolkit in `echo $ALL_TOOLKITS`; do
8675 var=wxUSE_$toolkit
8676 eval "value=\$${var}"
8677 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
8678 done
8679 else
8680 for toolkit in `echo $ALL_TOOLKITS`; do
8681 if test "$has_toolkit_in_cache" != 1; then
8682 var=DEFAULT_DEFAULT_wxUSE_$toolkit
8683 else
8684 var=DEFAULT_wxUSE_$toolkit
8685 fi
8686 eval "wxUSE_$toolkit=\$${var}"
8687 done
8688 fi
8689
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}`
8692
8693 case "${host}" in
8694 *-pc-os2_emx | *-pc-os2-emx )
8695 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
8696 esac
8697
8698 case "$NUM_TOOLKITS" in
8699 1)
8700 ;;
8701 0)
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; }; }
8705 ;;
8706 *)
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; }; }
8710 esac
8711
8712 for toolkit in `echo $ALL_TOOLKITS`; do
8713 var=wxUSE_$toolkit
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}
8720 fi
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
8725 fi
8726 fi
8727 done
8728 else
8729 echo "$as_me:8729: result: base ($host_alias hosted) only" >&5
8730 echo "${ECHO_T}base ($host_alias hosted) only" >&6
8731 fi
8732
8733 wants_win32=0
8734 doesnt_want_win32=0
8735 case "${host}" in
8736 *-*-cygwin*)
8737 if test "$wxUSE_MSW" = 1 ; then
8738 wants_win32=1
8739 else
8740 doesnt_want_win32=1
8741 fi
8742 ;;
8743 *-*-mingw*)
8744 wants_win32=1
8745 ;;
8746 esac
8747
8748 if test "$wants_win32" = 1 ; then
8749 USE_UNIX=0
8750 USE_WIN32=1
8751 cat >>confdefs.h <<\EOF
8752 #define __WIN32__ 1
8753 EOF
8754
8755 cat >>confdefs.h <<\EOF
8756 #define __WIN95__ 1
8757 EOF
8758
8759 cat >>confdefs.h <<\EOF
8760 #define __WINDOWS__ 1
8761 EOF
8762
8763 cat >>confdefs.h <<\EOF
8764 #define __GNUWIN32__ 1
8765 EOF
8766
8767 cat >>confdefs.h <<\EOF
8768 #define STRICT 1
8769 EOF
8770
8771 cat >>confdefs.h <<\EOF
8772 #define WINVER 0x0400
8773 EOF
8774
8775 fi
8776 if test "$doesnt_want_win32" = 1 ; then
8777 USE_UNIX=1
8778 USE_WIN32=0
8779 fi
8780
8781 if test "$USE_UNIX" = 1 ; then
8782 wxUSE_UNIX=yes
8783 cat >>confdefs.h <<\EOF
8784 #define __UNIX__ 1
8785 EOF
8786
8787 fi
8788
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.
8795 #
8796 # config.status only pays attention to the cache file if you give it
8797 # the --recheck option to rerun configure.
8798 #
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
8801 # following values.
8802
8803 _ACEOF
8804
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.
8810 {
8811 (set) 2>&1 |
8812 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8813 *ac_space=\ *)
8814 # `set' does not quote correctly, so add quotes (double-quote
8815 # substitution turns \\\\ into \\, and sed turns \\ into \).
8816 sed -n \
8817 "s/'/'\\\\''/g;
8818 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8819 ;;
8820 *)
8821 # `set' quotes correctly as required by POSIX, so do not add quotes.
8822 sed -n \
8823 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
8824 ;;
8825 esac;
8826 } |
8827 sed '
8828 t clear
8829 : clear
8830 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8831 t end
8832 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8833 : end' >>confcache
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
8838 else
8839 echo "not updating unwritable cache $cache_file"
8840 fi
8841 fi
8842 rm -f confcache
8843
8844 if test "$build" != "$host" ; then
8845 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
8846 CC=$host_alias-gcc
8847 CXX=$host_alias-c++
8848 AR=$host_alias-ar
8849 RANLIB=$host_alias-ranlib
8850 DLLTOOL=$host_alias-dlltool
8851 RESCOMP=$host_alias-windres
8852 LD=$host_alias-ld
8853 NM=$host_alias-nm
8854 STRIP=$host_alias-strip
8855 else
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; }; }
8859 fi
8860 fi
8861
8862 CFLAGS=${CFLAGS:=}
8863 ac_ext=c
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
8875 else
8876 if test -n "$CC"; then
8877 ac_cv_prog_CC="$CC" # Let the user override the test.
8878 else
8879 ac_save_IFS=$IFS; IFS=$ac_path_separator
8880 ac_dummy="$PATH"
8881 for ac_dir in $ac_dummy; do
8882 IFS=$ac_save_IFS
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
8887 break
8888 done
8889
8890 fi
8891 fi
8892 CC=$ac_cv_prog_CC
8893 if test -n "$CC"; then
8894 echo "$as_me:8894: result: $CC" >&5
8895 echo "${ECHO_T}$CC" >&6
8896 else
8897 echo "$as_me:8897: result: no" >&5
8898 echo "${ECHO_T}no" >&6
8899 fi
8900
8901 fi
8902 if test -z "$ac_cv_prog_CC"; then
8903 ac_ct_CC=$CC
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
8910 else
8911 if test -n "$ac_ct_CC"; then
8912 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
8913 else
8914 ac_save_IFS=$IFS; IFS=$ac_path_separator
8915 ac_dummy="$PATH"
8916 for ac_dir in $ac_dummy; do
8917 IFS=$ac_save_IFS
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
8922 break
8923 done
8924
8925 fi
8926 fi
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
8931 else
8932 echo "$as_me:8932: result: no" >&5
8933 echo "${ECHO_T}no" >&6
8934 fi
8935
8936 CC=$ac_ct_CC
8937 else
8938 CC="$ac_cv_prog_CC"
8939 fi
8940
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
8949 else
8950 if test -n "$CC"; then
8951 ac_cv_prog_CC="$CC" # Let the user override the test.
8952 else
8953 ac_save_IFS=$IFS; IFS=$ac_path_separator
8954 ac_dummy="$PATH"
8955 for ac_dir in $ac_dummy; do
8956 IFS=$ac_save_IFS
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
8961 break
8962 done
8963
8964 fi
8965 fi
8966 CC=$ac_cv_prog_CC
8967 if test -n "$CC"; then
8968 echo "$as_me:8968: result: $CC" >&5
8969 echo "${ECHO_T}$CC" >&6
8970 else
8971 echo "$as_me:8971: result: no" >&5
8972 echo "${ECHO_T}no" >&6
8973 fi
8974
8975 fi
8976 if test -z "$ac_cv_prog_CC"; then
8977 ac_ct_CC=$CC
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
8984 else
8985 if test -n "$ac_ct_CC"; then
8986 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
8987 else
8988 ac_save_IFS=$IFS; IFS=$ac_path_separator
8989 ac_dummy="$PATH"
8990 for ac_dir in $ac_dummy; do
8991 IFS=$ac_save_IFS
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
8996 break
8997 done
8998
8999 fi
9000 fi
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
9005 else
9006 echo "$as_me:9006: result: no" >&5
9007 echo "${ECHO_T}no" >&6
9008 fi
9009
9010 CC=$ac_ct_CC
9011 else
9012 CC="$ac_cv_prog_CC"
9013 fi
9014
9015 fi
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
9023 else
9024 if test -n "$CC"; then
9025 ac_cv_prog_CC="$CC" # Let the user override the test.
9026 else
9027 ac_prog_rejected=no
9028 ac_save_IFS=$IFS; IFS=$ac_path_separator
9029 ac_dummy="$PATH"
9030 for ac_dir in $ac_dummy; do
9031 IFS=$ac_save_IFS
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
9036 continue
9037 fi
9038 ac_cv_prog_CC="cc"
9039 echo "$as_me:9039: found $ac_dir/$ac_word" >&5
9040 break
9041 done
9042
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
9046 shift
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.
9051 shift
9052 set dummy "$ac_dir/$ac_word" ${1+"$@"}
9053 shift
9054 ac_cv_prog_CC="$@"
9055 fi
9056 fi
9057 fi
9058 fi
9059 CC=$ac_cv_prog_CC
9060 if test -n "$CC"; then
9061 echo "$as_me:9061: result: $CC" >&5
9062 echo "${ECHO_T}$CC" >&6
9063 else
9064 echo "$as_me:9064: result: no" >&5
9065 echo "${ECHO_T}no" >&6
9066 fi
9067
9068 fi
9069 if test -z "$CC"; then
9070 if test -n "$ac_tool_prefix"; then
9071 for ac_prog in cl
9072 do
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
9079 else
9080 if test -n "$CC"; then
9081 ac_cv_prog_CC="$CC" # Let the user override the test.
9082 else
9083 ac_save_IFS=$IFS; IFS=$ac_path_separator
9084 ac_dummy="$PATH"
9085 for ac_dir in $ac_dummy; do
9086 IFS=$ac_save_IFS
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
9091 break
9092 done
9093
9094 fi
9095 fi
9096 CC=$ac_cv_prog_CC
9097 if test -n "$CC"; then
9098 echo "$as_me:9098: result: $CC" >&5
9099 echo "${ECHO_T}$CC" >&6
9100 else
9101 echo "$as_me:9101: result: no" >&5
9102 echo "${ECHO_T}no" >&6
9103 fi
9104
9105 test -n "$CC" && break
9106 done
9107 fi
9108 if test -z "$CC"; then
9109 ac_ct_CC=$CC
9110 for ac_prog in cl
9111 do
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
9118 else
9119 if test -n "$ac_ct_CC"; then
9120 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9121 else
9122 ac_save_IFS=$IFS; IFS=$ac_path_separator
9123 ac_dummy="$PATH"
9124 for ac_dir in $ac_dummy; do
9125 IFS=$ac_save_IFS
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
9130 break
9131 done
9132
9133 fi
9134 fi
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
9139 else
9140 echo "$as_me:9140: result: no" >&5
9141 echo "${ECHO_T}no" >&6
9142 fi
9143
9144 test -n "$ac_ct_CC" && break
9145 done
9146
9147 CC=$ac_ct_CC
9148 fi
9149
9150 fi
9151
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; }; }
9155
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
9162 ac_status=$?
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
9167 ac_status=$?
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
9172 ac_status=$?
9173 echo "$as_me:9173: \$? = $ac_status" >&5
9174 (exit $ac_status); }
9175
9176 cat >conftest.$ac_ext <<_ACEOF
9177 #line 9177 "configure"
9178 #include "confdefs.h"
9179
9180 int
9181 main ()
9182 {
9183
9184 ;
9185 return 0;
9186 }
9187 _ACEOF
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
9192 # of exeext.
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
9198 ac_status=$?
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
9203 # resort.
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
9207 case $ac_file in
9208 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
9209 a.out ) # We found the default executable, but exeext='' is most
9210 # certainly right.
9211 break;;
9212 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
9213 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
9214 export ac_cv_exeext
9215 break;;
9216 * ) break;;
9217 esac
9218 done
9219 else
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; }; }
9225 fi
9226
9227 ac_exeext=$ac_cv_exeext
9228 echo "$as_me:9228: result: $ac_file" >&5
9229 echo "${ECHO_T}$ac_file" >&6
9230
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
9240 (eval $ac_try) 2>&5
9241 ac_status=$?
9242 echo "$as_me:9242: \$? = $ac_status" >&5
9243 (exit $ac_status); }; }; then
9244 cross_compiling=no
9245 else
9246 if test "$cross_compiling" = maybe; then
9247 cross_compiling=yes
9248 else
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; }; }
9254 fi
9255 fi
9256 fi
9257 echo "$as_me:9257: result: yes" >&5
9258 echo "${ECHO_T}yes" >&6
9259
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
9268
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
9273 ac_status=$?
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
9279 # `rm'.
9280 for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
9281 case $ac_file in
9282 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
9283 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
9284 export ac_cv_exeext
9285 break;;
9286 * ) break;;
9287 esac
9288 done
9289 else
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; }; }
9293 fi
9294
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
9298
9299 rm -f conftest.$ac_ext
9300 EXEEXT=$ac_cv_exeext
9301 ac_exeext=$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
9306 else
9307 cat >conftest.$ac_ext <<_ACEOF
9308 #line 9308 "configure"
9309 #include "confdefs.h"
9310
9311 int
9312 main ()
9313 {
9314
9315 ;
9316 return 0;
9317 }
9318 _ACEOF
9319 rm -f conftest.o conftest.obj
9320 if { (eval echo "$as_me:9320: \"$ac_compile\"") >&5
9321 (eval $ac_compile) 2>&5
9322 ac_status=$?
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
9326 case $ac_file in
9327 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
9328 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
9329 break;;
9330 esac
9331 done
9332 else
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; }; }
9338 fi
9339
9340 rm -f conftest.$ac_cv_objext conftest.$ac_ext
9341 fi
9342 echo "$as_me:9342: result: $ac_cv_objext" >&5
9343 echo "${ECHO_T}$ac_cv_objext" >&6
9344 OBJEXT=$ac_cv_objext
9345 ac_objext=$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
9350 else
9351 cat >conftest.$ac_ext <<_ACEOF
9352 #line 9352 "configure"
9353 #include "confdefs.h"
9354
9355 int
9356 main ()
9357 {
9358 #ifndef __GNUC__
9359 choke me
9360 #endif
9361
9362 ;
9363 return 0;
9364 }
9365 _ACEOF
9366 rm -f conftest.$ac_objext
9367 if { (eval echo "$as_me:9367: \"$ac_compile\"") >&5
9368 (eval $ac_compile) 2>&5
9369 ac_status=$?
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
9374 (eval $ac_try) 2>&5
9375 ac_status=$?
9376 echo "$as_me:9376: \$? = $ac_status" >&5
9377 (exit $ac_status); }; }; then
9378 ac_compiler_gnu=yes
9379 else
9380 echo "$as_me: failed program was:" >&5
9381 cat conftest.$ac_ext >&5
9382 ac_compiler_gnu=no
9383 fi
9384 rm -f conftest.$ac_objext conftest.$ac_ext
9385 ac_cv_c_compiler_gnu=$ac_compiler_gnu
9386
9387 fi
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
9393 CFLAGS="-g"
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
9398 else
9399 cat >conftest.$ac_ext <<_ACEOF
9400 #line 9400 "configure"
9401 #include "confdefs.h"
9402
9403 int
9404 main ()
9405 {
9406
9407 ;
9408 return 0;
9409 }
9410 _ACEOF
9411 rm -f conftest.$ac_objext
9412 if { (eval echo "$as_me:9412: \"$ac_compile\"") >&5
9413 (eval $ac_compile) 2>&5
9414 ac_status=$?
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
9419 (eval $ac_try) 2>&5
9420 ac_status=$?
9421 echo "$as_me:9421: \$? = $ac_status" >&5
9422 (exit $ac_status); }; }; then
9423 ac_cv_prog_cc_g=yes
9424 else
9425 echo "$as_me: failed program was:" >&5
9426 cat conftest.$ac_ext >&5
9427 ac_cv_prog_cc_g=no
9428 fi
9429 rm -f conftest.$ac_objext conftest.$ac_ext
9430 fi
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
9437 CFLAGS="-g -O2"
9438 else
9439 CFLAGS="-g"
9440 fi
9441 else
9442 if test "$GCC" = yes; then
9443 CFLAGS="-O2"
9444 else
9445 CFLAGS=
9446 fi
9447 fi
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
9453 #ifndef __cplusplus
9454 choke me
9455 #endif
9456 _ACEOF
9457 rm -f conftest.$ac_objext
9458 if { (eval echo "$as_me:9458: \"$ac_compile\"") >&5
9459 (eval $ac_compile) 2>&5
9460 ac_status=$?
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
9465 (eval $ac_try) 2>&5
9466 ac_status=$?
9467 echo "$as_me:9467: \$? = $ac_status" >&5
9468 (exit $ac_status); }; }; then
9469 for ac_declaration in \
9470 ''\
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);' \
9476 'void exit (int);'
9477 do
9478 cat >conftest.$ac_ext <<_ACEOF
9479 #line 9479 "configure"
9480 #include "confdefs.h"
9481 #include <stdlib.h>
9482 $ac_declaration
9483 int
9484 main ()
9485 {
9486 exit (42);
9487 ;
9488 return 0;
9489 }
9490 _ACEOF
9491 rm -f conftest.$ac_objext
9492 if { (eval echo "$as_me:9492: \"$ac_compile\"") >&5
9493 (eval $ac_compile) 2>&5
9494 ac_status=$?
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
9499 (eval $ac_try) 2>&5
9500 ac_status=$?
9501 echo "$as_me:9501: \$? = $ac_status" >&5
9502 (exit $ac_status); }; }; then
9503 :
9504 else
9505 echo "$as_me: failed program was:" >&5
9506 cat conftest.$ac_ext >&5
9507 continue
9508 fi
9509 rm -f conftest.$ac_objext conftest.$ac_ext
9510 cat >conftest.$ac_ext <<_ACEOF
9511 #line 9511 "configure"
9512 #include "confdefs.h"
9513 $ac_declaration
9514 int
9515 main ()
9516 {
9517 exit (42);
9518 ;
9519 return 0;
9520 }
9521 _ACEOF
9522 rm -f conftest.$ac_objext
9523 if { (eval echo "$as_me:9523: \"$ac_compile\"") >&5
9524 (eval $ac_compile) 2>&5
9525 ac_status=$?
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
9530 (eval $ac_try) 2>&5
9531 ac_status=$?
9532 echo "$as_me:9532: \$? = $ac_status" >&5
9533 (exit $ac_status); }; }; then
9534 break
9535 else
9536 echo "$as_me: failed program was:" >&5
9537 cat conftest.$ac_ext >&5
9538 fi
9539 rm -f conftest.$ac_objext conftest.$ac_ext
9540 done
9541 rm -f conftest*
9542 if test -n "$ac_declaration"; then
9543 echo '#ifdef __cplusplus' >>confdefs.h
9544 echo $ac_declaration >>confdefs.h
9545 echo '#endif' >>confdefs.h
9546 fi
9547
9548 else
9549 echo "$as_me: failed program was:" >&5
9550 cat conftest.$ac_ext >&5
9551 fi
9552 rm -f conftest.$ac_objext conftest.$ac_ext
9553 ac_ext=c
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
9558
9559 ac_ext=c
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
9568 CPP=
9569 fi
9570 if test -z "$CPP"; then
9571 if test "${ac_cv_prog_CPP+set}" = set; then
9572 echo $ECHO_N "(cached) $ECHO_C" >&6
9573 else
9574 # Double quotes because CPP needs to be expanded
9575 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
9576 do
9577 ac_preproc_ok=false
9578 for ac_c_preproc_warn_flag in '' yes
9579 do
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"
9587 #include <assert.h>
9588 Syntax error
9589 _ACEOF
9590 if { (eval echo "$as_me:9590: \"$ac_cpp conftest.$ac_ext\"") >&5
9591 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9592 ac_status=$?
9593 egrep -v '^ *\+' conftest.er1 >conftest.err
9594 rm -f conftest.er1
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
9600 else
9601 ac_cpp_err=
9602 fi
9603 else
9604 ac_cpp_err=yes
9605 fi
9606 if test -z "$ac_cpp_err"; then
9607 :
9608 else
9609 echo "$as_me: failed program was:" >&5
9610 cat conftest.$ac_ext >&5
9611 # Broken: fails on valid input.
9612 continue
9613 fi
9614 rm -f conftest.err conftest.$ac_ext
9615
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>
9622 _ACEOF
9623 if { (eval echo "$as_me:9623: \"$ac_cpp conftest.$ac_ext\"") >&5
9624 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9625 ac_status=$?
9626 egrep -v '^ *\+' conftest.er1 >conftest.err
9627 rm -f conftest.er1
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
9633 else
9634 ac_cpp_err=
9635 fi
9636 else
9637 ac_cpp_err=yes
9638 fi
9639 if test -z "$ac_cpp_err"; then
9640 # Broken: success on invalid input.
9641 continue
9642 else
9643 echo "$as_me: failed program was:" >&5
9644 cat conftest.$ac_ext >&5
9645 # Passes both tests.
9646 ac_preproc_ok=:
9647 break
9648 fi
9649 rm -f conftest.err conftest.$ac_ext
9650
9651 done
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
9655 break
9656 fi
9657
9658 done
9659 ac_cv_prog_CPP=$CPP
9660
9661 fi
9662 CPP=$ac_cv_prog_CPP
9663 else
9664 ac_cv_prog_CPP=$CPP
9665 fi
9666 echo "$as_me:9666: result: $CPP" >&5
9667 echo "${ECHO_T}$CPP" >&6
9668 ac_preproc_ok=false
9669 for ac_c_preproc_warn_flag in '' yes
9670 do
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"
9678 #include <assert.h>
9679 Syntax error
9680 _ACEOF
9681 if { (eval echo "$as_me:9681: \"$ac_cpp conftest.$ac_ext\"") >&5
9682 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9683 ac_status=$?
9684 egrep -v '^ *\+' conftest.er1 >conftest.err
9685 rm -f conftest.er1
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
9691 else
9692 ac_cpp_err=
9693 fi
9694 else
9695 ac_cpp_err=yes
9696 fi
9697 if test -z "$ac_cpp_err"; then
9698 :
9699 else
9700 echo "$as_me: failed program was:" >&5
9701 cat conftest.$ac_ext >&5
9702 # Broken: fails on valid input.
9703 continue
9704 fi
9705 rm -f conftest.err conftest.$ac_ext
9706
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>
9713 _ACEOF
9714 if { (eval echo "$as_me:9714: \"$ac_cpp conftest.$ac_ext\"") >&5
9715 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9716 ac_status=$?
9717 egrep -v '^ *\+' conftest.er1 >conftest.err
9718 rm -f conftest.er1
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
9724 else
9725 ac_cpp_err=
9726 fi
9727 else
9728 ac_cpp_err=yes
9729 fi
9730 if test -z "$ac_cpp_err"; then
9731 # Broken: success on invalid input.
9732 continue
9733 else
9734 echo "$as_me: failed program was:" >&5
9735 cat conftest.$ac_ext >&5
9736 # Passes both tests.
9737 ac_preproc_ok=:
9738 break
9739 fi
9740 rm -f conftest.err conftest.$ac_ext
9741
9742 done
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
9746 :
9747 else
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; }; }
9751 fi
9752
9753 ac_ext=c
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
9758
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
9764 else
9765 ac_pattern="Autoconf.*'x'"
9766 cat >conftest.$ac_ext <<_ACEOF
9767 #line 9767 "configure"
9768 #include "confdefs.h"
9769 #include <sgtty.h>
9770 Autoconf TIOCGETP
9771 _ACEOF
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
9775 else
9776 ac_cv_prog_gcc_traditional=no
9777 fi
9778 rm -f conftest*
9779
9780 if test $ac_cv_prog_gcc_traditional = no; then
9781 cat >conftest.$ac_ext <<_ACEOF
9782 #line 9782 "configure"
9783 #include "confdefs.h"
9784 #include <termio.h>
9785 Autoconf TCGETA
9786 _ACEOF
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
9790 fi
9791 rm -f conftest*
9792
9793 fi
9794 fi
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"
9799 fi
9800 fi
9801
9802 ac_ext=cc
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
9807
9808 CXXFLAGS=${CXXFLAGS:=}
9809 ac_ext=cc
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
9816 do
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
9823 else
9824 if test -n "$CXX"; then
9825 ac_cv_prog_CXX="$CXX" # Let the user override the test.
9826 else
9827 ac_save_IFS=$IFS; IFS=$ac_path_separator
9828 ac_dummy="$PATH"
9829 for ac_dir in $ac_dummy; do
9830 IFS=$ac_save_IFS
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
9835 break
9836 done
9837
9838 fi
9839 fi
9840 CXX=$ac_cv_prog_CXX
9841 if test -n "$CXX"; then
9842 echo "$as_me:9842: result: $CXX" >&5
9843 echo "${ECHO_T}$CXX" >&6
9844 else
9845 echo "$as_me:9845: result: no" >&5
9846 echo "${ECHO_T}no" >&6
9847 fi
9848
9849 test -n "$CXX" && break
9850 done
9851 fi
9852 if test -z "$CXX"; then
9853 ac_ct_CXX=$CXX
9854 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
9855 do
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
9862 else
9863 if test -n "$ac_ct_CXX"; then
9864 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
9865 else
9866 ac_save_IFS=$IFS; IFS=$ac_path_separator
9867 ac_dummy="$PATH"
9868 for ac_dir in $ac_dummy; do
9869 IFS=$ac_save_IFS
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
9874 break
9875 done
9876
9877 fi
9878 fi
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
9883 else
9884 echo "$as_me:9884: result: no" >&5
9885 echo "${ECHO_T}no" >&6
9886 fi
9887
9888 test -n "$ac_ct_CXX" && break
9889 done
9890 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
9891
9892 CXX=$ac_ct_CXX
9893 fi
9894
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
9901 ac_status=$?
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
9906 ac_status=$?
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
9911 ac_status=$?
9912 echo "$as_me:9912: \$? = $ac_status" >&5
9913 (exit $ac_status); }
9914
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
9919 else
9920 cat >conftest.$ac_ext <<_ACEOF
9921 #line 9921 "configure"
9922 #include "confdefs.h"
9923
9924 int
9925 main ()
9926 {
9927 #ifndef __GNUC__
9928 choke me
9929 #endif
9930
9931 ;
9932 return 0;
9933 }
9934 _ACEOF
9935 rm -f conftest.$ac_objext
9936 if { (eval echo "$as_me:9936: \"$ac_compile\"") >&5
9937 (eval $ac_compile) 2>&5
9938 ac_status=$?
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
9943 (eval $ac_try) 2>&5
9944 ac_status=$?
9945 echo "$as_me:9945: \$? = $ac_status" >&5
9946 (exit $ac_status); }; }; then
9947 ac_compiler_gnu=yes
9948 else
9949 echo "$as_me: failed program was:" >&5
9950 cat conftest.$ac_ext >&5
9951 ac_compiler_gnu=no
9952 fi
9953 rm -f conftest.$ac_objext conftest.$ac_ext
9954 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
9955
9956 fi
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
9962 CXXFLAGS="-g"
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
9967 else
9968 cat >conftest.$ac_ext <<_ACEOF
9969 #line 9969 "configure"
9970 #include "confdefs.h"
9971
9972 int
9973 main ()
9974 {
9975
9976 ;
9977 return 0;
9978 }
9979 _ACEOF
9980 rm -f conftest.$ac_objext
9981 if { (eval echo "$as_me:9981: \"$ac_compile\"") >&5
9982 (eval $ac_compile) 2>&5
9983 ac_status=$?
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
9988 (eval $ac_try) 2>&5
9989 ac_status=$?
9990 echo "$as_me:9990: \$? = $ac_status" >&5
9991 (exit $ac_status); }; }; then
9992 ac_cv_prog_cxx_g=yes
9993 else
9994 echo "$as_me: failed program was:" >&5
9995 cat conftest.$ac_ext >&5
9996 ac_cv_prog_cxx_g=no
9997 fi
9998 rm -f conftest.$ac_objext conftest.$ac_ext
9999 fi
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
10006 CXXFLAGS="-g -O2"
10007 else
10008 CXXFLAGS="-g"
10009 fi
10010 else
10011 if test "$GXX" = yes; then
10012 CXXFLAGS="-O2"
10013 else
10014 CXXFLAGS=
10015 fi
10016 fi
10017 for ac_declaration in \
10018 ''\
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);' \
10024 'void exit (int);'
10025 do
10026 cat >conftest.$ac_ext <<_ACEOF
10027 #line 10027 "configure"
10028 #include "confdefs.h"
10029 #include <stdlib.h>
10030 $ac_declaration
10031 int
10032 main ()
10033 {
10034 exit (42);
10035 ;
10036 return 0;
10037 }
10038 _ACEOF
10039 rm -f conftest.$ac_objext
10040 if { (eval echo "$as_me:10040: \"$ac_compile\"") >&5
10041 (eval $ac_compile) 2>&5
10042 ac_status=$?
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
10048 ac_status=$?
10049 echo "$as_me:10049: \$? = $ac_status" >&5
10050 (exit $ac_status); }; }; then
10051 :
10052 else
10053 echo "$as_me: failed program was:" >&5
10054 cat conftest.$ac_ext >&5
10055 continue
10056 fi
10057 rm -f conftest.$ac_objext conftest.$ac_ext
10058 cat >conftest.$ac_ext <<_ACEOF
10059 #line 10059 "configure"
10060 #include "confdefs.h"
10061 $ac_declaration
10062 int
10063 main ()
10064 {
10065 exit (42);
10066 ;
10067 return 0;
10068 }
10069 _ACEOF
10070 rm -f conftest.$ac_objext
10071 if { (eval echo "$as_me:10071: \"$ac_compile\"") >&5
10072 (eval $ac_compile) 2>&5
10073 ac_status=$?
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
10079 ac_status=$?
10080 echo "$as_me:10080: \$? = $ac_status" >&5
10081 (exit $ac_status); }; }; then
10082 break
10083 else
10084 echo "$as_me: failed program was:" >&5
10085 cat conftest.$ac_ext >&5
10086 fi
10087 rm -f conftest.$ac_objext conftest.$ac_ext
10088 done
10089 rm -f conftest*
10090 if test -n "$ac_declaration"; then
10091 echo '#ifdef __cplusplus' >>confdefs.h
10092 echo $ac_declaration >>confdefs.h
10093 echo '#endif' >>confdefs.h
10094 fi
10095
10096 ac_ext=cc
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
10101
10102 ac_ext=c
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
10107
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
10115 else
10116 if test -n "$RANLIB"; then
10117 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
10118 else
10119 ac_save_IFS=$IFS; IFS=$ac_path_separator
10120 ac_dummy="$PATH"
10121 for ac_dir in $ac_dummy; do
10122 IFS=$ac_save_IFS
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
10127 break
10128 done
10129
10130 fi
10131 fi
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
10136 else
10137 echo "$as_me:10137: result: no" >&5
10138 echo "${ECHO_T}no" >&6
10139 fi
10140
10141 fi
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
10150 else
10151 if test -n "$ac_ct_RANLIB"; then
10152 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
10153 else
10154 ac_save_IFS=$IFS; IFS=$ac_path_separator
10155 ac_dummy="$PATH"
10156 for ac_dir in $ac_dummy; do
10157 IFS=$ac_save_IFS
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
10162 break
10163 done
10164
10165 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
10166 fi
10167 fi
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
10172 else
10173 echo "$as_me:10173: result: no" >&5
10174 echo "${ECHO_T}no" >&6
10175 fi
10176
10177 RANLIB=$ac_ct_RANLIB
10178 else
10179 RANLIB="$ac_cv_prog_RANLIB"
10180 fi
10181
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
10188 else
10189 if test -n "$AR"; then
10190 ac_cv_prog_AR="$AR" # Let the user override the test.
10191 else
10192 ac_save_IFS=$IFS; IFS=$ac_path_separator
10193 ac_dummy="$PATH"
10194 for ac_dir in $ac_dummy; do
10195 IFS=$ac_save_IFS
10196 test -z "$ac_dir" && ac_dir=.
10197 $as_executable_p "$ac_dir/$ac_word" || continue
10198 ac_cv_prog_AR="ar"
10199 echo "$as_me:10199: found $ac_dir/$ac_word" >&5
10200 break
10201 done
10202
10203 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
10204 fi
10205 fi
10206 AR=$ac_cv_prog_AR
10207 if test -n "$AR"; then
10208 echo "$as_me:10208: result: $AR" >&5
10209 echo "${ECHO_T}$AR" >&6
10210 else
10211 echo "$as_me:10211: result: no" >&5
10212 echo "${ECHO_T}no" >&6
10213 fi
10214
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
10221 # AIX /bin/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
10232 else
10233 ac_save_IFS=$IFS; IFS=$ac_path_separator
10234 for ac_dir in $PATH; do
10235 IFS=$ac_save_IFS
10236 # Account for people who put trailing slashes in PATH elements.
10237 case $ac_dir/ in
10238 / | ./ | .// | /cC/* \
10239 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
10240 | /usr/ucb/* ) ;;
10241 *)
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
10244 # by default.
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.
10250 :
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.
10254 :
10255 else
10256 ac_cv_path_install="$ac_dir/$ac_prog -c"
10257 break 2
10258 fi
10259 fi
10260 done
10261 ;;
10262 esac
10263 done
10264
10265 fi
10266 if test "${ac_cv_path_install+set}" = set; then
10267 INSTALL=$ac_cv_path_install
10268 else
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
10274 fi
10275 fi
10276 echo "$as_me:10276: result: $INSTALL" >&5
10277 echo "${ECHO_T}$INSTALL" >&6
10278
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}'
10282
10283 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
10284
10285 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
10286
10287 case ${INSTALL} in
10288 /* ) # Absolute
10289 ;;
10290 *)
10291 INSTALL=`pwd`/${INSTALL} ;;
10292 esac
10293
10294 case "${host}" in
10295
10296 powerpc-*-darwin* )
10297 INSTALL_PROGRAM="cp -fp"
10298 INSTALL_DATA="cp -fp"
10299 ;;
10300 *)
10301 ;;
10302 esac
10303
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
10310 else
10311 if test -n "$STRIP"; then
10312 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
10313 else
10314 ac_save_IFS=$IFS; IFS=$ac_path_separator
10315 ac_dummy="$PATH"
10316 for ac_dir in $ac_dummy; do
10317 IFS=$ac_save_IFS
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
10322 break
10323 done
10324
10325 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
10326 fi
10327 fi
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
10332 else
10333 echo "$as_me:10333: result: no" >&5
10334 echo "${ECHO_T}no" >&6
10335 fi
10336
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
10341 else
10342
10343 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
10344 egrep -s GNU > /dev/null); then
10345 wx_cv_prog_makeisgnu="yes"
10346 else
10347 wx_cv_prog_makeisgnu="no"
10348 fi
10349
10350 fi
10351 echo "$as_me:10351: result: $wx_cv_prog_makeisgnu" >&5
10352 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
10353
10354 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
10355 IF_GNU_MAKE=""
10356 else
10357 IF_GNU_MAKE="#"
10358 fi
10359
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
10365 else
10366
10367 cat - << EOF > confMake
10368 check : file
10369 cp \$? \$@
10370 cp \$? final_file
10371 EOF
10372
10373 if test ! -d sub ; then
10374 mkdir sub
10375 fi
10376 echo dummy > sub/file
10377 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
10378 RESULT=$?
10379 rm -f sub/file check final_file confMake
10380 rmdir sub
10381 if test "$RESULT" = 0; then
10382 wx_cv_prog_makevpath="yes"
10383 else
10384 wx_cv_prog_makevpath="no"
10385 fi
10386
10387 fi
10388 echo "$as_me:10388: result: $wx_cv_prog_makevpath" >&5
10389 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
10390
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
10394 VPATH correctly.
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.
10402 " >&5
10403 echo "$as_me: error:
10404 You need a make-utility that is able to use the variable
10405 VPATH correctly.
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.
10413 " >&2;}
10414 { (exit 1); exit 1; }; }
10415 fi fi
10416 for ac_prog in 'bison -y' byacc
10417 do
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
10424 else
10425 if test -n "$YACC"; then
10426 ac_cv_prog_YACC="$YACC" # Let the user override the test.
10427 else
10428 ac_save_IFS=$IFS; IFS=$ac_path_separator
10429 ac_dummy="$PATH"
10430 for ac_dir in $ac_dummy; do
10431 IFS=$ac_save_IFS
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
10436 break
10437 done
10438
10439 fi
10440 fi
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
10445 else
10446 echo "$as_me:10446: result: no" >&5
10447 echo "${ECHO_T}no" >&6
10448 fi
10449
10450 test -n "$YACC" && break
10451 done
10452 test -n "$YACC" || YACC="yacc"
10453
10454 for ac_prog in flex lex
10455 do
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
10462 else
10463 if test -n "$LEX"; then
10464 ac_cv_prog_LEX="$LEX" # Let the user override the test.
10465 else
10466 ac_save_IFS=$IFS; IFS=$ac_path_separator
10467 ac_dummy="$PATH"
10468 for ac_dir in $ac_dummy; do
10469 IFS=$ac_save_IFS
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
10474 break
10475 done
10476
10477 fi
10478 fi
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
10483 else
10484 echo "$as_me:10484: result: no" >&5
10485 echo "${ECHO_T}no" >&6
10486 fi
10487
10488 test -n "$LEX" && break
10489 done
10490 test -n "$LEX" || LEX=":"
10491
10492 if test -z "$LEXLIB"
10493 then
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
10498 else
10499 ac_check_lib_save_LIBS=$LIBS
10500 LIBS="-lfl $LIBS"
10501 cat >conftest.$ac_ext <<_ACEOF
10502 #line 10502 "configure"
10503 #include "confdefs.h"
10504
10505 /* Override any gcc2 internal prototype to avoid an error. */
10506 #ifdef __cplusplus
10507 extern "C"
10508 #endif
10509 /* We use char because int might match the return type of a gcc2
10510 builtin and then its argument prototype would still apply. */
10511 char yywrap ();
10512 int
10513 main ()
10514 {
10515 yywrap ();
10516 ;
10517 return 0;
10518 }
10519 _ACEOF
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
10523 ac_status=$?
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
10529 ac_status=$?
10530 echo "$as_me:10530: \$? = $ac_status" >&5
10531 (exit $ac_status); }; }; then
10532 ac_cv_lib_fl_yywrap=yes
10533 else
10534 echo "$as_me: failed program was:" >&5
10535 cat conftest.$ac_ext >&5
10536 ac_cv_lib_fl_yywrap=no
10537 fi
10538 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10539 LIBS=$ac_check_lib_save_LIBS
10540 fi
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
10544 LEXLIB="-lfl"
10545 else
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
10550 else
10551 ac_check_lib_save_LIBS=$LIBS
10552 LIBS="-ll $LIBS"
10553 cat >conftest.$ac_ext <<_ACEOF
10554 #line 10554 "configure"
10555 #include "confdefs.h"
10556
10557 /* Override any gcc2 internal prototype to avoid an error. */
10558 #ifdef __cplusplus
10559 extern "C"
10560 #endif
10561 /* We use char because int might match the return type of a gcc2
10562 builtin and then its argument prototype would still apply. */
10563 char yywrap ();
10564 int
10565 main ()
10566 {
10567 yywrap ();
10568 ;
10569 return 0;
10570 }
10571 _ACEOF
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
10575 ac_status=$?
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
10581 ac_status=$?
10582 echo "$as_me:10582: \$? = $ac_status" >&5
10583 (exit $ac_status); }; }; then
10584 ac_cv_lib_l_yywrap=yes
10585 else
10586 echo "$as_me: failed program was:" >&5
10587 cat conftest.$ac_ext >&5
10588 ac_cv_lib_l_yywrap=no
10589 fi
10590 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10591 LIBS=$ac_check_lib_save_LIBS
10592 fi
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
10596 LEXLIB="-ll"
10597 fi
10598
10599 fi
10600
10601 fi
10602
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
10608 else
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.
10611 echo '%%
10612 %%' | $LEX
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
10617 else
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; }; }
10621 fi
10622 fi
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
10626
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
10631 else
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
10637 ac_save_LIBS=$LIBS
10638 LIBS="$LIBS $LEXLIB"
10639 cat >conftest.$ac_ext <<_ACEOF
10640 `cat $LEX_OUTPUT_ROOT.c`
10641 _ACEOF
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
10645 ac_status=$?
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
10651 ac_status=$?
10652 echo "$as_me:10652: \$? = $ac_status" >&5
10653 (exit $ac_status); }; }; then
10654 ac_cv_prog_lex_yytext_pointer=yes
10655 else
10656 echo "$as_me: failed program was:" >&5
10657 cat conftest.$ac_ext >&5
10658 fi
10659 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10660 LIBS=$ac_save_LIBS
10661 rm -f "${LEX_OUTPUT_ROOT}.c"
10662
10663 fi
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
10667
10668 cat >>confdefs.h <<\EOF
10669 #define YYTEXT_POINTER 1
10670 EOF
10671
10672 fi
10673
10674 fi
10675
10676 echo "$as_me:10676: checking whether ln -s works" >&5
10677 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
10678 LN_S=$as_ln_s
10679 if test "$LN_S" = "ln -s"; then
10680 echo "$as_me:10680: result: yes" >&5
10681 echo "${ECHO_T}yes" >&6
10682 else
10683 echo "$as_me:10683: result: no, using $LN_S" >&5
10684 echo "${ECHO_T}no, using $LN_S" >&6
10685 fi
10686
10687 if test "$wxUSE_MAC" != 1; then
10688
10689 for ac_header in strings.h
10690 do
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
10696 else
10697 cat >conftest.$ac_ext <<_ACEOF
10698 #line 10698 "configure"
10699 #include "confdefs.h"
10700 #include <$ac_header>
10701 _ACEOF
10702 if { (eval echo "$as_me:10702: \"$ac_cpp conftest.$ac_ext\"") >&5
10703 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10704 ac_status=$?
10705 egrep -v '^ *\+' conftest.er1 >conftest.err
10706 rm -f conftest.er1
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
10712 else
10713 ac_cpp_err=
10714 fi
10715 else
10716 ac_cpp_err=yes
10717 fi
10718 if test -z "$ac_cpp_err"; then
10719 eval "$as_ac_Header=yes"
10720 else
10721 echo "$as_me: failed program was:" >&5
10722 cat conftest.$ac_ext >&5
10723 eval "$as_ac_Header=no"
10724 fi
10725 rm -f conftest.err conftest.$ac_ext
10726 fi
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
10732 EOF
10733
10734 fi
10735 done
10736
10737 fi
10738
10739 for ac_header in stdlib.h
10740 do
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
10746 else
10747 cat >conftest.$ac_ext <<_ACEOF
10748 #line 10748 "configure"
10749 #include "confdefs.h"
10750 #include <$ac_header>
10751 _ACEOF
10752 if { (eval echo "$as_me:10752: \"$ac_cpp conftest.$ac_ext\"") >&5
10753 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10754 ac_status=$?
10755 egrep -v '^ *\+' conftest.er1 >conftest.err
10756 rm -f conftest.er1
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
10762 else
10763 ac_cpp_err=
10764 fi
10765 else
10766 ac_cpp_err=yes
10767 fi
10768 if test -z "$ac_cpp_err"; then
10769 eval "$as_ac_Header=yes"
10770 else
10771 echo "$as_me: failed program was:" >&5
10772 cat conftest.$ac_ext >&5
10773 eval "$as_ac_Header=no"
10774 fi
10775 rm -f conftest.err conftest.$ac_ext
10776 fi
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
10782 EOF
10783
10784 fi
10785 done
10786
10787 for ac_header in malloc.h
10788 do
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
10794 else
10795 cat >conftest.$ac_ext <<_ACEOF
10796 #line 10796 "configure"
10797 #include "confdefs.h"
10798 #include <$ac_header>
10799 _ACEOF
10800 if { (eval echo "$as_me:10800: \"$ac_cpp conftest.$ac_ext\"") >&5
10801 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10802 ac_status=$?
10803 egrep -v '^ *\+' conftest.er1 >conftest.err
10804 rm -f conftest.er1
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
10810 else
10811 ac_cpp_err=
10812 fi
10813 else
10814 ac_cpp_err=yes
10815 fi
10816 if test -z "$ac_cpp_err"; then
10817 eval "$as_ac_Header=yes"
10818 else
10819 echo "$as_me: failed program was:" >&5
10820 cat conftest.$ac_ext >&5
10821 eval "$as_ac_Header=no"
10822 fi
10823 rm -f conftest.err conftest.$ac_ext
10824 fi
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
10830 EOF
10831
10832 fi
10833 done
10834
10835 for ac_header in unistd.h
10836 do
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
10842 else
10843 cat >conftest.$ac_ext <<_ACEOF
10844 #line 10844 "configure"
10845 #include "confdefs.h"
10846 #include <$ac_header>
10847 _ACEOF
10848 if { (eval echo "$as_me:10848: \"$ac_cpp conftest.$ac_ext\"") >&5
10849 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10850 ac_status=$?
10851 egrep -v '^ *\+' conftest.er1 >conftest.err
10852 rm -f conftest.er1
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
10858 else
10859 ac_cpp_err=
10860 fi
10861 else
10862 ac_cpp_err=yes
10863 fi
10864 if test -z "$ac_cpp_err"; then
10865 eval "$as_ac_Header=yes"
10866 else
10867 echo "$as_me: failed program was:" >&5
10868 cat conftest.$ac_ext >&5
10869 eval "$as_ac_Header=no"
10870 fi
10871 rm -f conftest.err conftest.$ac_ext
10872 fi
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
10878 EOF
10879
10880 fi
10881 done
10882
10883 for ac_header in wchar.h
10884 do
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
10890 else
10891 cat >conftest.$ac_ext <<_ACEOF
10892 #line 10892 "configure"
10893 #include "confdefs.h"
10894 #include <$ac_header>
10895 _ACEOF
10896 if { (eval echo "$as_me:10896: \"$ac_cpp conftest.$ac_ext\"") >&5
10897 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10898 ac_status=$?
10899 egrep -v '^ *\+' conftest.er1 >conftest.err
10900 rm -f conftest.er1
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
10906 else
10907 ac_cpp_err=
10908 fi
10909 else
10910 ac_cpp_err=yes
10911 fi
10912 if test -z "$ac_cpp_err"; then
10913 eval "$as_ac_Header=yes"
10914 else
10915 echo "$as_me: failed program was:" >&5
10916 cat conftest.$ac_ext >&5
10917 eval "$as_ac_Header=no"
10918 fi
10919 rm -f conftest.err conftest.$ac_ext
10920 fi
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
10926 EOF
10927
10928 fi
10929 done
10930
10931 if test "$ac_cv_header_wchar_h" != "yes"; then
10932
10933 for ac_header in wcstr.h
10934 do
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
10940 else
10941 cat >conftest.$ac_ext <<_ACEOF
10942 #line 10942 "configure"
10943 #include "confdefs.h"
10944 #include <$ac_header>
10945 _ACEOF
10946 if { (eval echo "$as_me:10946: \"$ac_cpp conftest.$ac_ext\"") >&5
10947 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10948 ac_status=$?
10949 egrep -v '^ *\+' conftest.er1 >conftest.err
10950 rm -f conftest.er1
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
10956 else
10957 ac_cpp_err=
10958 fi
10959 else
10960 ac_cpp_err=yes
10961 fi
10962 if test -z "$ac_cpp_err"; then
10963 eval "$as_ac_Header=yes"
10964 else
10965 echo "$as_me: failed program was:" >&5
10966 cat conftest.$ac_ext >&5
10967 eval "$as_ac_Header=no"
10968 fi
10969 rm -f conftest.err conftest.$ac_ext
10970 fi
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
10976 EOF
10977
10978 fi
10979 done
10980
10981 fi
10982
10983 for ac_header in fnmatch.h
10984 do
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
10990 else
10991 cat >conftest.$ac_ext <<_ACEOF
10992 #line 10992 "configure"
10993 #include "confdefs.h"
10994 #include <$ac_header>
10995 _ACEOF
10996 if { (eval echo "$as_me:10996: \"$ac_cpp conftest.$ac_ext\"") >&5
10997 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10998 ac_status=$?
10999 egrep -v '^ *\+' conftest.er1 >conftest.err
11000 rm -f conftest.er1
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
11006 else
11007 ac_cpp_err=
11008 fi
11009 else
11010 ac_cpp_err=yes
11011 fi
11012 if test -z "$ac_cpp_err"; then
11013 eval "$as_ac_Header=yes"
11014 else
11015 echo "$as_me: failed program was:" >&5
11016 cat conftest.$ac_ext >&5
11017 eval "$as_ac_Header=no"
11018 fi
11019 rm -f conftest.err conftest.$ac_ext
11020 fi
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
11026 EOF
11027
11028 fi
11029 done
11030
11031 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
11032
11033 for ac_func in fnmatch
11034 do
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
11040 else
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. */
11048 #ifdef __cplusplus
11049 extern "C"
11050 #endif
11051 /* We use char because int might match the return type of a gcc2
11052 builtin and then its argument prototype would still apply. */
11053 char $ac_func ();
11054 char (*f) ();
11055
11056 int
11057 main ()
11058 {
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)
11063 choke me
11064 #else
11065 f = $ac_func;
11066 #endif
11067
11068 ;
11069 return 0;
11070 }
11071 _ACEOF
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
11075 ac_status=$?
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
11081 ac_status=$?
11082 echo "$as_me:11082: \$? = $ac_status" >&5
11083 (exit $ac_status); }; }; then
11084 eval "$as_ac_var=yes"
11085 else
11086 echo "$as_me: failed program was:" >&5
11087 cat conftest.$ac_ext >&5
11088 eval "$as_ac_var=no"
11089 fi
11090 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11091 fi
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
11097 EOF
11098
11099 fi
11100 done
11101
11102 fi
11103
11104 for ac_header in langinfo.h
11105 do
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
11111 else
11112 cat >conftest.$ac_ext <<_ACEOF
11113 #line 11113 "configure"
11114 #include "confdefs.h"
11115 #include <$ac_header>
11116 _ACEOF
11117 if { (eval echo "$as_me:11117: \"$ac_cpp conftest.$ac_ext\"") >&5
11118 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11119 ac_status=$?
11120 egrep -v '^ *\+' conftest.er1 >conftest.err
11121 rm -f conftest.er1
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
11127 else
11128 ac_cpp_err=
11129 fi
11130 else
11131 ac_cpp_err=yes
11132 fi
11133 if test -z "$ac_cpp_err"; then
11134 eval "$as_ac_Header=yes"
11135 else
11136 echo "$as_me: failed program was:" >&5
11137 cat conftest.$ac_ext >&5
11138 eval "$as_ac_Header=no"
11139 fi
11140 rm -f conftest.err conftest.$ac_ext
11141 fi
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
11147 EOF
11148
11149 fi
11150 done
11151
11152 if test "$wxUSE_GUI" = "yes"; then
11153 if test "$wxUSE_UNIX" = "yes"; then
11154
11155 for ac_header in X11/XKBlib.h
11156 do
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
11162 else
11163 cat >conftest.$ac_ext <<_ACEOF
11164 #line 11164 "configure"
11165 #include "confdefs.h"
11166 #include <$ac_header>
11167 _ACEOF
11168 if { (eval echo "$as_me:11168: \"$ac_cpp conftest.$ac_ext\"") >&5
11169 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11170 ac_status=$?
11171 egrep -v '^ *\+' conftest.er1 >conftest.err
11172 rm -f conftest.er1
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
11178 else
11179 ac_cpp_err=
11180 fi
11181 else
11182 ac_cpp_err=yes
11183 fi
11184 if test -z "$ac_cpp_err"; then
11185 eval "$as_ac_Header=yes"
11186 else
11187 echo "$as_me: failed program was:" >&5
11188 cat conftest.$ac_ext >&5
11189 eval "$as_ac_Header=no"
11190 fi
11191 rm -f conftest.err conftest.$ac_ext
11192 fi
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
11198 EOF
11199
11200 fi
11201 done
11202
11203 fi
11204 fi
11205
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
11210 else
11211 ac_cv_prog_cc_stdc=no
11212 ac_save_CC=$CC
11213 cat >conftest.$ac_ext <<_ACEOF
11214 #line 11214 "configure"
11215 #include "confdefs.h"
11216 #include <stdarg.h>
11217 #include <stdio.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)
11224 char **p;
11225 int i;
11226 {
11227 return p[i];
11228 }
11229 static char *f (char * (*g) (char **, int), char **p, ...)
11230 {
11231 char *s;
11232 va_list v;
11233 va_start (v,p);
11234 s = g (p, va_arg (v,int));
11235 va_end (v);
11236 return s;
11237 }
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);
11242 int argc;
11243 char **argv;
11244 int
11245 main ()
11246 {
11247 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11248 ;
11249 return 0;
11250 }
11251 _ACEOF
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__"
11260 do
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
11265 ac_status=$?
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
11271 ac_status=$?
11272 echo "$as_me:11272: \$? = $ac_status" >&5
11273 (exit $ac_status); }; }; then
11274 ac_cv_prog_cc_stdc=$ac_arg
11275 break
11276 else
11277 echo "$as_me: failed program was:" >&5
11278 cat conftest.$ac_ext >&5
11279 fi
11280 rm -f conftest.$ac_objext
11281 done
11282 rm -f conftest.$ac_ext conftest.$ac_objext
11283 CC=$ac_save_CC
11284
11285 fi
11286
11287 case "x$ac_cv_prog_cc_stdc" in
11288 x|xno)
11289 echo "$as_me:11289: result: none needed" >&5
11290 echo "${ECHO_T}none needed" >&6 ;;
11291 *)
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" ;;
11295 esac
11296
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
11301 else
11302 cat >conftest.$ac_ext <<_ACEOF
11303 #line 11303 "configure"
11304 #include "confdefs.h"
11305
11306 int
11307 main ()
11308 {
11309 /* FIXME: Include the comments suggested by Paul. */
11310 #ifndef __cplusplus
11311 /* Ultrix mips cc rejects this. */
11312 typedef int charset[2];
11313 const charset x;
11314 /* SunOS 4.1.1 cc rejects this. */
11315 char const *const *ccp;
11316 char **p;
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
11323 expression */
11324 const char *g = "string";
11325 ccp = &g + (g ? g-g : 0);
11326 /* HPUX 7.0 cc rejects these. */
11327 ++ccp;
11328 p = (char**) ccp;
11329 ccp = (char const *const *) p;
11330 { /* SCO 3.2v4 cc rejects this. */
11331 char *t;
11332 char const *s = 0 ? (char *) 0 : (char const *) 0;
11333
11334 *t++ = 0;
11335 }
11336 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
11337 int x[] = {25, 17};
11338 const int *foo = &x[0];
11339 ++foo;
11340 }
11341 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
11342 typedef const int *iptr;
11343 iptr p = 0;
11344 ++p;
11345 }
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;
11350 }
11351 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
11352 const int foo = 10;
11353 }
11354 #endif
11355
11356 ;
11357 return 0;
11358 }
11359 _ACEOF
11360 rm -f conftest.$ac_objext
11361 if { (eval echo "$as_me:11361: \"$ac_compile\"") >&5
11362 (eval $ac_compile) 2>&5
11363 ac_status=$?
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
11369 ac_status=$?
11370 echo "$as_me:11370: \$? = $ac_status" >&5
11371 (exit $ac_status); }; }; then
11372 ac_cv_c_const=yes
11373 else
11374 echo "$as_me: failed program was:" >&5
11375 cat conftest.$ac_ext >&5
11376 ac_cv_c_const=no
11377 fi
11378 rm -f conftest.$ac_objext conftest.$ac_ext
11379 fi
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
11383
11384 cat >>confdefs.h <<\EOF
11385 #define const
11386 EOF
11387
11388 fi
11389
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
11394 else
11395 ac_cv_c_inline=no
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; }
11403 #endif
11404
11405 _ACEOF
11406 rm -f conftest.$ac_objext
11407 if { (eval echo "$as_me:11407: \"$ac_compile\"") >&5
11408 (eval $ac_compile) 2>&5
11409 ac_status=$?
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
11415 ac_status=$?
11416 echo "$as_me:11416: \$? = $ac_status" >&5
11417 (exit $ac_status); }; }; then
11418 ac_cv_c_inline=$ac_kw; break
11419 else
11420 echo "$as_me: failed program was:" >&5
11421 cat conftest.$ac_ext >&5
11422 fi
11423 rm -f conftest.$ac_objext conftest.$ac_ext
11424 done
11425
11426 fi
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
11430 inline | yes) ;;
11431 no)
11432 cat >>confdefs.h <<\EOF
11433 #define inline
11434 EOF
11435 ;;
11436 *) cat >>confdefs.h <<EOF
11437 #define inline $ac_cv_c_inline
11438 EOF
11439 ;;
11440 esac
11441
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
11446 else
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>
11453 #include <float.h>
11454
11455 _ACEOF
11456 if { (eval echo "$as_me:11456: \"$ac_cpp conftest.$ac_ext\"") >&5
11457 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11458 ac_status=$?
11459 egrep -v '^ *\+' conftest.er1 >conftest.err
11460 rm -f conftest.er1
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
11466 else
11467 ac_cpp_err=
11468 fi
11469 else
11470 ac_cpp_err=yes
11471 fi
11472 if test -z "$ac_cpp_err"; then
11473 ac_cv_header_stdc=yes
11474 else
11475 echo "$as_me: failed program was:" >&5
11476 cat conftest.$ac_ext >&5
11477 ac_cv_header_stdc=no
11478 fi
11479 rm -f conftest.err conftest.$ac_ext
11480
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>
11487
11488 _ACEOF
11489 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11490 egrep "memchr" >/dev/null 2>&1; then
11491 :
11492 else
11493 ac_cv_header_stdc=no
11494 fi
11495 rm -f conftest*
11496
11497 fi
11498
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>
11505
11506 _ACEOF
11507 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11508 egrep "free" >/dev/null 2>&1; then
11509 :
11510 else
11511 ac_cv_header_stdc=no
11512 fi
11513 rm -f conftest*
11514
11515 fi
11516
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
11520 :
11521 else
11522 cat >conftest.$ac_ext <<_ACEOF
11523 #line 11523 "configure"
11524 #include "confdefs.h"
11525 #include <ctype.h>
11526 #if ((' ' & 0x0FF) == 0x020)
11527 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11528 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11529 #else
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))
11534 #endif
11535
11536 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11537 int
11538 main ()
11539 {
11540 int i;
11541 for (i = 0; i < 256; i++)
11542 if (XOR (islower (i), ISLOWER (i))
11543 || toupper (i) != TOUPPER (i))
11544 exit(2);
11545 exit (0);
11546 }
11547 _ACEOF
11548 rm -f conftest$ac_exeext
11549 if { (eval echo "$as_me:11549: \"$ac_link\"") >&5
11550 (eval $ac_link) 2>&5
11551 ac_status=$?
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
11556 ac_status=$?
11557 echo "$as_me:11557: \$? = $ac_status" >&5
11558 (exit $ac_status); }; }; then
11559 :
11560 else
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
11565 fi
11566 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11567 fi
11568 fi
11569 fi
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
11573
11574 cat >>confdefs.h <<\EOF
11575 #define STDC_HEADERS 1
11576 EOF
11577
11578 fi
11579
11580 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
11581
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
11584 do
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
11590 else
11591 cat >conftest.$ac_ext <<_ACEOF
11592 #line 11592 "configure"
11593 #include "confdefs.h"
11594 $ac_includes_default
11595 #include <$ac_header>
11596 _ACEOF
11597 rm -f conftest.$ac_objext
11598 if { (eval echo "$as_me:11598: \"$ac_compile\"") >&5
11599 (eval $ac_compile) 2>&5
11600 ac_status=$?
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
11606 ac_status=$?
11607 echo "$as_me:11607: \$? = $ac_status" >&5
11608 (exit $ac_status); }; }; then
11609 eval "$as_ac_Header=yes"
11610 else
11611 echo "$as_me: failed program was:" >&5
11612 cat conftest.$ac_ext >&5
11613 eval "$as_ac_Header=no"
11614 fi
11615 rm -f conftest.$ac_objext conftest.$ac_ext
11616 fi
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
11622 EOF
11623
11624 fi
11625 done
11626
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
11631 else
11632 cat >conftest.$ac_ext <<_ACEOF
11633 #line 11633 "configure"
11634 #include "confdefs.h"
11635 $ac_includes_default
11636 int
11637 main ()
11638 {
11639 if ((char *) 0)
11640 return 0;
11641 if (sizeof (char))
11642 return 0;
11643 ;
11644 return 0;
11645 }
11646 _ACEOF
11647 rm -f conftest.$ac_objext
11648 if { (eval echo "$as_me:11648: \"$ac_compile\"") >&5
11649 (eval $ac_compile) 2>&5
11650 ac_status=$?
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
11656 ac_status=$?
11657 echo "$as_me:11657: \$? = $ac_status" >&5
11658 (exit $ac_status); }; }; then
11659 ac_cv_type_char=yes
11660 else
11661 echo "$as_me: failed program was:" >&5
11662 cat conftest.$ac_ext >&5
11663 ac_cv_type_char=no
11664 fi
11665 rm -f conftest.$ac_objext conftest.$ac_ext
11666 fi
11667 echo "$as_me:11667: result: $ac_cv_type_char" >&5
11668 echo "${ECHO_T}$ac_cv_type_char" >&6
11669
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
11674 else
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
11682 int
11683 main ()
11684 {
11685 int _array_ [1 - 2 * !((sizeof (char)) >= 0)]
11686 ;
11687 return 0;
11688 }
11689 _ACEOF
11690 rm -f conftest.$ac_objext
11691 if { (eval echo "$as_me:11691: \"$ac_compile\"") >&5
11692 (eval $ac_compile) 2>&5
11693 ac_status=$?
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
11699 ac_status=$?
11700 echo "$as_me:11700: \$? = $ac_status" >&5
11701 (exit $ac_status); }; }; then
11702 ac_lo=0 ac_mid=0
11703 while :; do
11704 cat >conftest.$ac_ext <<_ACEOF
11705 #line 11705 "configure"
11706 #include "confdefs.h"
11707 $ac_includes_default
11708 int
11709 main ()
11710 {
11711 int _array_ [1 - 2 * !((sizeof (char)) <= $ac_mid)]
11712 ;
11713 return 0;
11714 }
11715 _ACEOF
11716 rm -f conftest.$ac_objext
11717 if { (eval echo "$as_me:11717: \"$ac_compile\"") >&5
11718 (eval $ac_compile) 2>&5
11719 ac_status=$?
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
11725 ac_status=$?
11726 echo "$as_me:11726: \$? = $ac_status" >&5
11727 (exit $ac_status); }; }; then
11728 ac_hi=$ac_mid; break
11729 else
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`
11733 fi
11734 rm -f conftest.$ac_objext conftest.$ac_ext
11735 done
11736 else
11737 echo "$as_me: failed program was:" >&5
11738 cat conftest.$ac_ext >&5
11739 ac_hi=-1 ac_mid=-1
11740 while :; do
11741 cat >conftest.$ac_ext <<_ACEOF
11742 #line 11742 "configure"
11743 #include "confdefs.h"
11744 $ac_includes_default
11745 int
11746 main ()
11747 {
11748 int _array_ [1 - 2 * !((sizeof (char)) >= $ac_mid)]
11749 ;
11750 return 0;
11751 }
11752 _ACEOF
11753 rm -f conftest.$ac_objext
11754 if { (eval echo "$as_me:11754: \"$ac_compile\"") >&5
11755 (eval $ac_compile) 2>&5
11756 ac_status=$?
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
11762 ac_status=$?
11763 echo "$as_me:11763: \$? = $ac_status" >&5
11764 (exit $ac_status); }; }; then
11765 ac_lo=$ac_mid; break
11766 else
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`
11770 fi
11771 rm -f conftest.$ac_objext conftest.$ac_ext
11772 done
11773 fi
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
11782 int
11783 main ()
11784 {
11785 int _array_ [1 - 2 * !((sizeof (char)) <= $ac_mid)]
11786 ;
11787 return 0;
11788 }
11789 _ACEOF
11790 rm -f conftest.$ac_objext
11791 if { (eval echo "$as_me:11791: \"$ac_compile\"") >&5
11792 (eval $ac_compile) 2>&5
11793 ac_status=$?
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
11799 ac_status=$?
11800 echo "$as_me:11800: \$? = $ac_status" >&5
11801 (exit $ac_status); }; }; then
11802 ac_hi=$ac_mid
11803 else
11804 echo "$as_me: failed program was:" >&5
11805 cat conftest.$ac_ext >&5
11806 ac_lo=`expr $ac_mid + 1`
11807 fi
11808 rm -f conftest.$ac_objext conftest.$ac_ext
11809 done
11810 ac_cv_sizeof_char=$ac_lo
11811 else
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; }; }
11816 else
11817 cat >conftest.$ac_ext <<_ACEOF
11818 #line 11818 "configure"
11819 #include "confdefs.h"
11820 $ac_includes_default
11821 int
11822 main ()
11823 {
11824 FILE *f = fopen ("conftest.val", "w");
11825 if (!f)
11826 exit (1);
11827 fprintf (f, "%d", (sizeof (char)));
11828 fclose (f);
11829 ;
11830 return 0;
11831 }
11832 _ACEOF
11833 rm -f conftest$ac_exeext
11834 if { (eval echo "$as_me:11834: \"$ac_link\"") >&5
11835 (eval $ac_link) 2>&5
11836 ac_status=$?
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
11841 ac_status=$?
11842 echo "$as_me:11842: \$? = $ac_status" >&5
11843 (exit $ac_status); }; }; then
11844 ac_cv_sizeof_char=`cat conftest.val`
11845 else
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
11849 fi
11850 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11851 fi
11852 fi
11853 rm -f conftest.val
11854 else
11855 ac_cv_sizeof_char=0
11856 fi
11857 fi
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
11862 EOF
11863
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
11868 else
11869 cat >conftest.$ac_ext <<_ACEOF
11870 #line 11870 "configure"
11871 #include "confdefs.h"
11872 $ac_includes_default
11873 int
11874 main ()
11875 {
11876 if ((short *) 0)
11877 return 0;
11878 if (sizeof (short))
11879 return 0;
11880 ;
11881 return 0;
11882 }
11883 _ACEOF
11884 rm -f conftest.$ac_objext
11885 if { (eval echo "$as_me:11885: \"$ac_compile\"") >&5
11886 (eval $ac_compile) 2>&5
11887 ac_status=$?
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
11893 ac_status=$?
11894 echo "$as_me:11894: \$? = $ac_status" >&5
11895 (exit $ac_status); }; }; then
11896 ac_cv_type_short=yes
11897 else
11898 echo "$as_me: failed program was:" >&5
11899 cat conftest.$ac_ext >&5
11900 ac_cv_type_short=no
11901 fi
11902 rm -f conftest.$ac_objext conftest.$ac_ext
11903 fi
11904 echo "$as_me:11904: result: $ac_cv_type_short" >&5
11905 echo "${ECHO_T}$ac_cv_type_short" >&6
11906
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
11911 else
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
11919 int
11920 main ()
11921 {
11922 int _array_ [1 - 2 * !((sizeof (short)) >= 0)]
11923 ;
11924 return 0;
11925 }
11926 _ACEOF
11927 rm -f conftest.$ac_objext
11928 if { (eval echo "$as_me:11928: \"$ac_compile\"") >&5
11929 (eval $ac_compile) 2>&5
11930 ac_status=$?
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
11936 ac_status=$?
11937 echo "$as_me:11937: \$? = $ac_status" >&5
11938 (exit $ac_status); }; }; then
11939 ac_lo=0 ac_mid=0
11940 while :; do
11941 cat >conftest.$ac_ext <<_ACEOF
11942 #line 11942 "configure"
11943 #include "confdefs.h"
11944 $ac_includes_default
11945 int
11946 main ()
11947 {
11948 int _array_ [1 - 2 * !((sizeof (short)) <= $ac_mid)]
11949 ;
11950 return 0;
11951 }
11952 _ACEOF
11953 rm -f conftest.$ac_objext
11954 if { (eval echo "$as_me:11954: \"$ac_compile\"") >&5
11955 (eval $ac_compile) 2>&5
11956 ac_status=$?
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
11962 ac_status=$?
11963 echo "$as_me:11963: \$? = $ac_status" >&5
11964 (exit $ac_status); }; }; then
11965 ac_hi=$ac_mid; break
11966 else
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`
11970 fi
11971 rm -f conftest.$ac_objext conftest.$ac_ext
11972 done
11973 else
11974 echo "$as_me: failed program was:" >&5
11975 cat conftest.$ac_ext >&5
11976 ac_hi=-1 ac_mid=-1
11977 while :; do
11978 cat >conftest.$ac_ext <<_ACEOF
11979 #line 11979 "configure"
11980 #include "confdefs.h"
11981 $ac_includes_default
11982 int
11983 main ()
11984 {
11985 int _array_ [1 - 2 * !((sizeof (short)) >= $ac_mid)]
11986 ;
11987 return 0;
11988 }
11989 _ACEOF
11990 rm -f conftest.$ac_objext
11991 if { (eval echo "$as_me:11991: \"$ac_compile\"") >&5
11992 (eval $ac_compile) 2>&5
11993 ac_status=$?
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
11999 ac_status=$?
12000 echo "$as_me:12000: \$? = $ac_status" >&5
12001 (exit $ac_status); }; }; then
12002 ac_lo=$ac_mid; break
12003 else
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`
12007 fi
12008 rm -f conftest.$ac_objext conftest.$ac_ext
12009 done
12010 fi
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
12019 int
12020 main ()
12021 {
12022 int _array_ [1 - 2 * !((sizeof (short)) <= $ac_mid)]
12023 ;
12024 return 0;
12025 }
12026 _ACEOF
12027 rm -f conftest.$ac_objext
12028 if { (eval echo "$as_me:12028: \"$ac_compile\"") >&5
12029 (eval $ac_compile) 2>&5
12030 ac_status=$?
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
12036 ac_status=$?
12037 echo "$as_me:12037: \$? = $ac_status" >&5
12038 (exit $ac_status); }; }; then
12039 ac_hi=$ac_mid
12040 else
12041 echo "$as_me: failed program was:" >&5
12042 cat conftest.$ac_ext >&5
12043 ac_lo=`expr $ac_mid + 1`
12044 fi
12045 rm -f conftest.$ac_objext conftest.$ac_ext
12046 done
12047 ac_cv_sizeof_short=$ac_lo
12048 else
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; }; }
12053 else
12054 cat >conftest.$ac_ext <<_ACEOF
12055 #line 12055 "configure"
12056 #include "confdefs.h"
12057 $ac_includes_default
12058 int
12059 main ()
12060 {
12061 FILE *f = fopen ("conftest.val", "w");
12062 if (!f)
12063 exit (1);
12064 fprintf (f, "%d", (sizeof (short)));
12065 fclose (f);
12066 ;
12067 return 0;
12068 }
12069 _ACEOF
12070 rm -f conftest$ac_exeext
12071 if { (eval echo "$as_me:12071: \"$ac_link\"") >&5
12072 (eval $ac_link) 2>&5
12073 ac_status=$?
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
12078 ac_status=$?
12079 echo "$as_me:12079: \$? = $ac_status" >&5
12080 (exit $ac_status); }; }; then
12081 ac_cv_sizeof_short=`cat conftest.val`
12082 else
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
12086 fi
12087 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12088 fi
12089 fi
12090 rm -f conftest.val
12091 else
12092 ac_cv_sizeof_short=0
12093 fi
12094 fi
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
12099 EOF
12100
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
12105 else
12106 cat >conftest.$ac_ext <<_ACEOF
12107 #line 12107 "configure"
12108 #include "confdefs.h"
12109 $ac_includes_default
12110 int
12111 main ()
12112 {
12113 if ((void * *) 0)
12114 return 0;
12115 if (sizeof (void *))
12116 return 0;
12117 ;
12118 return 0;
12119 }
12120 _ACEOF
12121 rm -f conftest.$ac_objext
12122 if { (eval echo "$as_me:12122: \"$ac_compile\"") >&5
12123 (eval $ac_compile) 2>&5
12124 ac_status=$?
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
12130 ac_status=$?
12131 echo "$as_me:12131: \$? = $ac_status" >&5
12132 (exit $ac_status); }; }; then
12133 ac_cv_type_void_p=yes
12134 else
12135 echo "$as_me: failed program was:" >&5
12136 cat conftest.$ac_ext >&5
12137 ac_cv_type_void_p=no
12138 fi
12139 rm -f conftest.$ac_objext conftest.$ac_ext
12140 fi
12141 echo "$as_me:12141: result: $ac_cv_type_void_p" >&5
12142 echo "${ECHO_T}$ac_cv_type_void_p" >&6
12143
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
12148 else
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
12156 int
12157 main ()
12158 {
12159 int _array_ [1 - 2 * !((sizeof (void *)) >= 0)]
12160 ;
12161 return 0;
12162 }
12163 _ACEOF
12164 rm -f conftest.$ac_objext
12165 if { (eval echo "$as_me:12165: \"$ac_compile\"") >&5
12166 (eval $ac_compile) 2>&5
12167 ac_status=$?
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
12173 ac_status=$?
12174 echo "$as_me:12174: \$? = $ac_status" >&5
12175 (exit $ac_status); }; }; then
12176 ac_lo=0 ac_mid=0
12177 while :; do
12178 cat >conftest.$ac_ext <<_ACEOF
12179 #line 12179 "configure"
12180 #include "confdefs.h"
12181 $ac_includes_default
12182 int
12183 main ()
12184 {
12185 int _array_ [1 - 2 * !((sizeof (void *)) <= $ac_mid)]
12186 ;
12187 return 0;
12188 }
12189 _ACEOF
12190 rm -f conftest.$ac_objext
12191 if { (eval echo "$as_me:12191: \"$ac_compile\"") >&5
12192 (eval $ac_compile) 2>&5
12193 ac_status=$?
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
12199 ac_status=$?
12200 echo "$as_me:12200: \$? = $ac_status" >&5
12201 (exit $ac_status); }; }; then
12202 ac_hi=$ac_mid; break
12203 else
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`
12207 fi
12208 rm -f conftest.$ac_objext conftest.$ac_ext
12209 done
12210 else
12211 echo "$as_me: failed program was:" >&5
12212 cat conftest.$ac_ext >&5
12213 ac_hi=-1 ac_mid=-1
12214 while :; do
12215 cat >conftest.$ac_ext <<_ACEOF
12216 #line 12216 "configure"
12217 #include "confdefs.h"
12218 $ac_includes_default
12219 int
12220 main ()
12221 {
12222 int _array_ [1 - 2 * !((sizeof (void *)) >= $ac_mid)]
12223 ;
12224 return 0;
12225 }
12226 _ACEOF
12227 rm -f conftest.$ac_objext
12228 if { (eval echo "$as_me:12228: \"$ac_compile\"") >&5
12229 (eval $ac_compile) 2>&5
12230 ac_status=$?
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
12236 ac_status=$?
12237 echo "$as_me:12237: \$? = $ac_status" >&5
12238 (exit $ac_status); }; }; then
12239 ac_lo=$ac_mid; break
12240 else
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`
12244 fi
12245 rm -f conftest.$ac_objext conftest.$ac_ext
12246 done
12247 fi
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
12256 int
12257 main ()
12258 {
12259 int _array_ [1 - 2 * !((sizeof (void *)) <= $ac_mid)]
12260 ;
12261 return 0;
12262 }
12263 _ACEOF
12264 rm -f conftest.$ac_objext
12265 if { (eval echo "$as_me:12265: \"$ac_compile\"") >&5
12266 (eval $ac_compile) 2>&5
12267 ac_status=$?
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
12273 ac_status=$?
12274 echo "$as_me:12274: \$? = $ac_status" >&5
12275 (exit $ac_status); }; }; then
12276 ac_hi=$ac_mid
12277 else
12278 echo "$as_me: failed program was:" >&5
12279 cat conftest.$ac_ext >&5
12280 ac_lo=`expr $ac_mid + 1`
12281 fi
12282 rm -f conftest.$ac_objext conftest.$ac_ext
12283 done
12284 ac_cv_sizeof_void_p=$ac_lo
12285 else
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; }; }
12290 else
12291 cat >conftest.$ac_ext <<_ACEOF
12292 #line 12292 "configure"
12293 #include "confdefs.h"
12294 $ac_includes_default
12295 int
12296 main ()
12297 {
12298 FILE *f = fopen ("conftest.val", "w");
12299 if (!f)
12300 exit (1);
12301 fprintf (f, "%d", (sizeof (void *)));
12302 fclose (f);
12303 ;
12304 return 0;
12305 }
12306 _ACEOF
12307 rm -f conftest$ac_exeext
12308 if { (eval echo "$as_me:12308: \"$ac_link\"") >&5
12309 (eval $ac_link) 2>&5
12310 ac_status=$?
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
12315 ac_status=$?
12316 echo "$as_me:12316: \$? = $ac_status" >&5
12317 (exit $ac_status); }; }; then
12318 ac_cv_sizeof_void_p=`cat conftest.val`
12319 else
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
12323 fi
12324 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12325 fi
12326 fi
12327 rm -f conftest.val
12328 else
12329 ac_cv_sizeof_void_p=0
12330 fi
12331 fi
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
12336 EOF
12337
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
12342 else
12343 cat >conftest.$ac_ext <<_ACEOF
12344 #line 12344 "configure"
12345 #include "confdefs.h"
12346 $ac_includes_default
12347 int
12348 main ()
12349 {
12350 if ((int *) 0)
12351 return 0;
12352 if (sizeof (int))
12353 return 0;
12354 ;
12355 return 0;
12356 }
12357 _ACEOF
12358 rm -f conftest.$ac_objext
12359 if { (eval echo "$as_me:12359: \"$ac_compile\"") >&5
12360 (eval $ac_compile) 2>&5
12361 ac_status=$?
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
12367 ac_status=$?
12368 echo "$as_me:12368: \$? = $ac_status" >&5
12369 (exit $ac_status); }; }; then
12370 ac_cv_type_int=yes
12371 else
12372 echo "$as_me: failed program was:" >&5
12373 cat conftest.$ac_ext >&5
12374 ac_cv_type_int=no
12375 fi
12376 rm -f conftest.$ac_objext conftest.$ac_ext
12377 fi
12378 echo "$as_me:12378: result: $ac_cv_type_int" >&5
12379 echo "${ECHO_T}$ac_cv_type_int" >&6
12380
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
12385 else
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
12393 int
12394 main ()
12395 {
12396 int _array_ [1 - 2 * !((sizeof (int)) >= 0)]
12397 ;
12398 return 0;
12399 }
12400 _ACEOF
12401 rm -f conftest.$ac_objext
12402 if { (eval echo "$as_me:12402: \"$ac_compile\"") >&5
12403 (eval $ac_compile) 2>&5
12404 ac_status=$?
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
12410 ac_status=$?
12411 echo "$as_me:12411: \$? = $ac_status" >&5
12412 (exit $ac_status); }; }; then
12413 ac_lo=0 ac_mid=0
12414 while :; do
12415 cat >conftest.$ac_ext <<_ACEOF
12416 #line 12416 "configure"
12417 #include "confdefs.h"
12418 $ac_includes_default
12419 int
12420 main ()
12421 {
12422 int _array_ [1 - 2 * !((sizeof (int)) <= $ac_mid)]
12423 ;
12424 return 0;
12425 }
12426 _ACEOF
12427 rm -f conftest.$ac_objext
12428 if { (eval echo "$as_me:12428: \"$ac_compile\"") >&5
12429 (eval $ac_compile) 2>&5
12430 ac_status=$?
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
12436 ac_status=$?
12437 echo "$as_me:12437: \$? = $ac_status" >&5
12438 (exit $ac_status); }; }; then
12439 ac_hi=$ac_mid; break
12440 else
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`
12444 fi
12445 rm -f conftest.$ac_objext conftest.$ac_ext
12446 done
12447 else
12448 echo "$as_me: failed program was:" >&5
12449 cat conftest.$ac_ext >&5
12450 ac_hi=-1 ac_mid=-1
12451 while :; do
12452 cat >conftest.$ac_ext <<_ACEOF
12453 #line 12453 "configure"
12454 #include "confdefs.h"
12455 $ac_includes_default
12456 int
12457 main ()
12458 {
12459 int _array_ [1 - 2 * !((sizeof (int)) >= $ac_mid)]
12460 ;
12461 return 0;
12462 }
12463 _ACEOF
12464 rm -f conftest.$ac_objext
12465 if { (eval echo "$as_me:12465: \"$ac_compile\"") >&5
12466 (eval $ac_compile) 2>&5
12467 ac_status=$?
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
12473 ac_status=$?
12474 echo "$as_me:12474: \$? = $ac_status" >&5
12475 (exit $ac_status); }; }; then
12476 ac_lo=$ac_mid; break
12477 else
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`
12481 fi
12482 rm -f conftest.$ac_objext conftest.$ac_ext
12483 done
12484 fi
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
12493 int
12494 main ()
12495 {
12496 int _array_ [1 - 2 * !((sizeof (int)) <= $ac_mid)]
12497 ;
12498 return 0;
12499 }
12500 _ACEOF
12501 rm -f conftest.$ac_objext
12502 if { (eval echo "$as_me:12502: \"$ac_compile\"") >&5
12503 (eval $ac_compile) 2>&5
12504 ac_status=$?
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
12510 ac_status=$?
12511 echo "$as_me:12511: \$? = $ac_status" >&5
12512 (exit $ac_status); }; }; then
12513 ac_hi=$ac_mid
12514 else
12515 echo "$as_me: failed program was:" >&5
12516 cat conftest.$ac_ext >&5
12517 ac_lo=`expr $ac_mid + 1`
12518 fi
12519 rm -f conftest.$ac_objext conftest.$ac_ext
12520 done
12521 ac_cv_sizeof_int=$ac_lo
12522 else
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; }; }
12527 else
12528 cat >conftest.$ac_ext <<_ACEOF
12529 #line 12529 "configure"
12530 #include "confdefs.h"
12531 $ac_includes_default
12532 int
12533 main ()
12534 {
12535 FILE *f = fopen ("conftest.val", "w");
12536 if (!f)
12537 exit (1);
12538 fprintf (f, "%d", (sizeof (int)));
12539 fclose (f);
12540 ;
12541 return 0;
12542 }
12543 _ACEOF
12544 rm -f conftest$ac_exeext
12545 if { (eval echo "$as_me:12545: \"$ac_link\"") >&5
12546 (eval $ac_link) 2>&5
12547 ac_status=$?
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
12552 ac_status=$?
12553 echo "$as_me:12553: \$? = $ac_status" >&5
12554 (exit $ac_status); }; }; then
12555 ac_cv_sizeof_int=`cat conftest.val`
12556 else
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
12560 fi
12561 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12562 fi
12563 fi
12564 rm -f conftest.val
12565 else
12566 ac_cv_sizeof_int=0
12567 fi
12568 fi
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
12573 EOF
12574
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
12579 else
12580 cat >conftest.$ac_ext <<_ACEOF
12581 #line 12581 "configure"
12582 #include "confdefs.h"
12583 $ac_includes_default
12584 int
12585 main ()
12586 {
12587 if ((long *) 0)
12588 return 0;
12589 if (sizeof (long))
12590 return 0;
12591 ;
12592 return 0;
12593 }
12594 _ACEOF
12595 rm -f conftest.$ac_objext
12596 if { (eval echo "$as_me:12596: \"$ac_compile\"") >&5
12597 (eval $ac_compile) 2>&5
12598 ac_status=$?
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
12604 ac_status=$?
12605 echo "$as_me:12605: \$? = $ac_status" >&5
12606 (exit $ac_status); }; }; then
12607 ac_cv_type_long=yes
12608 else
12609 echo "$as_me: failed program was:" >&5
12610 cat conftest.$ac_ext >&5
12611 ac_cv_type_long=no
12612 fi
12613 rm -f conftest.$ac_objext conftest.$ac_ext
12614 fi
12615 echo "$as_me:12615: result: $ac_cv_type_long" >&5
12616 echo "${ECHO_T}$ac_cv_type_long" >&6
12617
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
12622 else
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
12630 int
12631 main ()
12632 {
12633 int _array_ [1 - 2 * !((sizeof (long)) >= 0)]
12634 ;
12635 return 0;
12636 }
12637 _ACEOF
12638 rm -f conftest.$ac_objext
12639 if { (eval echo "$as_me:12639: \"$ac_compile\"") >&5
12640 (eval $ac_compile) 2>&5
12641 ac_status=$?
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
12647 ac_status=$?
12648 echo "$as_me:12648: \$? = $ac_status" >&5
12649 (exit $ac_status); }; }; then
12650 ac_lo=0 ac_mid=0
12651 while :; do
12652 cat >conftest.$ac_ext <<_ACEOF
12653 #line 12653 "configure"
12654 #include "confdefs.h"
12655 $ac_includes_default
12656 int
12657 main ()
12658 {
12659 int _array_ [1 - 2 * !((sizeof (long)) <= $ac_mid)]
12660 ;
12661 return 0;
12662 }
12663 _ACEOF
12664 rm -f conftest.$ac_objext
12665 if { (eval echo "$as_me:12665: \"$ac_compile\"") >&5
12666 (eval $ac_compile) 2>&5
12667 ac_status=$?
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
12673 ac_status=$?
12674 echo "$as_me:12674: \$? = $ac_status" >&5
12675 (exit $ac_status); }; }; then
12676 ac_hi=$ac_mid; break
12677 else
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`
12681 fi
12682 rm -f conftest.$ac_objext conftest.$ac_ext
12683 done
12684 else
12685 echo "$as_me: failed program was:" >&5
12686 cat conftest.$ac_ext >&5
12687 ac_hi=-1 ac_mid=-1
12688 while :; do
12689 cat >conftest.$ac_ext <<_ACEOF
12690 #line 12690 "configure"
12691 #include "confdefs.h"
12692 $ac_includes_default
12693 int
12694 main ()
12695 {
12696 int _array_ [1 - 2 * !((sizeof (long)) >= $ac_mid)]
12697 ;
12698 return 0;
12699 }
12700 _ACEOF
12701 rm -f conftest.$ac_objext
12702 if { (eval echo "$as_me:12702: \"$ac_compile\"") >&5
12703 (eval $ac_compile) 2>&5
12704 ac_status=$?
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
12710 ac_status=$?
12711 echo "$as_me:12711: \$? = $ac_status" >&5
12712 (exit $ac_status); }; }; then
12713 ac_lo=$ac_mid; break
12714 else
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`
12718 fi
12719 rm -f conftest.$ac_objext conftest.$ac_ext
12720 done
12721 fi
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
12730 int
12731 main ()
12732 {
12733 int _array_ [1 - 2 * !((sizeof (long)) <= $ac_mid)]
12734 ;
12735 return 0;
12736 }
12737 _ACEOF
12738 rm -f conftest.$ac_objext
12739 if { (eval echo "$as_me:12739: \"$ac_compile\"") >&5
12740 (eval $ac_compile) 2>&5
12741 ac_status=$?
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
12747 ac_status=$?
12748 echo "$as_me:12748: \$? = $ac_status" >&5
12749 (exit $ac_status); }; }; then
12750 ac_hi=$ac_mid
12751 else
12752 echo "$as_me: failed program was:" >&5
12753 cat conftest.$ac_ext >&5
12754 ac_lo=`expr $ac_mid + 1`
12755 fi
12756 rm -f conftest.$ac_objext conftest.$ac_ext
12757 done
12758 ac_cv_sizeof_long=$ac_lo
12759 else
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; }; }
12764 else
12765 cat >conftest.$ac_ext <<_ACEOF
12766 #line 12766 "configure"
12767 #include "confdefs.h"
12768 $ac_includes_default
12769 int
12770 main ()
12771 {
12772 FILE *f = fopen ("conftest.val", "w");
12773 if (!f)
12774 exit (1);
12775 fprintf (f, "%d", (sizeof (long)));
12776 fclose (f);
12777 ;
12778 return 0;
12779 }
12780 _ACEOF
12781 rm -f conftest$ac_exeext
12782 if { (eval echo "$as_me:12782: \"$ac_link\"") >&5
12783 (eval $ac_link) 2>&5
12784 ac_status=$?
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
12789 ac_status=$?
12790 echo "$as_me:12790: \$? = $ac_status" >&5
12791 (exit $ac_status); }; }; then
12792 ac_cv_sizeof_long=`cat conftest.val`
12793 else
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
12797 fi
12798 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12799 fi
12800 fi
12801 rm -f conftest.val
12802 else
12803 ac_cv_sizeof_long=0
12804 fi
12805 fi
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
12810 EOF
12811
12812 case "${host}" in
12813 arm-*-linux* )
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
12818 else
12819 cat >conftest.$ac_ext <<_ACEOF
12820 #line 12820 "configure"
12821 #include "confdefs.h"
12822 $ac_includes_default
12823 int
12824 main ()
12825 {
12826 if ((long long *) 0)
12827 return 0;
12828 if (sizeof (long long))
12829 return 0;
12830 ;
12831 return 0;
12832 }
12833 _ACEOF
12834 rm -f conftest.$ac_objext
12835 if { (eval echo "$as_me:12835: \"$ac_compile\"") >&5
12836 (eval $ac_compile) 2>&5
12837 ac_status=$?
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
12843 ac_status=$?
12844 echo "$as_me:12844: \$? = $ac_status" >&5
12845 (exit $ac_status); }; }; then
12846 ac_cv_type_long_long=yes
12847 else
12848 echo "$as_me: failed program was:" >&5
12849 cat conftest.$ac_ext >&5
12850 ac_cv_type_long_long=no
12851 fi
12852 rm -f conftest.$ac_objext conftest.$ac_ext
12853 fi
12854 echo "$as_me:12854: result: $ac_cv_type_long_long" >&5
12855 echo "${ECHO_T}$ac_cv_type_long_long" >&6
12856
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
12861 else
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
12869 int
12870 main ()
12871 {
12872 int _array_ [1 - 2 * !((sizeof (long long)) >= 0)]
12873 ;
12874 return 0;
12875 }
12876 _ACEOF
12877 rm -f conftest.$ac_objext
12878 if { (eval echo "$as_me:12878: \"$ac_compile\"") >&5
12879 (eval $ac_compile) 2>&5
12880 ac_status=$?
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
12886 ac_status=$?
12887 echo "$as_me:12887: \$? = $ac_status" >&5
12888 (exit $ac_status); }; }; then
12889 ac_lo=0 ac_mid=0
12890 while :; do
12891 cat >conftest.$ac_ext <<_ACEOF
12892 #line 12892 "configure"
12893 #include "confdefs.h"
12894 $ac_includes_default
12895 int
12896 main ()
12897 {
12898 int _array_ [1 - 2 * !((sizeof (long long)) <= $ac_mid)]
12899 ;
12900 return 0;
12901 }
12902 _ACEOF
12903 rm -f conftest.$ac_objext
12904 if { (eval echo "$as_me:12904: \"$ac_compile\"") >&5
12905 (eval $ac_compile) 2>&5
12906 ac_status=$?
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
12912 ac_status=$?
12913 echo "$as_me:12913: \$? = $ac_status" >&5
12914 (exit $ac_status); }; }; then
12915 ac_hi=$ac_mid; break
12916 else
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`
12920 fi
12921 rm -f conftest.$ac_objext conftest.$ac_ext
12922 done
12923 else
12924 echo "$as_me: failed program was:" >&5
12925 cat conftest.$ac_ext >&5
12926 ac_hi=-1 ac_mid=-1
12927 while :; do
12928 cat >conftest.$ac_ext <<_ACEOF
12929 #line 12929 "configure"
12930 #include "confdefs.h"
12931 $ac_includes_default
12932 int
12933 main ()
12934 {
12935 int _array_ [1 - 2 * !((sizeof (long long)) >= $ac_mid)]
12936 ;
12937 return 0;
12938 }
12939 _ACEOF
12940 rm -f conftest.$ac_objext
12941 if { (eval echo "$as_me:12941: \"$ac_compile\"") >&5
12942 (eval $ac_compile) 2>&5
12943 ac_status=$?
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
12949 ac_status=$?
12950 echo "$as_me:12950: \$? = $ac_status" >&5
12951 (exit $ac_status); }; }; then
12952 ac_lo=$ac_mid; break
12953 else
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`
12957 fi
12958 rm -f conftest.$ac_objext conftest.$ac_ext
12959 done
12960 fi
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
12969 int
12970 main ()
12971 {
12972 int _array_ [1 - 2 * !((sizeof (long long)) <= $ac_mid)]
12973 ;
12974 return 0;
12975 }
12976 _ACEOF
12977 rm -f conftest.$ac_objext
12978 if { (eval echo "$as_me:12978: \"$ac_compile\"") >&5
12979 (eval $ac_compile) 2>&5
12980 ac_status=$?
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
12986 ac_status=$?
12987 echo "$as_me:12987: \$? = $ac_status" >&5
12988 (exit $ac_status); }; }; then
12989 ac_hi=$ac_mid
12990 else
12991 echo "$as_me: failed program was:" >&5
12992 cat conftest.$ac_ext >&5
12993 ac_lo=`expr $ac_mid + 1`
12994 fi
12995 rm -f conftest.$ac_objext conftest.$ac_ext
12996 done
12997 ac_cv_sizeof_long_long=$ac_lo
12998 else
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; }; }
13003 else
13004 cat >conftest.$ac_ext <<_ACEOF
13005 #line 13005 "configure"
13006 #include "confdefs.h"
13007 $ac_includes_default
13008 int
13009 main ()
13010 {
13011 FILE *f = fopen ("conftest.val", "w");
13012 if (!f)
13013 exit (1);
13014 fprintf (f, "%d", (sizeof (long long)));
13015 fclose (f);
13016 ;
13017 return 0;
13018 }
13019 _ACEOF
13020 rm -f conftest$ac_exeext
13021 if { (eval echo "$as_me:13021: \"$ac_link\"") >&5
13022 (eval $ac_link) 2>&5
13023 ac_status=$?
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
13028 ac_status=$?
13029 echo "$as_me:13029: \$? = $ac_status" >&5
13030 (exit $ac_status); }; }; then
13031 ac_cv_sizeof_long_long=`cat conftest.val`
13032 else
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
13036 fi
13037 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13038 fi
13039 fi
13040 rm -f conftest.val
13041 else
13042 ac_cv_sizeof_long_long=0
13043 fi
13044 fi
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
13049 EOF
13050
13051 ;;
13052 * )
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
13057 else
13058 cat >conftest.$ac_ext <<_ACEOF
13059 #line 13059 "configure"
13060 #include "confdefs.h"
13061 $ac_includes_default
13062 int
13063 main ()
13064 {
13065 if ((long long *) 0)
13066 return 0;
13067 if (sizeof (long long))
13068 return 0;
13069 ;
13070 return 0;
13071 }
13072 _ACEOF
13073 rm -f conftest.$ac_objext
13074 if { (eval echo "$as_me:13074: \"$ac_compile\"") >&5
13075 (eval $ac_compile) 2>&5
13076 ac_status=$?
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
13082 ac_status=$?
13083 echo "$as_me:13083: \$? = $ac_status" >&5
13084 (exit $ac_status); }; }; then
13085 ac_cv_type_long_long=yes
13086 else
13087 echo "$as_me: failed program was:" >&5
13088 cat conftest.$ac_ext >&5
13089 ac_cv_type_long_long=no
13090 fi
13091 rm -f conftest.$ac_objext conftest.$ac_ext
13092 fi
13093 echo "$as_me:13093: result: $ac_cv_type_long_long" >&5
13094 echo "${ECHO_T}$ac_cv_type_long_long" >&6
13095
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
13100 else
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
13108 int
13109 main ()
13110 {
13111 int _array_ [1 - 2 * !((sizeof (long long)) >= 0)]
13112 ;
13113 return 0;
13114 }
13115 _ACEOF
13116 rm -f conftest.$ac_objext
13117 if { (eval echo "$as_me:13117: \"$ac_compile\"") >&5
13118 (eval $ac_compile) 2>&5
13119 ac_status=$?
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
13125 ac_status=$?
13126 echo "$as_me:13126: \$? = $ac_status" >&5
13127 (exit $ac_status); }; }; then
13128 ac_lo=0 ac_mid=0
13129 while :; do
13130 cat >conftest.$ac_ext <<_ACEOF
13131 #line 13131 "configure"
13132 #include "confdefs.h"
13133 $ac_includes_default
13134 int
13135 main ()
13136 {
13137 int _array_ [1 - 2 * !((sizeof (long long)) <= $ac_mid)]
13138 ;
13139 return 0;
13140 }
13141 _ACEOF
13142 rm -f conftest.$ac_objext
13143 if { (eval echo "$as_me:13143: \"$ac_compile\"") >&5
13144 (eval $ac_compile) 2>&5
13145 ac_status=$?
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
13151 ac_status=$?
13152 echo "$as_me:13152: \$? = $ac_status" >&5
13153 (exit $ac_status); }; }; then
13154 ac_hi=$ac_mid; break
13155 else
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`
13159 fi
13160 rm -f conftest.$ac_objext conftest.$ac_ext
13161 done
13162 else
13163 echo "$as_me: failed program was:" >&5
13164 cat conftest.$ac_ext >&5
13165 ac_hi=-1 ac_mid=-1
13166 while :; do
13167 cat >conftest.$ac_ext <<_ACEOF
13168 #line 13168 "configure"
13169 #include "confdefs.h"
13170 $ac_includes_default
13171 int
13172 main ()
13173 {
13174 int _array_ [1 - 2 * !((sizeof (long long)) >= $ac_mid)]
13175 ;
13176 return 0;
13177 }
13178 _ACEOF
13179 rm -f conftest.$ac_objext
13180 if { (eval echo "$as_me:13180: \"$ac_compile\"") >&5
13181 (eval $ac_compile) 2>&5
13182 ac_status=$?
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
13188 ac_status=$?
13189 echo "$as_me:13189: \$? = $ac_status" >&5
13190 (exit $ac_status); }; }; then
13191 ac_lo=$ac_mid; break
13192 else
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`
13196 fi
13197 rm -f conftest.$ac_objext conftest.$ac_ext
13198 done
13199 fi
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
13208 int
13209 main ()
13210 {
13211 int _array_ [1 - 2 * !((sizeof (long long)) <= $ac_mid)]
13212 ;
13213 return 0;
13214 }
13215 _ACEOF
13216 rm -f conftest.$ac_objext
13217 if { (eval echo "$as_me:13217: \"$ac_compile\"") >&5
13218 (eval $ac_compile) 2>&5
13219 ac_status=$?
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
13225 ac_status=$?
13226 echo "$as_me:13226: \$? = $ac_status" >&5
13227 (exit $ac_status); }; }; then
13228 ac_hi=$ac_mid
13229 else
13230 echo "$as_me: failed program was:" >&5
13231 cat conftest.$ac_ext >&5
13232 ac_lo=`expr $ac_mid + 1`
13233 fi
13234 rm -f conftest.$ac_objext conftest.$ac_ext
13235 done
13236 ac_cv_sizeof_long_long=$ac_lo
13237 else
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; }; }
13242 else
13243 cat >conftest.$ac_ext <<_ACEOF
13244 #line 13244 "configure"
13245 #include "confdefs.h"
13246 $ac_includes_default
13247 int
13248 main ()
13249 {
13250 FILE *f = fopen ("conftest.val", "w");
13251 if (!f)
13252 exit (1);
13253 fprintf (f, "%d", (sizeof (long long)));
13254 fclose (f);
13255 ;
13256 return 0;
13257 }
13258 _ACEOF
13259 rm -f conftest$ac_exeext
13260 if { (eval echo "$as_me:13260: \"$ac_link\"") >&5
13261 (eval $ac_link) 2>&5
13262 ac_status=$?
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
13267 ac_status=$?
13268 echo "$as_me:13268: \$? = $ac_status" >&5
13269 (exit $ac_status); }; }; then
13270 ac_cv_sizeof_long_long=`cat conftest.val`
13271 else
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
13275 fi
13276 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13277 fi
13278 fi
13279 rm -f conftest.val
13280 else
13281 ac_cv_sizeof_long_long=0
13282 fi
13283 fi
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
13288 EOF
13289
13290 esac
13291
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
13296 else
13297
13298 if test "$cross_compiling" = yes; then
13299 wx_cv_sizeof_wchar_t=4
13300
13301 else
13302 cat >conftest.$ac_ext <<_ACEOF
13303 #line 13303 "configure"
13304 #include "confdefs.h"
13305
13306 #ifdef HAVE_WCHAR_H
13307 # ifdef __CYGWIN__
13308 # include <stddef.h>
13309 # endif
13310 # include <wchar.h>
13311 #endif
13312 #ifdef HAVE_STDLIB_H
13313 # include <stdlib.h>
13314 #endif
13315 #include <stdio.h>
13316 int main()
13317 {
13318 FILE *f=fopen("conftestval", "w");
13319 if (!f) exit(1);
13320 fprintf(f, "%i", sizeof(wchar_t));
13321 exit(0);
13322 }
13323
13324 _ACEOF
13325 rm -f conftest$ac_exeext
13326 if { (eval echo "$as_me:13326: \"$ac_link\"") >&5
13327 (eval $ac_link) 2>&5
13328 ac_status=$?
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
13333 ac_status=$?
13334 echo "$as_me:13334: \$? = $ac_status" >&5
13335 (exit $ac_status); }; }; then
13336 wx_cv_sizeof_wchar_t=`cat conftestval`
13337 else
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
13342 fi
13343 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13344 fi
13345
13346 fi
13347 echo "$as_me:13347: result: $wx_cv_sizeof_wchar_t" >&5
13348 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
13349
13350 cat >>confdefs.h <<EOF
13351 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
13352 EOF
13353
13354 # Check whether --enable-largefile or --disable-largefile was given.
13355 if test "${enable_largefile+set}" = set; then
13356 enableval="$enable_largefile"
13357
13358 fi;
13359 if test "$enable_largefile" != no; then
13360 wx_largefile=no
13361
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
13366 else
13367
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>
13373 int
13374 main ()
13375 {
13376 typedef struct {
13377 unsigned int field: sizeof(off_t) == 8;
13378 } wxlf;
13379
13380 ;
13381 return 0;
13382 }
13383 _ACEOF
13384 rm -f conftest.$ac_objext
13385 if { (eval echo "$as_me:13385: \"$ac_compile\"") >&5
13386 (eval $ac_compile) 2>&5
13387 ac_status=$?
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
13393 ac_status=$?
13394 echo "$as_me:13394: \$? = $ac_status" >&5
13395 (exit $ac_status); }; }; then
13396 ac_cv_sys_file_offset_bits=64
13397 else
13398 echo "$as_me: failed program was:" >&5
13399 cat conftest.$ac_ext >&5
13400 ac_cv_sys_file_offset_bits=no
13401 fi
13402 rm -f conftest.$ac_objext conftest.$ac_ext
13403
13404 fi
13405 echo "$as_me:13405: result: $ac_cv_sys_file_offset_bits" >&5
13406 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
13407
13408 if test "$ac_cv_sys_file_offset_bits" != no; then
13409 wx_largefile=yes
13410 cat >>confdefs.h <<EOF
13411 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
13412 EOF
13413
13414 fi
13415
13416 if test "x$wx_largefile" != "xyes"; then
13417
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
13422 else
13423
13424 cat >conftest.$ac_ext <<_ACEOF
13425 #line 13425 "configure"
13426 #include "confdefs.h"
13427 #define _LARGE_FILES 1
13428 #include <sys/types.h>
13429 int
13430 main ()
13431 {
13432 typedef struct {
13433 unsigned int field: sizeof(off_t) == 8;
13434 } wxlf;
13435
13436 ;
13437 return 0;
13438 }
13439 _ACEOF
13440 rm -f conftest.$ac_objext
13441 if { (eval echo "$as_me:13441: \"$ac_compile\"") >&5
13442 (eval $ac_compile) 2>&5
13443 ac_status=$?
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
13449 ac_status=$?
13450 echo "$as_me:13450: \$? = $ac_status" >&5
13451 (exit $ac_status); }; }; then
13452 ac_cv_sys_large_files=1
13453 else
13454 echo "$as_me: failed program was:" >&5
13455 cat conftest.$ac_ext >&5
13456 ac_cv_sys_large_files=no
13457 fi
13458 rm -f conftest.$ac_objext conftest.$ac_ext
13459
13460 fi
13461 echo "$as_me:13461: result: $ac_cv_sys_large_files" >&5
13462 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
13463
13464 if test "$ac_cv_sys_large_files" != no; then
13465 wx_largefile=yes
13466 cat >>confdefs.h <<EOF
13467 #define _LARGE_FILES $ac_cv_sys_large_files
13468 EOF
13469
13470 fi
13471
13472 fi
13473
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
13479 EOF
13480
13481 fi
13482 echo "$as_me:13482: result: $wx_largefile" >&5
13483 echo "${ECHO_T}$wx_largefile" >&6
13484 fi
13485
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
13490 else
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>
13498 int
13499 main ()
13500 {
13501
13502 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
13503 bogus endian macros
13504 #endif
13505 ;
13506 return 0;
13507 }
13508 _ACEOF
13509 rm -f conftest.$ac_objext
13510 if { (eval echo "$as_me:13510: \"$ac_compile\"") >&5
13511 (eval $ac_compile) 2>&5
13512 ac_status=$?
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
13518 ac_status=$?
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>
13527 int
13528 main ()
13529 {
13530
13531 #if BYTE_ORDER != BIG_ENDIAN
13532 not big endian
13533 #endif
13534 ;
13535 return 0;
13536 }
13537 _ACEOF
13538 rm -f conftest.$ac_objext
13539 if { (eval echo "$as_me:13539: \"$ac_compile\"") >&5
13540 (eval $ac_compile) 2>&5
13541 ac_status=$?
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
13547 ac_status=$?
13548 echo "$as_me:13548: \$? = $ac_status" >&5
13549 (exit $ac_status); }; }; then
13550 ac_cv_c_bigendian=yes
13551 else
13552 echo "$as_me: failed program was:" >&5
13553 cat conftest.$ac_ext >&5
13554 ac_cv_c_bigendian=no
13555 fi
13556 rm -f conftest.$ac_objext conftest.$ac_ext
13557 else
13558 echo "$as_me: failed program was:" >&5
13559 cat conftest.$ac_ext >&5
13560 fi
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
13565 else
13566 cat >conftest.$ac_ext <<_ACEOF
13567 #line 13567 "configure"
13568 #include "confdefs.h"
13569 main () {
13570 /* Are we little or big endian? From Harbison&Steele. */
13571 union
13572 {
13573 long l;
13574 char c[sizeof (long)];
13575 } u;
13576 u.l = 1;
13577 exit (u.c[sizeof (long) - 1] == 1);
13578 }
13579 _ACEOF
13580 rm -f conftest$ac_exeext
13581 if { (eval echo "$as_me:13581: \"$ac_link\"") >&5
13582 (eval $ac_link) 2>&5
13583 ac_status=$?
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
13588 ac_status=$?
13589 echo "$as_me:13589: \$? = $ac_status" >&5
13590 (exit $ac_status); }; }; then
13591 ac_cv_c_bigendian=no
13592 else
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
13597 fi
13598 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13599 fi
13600 fi
13601 fi
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;}
13607 fi
13608 if test $ac_cv_c_bigendian = yes; then
13609 cat >>confdefs.h <<\EOF
13610 #define WORDS_BIGENDIAN 1
13611 EOF
13612
13613 fi
13614
13615 ac_ext=cc
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
13625 else
13626 # Double quotes because CXXCPP needs to be expanded
13627 for CXXCPP in "$CXX -E" "/lib/cpp"
13628 do
13629 ac_preproc_ok=false
13630 for ac_cxx_preproc_warn_flag in '' yes
13631 do
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>
13640 Syntax error
13641 _ACEOF
13642 if { (eval echo "$as_me:13642: \"$ac_cpp conftest.$ac_ext\"") >&5
13643 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13644 ac_status=$?
13645 egrep -v '^ *\+' conftest.er1 >conftest.err
13646 rm -f conftest.er1
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
13652 else
13653 ac_cpp_err=
13654 fi
13655 else
13656 ac_cpp_err=yes
13657 fi
13658 if test -z "$ac_cpp_err"; then
13659 :
13660 else
13661 echo "$as_me: failed program was:" >&5
13662 cat conftest.$ac_ext >&5
13663 # Broken: fails on valid input.
13664 continue
13665 fi
13666 rm -f conftest.err conftest.$ac_ext
13667
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>
13674 _ACEOF
13675 if { (eval echo "$as_me:13675: \"$ac_cpp conftest.$ac_ext\"") >&5
13676 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13677 ac_status=$?
13678 egrep -v '^ *\+' conftest.er1 >conftest.err
13679 rm -f conftest.er1
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
13685 else
13686 ac_cpp_err=
13687 fi
13688 else
13689 ac_cpp_err=yes
13690 fi
13691 if test -z "$ac_cpp_err"; then
13692 # Broken: success on invalid input.
13693 continue
13694 else
13695 echo "$as_me: failed program was:" >&5
13696 cat conftest.$ac_ext >&5
13697 # Passes both tests.
13698 ac_preproc_ok=:
13699 break
13700 fi
13701 rm -f conftest.err conftest.$ac_ext
13702
13703 done
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
13707 break
13708 fi
13709
13710 done
13711 ac_cv_prog_CXXCPP=$CXXCPP
13712
13713 fi
13714 CXXCPP=$ac_cv_prog_CXXCPP
13715 else
13716 ac_cv_prog_CXXCPP=$CXXCPP
13717 fi
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
13722 do
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>
13731 Syntax error
13732 _ACEOF
13733 if { (eval echo "$as_me:13733: \"$ac_cpp conftest.$ac_ext\"") >&5
13734 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13735 ac_status=$?
13736 egrep -v '^ *\+' conftest.er1 >conftest.err
13737 rm -f conftest.er1
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
13743 else
13744 ac_cpp_err=
13745 fi
13746 else
13747 ac_cpp_err=yes
13748 fi
13749 if test -z "$ac_cpp_err"; then
13750 :
13751 else
13752 echo "$as_me: failed program was:" >&5
13753 cat conftest.$ac_ext >&5
13754 # Broken: fails on valid input.
13755 continue
13756 fi
13757 rm -f conftest.err conftest.$ac_ext
13758
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>
13765 _ACEOF
13766 if { (eval echo "$as_me:13766: \"$ac_cpp conftest.$ac_ext\"") >&5
13767 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13768 ac_status=$?
13769 egrep -v '^ *\+' conftest.er1 >conftest.err
13770 rm -f conftest.er1
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
13776 else
13777 ac_cpp_err=
13778 fi
13779 else
13780 ac_cpp_err=yes
13781 fi
13782 if test -z "$ac_cpp_err"; then
13783 # Broken: success on invalid input.
13784 continue
13785 else
13786 echo "$as_me: failed program was:" >&5
13787 cat conftest.$ac_ext >&5
13788 # Passes both tests.
13789 ac_preproc_ok=:
13790 break
13791 fi
13792 rm -f conftest.err conftest.$ac_ext
13793
13794 done
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
13798 :
13799 else
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; }; }
13803 fi
13804
13805 ac_ext=cc
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
13810
13811 if test "$cross_compiling" = "yes"; then
13812 cat >>confdefs.h <<\EOF
13813 #define wxUSE_IOSTREAMH 1
13814 EOF
13815
13816 else
13817
13818 ac_ext=cc
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
13823
13824 for ac_header in iostream
13825 do
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
13831 else
13832 cat >conftest.$ac_ext <<_ACEOF
13833 #line 13833 "configure"
13834 #include "confdefs.h"
13835 #include <$ac_header>
13836 _ACEOF
13837 if { (eval echo "$as_me:13837: \"$ac_cpp conftest.$ac_ext\"") >&5
13838 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13839 ac_status=$?
13840 egrep -v '^ *\+' conftest.er1 >conftest.err
13841 rm -f conftest.er1
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
13847 else
13848 ac_cpp_err=
13849 fi
13850 else
13851 ac_cpp_err=yes
13852 fi
13853 if test -z "$ac_cpp_err"; then
13854 eval "$as_ac_Header=yes"
13855 else
13856 echo "$as_me: failed program was:" >&5
13857 cat conftest.$ac_ext >&5
13858 eval "$as_ac_Header=no"
13859 fi
13860 rm -f conftest.err conftest.$ac_ext
13861 fi
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
13867 EOF
13868
13869 fi
13870 done
13871
13872 if test "$ac_cv_header_iostream" = "yes" ; then
13873 :
13874 else
13875 cat >>confdefs.h <<\EOF
13876 #define wxUSE_IOSTREAMH 1
13877 EOF
13878
13879 fi
13880
13881 ac_ext=c
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
13886
13887 fi
13888
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
13893 else
13894
13895 ac_ext=cc
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
13900
13901 cat >conftest.$ac_ext <<_ACEOF
13902 #line 13902 "configure"
13903 #include "confdefs.h"
13904
13905 int
13906 main ()
13907 {
13908
13909 bool b = true;
13910
13911 return 0;
13912
13913 ;
13914 return 0;
13915 }
13916 _ACEOF
13917 rm -f conftest.$ac_objext
13918 if { (eval echo "$as_me:13918: \"$ac_compile\"") >&5
13919 (eval $ac_compile) 2>&5
13920 ac_status=$?
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
13926 ac_status=$?
13927 echo "$as_me:13927: \$? = $ac_status" >&5
13928 (exit $ac_status); }; }; then
13929
13930 wx_cv_cpp_bool=yes
13931
13932 else
13933 echo "$as_me: failed program was:" >&5
13934 cat conftest.$ac_ext >&5
13935
13936 wx_cv_cpp_bool=no
13937
13938 fi
13939 rm -f conftest.$ac_objext conftest.$ac_ext
13940
13941 ac_ext=c
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
13946
13947 fi
13948 echo "$as_me:13948: result: $wx_cv_cpp_bool" >&5
13949 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
13950
13951 if test "$wx_cv_cpp_bool" = "yes"; then
13952 cat >>confdefs.h <<\EOF
13953 #define HAVE_BOOL 1
13954 EOF
13955
13956 fi
13957
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
13962 else
13963
13964 ac_ext=cc
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
13969
13970 cat >conftest.$ac_ext <<_ACEOF
13971 #line 13971 "configure"
13972 #include "confdefs.h"
13973
13974 class Foo { public: explicit Foo(int) {} };
13975
13976 int
13977 main ()
13978 {
13979
13980 return 0;
13981
13982 ;
13983 return 0;
13984 }
13985 _ACEOF
13986 rm -f conftest.$ac_objext
13987 if { (eval echo "$as_me:13987: \"$ac_compile\"") >&5
13988 (eval $ac_compile) 2>&5
13989 ac_status=$?
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
13995 ac_status=$?
13996 echo "$as_me:13996: \$? = $ac_status" >&5
13997 (exit $ac_status); }; }; then
13998
13999 cat >conftest.$ac_ext <<_ACEOF
14000 #line 14000 "configure"
14001 #include "confdefs.h"
14002
14003 class Foo { public: explicit Foo(int) {} };
14004 static void TakeFoo(const Foo& foo) { }
14005
14006 int
14007 main ()
14008 {
14009
14010 TakeFoo(17);
14011 return 0;
14012
14013 ;
14014 return 0;
14015 }
14016 _ACEOF
14017 rm -f conftest.$ac_objext
14018 if { (eval echo "$as_me:14018: \"$ac_compile\"") >&5
14019 (eval $ac_compile) 2>&5
14020 ac_status=$?
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
14026 ac_status=$?
14027 echo "$as_me:14027: \$? = $ac_status" >&5
14028 (exit $ac_status); }; }; then
14029 wx_cv_explicit=no
14030 else
14031 echo "$as_me: failed program was:" >&5
14032 cat conftest.$ac_ext >&5
14033 wx_cv_explicit=yes
14034
14035 fi
14036 rm -f conftest.$ac_objext conftest.$ac_ext
14037
14038 else
14039 echo "$as_me: failed program was:" >&5
14040 cat conftest.$ac_ext >&5
14041 wx_cv_explicit=no
14042
14043 fi
14044 rm -f conftest.$ac_objext conftest.$ac_ext
14045
14046 ac_ext=c
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
14051
14052 fi
14053 echo "$as_me:14053: result: $wx_cv_explicit" >&5
14054 echo "${ECHO_T}$wx_cv_explicit" >&6
14055
14056 if test "$wx_cv_explicit" = "yes"; then
14057 cat >>confdefs.h <<\EOF
14058 #define HAVE_EXPLICIT 1
14059 EOF
14060
14061 fi
14062
14063 SEARCH_INCLUDE="\
14064 /usr/local/include \
14065 \
14066 /usr/Motif-1.2/include \
14067 /usr/Motif-2.1/include \
14068 \
14069 /usr/include/Motif1.2 \
14070 /opt/xpm/include/X11 \
14071 /opt/GBxpm/include/ \
14072 /opt/GBxpm/X11/include/ \
14073 \
14074 /usr/Motif1.2/include \
14075 /usr/dt/include \
14076 /usr/openwin/include \
14077 \
14078 /usr/include/Xm \
14079 \
14080 /usr/X11R6/include \
14081 /usr/X11R6.4/include \
14082 /usr/X11R5/include \
14083 /usr/X11R4/include \
14084 \
14085 /usr/include/X11R6 \
14086 /usr/include/X11R5 \
14087 /usr/include/X11R4 \
14088 \
14089 /usr/local/X11R6/include \
14090 /usr/local/X11R5/include \
14091 /usr/local/X11R4/include \
14092 \
14093 /usr/local/include/X11R6 \
14094 /usr/local/include/X11R5 \
14095 /usr/local/include/X11R4 \
14096 \
14097 /usr/X11/include \
14098 /usr/include/X11 \
14099 /usr/local/X11/include \
14100 /usr/local/include/X11 \
14101 \
14102 /usr/X386/include \
14103 /usr/x386/include \
14104 /usr/XFree86/include/X11 \
14105 \
14106 X:/XFree86/include \
14107 X:/XFree86/include/X11 \
14108 \
14109 /usr/include/gtk \
14110 /usr/local/include/gtk \
14111 /usr/include/glib \
14112 /usr/local/include/glib \
14113 \
14114 /usr/include/qt \
14115 /usr/local/include/qt \
14116 \
14117 /usr/include/windows \
14118 /usr/include/wine \
14119 /usr/local/include/wine \
14120 \
14121 /usr/unsupported/include \
14122 /usr/athena/include \
14123 /usr/local/x11r5/include \
14124 /usr/lpp/Xamples/include \
14125 \
14126 /usr/openwin/share/include \
14127 \
14128 /usr/include"
14129
14130 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
14131
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.
14138 #
14139 # config.status only pays attention to the cache file if you give it
14140 # the --recheck option to rerun configure.
14141 #
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.
14145
14146 _ACEOF
14147
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.
14153 {
14154 (set) 2>&1 |
14155 case `(ac_space=' '; set | grep ac_space) 2>&1` in
14156 *ac_space=\ *)
14157 # `set' does not quote correctly, so add quotes (double-quote
14158 # substitution turns \\\\ into \\, and sed turns \\ into \).
14159 sed -n \
14160 "s/'/'\\\\''/g;
14161 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14162 ;;
14163 *)
14164 # `set' quotes correctly as required by POSIX, so do not add quotes.
14165 sed -n \
14166 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
14167 ;;
14168 esac;
14169 } |
14170 sed '
14171 t clear
14172 : clear
14173 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14174 t end
14175 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14176 : end' >>confcache
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
14181 else
14182 echo "not updating unwritable cache $cache_file"
14183 fi
14184 fi
14185 rm -f confcache
14186
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
14192 else
14193
14194 cat >conftest.$ac_ext <<_ACEOF
14195 #line 14195 "configure"
14196 #include "confdefs.h"
14197 #include <features.h>
14198 int
14199 main ()
14200 {
14201
14202 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
14203 #error not glibc2.1
14204 #endif
14205
14206 ;
14207 return 0;
14208 }
14209 _ACEOF
14210 rm -f conftest.$ac_objext
14211 if { (eval echo "$as_me:14211: \"$ac_compile\"") >&5
14212 (eval $ac_compile) 2>&5
14213 ac_status=$?
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
14219 ac_status=$?
14220 echo "$as_me:14220: \$? = $ac_status" >&5
14221 (exit $ac_status); }; }; then
14222
14223 wx_cv_lib_glibc21=yes
14224
14225 else
14226 echo "$as_me: failed program was:" >&5
14227 cat conftest.$ac_ext >&5
14228
14229 wx_cv_lib_glibc21=no
14230
14231 fi
14232 rm -f conftest.$ac_objext conftest.$ac_ext
14233
14234 fi
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
14240 EOF
14241
14242 fi
14243 fi
14244
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
14249 EOF
14250
14251 fi
14252 fi
14253
14254 REGEX_INCLUDE=
14255 if test "$wxUSE_REGEX" != "no"; then
14256 cat >>confdefs.h <<\EOF
14257 #define wxUSE_REGEX 1
14258 EOF
14259
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
14265 else
14266 cat >conftest.$ac_ext <<_ACEOF
14267 #line 14267 "configure"
14268 #include "confdefs.h"
14269 #include <regex.h>
14270 _ACEOF
14271 if { (eval echo "$as_me:14271: \"$ac_cpp conftest.$ac_ext\"") >&5
14272 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14273 ac_status=$?
14274 egrep -v '^ *\+' conftest.er1 >conftest.err
14275 rm -f conftest.er1
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
14281 else
14282 ac_cpp_err=
14283 fi
14284 else
14285 ac_cpp_err=yes
14286 fi
14287 if test -z "$ac_cpp_err"; then
14288 ac_cv_header_regex_h=yes
14289 else
14290 echo "$as_me: failed program was:" >&5
14291 cat conftest.$ac_ext >&5
14292 ac_cv_header_regex_h=no
14293 fi
14294 rm -f conftest.err conftest.$ac_ext
14295 fi
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
14299
14300 for ac_func in regcomp
14301 do
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
14307 else
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
14312 else
14313 which can conflict with char $ac_func (); below. */
14314 #include <assert.h>
14315 /* Override any gcc2 internal prototype to avoid an error. */
14316 #ifdef __cplusplus
14317 extern "C"
14318 #endif
14319 /* We use char because int might match the return type of a gcc2
14320 builtin and then its argument prototype would still apply. */
14321 char $ac_func ();
14322 char (*f) ();
14323
14324 int
14325 main ()
14326 {
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)
14331 choke me
14332 #else
14333 f = $ac_func;
14334 #endif
14335
14336 ;
14337 return 0;
14338 }
14339 _ACEOF
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
14343 ac_status=$?
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
14349 ac_status=$?
14350 echo "$as_me:14350: \$? = $ac_status" >&5
14351 (exit $ac_status); }; }; then
14352 eval "$as_ac_var=yes"
14353 else
14354 echo "$as_me: failed program was:" >&5
14355 cat conftest.$ac_ext >&5
14356 eval "$as_ac_var=no"
14357 fi
14358 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14359 fi
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
14365 EOF
14366
14367 fi
14368 done
14369
14370 fi
14371
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; }; }
14377 else
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
14381 fi
14382 else
14383 wxUSE_REGEX=sys
14384 fi
14385 fi
14386
14387 if test "$wxUSE_REGEX" = "builtin" ; then
14388 REGEX_INCLUDE="-I\${top_srcdir}/src/regex"
14389 fi
14390 fi
14391
14392 ZLIB_INCLUDE=
14393 ZLIB_LINK=
14394 if test "$wxUSE_ZLIB" != "no" ; then
14395 cat >>confdefs.h <<\EOF
14396 #define wxUSE_ZLIB 1
14397 EOF
14398
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
14404 else
14405 cat >conftest.$ac_ext <<_ACEOF
14406 #line 14406 "configure"
14407 #include "confdefs.h"
14408 #include <zlib.h>
14409 _ACEOF
14410 if { (eval echo "$as_me:14410: \"$ac_cpp conftest.$ac_ext\"") >&5
14411 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14412 ac_status=$?
14413 egrep -v '^ *\+' conftest.er1 >conftest.err
14414 rm -f conftest.er1
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
14420 else
14421 ac_cpp_err=
14422 fi
14423 else
14424 ac_cpp_err=yes
14425 fi
14426 if test -z "$ac_cpp_err"; then
14427 ac_cv_header_zlib_h=yes
14428 else
14429 echo "$as_me: failed program was:" >&5
14430 cat conftest.$ac_ext >&5
14431 ac_cv_header_zlib_h=no
14432 fi
14433 rm -f conftest.err conftest.$ac_ext
14434 fi
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
14442 else
14443 ac_check_lib_save_LIBS=$LIBS
14444 LIBS="-lz $LIBS"
14445 cat >conftest.$ac_ext <<_ACEOF
14446 #line 14446 "configure"
14447 #include "confdefs.h"
14448
14449 /* Override any gcc2 internal prototype to avoid an error. */
14450 #ifdef __cplusplus
14451 extern "C"
14452 #endif
14453 /* We use char because int might match the return type of a gcc2
14454 builtin and then its argument prototype would still apply. */
14455 char deflate ();
14456 int
14457 main ()
14458 {
14459 deflate ();
14460 ;
14461 return 0;
14462 }
14463 _ACEOF
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
14467 ac_status=$?
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
14473 ac_status=$?
14474 echo "$as_me:14474: \$? = $ac_status" >&5
14475 (exit $ac_status); }; }; then
14476 ac_cv_lib_z_deflate=yes
14477 else
14478 echo "$as_me: failed program was:" >&5
14479 cat conftest.$ac_ext >&5
14480 ac_cv_lib_z_deflate=no
14481 fi
14482 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14483 LIBS=$ac_check_lib_save_LIBS
14484 fi
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
14488 ZLIB_LINK=" -lz"
14489 fi
14490
14491 fi
14492
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; }; }
14498 else
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;}
14501 wxUSE_ZLIB=builtin
14502 fi
14503 else
14504 wxUSE_ZLIB=sys
14505 fi
14506 fi
14507
14508 if test "$wxUSE_ZLIB" = "builtin" ; then
14509 ZLIB_INCLUDE="-I\${top_srcdir}/src/zlib"
14510 fi
14511 fi
14512
14513 PNG_INCLUDE=
14514 PNG_LINK=
14515 if test "$wxUSE_LIBPNG" != "no" ; then
14516 cat >>confdefs.h <<\EOF
14517 #define wxUSE_LIBPNG 1
14518 EOF
14519
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;}
14523 wxUSE_LIBPNG=sys
14524 fi
14525
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
14530 fi
14531
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
14538 else
14539 cat >conftest.$ac_ext <<_ACEOF
14540 #line 14540 "configure"
14541 #include "confdefs.h"
14542 #include <png.h>
14543 _ACEOF
14544 if { (eval echo "$as_me:14544: \"$ac_cpp conftest.$ac_ext\"") >&5
14545 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14546 ac_status=$?
14547 egrep -v '^ *\+' conftest.er1 >conftest.err
14548 rm -f conftest.er1
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
14554 else
14555 ac_cpp_err=
14556 fi
14557 else
14558 ac_cpp_err=yes
14559 fi
14560 if test -z "$ac_cpp_err"; then
14561 ac_cv_header_png_h=yes
14562 else
14563 echo "$as_me: failed program was:" >&5
14564 cat conftest.$ac_ext >&5
14565 ac_cv_header_png_h=no
14566 fi
14567 rm -f conftest.err conftest.$ac_ext
14568 fi
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
14576 else
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"
14582
14583 /* Override any gcc2 internal prototype to avoid an error. */
14584 #ifdef __cplusplus
14585 extern "C"
14586 #endif
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 ();
14590 int
14591 main ()
14592 {
14593 png_check_sig ();
14594 ;
14595 return 0;
14596 }
14597 _ACEOF
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
14601 ac_status=$?
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
14607 ac_status=$?
14608 echo "$as_me:14608: \$? = $ac_status" >&5
14609 (exit $ac_status); }; }; then
14610 ac_cv_lib_png_png_check_sig=yes
14611 else
14612 echo "$as_me: failed program was:" >&5
14613 cat conftest.$ac_ext >&5
14614 ac_cv_lib_png_png_check_sig=no
14615 fi
14616 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14617 LIBS=$ac_check_lib_save_LIBS
14618 fi
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
14622 PNG_LINK=" -lpng"
14623 fi
14624
14625 fi
14626
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; }; }
14632 else
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
14636 fi
14637 else
14638 wxUSE_LIBPNG=yes
14639 fi
14640 fi
14641 fi
14642
14643 if test "$wxUSE_LIBPNG" = "builtin" ; then
14644 PNG_INCLUDE="-I\${top_srcdir}/src/png"
14645 fi
14646
14647 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
14648 fi
14649
14650 JPEG_INCLUDE=
14651 JPEG_LINK=
14652 if test "$wxUSE_LIBJPEG" != "no" ; then
14653 cat >>confdefs.h <<\EOF
14654 #define wxUSE_LIBJPEG 1
14655 EOF
14656
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;}
14660 wxUSE_LIBJPEG=sys
14661 fi
14662
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
14669 else
14670 cat >conftest.$ac_ext <<_ACEOF
14671 #line 14671 "configure"
14672 #include "confdefs.h"
14673
14674 #undef HAVE_STDLIB_H
14675 #include <stdio.h>
14676 #include <jpeglib.h>
14677
14678 int
14679 main ()
14680 {
14681
14682 ;
14683 return 0;
14684 }
14685 _ACEOF
14686 rm -f conftest.$ac_objext
14687 if { (eval echo "$as_me:14687: \"$ac_compile\"") >&5
14688 (eval $ac_compile) 2>&5
14689 ac_status=$?
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
14695 ac_status=$?
14696 echo "$as_me:14696: \$? = $ac_status" >&5
14697 (exit $ac_status); }; }; then
14698 ac_cv_header_jpeglib_h=yes
14699 else
14700 echo "$as_me: failed program was:" >&5
14701 cat conftest.$ac_ext >&5
14702 ac_cv_header_jpeglib_h=no
14703
14704 fi
14705 rm -f conftest.$ac_objext conftest.$ac_ext
14706
14707 fi
14708
14709 echo "$as_me:14709: result: $ac_cv_header_jpeglib_h" >&5
14710 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
14711
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
14717 else
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"
14723
14724 /* Override any gcc2 internal prototype to avoid an error. */
14725 #ifdef __cplusplus
14726 extern "C"
14727 #endif
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 ();
14731 int
14732 main ()
14733 {
14734 jpeg_read_header ();
14735 ;
14736 return 0;
14737 }
14738 _ACEOF
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
14742 ac_status=$?
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
14748 ac_status=$?
14749 echo "$as_me:14749: \$? = $ac_status" >&5
14750 (exit $ac_status); }; }; then
14751 ac_cv_lib_jpeg_jpeg_read_header=yes
14752 else
14753 echo "$as_me: failed program was:" >&5
14754 cat conftest.$ac_ext >&5
14755 ac_cv_lib_jpeg_jpeg_read_header=no
14756 fi
14757 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14758 LIBS=$ac_check_lib_save_LIBS
14759 fi
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"
14764 fi
14765
14766 fi
14767
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; }; }
14773 else
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
14777 fi
14778 else
14779 wxUSE_LIBJPEG=sys
14780 fi
14781 fi
14782 fi
14783
14784 if test "$wxUSE_LIBJPEG" = "builtin" ; then
14785 JPEG_INCLUDE="-I\${top_srcdir}/src/jpeg"
14786 fi
14787 fi
14788
14789 TIFF_INCLUDE=
14790 TIFF_LINK=
14791 if test "$wxUSE_LIBTIFF" != "no" ; then
14792 cat >>confdefs.h <<\EOF
14793 #define wxUSE_LIBTIFF 1
14794 EOF
14795
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
14801 else
14802 cat >conftest.$ac_ext <<_ACEOF
14803 #line 14803 "configure"
14804 #include "confdefs.h"
14805 #include <tiffio.h>
14806 _ACEOF
14807 if { (eval echo "$as_me:14807: \"$ac_cpp conftest.$ac_ext\"") >&5
14808 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14809 ac_status=$?
14810 egrep -v '^ *\+' conftest.er1 >conftest.err
14811 rm -f conftest.er1
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
14817 else
14818 ac_cpp_err=
14819 fi
14820 else
14821 ac_cpp_err=yes
14822 fi
14823 if test -z "$ac_cpp_err"; then
14824 ac_cv_header_tiffio_h=yes
14825 else
14826 echo "$as_me: failed program was:" >&5
14827 cat conftest.$ac_ext >&5
14828 ac_cv_header_tiffio_h=no
14829 fi
14830 rm -f conftest.err conftest.$ac_ext
14831 fi
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
14839 else
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"
14845
14846 /* Override any gcc2 internal prototype to avoid an error. */
14847 #ifdef __cplusplus
14848 extern "C"
14849 #endif
14850 /* We use char because int might match the return type of a gcc2
14851 builtin and then its argument prototype would still apply. */
14852 char TIFFError ();
14853 int
14854 main ()
14855 {
14856 TIFFError ();
14857 ;
14858 return 0;
14859 }
14860 _ACEOF
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
14864 ac_status=$?
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
14870 ac_status=$?
14871 echo "$as_me:14871: \$? = $ac_status" >&5
14872 (exit $ac_status); }; }; then
14873 ac_cv_lib_tiff_TIFFError=yes
14874 else
14875 echo "$as_me: failed program was:" >&5
14876 cat conftest.$ac_ext >&5
14877 ac_cv_lib_tiff_TIFFError=no
14878 fi
14879 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14880 LIBS=$ac_check_lib_save_LIBS
14881 fi
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"
14886 fi
14887
14888 fi
14889
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; }; }
14895 else
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
14899 fi
14900 else
14901 wxUSE_LIBTIFF=sys
14902 fi
14903 fi
14904
14905 if test "$wxUSE_LIBTIFF" = "builtin" ; then
14906 TIFF_INCLUDE="-I\${top_srcdir}/src/tiff"
14907 fi
14908 fi
14909
14910 AFMINSTALL=
14911
14912 TOOLKIT=
14913 TOOLKIT_INCLUDE=
14914 WIDGET_SET=
14915
14916 if test "$USE_WIN32" = 1 ; then
14917
14918 for ac_header in w32api.h
14919 do
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
14925 else
14926 cat >conftest.$ac_ext <<_ACEOF
14927 #line 14927 "configure"
14928 #include "confdefs.h"
14929 #include <$ac_header>
14930 _ACEOF
14931 if { (eval echo "$as_me:14931: \"$ac_cpp conftest.$ac_ext\"") >&5
14932 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14933 ac_status=$?
14934 egrep -v '^ *\+' conftest.er1 >conftest.err
14935 rm -f conftest.er1
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
14941 else
14942 ac_cpp_err=
14943 fi
14944 else
14945 ac_cpp_err=yes
14946 fi
14947 if test -z "$ac_cpp_err"; then
14948 eval "$as_ac_Header=yes"
14949 else
14950 echo "$as_me: failed program was:" >&5
14951 cat conftest.$ac_ext >&5
14952 eval "$as_ac_Header=no"
14953 fi
14954 rm -f conftest.err conftest.$ac_ext
14955 fi
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
14961 EOF
14962
14963 fi
14964 done
14965
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
14970 else
14971 cat >conftest.$ac_ext <<_ACEOF
14972 #line 14972 "configure"
14973 #include "confdefs.h"
14974 #include <windows.h>
14975 _ACEOF
14976 if { (eval echo "$as_me:14976: \"$ac_cpp conftest.$ac_ext\"") >&5
14977 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14978 ac_status=$?
14979 egrep -v '^ *\+' conftest.er1 >conftest.err
14980 rm -f conftest.er1
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
14986 else
14987 ac_cpp_err=
14988 fi
14989 else
14990 ac_cpp_err=yes
14991 fi
14992 if test -z "$ac_cpp_err"; then
14993 ac_cv_header_windows_h=yes
14994 else
14995 echo "$as_me: failed program was:" >&5
14996 cat conftest.$ac_ext >&5
14997 ac_cv_header_windows_h=no
14998 fi
14999 rm -f conftest.err conftest.$ac_ext
15000 fi
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
15004 :
15005 else
15006
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; }; }
15010
15011 fi
15012
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
15017 else
15018
15019 cat >conftest.$ac_ext <<_ACEOF
15020 #line 15020 "configure"
15021 #include "confdefs.h"
15022 #include <w32api.h>
15023 int
15024 main ()
15025 {
15026
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))))
15031
15032 #if !wxCHECK_W32API_VERSION(1,1)
15033 #error You need w32api 1.1 or newer
15034 #endif
15035
15036 ;
15037 return 0;
15038 }
15039 _ACEOF
15040 rm -f conftest.$ac_objext
15041 if { (eval echo "$as_me:15041: \"$ac_compile\"") >&5
15042 (eval $ac_compile) 2>&5
15043 ac_status=$?
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
15049 ac_status=$?
15050 echo "$as_me:15050: \$? = $ac_status" >&5
15051 (exit $ac_status); }; }; then
15052
15053 wx_cv_w32api_win32_ie=yes
15054
15055 else
15056 echo "$as_me: failed program was:" >&5
15057 cat conftest.$ac_ext >&5
15058
15059 wx_cv_w32api_win32_ie=no
15060
15061 fi
15062 rm -f conftest.$ac_objext conftest.$ac_ext
15063
15064 fi
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"
15069 fi
15070
15071 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
15072
15073 case "${host}" in
15074 *-*-cygwin* )
15075 LIBS="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32"
15076 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
15077 esac
15078
15079 if test "$wxUSE_ODBC" = "yes" ; then
15080 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
15081 fi
15082
15083 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
15084 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
15085 fi
15086
15087 if test "$wxUSE_GUI" = "yes"; then
15088 USE_GUI=1
15089
15090 GUI_TK_LIBRARY=
15091
15092 WXGTK12=
15093 WXGTK127=
15094 WXGTK20=
15095
15096 if test "$wxUSE_MSW" = 1 ; then
15097 TOOLKIT=MSW
15098 GUIDIST=MSW_DIST
15099
15100 case "${host}" in
15101 *-*-mingw32* )
15102 LDFLAGS="$LDFLAGS -Wl,--subsystem,windows -mwindows"
15103 esac
15104 fi
15105
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
15109
15110 gtk_version_cached=1
15111 if test "${wx_cv_lib_gtk+set}" = set; then
15112 echo $ECHO_N "(cached) $ECHO_C" >&6
15113 else
15114
15115 gtk_version_cached=0
15116 echo "$as_me:15116: result: " >&5
15117 echo "${ECHO_T}" >&6
15118
15119 GTK_MODULES=
15120 if test "$wxUSE_THREADS" = "yes"; then
15121 GTK_MODULES=gthread
15122 fi
15123
15124 wx_cv_lib_gtk=
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"
15129
15130 else
15131 enable_gtktest=yes
15132 fi;
15133
15134 pkg_config_args=gtk+-2.0
15135 for module in . $GTK_MODULES
15136 do
15137 case "$module" in
15138 gthread)
15139 pkg_config_args="$pkg_config_args gthread-2.0"
15140 ;;
15141 esac
15142 done
15143
15144 no_gtk=""
15145
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
15152 else
15153 case $PKG_CONFIG in
15154 [\\/]* | ?:[\\/]*)
15155 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
15156 ;;
15157 *)
15158 ac_save_IFS=$IFS; IFS=$ac_path_separator
15159 ac_dummy="$PATH"
15160 for ac_dir in $ac_dummy; do
15161 IFS=$ac_save_IFS
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
15166 break
15167 fi
15168 done
15169
15170 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
15171 ;;
15172 esac
15173 fi
15174 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
15175
15176 if test -n "$PKG_CONFIG"; then
15177 echo "$as_me:15177: result: $PKG_CONFIG" >&5
15178 echo "${ECHO_T}$PKG_CONFIG" >&6
15179 else
15180 echo "$as_me:15180: result: no" >&5
15181 echo "${ECHO_T}no" >&6
15182 fi
15183
15184 if test x$PKG_CONFIG != xno ; then
15185 if pkg-config --atleast-pkgconfig-version 0.7 ; then
15186 :
15187 else
15188 echo *** pkg-config too old; version 0.7 or better required.
15189 no_gtk=yes
15190 PKG_CONFIG=no
15191 fi
15192 else
15193 no_gtk=yes
15194 fi
15195
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
15199
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"
15204 enable_gtktest=no
15205 fi
15206
15207 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
15208 :
15209 else
15210 no_gtk=yes
15211 fi
15212 fi
15213
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"
15228 rm -f conf.gtktest
15229 if test "$cross_compiling" = yes; then
15230 echo $ac_n "cross compiling; assumed OK... $ac_c"
15231 else
15232 cat >conftest.$ac_ext <<_ACEOF
15233 #line 15233 "configure"
15234 #include "confdefs.h"
15235
15236 #include <gtk/gtk.h>
15237 #include <stdio.h>
15238 #include <stdlib.h>
15239
15240 int
15241 main ()
15242 {
15243 int major, minor, micro;
15244 char *tmp_version;
15245
15246 system ("touch conf.gtktest");
15247
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, &micro) != 3) {
15251 printf("%s, bad version string\n", "$min_gtk_version");
15252 exit(1);
15253 }
15254
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))
15258 {
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");
15269 }
15270 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
15271 (gtk_minor_version != GTK_MINOR_VERSION) ||
15272 (gtk_micro_version != GTK_MICRO_VERSION))
15273 {
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);
15278 }
15279 else
15280 {
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)))
15284 {
15285 return 0;
15286 }
15287 else
15288 {
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");
15294 printf("***\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");
15302 }
15303 }
15304 return 1;
15305 }
15306
15307 _ACEOF
15308 rm -f conftest$ac_exeext
15309 if { (eval echo "$as_me:15309: \"$ac_link\"") >&5
15310 (eval $ac_link) 2>&5
15311 ac_status=$?
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
15316 ac_status=$?
15317 echo "$as_me:15317: \$? = $ac_status" >&5
15318 (exit $ac_status); }; }; then
15319 :
15320 else
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
15324 no_gtk=yes
15325 fi
15326 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15327 fi
15328 CFLAGS="$ac_save_CFLAGS"
15329 LIBS="$ac_save_LIBS"
15330 fi
15331 fi
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
15335 wx_cv_lib_gtk=2.0
15336 else
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"
15342 else
15343 if test -f conf.gtktest ; then
15344 :
15345 else
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"
15354
15355 #include <gtk/gtk.h>
15356 #include <stdio.h>
15357
15358 int
15359 main ()
15360 {
15361 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
15362 ;
15363 return 0;
15364 }
15365 _ACEOF
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
15369 ac_status=$?
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
15375 ac_status=$?
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"
15384 echo "***"
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"
15387 else
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."
15392 fi
15393 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15394 CFLAGS="$ac_save_CFLAGS"
15395 LIBS="$ac_save_LIBS"
15396 fi
15397 fi
15398 GTK_CFLAGS=""
15399 GTK_LIBS=""
15400 :
15401 fi
15402
15403 rm -f conf.gtktest
15404
15405 fi
15406
15407 if test -z "$wx_cv_lib_gtk"; then
15408
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"
15413 else
15414 gtk_config_prefix=""
15415 fi;
15416
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"
15421 else
15422 gtk_config_exec_prefix=""
15423 fi;
15424 # Check whether --enable-gtktest or --disable-gtktest was given.
15425 if test "${enable_gtktest+set}" = set; then
15426 enableval="$enable_gtktest"
15427
15428 else
15429 enable_gtktest=yes
15430 fi;
15431
15432 for module in . $GTK_MODULES
15433 do
15434 case "$module" in
15435 gthread)
15436 gtk_config_args="$gtk_config_args gthread"
15437 ;;
15438 esac
15439 done
15440
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
15445 fi
15446 fi
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
15451 fi
15452 fi
15453
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
15460 else
15461 case $GTK_CONFIG in
15462 [\\/]* | ?:[\\/]*)
15463 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
15464 ;;
15465 *)
15466 ac_save_IFS=$IFS; IFS=$ac_path_separator
15467 ac_dummy="$PATH"
15468 for ac_dir in $ac_dummy; do
15469 IFS=$ac_save_IFS
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
15474 break
15475 fi
15476 done
15477
15478 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
15479 ;;
15480 esac
15481 fi
15482 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
15483
15484 if test -n "$GTK_CONFIG"; then
15485 echo "$as_me:15485: result: $GTK_CONFIG" >&5
15486 echo "${ECHO_T}$GTK_CONFIG" >&6
15487 else
15488 echo "$as_me:15488: result: no" >&5
15489 echo "${ECHO_T}no" >&6
15490 fi
15491
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
15495 no_gtk=""
15496 if test "$GTK_CONFIG" = "no" ; then
15497 no_gtk=yes
15498 else
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"
15512 rm -f conf.gtktest
15513 if test "$cross_compiling" = yes; then
15514 echo $ac_n "cross compiling; assumed OK... $ac_c"
15515 else
15516 cat >conftest.$ac_ext <<_ACEOF
15517 #line 15517 "configure"
15518 #include "confdefs.h"
15519
15520 #include <gtk/gtk.h>
15521 #include <stdio.h>
15522 #include <stdlib.h>
15523
15524 int
15525 main ()
15526 {
15527 int major, minor, micro;
15528 char *tmp_version;
15529
15530 system ("touch conf.gtktest");
15531
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, &micro) != 3) {
15535 printf("%s, bad version string\n", "$min_gtk_version");
15536 exit(1);
15537 }
15538
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))
15542 {
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");
15554 }
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))
15559 {
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);
15564 }
15565 #endif /* defined (GTK_MAJOR_VERSION) ... */
15566 else
15567 {
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)))
15571 {
15572 return 0;
15573 }
15574 else
15575 {
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");
15581 printf("***\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");
15589 }
15590 }
15591 return 1;
15592 }
15593
15594 _ACEOF
15595 rm -f conftest$ac_exeext
15596 if { (eval echo "$as_me:15596: \"$ac_link\"") >&5
15597 (eval $ac_link) 2>&5
15598 ac_status=$?
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
15603 ac_status=$?
15604 echo "$as_me:15604: \$? = $ac_status" >&5
15605 (exit $ac_status); }; }; then
15606 :
15607 else
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
15611 no_gtk=yes
15612 fi
15613 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15614 fi
15615 CFLAGS="$ac_save_CFLAGS"
15616 LIBS="$ac_save_LIBS"
15617 fi
15618 fi
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
15623 else
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."
15631 else
15632 if test -f conf.gtktest ; then
15633 :
15634 else
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"
15641
15642 #include <gtk/gtk.h>
15643 #include <stdio.h>
15644
15645 int
15646 main ()
15647 {
15648 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
15649 ;
15650 return 0;
15651 }
15652 _ACEOF
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
15656 ac_status=$?
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
15662 ac_status=$?
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"
15671 echo "***"
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"
15674 echo "***"
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"
15677 echo "***"
15678 echo "*** rpm --erase --nodeps gtk gtk-devel"
15679 else
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"
15686 fi
15687 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15688 CFLAGS="$ac_save_CFLAGS"
15689 LIBS="$ac_save_LIBS"
15690 fi
15691 fi
15692 GTK_CFLAGS=""
15693 GTK_LIBS=""
15694 :
15695 fi
15696
15697 rm -f conf.gtktest
15698
15699 fi
15700
15701 if test -z "$wx_cv_lib_gtk"; then
15702
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"
15707 else
15708 gtk_config_prefix=""
15709 fi;
15710
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"
15715 else
15716 gtk_config_exec_prefix=""
15717 fi;
15718 # Check whether --enable-gtktest or --disable-gtktest was given.
15719 if test "${enable_gtktest+set}" = set; then
15720 enableval="$enable_gtktest"
15721
15722 else
15723 enable_gtktest=yes
15724 fi;
15725
15726 for module in . $GTK_MODULES
15727 do
15728 case "$module" in
15729 gthread)
15730 gtk_config_args="$gtk_config_args gthread"
15731 ;;
15732 esac
15733 done
15734
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
15739 fi
15740 fi
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
15745 fi
15746 fi
15747
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
15754 else
15755 case $GTK_CONFIG in
15756 [\\/]* | ?:[\\/]*)
15757 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
15758 ;;
15759 *)
15760 ac_save_IFS=$IFS; IFS=$ac_path_separator
15761 ac_dummy="$PATH"
15762 for ac_dir in $ac_dummy; do
15763 IFS=$ac_save_IFS
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
15768 break
15769 fi
15770 done
15771
15772 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
15773 ;;
15774 esac
15775 fi
15776 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
15777
15778 if test -n "$GTK_CONFIG"; then
15779 echo "$as_me:15779: result: $GTK_CONFIG" >&5
15780 echo "${ECHO_T}$GTK_CONFIG" >&6
15781 else
15782 echo "$as_me:15782: result: no" >&5
15783 echo "${ECHO_T}no" >&6
15784 fi
15785
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
15789 no_gtk=""
15790 if test "$GTK_CONFIG" = "no" ; then
15791 no_gtk=yes
15792 else
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"
15806 rm -f conf.gtktest
15807 if test "$cross_compiling" = yes; then
15808 echo $ac_n "cross compiling; assumed OK... $ac_c"
15809 else
15810 cat >conftest.$ac_ext <<_ACEOF
15811 #line 15811 "configure"
15812 #include "confdefs.h"
15813
15814 #include <gtk/gtk.h>
15815 #include <stdio.h>
15816 #include <stdlib.h>
15817
15818 int
15819 main ()
15820 {
15821 int major, minor, micro;
15822 char *tmp_version;
15823
15824 system ("touch conf.gtktest");
15825
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, &micro) != 3) {
15829 printf("%s, bad version string\n", "$min_gtk_version");
15830 exit(1);
15831 }
15832
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))
15836 {
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");
15848 }
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))
15853 {
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);
15858 }
15859 #endif /* defined (GTK_MAJOR_VERSION) ... */
15860 else
15861 {
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)))
15865 {
15866 return 0;
15867 }
15868 else
15869 {
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");
15875 printf("***\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");
15883 }
15884 }
15885 return 1;
15886 }
15887
15888 _ACEOF
15889 rm -f conftest$ac_exeext
15890 if { (eval echo "$as_me:15890: \"$ac_link\"") >&5
15891 (eval $ac_link) 2>&5
15892 ac_status=$?
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
15897 ac_status=$?
15898 echo "$as_me:15898: \$? = $ac_status" >&5
15899 (exit $ac_status); }; }; then
15900 :
15901 else
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
15905 no_gtk=yes
15906 fi
15907 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15908 fi
15909 CFLAGS="$ac_save_CFLAGS"
15910 LIBS="$ac_save_LIBS"
15911 fi
15912 fi
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
15917 else
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."
15925 else
15926 if test -f conf.gtktest ; then
15927 :
15928 else
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"
15935
15936 #include <gtk/gtk.h>
15937 #include <stdio.h>
15938
15939 int
15940 main ()
15941 {
15942 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
15943 ;
15944 return 0;
15945 }
15946 _ACEOF
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
15950 ac_status=$?
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
15956 ac_status=$?
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"
15965 echo "***"
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"
15968 echo "***"
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"
15971 echo "***"
15972 echo "*** rpm --erase --nodeps gtk gtk-devel"
15973 else
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"
15980 fi
15981 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15982 CFLAGS="$ac_save_CFLAGS"
15983 LIBS="$ac_save_LIBS"
15984 fi
15985 fi
15986 GTK_CFLAGS=""
15987 GTK_LIBS=""
15988 :
15989 fi
15990
15991 rm -f conf.gtktest
15992
15993 fi
15994
15995 if test -z "$wx_cv_lib_gtk"; then
15996 wx_cv_lib_gtk=none
15997 else
15998 wx_cv_cflags_gtk=$GTK_CFLAGS
15999 wx_cv_libs_gtk=$GTK_LIBS
16000 fi
16001
16002 fi
16003
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
16007 fi
16008
16009 case "$wx_cv_lib_gtk" in
16010 2.0) WXGTK20=1
16011 ;;
16012 1.2.7) WXGTK127=1
16013 WXGTK12=1
16014 ;;
16015 1.2.3) WXGTK12=1
16016 ;;
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.
16022 " >&5
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.
16028 " >&2;}
16029 { (exit 1); exit 1; }; }
16030 ;;
16031 esac
16032
16033 if test "$WXGTK20" = 1; then
16034 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
16035
16036 succeeded=no
16037
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
16045 else
16046 case $PKG_CONFIG in
16047 [\\/]* | ?:[\\/]*)
16048 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
16049 ;;
16050 *)
16051 ac_save_IFS=$IFS; IFS=$ac_path_separator
16052 ac_dummy="$PATH"
16053 for ac_dir in $ac_dummy; do
16054 IFS=$ac_save_IFS
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
16059 break
16060 fi
16061 done
16062
16063 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
16064 ;;
16065 esac
16066 fi
16067 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
16068
16069 if test -n "$PKG_CONFIG"; then
16070 echo "$as_me:16070: result: $PKG_CONFIG" >&5
16071 echo "${ECHO_T}$PKG_CONFIG" >&6
16072 else
16073 echo "$as_me:16073: result: no" >&5
16074 echo "${ECHO_T}no" >&6
16075 fi
16076
16077 fi
16078
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."
16084 else
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
16089
16090 if $PKG_CONFIG --exists "pangoft2" ; then
16091 echo "$as_me:16091: result: yes" >&5
16092 echo "${ECHO_T}yes" >&6
16093 succeeded=yes
16094
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
16100
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
16106 else
16107 PANGOFT2_CFLAGS=""
16108 PANGOFT2_LIBS=""
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"`
16112
16113 fi
16114
16115 else
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"
16118 fi
16119 fi
16120
16121 if test $succeeded = yes; then
16122
16123 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
16124 LIBS="$LIBS $PANGOFT2_LIBS"
16125
16126 else
16127
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"
16131
16132 fi
16133
16134 fi
16135 fi
16136
16137 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
16138 GUI_TK_LIBRARY="$wx_cv_libs_gtk"
16139
16140 AFMINSTALL=afminstall
16141 TOOLKIT=GTK
16142 GUIDIST=GTK_DIST
16143
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
16148 else
16149 ac_check_lib_save_LIBS=$LIBS
16150 LIBS="-lgdk $LIBS"
16151 cat >conftest.$ac_ext <<_ACEOF
16152 #line 16152 "configure"
16153 #include "confdefs.h"
16154
16155 /* Override any gcc2 internal prototype to avoid an error. */
16156 #ifdef __cplusplus
16157 extern "C"
16158 #endif
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 ();
16162 int
16163 main ()
16164 {
16165 gdk_im_open ();
16166 ;
16167 return 0;
16168 }
16169 _ACEOF
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
16173 ac_status=$?
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
16179 ac_status=$?
16180 echo "$as_me:16180: \$? = $ac_status" >&5
16181 (exit $ac_status); }; }; then
16182 ac_cv_lib_gdk_gdk_im_open=yes
16183 else
16184 echo "$as_me: failed program was:" >&5
16185 cat conftest.$ac_ext >&5
16186 ac_cv_lib_gdk_gdk_im_open=no
16187 fi
16188 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16189 LIBS=$ac_check_lib_save_LIBS
16190 fi
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
16195 #define HAVE_XIM 1
16196 EOF
16197
16198 fi
16199
16200 fi
16201
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; }; }
16211 else
16212 echo "$as_me:16212: result: $MGL_ROOT" >&5
16213 echo "${ECHO_T}$MGL_ROOT" >&6
16214 fi
16215
16216 case "${host}" in
16217 *-*-linux* )
16218 mgl_os=linux/gcc/glibc
16219 ;;
16220 *-pc-msdosdjgpp )
16221 mgl_os=dos32/dj2
16222 ;;
16223 *)
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; }; }
16227 esac
16228
16229 mgl_lib_type=""
16230
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
16234 mgl_lib_type=debug
16235 fi
16236 fi
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
16241 else
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; }; }
16245 fi
16246 fi
16247
16248 wxUSE_UNIVERSAL="yes"
16249
16250 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
16251 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
16252
16253 AFMINSTALL=afminstall
16254 TOOLKIT=MGL
16255 GUIDIST=MGL_DIST
16256 fi
16257
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; }; }
16267 else
16268 echo "$as_me:16268: result: $MICROWINDOWS" >&5
16269 echo "${ECHO_T}$MICROWINDOWS" >&6
16270 fi
16271
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
16275 else
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; }; }
16279 fi
16280
16281 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
16282 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
16283
16284 wxUSE_UNIVERSAL="yes"
16285
16286 AFMINSTALL=afminstall
16287 TOOLKIT=MICROWIN
16288 GUIDIST=MICROWIN_DIST
16289
16290 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
16291 fi
16292
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
16296
16297 # Check whether --with-x or --without-x was given.
16298 if test "${with_x+set}" = set; then
16299 withval="$with_x"
16300
16301 fi;
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.
16305 have_x=disabled
16306 else
16307 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
16308 # Both variables are already set.
16309 have_x=yes
16310 else
16311 if test "${ac_cv_have_x+set}" = set; then
16312 echo $ECHO_N "(cached) $ECHO_C" >&6
16313 else
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
16318 cd conftest.dir
16319 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
16320 cat >Imakefile <<'EOF'
16321 acfindx:
16322 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
16323 EOF
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
16332 fi
16333 done
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
16338 /usr/include) ;;
16339 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
16340 esac
16341 case $ac_im_usrlibdir in
16342 /usr/lib | /lib) ;;
16343 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
16344 esac
16345 fi
16346 cd ..
16347 rm -fr conftest.dir
16348 fi
16349
16350 # Standard set of common directories for X headers.
16351 # Check X11 before X11Rn because it is often a symlink to the current release.
16352 ac_x_header_dirs='
16353 /usr/X11/include
16354 /usr/X11R6/include
16355 /usr/X11R5/include
16356 /usr/X11R4/include
16357
16358 /usr/include/X11
16359 /usr/include/X11R6
16360 /usr/include/X11R5
16361 /usr/include/X11R4
16362
16363 /usr/local/X11/include
16364 /usr/local/X11R6/include
16365 /usr/local/X11R5/include
16366 /usr/local/X11R4/include
16367
16368 /usr/local/include/X11
16369 /usr/local/include/X11R6
16370 /usr/local/include/X11R5
16371 /usr/local/include/X11R4
16372
16373 /usr/X386/include
16374 /usr/x386/include
16375 /usr/XFree86/include/X11
16376
16377 /usr/include
16378 /usr/local/include
16379 /usr/unsupported/include
16380 /usr/athena/include
16381 /usr/local/x11r5/include
16382 /usr/lpp/Xamples/include
16383
16384 /usr/openwin/include
16385 /usr/openwin/share/include'
16386
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>
16394 _ACEOF
16395 if { (eval echo "$as_me:16395: \"$ac_cpp conftest.$ac_ext\"") >&5
16396 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16397 ac_status=$?
16398 egrep -v '^ *\+' conftest.er1 >conftest.err
16399 rm -f conftest.er1
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
16405 else
16406 ac_cpp_err=
16407 fi
16408 else
16409 ac_cpp_err=yes
16410 fi
16411 if test -z "$ac_cpp_err"; then
16412 # We can compile using X headers with no special include directory.
16413 ac_x_includes=
16414 else
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
16420 break
16421 fi
16422 done
16423 fi
16424 rm -f conftest.err conftest.$ac_ext
16425 fi # $ac_x_includes = no
16426
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.
16431 ac_save_LIBS=$LIBS
16432 LIBS="-lXt $LIBS"
16433 cat >conftest.$ac_ext <<_ACEOF
16434 #line 16434 "configure"
16435 #include "confdefs.h"
16436 #include <X11/Intrinsic.h>
16437 int
16438 main ()
16439 {
16440 XtMalloc (0)
16441 ;
16442 return 0;
16443 }
16444 _ACEOF
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
16448 ac_status=$?
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
16454 ac_status=$?
16455 echo "$as_me:16455: \$? = $ac_status" >&5
16456 (exit $ac_status); }; }; then
16457 LIBS=$ac_save_LIBS
16458 # We can link X programs with no special library path.
16459 ac_x_libraries=
16460 else
16461 echo "$as_me: failed program was:" >&5
16462 cat conftest.$ac_ext >&5
16463 LIBS=$ac_save_LIBS
16464 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
16465 do
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
16470 break 2
16471 fi
16472 done
16473 done
16474 fi
16475 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16476 fi # $ac_x_libraries = no
16477
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"
16481 else
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"
16485 fi
16486 fi
16487
16488 fi
16489 eval "$ac_cv_have_x"
16490 fi # $with_x != no
16491
16492 if test "$have_x" != yes; then
16493 echo "$as_me:16493: result: $have_x" >&5
16494 echo "${ECHO_T}$have_x" >&6
16495 no_x=yes
16496 else
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
16505 fi
16506
16507 if test "$no_x" = yes; then
16508 # Not all programs may use this symbol, but it does not hurt to define it.
16509
16510 cat >>confdefs.h <<\EOF
16511 #define X_DISPLAY_MISSING 1
16512 EOF
16513
16514 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
16515 else
16516 if test -n "$x_includes"; then
16517 X_CFLAGS="$X_CFLAGS -I$x_includes"
16518 fi
16519
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
16526 "SunOS 5"*)
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"
16533
16534 int
16535 main ()
16536 {
16537
16538 ;
16539 return 0;
16540 }
16541 _ACEOF
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
16545 ac_status=$?
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
16551 ac_status=$?
16552 echo "$as_me:16552: \$? = $ac_status" >&5
16553 (exit $ac_status); }; }; then
16554 ac_R_nospace=yes
16555 else
16556 echo "$as_me: failed program was:" >&5
16557 cat conftest.$ac_ext >&5
16558 ac_R_nospace=no
16559 fi
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"
16565 else
16566 LIBS="$ac_xsave_LIBS -R $x_libraries"
16567 cat >conftest.$ac_ext <<_ACEOF
16568 #line 16568 "configure"
16569 #include "confdefs.h"
16570
16571 int
16572 main ()
16573 {
16574
16575 ;
16576 return 0;
16577 }
16578 _ACEOF
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
16582 ac_status=$?
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
16588 ac_status=$?
16589 echo "$as_me:16589: \$? = $ac_status" >&5
16590 (exit $ac_status); }; }; then
16591 ac_R_space=yes
16592 else
16593 echo "$as_me: failed program was:" >&5
16594 cat conftest.$ac_ext >&5
16595 ac_R_space=no
16596 fi
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"
16602 else
16603 echo "$as_me:16603: result: neither works" >&5
16604 echo "${ECHO_T}neither works" >&6
16605 fi
16606 fi
16607 LIBS=$ac_xsave_LIBS
16608 esac
16609 fi
16610
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.
16614
16615 if test "$ISC" = yes; then
16616 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
16617 else
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"
16625
16626 /* Override any gcc2 internal prototype to avoid an error. */
16627 #ifdef __cplusplus
16628 extern "C"
16629 #endif
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 ();
16633 int
16634 main ()
16635 {
16636 XOpenDisplay ();
16637 ;
16638 return 0;
16639 }
16640 _ACEOF
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
16644 ac_status=$?
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
16650 ac_status=$?
16651 echo "$as_me:16651: \$? = $ac_status" >&5
16652 (exit $ac_status); }; }; then
16653 :
16654 else
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
16661 else
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"
16667
16668 /* Override any gcc2 internal prototype to avoid an error. */
16669 #ifdef __cplusplus
16670 extern "C"
16671 #endif
16672 /* We use char because int might match the return type of a gcc2
16673 builtin and then its argument prototype would still apply. */
16674 char dnet_ntoa ();
16675 int
16676 main ()
16677 {
16678 dnet_ntoa ();
16679 ;
16680 return 0;
16681 }
16682 _ACEOF
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
16686 ac_status=$?
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
16692 ac_status=$?
16693 echo "$as_me:16693: \$? = $ac_status" >&5
16694 (exit $ac_status); }; }; then
16695 ac_cv_lib_dnet_dnet_ntoa=yes
16696 else
16697 echo "$as_me: failed program was:" >&5
16698 cat conftest.$ac_ext >&5
16699 ac_cv_lib_dnet_dnet_ntoa=no
16700 fi
16701 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16702 LIBS=$ac_check_lib_save_LIBS
16703 fi
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"
16708 fi
16709
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
16715 else
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"
16721
16722 /* Override any gcc2 internal prototype to avoid an error. */
16723 #ifdef __cplusplus
16724 extern "C"
16725 #endif
16726 /* We use char because int might match the return type of a gcc2
16727 builtin and then its argument prototype would still apply. */
16728 char dnet_ntoa ();
16729 int
16730 main ()
16731 {
16732 dnet_ntoa ();
16733 ;
16734 return 0;
16735 }
16736 _ACEOF
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
16740 ac_status=$?
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
16746 ac_status=$?
16747 echo "$as_me:16747: \$? = $ac_status" >&5
16748 (exit $ac_status); }; }; then
16749 ac_cv_lib_dnet_stub_dnet_ntoa=yes
16750 else
16751 echo "$as_me: failed program was:" >&5
16752 cat conftest.$ac_ext >&5
16753 ac_cv_lib_dnet_stub_dnet_ntoa=no
16754 fi
16755 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16756 LIBS=$ac_check_lib_save_LIBS
16757 fi
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"
16762 fi
16763
16764 fi
16765 fi
16766 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16767 LIBS="$ac_xsave_LIBS"
16768
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)
16772 # needs -lnsl.
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
16781 else
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. */
16789 #ifdef __cplusplus
16790 extern "C"
16791 #endif
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 ();
16795 char (*f) ();
16796
16797 int
16798 main ()
16799 {
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)
16804 choke me
16805 #else
16806 f = gethostbyname;
16807 #endif
16808
16809 ;
16810 return 0;
16811 }
16812 _ACEOF
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
16816 ac_status=$?
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
16822 ac_status=$?
16823 echo "$as_me:16823: \$? = $ac_status" >&5
16824 (exit $ac_status); }; }; then
16825 ac_cv_func_gethostbyname=yes
16826 else
16827 echo "$as_me: failed program was:" >&5
16828 cat conftest.$ac_ext >&5
16829 ac_cv_func_gethostbyname=no
16830 fi
16831 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16832 fi
16833 echo "$as_me:16833: result: $ac_cv_func_gethostbyname" >&5
16834 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
16835
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
16841 else
16842 ac_check_lib_save_LIBS=$LIBS
16843 LIBS="-lnsl $LIBS"
16844 cat >conftest.$ac_ext <<_ACEOF
16845 #line 16845 "configure"
16846 #include "confdefs.h"
16847
16848 /* Override any gcc2 internal prototype to avoid an error. */
16849 #ifdef __cplusplus
16850 extern "C"
16851 #endif
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 ();
16855 int
16856 main ()
16857 {
16858 gethostbyname ();
16859 ;
16860 return 0;
16861 }
16862 _ACEOF
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
16866 ac_status=$?
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
16872 ac_status=$?
16873 echo "$as_me:16873: \$? = $ac_status" >&5
16874 (exit $ac_status); }; }; then
16875 ac_cv_lib_nsl_gethostbyname=yes
16876 else
16877 echo "$as_me: failed program was:" >&5
16878 cat conftest.$ac_ext >&5
16879 ac_cv_lib_nsl_gethostbyname=no
16880 fi
16881 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16882 LIBS=$ac_check_lib_save_LIBS
16883 fi
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"
16888 fi
16889
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
16895 else
16896 ac_check_lib_save_LIBS=$LIBS
16897 LIBS="-lbsd $LIBS"
16898 cat >conftest.$ac_ext <<_ACEOF
16899 #line 16899 "configure"
16900 #include "confdefs.h"
16901
16902 /* Override any gcc2 internal prototype to avoid an error. */
16903 #ifdef __cplusplus
16904 extern "C"
16905 #endif
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 ();
16909 int
16910 main ()
16911 {
16912 gethostbyname ();
16913 ;
16914 return 0;
16915 }
16916 _ACEOF
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
16920 ac_status=$?
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
16926 ac_status=$?
16927 echo "$as_me:16927: \$? = $ac_status" >&5
16928 (exit $ac_status); }; }; then
16929 ac_cv_lib_bsd_gethostbyname=yes
16930 else
16931 echo "$as_me: failed program was:" >&5
16932 cat conftest.$ac_ext >&5
16933 ac_cv_lib_bsd_gethostbyname=no
16934 fi
16935 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16936 LIBS=$ac_check_lib_save_LIBS
16937 fi
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"
16942 fi
16943
16944 fi
16945 fi
16946
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
16958 else
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. */
16966 #ifdef __cplusplus
16967 extern "C"
16968 #endif
16969 /* We use char because int might match the return type of a gcc2
16970 builtin and then its argument prototype would still apply. */
16971 char connect ();
16972 char (*f) ();
16973
16974 int
16975 main ()
16976 {
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)
16981 choke me
16982 #else
16983 f = connect;
16984 #endif
16985
16986 ;
16987 return 0;
16988 }
16989 _ACEOF
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
16993 ac_status=$?
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
16999 ac_status=$?
17000 echo "$as_me:17000: \$? = $ac_status" >&5
17001 (exit $ac_status); }; }; then
17002 ac_cv_func_connect=yes
17003 else
17004 echo "$as_me: failed program was:" >&5
17005 cat conftest.$ac_ext >&5
17006 ac_cv_func_connect=no
17007 fi
17008 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17009 fi
17010 echo "$as_me:17010: result: $ac_cv_func_connect" >&5
17011 echo "${ECHO_T}$ac_cv_func_connect" >&6
17012
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
17018 else
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"
17024
17025 /* Override any gcc2 internal prototype to avoid an error. */
17026 #ifdef __cplusplus
17027 extern "C"
17028 #endif
17029 /* We use char because int might match the return type of a gcc2
17030 builtin and then its argument prototype would still apply. */
17031 char connect ();
17032 int
17033 main ()
17034 {
17035 connect ();
17036 ;
17037 return 0;
17038 }
17039 _ACEOF
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
17043 ac_status=$?
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
17049 ac_status=$?
17050 echo "$as_me:17050: \$? = $ac_status" >&5
17051 (exit $ac_status); }; }; then
17052 ac_cv_lib_socket_connect=yes
17053 else
17054 echo "$as_me: failed program was:" >&5
17055 cat conftest.$ac_ext >&5
17056 ac_cv_lib_socket_connect=no
17057 fi
17058 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17059 LIBS=$ac_check_lib_save_LIBS
17060 fi
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"
17065 fi
17066
17067 fi
17068
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
17074 else
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. */
17082 #ifdef __cplusplus
17083 extern "C"
17084 #endif
17085 /* We use char because int might match the return type of a gcc2
17086 builtin and then its argument prototype would still apply. */
17087 char remove ();
17088 char (*f) ();
17089
17090 int
17091 main ()
17092 {
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)
17097 choke me
17098 #else
17099 f = remove;
17100 #endif
17101
17102 ;
17103 return 0;
17104 }
17105 _ACEOF
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
17109 ac_status=$?
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
17115 ac_status=$?
17116 echo "$as_me:17116: \$? = $ac_status" >&5
17117 (exit $ac_status); }; }; then
17118 ac_cv_func_remove=yes
17119 else
17120 echo "$as_me: failed program was:" >&5
17121 cat conftest.$ac_ext >&5
17122 ac_cv_func_remove=no
17123 fi
17124 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17125 fi
17126 echo "$as_me:17126: result: $ac_cv_func_remove" >&5
17127 echo "${ECHO_T}$ac_cv_func_remove" >&6
17128
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
17134 else
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"
17140
17141 /* Override any gcc2 internal prototype to avoid an error. */
17142 #ifdef __cplusplus
17143 extern "C"
17144 #endif
17145 /* We use char because int might match the return type of a gcc2
17146 builtin and then its argument prototype would still apply. */
17147 char remove ();
17148 int
17149 main ()
17150 {
17151 remove ();
17152 ;
17153 return 0;
17154 }
17155 _ACEOF
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
17159 ac_status=$?
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
17165 ac_status=$?
17166 echo "$as_me:17166: \$? = $ac_status" >&5
17167 (exit $ac_status); }; }; then
17168 ac_cv_lib_posix_remove=yes
17169 else
17170 echo "$as_me: failed program was:" >&5
17171 cat conftest.$ac_ext >&5
17172 ac_cv_lib_posix_remove=no
17173 fi
17174 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17175 LIBS=$ac_check_lib_save_LIBS
17176 fi
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"
17181 fi
17182
17183 fi
17184
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
17190 else
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. */
17198 #ifdef __cplusplus
17199 extern "C"
17200 #endif
17201 /* We use char because int might match the return type of a gcc2
17202 builtin and then its argument prototype would still apply. */
17203 char shmat ();
17204 char (*f) ();
17205
17206 int
17207 main ()
17208 {
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)
17213 choke me
17214 #else
17215 f = shmat;
17216 #endif
17217
17218 ;
17219 return 0;
17220 }
17221 _ACEOF
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
17225 ac_status=$?
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
17231 ac_status=$?
17232 echo "$as_me:17232: \$? = $ac_status" >&5
17233 (exit $ac_status); }; }; then
17234 ac_cv_func_shmat=yes
17235 else
17236 echo "$as_me: failed program was:" >&5
17237 cat conftest.$ac_ext >&5
17238 ac_cv_func_shmat=no
17239 fi
17240 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17241 fi
17242 echo "$as_me:17242: result: $ac_cv_func_shmat" >&5
17243 echo "${ECHO_T}$ac_cv_func_shmat" >&6
17244
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
17250 else
17251 ac_check_lib_save_LIBS=$LIBS
17252 LIBS="-lipc $LIBS"
17253 cat >conftest.$ac_ext <<_ACEOF
17254 #line 17254 "configure"
17255 #include "confdefs.h"
17256
17257 /* Override any gcc2 internal prototype to avoid an error. */
17258 #ifdef __cplusplus
17259 extern "C"
17260 #endif
17261 /* We use char because int might match the return type of a gcc2
17262 builtin and then its argument prototype would still apply. */
17263 char shmat ();
17264 int
17265 main ()
17266 {
17267 shmat ();
17268 ;
17269 return 0;
17270 }
17271 _ACEOF
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
17275 ac_status=$?
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
17281 ac_status=$?
17282 echo "$as_me:17282: \$? = $ac_status" >&5
17283 (exit $ac_status); }; }; then
17284 ac_cv_lib_ipc_shmat=yes
17285 else
17286 echo "$as_me: failed program was:" >&5
17287 cat conftest.$ac_ext >&5
17288 ac_cv_lib_ipc_shmat=no
17289 fi
17290 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17291 LIBS=$ac_check_lib_save_LIBS
17292 fi
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"
17297 fi
17298
17299 fi
17300 fi
17301
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
17315 else
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"
17321
17322 /* Override any gcc2 internal prototype to avoid an error. */
17323 #ifdef __cplusplus
17324 extern "C"
17325 #endif
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 ();
17329 int
17330 main ()
17331 {
17332 IceConnectionNumber ();
17333 ;
17334 return 0;
17335 }
17336 _ACEOF
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
17340 ac_status=$?
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
17346 ac_status=$?
17347 echo "$as_me:17347: \$? = $ac_status" >&5
17348 (exit $ac_status); }; }; then
17349 ac_cv_lib_ICE_IceConnectionNumber=yes
17350 else
17351 echo "$as_me: failed program was:" >&5
17352 cat conftest.$ac_ext >&5
17353 ac_cv_lib_ICE_IceConnectionNumber=no
17354 fi
17355 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17356 LIBS=$ac_check_lib_save_LIBS
17357 fi
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"
17362 fi
17363
17364 LDFLAGS=$ac_save_LDFLAGS
17365
17366 fi
17367
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; }; }
17372 fi
17373
17374 GUI_TK_LIBRARY="$X_LIBS"
17375 TOOLKIT_INCLUDE="$X_CFLAGS"
17376 AFMINSTALL=afminstall
17377 COMPILED_X_PROGRAM=0
17378
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; }; }
17388 else
17389 echo "$as_me:17389: result: $MICROWIN" >&5
17390 echo "${ECHO_T}$MICROWIN" >&6
17391 cat >>confdefs.h <<\EOF
17392 #define wxUSE_NANOX 1
17393 EOF
17394
17395 fi
17396 fi
17397
17398 xpm_link=
17399 echo "$as_me:17399: checking for Xpm library" >&5
17400 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
17401
17402 ac_find_libraries=
17403 for ac_dir in $SEARCH_LIB;
17404 do
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
17408 break 2
17409 fi
17410 done
17411 done
17412
17413 if test "$ac_find_libraries" != "" ; then
17414
17415 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
17416 result=$?
17417 if test $result = 0; then
17418 ac_path_to_link=""
17419 else
17420 ac_path_to_link=" -L$ac_find_libraries"
17421 fi
17422
17423 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
17424 xpm_link=" -lXpm"
17425 cat >>confdefs.h <<\EOF
17426 #define wxHAVE_LIB_XPM 1
17427 EOF
17428
17429 echo "$as_me:17429: result: found at $ac_find_libraries" >&5
17430 echo "${ECHO_T}found at $ac_find_libraries" >&6
17431 else
17432 cat >conftest.$ac_ext <<_ACEOF
17433 #line 17433 "configure"
17434 #include "confdefs.h"
17435
17436 #include <X11/xpm.h>
17437
17438 int
17439 main ()
17440 {
17441
17442 int version;
17443 version = XpmLibraryVersion();
17444
17445 ;
17446 return 0;
17447 }
17448 _ACEOF
17449 rm -f conftest.$ac_objext
17450 if { (eval echo "$as_me:17450: \"$ac_compile\"") >&5
17451 (eval $ac_compile) 2>&5
17452 ac_status=$?
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
17458 ac_status=$?
17459 echo "$as_me:17459: \$? = $ac_status" >&5
17460 (exit $ac_status); }; }; then
17461
17462 xpm_link=" -lXpm"
17463 cat >>confdefs.h <<\EOF
17464 #define wxHAVE_LIB_XPM 1
17465 EOF
17466
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
17470
17471 else
17472 echo "$as_me: failed program was:" >&5
17473 cat conftest.$ac_ext >&5
17474
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;}
17479
17480 fi
17481 rm -f conftest.$ac_objext conftest.$ac_ext
17482 fi
17483
17484 wxUSE_UNIVERSAL="yes"
17485
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"
17490 else
17491 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11$xpm_link"
17492 fi
17493
17494 TOOLKIT_VPATH="\${top_srcdir}/src/x11"
17495 TOOLKIT=X11
17496 GUIDIST=X11_DIST
17497 fi
17498
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
17504 else
17505 cat >conftest.$ac_ext <<_ACEOF
17506 #line 17506 "configure"
17507 #include "confdefs.h"
17508 #include <windows.h>
17509 _ACEOF
17510 if { (eval echo "$as_me:17510: \"$ac_cpp conftest.$ac_ext\"") >&5
17511 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17512 ac_status=$?
17513 egrep -v '^ *\+' conftest.er1 >conftest.err
17514 rm -f conftest.er1
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
17520 else
17521 ac_cpp_err=
17522 fi
17523 else
17524 ac_cpp_err=yes
17525 fi
17526 if test -z "$ac_cpp_err"; then
17527 ac_cv_header_windows_h=yes
17528 else
17529 echo "$as_me: failed program was:" >&5
17530 cat conftest.$ac_ext >&5
17531 ac_cv_header_windows_h=no
17532 fi
17533 rm -f conftest.err conftest.$ac_ext
17534 fi
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
17538 :
17539 else
17540
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; }; }
17544
17545 fi
17546
17547 xpm_link=
17548 echo "$as_me:17548: checking for Xpm library" >&5
17549 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
17550
17551 ac_find_libraries=
17552 for ac_dir in $SEARCH_LIB;
17553 do
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
17557 break 2
17558 fi
17559 done
17560 done
17561
17562 if test "$ac_find_libraries" != "" ; then
17563 GUI_TK_LIBRARY="-L$ac_find_libraries"
17564 xpm_link=" -lXpm"
17565 cat >>confdefs.h <<\EOF
17566 #define wxHAVE_LIB_XPM 1
17567 EOF
17568
17569 echo "$as_me:17569: result: found at $ac_find_libraries" >&5
17570 echo "${ECHO_T}found at $ac_find_libraries" >&6
17571 else
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;}
17576 fi
17577
17578 mesa_link=
17579 echo "$as_me:17579: checking for Mesa library" >&5
17580 echo $ECHO_N "checking for Mesa library... $ECHO_C" >&6
17581
17582 ac_find_libraries=
17583 for ac_dir in $SEARCH_LIB;
17584 do
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
17588 break 2
17589 fi
17590 done
17591 done
17592
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
17598 else
17599 { { echo "$as_me:17599: error: no" >&5
17600 echo "$as_me: error: no" >&2;}
17601 { (exit 1); exit 1; }; }
17602 fi
17603
17604 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lwine$mesa_link$xpm_link -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
17605 TOOLKIT=MSW
17606 GUIDIST=MSW_DIST
17607 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXWINE__"
17608 fi
17609
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.
17613
17614 cat >>confdefs.h <<\EOF
17615 #define X_DISPLAY_MISSING 1
17616 EOF
17617
17618 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
17619 else
17620 if test -n "$x_includes"; then
17621 X_CFLAGS="$X_CFLAGS -I$x_includes"
17622 fi
17623
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
17630 "SunOS 5"*)
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"
17637
17638 int
17639 main ()
17640 {
17641
17642 ;
17643 return 0;
17644 }
17645 _ACEOF
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
17649 ac_status=$?
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
17655 ac_status=$?
17656 echo "$as_me:17656: \$? = $ac_status" >&5
17657 (exit $ac_status); }; }; then
17658 ac_R_nospace=yes
17659 else
17660 echo "$as_me: failed program was:" >&5
17661 cat conftest.$ac_ext >&5
17662 ac_R_nospace=no
17663 fi
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"
17669 else
17670 LIBS="$ac_xsave_LIBS -R $x_libraries"
17671 cat >conftest.$ac_ext <<_ACEOF
17672 #line 17672 "configure"
17673 #include "confdefs.h"
17674
17675 int
17676 main ()
17677 {
17678
17679 ;
17680 return 0;
17681 }
17682 _ACEOF
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
17686 ac_status=$?
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
17692 ac_status=$?
17693 echo "$as_me:17693: \$? = $ac_status" >&5
17694 (exit $ac_status); }; }; then
17695 ac_R_space=yes
17696 else
17697 echo "$as_me: failed program was:" >&5
17698 cat conftest.$ac_ext >&5
17699 ac_R_space=no
17700 fi
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"
17706 else
17707 echo "$as_me:17707: result: neither works" >&5
17708 echo "${ECHO_T}neither works" >&6
17709 fi
17710 fi
17711 LIBS=$ac_xsave_LIBS
17712 esac
17713 fi
17714
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.
17718
17719 if test "$ISC" = yes; then
17720 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
17721 else
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"
17729
17730 /* Override any gcc2 internal prototype to avoid an error. */
17731 #ifdef __cplusplus
17732 extern "C"
17733 #endif
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 ();
17737 int
17738 main ()
17739 {
17740 XOpenDisplay ();
17741 ;
17742 return 0;
17743 }
17744 _ACEOF
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
17748 ac_status=$?
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
17754 ac_status=$?
17755 echo "$as_me:17755: \$? = $ac_status" >&5
17756 (exit $ac_status); }; }; then
17757 :
17758 else
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
17765 else
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"
17771
17772 /* Override any gcc2 internal prototype to avoid an error. */
17773 #ifdef __cplusplus
17774 extern "C"
17775 #endif
17776 /* We use char because int might match the return type of a gcc2
17777 builtin and then its argument prototype would still apply. */
17778 char dnet_ntoa ();
17779 int
17780 main ()
17781 {
17782 dnet_ntoa ();
17783 ;
17784 return 0;
17785 }
17786 _ACEOF
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
17790 ac_status=$?
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
17796 ac_status=$?
17797 echo "$as_me:17797: \$? = $ac_status" >&5
17798 (exit $ac_status); }; }; then
17799 ac_cv_lib_dnet_dnet_ntoa=yes
17800 else
17801 echo "$as_me: failed program was:" >&5
17802 cat conftest.$ac_ext >&5
17803 ac_cv_lib_dnet_dnet_ntoa=no
17804 fi
17805 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17806 LIBS=$ac_check_lib_save_LIBS
17807 fi
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"
17812 fi
17813
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
17819 else
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"
17825
17826 /* Override any gcc2 internal prototype to avoid an error. */
17827 #ifdef __cplusplus
17828 extern "C"
17829 #endif
17830 /* We use char because int might match the return type of a gcc2
17831 builtin and then its argument prototype would still apply. */
17832 char dnet_ntoa ();
17833 int
17834 main ()
17835 {
17836 dnet_ntoa ();
17837 ;
17838 return 0;
17839 }
17840 _ACEOF
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
17844 ac_status=$?
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
17850 ac_status=$?
17851 echo "$as_me:17851: \$? = $ac_status" >&5
17852 (exit $ac_status); }; }; then
17853 ac_cv_lib_dnet_stub_dnet_ntoa=yes
17854 else
17855 echo "$as_me: failed program was:" >&5
17856 cat conftest.$ac_ext >&5
17857 ac_cv_lib_dnet_stub_dnet_ntoa=no
17858 fi
17859 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17860 LIBS=$ac_check_lib_save_LIBS
17861 fi
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"
17866 fi
17867
17868 fi
17869 fi
17870 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17871 LIBS="$ac_xsave_LIBS"
17872
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)
17876 # needs -lnsl.
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
17885 else
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. */
17893 #ifdef __cplusplus
17894 extern "C"
17895 #endif
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 ();
17899 char (*f) ();
17900
17901 int
17902 main ()
17903 {
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)
17908 choke me
17909 #else
17910 f = gethostbyname;
17911 #endif
17912
17913 ;
17914 return 0;
17915 }
17916 _ACEOF
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
17920 ac_status=$?
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
17926 ac_status=$?
17927 echo "$as_me:17927: \$? = $ac_status" >&5
17928 (exit $ac_status); }; }; then
17929 ac_cv_func_gethostbyname=yes
17930 else
17931 echo "$as_me: failed program was:" >&5
17932 cat conftest.$ac_ext >&5
17933 ac_cv_func_gethostbyname=no
17934 fi
17935 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17936 fi
17937 echo "$as_me:17937: result: $ac_cv_func_gethostbyname" >&5
17938 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
17939
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
17945 else
17946 ac_check_lib_save_LIBS=$LIBS
17947 LIBS="-lnsl $LIBS"
17948 cat >conftest.$ac_ext <<_ACEOF
17949 #line 17949 "configure"
17950 #include "confdefs.h"
17951
17952 /* Override any gcc2 internal prototype to avoid an error. */
17953 #ifdef __cplusplus
17954 extern "C"
17955 #endif
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 ();
17959 int
17960 main ()
17961 {
17962 gethostbyname ();
17963 ;
17964 return 0;
17965 }
17966 _ACEOF
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
17970 ac_status=$?
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
17976 ac_status=$?
17977 echo "$as_me:17977: \$? = $ac_status" >&5
17978 (exit $ac_status); }; }; then
17979 ac_cv_lib_nsl_gethostbyname=yes
17980 else
17981 echo "$as_me: failed program was:" >&5
17982 cat conftest.$ac_ext >&5
17983 ac_cv_lib_nsl_gethostbyname=no
17984 fi
17985 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17986 LIBS=$ac_check_lib_save_LIBS
17987 fi
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"
17992 fi
17993
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
17999 else
18000 ac_check_lib_save_LIBS=$LIBS
18001 LIBS="-lbsd $LIBS"
18002 cat >conftest.$ac_ext <<_ACEOF
18003 #line 18003 "configure"
18004 #include "confdefs.h"
18005
18006 /* Override any gcc2 internal prototype to avoid an error. */
18007 #ifdef __cplusplus
18008 extern "C"
18009 #endif
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 ();
18013 int
18014 main ()
18015 {
18016 gethostbyname ();
18017 ;
18018 return 0;
18019 }
18020 _ACEOF
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
18024 ac_status=$?
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
18030 ac_status=$?
18031 echo "$as_me:18031: \$? = $ac_status" >&5
18032 (exit $ac_status); }; }; then
18033 ac_cv_lib_bsd_gethostbyname=yes
18034 else
18035 echo "$as_me: failed program was:" >&5
18036 cat conftest.$ac_ext >&5
18037 ac_cv_lib_bsd_gethostbyname=no
18038 fi
18039 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18040 LIBS=$ac_check_lib_save_LIBS
18041 fi
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"
18046 fi
18047
18048 fi
18049 fi
18050
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
18062 else
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. */
18070 #ifdef __cplusplus
18071 extern "C"
18072 #endif
18073 /* We use char because int might match the return type of a gcc2
18074 builtin and then its argument prototype would still apply. */
18075 char connect ();
18076 char (*f) ();
18077
18078 int
18079 main ()
18080 {
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)
18085 choke me
18086 #else
18087 f = connect;
18088 #endif
18089
18090 ;
18091 return 0;
18092 }
18093 _ACEOF
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
18097 ac_status=$?
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
18103 ac_status=$?
18104 echo "$as_me:18104: \$? = $ac_status" >&5
18105 (exit $ac_status); }; }; then
18106 ac_cv_func_connect=yes
18107 else
18108 echo "$as_me: failed program was:" >&5
18109 cat conftest.$ac_ext >&5
18110 ac_cv_func_connect=no
18111 fi
18112 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18113 fi
18114 echo "$as_me:18114: result: $ac_cv_func_connect" >&5
18115 echo "${ECHO_T}$ac_cv_func_connect" >&6
18116
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
18122 else
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"
18128
18129 /* Override any gcc2 internal prototype to avoid an error. */
18130 #ifdef __cplusplus
18131 extern "C"
18132 #endif
18133 /* We use char because int might match the return type of a gcc2
18134 builtin and then its argument prototype would still apply. */
18135 char connect ();
18136 int
18137 main ()
18138 {
18139 connect ();
18140 ;
18141 return 0;
18142 }
18143 _ACEOF
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
18147 ac_status=$?
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
18153 ac_status=$?
18154 echo "$as_me:18154: \$? = $ac_status" >&5
18155 (exit $ac_status); }; }; then
18156 ac_cv_lib_socket_connect=yes
18157 else
18158 echo "$as_me: failed program was:" >&5
18159 cat conftest.$ac_ext >&5
18160 ac_cv_lib_socket_connect=no
18161 fi
18162 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18163 LIBS=$ac_check_lib_save_LIBS
18164 fi
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"
18169 fi
18170
18171 fi
18172
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
18178 else
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. */
18186 #ifdef __cplusplus
18187 extern "C"
18188 #endif
18189 /* We use char because int might match the return type of a gcc2
18190 builtin and then its argument prototype would still apply. */
18191 char remove ();
18192 char (*f) ();
18193
18194 int
18195 main ()
18196 {
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)
18201 choke me
18202 #else
18203 f = remove;
18204 #endif
18205
18206 ;
18207 return 0;
18208 }
18209 _ACEOF
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
18213 ac_status=$?
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
18219 ac_status=$?
18220 echo "$as_me:18220: \$? = $ac_status" >&5
18221 (exit $ac_status); }; }; then
18222 ac_cv_func_remove=yes
18223 else
18224 echo "$as_me: failed program was:" >&5
18225 cat conftest.$ac_ext >&5
18226 ac_cv_func_remove=no
18227 fi
18228 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18229 fi
18230 echo "$as_me:18230: result: $ac_cv_func_remove" >&5
18231 echo "${ECHO_T}$ac_cv_func_remove" >&6
18232
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
18238 else
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"
18244
18245 /* Override any gcc2 internal prototype to avoid an error. */
18246 #ifdef __cplusplus
18247 extern "C"
18248 #endif
18249 /* We use char because int might match the return type of a gcc2
18250 builtin and then its argument prototype would still apply. */
18251 char remove ();
18252 int
18253 main ()
18254 {
18255 remove ();
18256 ;
18257 return 0;
18258 }
18259 _ACEOF
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
18263 ac_status=$?
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
18269 ac_status=$?
18270 echo "$as_me:18270: \$? = $ac_status" >&5
18271 (exit $ac_status); }; }; then
18272 ac_cv_lib_posix_remove=yes
18273 else
18274 echo "$as_me: failed program was:" >&5
18275 cat conftest.$ac_ext >&5
18276 ac_cv_lib_posix_remove=no
18277 fi
18278 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18279 LIBS=$ac_check_lib_save_LIBS
18280 fi
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"
18285 fi
18286
18287 fi
18288
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
18294 else
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. */
18302 #ifdef __cplusplus
18303 extern "C"
18304 #endif
18305 /* We use char because int might match the return type of a gcc2
18306 builtin and then its argument prototype would still apply. */
18307 char shmat ();
18308 char (*f) ();
18309
18310 int
18311 main ()
18312 {
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)
18317 choke me
18318 #else
18319 f = shmat;
18320 #endif
18321
18322 ;
18323 return 0;
18324 }
18325 _ACEOF
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
18329 ac_status=$?
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
18335 ac_status=$?
18336 echo "$as_me:18336: \$? = $ac_status" >&5
18337 (exit $ac_status); }; }; then
18338 ac_cv_func_shmat=yes
18339 else
18340 echo "$as_me: failed program was:" >&5
18341 cat conftest.$ac_ext >&5
18342 ac_cv_func_shmat=no
18343 fi
18344 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18345 fi
18346 echo "$as_me:18346: result: $ac_cv_func_shmat" >&5
18347 echo "${ECHO_T}$ac_cv_func_shmat" >&6
18348
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
18354 else
18355 ac_check_lib_save_LIBS=$LIBS
18356 LIBS="-lipc $LIBS"
18357 cat >conftest.$ac_ext <<_ACEOF
18358 #line 18358 "configure"
18359 #include "confdefs.h"
18360
18361 /* Override any gcc2 internal prototype to avoid an error. */
18362 #ifdef __cplusplus
18363 extern "C"
18364 #endif
18365 /* We use char because int might match the return type of a gcc2
18366 builtin and then its argument prototype would still apply. */
18367 char shmat ();
18368 int
18369 main ()
18370 {
18371 shmat ();
18372 ;
18373 return 0;
18374 }
18375 _ACEOF
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
18379 ac_status=$?
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
18385 ac_status=$?
18386 echo "$as_me:18386: \$? = $ac_status" >&5
18387 (exit $ac_status); }; }; then
18388 ac_cv_lib_ipc_shmat=yes
18389 else
18390 echo "$as_me: failed program was:" >&5
18391 cat conftest.$ac_ext >&5
18392 ac_cv_lib_ipc_shmat=no
18393 fi
18394 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18395 LIBS=$ac_check_lib_save_LIBS
18396 fi
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"
18401 fi
18402
18403 fi
18404 fi
18405
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
18419 else
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"
18425
18426 /* Override any gcc2 internal prototype to avoid an error. */
18427 #ifdef __cplusplus
18428 extern "C"
18429 #endif
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 ();
18433 int
18434 main ()
18435 {
18436 IceConnectionNumber ();
18437 ;
18438 return 0;
18439 }
18440 _ACEOF
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
18444 ac_status=$?
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
18450 ac_status=$?
18451 echo "$as_me:18451: \$? = $ac_status" >&5
18452 (exit $ac_status); }; }; then
18453 ac_cv_lib_ICE_IceConnectionNumber=yes
18454 else
18455 echo "$as_me: failed program was:" >&5
18456 cat conftest.$ac_ext >&5
18457 ac_cv_lib_ICE_IceConnectionNumber=no
18458 fi
18459 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18460 LIBS=$ac_check_lib_save_LIBS
18461 fi
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"
18466 fi
18467
18468 LDFLAGS=$ac_save_LDFLAGS
18469
18470 fi
18471
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; }; }
18476 fi
18477
18478 GUI_TK_LIBRARY="$X_LIBS"
18479 TOOLKIT_INCLUDE="$X_CFLAGS"
18480 AFMINSTALL=afminstall
18481 COMPILED_X_PROGRAM=0
18482
18483 echo "$as_me:18483: checking for Motif/Lesstif headers" >&5
18484 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
18485
18486 ac_find_includes=
18487 for ac_dir in $SEARCH_INCLUDE;
18488 do
18489 if test -f "$ac_dir/Xm/Xm.h"; then
18490 ac_find_includes=$ac_dir
18491 break
18492 fi
18493 done
18494
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
18498
18499 ac_path_to_include=$ac_find_includes
18500 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
18501 result=$?
18502 if test $result = 0; then
18503 ac_path_to_include=""
18504 else
18505 ac_path_to_include=" -I$ac_find_includes"
18506 fi
18507
18508 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
18509 else
18510 cat >conftest.$ac_ext <<_ACEOF
18511 #line 18511 "configure"
18512 #include "confdefs.h"
18513
18514 #include <Xm/Xm.h>
18515
18516 int
18517 main ()
18518 {
18519
18520 int version;
18521 version = xmUseVersion;
18522
18523 ;
18524 return 0;
18525 }
18526 _ACEOF
18527 rm -f conftest.$ac_objext
18528 if { (eval echo "$as_me:18528: \"$ac_compile\"") >&5
18529 (eval $ac_compile) 2>&5
18530 ac_status=$?
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
18536 ac_status=$?
18537 echo "$as_me:18537: \$? = $ac_status" >&5
18538 (exit $ac_status); }; }; then
18539
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
18543
18544 else
18545 echo "$as_me: failed program was:" >&5
18546 cat conftest.$ac_ext >&5
18547
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; }; }
18553
18554 fi
18555 rm -f conftest.$ac_objext conftest.$ac_ext
18556 fi
18557
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
18561
18562 ac_find_libraries=
18563 for ac_dir in $SEARCH_LIB;
18564 do
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
18568 break 2
18569 fi
18570 done
18571 done
18572
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
18576
18577 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
18578 result=$?
18579 if test $result = 0; then
18580 ac_path_to_link=""
18581 else
18582 ac_path_to_link=" -L$ac_find_libraries"
18583 fi
18584
18585 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
18586 else
18587 save_CFLAGS=$CFLAGS
18588 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
18589
18590 cat >conftest.$ac_ext <<_ACEOF
18591 #line 18591 "configure"
18592 #include "confdefs.h"
18593
18594 #include <Xm/Xm.h>
18595
18596 int
18597 main ()
18598 {
18599
18600 int version;
18601 version = xmUseVersion;
18602
18603 ;
18604 return 0;
18605 }
18606 _ACEOF
18607 rm -f conftest.$ac_objext
18608 if { (eval echo "$as_me:18608: \"$ac_compile\"") >&5
18609 (eval $ac_compile) 2>&5
18610 ac_status=$?
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
18616 ac_status=$?
18617 echo "$as_me:18617: \$? = $ac_status" >&5
18618 (exit $ac_status); }; }; then
18619
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
18623
18624 else
18625 echo "$as_me: failed program was:" >&5
18626 cat conftest.$ac_ext >&5
18627
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; }; }
18633
18634 fi
18635 rm -f conftest.$ac_objext conftest.$ac_ext
18636
18637 CFLAGS=$save_CFLAGS
18638 fi
18639 fi
18640
18641 xpm_link=
18642 echo "$as_me:18642: checking for Xpm library" >&5
18643 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
18644
18645 ac_find_libraries=
18646 for ac_dir in $SEARCH_LIB;
18647 do
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
18651 break 2
18652 fi
18653 done
18654 done
18655
18656 if test "$ac_find_libraries" != "" ; then
18657
18658 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
18659 result=$?
18660 if test $result = 0; then
18661 ac_path_to_link=""
18662 else
18663 ac_path_to_link=" -L$ac_find_libraries"
18664 fi
18665
18666 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
18667
18668 xpm_link=" -lXpm"
18669 cat >>confdefs.h <<\EOF
18670 #define wxHAVE_LIB_XPM 1
18671 EOF
18672
18673 echo "$as_me:18673: result: found at $ac_find_libraries" >&5
18674 echo "${ECHO_T}found at $ac_find_libraries" >&6
18675 else
18676 save_CFLAGS=$CFLAGS
18677 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
18678
18679 cat >conftest.$ac_ext <<_ACEOF
18680 #line 18680 "configure"
18681 #include "confdefs.h"
18682
18683 #include <X11/xpm.h>
18684
18685 int
18686 main ()
18687 {
18688
18689 int version;
18690 version = XpmLibraryVersion();
18691
18692 ;
18693 return 0;
18694 }
18695 _ACEOF
18696 rm -f conftest.$ac_objext
18697 if { (eval echo "$as_me:18697: \"$ac_compile\"") >&5
18698 (eval $ac_compile) 2>&5
18699 ac_status=$?
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
18705 ac_status=$?
18706 echo "$as_me:18706: \$? = $ac_status" >&5
18707 (exit $ac_status); }; }; then
18708
18709 xpm_link=" -lXpm"
18710 cat >>confdefs.h <<\EOF
18711 #define wxHAVE_LIB_XPM 1
18712 EOF
18713
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
18717
18718 else
18719 echo "$as_me: failed program was:" >&5
18720 cat conftest.$ac_ext >&5
18721
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;}
18726
18727 fi
18728 rm -f conftest.$ac_objext conftest.$ac_ext
18729
18730 CFLAGS=$save_CFLAGS
18731 fi
18732
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
18735 libp_link=""
18736 libsm_ice_link=""
18737 libs_found=0
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
18742 save_LIBS="$LIBS"
18743 LIBS="$GUI_TK_LIBRARY -lXm${xpm_link} ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
18744 save_CFLAGS=$CFLAGS
18745 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
18746
18747 cat >conftest.$ac_ext <<_ACEOF
18748 #line 18748 "configure"
18749 #include "confdefs.h"
18750
18751 #include <Xm/Xm.h>
18752 #include <Xm/List.h>
18753
18754 int
18755 main ()
18756 {
18757
18758 XmString string = NULL;
18759 Widget w = NULL;
18760 int position = 0;
18761 XmListAddItem(w, string, position);
18762
18763 ;
18764 return 0;
18765 }
18766 _ACEOF
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
18770 ac_status=$?
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
18776 ac_status=$?
18777 echo "$as_me:18777: \$? = $ac_status" >&5
18778 (exit $ac_status); }; }; then
18779
18780 libp_link="$libp"
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
18784 libs_found=1
18785
18786 else
18787 echo "$as_me: failed program was:" >&5
18788 cat conftest.$ac_ext >&5
18789
18790 fi
18791 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18792
18793 LIBS="$save_LIBS"
18794 CFLAGS=$save_CFLAGS
18795 fi
18796 done
18797 fi
18798 done
18799
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; }; }
18806 fi
18807
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"
18810 TOOLKIT=MOTIF
18811 GUIDIST=MOTIF_DIST
18812 fi
18813
18814 if test "$wxUSE_MAC" = 1; then
18815 if test "$wxUSE_PRECOMP" = "yes"; then
18816 CPPFLAGS="$CPPFLAGS -cpp-precomp"
18817 else
18818 CPPFLAGS="$CPPFLAGS -no-cpp-precomp"
18819 fi
18820 CPPFLAGS="$CPPFLAGS -I/Developer/Headers/FlatCarbon -I\${top_srcdir}/src/mac/morefile"
18821 CFLAGS="$CFLAGS -fpascal-strings"
18822 CXXFLAGS="$CXXFLAGS -fpascal-strings"
18823
18824 TOOLKIT_VPATH="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefile"
18825 TOOLKIT=MAC
18826 GUIDIST=MACX_DIST
18827 fi
18828
18829 if test "$wxUSE_PM" = 1; then
18830 TOOLKIT=PM
18831 GUIDIST=GTK_DIST
18832 fi
18833
18834 if test "$TOOLKIT" = "PM" ; then
18835 TOOLKIT_DIR="os2"
18836 else
18837 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
18838 fi
18839
18840 PORT_FILES="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
18841
18842 if test "$wxUSE_UNIVERSAL" = "yes"; then
18843 ALL_OBJECTS="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
18844
18845 ALL_SOURCES="\$(ALL_SOURCES) \${UNIV_SOURCES}"
18846 ALL_HEADERS="\$(ALL_HEADERS) \${UNIV_HEADERS}"
18847
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"
18851 else
18852 TOOLKIT_VPATH="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
18853 fi
18854 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
18855 WIDGET_SET=univ
18856 else
18857 ALL_OBJECTS="\$(GUIOBJS)"
18858 ALL_SOURCES="\$(ALL_SOURCES)"
18859 ALL_HEADERS="\$(ALL_HEADERS)"
18860 fi
18861
18862 ALL_OBJECTS="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
18863
18864 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
18865 ALL_OBJECTS="${ALL_OBJECTS} \$(UNIXOBJS)"
18866 fi
18867
18868 if test "$wxUSE_HTML" = "yes"; then
18869 ALL_OBJECTS="${ALL_OBJECTS} \$(HTMLOBJS)"
18870 fi
18871
18872 if test "$wxUSE_LIBJPEG" = "builtin" ; then
18873 ALL_OBJECTS="${ALL_OBJECTS} \$(JPEGOBJS)"
18874 fi
18875 if test "$wxUSE_LIBTIFF" = "builtin" ; then
18876 ALL_OBJECTS="${ALL_OBJECTS} \$(TIFFOBJS)"
18877 fi
18878 if test "$wxUSE_LIBPNG" = "builtin" ; then
18879 ALL_OBJECTS="${ALL_OBJECTS} \$(PNGOBJS)"
18880 fi
18881
18882 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
18883 DISTDIR="wx\$(TOOLKIT)"
18884 else
18885 USE_GUI=0
18886
18887 TOOLKIT_DIR="base"
18888
18889 if test "$USE_WIN32" = 1 ; then
18890 ALL_OBJECTS="\${BASE_OBJS} \${BASE_MSW_OBJS}"
18891 TOOLKIT_VPATH="\${top_srcdir}/src/msw"
18892
18893 TOOLKIT="MSW"
18894 else
18895 ALL_OBJECTS="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
18896 TOOLKIT_VPATH="\${top_srcdir}/src/unix"
18897 fi
18898
18899 ALL_SOURCES="\$(ALL_SOURCES)"
18900 ALL_HEADERS="\$(ALL_HEADERS)"
18901
18902 PORT_FILES="\${top_srcdir}/src/files.lst"
18903
18904 GUIDIST="BASE_DIST"
18905 DISTDIR="wxBase"
18906 fi
18907
18908 if test "$TOOLKIT" != "MSW" -a "$wxUSE_ODBC" = "yes" ; then
18909 ALL_OBJECTS="${ALL_OBJECTS} \$(IODBCOBJS)"
18910 fi
18911
18912 if test "$wxUSE_REGEX" = "builtin" ; then
18913 ALL_OBJECTS="${ALL_OBJECTS} \$(REGEXOBJS)"
18914 fi
18915 if test "$wxUSE_ZLIB" = "builtin" ; then
18916 ALL_OBJECTS="${ALL_OBJECTS} \$(ZLIBOBJS)"
18917 fi
18918
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"
18924 else
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
18929 else
18930 cat >conftest.$ac_ext <<_ACEOF
18931 #line 18931 "configure"
18932 #include "confdefs.h"
18933 #include <GL/gl.h>
18934 _ACEOF
18935 if { (eval echo "$as_me:18935: \"$ac_cpp conftest.$ac_ext\"") >&5
18936 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18937 ac_status=$?
18938 egrep -v '^ *\+' conftest.er1 >conftest.err
18939 rm -f conftest.er1
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
18945 else
18946 ac_cpp_err=
18947 fi
18948 else
18949 ac_cpp_err=yes
18950 fi
18951 if test -z "$ac_cpp_err"; then
18952 ac_cv_header_GL_gl_h=yes
18953 else
18954 echo "$as_me: failed program was:" >&5
18955 cat conftest.$ac_ext >&5
18956 ac_cv_header_GL_gl_h=no
18957 fi
18958 rm -f conftest.err conftest.$ac_ext
18959 fi
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
18963
18964 echo "$as_me:18964: checking for -lGL" >&5
18965 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
18966
18967 ac_find_libraries=
18968 for ac_dir in $SEARCH_LIB;
18969 do
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
18973 break 2
18974 fi
18975 done
18976 done
18977
18978 if test "$ac_find_libraries" != "" ; then
18979
18980 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
18981 result=$?
18982 if test $result = 0; then
18983 ac_path_to_link=""
18984 else
18985 ac_path_to_link=" -L$ac_find_libraries"
18986 fi
18987
18988 if test "$ac_path_to_link" = " -L/usr/lib" ; then
18989 LDFLAGS_GL="$LDFLAGS"
18990 else
18991 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
18992 fi
18993 OPENGL_LIBS="-lGL -lGLU"
18994 echo "$as_me:18994: result: yes" >&5
18995 echo "${ECHO_T}yes" >&6
18996 else
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
19001
19002 ac_find_libraries=
19003 for ac_dir in $SEARCH_LIB;
19004 do
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
19008 break 2
19009 fi
19010 done
19011 done
19012
19013 if test "$ac_find_libraries" != "" ; then
19014
19015 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
19016 result=$?
19017 if test $result = 0; then
19018 ac_path_to_link=""
19019 else
19020 ac_path_to_link=" -L$ac_find_libraries"
19021 fi
19022
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
19027 else
19028 echo "$as_me:19028: result: no" >&5
19029 echo "${ECHO_T}no" >&6
19030 fi
19031 fi
19032
19033 fi
19034
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; }; }
19039 fi
19040 fi
19041
19042 if test "$wxUSE_OPENGL" = "yes"; then
19043 cat >>confdefs.h <<\EOF
19044 #define wxUSE_OPENGL 1
19045 EOF
19046
19047 cat >>confdefs.h <<\EOF
19048 #define wxUSE_GLCANVAS 1
19049 EOF
19050
19051 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl"
19052 fi
19053 fi
19054
19055 if test -z "$TOOLKIT_VPATH" ; then
19056 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}"
19057 fi
19058
19059 if test -n "$TOOLKIT" ; then
19060 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
19061 fi
19062
19063 lib_unicode_suffix=
19064 if test "$wxUSE_UNICODE" = "yes"; then
19065 lib_unicode_suffix=u
19066 fi
19067
19068 lib_debug_suffix=
19069 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
19070 lib_debug_suffix=d
19071 fi
19072
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}"
19075
19076 if test "$cross_compiling" = "yes"; then
19077 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}-${host_alias}"
19078 TOOLCHAIN_NAME_GL="${TOOLCHAIN_NAME_GL}-${host_alias}"
19079 fi
19080
19081 WX_LIBRARY="wx_${TOOLCHAIN_NAME}"
19082 WX_LIBRARY_GL="wx_${TOOLCHAIN_NAME_GL}"
19083
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}"
19086
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}"
19091
19092 case "${host}" in
19093 *-*-cygwin* | *-*-mingw32* )
19094
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}"
19100 else
19101 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}"
19102 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
19103 fi
19104 ;;
19105
19106 *-*-darwin* )
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"
19110 fi
19111 ;;
19112 esac
19113
19114 WX_LIBRARY_NAME_STATIC="lib${WX_LIBRARY}.a"
19115 WX_LIBRARY_NAME_STATIC_GL="lib${WX_LIBRARY_GL}.a"
19116
19117 WXCONFIG_LIBS="-l${WX_LIBRARY}"
19118 WXCONFIG_LIBS_STATIC="lib${WX_LIBRARY}.a"
19119
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}"
19123 fi
19124
19125 if test "$wxUSE_SHARED" = "yes"; then
19126 case "${host}" in
19127 *-pc-os2_emx | *-pc-os2-emx | \
19128 *-pc-msdosdjgpp )
19129 wxUSE_SHARED=no
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;}
19132 ;;
19133 esac
19134 fi
19135
19136 if test "$wxUSE_SHARED" = "yes"; then
19137
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}"
19141 else
19142 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS"
19143 WX_ALL="\$(build_libdir)/${WX_LIBRARY_LINK1}"
19144 fi
19145
19146 if test "$GCC" = "yes"; then
19147 PIC_FLAG="-fPIC"
19148 fi
19149
19150 SHARED_LD="${CXX} -shared -o"
19151
19152 case "${host}" in
19153 *-hp-hpux* )
19154 if test "$GCC" == "yes"; then
19155 SHARED_LD="${SHARED_LD} ${PIC_FLAG}"
19156 else
19157 LDFLAGS="$LDFLAGS -L/usr/lib"
19158
19159 SHARED_LD="${CXX} -b -o"
19160 PIC_FLAG="+Z"
19161 fi
19162
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}"
19166 else
19167 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
19168 fi
19169 ;;
19170
19171 *-*-linux* )
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
19177 else
19178
19179 cat >conftest.$ac_ext <<_ACEOF
19180 #line 19180 "configure"
19181 #include "confdefs.h"
19182
19183 int
19184 main ()
19185 {
19186
19187 #ifndef __INTEL_COMPILER
19188 #error Not icc
19189 #endif
19190
19191 ;
19192 return 0;
19193 }
19194 _ACEOF
19195 rm -f conftest.$ac_objext
19196 if { (eval echo "$as_me:19196: \"$ac_compile\"") >&5
19197 (eval $ac_compile) 2>&5
19198 ac_status=$?
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
19204 ac_status=$?
19205 echo "$as_me:19205: \$? = $ac_status" >&5
19206 (exit $ac_status); }; }; then
19207 wx_cv_prog_icc=yes
19208 else
19209 echo "$as_me: failed program was:" >&5
19210 cat conftest.$ac_ext >&5
19211 wx_cv_prog_icc=no
19212
19213 fi
19214 rm -f conftest.$ac_objext conftest.$ac_ext
19215
19216 fi
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
19220 PIC_FLAG="-KPIC"
19221 fi
19222 fi
19223
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)"
19228 fi
19229 ;;
19230
19231 *-*-solaris2* )
19232 if test "$GCC" = yes ; then
19233 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
19234 else
19235 SHARED_LD="${CXX} -G -o"
19236 PIC_FLAG="-KPIC"
19237 SONAME_FLAGS="-h ${WX_LIBRARY_NAME_SHARED}"
19238 SONAME_FLAGS_GL="-h ${WX_LIBRARY_NAME_SHARED_GL}"
19239 fi
19240 ;;
19241
19242 *-*-darwin* )
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}
19249 ;;
19250
19251 *-*-aix* )
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
19258 else
19259 if test -n "$AIX_CXX_LD"; then
19260 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
19261 else
19262 ac_save_IFS=$IFS; IFS=$ac_path_separator
19263 ac_dummy="$PATH"
19264 for ac_dir in $ac_dummy; do
19265 IFS=$ac_save_IFS
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
19270 break
19271 done
19272
19273 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
19274 fi
19275 fi
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
19280 else
19281 echo "$as_me:19281: result: no" >&5
19282 echo "${ECHO_T}no" >&6
19283 fi
19284
19285 SHARED_LD="$(AIX_CXX_LD) -p 0 -o"
19286 ;;
19287
19288 *-*-cygwin* | *-*-mingw32* )
19289
19290 WX_LIBRARY_IMPORTLIB="${WX_LIBRARY_NAME_SHARED}.a"
19291
19292 SHARED_LD="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_IMPORTLIB} -o"
19293 TOOLCHAIN_DLL_DEFS="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
19294
19295 PIC_FLAG="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
19296
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}"
19300 else
19301 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
19302 fi
19303 ;;
19304
19305 *-*-beos* )
19306 SHARED_LD="${LD} -shared -o"
19307 ;;
19308
19309 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
19310 *-*-sunos4* | \
19311 *-*-irix5* | *-*-irix6* | \
19312 *-*-osf* | \
19313 *-*-dgux5* | \
19314 *-*-sysv5* )
19315 ;;
19316
19317 *)
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; }; }
19321 esac
19322
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}"
19326 fi
19327
19328 WX_TARGET_LIBRARY_TYPE="so"
19329 INSTALL_LIBRARY='$(INSTALL_PROGRAM)'
19330 fi
19331
19332 if test "$wxUSE_SHARED" = "no"; then
19333
19334 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
19335 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
19336 fi
19337
19338 if test "$wxUSE_MAC" = 1; then
19339 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
19340 fi
19341
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}"
19345 else
19346 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
19347 fi
19348
19349 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"
19350 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_STATIC_GL}"
19351
19352 WX_TARGET_LIBRARY_TYPE="a"
19353 INSTALL_LIBRARY='$(INSTALL_DATA)'
19354 fi
19355
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
19366 else
19367 if test -n "$RESCOMP"; then
19368 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
19369 else
19370 ac_save_IFS=$IFS; IFS=$ac_path_separator
19371 ac_dummy="$PATH"
19372 for ac_dir in $ac_dummy; do
19373 IFS=$ac_save_IFS
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
19378 break
19379 done
19380
19381 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
19382 fi
19383 fi
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
19388 else
19389 echo "$as_me:19389: result: no" >&5
19390 echo "${ECHO_T}no" >&6
19391 fi
19392
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
19399 else
19400 if test -n "$DEREZ"; then
19401 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
19402 else
19403 ac_save_IFS=$IFS; IFS=$ac_path_separator
19404 ac_dummy="$PATH"
19405 for ac_dir in $ac_dummy; do
19406 IFS=$ac_save_IFS
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
19411 break
19412 done
19413
19414 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
19415 fi
19416 fi
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
19421 else
19422 echo "$as_me:19422: result: no" >&5
19423 echo "${ECHO_T}no" >&6
19424 fi
19425
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"
19430 else
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"
19433 fi
19434 else
19435 if test "$wxUSE_PM" = 1; then
19436 LIBWXMACRESCOMP="emxbind -ep \$(BIN_PROGRAM)"
19437 fi
19438 fi
19439
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
19444 else
19445 cat >conftest.$ac_ext <<_ACEOF
19446 #line 19446 "configure"
19447 #include "confdefs.h"
19448 $ac_includes_default
19449 int
19450 main ()
19451 {
19452 if ((mode_t *) 0)
19453 return 0;
19454 if (sizeof (mode_t))
19455 return 0;
19456 ;
19457 return 0;
19458 }
19459 _ACEOF
19460 rm -f conftest.$ac_objext
19461 if { (eval echo "$as_me:19461: \"$ac_compile\"") >&5
19462 (eval $ac_compile) 2>&5
19463 ac_status=$?
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
19469 ac_status=$?
19470 echo "$as_me:19470: \$? = $ac_status" >&5
19471 (exit $ac_status); }; }; then
19472 ac_cv_type_mode_t=yes
19473 else
19474 echo "$as_me: failed program was:" >&5
19475 cat conftest.$ac_ext >&5
19476 ac_cv_type_mode_t=no
19477 fi
19478 rm -f conftest.$ac_objext conftest.$ac_ext
19479 fi
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
19483 :
19484 else
19485
19486 cat >>confdefs.h <<EOF
19487 #define mode_t int
19488 EOF
19489
19490 fi
19491
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
19496 else
19497 cat >conftest.$ac_ext <<_ACEOF
19498 #line 19498 "configure"
19499 #include "confdefs.h"
19500 $ac_includes_default
19501 int
19502 main ()
19503 {
19504 if ((off_t *) 0)
19505 return 0;
19506 if (sizeof (off_t))
19507 return 0;
19508 ;
19509 return 0;
19510 }
19511 _ACEOF
19512 rm -f conftest.$ac_objext
19513 if { (eval echo "$as_me:19513: \"$ac_compile\"") >&5
19514 (eval $ac_compile) 2>&5
19515 ac_status=$?
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
19521 ac_status=$?
19522 echo "$as_me:19522: \$? = $ac_status" >&5
19523 (exit $ac_status); }; }; then
19524 ac_cv_type_off_t=yes
19525 else
19526 echo "$as_me: failed program was:" >&5
19527 cat conftest.$ac_ext >&5
19528 ac_cv_type_off_t=no
19529 fi
19530 rm -f conftest.$ac_objext conftest.$ac_ext
19531 fi
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
19535 :
19536 else
19537
19538 cat >>confdefs.h <<EOF
19539 #define off_t long
19540 EOF
19541
19542 fi
19543
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
19548 else
19549 cat >conftest.$ac_ext <<_ACEOF
19550 #line 19550 "configure"
19551 #include "confdefs.h"
19552 $ac_includes_default
19553 int
19554 main ()
19555 {
19556 if ((pid_t *) 0)
19557 return 0;
19558 if (sizeof (pid_t))
19559 return 0;
19560 ;
19561 return 0;
19562 }
19563 _ACEOF
19564 rm -f conftest.$ac_objext
19565 if { (eval echo "$as_me:19565: \"$ac_compile\"") >&5
19566 (eval $ac_compile) 2>&5
19567 ac_status=$?
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
19573 ac_status=$?
19574 echo "$as_me:19574: \$? = $ac_status" >&5
19575 (exit $ac_status); }; }; then
19576 ac_cv_type_pid_t=yes
19577 else
19578 echo "$as_me: failed program was:" >&5
19579 cat conftest.$ac_ext >&5
19580 ac_cv_type_pid_t=no
19581 fi
19582 rm -f conftest.$ac_objext conftest.$ac_ext
19583 fi
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
19587 :
19588 else
19589
19590 cat >>confdefs.h <<EOF
19591 #define pid_t int
19592 EOF
19593
19594 fi
19595
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
19600 else
19601 cat >conftest.$ac_ext <<_ACEOF
19602 #line 19602 "configure"
19603 #include "confdefs.h"
19604 $ac_includes_default
19605 int
19606 main ()
19607 {
19608 if ((size_t *) 0)
19609 return 0;
19610 if (sizeof (size_t))
19611 return 0;
19612 ;
19613 return 0;
19614 }
19615 _ACEOF
19616 rm -f conftest.$ac_objext
19617 if { (eval echo "$as_me:19617: \"$ac_compile\"") >&5
19618 (eval $ac_compile) 2>&5
19619 ac_status=$?
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
19625 ac_status=$?
19626 echo "$as_me:19626: \$? = $ac_status" >&5
19627 (exit $ac_status); }; }; then
19628 ac_cv_type_size_t=yes
19629 else
19630 echo "$as_me: failed program was:" >&5
19631 cat conftest.$ac_ext >&5
19632 ac_cv_type_size_t=no
19633 fi
19634 rm -f conftest.$ac_objext conftest.$ac_ext
19635 fi
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
19639 :
19640 else
19641
19642 cat >>confdefs.h <<EOF
19643 #define size_t unsigned
19644 EOF
19645
19646 fi
19647
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
19652 else
19653 cat >conftest.$ac_ext <<_ACEOF
19654 #line 19654 "configure"
19655 #include "confdefs.h"
19656 #include <sys/types.h>
19657
19658 _ACEOF
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
19662 else
19663 ac_cv_type_uid_t=no
19664 fi
19665 rm -f conftest*
19666
19667 fi
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
19671
19672 cat >>confdefs.h <<\EOF
19673 #define uid_t int
19674 EOF
19675
19676 cat >>confdefs.h <<\EOF
19677 #define gid_t int
19678 EOF
19679
19680 fi
19681
19682 ac_ext=cc
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
19687
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
19692 else
19693 cat >conftest.$ac_ext <<_ACEOF
19694 #line 19694 "configure"
19695 #include "confdefs.h"
19696 #include <stddef.h>
19697 int
19698 main ()
19699 {
19700
19701 return 0; }
19702
19703 struct Foo { void foo(size_t); void foo(unsigned int); };
19704
19705 int bar() {
19706
19707 ;
19708 return 0;
19709 }
19710 _ACEOF
19711 rm -f conftest.$ac_objext
19712 if { (eval echo "$as_me:19712: \"$ac_compile\"") >&5
19713 (eval $ac_compile) 2>&5
19714 ac_status=$?
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
19720 ac_status=$?
19721 echo "$as_me:19721: \$? = $ac_status" >&5
19722 (exit $ac_status); }; }; then
19723 wx_cv_size_t_is_uint=no
19724 else
19725 echo "$as_me: failed program was:" >&5
19726 cat conftest.$ac_ext >&5
19727 wx_cv_size_t_is_uint=yes
19728
19729 fi
19730 rm -f conftest.$ac_objext conftest.$ac_ext
19731
19732 fi
19733 echo "$as_me:19733: result: $wx_cv_size_t_is_uint" >&5
19734 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
19735
19736 if test "$wx_cv_size_t_is_uint" = "yes"; then
19737 cat >>confdefs.h <<\EOF
19738 #define wxSIZE_T_IS_UINT 1
19739 EOF
19740
19741 else
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
19746 else
19747 cat >conftest.$ac_ext <<_ACEOF
19748 #line 19748 "configure"
19749 #include "confdefs.h"
19750 #include <stddef.h>
19751 int
19752 main ()
19753 {
19754
19755 return 0; }
19756
19757 struct Foo { void foo(size_t); void foo(unsigned long); };
19758
19759 int bar() {
19760
19761 ;
19762 return 0;
19763 }
19764 _ACEOF
19765 rm -f conftest.$ac_objext
19766 if { (eval echo "$as_me:19766: \"$ac_compile\"") >&5
19767 (eval $ac_compile) 2>&5
19768 ac_status=$?
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
19774 ac_status=$?
19775 echo "$as_me:19775: \$? = $ac_status" >&5
19776 (exit $ac_status); }; }; then
19777 wx_cv_size_t_is_ulong=no
19778 else
19779 echo "$as_me: failed program was:" >&5
19780 cat conftest.$ac_ext >&5
19781 wx_cv_size_t_is_ulong=yes
19782
19783 fi
19784 rm -f conftest.$ac_objext conftest.$ac_ext
19785
19786 fi
19787 echo "$as_me:19787: result: $wx_cv_size_t_is_ulong" >&5
19788 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
19789
19790 if test "$wx_cv_size_t_is_ulong" = "yes"; then
19791 cat >>confdefs.h <<\EOF
19792 #define wxSIZE_T_IS_ULONG 1
19793 EOF
19794
19795 fi
19796 fi
19797
19798 ac_ext=c
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
19803
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
19808 else
19809
19810 cat >conftest.$ac_ext <<_ACEOF
19811 #line 19811 "configure"
19812 #include "confdefs.h"
19813 #include <pwd.h>
19814 int
19815 main ()
19816 {
19817
19818 char *p;
19819 struct passwd *pw;
19820 p = pw->pw_gecos;
19821
19822 ;
19823 return 0;
19824 }
19825 _ACEOF
19826 rm -f conftest.$ac_objext
19827 if { (eval echo "$as_me:19827: \"$ac_compile\"") >&5
19828 (eval $ac_compile) 2>&5
19829 ac_status=$?
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
19835 ac_status=$?
19836 echo "$as_me:19836: \$? = $ac_status" >&5
19837 (exit $ac_status); }; }; then
19838
19839 wx_cv_struct_pw_gecos=yes
19840
19841 else
19842 echo "$as_me: failed program was:" >&5
19843 cat conftest.$ac_ext >&5
19844
19845 wx_cv_struct_pw_gecos=no
19846
19847 fi
19848 rm -f conftest.$ac_objext conftest.$ac_ext
19849
19850 fi
19851 echo "$as_me:19851: result: $wx_cv_struct_pw_gecos" >&5
19852 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
19853
19854 if test "$wx_cv_struct_pw_gecos" = "yes"; then
19855 cat >>confdefs.h <<\EOF
19856 #define HAVE_PW_GECOS 1
19857 EOF
19858
19859 fi
19860
19861 if test "$wx_cv_sizeof_wchar_t" != "0"; then
19862 cat >>confdefs.h <<\EOF
19863 #define wxUSE_WCHAR_T 1
19864 EOF
19865
19866 WCSLEN_FOUND=0
19867 WCHAR_LINK=
19868
19869 for ac_func in wcslen
19870 do
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
19876 else
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. */
19884 #ifdef __cplusplus
19885 extern "C"
19886 #endif
19887 /* We use char because int might match the return type of a gcc2
19888 builtin and then its argument prototype would still apply. */
19889 char $ac_func ();
19890 char (*f) ();
19891
19892 int
19893 main ()
19894 {
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)
19899 choke me
19900 #else
19901 f = $ac_func;
19902 #endif
19903
19904 ;
19905 return 0;
19906 }
19907 _ACEOF
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
19911 ac_status=$?
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
19917 ac_status=$?
19918 echo "$as_me:19918: \$? = $ac_status" >&5
19919 (exit $ac_status); }; }; then
19920 eval "$as_ac_var=yes"
19921 else
19922 echo "$as_me: failed program was:" >&5
19923 cat conftest.$ac_ext >&5
19924 eval "$as_ac_var=no"
19925 fi
19926 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19927 fi
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
19933 EOF
19934 WCSLEN_FOUND=1
19935 fi
19936 done
19937
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
19944 else
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"
19950
19951 /* Override any gcc2 internal prototype to avoid an error. */
19952 #ifdef __cplusplus
19953 extern "C"
19954 #endif
19955 /* We use char because int might match the return type of a gcc2
19956 builtin and then its argument prototype would still apply. */
19957 char wcslen ();
19958 int
19959 main ()
19960 {
19961 wcslen ();
19962 ;
19963 return 0;
19964 }
19965 _ACEOF
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
19969 ac_status=$?
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
19975 ac_status=$?
19976 echo "$as_me:19976: \$? = $ac_status" >&5
19977 (exit $ac_status); }; }; then
19978 ac_cv_lib_msvcrt_wcslen=yes
19979 else
19980 echo "$as_me: failed program was:" >&5
19981 cat conftest.$ac_ext >&5
19982 ac_cv_lib_msvcrt_wcslen=no
19983 fi
19984 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19985 LIBS=$ac_check_lib_save_LIBS
19986 fi
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
19990 WCHAR_OK=1
19991 fi
19992
19993 else
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
19998 else
19999 ac_check_lib_save_LIBS=$LIBS
20000 LIBS="-lw $LIBS"
20001 cat >conftest.$ac_ext <<_ACEOF
20002 #line 20002 "configure"
20003 #include "confdefs.h"
20004
20005 /* Override any gcc2 internal prototype to avoid an error. */
20006 #ifdef __cplusplus
20007 extern "C"
20008 #endif
20009 /* We use char because int might match the return type of a gcc2
20010 builtin and then its argument prototype would still apply. */
20011 char wcslen ();
20012 int
20013 main ()
20014 {
20015 wcslen ();
20016 ;
20017 return 0;
20018 }
20019 _ACEOF
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
20023 ac_status=$?
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
20029 ac_status=$?
20030 echo "$as_me:20030: \$? = $ac_status" >&5
20031 (exit $ac_status); }; }; then
20032 ac_cv_lib_w_wcslen=yes
20033 else
20034 echo "$as_me: failed program was:" >&5
20035 cat conftest.$ac_ext >&5
20036 ac_cv_lib_w_wcslen=no
20037 fi
20038 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20039 LIBS=$ac_check_lib_save_LIBS
20040 fi
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
20044
20045 WCHAR_LINK=" -lw"
20046 WCSLEN_FOUND=1
20047
20048 fi
20049
20050 fi
20051 fi
20052
20053 if test "$WCSLEN_FOUND" = 1; then
20054 cat >>confdefs.h <<\EOF
20055 #define HAVE_WCSLEN 1
20056 EOF
20057
20058 fi
20059
20060 for ac_func in wcsrtombs
20061 do
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
20067 else
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. */
20075 #ifdef __cplusplus
20076 extern "C"
20077 #endif
20078 /* We use char because int might match the return type of a gcc2
20079 builtin and then its argument prototype would still apply. */
20080 char $ac_func ();
20081 char (*f) ();
20082
20083 int
20084 main ()
20085 {
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)
20090 choke me
20091 #else
20092 f = $ac_func;
20093 #endif
20094
20095 ;
20096 return 0;
20097 }
20098 _ACEOF
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
20102 ac_status=$?
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
20108 ac_status=$?
20109 echo "$as_me:20109: \$? = $ac_status" >&5
20110 (exit $ac_status); }; }; then
20111 eval "$as_ac_var=yes"
20112 else
20113 echo "$as_me: failed program was:" >&5
20114 cat conftest.$ac_ext >&5
20115 eval "$as_ac_var=no"
20116 fi
20117 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20118 fi
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
20124 EOF
20125
20126 fi
20127 done
20128
20129 else
20130 { echo "$as_me:20130: WARNING: Wide character support is unavailable" >&5
20131 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
20132 fi
20133
20134 for ac_func in vprintf
20135 do
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
20141 else
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. */
20149 #ifdef __cplusplus
20150 extern "C"
20151 #endif
20152 /* We use char because int might match the return type of a gcc2
20153 builtin and then its argument prototype would still apply. */
20154 char $ac_func ();
20155 char (*f) ();
20156
20157 int
20158 main ()
20159 {
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)
20164 choke me
20165 #else
20166 f = $ac_func;
20167 #endif
20168
20169 ;
20170 return 0;
20171 }
20172 _ACEOF
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
20176 ac_status=$?
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
20182 ac_status=$?
20183 echo "$as_me:20183: \$? = $ac_status" >&5
20184 (exit $ac_status); }; }; then
20185 eval "$as_ac_var=yes"
20186 else
20187 echo "$as_me: failed program was:" >&5
20188 cat conftest.$ac_ext >&5
20189 eval "$as_ac_var=no"
20190 fi
20191 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20192 fi
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
20198 EOF
20199
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
20204 else
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. */
20212 #ifdef __cplusplus
20213 extern "C"
20214 #endif
20215 /* We use char because int might match the return type of a gcc2
20216 builtin and then its argument prototype would still apply. */
20217 char _doprnt ();
20218 char (*f) ();
20219
20220 int
20221 main ()
20222 {
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)
20227 choke me
20228 #else
20229 f = _doprnt;
20230 #endif
20231
20232 ;
20233 return 0;
20234 }
20235 _ACEOF
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
20239 ac_status=$?
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
20245 ac_status=$?
20246 echo "$as_me:20246: \$? = $ac_status" >&5
20247 (exit $ac_status); }; }; then
20248 ac_cv_func__doprnt=yes
20249 else
20250 echo "$as_me: failed program was:" >&5
20251 cat conftest.$ac_ext >&5
20252 ac_cv_func__doprnt=no
20253 fi
20254 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20255 fi
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
20259
20260 cat >>confdefs.h <<\EOF
20261 #define HAVE_DOPRNT 1
20262 EOF
20263
20264 fi
20265
20266 fi
20267 done
20268
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
20273 else
20274
20275 cat >conftest.$ac_ext <<_ACEOF
20276 #line 20276 "configure"
20277 #include "confdefs.h"
20278
20279 #include <stdio.h>
20280 #include <stdarg.h>
20281
20282 int
20283 main ()
20284 {
20285
20286 int wx_test_vsnprintf(const char *, ...);
20287
20288 wx_test_vsnprintf("%s");
20289 return 0;
20290 }
20291
20292 int wx_test_vsnprintf(const char *fmt, ...)
20293 {
20294 char *s;
20295
20296 va_list argp;
20297 va_start(argp, fmt);
20298 vsnprintf(s, 42, fmt, argp);
20299 va_end(argp);
20300
20301 ;
20302 return 0;
20303 }
20304 _ACEOF
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
20308 ac_status=$?
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
20314 ac_status=$?
20315 echo "$as_me:20315: \$? = $ac_status" >&5
20316 (exit $ac_status); }; }; then
20317
20318 wx_cv_func_vsnprintf=yes
20319
20320 else
20321 echo "$as_me: failed program was:" >&5
20322 cat conftest.$ac_ext >&5
20323
20324 cat >conftest.$ac_ext <<_ACEOF
20325 #line 20325 "configure"
20326 #include "confdefs.h"
20327
20328 #include <stdio.h>
20329 #include <stdarg.h>
20330
20331 int
20332 main ()
20333 {
20334
20335 int wx_test_vsnprintf(const char *, ...);
20336
20337 wx_test_vsnprintf("%s");
20338 return 0;
20339 }
20340
20341 int wx_test_vsnprintf(const char *fmt, ...)
20342 {
20343 char *s;
20344
20345 va_list argp;
20346 va_start(argp, fmt);
20347 _vsnprintf(s, 42, fmt, argp);
20348 va_end(argp);
20349
20350 ;
20351 return 0;
20352 }
20353 _ACEOF
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
20357 ac_status=$?
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
20363 ac_status=$?
20364 echo "$as_me:20364: \$? = $ac_status" >&5
20365 (exit $ac_status); }; }; then
20366
20367 wx_cv_func_vsnprintf=yes
20368
20369 else
20370 echo "$as_me: failed program was:" >&5
20371 cat conftest.$ac_ext >&5
20372
20373 wx_cv_func_vsnprintf=no
20374
20375 fi
20376 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20377
20378 fi
20379 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20380
20381 fi
20382 echo "$as_me:20382: result: $wx_cv_func_vsnprintf" >&5
20383 echo "${ECHO_T}$wx_cv_func_vsnprintf" >&6
20384
20385 if test "$wx_cv_func_vsnprintf" = yes; then
20386 cat >>confdefs.h <<\EOF
20387 #define HAVE_VSNPRINTF 1
20388 EOF
20389
20390 else
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;}
20393 fi
20394
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
20399 else
20400
20401 cat >conftest.$ac_ext <<_ACEOF
20402 #line 20402 "configure"
20403 #include "confdefs.h"
20404
20405 #include <stdio.h>
20406 #include <stdarg.h>
20407
20408 int
20409 main ()
20410 {
20411
20412 int wx_test_vsscanf(const char *, ...);
20413
20414 wx_test_vsscanf("%d");
20415 return 0;
20416 }
20417
20418 int wx_test_vsscanf(const char *fmt, ...)
20419 {
20420 va_list argp;
20421 va_start(argp, fmt);
20422 vsscanf("42", fmt, argp);
20423 va_end(argp);
20424
20425 ;
20426 return 0;
20427 }
20428 _ACEOF
20429 rm -f conftest.$ac_objext
20430 if { (eval echo "$as_me:20430: \"$ac_compile\"") >&5
20431 (eval $ac_compile) 2>&5
20432 ac_status=$?
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
20438 ac_status=$?
20439 echo "$as_me:20439: \$? = $ac_status" >&5
20440 (exit $ac_status); }; }; then
20441
20442 wx_cv_func_vsscanf=yes
20443
20444 else
20445 echo "$as_me: failed program was:" >&5
20446 cat conftest.$ac_ext >&5
20447
20448 wx_cv_func_vsscanf=no
20449
20450 fi
20451 rm -f conftest.$ac_objext conftest.$ac_ext
20452
20453 fi
20454 echo "$as_me:20454: result: $wx_cv_func_vsscanf" >&5
20455 echo "${ECHO_T}$wx_cv_func_vsscanf" >&6
20456
20457 if test "$wx_cv_func_vsscanf" = yes; then
20458 cat >>confdefs.h <<\EOF
20459 #define HAVE_VSSCANF 1
20460 EOF
20461
20462 fi
20463
20464 if test "$wxUSE_UNICODE" = yes; then
20465
20466 for ac_func in fputwc wprintf vswprintf
20467 do
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
20473 else
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. */
20481 #ifdef __cplusplus
20482 extern "C"
20483 #endif
20484 /* We use char because int might match the return type of a gcc2
20485 builtin and then its argument prototype would still apply. */
20486 char $ac_func ();
20487 char (*f) ();
20488
20489 int
20490 main ()
20491 {
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)
20496 choke me
20497 #else
20498 f = $ac_func;
20499 #endif
20500
20501 ;
20502 return 0;
20503 }
20504 _ACEOF
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
20508 ac_status=$?
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
20514 ac_status=$?
20515 echo "$as_me:20515: \$? = $ac_status" >&5
20516 (exit $ac_status); }; }; then
20517 eval "$as_ac_var=yes"
20518 else
20519 echo "$as_me: failed program was:" >&5
20520 cat conftest.$ac_ext >&5
20521 eval "$as_ac_var=no"
20522 fi
20523 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20524 fi
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
20530 EOF
20531
20532 fi
20533 done
20534
20535 fi
20536
20537 if test "$TOOLKIT" != "MSW"; then
20538
20539 ac_ext=cc
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
20544
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"
20548
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
20552 done
20553
20554 fi;
20555
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
20560 else
20561
20562 am_cv_func_iconv="no, consider installing GNU libiconv"
20563 am_cv_lib_iconv=no
20564 cat >conftest.$ac_ext <<_ACEOF
20565 #line 20565 "configure"
20566 #include "confdefs.h"
20567 #include <stdlib.h>
20568 #include <iconv.h>
20569 int
20570 main ()
20571 {
20572 iconv_t cd = iconv_open("","");
20573 iconv(cd,NULL,NULL,NULL,NULL);
20574 iconv_close(cd);
20575 ;
20576 return 0;
20577 }
20578 _ACEOF
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
20582 ac_status=$?
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
20588 ac_status=$?
20589 echo "$as_me:20589: \$? = $ac_status" >&5
20590 (exit $ac_status); }; }; then
20591 am_cv_func_iconv=yes
20592 else
20593 echo "$as_me: failed program was:" >&5
20594 cat conftest.$ac_ext >&5
20595 fi
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>
20604 #include <iconv.h>
20605 int
20606 main ()
20607 {
20608 iconv_t cd = iconv_open("","");
20609 iconv(cd,NULL,NULL,NULL,NULL);
20610 iconv_close(cd);
20611 ;
20612 return 0;
20613 }
20614 _ACEOF
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
20618 ac_status=$?
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
20624 ac_status=$?
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
20629 else
20630 echo "$as_me: failed program was:" >&5
20631 cat conftest.$ac_ext >&5
20632 fi
20633 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20634 LIBS="$am_save_LIBS"
20635 fi
20636
20637 fi
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
20641
20642 cat >>confdefs.h <<\EOF
20643 #define HAVE_ICONV 1
20644 EOF
20645
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
20650 else
20651 cat >conftest.$ac_ext <<_ACEOF
20652 #line 20652 "configure"
20653 #include "confdefs.h"
20654
20655 #include <stdlib.h>
20656 #include <iconv.h>
20657 extern
20658 #ifdef __cplusplus
20659 "C"
20660 #endif
20661 #if defined(__STDC__) || defined(__cplusplus)
20662 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
20663 #else
20664 size_t iconv();
20665 #endif
20666
20667 int
20668 main ()
20669 {
20670
20671 ;
20672 return 0;
20673 }
20674 _ACEOF
20675 rm -f conftest.$ac_objext
20676 if { (eval echo "$as_me:20676: \"$ac_compile\"") >&5
20677 (eval $ac_compile) 2>&5
20678 ac_status=$?
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
20684 ac_status=$?
20685 echo "$as_me:20685: \$? = $ac_status" >&5
20686 (exit $ac_status); }; }; then
20687 wx_cv_func_iconv_const="no"
20688 else
20689 echo "$as_me: failed program was:" >&5
20690 cat conftest.$ac_ext >&5
20691 wx_cv_func_iconv_const="yes"
20692
20693 fi
20694 rm -f conftest.$ac_objext conftest.$ac_ext
20695
20696 fi
20697 echo "$as_me:20697: result: $wx_cv_func_iconv_const" >&5
20698 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
20699
20700 iconv_const=
20701 if test "x$wx_cv_func_iconv_const" = "xyes"; then
20702 iconv_const="const"
20703 fi
20704
20705 cat >>confdefs.h <<EOF
20706 #define ICONV_CONST $iconv_const
20707 EOF
20708
20709 fi
20710 LIBICONV=
20711 if test "$am_cv_lib_iconv" = yes; then
20712 LIBICONV="-liconv"
20713 fi
20714
20715 LIBS="$LIBICONV $LIBS"
20716 ac_ext=c
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
20721
20722 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
20723
20724 for ac_func in sigaction
20725 do
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
20731 else
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. */
20739 #ifdef __cplusplus
20740 extern "C"
20741 #endif
20742 /* We use char because int might match the return type of a gcc2
20743 builtin and then its argument prototype would still apply. */
20744 char $ac_func ();
20745 char (*f) ();
20746
20747 int
20748 main ()
20749 {
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)
20754 choke me
20755 #else
20756 f = $ac_func;
20757 #endif
20758
20759 ;
20760 return 0;
20761 }
20762 _ACEOF
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
20766 ac_status=$?
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
20772 ac_status=$?
20773 echo "$as_me:20773: \$? = $ac_status" >&5
20774 (exit $ac_status); }; }; then
20775 eval "$as_ac_var=yes"
20776 else
20777 echo "$as_me: failed program was:" >&5
20778 cat conftest.$ac_ext >&5
20779 eval "$as_ac_var=no"
20780 fi
20781 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20782 fi
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
20788 EOF
20789
20790 fi
20791 done
20792
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
20797 fi
20798
20799 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
20800
20801 ac_ext=cc
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
20806
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
20811 else
20812
20813 cat >conftest.$ac_ext <<_ACEOF
20814 #line 20814 "configure"
20815 #include "confdefs.h"
20816 #include <signal.h>
20817 int
20818 main ()
20819 {
20820
20821 extern void testSigHandler(int);
20822
20823 struct sigaction sa;
20824 sa.sa_handler = testSigHandler;
20825
20826 ;
20827 return 0;
20828 }
20829 _ACEOF
20830 rm -f conftest.$ac_objext
20831 if { (eval echo "$as_me:20831: \"$ac_compile\"") >&5
20832 (eval $ac_compile) 2>&5
20833 ac_status=$?
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
20839 ac_status=$?
20840 echo "$as_me:20840: \$? = $ac_status" >&5
20841 (exit $ac_status); }; }; then
20842
20843 wx_cv_type_sa_handler=int
20844
20845 else
20846 echo "$as_me: failed program was:" >&5
20847 cat conftest.$ac_ext >&5
20848
20849 wx_cv_type_sa_handler=void
20850
20851 fi
20852 rm -f conftest.$ac_objext conftest.$ac_ext
20853
20854 fi
20855 echo "$as_me:20855: result: $wx_cv_type_sa_handler" >&5
20856 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
20857
20858 ac_ext=c
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
20863
20864 cat >>confdefs.h <<EOF
20865 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
20866 EOF
20867
20868 fi
20869 fi
20870
20871 for ac_func in vfork
20872 do
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
20878 else
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. */
20886 #ifdef __cplusplus
20887 extern "C"
20888 #endif
20889 /* We use char because int might match the return type of a gcc2
20890 builtin and then its argument prototype would still apply. */
20891 char $ac_func ();
20892 char (*f) ();
20893
20894 int
20895 main ()
20896 {
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)
20901 choke me
20902 #else
20903 f = $ac_func;
20904 #endif
20905
20906 ;
20907 return 0;
20908 }
20909 _ACEOF
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
20913 ac_status=$?
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
20919 ac_status=$?
20920 echo "$as_me:20920: \$? = $ac_status" >&5
20921 (exit $ac_status); }; }; then
20922 eval "$as_ac_var=yes"
20923 else
20924 echo "$as_me: failed program was:" >&5
20925 cat conftest.$ac_ext >&5
20926 eval "$as_ac_var=no"
20927 fi
20928 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20929 fi
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
20935 EOF
20936
20937 fi
20938 done
20939
20940 for ac_func in mkstemp mktemp
20941 do
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
20947 else
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. */
20955 #ifdef __cplusplus
20956 extern "C"
20957 #endif
20958 /* We use char because int might match the return type of a gcc2
20959 builtin and then its argument prototype would still apply. */
20960 char $ac_func ();
20961 char (*f) ();
20962
20963 int
20964 main ()
20965 {
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)
20970 choke me
20971 #else
20972 f = $ac_func;
20973 #endif
20974
20975 ;
20976 return 0;
20977 }
20978 _ACEOF
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
20982 ac_status=$?
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
20988 ac_status=$?
20989 echo "$as_me:20989: \$? = $ac_status" >&5
20990 (exit $ac_status); }; }; then
20991 eval "$as_ac_var=yes"
20992 else
20993 echo "$as_me: failed program was:" >&5
20994 cat conftest.$ac_ext >&5
20995 eval "$as_ac_var=no"
20996 fi
20997 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20998 fi
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
21004 EOF
21005 break
21006 fi
21007 done
21008
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
21013 else
21014 cat >conftest.$ac_ext <<_ACEOF
21015 #line 21015 "configure"
21016 #include "confdefs.h"
21017
21018 #if defined(__BSD__)
21019 #include <sys/param.h>
21020 #include <sys/mount.h>
21021 #else
21022 #include <sys/vfs.h>
21023 #endif
21024
21025 int
21026 main ()
21027 {
21028
21029 long l;
21030 struct statfs fs;
21031 statfs("/", &fs);
21032 l = fs.f_bsize;
21033 l += fs.f_blocks;
21034 l += fs.f_bavail;
21035
21036 ;
21037 return 0;
21038 }
21039 _ACEOF
21040 rm -f conftest.$ac_objext
21041 if { (eval echo "$as_me:21041: \"$ac_compile\"") >&5
21042 (eval $ac_compile) 2>&5
21043 ac_status=$?
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
21049 ac_status=$?
21050 echo "$as_me:21050: \$? = $ac_status" >&5
21051 (exit $ac_status); }; }; then
21052
21053 wx_cv_func_statfs=yes
21054
21055 else
21056 echo "$as_me: failed program was:" >&5
21057 cat conftest.$ac_ext >&5
21058
21059 wx_cv_func_statfs=no
21060
21061 fi
21062 rm -f conftest.$ac_objext conftest.$ac_ext
21063
21064 fi
21065 echo "$as_me:21065: result: $wx_cv_func_statfs" >&5
21066 echo "${ECHO_T}$wx_cv_func_statfs" >&6
21067
21068 if test "$wx_cv_func_statfs" = "yes"; then
21069 cat >>confdefs.h <<\EOF
21070 #define HAVE_STATFS 1
21071 EOF
21072
21073 else
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
21078 else
21079 cat >conftest.$ac_ext <<_ACEOF
21080 #line 21080 "configure"
21081 #include "confdefs.h"
21082
21083 #include <sys/statvfs.h>
21084
21085 int
21086 main ()
21087 {
21088
21089 long l;
21090 struct statvfs fs;
21091 statvfs("/", &fs);
21092 l = fs.f_bsize;
21093 l += fs.f_blocks;
21094 l += fs.f_bavail;
21095
21096 ;
21097 return 0;
21098 }
21099 _ACEOF
21100 rm -f conftest.$ac_objext
21101 if { (eval echo "$as_me:21101: \"$ac_compile\"") >&5
21102 (eval $ac_compile) 2>&5
21103 ac_status=$?
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
21109 ac_status=$?
21110 echo "$as_me:21110: \$? = $ac_status" >&5
21111 (exit $ac_status); }; }; then
21112
21113 wx_cv_func_statvfs=yes
21114
21115 else
21116 echo "$as_me: failed program was:" >&5
21117 cat conftest.$ac_ext >&5
21118
21119 wx_cv_func_statvfs=no
21120
21121 fi
21122 rm -f conftest.$ac_objext conftest.$ac_ext
21123
21124 fi
21125 echo "$as_me:21125: result: $wx_cv_func_statvfs" >&5
21126 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
21127
21128 if test "$wx_cv_func_statvfs" = "yes"; then
21129 cat >>confdefs.h <<\EOF
21130 #define HAVE_STATVFS 1
21131 EOF
21132
21133 else
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;}
21136 fi
21137 fi
21138
21139 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
21140
21141 for ac_func in fcntl flock
21142 do
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
21148 else
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. */
21156 #ifdef __cplusplus
21157 extern "C"
21158 #endif
21159 /* We use char because int might match the return type of a gcc2
21160 builtin and then its argument prototype would still apply. */
21161 char $ac_func ();
21162 char (*f) ();
21163
21164 int
21165 main ()
21166 {
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)
21171 choke me
21172 #else
21173 f = $ac_func;
21174 #endif
21175
21176 ;
21177 return 0;
21178 }
21179 _ACEOF
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
21183 ac_status=$?
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
21189 ac_status=$?
21190 echo "$as_me:21190: \$? = $ac_status" >&5
21191 (exit $ac_status); }; }; then
21192 eval "$as_ac_var=yes"
21193 else
21194 echo "$as_me: failed program was:" >&5
21195 cat conftest.$ac_ext >&5
21196 eval "$as_ac_var=no"
21197 fi
21198 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21199 fi
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
21205 EOF
21206 break
21207 fi
21208 done
21209
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
21214 fi
21215 fi
21216
21217 for ac_func in timegm
21218 do
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
21224 else
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. */
21232 #ifdef __cplusplus
21233 extern "C"
21234 #endif
21235 /* We use char because int might match the return type of a gcc2
21236 builtin and then its argument prototype would still apply. */
21237 char $ac_func ();
21238 char (*f) ();
21239
21240 int
21241 main ()
21242 {
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)
21247 choke me
21248 #else
21249 f = $ac_func;
21250 #endif
21251
21252 ;
21253 return 0;
21254 }
21255 _ACEOF
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
21259 ac_status=$?
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
21265 ac_status=$?
21266 echo "$as_me:21266: \$? = $ac_status" >&5
21267 (exit $ac_status); }; }; then
21268 eval "$as_ac_var=yes"
21269 else
21270 echo "$as_me: failed program was:" >&5
21271 cat conftest.$ac_ext >&5
21272 eval "$as_ac_var=no"
21273 fi
21274 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21275 fi
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
21281 EOF
21282
21283 fi
21284 done
21285
21286 for ac_func in putenv setenv
21287 do
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
21293 else
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. */
21301 #ifdef __cplusplus
21302 extern "C"
21303 #endif
21304 /* We use char because int might match the return type of a gcc2
21305 builtin and then its argument prototype would still apply. */
21306 char $ac_func ();
21307 char (*f) ();
21308
21309 int
21310 main ()
21311 {
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)
21316 choke me
21317 #else
21318 f = $ac_func;
21319 #endif
21320
21321 ;
21322 return 0;
21323 }
21324 _ACEOF
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
21328 ac_status=$?
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
21334 ac_status=$?
21335 echo "$as_me:21335: \$? = $ac_status" >&5
21336 (exit $ac_status); }; }; then
21337 eval "$as_ac_var=yes"
21338 else
21339 echo "$as_me: failed program was:" >&5
21340 cat conftest.$ac_ext >&5
21341 eval "$as_ac_var=no"
21342 fi
21343 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21344 fi
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
21350 EOF
21351 break
21352 fi
21353 done
21354
21355 HAVE_SOME_SLEEP_FUNC=0
21356 if test "$USE_BEOS" = 1; then
21357 cat >>confdefs.h <<\EOF
21358 #define HAVE_SLEEP 1
21359 EOF
21360
21361 HAVE_SOME_SLEEP_FUNC=1
21362 fi
21363
21364 if test "$USE_DARWIN" = 1; then
21365 cat >>confdefs.h <<\EOF
21366 #define HAVE_USLEEP 1
21367 EOF
21368
21369 HAVE_SOME_SLEEP_FUNC=1
21370 fi
21371
21372 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
21373 POSIX4_LINK=
21374
21375 for ac_func in nanosleep
21376 do
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
21382 else
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. */
21390 #ifdef __cplusplus
21391 extern "C"
21392 #endif
21393 /* We use char because int might match the return type of a gcc2
21394 builtin and then its argument prototype would still apply. */
21395 char $ac_func ();
21396 char (*f) ();
21397
21398 int
21399 main ()
21400 {
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)
21405 choke me
21406 #else
21407 f = $ac_func;
21408 #endif
21409
21410 ;
21411 return 0;
21412 }
21413 _ACEOF
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
21417 ac_status=$?
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
21423 ac_status=$?
21424 echo "$as_me:21424: \$? = $ac_status" >&5
21425 (exit $ac_status); }; }; then
21426 eval "$as_ac_var=yes"
21427 else
21428 echo "$as_me: failed program was:" >&5
21429 cat conftest.$ac_ext >&5
21430 eval "$as_ac_var=no"
21431 fi
21432 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21433 fi
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
21439 EOF
21440 cat >>confdefs.h <<\EOF
21441 #define HAVE_NANOSLEEP 1
21442 EOF
21443
21444 else
21445
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
21450 else
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"
21456
21457 /* Override any gcc2 internal prototype to avoid an error. */
21458 #ifdef __cplusplus
21459 extern "C"
21460 #endif
21461 /* We use char because int might match the return type of a gcc2
21462 builtin and then its argument prototype would still apply. */
21463 char nanosleep ();
21464 int
21465 main ()
21466 {
21467 nanosleep ();
21468 ;
21469 return 0;
21470 }
21471 _ACEOF
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
21475 ac_status=$?
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
21481 ac_status=$?
21482 echo "$as_me:21482: \$? = $ac_status" >&5
21483 (exit $ac_status); }; }; then
21484 ac_cv_lib_posix4_nanosleep=yes
21485 else
21486 echo "$as_me: failed program was:" >&5
21487 cat conftest.$ac_ext >&5
21488 ac_cv_lib_posix4_nanosleep=no
21489 fi
21490 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21491 LIBS=$ac_check_lib_save_LIBS
21492 fi
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
21496
21497 cat >>confdefs.h <<\EOF
21498 #define HAVE_NANOSLEEP 1
21499 EOF
21500
21501 POSIX4_LINK=" -lposix4"
21502
21503 else
21504
21505 for ac_func in usleep
21506 do
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
21512 else
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. */
21520 #ifdef __cplusplus
21521 extern "C"
21522 #endif
21523 /* We use char because int might match the return type of a gcc2
21524 builtin and then its argument prototype would still apply. */
21525 char $ac_func ();
21526 char (*f) ();
21527
21528 int
21529 main ()
21530 {
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)
21535 choke me
21536 #else
21537 f = $ac_func;
21538 #endif
21539
21540 ;
21541 return 0;
21542 }
21543 _ACEOF
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
21547 ac_status=$?
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
21553 ac_status=$?
21554 echo "$as_me:21554: \$? = $ac_status" >&5
21555 (exit $ac_status); }; }; then
21556 eval "$as_ac_var=yes"
21557 else
21558 echo "$as_me: failed program was:" >&5
21559 cat conftest.$ac_ext >&5
21560 eval "$as_ac_var=no"
21561 fi
21562 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21563 fi
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
21569 EOF
21570 cat >>confdefs.h <<\EOF
21571 #define HAVE_USLEEP 1
21572 EOF
21573
21574 else
21575 { echo "$as_me:21575: WARNING: wxSleep() function will not work" >&5
21576 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
21577
21578 fi
21579 done
21580
21581 fi
21582
21583 fi
21584 done
21585
21586 fi
21587
21588 for ac_func in uname gethostname
21589 do
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
21595 else
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. */
21603 #ifdef __cplusplus
21604 extern "C"
21605 #endif
21606 /* We use char because int might match the return type of a gcc2
21607 builtin and then its argument prototype would still apply. */
21608 char $ac_func ();
21609 char (*f) ();
21610
21611 int
21612 main ()
21613 {
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)
21618 choke me
21619 #else
21620 f = $ac_func;
21621 #endif
21622
21623 ;
21624 return 0;
21625 }
21626 _ACEOF
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
21630 ac_status=$?
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
21636 ac_status=$?
21637 echo "$as_me:21637: \$? = $ac_status" >&5
21638 (exit $ac_status); }; }; then
21639 eval "$as_ac_var=yes"
21640 else
21641 echo "$as_me: failed program was:" >&5
21642 cat conftest.$ac_ext >&5
21643 eval "$as_ac_var=no"
21644 fi
21645 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21646 fi
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
21652 EOF
21653 break
21654 fi
21655 done
21656
21657 ac_ext=cc
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
21662
21663 for ac_func in strtok_r
21664 do
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
21670 else
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. */
21678 #ifdef __cplusplus
21679 extern "C"
21680 #endif
21681 /* We use char because int might match the return type of a gcc2
21682 builtin and then its argument prototype would still apply. */
21683 char $ac_func ();
21684 char (*f) ();
21685
21686 int
21687 main ()
21688 {
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)
21693 choke me
21694 #else
21695 f = $ac_func;
21696 #endif
21697
21698 ;
21699 return 0;
21700 }
21701 _ACEOF
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
21705 ac_status=$?
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
21711 ac_status=$?
21712 echo "$as_me:21712: \$? = $ac_status" >&5
21713 (exit $ac_status); }; }; then
21714 eval "$as_ac_var=yes"
21715 else
21716 echo "$as_me: failed program was:" >&5
21717 cat conftest.$ac_ext >&5
21718 eval "$as_ac_var=no"
21719 fi
21720 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21721 fi
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
21727 EOF
21728
21729 fi
21730 done
21731
21732 ac_ext=c
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
21737
21738 INET_LINK=
21739
21740 for ac_func in inet_addr
21741 do
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
21747 else
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. */
21755 #ifdef __cplusplus
21756 extern "C"
21757 #endif
21758 /* We use char because int might match the return type of a gcc2
21759 builtin and then its argument prototype would still apply. */
21760 char $ac_func ();
21761 char (*f) ();
21762
21763 int
21764 main ()
21765 {
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)
21770 choke me
21771 #else
21772 f = $ac_func;
21773 #endif
21774
21775 ;
21776 return 0;
21777 }
21778 _ACEOF
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
21782 ac_status=$?
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
21788 ac_status=$?
21789 echo "$as_me:21789: \$? = $ac_status" >&5
21790 (exit $ac_status); }; }; then
21791 eval "$as_ac_var=yes"
21792 else
21793 echo "$as_me: failed program was:" >&5
21794 cat conftest.$ac_ext >&5
21795 eval "$as_ac_var=no"
21796 fi
21797 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21798 fi
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
21804 EOF
21805 cat >>confdefs.h <<\EOF
21806 #define HAVE_INET_ADDR 1
21807 EOF
21808
21809 else
21810
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
21815 else
21816 ac_check_lib_save_LIBS=$LIBS
21817 LIBS="-lnsl $LIBS"
21818 cat >conftest.$ac_ext <<_ACEOF
21819 #line 21819 "configure"
21820 #include "confdefs.h"
21821
21822 /* Override any gcc2 internal prototype to avoid an error. */
21823 #ifdef __cplusplus
21824 extern "C"
21825 #endif
21826 /* We use char because int might match the return type of a gcc2
21827 builtin and then its argument prototype would still apply. */
21828 char inet_addr ();
21829 int
21830 main ()
21831 {
21832 inet_addr ();
21833 ;
21834 return 0;
21835 }
21836 _ACEOF
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
21840 ac_status=$?
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
21846 ac_status=$?
21847 echo "$as_me:21847: \$? = $ac_status" >&5
21848 (exit $ac_status); }; }; then
21849 ac_cv_lib_nsl_inet_addr=yes
21850 else
21851 echo "$as_me: failed program was:" >&5
21852 cat conftest.$ac_ext >&5
21853 ac_cv_lib_nsl_inet_addr=no
21854 fi
21855 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21856 LIBS=$ac_check_lib_save_LIBS
21857 fi
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
21861 INET_LINK="nsl"
21862 else
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
21867 else
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"
21873
21874 /* Override any gcc2 internal prototype to avoid an error. */
21875 #ifdef __cplusplus
21876 extern "C"
21877 #endif
21878 /* We use char because int might match the return type of a gcc2
21879 builtin and then its argument prototype would still apply. */
21880 char inet_addr ();
21881 int
21882 main ()
21883 {
21884 inet_addr ();
21885 ;
21886 return 0;
21887 }
21888 _ACEOF
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
21892 ac_status=$?
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
21898 ac_status=$?
21899 echo "$as_me:21899: \$? = $ac_status" >&5
21900 (exit $ac_status); }; }; then
21901 ac_cv_lib_resolv_inet_addr=yes
21902 else
21903 echo "$as_me: failed program was:" >&5
21904 cat conftest.$ac_ext >&5
21905 ac_cv_lib_resolv_inet_addr=no
21906 fi
21907 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21908 LIBS=$ac_check_lib_save_LIBS
21909 fi
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
21913 INET_LINK="resolv"
21914 else
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
21919 else
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"
21925
21926 /* Override any gcc2 internal prototype to avoid an error. */
21927 #ifdef __cplusplus
21928 extern "C"
21929 #endif
21930 /* We use char because int might match the return type of a gcc2
21931 builtin and then its argument prototype would still apply. */
21932 char inet_addr ();
21933 int
21934 main ()
21935 {
21936 inet_addr ();
21937 ;
21938 return 0;
21939 }
21940 _ACEOF
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
21944 ac_status=$?
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
21950 ac_status=$?
21951 echo "$as_me:21951: \$? = $ac_status" >&5
21952 (exit $ac_status); }; }; then
21953 ac_cv_lib_socket_inet_addr=yes
21954 else
21955 echo "$as_me: failed program was:" >&5
21956 cat conftest.$ac_ext >&5
21957 ac_cv_lib_socket_inet_addr=no
21958 fi
21959 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21960 LIBS=$ac_check_lib_save_LIBS
21961 fi
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
21965 INET_LINK="socket"
21966
21967 fi
21968
21969 fi
21970
21971 fi
21972
21973 fi
21974 done
21975
21976 for ac_func in inet_aton
21977 do
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
21983 else
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. */
21991 #ifdef __cplusplus
21992 extern "C"
21993 #endif
21994 /* We use char because int might match the return type of a gcc2
21995 builtin and then its argument prototype would still apply. */
21996 char $ac_func ();
21997 char (*f) ();
21998
21999 int
22000 main ()
22001 {
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)
22006 choke me
22007 #else
22008 f = $ac_func;
22009 #endif
22010
22011 ;
22012 return 0;
22013 }
22014 _ACEOF
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
22018 ac_status=$?
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
22024 ac_status=$?
22025 echo "$as_me:22025: \$? = $ac_status" >&5
22026 (exit $ac_status); }; }; then
22027 eval "$as_ac_var=yes"
22028 else
22029 echo "$as_me: failed program was:" >&5
22030 cat conftest.$ac_ext >&5
22031 eval "$as_ac_var=no"
22032 fi
22033 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22034 fi
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
22040 EOF
22041 cat >>confdefs.h <<\EOF
22042 #define HAVE_INET_ATON 1
22043 EOF
22044
22045 else
22046
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
22052 else
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"
22058
22059 /* Override any gcc2 internal prototype to avoid an error. */
22060 #ifdef __cplusplus
22061 extern "C"
22062 #endif
22063 /* We use char because int might match the return type of a gcc2
22064 builtin and then its argument prototype would still apply. */
22065 char inet_aton ();
22066 int
22067 main ()
22068 {
22069 inet_aton ();
22070 ;
22071 return 0;
22072 }
22073 _ACEOF
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
22077 ac_status=$?
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
22083 ac_status=$?
22084 echo "$as_me:22084: \$? = $ac_status" >&5
22085 (exit $ac_status); }; }; then
22086 eval "$as_ac_Lib=yes"
22087 else
22088 echo "$as_me: failed program was:" >&5
22089 cat conftest.$ac_ext >&5
22090 eval "$as_ac_Lib=no"
22091 fi
22092 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22093 LIBS=$ac_check_lib_save_LIBS
22094 fi
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
22100 EOF
22101
22102 fi
22103
22104 fi
22105 done
22106
22107 if test "x$INET_LINK" != "x"; then
22108 cat >>confdefs.h <<\EOF
22109 #define HAVE_INET_ADDR 1
22110 EOF
22111
22112 INET_LINK=" -l$INET_LINK"
22113 fi
22114
22115 fi
22116
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.
22123 #
22124 # config.status only pays attention to the cache file if you give it
22125 # the --recheck option to rerun configure.
22126 #
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.
22130
22131 _ACEOF
22132
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.
22138 {
22139 (set) 2>&1 |
22140 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22141 *ac_space=\ *)
22142 # `set' does not quote correctly, so add quotes (double-quote
22143 # substitution turns \\\\ into \\, and sed turns \\ into \).
22144 sed -n \
22145 "s/'/'\\\\''/g;
22146 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22147 ;;
22148 *)
22149 # `set' quotes correctly as required by POSIX, so do not add quotes.
22150 sed -n \
22151 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
22152 ;;
22153 esac;
22154 } |
22155 sed '
22156 t clear
22157 : clear
22158 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22159 t end
22160 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22161 : end' >>confcache
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
22166 else
22167 echo "not updating unwritable cache $cache_file"
22168 fi
22169 fi
22170 rm -f confcache
22171
22172 CPP_MT_FLAG=
22173 if test "$TOOLKIT" != "MSW"; then
22174
22175 THREADS_LINK=
22176 THREADS_CFLAGS=
22177
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;}
22182 wxUSE_THREADS="no"
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;}
22186 wxUSE_THREADS="no"
22187 fi
22188 fi
22189
22190 if test "$wxUSE_THREADS" = "yes" ; then
22191
22192 THREAD_OPTS="-pthread"
22193 case "${host}" in
22194 *-*-solaris2* | *-*-sunos4* )
22195 if test "x$GCC" = "xyes"; then
22196 THREAD_OPTS="-pthreads $THREAD_OPTS"
22197 else
22198 THREAD_OPTS="-mt $THREAD_OPTS"
22199 fi
22200 ;;
22201 *-*-freebsd*)
22202 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
22203 ;;
22204 *-*-darwin* | *-*-cygwin* )
22205 THREAD_OPTS=""
22206 ;;
22207 *-*-aix*)
22208 THREAD_OPTS="pthreads"
22209 ;;
22210 esac
22211
22212 THREAD_OPTS="$THREAD_OPTS pthread none"
22213
22214 THREADS_OK=no
22215 for flag in $THREAD_OPTS; do
22216 case $flag in
22217 none)
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
22220 ;;
22221
22222 -*)
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"
22226 ;;
22227
22228 *)
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"
22232 ;;
22233 esac
22234
22235 save_LIBS="$LIBS"
22236 save_CFLAGS="$CFLAGS"
22237 LIBS="$THREADS_LINK $LIBS"
22238 CFLAGS="$THREADS_CFLAGS $CFLAGS"
22239
22240 cat >conftest.$ac_ext <<_ACEOF
22241 #line 22241 "configure"
22242 #include "confdefs.h"
22243 #include <pthread.h>
22244 int
22245 main ()
22246 {
22247 pthread_create(0,0,0,0);
22248 ;
22249 return 0;
22250 }
22251 _ACEOF
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
22255 ac_status=$?
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
22261 ac_status=$?
22262 echo "$as_me:22262: \$? = $ac_status" >&5
22263 (exit $ac_status); }; }; then
22264 THREADS_OK=yes
22265 else
22266 echo "$as_me: failed program was:" >&5
22267 cat conftest.$ac_ext >&5
22268 fi
22269 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22270
22271 LIBS="$save_LIBS"
22272 CFLAGS="$save_CFLAGS"
22273
22274 echo "$as_me:22274: result: $THREADS_OK" >&5
22275 echo "${ECHO_T}$THREADS_OK" >&6
22276 if test "x$THREADS_OK" = "xyes"; then
22277 break;
22278 fi
22279
22280 THREADS_LINK=""
22281 THREADS_CFLAGS=""
22282 done
22283
22284 if test "x$THREADS_OK" != "xyes"; then
22285 wxUSE_THREADS=no
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;}
22288 else
22289 LIBS="$THREADS_LINK $THREADS_CFLAGS $LIBS"
22290
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
22293 flag=no
22294 case "${host}" in
22295 *-aix* | *-freebsd*)
22296 flag="-D_THREAD_SAFE"
22297 ;;
22298 *solaris* | alpha*-osf*)
22299 flag="-D_REENTRANT"
22300 ;;
22301 esac
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"
22306 fi
22307
22308 if test "x$THREADS_CFLAGS" != "x"; then
22309 CFLAGS="$CFLAGS $THREADS_CFLAGS"
22310 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
22311 fi
22312 fi
22313 fi
22314
22315 if test "$wxUSE_THREADS" = "yes" ; then
22316
22317 for ac_func in thr_setconcurrency
22318 do
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
22324 else
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. */
22332 #ifdef __cplusplus
22333 extern "C"
22334 #endif
22335 /* We use char because int might match the return type of a gcc2
22336 builtin and then its argument prototype would still apply. */
22337 char $ac_func ();
22338 char (*f) ();
22339
22340 int
22341 main ()
22342 {
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)
22347 choke me
22348 #else
22349 f = $ac_func;
22350 #endif
22351
22352 ;
22353 return 0;
22354 }
22355 _ACEOF
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
22359 ac_status=$?
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
22365 ac_status=$?
22366 echo "$as_me:22366: \$? = $ac_status" >&5
22367 (exit $ac_status); }; }; then
22368 eval "$as_ac_var=yes"
22369 else
22370 echo "$as_me: failed program was:" >&5
22371 cat conftest.$ac_ext >&5
22372 eval "$as_ac_var=no"
22373 fi
22374 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22375 fi
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
22381 EOF
22382
22383 fi
22384 done
22385
22386 for ac_header in sched.h
22387 do
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
22393 else
22394 cat >conftest.$ac_ext <<_ACEOF
22395 #line 22395 "configure"
22396 #include "confdefs.h"
22397 #include <$ac_header>
22398 _ACEOF
22399 if { (eval echo "$as_me:22399: \"$ac_cpp conftest.$ac_ext\"") >&5
22400 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22401 ac_status=$?
22402 egrep -v '^ *\+' conftest.er1 >conftest.err
22403 rm -f conftest.er1
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
22409 else
22410 ac_cpp_err=
22411 fi
22412 else
22413 ac_cpp_err=yes
22414 fi
22415 if test -z "$ac_cpp_err"; then
22416 eval "$as_ac_Header=yes"
22417 else
22418 echo "$as_me: failed program was:" >&5
22419 cat conftest.$ac_ext >&5
22420 eval "$as_ac_Header=no"
22421 fi
22422 rm -f conftest.err conftest.$ac_ext
22423 fi
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
22429 EOF
22430
22431 fi
22432 done
22433
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
22439 else
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. */
22447 #ifdef __cplusplus
22448 extern "C"
22449 #endif
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 ();
22453 char (*f) ();
22454
22455 int
22456 main ()
22457 {
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)
22462 choke me
22463 #else
22464 f = sched_yield;
22465 #endif
22466
22467 ;
22468 return 0;
22469 }
22470 _ACEOF
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
22474 ac_status=$?
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
22480 ac_status=$?
22481 echo "$as_me:22481: \$? = $ac_status" >&5
22482 (exit $ac_status); }; }; then
22483 ac_cv_func_sched_yield=yes
22484 else
22485 echo "$as_me: failed program was:" >&5
22486 cat conftest.$ac_ext >&5
22487 ac_cv_func_sched_yield=no
22488 fi
22489 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22490 fi
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
22496 EOF
22497
22498 else
22499
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
22504 else
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"
22510
22511 /* Override any gcc2 internal prototype to avoid an error. */
22512 #ifdef __cplusplus
22513 extern "C"
22514 #endif
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 ();
22518 int
22519 main ()
22520 {
22521 sched_yield ();
22522 ;
22523 return 0;
22524 }
22525 _ACEOF
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
22529 ac_status=$?
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
22535 ac_status=$?
22536 echo "$as_me:22536: \$? = $ac_status" >&5
22537 (exit $ac_status); }; }; then
22538 ac_cv_lib_posix4_sched_yield=yes
22539 else
22540 echo "$as_me: failed program was:" >&5
22541 cat conftest.$ac_ext >&5
22542 ac_cv_lib_posix4_sched_yield=no
22543 fi
22544 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22545 LIBS=$ac_check_lib_save_LIBS
22546 fi
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
22552 EOF
22553 POSIX4_LINK=" -lposix4"
22554 else
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;}
22557
22558 fi
22559
22560 fi
22561
22562 fi
22563
22564 HAVE_PRIOR_FUNCS=0
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
22569 else
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. */
22577 #ifdef __cplusplus
22578 extern "C"
22579 #endif
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 ();
22583 char (*f) ();
22584
22585 int
22586 main ()
22587 {
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)
22592 choke me
22593 #else
22594 f = pthread_attr_getschedpolicy;
22595 #endif
22596
22597 ;
22598 return 0;
22599 }
22600 _ACEOF
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
22604 ac_status=$?
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
22610 ac_status=$?
22611 echo "$as_me:22611: \$? = $ac_status" >&5
22612 (exit $ac_status); }; }; then
22613 ac_cv_func_pthread_attr_getschedpolicy=yes
22614 else
22615 echo "$as_me: failed program was:" >&5
22616 cat conftest.$ac_ext >&5
22617 ac_cv_func_pthread_attr_getschedpolicy=no
22618 fi
22619 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22620 fi
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
22628 else
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
22633 else
22634 which can conflict with char pthread_attr_setschedparam (); below. */
22635 #include <assert.h>
22636 /* Override any gcc2 internal prototype to avoid an error. */
22637 #ifdef __cplusplus
22638 extern "C"
22639 #endif
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 ();
22643 char (*f) ();
22644
22645 int
22646 main ()
22647 {
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)
22652 choke me
22653 #else
22654 f = pthread_attr_setschedparam;
22655 #endif
22656
22657 ;
22658 return 0;
22659 }
22660 _ACEOF
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
22664 ac_status=$?
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
22670 ac_status=$?
22671 echo "$as_me:22671: \$? = $ac_status" >&5
22672 (exit $ac_status); }; }; then
22673 ac_cv_func_pthread_attr_setschedparam=yes
22674 else
22675 echo "$as_me: failed program was:" >&5
22676 cat conftest.$ac_ext >&5
22677 ac_cv_func_pthread_attr_setschedparam=no
22678 fi
22679 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22680 fi
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
22688 else
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
22693 else
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. */
22697 #ifdef __cplusplus
22698 extern "C"
22699 #endif
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 ();
22703 char (*f) ();
22704
22705 int
22706 main ()
22707 {
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)
22712 choke me
22713 #else
22714 f = sched_get_priority_max;
22715 #endif
22716
22717 ;
22718 return 0;
22719 }
22720 _ACEOF
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
22724 ac_status=$?
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
22730 ac_status=$?
22731 echo "$as_me:22731: \$? = $ac_status" >&5
22732 (exit $ac_status); }; }; then
22733 ac_cv_func_sched_get_priority_max=yes
22734 else
22735 echo "$as_me: failed program was:" >&5
22736 cat conftest.$ac_ext >&5
22737 ac_cv_func_sched_get_priority_max=no
22738 fi
22739 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22740 fi
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
22744 HAVE_PRIOR_FUNCS=1
22745 else
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
22750 else
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"
22756
22757 /* Override any gcc2 internal prototype to avoid an error. */
22758 #ifdef __cplusplus
22759 extern "C"
22760 #endif
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 ();
22764 int
22765 main ()
22766 {
22767 sched_get_priority_max ();
22768 ;
22769 return 0;
22770 }
22771 _ACEOF
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
22775 ac_status=$?
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
22781 ac_status=$?
22782 echo "$as_me:22782: \$? = $ac_status" >&5
22783 (exit $ac_status); }; }; then
22784 ac_cv_lib_posix4_sched_get_priority_max=yes
22785 else
22786 echo "$as_me: failed program was:" >&5
22787 cat conftest.$ac_ext >&5
22788 ac_cv_lib_posix4_sched_get_priority_max=no
22789 fi
22790 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22791 LIBS=$ac_check_lib_save_LIBS
22792 fi
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
22796
22797 HAVE_PRIOR_FUNCS=1
22798 POSIX4_LINK=" -lposix4"
22799
22800 fi
22801
22802 fi
22803
22804 fi
22805
22806 fi
22807
22808 if test "$HAVE_PRIOR_FUNCS" = 1; then
22809 cat >>confdefs.h <<\EOF
22810 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
22811 EOF
22812
22813 else
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;}
22816 fi
22817
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
22822 else
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. */
22830 #ifdef __cplusplus
22831 extern "C"
22832 #endif
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 ();
22836 char (*f) ();
22837
22838 int
22839 main ()
22840 {
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)
22845 choke me
22846 #else
22847 f = pthread_cancel;
22848 #endif
22849
22850 ;
22851 return 0;
22852 }
22853 _ACEOF
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
22857 ac_status=$?
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
22863 ac_status=$?
22864 echo "$as_me:22864: \$? = $ac_status" >&5
22865 (exit $ac_status); }; }; then
22866 ac_cv_func_pthread_cancel=yes
22867 else
22868 echo "$as_me: failed program was:" >&5
22869 cat conftest.$ac_ext >&5
22870 ac_cv_func_pthread_cancel=no
22871 fi
22872 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22873 fi
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
22879 EOF
22880
22881 else
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;}
22884 fi
22885
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
22890 else
22891
22892 cat >conftest.$ac_ext <<_ACEOF
22893 #line 22893 "configure"
22894 #include "confdefs.h"
22895 #include <pthread.h>
22896 int
22897 main ()
22898 {
22899
22900 pthread_cleanup_push(NULL, NULL);
22901 pthread_cleanup_pop(0);
22902
22903 ;
22904 return 0;
22905 }
22906 _ACEOF
22907 rm -f conftest.$ac_objext
22908 if { (eval echo "$as_me:22908: \"$ac_compile\"") >&5
22909 (eval $ac_compile) 2>&5
22910 ac_status=$?
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
22916 ac_status=$?
22917 echo "$as_me:22917: \$? = $ac_status" >&5
22918 (exit $ac_status); }; }; then
22919
22920 wx_cv_func_pthread_cleanup_push=yes
22921
22922 else
22923 echo "$as_me: failed program was:" >&5
22924 cat conftest.$ac_ext >&5
22925
22926 wx_cv_func_pthread_cleanup_push=no
22927
22928 fi
22929 rm -f conftest.$ac_objext conftest.$ac_ext
22930
22931 fi
22932 echo "$as_me:22932: result: $wx_cv_func_pthread_cleanup_push" >&5
22933 echo "${ECHO_T}$wx_cv_func_pthread_cleanup_push" >&6
22934
22935 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
22936 cat >>confdefs.h <<\EOF
22937 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
22938 EOF
22939
22940 fi
22941
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
22946 else
22947
22948 cat >conftest.$ac_ext <<_ACEOF
22949 #line 22949 "configure"
22950 #include "confdefs.h"
22951 #include <pthread.h>
22952 int
22953 main ()
22954 {
22955
22956 pthread_mutexattr_t attr;
22957 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
22958
22959 ;
22960 return 0;
22961 }
22962 _ACEOF
22963 rm -f conftest.$ac_objext
22964 if { (eval echo "$as_me:22964: \"$ac_compile\"") >&5
22965 (eval $ac_compile) 2>&5
22966 ac_status=$?
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
22972 ac_status=$?
22973 echo "$as_me:22973: \$? = $ac_status" >&5
22974 (exit $ac_status); }; }; then
22975
22976 wx_cv_type_pthread_mutexattr_t=yes
22977
22978 else
22979 echo "$as_me: failed program was:" >&5
22980 cat conftest.$ac_ext >&5
22981
22982 wx_cv_type_pthread_mutexattr_t=no
22983
22984 fi
22985 rm -f conftest.$ac_objext conftest.$ac_ext
22986
22987 fi
22988 echo "$as_me:22988: result: $wx_cv_type_pthread_mutexattr_t" >&5
22989 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
22990
22991 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
22992 cat >>confdefs.h <<\EOF
22993 #define HAVE_PTHREAD_MUTEXATTR_T 1
22994 EOF
22995
22996 else
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
23001 else
23002
23003 cat >conftest.$ac_ext <<_ACEOF
23004 #line 23004 "configure"
23005 #include "confdefs.h"
23006 #include <pthread.h>
23007 int
23008 main ()
23009 {
23010
23011 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
23012
23013 ;
23014 return 0;
23015 }
23016 _ACEOF
23017 rm -f conftest.$ac_objext
23018 if { (eval echo "$as_me:23018: \"$ac_compile\"") >&5
23019 (eval $ac_compile) 2>&5
23020 ac_status=$?
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
23026 ac_status=$?
23027 echo "$as_me:23027: \$? = $ac_status" >&5
23028 (exit $ac_status); }; }; then
23029
23030 wx_cv_type_pthread_rec_mutex_init=yes
23031
23032 else
23033 echo "$as_me: failed program was:" >&5
23034 cat conftest.$ac_ext >&5
23035
23036 wx_cv_type_pthread_rec_mutex_init=no
23037
23038 fi
23039 rm -f conftest.$ac_objext conftest.$ac_ext
23040
23041 fi
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
23047 EOF
23048
23049 else
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;}
23052 fi
23053 fi
23054 fi
23055
23056 fi
23057
23058 if test "$wxUSE_THREADS" = "yes"; then
23059 cat >>confdefs.h <<\EOF
23060 #define wxUSE_THREADS 1
23061 EOF
23062
23063 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
23064 else
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
23072 else
23073 echo "$as_me:23073: result: no" >&5
23074 echo "${ECHO_T}no" >&6
23075 fi
23076 fi
23077 fi
23078
23079 if test "$WXGTK20" = 1 ; then
23080 cat >>confdefs.h <<EOF
23081 #define __WXGTK20__ $WXGTK20
23082 EOF
23083
23084 WXGTK12=1
23085 fi
23086
23087 if test "$WXGTK12" = 1 ; then
23088 cat >>confdefs.h <<EOF
23089 #define __WXGTK12__ $WXGTK12
23090 EOF
23091
23092 fi
23093
23094 if test "$WXGTK127" = 1 ; then
23095 cat >>confdefs.h <<EOF
23096 #define __WXGTK127__ $WXGTK127
23097 EOF
23098
23099 fi
23100
23101 WXDEBUG=
23102
23103 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
23104 WXDEBUG="-g"
23105 wxUSE_OPTIMISE=no
23106 fi
23107
23108 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
23109 wxUSE_DEBUG_INFO=yes
23110 WXDEBUG="-ggdb"
23111 fi
23112
23113 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
23114 cat >>confdefs.h <<\EOF
23115 #define WXDEBUG 1
23116 EOF
23117
23118 WXDEBUG_DEFINE="-D__WXDEBUG__"
23119 else
23120 if test "$wxUSE_GTK" = 1 ; then
23121 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
23122 fi
23123 fi
23124
23125 if test "$wxUSE_MEM_TRACING" = "yes" ; then
23126 cat >>confdefs.h <<\EOF
23127 #define wxUSE_MEMORY_TRACING 1
23128 EOF
23129
23130 cat >>confdefs.h <<\EOF
23131 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
23132 EOF
23133
23134 cat >>confdefs.h <<\EOF
23135 #define wxUSE_DEBUG_NEW_ALWAYS 1
23136 EOF
23137
23138 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
23139 fi
23140
23141 if test "$wxUSE_DMALLOC" = "yes" ; then
23142 DMALLOC_LIBS="-ldmalloc"
23143 fi
23144
23145 PROFILE=
23146 if test "$wxUSE_PROFILE" = "yes" ; then
23147 PROFILE=" -pg"
23148 fi
23149
23150 CODE_GEN_FLAGS=
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"
23155 fi
23156 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
23157 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
23158 fi
23159 if test "$wxUSE_PERMISSIVE" = "yes" ; then
23160 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
23161 fi
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"
23167 fi
23168
23169 case "${host}" in
23170 powerpc*-*-aix* )
23171 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
23172 ;;
23173 esac
23174 fi
23175
23176 if test "$wxUSE_OPTIMISE" = "no" ; then
23177 OPTIMISE=
23178 else
23179 if test "$GCC" = yes ; then
23180 OPTIMISE="-O2"
23181 case "${host}" in
23182 i586-*-*|i686-*-* )
23183 OPTIMISE="${OPTIMISE} "
23184 ;;
23185 esac
23186 else
23187 OPTIMISE="-O"
23188 fi
23189 fi
23190
23191 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
23192 cat >>confdefs.h <<\EOF
23193 #define WXWIN_COMPATIBILITY_2 1
23194 EOF
23195
23196 WXWIN_COMPATIBILITY_2_2="yes"
23197 fi
23198
23199 if test "x$WXWIN_COMPATIBILITY_2_2" != "xno"; then
23200 cat >>confdefs.h <<\EOF
23201 #define WXWIN_COMPATIBILITY_2_2 1
23202 EOF
23203
23204 fi
23205
23206 if test "$wxUSE_GUI" = "yes"; then
23207 cat >>confdefs.h <<\EOF
23208 #define wxUSE_GUI 1
23209 EOF
23210
23211 else
23212 cat >>confdefs.h <<\EOF
23213 #define wxUSE_NOGUI 1
23214 EOF
23215
23216 fi
23217
23218 if test "$wxUSE_UNIX" = "yes"; then
23219 cat >>confdefs.h <<\EOF
23220 #define wxUSE_UNIX 1
23221 EOF
23222
23223 fi
23224
23225 if test "$wxUSE_APPLE_IEEE" = "yes"; then
23226 cat >>confdefs.h <<\EOF
23227 #define wxUSE_APPLE_IEEE 1
23228 EOF
23229
23230 fi
23231
23232 if test "$wxUSE_TIMER" = "yes"; then
23233 cat >>confdefs.h <<\EOF
23234 #define wxUSE_TIMER 1
23235 EOF
23236
23237 fi
23238
23239 if test "$wxUSE_WAVE" = "yes"; then
23240 cat >>confdefs.h <<\EOF
23241 #define wxUSE_WAVE 1
23242 EOF
23243
23244 fi
23245
23246 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
23247 cat >>confdefs.h <<\EOF
23248 #define wxUSE_CMDLINE_PARSER 1
23249 EOF
23250
23251 fi
23252
23253 if test "$wxUSE_STOPWATCH" = "yes"; then
23254 cat >>confdefs.h <<\EOF
23255 #define wxUSE_STOPWATCH 1
23256 EOF
23257
23258 fi
23259
23260 if test "$wxUSE_DATETIME" = "yes"; then
23261 cat >>confdefs.h <<\EOF
23262 #define wxUSE_DATETIME 1
23263 EOF
23264
23265 fi
23266
23267 if test "$wxUSE_TIMEDATE" = "yes"; then
23268 cat >>confdefs.h <<\EOF
23269 #define wxUSE_TIMEDATE 1
23270 EOF
23271
23272 fi
23273
23274 if test "$wxUSE_FILE" = "yes"; then
23275 cat >>confdefs.h <<\EOF
23276 #define wxUSE_FILE 1
23277 EOF
23278
23279 fi
23280
23281 if test "$wxUSE_FFILE" = "yes"; then
23282 cat >>confdefs.h <<\EOF
23283 #define wxUSE_FFILE 1
23284 EOF
23285
23286 fi
23287
23288 if test "$wxUSE_FILESYSTEM" = "yes"; then
23289 cat >>confdefs.h <<\EOF
23290 #define wxUSE_FILESYSTEM 1
23291 EOF
23292
23293 fi
23294
23295 if test "$wxUSE_FS_INET" = "yes"; then
23296 cat >>confdefs.h <<\EOF
23297 #define wxUSE_FS_INET 1
23298 EOF
23299
23300 fi
23301
23302 if test "$wxUSE_FS_ZIP" = "yes"; then
23303 cat >>confdefs.h <<\EOF
23304 #define wxUSE_FS_ZIP 1
23305 EOF
23306
23307 fi
23308
23309 if test "$wxUSE_ZIPSTREAM" = "yes"; then
23310 cat >>confdefs.h <<\EOF
23311 #define wxUSE_ZIPSTREAM 1
23312 EOF
23313
23314 fi
23315
23316 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
23317 cat >>confdefs.h <<\EOF
23318 #define wxUSE_ON_FATAL_EXCEPTION 1
23319 EOF
23320
23321 fi
23322
23323 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
23324 cat >>confdefs.h <<\EOF
23325 #define wxUSE_SNGLINST_CHECKER 1
23326 EOF
23327
23328 fi
23329
23330 if test "$wxUSE_BUSYINFO" = "yes"; then
23331 cat >>confdefs.h <<\EOF
23332 #define wxUSE_BUSYINFO 1
23333 EOF
23334
23335 fi
23336
23337 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23338 cat >>confdefs.h <<\EOF
23339 #define wxUSE_STD_IOSTREAM 1
23340 EOF
23341
23342 fi
23343
23344 if test "$wxUSE_TEXTBUFFER" = "yes"; then
23345 cat >>confdefs.h <<\EOF
23346 #define wxUSE_TEXTBUFFER 1
23347 EOF
23348
23349 fi
23350
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;}
23355 else
23356 cat >>confdefs.h <<\EOF
23357 #define wxUSE_TEXTFILE 1
23358 EOF
23359
23360 fi
23361 fi
23362
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;}
23367 else
23368 cat >>confdefs.h <<\EOF
23369 #define wxUSE_CONFIG 1
23370 EOF
23371
23372 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
23373 fi
23374 fi
23375
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;}
23380 else
23381 cat >>confdefs.h <<\EOF
23382 #define wxUSE_INTL 1
23383 EOF
23384
23385 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
23386 GUIDIST="$GUIDIST INTL_DIST"
23387 fi
23388 fi
23389
23390 if test "$wxUSE_LOG" = "yes"; then
23391 cat >>confdefs.h <<\EOF
23392 #define wxUSE_LOG 1
23393 EOF
23394
23395 if test "$wxUSE_LOGGUI" = "yes"; then
23396 cat >>confdefs.h <<\EOF
23397 #define wxUSE_LOGGUI 1
23398 EOF
23399
23400 fi
23401
23402 if test "$wxUSE_LOGWINDOW" = "yes"; then
23403 cat >>confdefs.h <<\EOF
23404 #define wxUSE_LOGWINDOW 1
23405 EOF
23406
23407 fi
23408
23409 if test "$wxUSE_LOGDIALOG" = "yes"; then
23410 cat >>confdefs.h <<\EOF
23411 #define wxUSE_LOG_DIALOG 1
23412 EOF
23413
23414 fi
23415 fi
23416
23417 if test "$wxUSE_LONGLONG" = "yes"; then
23418 cat >>confdefs.h <<\EOF
23419 #define wxUSE_LONGLONG 1
23420 EOF
23421
23422 fi
23423
23424 if test "$wxUSE_GEOMETRY" = "yes"; then
23425 cat >>confdefs.h <<\EOF
23426 #define wxUSE_GEOMETRY 1
23427 EOF
23428
23429 fi
23430
23431 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
23432 cat >>confdefs.h <<\EOF
23433 #define wxUSE_DIALUP_MANAGER 1
23434 EOF
23435
23436 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
23437 fi
23438
23439 if test "$wxUSE_STREAMS" = "yes" ; then
23440 cat >>confdefs.h <<\EOF
23441 #define wxUSE_STREAMS 1
23442 EOF
23443
23444 fi
23445
23446 if test "$wxUSE_DATETIME" = "yes"; then
23447
23448 for ac_func in strptime
23449 do
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
23455 else
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. */
23463 #ifdef __cplusplus
23464 extern "C"
23465 #endif
23466 /* We use char because int might match the return type of a gcc2
23467 builtin and then its argument prototype would still apply. */
23468 char $ac_func ();
23469 char (*f) ();
23470
23471 int
23472 main ()
23473 {
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)
23478 choke me
23479 #else
23480 f = $ac_func;
23481 #endif
23482
23483 ;
23484 return 0;
23485 }
23486 _ACEOF
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
23490 ac_status=$?
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
23496 ac_status=$?
23497 echo "$as_me:23497: \$? = $ac_status" >&5
23498 (exit $ac_status); }; }; then
23499 eval "$as_ac_var=yes"
23500 else
23501 echo "$as_me: failed program was:" >&5
23502 cat conftest.$ac_ext >&5
23503 eval "$as_ac_var=no"
23504 fi
23505 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23506 fi
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
23512 EOF
23513
23514 fi
23515 done
23516
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
23521 else
23522
23523 cat >conftest.$ac_ext <<_ACEOF
23524 #line 23524 "configure"
23525 #include "confdefs.h"
23526
23527 #include <time.h>
23528
23529 int
23530 main ()
23531 {
23532
23533 int tz;
23534 tz = timezone;
23535
23536 ;
23537 return 0;
23538 }
23539 _ACEOF
23540 rm -f conftest.$ac_objext
23541 if { (eval echo "$as_me:23541: \"$ac_compile\"") >&5
23542 (eval $ac_compile) 2>&5
23543 ac_status=$?
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
23549 ac_status=$?
23550 echo "$as_me:23550: \$? = $ac_status" >&5
23551 (exit $ac_status); }; }; then
23552
23553 wx_cv_var_timezone=timezone
23554
23555 else
23556 echo "$as_me: failed program was:" >&5
23557 cat conftest.$ac_ext >&5
23558
23559 cat >conftest.$ac_ext <<_ACEOF
23560 #line 23560 "configure"
23561 #include "confdefs.h"
23562
23563 #include <time.h>
23564
23565 int
23566 main ()
23567 {
23568
23569 int tz;
23570 tz = _timezone;
23571
23572 ;
23573 return 0;
23574 }
23575 _ACEOF
23576 rm -f conftest.$ac_objext
23577 if { (eval echo "$as_me:23577: \"$ac_compile\"") >&5
23578 (eval $ac_compile) 2>&5
23579 ac_status=$?
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
23585 ac_status=$?
23586 echo "$as_me:23586: \$? = $ac_status" >&5
23587 (exit $ac_status); }; }; then
23588
23589 wx_cv_var_timezone=_timezone
23590
23591 else
23592 echo "$as_me: failed program was:" >&5
23593 cat conftest.$ac_ext >&5
23594
23595 cat >conftest.$ac_ext <<_ACEOF
23596 #line 23596 "configure"
23597 #include "confdefs.h"
23598
23599 #include <time.h>
23600
23601 int
23602 main ()
23603 {
23604
23605 int tz;
23606 tz = __timezone;
23607
23608 ;
23609 return 0;
23610 }
23611 _ACEOF
23612 rm -f conftest.$ac_objext
23613 if { (eval echo "$as_me:23613: \"$ac_compile\"") >&5
23614 (eval $ac_compile) 2>&5
23615 ac_status=$?
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
23621 ac_status=$?
23622 echo "$as_me:23622: \$? = $ac_status" >&5
23623 (exit $ac_status); }; }; then
23624
23625 wx_cv_var_timezone=__timezone
23626
23627 else
23628 echo "$as_me: failed program was:" >&5
23629 cat conftest.$ac_ext >&5
23630
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;}
23634 fi
23635
23636 fi
23637 rm -f conftest.$ac_objext conftest.$ac_ext
23638
23639 fi
23640 rm -f conftest.$ac_objext conftest.$ac_ext
23641
23642 fi
23643 rm -f conftest.$ac_objext conftest.$ac_ext
23644
23645 fi
23646 echo "$as_me:23646: result: $wx_cv_var_timezone" >&5
23647 echo "${ECHO_T}$wx_cv_var_timezone" >&6
23648
23649 if test "x$wx_cv_var_timezone" != x ; then
23650 cat >>confdefs.h <<EOF
23651 #define WX_TIMEZONE $wx_cv_var_timezone
23652 EOF
23653
23654 fi
23655
23656 for ac_func in localtime
23657 do
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
23663 else
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. */
23671 #ifdef __cplusplus
23672 extern "C"
23673 #endif
23674 /* We use char because int might match the return type of a gcc2
23675 builtin and then its argument prototype would still apply. */
23676 char $ac_func ();
23677 char (*f) ();
23678
23679 int
23680 main ()
23681 {
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)
23686 choke me
23687 #else
23688 f = $ac_func;
23689 #endif
23690
23691 ;
23692 return 0;
23693 }
23694 _ACEOF
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
23698 ac_status=$?
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
23704 ac_status=$?
23705 echo "$as_me:23705: \$? = $ac_status" >&5
23706 (exit $ac_status); }; }; then
23707 eval "$as_ac_var=yes"
23708 else
23709 echo "$as_me: failed program was:" >&5
23710 cat conftest.$ac_ext >&5
23711 eval "$as_ac_var=no"
23712 fi
23713 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23714 fi
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
23720 EOF
23721
23722 fi
23723 done
23724
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
23730 else
23731
23732 cat >conftest.$ac_ext <<_ACEOF
23733 #line 23733 "configure"
23734 #include "confdefs.h"
23735
23736 #include <time.h>
23737
23738 int
23739 main ()
23740 {
23741
23742 struct tm tm;
23743 tm.tm_gmtoff++;
23744
23745 ;
23746 return 0;
23747 }
23748 _ACEOF
23749 rm -f conftest.$ac_objext
23750 if { (eval echo "$as_me:23750: \"$ac_compile\"") >&5
23751 (eval $ac_compile) 2>&5
23752 ac_status=$?
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
23758 ac_status=$?
23759 echo "$as_me:23759: \$? = $ac_status" >&5
23760 (exit $ac_status); }; }; then
23761
23762 wx_cv_struct_tm_has_gmtoff=yes
23763
23764 else
23765 echo "$as_me: failed program was:" >&5
23766 cat conftest.$ac_ext >&5
23767 wx_cv_struct_tm_has_gmtoff=no
23768
23769 fi
23770 rm -f conftest.$ac_objext conftest.$ac_ext
23771
23772 fi
23773 echo "$as_me:23773: result: $wx_cv_struct_tm_has_gmtoff" >&5
23774 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
23775 fi
23776
23777 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
23778 cat >>confdefs.h <<\EOF
23779 #define WX_GMTOFF_IN_TM 1
23780 EOF
23781
23782 fi
23783
23784 for ac_func in gettimeofday ftime
23785 do
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
23791 else
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. */
23799 #ifdef __cplusplus
23800 extern "C"
23801 #endif
23802 /* We use char because int might match the return type of a gcc2
23803 builtin and then its argument prototype would still apply. */
23804 char $ac_func ();
23805 char (*f) ();
23806
23807 int
23808 main ()
23809 {
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)
23814 choke me
23815 #else
23816 f = $ac_func;
23817 #endif
23818
23819 ;
23820 return 0;
23821 }
23822 _ACEOF
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
23826 ac_status=$?
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
23832 ac_status=$?
23833 echo "$as_me:23833: \$? = $ac_status" >&5
23834 (exit $ac_status); }; }; then
23835 eval "$as_ac_var=yes"
23836 else
23837 echo "$as_me: failed program was:" >&5
23838 cat conftest.$ac_ext >&5
23839 eval "$as_ac_var=no"
23840 fi
23841 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23842 fi
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
23848 EOF
23849 break
23850 fi
23851 done
23852
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
23858 else
23859
23860 ac_ext=cc
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
23865
23866 cat >conftest.$ac_ext <<_ACEOF
23867 #line 23867 "configure"
23868 #include "confdefs.h"
23869
23870 #include <sys/time.h>
23871 #include <unistd.h>
23872
23873 int
23874 main ()
23875 {
23876
23877 struct timeval tv;
23878 gettimeofday(&tv, NULL);
23879
23880 ;
23881 return 0;
23882 }
23883 _ACEOF
23884 rm -f conftest.$ac_objext
23885 if { (eval echo "$as_me:23885: \"$ac_compile\"") >&5
23886 (eval $ac_compile) 2>&5
23887 ac_status=$?
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
23893 ac_status=$?
23894 echo "$as_me:23894: \$? = $ac_status" >&5
23895 (exit $ac_status); }; }; then
23896 wx_cv_func_gettimeofday_has_2_args=yes
23897 else
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"
23903
23904 #include <sys/time.h>
23905 #include <unistd.h>
23906
23907 int
23908 main ()
23909 {
23910
23911 struct timeval tv;
23912 gettimeofday(&tv);
23913
23914 ;
23915 return 0;
23916 }
23917 _ACEOF
23918 rm -f conftest.$ac_objext
23919 if { (eval echo "$as_me:23919: \"$ac_compile\"") >&5
23920 (eval $ac_compile) 2>&5
23921 ac_status=$?
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
23927 ac_status=$?
23928 echo "$as_me:23928: \$? = $ac_status" >&5
23929 (exit $ac_status); }; }; then
23930 wx_cv_func_gettimeofday_has_2_args=no
23931 else
23932 echo "$as_me: failed program was:" >&5
23933 cat conftest.$ac_ext >&5
23934
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
23938
23939 fi
23940 rm -f conftest.$ac_objext conftest.$ac_ext
23941
23942 fi
23943 rm -f conftest.$ac_objext conftest.$ac_ext
23944 ac_ext=c
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
23949
23950 fi
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
23953
23954 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
23955 cat >>confdefs.h <<\EOF
23956 #define WX_GETTIMEOFDAY_NO_TZ 1
23957 EOF
23958
23959 fi
23960 fi
23961
23962 cat >>confdefs.h <<\EOF
23963 #define wxUSE_TIMEDATE 1
23964 EOF
23965
23966 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
23967 fi
23968
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;}
23973 wxUSE_SOCKETS="no"
23974 fi
23975 fi
23976
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
23983 else
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. */
23991 #ifdef __cplusplus
23992 extern "C"
23993 #endif
23994 /* We use char because int might match the return type of a gcc2
23995 builtin and then its argument prototype would still apply. */
23996 char socket ();
23997 char (*f) ();
23998
23999 int
24000 main ()
24001 {
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)
24006 choke me
24007 #else
24008 f = socket;
24009 #endif
24010
24011 ;
24012 return 0;
24013 }
24014 _ACEOF
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
24018 ac_status=$?
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
24024 ac_status=$?
24025 echo "$as_me:24025: \$? = $ac_status" >&5
24026 (exit $ac_status); }; }; then
24027 ac_cv_func_socket=yes
24028 else
24029 echo "$as_me: failed program was:" >&5
24030 cat conftest.$ac_ext >&5
24031 ac_cv_func_socket=no
24032 fi
24033 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24034 fi
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
24038 :
24039 else
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
24044 else
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"
24050
24051 /* Override any gcc2 internal prototype to avoid an error. */
24052 #ifdef __cplusplus
24053 extern "C"
24054 #endif
24055 /* We use char because int might match the return type of a gcc2
24056 builtin and then its argument prototype would still apply. */
24057 char socket ();
24058 int
24059 main ()
24060 {
24061 socket ();
24062 ;
24063 return 0;
24064 }
24065 _ACEOF
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
24069 ac_status=$?
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
24075 ac_status=$?
24076 echo "$as_me:24076: \$? = $ac_status" >&5
24077 (exit $ac_status); }; }; then
24078 ac_cv_lib_socket_socket=yes
24079 else
24080 echo "$as_me: failed program was:" >&5
24081 cat conftest.$ac_ext >&5
24082 ac_cv_lib_socket_socket=no
24083 fi
24084 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24085 LIBS=$ac_check_lib_save_LIBS
24086 fi
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"
24092 fi
24093 else
24094
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;}
24097 wxUSE_SOCKETS=no
24098
24099 fi
24100
24101 fi
24102
24103 fi
24104 fi
24105
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
24112 else
24113
24114 ac_ext=cc
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
24119
24120 cat >conftest.$ac_ext <<_ACEOF
24121 #line 24121 "configure"
24122 #include "confdefs.h"
24123
24124 #include <sys/types.h>
24125 #include <sys/socket.h>
24126
24127 int
24128 main ()
24129 {
24130
24131 socklen_t len;
24132 getsockname(0, 0, &len);
24133
24134 ;
24135 return 0;
24136 }
24137 _ACEOF
24138 rm -f conftest.$ac_objext
24139 if { (eval echo "$as_me:24139: \"$ac_compile\"") >&5
24140 (eval $ac_compile) 2>&5
24141 ac_status=$?
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
24147 ac_status=$?
24148 echo "$as_me:24148: \$? = $ac_status" >&5
24149 (exit $ac_status); }; }; then
24150 wx_cv_type_getsockname3=socklen_t
24151 else
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"
24157
24158 #include <sys/types.h>
24159 #include <sys/socket.h>
24160
24161 int
24162 main ()
24163 {
24164
24165 size_t len;
24166 getsockname(0, 0, &len);
24167
24168 ;
24169 return 0;
24170 }
24171 _ACEOF
24172 rm -f conftest.$ac_objext
24173 if { (eval echo "$as_me:24173: \"$ac_compile\"") >&5
24174 (eval $ac_compile) 2>&5
24175 ac_status=$?
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
24181 ac_status=$?
24182 echo "$as_me:24182: \$? = $ac_status" >&5
24183 (exit $ac_status); }; }; then
24184 wx_cv_type_getsockname3=size_t
24185 else
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"
24191
24192 #include <sys/types.h>
24193 #include <sys/socket.h>
24194
24195 int
24196 main ()
24197 {
24198
24199 int len;
24200 getsockname(0, 0, &len);
24201
24202 ;
24203 return 0;
24204 }
24205 _ACEOF
24206 rm -f conftest.$ac_objext
24207 if { (eval echo "$as_me:24207: \"$ac_compile\"") >&5
24208 (eval $ac_compile) 2>&5
24209 ac_status=$?
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
24215 ac_status=$?
24216 echo "$as_me:24216: \$? = $ac_status" >&5
24217 (exit $ac_status); }; }; then
24218 wx_cv_type_getsockname3=int
24219 else
24220 echo "$as_me: failed program was:" >&5
24221 cat conftest.$ac_ext >&5
24222 wx_cv_type_getsockname3=unknown
24223
24224 fi
24225 rm -f conftest.$ac_objext conftest.$ac_ext
24226
24227 fi
24228 rm -f conftest.$ac_objext conftest.$ac_ext
24229
24230 fi
24231 rm -f conftest.$ac_objext conftest.$ac_ext
24232
24233 ac_ext=c
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
24238
24239 fi
24240 echo "$as_me:24240: result: $wx_cv_type_getsockname3" >&5
24241 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
24242
24243 if test "$wx_cv_type_getsockname3" = "unknown"; then
24244 wxUSE_SOCKETS=no
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;}
24247 else
24248 cat >>confdefs.h <<EOF
24249 #define SOCKLEN_T $wx_cv_type_getsockname3
24250 EOF
24251
24252 fi
24253 fi
24254 fi
24255
24256 if test "$wxUSE_SOCKETS" = "yes" ; then
24257 cat >>confdefs.h <<\EOF
24258 #define wxUSE_SOCKETS 1
24259 EOF
24260
24261 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
24262 fi
24263
24264 if test "$wxUSE_GUI" = "yes"; then
24265
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;}
24269 wxUSE_JOYSTICK=no
24270 fi
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;}
24274 wxUSE_JOYSTICK=no
24275 fi
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;}
24279 wxUSE_JOYSTICK=no
24280 fi
24281
24282 if test "$TOOLKIT" != "MSW"; then
24283 if test "$wxUSE_JOYSTICK" = "yes"; then
24284
24285 for ac_header in linux/joystick.h
24286 do
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
24292 else
24293 cat >conftest.$ac_ext <<_ACEOF
24294 #line 24294 "configure"
24295 #include "confdefs.h"
24296 #include <$ac_header>
24297 _ACEOF
24298 if { (eval echo "$as_me:24298: \"$ac_cpp conftest.$ac_ext\"") >&5
24299 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24300 ac_status=$?
24301 egrep -v '^ *\+' conftest.er1 >conftest.err
24302 rm -f conftest.er1
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
24308 else
24309 ac_cpp_err=
24310 fi
24311 else
24312 ac_cpp_err=yes
24313 fi
24314 if test -z "$ac_cpp_err"; then
24315 eval "$as_ac_Header=yes"
24316 else
24317 echo "$as_me: failed program was:" >&5
24318 cat conftest.$ac_ext >&5
24319 eval "$as_ac_Header=no"
24320 fi
24321 rm -f conftest.err conftest.$ac_ext
24322 fi
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
24328 EOF
24329
24330 fi
24331 done
24332
24333 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
24334 wxUSE_JOYSTICK=no
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;}
24337 fi
24338 fi
24339 fi
24340
24341 if test "$wxUSE_JOYSTICK" = "yes"; then
24342 cat >>confdefs.h <<\EOF
24343 #define wxUSE_JOYSTICK 1
24344 EOF
24345
24346 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
24347 fi
24348 fi
24349
24350 if test "$TOOLKIT" != "MSW"; then
24351
24352 HAVE_DL_FUNCS=0
24353 HAVE_SHL_FUNCS=0
24354 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
24355 if test "$USE_DARWIN" = 1; then
24356 HAVE_DL_FUNCS=1
24357 else
24358
24359 for ac_func in dlopen
24360 do
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
24366 else
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. */
24374 #ifdef __cplusplus
24375 extern "C"
24376 #endif
24377 /* We use char because int might match the return type of a gcc2
24378 builtin and then its argument prototype would still apply. */
24379 char $ac_func ();
24380 char (*f) ();
24381
24382 int
24383 main ()
24384 {
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)
24389 choke me
24390 #else
24391 f = $ac_func;
24392 #endif
24393
24394 ;
24395 return 0;
24396 }
24397 _ACEOF
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
24401 ac_status=$?
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
24407 ac_status=$?
24408 echo "$as_me:24408: \$? = $ac_status" >&5
24409 (exit $ac_status); }; }; then
24410 eval "$as_ac_var=yes"
24411 else
24412 echo "$as_me: failed program was:" >&5
24413 cat conftest.$ac_ext >&5
24414 eval "$as_ac_var=no"
24415 fi
24416 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24417 fi
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
24423 EOF
24424
24425 cat >>confdefs.h <<\EOF
24426 #define HAVE_DLOPEN 1
24427 EOF
24428
24429 HAVE_DL_FUNCS=1
24430
24431 else
24432
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
24437 else
24438 ac_check_lib_save_LIBS=$LIBS
24439 LIBS="-ldl $LIBS"
24440 cat >conftest.$ac_ext <<_ACEOF
24441 #line 24441 "configure"
24442 #include "confdefs.h"
24443
24444 /* Override any gcc2 internal prototype to avoid an error. */
24445 #ifdef __cplusplus
24446 extern "C"
24447 #endif
24448 /* We use char because int might match the return type of a gcc2
24449 builtin and then its argument prototype would still apply. */
24450 char dlopen ();
24451 int
24452 main ()
24453 {
24454 dlopen ();
24455 ;
24456 return 0;
24457 }
24458 _ACEOF
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
24462 ac_status=$?
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
24468 ac_status=$?
24469 echo "$as_me:24469: \$? = $ac_status" >&5
24470 (exit $ac_status); }; }; then
24471 ac_cv_lib_dl_dlopen=yes
24472 else
24473 echo "$as_me: failed program was:" >&5
24474 cat conftest.$ac_ext >&5
24475 ac_cv_lib_dl_dlopen=no
24476 fi
24477 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24478 LIBS=$ac_check_lib_save_LIBS
24479 fi
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
24483
24484 cat >>confdefs.h <<\EOF
24485 #define HAVE_DLOPEN 1
24486 EOF
24487
24488 HAVE_DL_FUNCS=1
24489 DL_LINK=" -ldl$DL_LINK"
24490
24491 else
24492
24493 for ac_func in shl_load
24494 do
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
24500 else
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. */
24508 #ifdef __cplusplus
24509 extern "C"
24510 #endif
24511 /* We use char because int might match the return type of a gcc2
24512 builtin and then its argument prototype would still apply. */
24513 char $ac_func ();
24514 char (*f) ();
24515
24516 int
24517 main ()
24518 {
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)
24523 choke me
24524 #else
24525 f = $ac_func;
24526 #endif
24527
24528 ;
24529 return 0;
24530 }
24531 _ACEOF
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
24535 ac_status=$?
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
24541 ac_status=$?
24542 echo "$as_me:24542: \$? = $ac_status" >&5
24543 (exit $ac_status); }; }; then
24544 eval "$as_ac_var=yes"
24545 else
24546 echo "$as_me: failed program was:" >&5
24547 cat conftest.$ac_ext >&5
24548 eval "$as_ac_var=no"
24549 fi
24550 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24551 fi
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
24557 EOF
24558
24559 cat >>confdefs.h <<\EOF
24560 #define HAVE_SHL_LOAD 1
24561 EOF
24562
24563 HAVE_SHL_FUNCS=1
24564
24565 else
24566
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
24571 else
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"
24577
24578 /* Override any gcc2 internal prototype to avoid an error. */
24579 #ifdef __cplusplus
24580 extern "C"
24581 #endif
24582 /* We use char because int might match the return type of a gcc2
24583 builtin and then its argument prototype would still apply. */
24584 char dld ();
24585 int
24586 main ()
24587 {
24588 dld ();
24589 ;
24590 return 0;
24591 }
24592 _ACEOF
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
24596 ac_status=$?
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
24602 ac_status=$?
24603 echo "$as_me:24603: \$? = $ac_status" >&5
24604 (exit $ac_status); }; }; then
24605 ac_cv_lib_shl_load_dld=yes
24606 else
24607 echo "$as_me: failed program was:" >&5
24608 cat conftest.$ac_ext >&5
24609 ac_cv_lib_shl_load_dld=no
24610 fi
24611 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24612 LIBS=$ac_check_lib_save_LIBS
24613 fi
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
24617
24618 HAVE_SHL_FUNCS=1
24619 DL_LINK=" -ldld$DL_LINK"
24620
24621 fi
24622
24623 fi
24624 done
24625
24626 fi
24627
24628 fi
24629 done
24630
24631 if test "$HAVE_DL_FUNCS" = 1; then
24632
24633 for ac_func in dlerror
24634 do
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
24640 else
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. */
24648 #ifdef __cplusplus
24649 extern "C"
24650 #endif
24651 /* We use char because int might match the return type of a gcc2
24652 builtin and then its argument prototype would still apply. */
24653 char $ac_func ();
24654 char (*f) ();
24655
24656 int
24657 main ()
24658 {
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)
24663 choke me
24664 #else
24665 f = $ac_func;
24666 #endif
24667
24668 ;
24669 return 0;
24670 }
24671 _ACEOF
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
24675 ac_status=$?
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
24681 ac_status=$?
24682 echo "$as_me:24682: \$? = $ac_status" >&5
24683 (exit $ac_status); }; }; then
24684 eval "$as_ac_var=yes"
24685 else
24686 echo "$as_me: failed program was:" >&5
24687 cat conftest.$ac_ext >&5
24688 eval "$as_ac_var=no"
24689 fi
24690 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24691 fi
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
24697 EOF
24698 cat >>confdefs.h <<\EOF
24699 #define HAVE_DLERROR 1
24700 EOF
24701
24702 else
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
24707 else
24708 ac_check_lib_save_LIBS=$LIBS
24709 LIBS="-ldl $LIBS"
24710 cat >conftest.$ac_ext <<_ACEOF
24711 #line 24711 "configure"
24712 #include "confdefs.h"
24713
24714 /* Override any gcc2 internal prototype to avoid an error. */
24715 #ifdef __cplusplus
24716 extern "C"
24717 #endif
24718 /* We use char because int might match the return type of a gcc2
24719 builtin and then its argument prototype would still apply. */
24720 char dlerror ();
24721 int
24722 main ()
24723 {
24724 dlerror ();
24725 ;
24726 return 0;
24727 }
24728 _ACEOF
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
24732 ac_status=$?
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
24738 ac_status=$?
24739 echo "$as_me:24739: \$? = $ac_status" >&5
24740 (exit $ac_status); }; }; then
24741 ac_cv_lib_dl_dlerror=yes
24742 else
24743 echo "$as_me: failed program was:" >&5
24744 cat conftest.$ac_ext >&5
24745 ac_cv_lib_dl_dlerror=no
24746 fi
24747 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24748 LIBS=$ac_check_lib_save_LIBS
24749 fi
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
24755 EOF
24756
24757 fi
24758
24759 fi
24760 done
24761
24762 fi
24763 fi
24764
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
24772 else
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;}
24775 fi
24776 fi
24777 fi
24778 fi
24779 fi
24780
24781 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
24782 cat >>confdefs.h <<\EOF
24783 #define wxUSE_DYNAMIC_LOADER 1
24784 EOF
24785
24786 elif test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
24787 cat >>confdefs.h <<\EOF
24788 #define wxUSE_DYNLIB_CLASS 1
24789 EOF
24790
24791 fi
24792
24793 if test "$wxUSE_FONTMAP" = "yes" ; then
24794 cat >>confdefs.h <<\EOF
24795 #define wxUSE_FONTMAP 1
24796 EOF
24797
24798 fi
24799
24800 if test "$wxUSE_UNICODE" = "yes" ; then
24801 cat >>confdefs.h <<\EOF
24802 #define wxUSE_UNICODE 1
24803 EOF
24804
24805 if test "$wxUSE_MSW" != 1; then
24806 wxUSE_UNICODE_MSLU=no
24807 fi
24808
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
24814 else
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"
24820
24821 int
24822 main ()
24823 {
24824 main ();
24825 ;
24826 return 0;
24827 }
24828 _ACEOF
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
24832 ac_status=$?
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
24838 ac_status=$?
24839 echo "$as_me:24839: \$? = $ac_status" >&5
24840 (exit $ac_status); }; }; then
24841 ac_cv_lib_unicows_main=yes
24842 else
24843 echo "$as_me: failed program was:" >&5
24844 cat conftest.$ac_ext >&5
24845 ac_cv_lib_unicows_main=no
24846 fi
24847 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24848 LIBS=$ac_check_lib_save_LIBS
24849 fi
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
24853
24854 cat >>confdefs.h <<\EOF
24855 #define wxUSE_UNICODE_MSLU 1
24856 EOF
24857
24858 else
24859
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
24865
24866 fi
24867
24868 fi
24869 fi
24870
24871 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
24872 cat >>confdefs.h <<\EOF
24873 #define wxUSE_EXPERIMENTAL_PRINTF 1
24874 EOF
24875
24876 fi
24877
24878 IODBC_C_SRC=""
24879 if test "$wxUSE_ODBC" = "yes" ; then
24880 cat >>confdefs.h <<\EOF
24881 #define wxUSE_ODBC 1
24882 EOF
24883
24884 WXODBCFLAG="-D_IODBC_"
24885 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
24886 fi
24887
24888 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
24889 cat >>confdefs.h <<\EOF
24890 #define wxUSE_POSTSCRIPT 1
24891 EOF
24892
24893 fi
24894
24895 cat >>confdefs.h <<\EOF
24896 #define wxUSE_AFM_FOR_POSTSCRIPT 1
24897 EOF
24898
24899 cat >>confdefs.h <<\EOF
24900 #define wxUSE_NORMALIZED_PS_FONTS 1
24901 EOF
24902
24903 if test "$wxUSE_CONSTRAINTS" = "yes"; then
24904 cat >>confdefs.h <<\EOF
24905 #define wxUSE_CONSTRAINTS 1
24906 EOF
24907
24908 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
24909 fi
24910
24911 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
24912
24913 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
24914 cat >>confdefs.h <<\EOF
24915 #define wxUSE_MDI_ARCHITECTURE 1
24916 EOF
24917
24918 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
24919 fi
24920 fi
24921
24922 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
24923 cat >>confdefs.h <<\EOF
24924 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
24925 EOF
24926
24927 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
24928 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
24929 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
24930 fi
24931 fi
24932
24933 if test "$wxUSE_HELP" = "yes"; then
24934 cat >>confdefs.h <<\EOF
24935 #define wxUSE_HELP 1
24936 EOF
24937
24938 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
24939
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
24944 EOF
24945
24946 fi
24947 fi
24948
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
24953 EOF
24954
24955 else
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
24959 fi
24960 fi
24961 fi
24962
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;}
24967 else
24968 cat >>confdefs.h <<\EOF
24969 #define wxUSE_PRINTING_ARCHITECTURE 1
24970 EOF
24971
24972 fi
24973 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
24974 fi
24975
24976 if test "$wxUSE_PROLOGIO" = "yes" ; then
24977 cat >>confdefs.h <<\EOF
24978 #define wxUSE_PROLOGIO 1
24979 EOF
24980
24981 fi
24982
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;}
24987 else
24988 cat >>confdefs.h <<\EOF
24989 #define wxUSE_RESOURCES 1
24990 EOF
24991
24992 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS resource"
24993 fi
24994 fi
24995
24996 if test "$wxUSE_X_RESOURCES" = "yes"; then
24997 cat >>confdefs.h <<\EOF
24998 #define wxUSE_X_RESOURCES 1
24999 EOF
25000
25001 fi
25002
25003 if test "$wxUSE_MSW" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
25004 -o "$wxUSE_CLIPBOARD" = "yes" \
25005 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
25006
25007 for ac_header in ole2.h
25008 do
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
25014 else
25015 cat >conftest.$ac_ext <<_ACEOF
25016 #line 25016 "configure"
25017 #include "confdefs.h"
25018 #include <$ac_header>
25019 _ACEOF
25020 if { (eval echo "$as_me:25020: \"$ac_cpp conftest.$ac_ext\"") >&5
25021 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25022 ac_status=$?
25023 egrep -v '^ *\+' conftest.er1 >conftest.err
25024 rm -f conftest.er1
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
25030 else
25031 ac_cpp_err=
25032 fi
25033 else
25034 ac_cpp_err=yes
25035 fi
25036 if test -z "$ac_cpp_err"; then
25037 eval "$as_ac_Header=yes"
25038 else
25039 echo "$as_me: failed program was:" >&5
25040 cat conftest.$ac_ext >&5
25041 eval "$as_ac_Header=no"
25042 fi
25043 rm -f conftest.err conftest.$ac_ext
25044 fi
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
25050 EOF
25051
25052 fi
25053 done
25054
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
25062 EOF
25063
25064 fi
25065
25066 cat >>confdefs.h <<\EOF
25067 #define wxUSE_DATAOBJ 1
25068 EOF
25069
25070 else
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;}
25073
25074 wxUSE_CLIPBOARD=no
25075 wxUSE_DRAG_AND_DROP=no
25076 wxUSE_DATAOBJ=no
25077 fi
25078
25079 if test "$wxUSE_METAFILE" = "yes"; then
25080 cat >>confdefs.h <<\EOF
25081 #define wxUSE_METAFILE 1
25082 EOF
25083
25084 cat >>confdefs.h <<\EOF
25085 #define wxUSE_ENH_METAFILE 1
25086 EOF
25087
25088 fi
25089 fi
25090
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;}
25095 fi
25096
25097 cat >>confdefs.h <<\EOF
25098 #define wxUSE_IPC 1
25099 EOF
25100
25101 fi
25102
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;}
25107 wxUSE_CLIPBOARD=no
25108 fi
25109
25110 if test "$wxUSE_CLIPBOARD" = "yes"; then
25111 cat >>confdefs.h <<\EOF
25112 #define wxUSE_CLIPBOARD 1
25113 EOF
25114
25115 cat >>confdefs.h <<\EOF
25116 #define wxUSE_DATAOBJ 1
25117 EOF
25118
25119 fi
25120 fi
25121
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
25128 fi
25129 fi
25130
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
25135 fi
25136
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
25141 fi
25142
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
25147 fi
25148
25149 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
25150 cat >>confdefs.h <<\EOF
25151 #define wxUSE_DRAG_AND_DROP 1
25152 EOF
25153
25154 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
25155 fi
25156
25157 fi
25158
25159 if test "$wxUSE_SPLINES" = "yes" ; then
25160 cat >>confdefs.h <<\EOF
25161 #define wxUSE_SPLINES 1
25162 EOF
25163
25164 fi
25165
25166 USES_CONTROLS=0
25167 if test "$wxUSE_CONTROLS" = "yes"; then
25168 USES_CONTROLS=1
25169 fi
25170
25171 if test "$wxUSE_ACCEL" = "yes"; then
25172 cat >>confdefs.h <<\EOF
25173 #define wxUSE_ACCEL 1
25174 EOF
25175
25176 USES_CONTROLS=1
25177 fi
25178
25179 if test "$wxUSE_BUTTON" = "yes"; then
25180 cat >>confdefs.h <<\EOF
25181 #define wxUSE_BUTTON 1
25182 EOF
25183
25184 USES_CONTROLS=1
25185 fi
25186
25187 if test "$wxUSE_BMPBUTTON" = "yes"; then
25188 cat >>confdefs.h <<\EOF
25189 #define wxUSE_BMPBUTTON 1
25190 EOF
25191
25192 USES_CONTROLS=1
25193 fi
25194
25195 if test "$wxUSE_CALCTRL" = "yes"; then
25196 cat >>confdefs.h <<\EOF
25197 #define wxUSE_CALENDARCTRL 1
25198 EOF
25199
25200 USES_CONTROLS=1
25201 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
25202 fi
25203
25204 if test "$wxUSE_CARET" = "yes"; then
25205 cat >>confdefs.h <<\EOF
25206 #define wxUSE_CARET 1
25207 EOF
25208
25209 USES_CONTROLS=1
25210 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
25211 fi
25212
25213 if test "$wxUSE_COMBOBOX" = "yes"; then
25214 cat >>confdefs.h <<\EOF
25215 #define wxUSE_COMBOBOX 1
25216 EOF
25217
25218 USES_CONTROLS=1
25219 fi
25220
25221 if test "$wxUSE_CHOICE" = "yes"; then
25222 cat >>confdefs.h <<\EOF
25223 #define wxUSE_CHOICE 1
25224 EOF
25225
25226 USES_CONTROLS=1
25227 fi
25228
25229 if test "$wxUSE_CHECKBOX" = "yes"; then
25230 cat >>confdefs.h <<\EOF
25231 #define wxUSE_CHECKBOX 1
25232 EOF
25233
25234 USES_CONTROLS=1
25235 fi
25236
25237 if test "$wxUSE_CHECKLST" = "yes"; then
25238 cat >>confdefs.h <<\EOF
25239 #define wxUSE_CHECKLISTBOX 1
25240 EOF
25241
25242 USES_CONTROLS=1
25243 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
25244 fi
25245
25246 if test "$wxUSE_GAUGE" = "yes"; then
25247 cat >>confdefs.h <<\EOF
25248 #define wxUSE_GAUGE 1
25249 EOF
25250
25251 USES_CONTROLS=1
25252 fi
25253
25254 if test "$wxUSE_NEW_GRID" = "yes"; then
25255 wxUSE_GRID="yes"
25256 cat >>confdefs.h <<\EOF
25257 #define wxUSE_NEW_GRID 1
25258 EOF
25259
25260 USES_CONTROLS=1
25261 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS newgrid"
25262 fi
25263
25264 if test "$wxUSE_GRID" = "yes"; then
25265 cat >>confdefs.h <<\EOF
25266 #define wxUSE_GRID 1
25267 EOF
25268
25269 USES_CONTROLS=1
25270 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
25271 fi
25272
25273 if test "$wxUSE_IMAGLIST" = "yes"; then
25274 cat >>confdefs.h <<\EOF
25275 #define wxUSE_IMAGLIST 1
25276 EOF
25277
25278 fi
25279
25280 if test "$wxUSE_LISTBOX" = "yes"; then
25281 cat >>confdefs.h <<\EOF
25282 #define wxUSE_LISTBOX 1
25283 EOF
25284
25285 USES_CONTROLS=1
25286 fi
25287
25288 if test "$wxUSE_LISTCTRL" = "yes"; then
25289 if test "$wxUSE_IMAGLIST" = "yes"; then
25290 cat >>confdefs.h <<\EOF
25291 #define wxUSE_LISTCTRL 1
25292 EOF
25293
25294 USES_CONTROLS=1
25295 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
25296 else
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;}
25299 fi
25300 fi
25301
25302 if test "$wxUSE_NOTEBOOK" = "yes"; then
25303 cat >>confdefs.h <<\EOF
25304 #define wxUSE_NOTEBOOK 1
25305 EOF
25306
25307 USES_CONTROLS=1
25308 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
25309 fi
25310
25311 if test "$wxUSE_PROPSHEET" = "yes"; then
25312 cat >>confdefs.h <<\EOF
25313 #define wxUSE_PROPSHEET 1
25314 EOF
25315
25316 USES_CONTROLS=1
25317 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS proplist"
25318 fi
25319
25320 if test "$wxUSE_RADIOBOX" = "yes"; then
25321 cat >>confdefs.h <<\EOF
25322 #define wxUSE_RADIOBOX 1
25323 EOF
25324
25325 USES_CONTROLS=1
25326 fi
25327
25328 if test "$wxUSE_RADIOBTN" = "yes"; then
25329 cat >>confdefs.h <<\EOF
25330 #define wxUSE_RADIOBTN 1
25331 EOF
25332
25333 USES_CONTROLS=1
25334 fi
25335
25336 if test "$wxUSE_SASH" = "yes"; then
25337 cat >>confdefs.h <<\EOF
25338 #define wxUSE_SASH 1
25339 EOF
25340
25341 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
25342 fi
25343
25344 if test "$wxUSE_SCROLLBAR" = "yes"; then
25345 cat >>confdefs.h <<\EOF
25346 #define wxUSE_SCROLLBAR 1
25347 EOF
25348
25349 USES_CONTROLS=1
25350 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
25351 fi
25352
25353 if test "$wxUSE_SLIDER" = "yes"; then
25354 cat >>confdefs.h <<\EOF
25355 #define wxUSE_SLIDER 1
25356 EOF
25357
25358 USES_CONTROLS=1
25359 fi
25360
25361 if test "$wxUSE_SPINBTN" = "yes"; then
25362 cat >>confdefs.h <<\EOF
25363 #define wxUSE_SPINBTN 1
25364 EOF
25365
25366 USES_CONTROLS=1
25367 fi
25368
25369 if test "$wxUSE_SPINCTRL" = "yes"; then
25370 cat >>confdefs.h <<\EOF
25371 #define wxUSE_SPINCTRL 1
25372 EOF
25373
25374 USES_CONTROLS=1
25375 fi
25376
25377 if test "$wxUSE_SPLITTER" = "yes"; then
25378 cat >>confdefs.h <<\EOF
25379 #define wxUSE_SPLITTER 1
25380 EOF
25381
25382 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
25383 fi
25384
25385 if test "$wxUSE_STATBMP" = "yes"; then
25386 cat >>confdefs.h <<\EOF
25387 #define wxUSE_STATBMP 1
25388 EOF
25389
25390 USES_CONTROLS=1
25391 fi
25392
25393 if test "$wxUSE_STATBOX" = "yes"; then
25394 cat >>confdefs.h <<\EOF
25395 #define wxUSE_STATBOX 1
25396 EOF
25397
25398 USES_CONTROLS=1
25399 fi
25400
25401 if test "$wxUSE_STATTEXT" = "yes"; then
25402 cat >>confdefs.h <<\EOF
25403 #define wxUSE_STATTEXT 1
25404 EOF
25405
25406 USES_CONTROLS=1
25407 fi
25408
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;}
25413 else
25414 cat >>confdefs.h <<\EOF
25415 #define wxUSE_STATLINE 1
25416 EOF
25417
25418 USES_CONTROLS=1
25419 fi
25420 fi
25421
25422 if test "$wxUSE_STATUSBAR" = "yes"; then
25423 cat >>confdefs.h <<\EOF
25424 #define wxUSE_STATUSBAR 1
25425 EOF
25426
25427 USES_CONTROLS=1
25428
25429 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
25430 fi
25431
25432 if test "$wxUSE_TABDIALOG" = "yes"; then
25433 cat >>confdefs.h <<\EOF
25434 #define wxUSE_TAB_DIALOG 1
25435 EOF
25436
25437 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS tab"
25438 fi
25439
25440 if test "$wxUSE_TEXTCTRL" = "yes"; then
25441 cat >>confdefs.h <<\EOF
25442 #define wxUSE_TEXTCTRL 1
25443 EOF
25444
25445 USES_CONTROLS=1
25446 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
25447 fi
25448
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;}
25453 wxUSE_TOGGLEBTN=no
25454 fi
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;}
25458 wxUSE_TOGGLEBTN=no
25459 fi
25460
25461 if test "$wxUSE_TOGGLEBTN" = "yes"; then
25462 cat >>confdefs.h <<\EOF
25463 #define wxUSE_TOGGLEBTN 1
25464 EOF
25465
25466 USES_CONTROLS=1
25467 fi
25468 fi
25469
25470 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
25471 cat >>confdefs.h <<\EOF
25472 #define wxUSE_TOOLBAR_SIMPLE 1
25473 EOF
25474
25475 wxUSE_TOOLBAR="yes"
25476 USES_CONTROLS=1
25477 fi
25478
25479 if test "$wxUSE_TOOLBAR" = "yes"; then
25480 cat >>confdefs.h <<\EOF
25481 #define wxUSE_TOOLBAR 1
25482 EOF
25483
25484 USES_CONTROLS=1
25485
25486 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
25487 wxUSE_TOOLBAR_NATIVE="yes"
25488 fi
25489
25490 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
25491 cat >>confdefs.h <<\EOF
25492 #define wxUSE_TOOLBAR_NATIVE 1
25493 EOF
25494
25495 USES_CONTROLS=1
25496 fi
25497
25498 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
25499 fi
25500
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;}
25505 else
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;}
25509 else
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;}
25513 else
25514 cat >>confdefs.h <<\EOF
25515 #define wxUSE_TOOLTIPS 1
25516 EOF
25517
25518 fi
25519 fi
25520 fi
25521 fi
25522
25523 if test "$wxUSE_TREECTRL" = "yes"; then
25524 if test "$wxUSE_IMAGLIST" = "yes"; then
25525 cat >>confdefs.h <<\EOF
25526 #define wxUSE_TREECTRL 1
25527 EOF
25528
25529 USES_CONTROLS=1
25530 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
25531 else
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;}
25534 fi
25535 fi
25536
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;}
25541 else
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;}
25545 else
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;}
25549 else
25550 cat >>confdefs.h <<\EOF
25551 #define wxUSE_POPUPWIN 1
25552 EOF
25553
25554 USES_CONTROLS=1
25555 fi
25556 fi
25557 fi
25558 fi
25559
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;}
25564 else
25565 cat >>confdefs.h <<\EOF
25566 #define wxUSE_TIPWINDOW 1
25567 EOF
25568
25569 fi
25570 fi
25571
25572 if test "$USES_CONTROLS" = 1; then
25573 cat >>confdefs.h <<\EOF
25574 #define wxUSE_CONTROLS 1
25575 EOF
25576
25577 fi
25578
25579 if test "$wxUSE_TREELAYOUT" = "yes"; then
25580 cat >>confdefs.h <<\EOF
25581 #define wxUSE_TREELAYOUT 1
25582 EOF
25583
25584 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treelay"
25585 fi
25586
25587 if test "$wxUSE_DRAGIMAGE" = "yes"; then
25588 cat >>confdefs.h <<\EOF
25589 #define wxUSE_DRAGIMAGE 1
25590 EOF
25591
25592 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
25593 fi
25594
25595 if test "$wxUSE_MENUS" = "yes"; then
25596 cat >>confdefs.h <<\EOF
25597 #define wxUSE_MENUS 1
25598 EOF
25599
25600 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
25601 fi
25602
25603 if test "$wxUSE_METAFILE" = "yes"; then
25604 cat >>confdefs.h <<\EOF
25605 #define wxUSE_METAFILE 1
25606 EOF
25607
25608 fi
25609
25610 if test "$wxUSE_MIMETYPE" = "yes"; then
25611 cat >>confdefs.h <<\EOF
25612 #define wxUSE_MIMETYPE 1
25613 EOF
25614
25615 fi
25616
25617 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
25618 cat >>confdefs.h <<\EOF
25619 #define wxUSE_SYSTEM_OPTIONS 1
25620 EOF
25621
25622 if test "$TOOLKIT" = "MSW"; then
25623 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
25624 fi
25625
25626 fi
25627
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;}
25632 wxUSE_PROTOCOL=no
25633 fi
25634
25635 if test "$wxUSE_PROTOCOL" = "yes"; then
25636 cat >>confdefs.h <<\EOF
25637 #define wxUSE_PROTOCOL 1
25638 EOF
25639
25640 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
25641 cat >>confdefs.h <<\EOF
25642 #define wxUSE_PROTOCOL_HTTP 1
25643 EOF
25644
25645 fi
25646 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
25647 cat >>confdefs.h <<\EOF
25648 #define wxUSE_PROTOCOL_FTP 1
25649 EOF
25650
25651 fi
25652 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
25653 cat >>confdefs.h <<\EOF
25654 #define wxUSE_PROTOCOL_FILE 1
25655 EOF
25656
25657 fi
25658 fi
25659 fi
25660
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;}
25665 wxUSE_URL=no
25666 fi
25667 if test "$wxUSE_URL" = "yes"; then
25668 cat >>confdefs.h <<\EOF
25669 #define wxUSE_URL 1
25670 EOF
25671
25672 fi
25673 fi
25674
25675 if test "$wxUSE_MINIFRAME" = "yes"; then
25676 cat >>confdefs.h <<\EOF
25677 #define wxUSE_MINIFRAME 1
25678 EOF
25679
25680 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
25681 fi
25682
25683 if test "$wxUSE_HTML" = "yes"; then
25684 cat >>confdefs.h <<\EOF
25685 #define wxUSE_HTML 1
25686 EOF
25687
25688 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html"
25689 fi
25690
25691 if test "$wxUSE_VALIDATORS" = "yes"; then
25692 cat >>confdefs.h <<\EOF
25693 #define wxUSE_VALIDATORS 1
25694 EOF
25695
25696 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
25697 fi
25698
25699 if test "$wxUSE_PALETTE" = "yes" ; then
25700 cat >>confdefs.h <<\EOF
25701 #define wxUSE_PALETTE 1
25702 EOF
25703
25704 fi
25705
25706 if test "$wxUSE_IMAGE" = "yes" ; then
25707 cat >>confdefs.h <<\EOF
25708 #define wxUSE_IMAGE 1
25709 EOF
25710
25711 fi
25712
25713 if test "$wxUSE_GIF" = "yes" ; then
25714 cat >>confdefs.h <<\EOF
25715 #define wxUSE_GIF 1
25716 EOF
25717
25718 fi
25719
25720 if test "$wxUSE_PCX" = "yes" ; then
25721 cat >>confdefs.h <<\EOF
25722 #define wxUSE_PCX 1
25723 EOF
25724
25725 fi
25726
25727 if test "$wxUSE_IFF" = "yes" ; then
25728 cat >>confdefs.h <<\EOF
25729 #define wxUSE_IFF 1
25730 EOF
25731
25732 fi
25733
25734 if test "$wxUSE_PNM" = "yes" ; then
25735 cat >>confdefs.h <<\EOF
25736 #define wxUSE_PNM 1
25737 EOF
25738
25739 fi
25740
25741 if test "$wxUSE_XPM" = "yes" ; then
25742 cat >>confdefs.h <<\EOF
25743 #define wxUSE_XPM 1
25744 EOF
25745
25746 fi
25747
25748 if test "$wxUSE_ICO_CUR" = "yes" ; then
25749 cat >>confdefs.h <<\EOF
25750 #define wxUSE_ICO_CUR 1
25751 EOF
25752
25753 fi
25754
25755 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
25756 LIBS=" -lunicows $LIBS"
25757 fi
25758
25759 if test "$wxUSE_CHOICEDLG" = "yes"; then
25760 cat >>confdefs.h <<\EOF
25761 #define wxUSE_CHOICEDLG 1
25762 EOF
25763
25764 fi
25765
25766 if test "$wxUSE_COLOURDLG" = "yes"; then
25767 cat >>confdefs.h <<\EOF
25768 #define wxUSE_COLOURDLG 1
25769 EOF
25770
25771 fi
25772
25773 if test "$wxUSE_FILEDLG" = "yes"; then
25774 cat >>confdefs.h <<\EOF
25775 #define wxUSE_FILEDLG 1
25776 EOF
25777
25778 fi
25779
25780 if test "$wxUSE_FINDREPLDLG" = "yes"; then
25781 cat >>confdefs.h <<\EOF
25782 #define wxUSE_FINDREPLDLG 1
25783 EOF
25784
25785 fi
25786
25787 if test "$wxUSE_FONTDLG" = "yes"; then
25788 cat >>confdefs.h <<\EOF
25789 #define wxUSE_FONTDLG 1
25790 EOF
25791
25792 fi
25793
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;}
25798 else
25799 cat >>confdefs.h <<\EOF
25800 #define wxUSE_DIRDLG 1
25801 EOF
25802
25803 fi
25804 fi
25805
25806 if test "$wxUSE_MSGDLG" = "yes"; then
25807 cat >>confdefs.h <<\EOF
25808 #define wxUSE_MSGDLG 1
25809 EOF
25810
25811 fi
25812
25813 if test "$wxUSE_NUMBERDLG" = "yes"; then
25814 cat >>confdefs.h <<\EOF
25815 #define wxUSE_NUMBERDLG 1
25816 EOF
25817
25818 fi
25819
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;}
25824 else
25825 cat >>confdefs.h <<\EOF
25826 #define wxUSE_PROGRESSDLG 1
25827 EOF
25828
25829 fi
25830 fi
25831
25832 if test "$wxUSE_SPLASH" = "yes"; then
25833 cat >>confdefs.h <<\EOF
25834 #define wxUSE_SPLASH 1
25835 EOF
25836
25837 fi
25838
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;}
25843 else
25844 cat >>confdefs.h <<\EOF
25845 #define wxUSE_STARTUP_TIPS 1
25846 EOF
25847
25848 fi
25849 fi
25850
25851 if test "$wxUSE_TEXTDLG" = "yes"; then
25852 cat >>confdefs.h <<\EOF
25853 #define wxUSE_TEXTDLG 1
25854 EOF
25855
25856 fi
25857
25858 if test "$wxUSE_WIZARDDLG" = "yes"; then
25859 cat >>confdefs.h <<\EOF
25860 #define wxUSE_WIZARDDLG 1
25861 EOF
25862
25863 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
25864 fi
25865
25866 if test "$cross_compiling" = "yes"; then
25867 OSINFO="\"$host\""
25868 else
25869 OSINFO=`uname -s -r -m`
25870 OSINFO="\"$OSINFO\""
25871 fi
25872
25873 cat >>confdefs.h <<EOF
25874 #define WXWIN_OS_DESCRIPTION $OSINFO
25875 EOF
25876
25877 if test "x$prefix" != "xNONE"; then
25878 wxPREFIX=$prefix
25879 else
25880 wxPREFIX=$ac_default_prefix
25881 fi
25882
25883 cat >>confdefs.h <<EOF
25884 #define wxINSTALL_PREFIX "$wxPREFIX"
25885 EOF
25886
25887 if test "$wxUSE_MAC" = 1 ; then
25888 LDFLAGS="$LDFLAGS -framework Carbon -framework System"
25889 fi
25890
25891 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK -lm $LIBS"
25892
25893 if test "$wxUSE_GUI" = "yes"; then
25894
25895 LIBS="$GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $LIBS"
25896
25897 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs \
25898 drawing dynamic erase event exec font image \
25899 minimal propsize rotate widgets"
25900
25901 CPPFLAGS="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
25902 else
25903 SAMPLES_SUBDIRS="console"
25904 fi
25905
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 \
25909 $TOOLKIT_INCLUDE"
25910
25911 if test "$wxUSE_GTK" = 1; then
25912 WXCONFIG_INCLUDE=
25913 else
25914 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
25915 fi
25916
25917 if test "$GXX" = yes ; then
25918 CXXWARNINGS="-Wall"
25919
25920 if test "$wxUSE_NO_DEPS" = "no" ; then
25921 CFLAGS="-MMD $CFLAGS"
25922 CXXFLAGS="-MMD $CXXFLAGS"
25923 fi
25924 fi
25925
25926 EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
25927
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'`
25931
25932 LDFLAGS="$LDFLAGS $PROFILE"
25933
25934 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
25935
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
25941 else
25942 cat >conftest.make <<\EOF
25943 all:
25944 @echo 'ac_maketemp="${MAKE}"'
25945 EOF
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
25950 else
25951 eval ac_cv_prog_make_${ac_make}_set=no
25952 fi
25953 rm -f conftest.make
25954 fi
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
25958 SET_MAKE=
25959 else
25960 echo "$as_me:25960: result: no" >&5
25961 echo "${ECHO_T}no" >&6
25962 SET_MAKE="MAKE=${MAKE-make}"
25963 fi
25964
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
25967 fi
25968
25969 ac_config_headers="$ac_config_headers setup.h:setup.h.in"
25970
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
25981
25982 subdirs="$subdirs demos samples utils contrib"
25983
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.
25992 #
25993 # config.status only pays attention to the cache file if you give it
25994 # the --recheck option to rerun configure.
25995 #
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.
25999
26000 _ACEOF
26001
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.
26007 {
26008 (set) 2>&1 |
26009 case `(ac_space=' '; set | grep ac_space) 2>&1` in
26010 *ac_space=\ *)
26011 # `set' does not quote correctly, so add quotes (double-quote
26012 # substitution turns \\\\ into \\, and sed turns \\ into \).
26013 sed -n \
26014 "s/'/'\\\\''/g;
26015 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26016 ;;
26017 *)
26018 # `set' quotes correctly as required by POSIX, so do not add quotes.
26019 sed -n \
26020 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
26021 ;;
26022 esac;
26023 } |
26024 sed '
26025 t clear
26026 : clear
26027 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26028 t end
26029 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26030 : end' >>confcache
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
26035 else
26036 echo "not updating unwritable cache $cache_file"
26037 fi
26038 fi
26039 rm -f confcache
26040
26041 test "x$prefix" = xNONE && prefix=$ac_default_prefix
26042 # Let make expand exec_prefix.
26043 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
26044
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}:*/:/;
26053 s/:*@srcdir@:*/:/;
26054 s/^\([^=]*=[ ]*\):*/\1/;
26055 s/:*$//;
26056 s/^[^=]*=[ ]*$//;
26057 }'
26058 fi
26059
26060 DEFS=-DHAVE_CONFIG_H
26061
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
26068 #! $SHELL
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.
26073
26074 debug=false
26075 SHELL=\${CONFIG_SHELL-$SHELL}
26076 ac_cs_invocation="\$0 \$@"
26077
26078 _ACEOF
26079
26080 cat >>$CONFIG_STATUS <<\_ACEOF
26081 # Be Bourne compatible
26082 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
26083 emulate sh
26084 NULLCMD=:
26085 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
26086 set -o posix
26087 fi
26088
26089 # Name of the executable.
26090 as_me=`echo "$0" |sed 's,.*[\\/],,'`
26091
26092 if expr a : '\(a\)' >/dev/null 2>&1; then
26093 as_expr=expr
26094 else
26095 as_expr=false
26096 fi
26097
26098 rm -f conf$$ conf$$.exe conf$$.file
26099 echo >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
26105 as_ln_s='cp -p'
26106 else
26107 as_ln_s='ln -s'
26108 fi
26109 elif ln conf$$.file conf$$ 2>/dev/null; then
26110 as_ln_s=ln
26111 else
26112 as_ln_s='cp -p'
26113 fi
26114 rm -f conf$$ conf$$.exe conf$$.file
26115
26116 as_executable_p="test -f"
26117
26118 # Support unset when possible.
26119 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
26120 as_unset=unset
26121 else
26122 as_unset=false
26123 fi
26124
26125 # NLS nuisances.
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; }
26134
26135 # IFS
26136 # We need space, tab and new line, in precisely that order.
26137 as_nl='
26138 '
26139 IFS=" $as_nl"
26140
26141 # CDPATH.
26142 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
26143
26144 exec 6>&1
26145
26146 _ACEOF
26147
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
26151 fi
26152
26153 if test -n "$ac_config_headers"; then
26154 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
26155 fi
26156
26157 if test -n "$ac_config_links"; then
26158 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
26159 fi
26160
26161 if test -n "$ac_config_commands"; then
26162 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
26163 fi
26164
26165 cat >>$CONFIG_STATUS <<\EOF
26166
26167 ac_cs_usage="\
26168 \`$as_me' instantiates files from templates according to the
26169 current configuration.
26170
26171 Usage: $0 [OPTIONS] [FILE]...
26172
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
26181
26182 Configuration files:
26183 $config_files
26184
26185 Configuration headers:
26186 $config_headers
26187
26188 Configuration commands:
26189 $config_commands
26190
26191 Report bugs to <bug-autoconf@gnu.org>."
26192 EOF
26193
26194 cat >>$CONFIG_STATUS <<EOF
26195 ac_cs_version="\\
26196 config.status
26197 configured by $0, generated by GNU Autoconf 2.52,
26198 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
26199
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."
26204 srcdir=$srcdir
26205 INSTALL="$INSTALL"
26206 EOF
26207
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.
26211 ac_need_defaults=:
26212 while test $# != 0
26213 do
26214 case $1 in
26215 --*=*)
26216 ac_option=`expr "x$1" : 'x\([^=]*\)='`
26217 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
26218 shift
26219 set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
26220 shift
26221 ;;
26222 -*);;
26223 *) # This is not an option, so the user has probably given explicit
26224 # arguments.
26225 ac_need_defaults=false;;
26226 esac
26227
26228 case $1 in
26229 # Handling of the options.
26230 EOF
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 ;;
26235 EOF
26236 cat >>$CONFIG_STATUS <<\EOF
26237 --version | --vers* | -V )
26238 echo "$ac_cs_version"; exit 0 ;;
26239 --he | --h)
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 )
26249 debug=: ;;
26250 --file | --fil | --fi | --f )
26251 shift
26252 CONFIG_FILES="$CONFIG_FILES $1"
26253 ac_need_defaults=false;;
26254 --header | --heade | --head | --hea )
26255 shift
26256 CONFIG_HEADERS="$CONFIG_HEADERS $1"
26257 ac_need_defaults=false;;
26258
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; }; } ;;
26265
26266 *) ac_config_targets="$ac_config_targets $1" ;;
26267
26268 esac
26269 shift
26270 done
26271
26272 exec 5>>config.log
26273 cat >&5 << _ACEOF
26274
26275 ## ----------------------- ##
26276 ## Running config.status. ##
26277 ## ----------------------- ##
26278
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`
26286
26287 _ACEOF
26288 EOF
26289
26290 cat >>$CONFIG_STATUS <<EOF
26291 #
26292 # INIT-COMMANDS section.
26293 #
26294
26295 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
26296 LN_S="${LN_S}"
26297
26298 EOF
26299
26300 cat >>$CONFIG_STATUS <<\EOF
26301 for ac_config_target in $ac_config_targets
26302 do
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; }; };;
26315 esac
26316 done
26317
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
26326 fi
26327
26328 # Create a temporary directory, and hook for its removal unless debugging.
26329 $debug ||
26330 {
26331 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
26332 trap '{ (exit 1); exit 1; }' 1 2 13 15
26333 }
26334
26335 # Create a (secure) tmp directory for tmp files.
26336 : ${TMPDIR=/tmp}
26337 {
26338 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
26339 test -n "$tmp" && test -d "$tmp"
26340 } ||
26341 {
26342 tmp=$TMPDIR/cs$$-$RANDOM
26343 (umask 077 && mkdir $tmp)
26344 } ||
26345 {
26346 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
26347 { (exit 1); exit 1; }
26348 }
26349
26350 EOF
26351
26352 cat >>$CONFIG_STATUS <<EOF
26353
26354 #
26355 # CONFIG_FILES section.
26356 #
26357
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
26406 s,@CC@,$CC,;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
26413 s,@CPP@,$CPP,;t t
26414 s,@CXX@,$CXX,;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
26419 s,@AR@,$AR,;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
26426 s,@LEX@,$LEX,;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
26509 s,@AS@,$AS,;t t
26510 s,@NM@,$NM,;t t
26511 s,@LD@,$LD,;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
26516 CEOF
26517
26518 EOF
26519
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.
26527 ac_more_lines=:
26528 ac_sed_cmds=
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
26532 else
26533 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
26534 fi
26535 if test ! -s $tmp/subs.frag; then
26536 ac_more_lines=false
26537 else
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.
26542 (echo ':t
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"
26546 else
26547 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
26548 fi
26549 ac_sed_frag=`expr $ac_sed_frag + 1`
26550 ac_beg=$ac_end
26551 ac_end=`expr $ac_end + $ac_max_sed_lines`
26552 fi
26553 done
26554 if test -z "$ac_sed_cmds"; then
26555 ac_sed_cmds=cat
26556 fi
26557 fi # test -n "$CONFIG_FILES"
26558
26559 EOF
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".
26563 case $ac_file in
26564 - | *:- | *:-:* ) # input from stdin
26565 cat >$tmp/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 ;;
26571 esac
26572
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 ||
26579 echo X"$ac_file" |
26580 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26581 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
26582 /^X\(\/\/\)$/{ s//\1/; q; }
26583 /^X\(\/\).*/{ s//\1/; q; }
26584 s/.*/./; q'`
26585 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
26586 { case "$ac_dir" in
26587 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
26588 *) as_incr_dir=.;;
26589 esac
26590 as_dummy="$ac_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 ;;
26595 *)
26596 as_incr_dir=$as_incr_dir/$as_mkdir_dir
26597 test -d "$as_incr_dir" || mkdir "$as_incr_dir"
26598 ;;
26599 esac
26600 done; }
26601
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'`
26605 else
26606 ac_dir_suffix= ac_dots=
26607 fi
26608
26609 case $srcdir in
26610 .) ac_srcdir=.
26611 if test -z "$ac_dots"; then
26612 ac_top_srcdir=.
26613 else
26614 ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
26615 fi ;;
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 ;;
26622 esac
26623
26624 case $INSTALL in
26625 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
26626 *) ac_INSTALL=$ac_dots$INSTALL ;;
26627 esac
26628
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;}
26632 rm -f "$ac_file"
26633 fi
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."
26639
26640 # First look for the input files in the build tree, otherwise in the
26641 # src tree.
26642 ac_file_inputs=`IFS=:
26643 for f in $ac_file_in; do
26644 case $f in
26645 -) echo $tmp/stdin ;;
26646 [\\/$]*)
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; }; }
26651 echo $f;;
26652 *) # Relative
26653 if test -f "$f"; then
26654 # Build tree
26655 echo $f
26656 elif test -f "$srcdir/$f"; then
26657 # Source tree
26658 echo $srcdir/$f
26659 else
26660 # /dev/null tree
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; }; }
26664 fi;;
26665 esac
26666 done` || { (exit 1); exit 1; }
26667 EOF
26668 cat >>$CONFIG_STATUS <<EOF
26669 sed "$ac_vpsub
26670 $extrasub
26671 EOF
26672 cat >>$CONFIG_STATUS <<\EOF
26673 :t
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
26680 rm -f $tmp/stdin
26681 if test x"$ac_file" != x-; then
26682 mv $tmp/out $ac_file
26683 else
26684 cat $tmp/out
26685 rm -f $tmp/out
26686 fi
26687
26688 done
26689 EOF
26690 cat >>$CONFIG_STATUS <<\EOF
26691
26692 #
26693 # CONFIG_HEADER section.
26694 #
26695
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.
26698 #
26699 # ac_d sets the value in "#define NAME VALUE" lines.
26700 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
26701 ac_dB='[ ].*$,\1#\2'
26702 ac_dC=' '
26703 ac_dD=',;t'
26704 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
26705 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
26706 ac_uB='$,\1#\2define\3'
26707 ac_uC=' '
26708 ac_uD=',;t'
26709
26710 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
26711 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
26712 case $ac_file in
26713 - | *:- | *:-:* ) # input from stdin
26714 cat >$tmp/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 ;;
26720 esac
26721
26722 test x"$ac_file" != x- && { echo "$as_me:26722: creating $ac_file" >&5
26723 echo "$as_me: creating $ac_file" >&6;}
26724
26725 # First look for the input files in the build tree, otherwise in the
26726 # src tree.
26727 ac_file_inputs=`IFS=:
26728 for f in $ac_file_in; do
26729 case $f in
26730 -) echo $tmp/stdin ;;
26731 [\\/$]*)
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; }; }
26736 echo $f;;
26737 *) # Relative
26738 if test -f "$f"; then
26739 # Build tree
26740 echo $f
26741 elif test -f "$srcdir/$f"; then
26742 # Source tree
26743 echo $srcdir/$f
26744 else
26745 # /dev/null tree
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; }; }
26749 fi;;
26750 esac
26751 done` || { (exit 1); exit 1; }
26752 # Remove the trailing spaces.
26753 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
26754
26755 EOF
26756
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.
26767 #
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
26772 s/[\\&,]/\\&/g
26773 s,[\\$`],\\&,g
26774 t clear
26775 : clear
26776 s,^[ ]*#[ ]*define[ ][ ]*\(\([^ (][^ (]*\)([^)]*)\)[ ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
26777 t end
26778 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
26779 : end
26780 EOF
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
26787
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]*,/* & */,
26793 EOF
26794
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
26803 do
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
26812 echo 'CEOF
26813 sed -f $tmp/defines.sed $tmp/in >$tmp/out
26814 rm -f $tmp/in
26815 mv $tmp/out $tmp/in
26816 ' >>$CONFIG_STATUS
26817 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
26818 rm -f conftest.defines
26819 mv conftest.tail conftest.defines
26820 done
26821 rm -f conftest.defines
26822 echo ' fi # egrep' >>$CONFIG_STATUS
26823 echo >>$CONFIG_STATUS
26824
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
26830 do
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
26839 echo 'CEOF
26840 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
26841 rm -f $tmp/in
26842 mv $tmp/out $tmp/in
26843 ' >>$CONFIG_STATUS
26844 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
26845 rm -f conftest.undefs
26846 mv conftest.tail conftest.undefs
26847 done
26848 rm -f conftest.undefs
26849
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
26856 else
26857 echo "/* $ac_file. Generated automatically by configure. */" >$tmp/config.h
26858 fi
26859 cat $tmp/in >>$tmp/config.h
26860 rm -f $tmp/in
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;}
26865 else
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 ||
26871 echo X"$ac_file" |
26872 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26873 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
26874 /^X\(\/\/\)$/{ s//\1/; q; }
26875 /^X\(\/\).*/{ s//\1/; q; }
26876 s/.*/./; q'`
26877 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
26878 { case "$ac_dir" in
26879 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
26880 *) as_incr_dir=.;;
26881 esac
26882 as_dummy="$ac_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 ;;
26887 *)
26888 as_incr_dir=$as_incr_dir/$as_mkdir_dir
26889 test -d "$as_incr_dir" || mkdir "$as_incr_dir"
26890 ;;
26891 esac
26892 done; }
26893
26894 fi
26895 rm -f $ac_file
26896 mv $tmp/config.h $ac_file
26897 fi
26898 else
26899 cat $tmp/config.h
26900 rm -f $tmp/config.h
26901 fi
26902 done
26903 EOF
26904 cat >>$CONFIG_STATUS <<\EOF
26905
26906 #
26907 # CONFIG_COMMANDS section.
26908 #
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,[^:]*:,,'`
26912
26913 case $ac_dest in
26914 default )
26915 if test ! -h wx-config; then
26916 chmod +x wx-config
26917 mv wx-config wx${TOOLCHAIN_NAME}-config
26918 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
26919 fi
26920
26921 if test ! -d lib; then
26922 mkdir lib
26923 fi
26924 if test ! -d lib/wx; then
26925 mkdir lib/wx
26926 fi
26927 if test ! -d lib/wx/include; then
26928 mkdir lib/wx/include
26929 fi
26930 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
26931 mkdir lib/wx/include/${TOOLCHAIN_NAME}
26932 fi
26933 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
26934 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
26935 fi
26936 if test -f setup.h; then
26937 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
26938 fi
26939 ;;
26940 esac
26941 done
26942 EOF
26943
26944 cat >>$CONFIG_STATUS <<\EOF
26945
26946 { (exit 0); exit 0; }
26947 EOF
26948 chmod +x $CONFIG_STATUS
26949 ac_clean_files=$ac_clean_files_save
26950
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
26960 ac_cs_success=:
26961 exec 5>/dev/null
26962 $SHELL $CONFIG_STATUS || ac_cs_success=false
26963 exec 5>>config.log
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; }
26967 fi
26968
26969 #
26970 # CONFIG_SUBDIRS section.
26971 #
26972 if test "$no_recursion" != yes; then
26973
26974 # Remove --cache-file and --srcdir arguments so they do not pile up.
26975 ac_sub_configure_args=
26976 ac_prev=
26977 for ac_arg in $ac_configure_args; do
26978 if test -n "$ac_prev"; then
26979 ac_prev=
26980 continue
26981 fi
26982 case $ac_arg in
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=* \
26988 | --c=*)
26989 ;;
26990 --config-cache | -C)
26991 ;;
26992 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
26993 ac_prev=srcdir ;;
26994 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
26995 ;;
26996 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
26997 esac
26998 done
26999
27000 for ac_subdir in : $subdirs; do test "x$ac_subdir" = x: && continue
27001
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
27005
27006 { echo "$as_me:27006: configuring in $ac_subdir" >&5
27007 echo "$as_me: configuring in $ac_subdir" >&6;}
27008 case $srcdir in
27009 .) ;;
27010 *) { case "./$ac_subdir" in
27011 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
27012 *) as_incr_dir=.;;
27013 esac
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 ;;
27019 *)
27020 as_incr_dir=$as_incr_dir/$as_mkdir_dir
27021 test -d "$as_incr_dir" || mkdir "$as_incr_dir"
27022 ;;
27023 esac
27024 done; }
27025
27026 if test -d ./$ac_subdir; then :;
27027 else
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; }; }
27031 fi
27032 ;;
27033 esac
27034
27035 ac_popdir=`pwd`
27036 cd $ac_subdir
27037
27038 # A "../" for each directory in /$ac_subdir.
27039 ac_dots=`echo $ac_subdir |
27040 sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
27041
27042 case $srcdir in
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 ;;
27049 esac
27050
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
27058 else
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;}
27061 ac_sub_configure=
27062 fi
27063
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 ;;
27071 esac
27072
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; }; }
27081 fi
27082
27083 cd $ac_popdir
27084 done
27085 fi
27086