]> git.saurik.com Git - wxWidgets.git/blob - configure
-mwindows added for mingw32 compilation
[wxWidgets.git] / configure
1 #! /bin/sh
2
3 # From configure.in Id: configure.in
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43 # Guess values for system-dependent variables and create Makefiles.
44 # Generated automatically using autoconf version 2.13
45 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
46 #
47 # This configure script is free software; the Free Software Foundation
48 # gives unlimited permission to copy, distribute and modify it.
49
50 # Defaults:
51 ac_help=
52 ac_default_prefix=/usr/local
53 # Any additions from configure.in:
54 ac_help="$ac_help
55 --enable-gui use GUI classes"
56 ac_help="$ac_help
57 --with-gtk use GTK+"
58 ac_help="$ac_help
59 --with-motif use Motif/Lesstif"
60 ac_help="$ac_help
61 --with-wine use WINE"
62 ac_help="$ac_help
63 --with-cygwin use Cygwin for MS-Windows"
64 ac_help="$ac_help
65 --with-mingw use GCC Minimal MS-Windows"
66 ac_help="$ac_help
67 --with-gtk-prefix=PFX Prefix where GTK is installed"
68 ac_help="$ac_help
69 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed"
70 ac_help="$ac_help
71 --with-dmalloc use dmalloc library (www.letters.com/dmalloc)"
72 ac_help="$ac_help
73 --with-zlib use zlib for LZW compression"
74 ac_help="$ac_help
75 --with-libpng use libpng (PNG image format)"
76 ac_help="$ac_help
77 --with-libjpeg use libjpeg (JPEG file format)"
78 ac_help="$ac_help
79 --with-opengl use OpenGL (or Mesa)"
80 ac_help="$ac_help
81 --with-odbc use the IODBC and wxODBC classes"
82 ac_help="$ac_help
83 --enable-shared create shared library code"
84 ac_help="$ac_help
85 --enable-optimise create optimised code"
86 ac_help="$ac_help
87 --enable-debug same as debug_flag and debug_info"
88 ac_help="$ac_help
89 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
90 ac_help="$ac_help
91 --enable-debug_info create code with debugging information"
92 ac_help="$ac_help
93 --enable-debug_gdb create code with extra GDB debugging information"
94 ac_help="$ac_help
95 --enable-debug_cntxt use wxDebugContext"
96 ac_help="$ac_help
97 --enable-mem_tracing create code with memory tracing"
98 ac_help="$ac_help
99 --enable-profile create code with profiling information"
100 ac_help="$ac_help
101 --enable-no_rtti create code without RTTI information"
102 ac_help="$ac_help
103 --enable-no_exceptions create code without exceptions information"
104 ac_help="$ac_help
105 --enable-permissive compile code disregarding strict ANSI"
106 ac_help="$ac_help
107 --enable-no_deps create code without dependency information"
108 ac_help="$ac_help
109 --enable-intl use internationalization system"
110 ac_help="$ac_help
111 --enable-config use wxConfig (and derived) classes"
112 ac_help="$ac_help
113 --enable-sockets use socket/network classes"
114 ac_help="$ac_help
115 --enable-dialupman use dialup network classes"
116 ac_help="$ac_help
117 --enable-ipc use interprocess communication (wxSocket etc.)"
118 ac_help="$ac_help
119 --enable-apple_ieee use the Apple IEEE codec"
120 ac_help="$ac_help
121 --enable-timedate use date/time classes"
122 ac_help="$ac_help
123 --enable-wave use wxWave class"
124 ac_help="$ac_help
125 --enable-fraction use wxFraction class"
126 ac_help="$ac_help
127 --enable-dynlib use wxLibrary class for DLL loading"
128 ac_help="$ac_help
129 --enable-longlong use wxLongLong class"
130 ac_help="$ac_help
131 --enable-log use logging system"
132 ac_help="$ac_help
133 --enable-streams use wxStream etc classes"
134 ac_help="$ac_help
135 --enable-file use wxFile classes"
136 ac_help="$ac_help
137 --enable-textfile use wxTextFile classes"
138 ac_help="$ac_help
139 --enable-unicode compile wxString with Unicode support"
140 ac_help="$ac_help
141 --enable-wcsrtombs use wcsrtombs instead of buggy (GNU libc1/Linux libc5) wcstombs"
142 ac_help="$ac_help
143 --enable-wxprintfv use wxWindows implementation of vprintf()"
144 ac_help="$ac_help
145 --enable-joystick compile in joystick support (Linux only)"
146 ac_help="$ac_help
147 --enable-std_iostreams use standard C++ stream classes"
148 ac_help="$ac_help
149 --enable-fs_inet use virtual HTTP/FTP filesystems"
150 ac_help="$ac_help
151 --enable-fs_zip use virtual ZIP filesystems"
152 ac_help="$ac_help
153 --enable-zipstream use wxZipInputStream"
154 ac_help="$ac_help
155 --enable-threads use threads"
156 ac_help="$ac_help
157 --enable-serial use class serialization"
158 ac_help="$ac_help
159 --enable-docview use document view architecture"
160 ac_help="$ac_help
161 --enable-help use help (using external browser at present)"
162 ac_help="$ac_help
163 --enable-constraints use layout-constraints system"
164 ac_help="$ac_help
165 --enable-printarch use printing architecture"
166 ac_help="$ac_help
167 --enable-mdi use multiple document interface architecture"
168 ac_help="$ac_help
169 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
170 ac_help="$ac_help
171 --enable-prologio use Prolog IO library"
172 ac_help="$ac_help
173 --enable-resources use wxWindows resources"
174 ac_help="$ac_help
175 --enable-xresources use X resources for save (default for gtk+)"
176 ac_help="$ac_help
177 --enable-clipboard use wxClipboard classes"
178 ac_help="$ac_help
179 --enable-dnd use Drag'n'Drop classes"
180 ac_help="$ac_help
181 --enable-wxtree make wxTree library"
182 ac_help="$ac_help
183 --enable-controls use all usual controls"
184 ac_help="$ac_help
185 --enable-accel use accelerators"
186 ac_help="$ac_help
187 --enable-caret use wxCaret class"
188 ac_help="$ac_help
189 --enable-bmpbutton use wxBitmapButton class"
190 ac_help="$ac_help
191 --enable-checkbox use wxCheckBox class"
192 ac_help="$ac_help
193 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
194 ac_help="$ac_help
195 --enable-choice use wxChoice class"
196 ac_help="$ac_help
197 --enable-combobox use wxComboBox classes"
198 ac_help="$ac_help
199 --enable-gauge use wxGauge class"
200 ac_help="$ac_help
201 --enable-grid use wxGrid class"
202 ac_help="$ac_help
203 --enable-newgrid use new wxGrid class"
204 ac_help="$ac_help
205 --enable-imaglist use wxImageList class"
206 ac_help="$ac_help
207 --enable-listbox use wxListBox class"
208 ac_help="$ac_help
209 --enable-listctrl use wxListCtrl class"
210 ac_help="$ac_help
211 --enable-notebook use wxNotebook class"
212 ac_help="$ac_help
213 --enable-radiobox use wxRadioBox class"
214 ac_help="$ac_help
215 --enable-radiobtn use wxRadioButton class"
216 ac_help="$ac_help
217 --enable-sash use wxSashWindow class"
218 ac_help="$ac_help
219 --enable-scrollbar use wxScrollBar class and scrollable windows"
220 ac_help="$ac_help
221 --enable-slider use wxSlider class"
222 ac_help="$ac_help
223 --enable-spinbtn use wxSpinButton class"
224 ac_help="$ac_help
225 --enable-splitter use wxSplitterWindow class"
226 ac_help="$ac_help
227 --enable-statbmp use wxStaticBitmap class"
228 ac_help="$ac_help
229 --enable-statbox use wxStaticBox class"
230 ac_help="$ac_help
231 --enable-statline use wxStaticLine class"
232 ac_help="$ac_help
233 --enable-statusbar use wxStatusBar class"
234 ac_help="$ac_help
235 --enable-tabdialog use wxTabControl class"
236 ac_help="$ac_help
237 --enable-toolbar use wxToolBar class"
238 ac_help="$ac_help
239 --enable-treectrl use wxTreeCtrl class"
240 ac_help="$ac_help
241 --enable-commondlg use common dialogs (wxDirDialog, wxProgressDialog, wxTextDialog, ...)"
242 ac_help="$ac_help
243 --enable-dirdlg use wxDirDialog"
244 ac_help="$ac_help
245 --enable-textdlg use wxTextDialog"
246 ac_help="$ac_help
247 --enable-tipdlg use startup tips"
248 ac_help="$ac_help
249 --enable-progressdlg use wxProgressDialog"
250 ac_help="$ac_help
251 --enable-miniframe use wxMiniFrame class"
252 ac_help="$ac_help
253 --enable-html use wxHTML sub-library"
254 ac_help="$ac_help
255 --enable-tooltips use wxToolTip class"
256 ac_help="$ac_help
257 --enable-splines use spline drawing code"
258 ac_help="$ac_help
259 --enable-validators use wxValidator and derived classes"
260 ac_help="$ac_help
261 --enable-busyinfo use wxBusyInfo"
262 ac_help="$ac_help
263 --enable-gif use gif images (GIF file format)"
264 ac_help="$ac_help
265 --enable-pcx use pcx images (PCX file format)"
266 ac_help="$ac_help
267 --enable-pnm use pnm images (PNM file format)"
268 ac_help="$ac_help
269 --with-x use the X Window System"
270
271 # Initialize some variables set by options.
272 # The variables have the same names as the options, with
273 # dashes changed to underlines.
274 build=NONE
275 cache_file=./config.cache
276 exec_prefix=NONE
277 host=NONE
278 no_create=
279 nonopt=NONE
280 no_recursion=
281 prefix=NONE
282 program_prefix=NONE
283 program_suffix=NONE
284 program_transform_name=s,x,x,
285 silent=
286 site=
287 srcdir=
288 target=NONE
289 verbose=
290 x_includes=NONE
291 x_libraries=NONE
292 bindir='${exec_prefix}/bin'
293 sbindir='${exec_prefix}/sbin'
294 libexecdir='${exec_prefix}/libexec'
295 datadir='${prefix}/share'
296 sysconfdir='${prefix}/etc'
297 sharedstatedir='${prefix}/com'
298 localstatedir='${prefix}/var'
299 libdir='${exec_prefix}/lib'
300 includedir='${prefix}/include'
301 oldincludedir='/usr/include'
302 infodir='${prefix}/info'
303 mandir='${prefix}/man'
304
305 # Initialize some other variables.
306 subdirs=
307 MFLAGS= MAKEFLAGS=
308 SHELL=${CONFIG_SHELL-/bin/sh}
309 # Maximum number of lines to put in a shell here document.
310 ac_max_here_lines=12
311
312 ac_prev=
313 for ac_option
314 do
315
316 # If the previous option needs an argument, assign it.
317 if test -n "$ac_prev"; then
318 eval "$ac_prev=\$ac_option"
319 ac_prev=
320 continue
321 fi
322
323 case "$ac_option" in
324 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
325 *) ac_optarg= ;;
326 esac
327
328 # Accept the important Cygnus configure options, so we can diagnose typos.
329
330 case "$ac_option" in
331
332 -bindir | --bindir | --bindi | --bind | --bin | --bi)
333 ac_prev=bindir ;;
334 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
335 bindir="$ac_optarg" ;;
336
337 -build | --build | --buil | --bui | --bu)
338 ac_prev=build ;;
339 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
340 build="$ac_optarg" ;;
341
342 -cache-file | --cache-file | --cache-fil | --cache-fi \
343 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
344 ac_prev=cache_file ;;
345 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
346 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
347 cache_file="$ac_optarg" ;;
348
349 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
350 ac_prev=datadir ;;
351 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
352 | --da=*)
353 datadir="$ac_optarg" ;;
354
355 -disable-* | --disable-*)
356 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
357 # Reject names that are not valid shell variable names.
358 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
359 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
360 fi
361 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
362 eval "enable_${ac_feature}=no" ;;
363
364 -enable-* | --enable-*)
365 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
366 # Reject names that are not valid shell variable names.
367 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
368 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
369 fi
370 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
371 case "$ac_option" in
372 *=*) ;;
373 *) ac_optarg=yes ;;
374 esac
375 eval "enable_${ac_feature}='$ac_optarg'" ;;
376
377 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
378 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
379 | --exec | --exe | --ex)
380 ac_prev=exec_prefix ;;
381 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
382 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
383 | --exec=* | --exe=* | --ex=*)
384 exec_prefix="$ac_optarg" ;;
385
386 -gas | --gas | --ga | --g)
387 # Obsolete; use --with-gas.
388 with_gas=yes ;;
389
390 -help | --help | --hel | --he)
391 # Omit some internal or obsolete options to make the list less imposing.
392 # This message is too long to be a string in the A/UX 3.1 sh.
393 cat << EOF
394 Usage: configure [options] [host]
395 Options: [defaults in brackets after descriptions]
396 Configuration:
397 --cache-file=FILE cache test results in FILE
398 --help print this message
399 --no-create do not create output files
400 --quiet, --silent do not print \`checking...' messages
401 --version print the version of autoconf that created configure
402 Directory and file names:
403 --prefix=PREFIX install architecture-independent files in PREFIX
404 [$ac_default_prefix]
405 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
406 [same as prefix]
407 --bindir=DIR user executables in DIR [EPREFIX/bin]
408 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
409 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
410 --datadir=DIR read-only architecture-independent data in DIR
411 [PREFIX/share]
412 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
413 --sharedstatedir=DIR modifiable architecture-independent data in DIR
414 [PREFIX/com]
415 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
416 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
417 --includedir=DIR C header files in DIR [PREFIX/include]
418 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
419 --infodir=DIR info documentation in DIR [PREFIX/info]
420 --mandir=DIR man documentation in DIR [PREFIX/man]
421 --srcdir=DIR find the sources in DIR [configure dir or ..]
422 --program-prefix=PREFIX prepend PREFIX to installed program names
423 --program-suffix=SUFFIX append SUFFIX to installed program names
424 --program-transform-name=PROGRAM
425 run sed PROGRAM on installed program names
426 EOF
427 cat << EOF
428 Host type:
429 --build=BUILD configure for building on BUILD [BUILD=HOST]
430 --host=HOST configure for HOST [guessed]
431 --target=TARGET configure for TARGET [TARGET=HOST]
432 Features and packages:
433 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
434 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
435 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
436 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
437 --x-includes=DIR X include files are in DIR
438 --x-libraries=DIR X library files are in DIR
439 EOF
440 if test -n "$ac_help"; then
441 echo "--enable and --with options recognized:$ac_help"
442 fi
443 exit 0 ;;
444
445 -host | --host | --hos | --ho)
446 ac_prev=host ;;
447 -host=* | --host=* | --hos=* | --ho=*)
448 host="$ac_optarg" ;;
449
450 -includedir | --includedir | --includedi | --included | --include \
451 | --includ | --inclu | --incl | --inc)
452 ac_prev=includedir ;;
453 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
454 | --includ=* | --inclu=* | --incl=* | --inc=*)
455 includedir="$ac_optarg" ;;
456
457 -infodir | --infodir | --infodi | --infod | --info | --inf)
458 ac_prev=infodir ;;
459 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
460 infodir="$ac_optarg" ;;
461
462 -libdir | --libdir | --libdi | --libd)
463 ac_prev=libdir ;;
464 -libdir=* | --libdir=* | --libdi=* | --libd=*)
465 libdir="$ac_optarg" ;;
466
467 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
468 | --libexe | --libex | --libe)
469 ac_prev=libexecdir ;;
470 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
471 | --libexe=* | --libex=* | --libe=*)
472 libexecdir="$ac_optarg" ;;
473
474 -localstatedir | --localstatedir | --localstatedi | --localstated \
475 | --localstate | --localstat | --localsta | --localst \
476 | --locals | --local | --loca | --loc | --lo)
477 ac_prev=localstatedir ;;
478 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
479 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
480 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
481 localstatedir="$ac_optarg" ;;
482
483 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
484 ac_prev=mandir ;;
485 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
486 mandir="$ac_optarg" ;;
487
488 -nfp | --nfp | --nf)
489 # Obsolete; use --without-fp.
490 with_fp=no ;;
491
492 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
493 | --no-cr | --no-c)
494 no_create=yes ;;
495
496 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
497 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
498 no_recursion=yes ;;
499
500 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
501 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
502 | --oldin | --oldi | --old | --ol | --o)
503 ac_prev=oldincludedir ;;
504 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
505 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
506 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
507 oldincludedir="$ac_optarg" ;;
508
509 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
510 ac_prev=prefix ;;
511 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
512 prefix="$ac_optarg" ;;
513
514 -program-prefix | --program-prefix | --program-prefi | --program-pref \
515 | --program-pre | --program-pr | --program-p)
516 ac_prev=program_prefix ;;
517 -program-prefix=* | --program-prefix=* | --program-prefi=* \
518 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
519 program_prefix="$ac_optarg" ;;
520
521 -program-suffix | --program-suffix | --program-suffi | --program-suff \
522 | --program-suf | --program-su | --program-s)
523 ac_prev=program_suffix ;;
524 -program-suffix=* | --program-suffix=* | --program-suffi=* \
525 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
526 program_suffix="$ac_optarg" ;;
527
528 -program-transform-name | --program-transform-name \
529 | --program-transform-nam | --program-transform-na \
530 | --program-transform-n | --program-transform- \
531 | --program-transform | --program-transfor \
532 | --program-transfo | --program-transf \
533 | --program-trans | --program-tran \
534 | --progr-tra | --program-tr | --program-t)
535 ac_prev=program_transform_name ;;
536 -program-transform-name=* | --program-transform-name=* \
537 | --program-transform-nam=* | --program-transform-na=* \
538 | --program-transform-n=* | --program-transform-=* \
539 | --program-transform=* | --program-transfor=* \
540 | --program-transfo=* | --program-transf=* \
541 | --program-trans=* | --program-tran=* \
542 | --progr-tra=* | --program-tr=* | --program-t=*)
543 program_transform_name="$ac_optarg" ;;
544
545 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
546 | -silent | --silent | --silen | --sile | --sil)
547 silent=yes ;;
548
549 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
550 ac_prev=sbindir ;;
551 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
552 | --sbi=* | --sb=*)
553 sbindir="$ac_optarg" ;;
554
555 -sharedstatedir | --sharedstatedir | --sharedstatedi \
556 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
557 | --sharedst | --shareds | --shared | --share | --shar \
558 | --sha | --sh)
559 ac_prev=sharedstatedir ;;
560 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
561 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
562 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
563 | --sha=* | --sh=*)
564 sharedstatedir="$ac_optarg" ;;
565
566 -site | --site | --sit)
567 ac_prev=site ;;
568 -site=* | --site=* | --sit=*)
569 site="$ac_optarg" ;;
570
571 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
572 ac_prev=srcdir ;;
573 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
574 srcdir="$ac_optarg" ;;
575
576 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
577 | --syscon | --sysco | --sysc | --sys | --sy)
578 ac_prev=sysconfdir ;;
579 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
580 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
581 sysconfdir="$ac_optarg" ;;
582
583 -target | --target | --targe | --targ | --tar | --ta | --t)
584 ac_prev=target ;;
585 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
586 target="$ac_optarg" ;;
587
588 -v | -verbose | --verbose | --verbos | --verbo | --verb)
589 verbose=yes ;;
590
591 -version | --version | --versio | --versi | --vers)
592 echo "configure generated by autoconf version 2.13"
593 exit 0 ;;
594
595 -with-* | --with-*)
596 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
597 # Reject names that are not valid shell variable names.
598 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
599 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
600 fi
601 ac_package=`echo $ac_package| sed 's/-/_/g'`
602 case "$ac_option" in
603 *=*) ;;
604 *) ac_optarg=yes ;;
605 esac
606 eval "with_${ac_package}='$ac_optarg'" ;;
607
608 -without-* | --without-*)
609 ac_package=`echo $ac_option|sed -e 's/-*without-//'`
610 # Reject names that are not valid shell variable names.
611 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
612 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
613 fi
614 ac_package=`echo $ac_package| sed 's/-/_/g'`
615 eval "with_${ac_package}=no" ;;
616
617 --x)
618 # Obsolete; use --with-x.
619 with_x=yes ;;
620
621 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
622 | --x-incl | --x-inc | --x-in | --x-i)
623 ac_prev=x_includes ;;
624 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
625 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
626 x_includes="$ac_optarg" ;;
627
628 -x-libraries | --x-libraries | --x-librarie | --x-librari \
629 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
630 ac_prev=x_libraries ;;
631 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
632 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
633 x_libraries="$ac_optarg" ;;
634
635 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
636 ;;
637
638 *)
639 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
640 echo "configure: warning: $ac_option: invalid host type" 1>&2
641 fi
642 if test "x$nonopt" != xNONE; then
643 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
644 fi
645 nonopt="$ac_option"
646 ;;
647
648 esac
649 done
650
651 if test -n "$ac_prev"; then
652 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
653 fi
654
655 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
656
657 # File descriptor usage:
658 # 0 standard input
659 # 1 file creation
660 # 2 errors and warnings
661 # 3 some systems may open it to /dev/tty
662 # 4 used on the Kubota Titan
663 # 6 checking for... messages and results
664 # 5 compiler messages saved in config.log
665 if test "$silent" = yes; then
666 exec 6>/dev/null
667 else
668 exec 6>&1
669 fi
670 exec 5>./config.log
671
672 echo "\
673 This file contains any messages produced by compilers while
674 running configure, to aid debugging if configure makes a mistake.
675 " 1>&5
676
677 # Strip out --no-create and --no-recursion so they do not pile up.
678 # Also quote any args containing shell metacharacters.
679 ac_configure_args=
680 for ac_arg
681 do
682 case "$ac_arg" in
683 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
684 | --no-cr | --no-c) ;;
685 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
686 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
687 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
688 ac_configure_args="$ac_configure_args '$ac_arg'" ;;
689 *) ac_configure_args="$ac_configure_args $ac_arg" ;;
690 esac
691 done
692
693 # NLS nuisances.
694 # Only set these to C if already set. These must not be set unconditionally
695 # because not all systems understand e.g. LANG=C (notably SCO).
696 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
697 # Non-C LC_CTYPE values break the ctype check.
698 if test "${LANG+set}" = set; then LANG=C; export LANG; fi
699 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
700 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
701 if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
702
703 # confdefs.h avoids OS command line length limits that DEFS can exceed.
704 rm -rf conftest* confdefs.h
705 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
706 echo > confdefs.h
707
708 # A filename unique to this package, relative to the directory that
709 # configure is in, which we can look for to find out if srcdir is correct.
710 ac_unique_file=wx-config.in
711
712 # Find the source files, if location was not specified.
713 if test -z "$srcdir"; then
714 ac_srcdir_defaulted=yes
715 # Try the directory containing this script, then its parent.
716 ac_prog=$0
717 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
718 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
719 srcdir=$ac_confdir
720 if test ! -r $srcdir/$ac_unique_file; then
721 srcdir=..
722 fi
723 else
724 ac_srcdir_defaulted=no
725 fi
726 if test ! -r $srcdir/$ac_unique_file; then
727 if test "$ac_srcdir_defaulted" = yes; then
728 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
729 else
730 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
731 fi
732 fi
733 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
734
735 # Prefer explicitly selected file to automatically selected ones.
736 if test -z "$CONFIG_SITE"; then
737 if test "x$prefix" != xNONE; then
738 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
739 else
740 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
741 fi
742 fi
743 for ac_site_file in $CONFIG_SITE; do
744 if test -r "$ac_site_file"; then
745 echo "loading site script $ac_site_file"
746 . "$ac_site_file"
747 fi
748 done
749
750 if test -r "$cache_file"; then
751 echo "loading cache $cache_file"
752 . $cache_file
753 else
754 echo "creating cache $cache_file"
755 > $cache_file
756 fi
757
758 ac_ext=c
759 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
760 ac_cpp='$CPP $CPPFLAGS'
761 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
762 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
763 cross_compiling=$ac_cv_prog_cc_cross
764
765 ac_exeext=
766 ac_objext=o
767 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
768 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
769 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
770 ac_n= ac_c='
771 ' ac_t=' '
772 else
773 ac_n=-n ac_c= ac_t=
774 fi
775 else
776 ac_n= ac_c='\c' ac_t=
777 fi
778
779
780
781 ac_aux_dir=
782 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
783 if test -f $ac_dir/install-sh; then
784 ac_aux_dir=$ac_dir
785 ac_install_sh="$ac_aux_dir/install-sh -c"
786 break
787 elif test -f $ac_dir/install.sh; then
788 ac_aux_dir=$ac_dir
789 ac_install_sh="$ac_aux_dir/install.sh -c"
790 break
791 fi
792 done
793 if test -z "$ac_aux_dir"; then
794 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
795 fi
796 ac_config_guess=$ac_aux_dir/config.guess
797 ac_config_sub=$ac_aux_dir/config.sub
798 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
799
800
801 # Do some error checking and defaulting for the host and target type.
802 # The inputs are:
803 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
804 #
805 # The rules are:
806 # 1. You are not allowed to specify --host, --target, and nonopt at the
807 # same time.
808 # 2. Host defaults to nonopt.
809 # 3. If nonopt is not specified, then host defaults to the current host,
810 # as determined by config.guess.
811 # 4. Target and build default to nonopt.
812 # 5. If nonopt is not specified, then target and build default to host.
813
814 # The aliases save the names the user supplied, while $host etc.
815 # will get canonicalized.
816 case $host---$target---$nonopt in
817 NONE---*---* | *---NONE---* | *---*---NONE) ;;
818 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
819 esac
820
821
822 # Make sure we can run config.sub.
823 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
824 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
825 fi
826
827 echo $ac_n "checking host system type""... $ac_c" 1>&6
828 echo "configure:829: checking host system type" >&5
829
830 host_alias=$host
831 case "$host_alias" in
832 NONE)
833 case $nonopt in
834 NONE)
835 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
836 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
837 fi ;;
838 *) host_alias=$nonopt ;;
839 esac ;;
840 esac
841
842 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
843 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
844 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
845 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
846 echo "$ac_t""$host" 1>&6
847
848 echo $ac_n "checking target system type""... $ac_c" 1>&6
849 echo "configure:850: checking target system type" >&5
850
851 target_alias=$target
852 case "$target_alias" in
853 NONE)
854 case $nonopt in
855 NONE) target_alias=$host_alias ;;
856 *) target_alias=$nonopt ;;
857 esac ;;
858 esac
859
860 target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
861 target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
862 target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
863 target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
864 echo "$ac_t""$target" 1>&6
865
866 echo $ac_n "checking build system type""... $ac_c" 1>&6
867 echo "configure:868: checking build system type" >&5
868
869 build_alias=$build
870 case "$build_alias" in
871 NONE)
872 case $nonopt in
873 NONE) build_alias=$host_alias ;;
874 *) build_alias=$nonopt ;;
875 esac ;;
876 esac
877
878 build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
879 build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
880 build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
881 build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
882 echo "$ac_t""$build" 1>&6
883
884 test "$host_alias" != "$target_alias" &&
885 test "$program_prefix$program_suffix$program_transform_name" = \
886 NONENONEs,x,x, &&
887 program_prefix=${target_alias}-
888
889
890
891 WX_MAJOR_VERSION_NUMBER=2
892 WX_MINOR_VERSION_NUMBER=1
893 WX_RELEASE_NUMBER=10
894
895 WX_INTERFACE_AGE=0
896 WX_BINARY_AGE=0
897
898 WX_VERSION=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER.$WX_RELEASE_NUMBER
899
900 WX_RELEASE=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER
901 WX_CURRENT=`expr $WX_RELEASE_NUMBER - $WX_INTERFACE_AGE`
902 WX_REVISION=$WX_INTERFACE_AGE
903 WX_AGE=`expr $WX_BINARY_AGE - $WX_INTERFACE_AGE`
904
905
906 USE_UNIX=1
907 USE_WIN32=0
908 USE_LINUX=
909 USE_SGI=
910 USE_HPUX=
911 USE_SYSV=
912 USE_SVR4=
913 USE_AIX=
914 USE_SUN=
915 USE_SOLARIS=
916 USE_SUNOS=
917 USE_ALPHA=
918 USE_OSF=
919 USE_BSD=
920 USE_FREEBSD=
921 USE_VMS=
922 USE_ULTRIX=
923 USE_CYGWIN=
924 USE_MINGW=
925 USE_DATA_GENERAL=
926
927 ALL_TOOLKITS="CYGWIN GTK MINGW MOTIF WINE"
928
929 DEFAULT_wxUSE_GTK=0
930 DEFAULT_wxUSE_MOTIF=0
931 DEFAULT_wxUSE_MSW=0
932 DEFAULT_wxUSE_WINE=0
933
934 DEFAULT_DEFAULT_wxUSE_GTK=0
935 DEFAULT_DEFAULT_wxUSE_MOTIF=0
936 DEFAULT_DEFAULT_wxUSE_MSW=0
937 DEFAULT_DEFAULT_wxUSE_WINE=0
938
939 case "${host}" in
940 *-hp-hpux* )
941 USE_HPUX=1
942 DEFAULT_DEFAULT_wxUSE_MOTIF=1
943 cat >> confdefs.h <<\EOF
944 #define __HPUX__ 1
945 EOF
946
947 ;;
948 *-*-linux* )
949 USE_LINUX=1
950 cat >> confdefs.h <<\EOF
951 #define __LINUX__ 1
952 EOF
953
954 TMP=`uname -m`
955 if test "x$TMP" = "xalpha"; then
956 USE_ALPHA=1
957 cat >> confdefs.h <<\EOF
958 #define __ALPHA__ 1
959 EOF
960
961 fi
962 DEFAULT_DEFAULT_wxUSE_GTK=1
963 ;;
964 *-*-irix5* | *-*-irix6* )
965 USE_SGI=1
966 USE_SVR4=1
967 cat >> confdefs.h <<\EOF
968 #define __SGI__ 1
969 EOF
970
971 cat >> confdefs.h <<\EOF
972 #define __SVR4__ 1
973 EOF
974
975 DEFAULT_DEFAULT_wxUSE_MOTIF=1
976 ;;
977 *-*-solaris2* )
978 USE_SUN=1
979 USE_SOLARIS=1
980 USE_SVR4=1
981 cat >> confdefs.h <<\EOF
982 #define __SUN__ 1
983 EOF
984
985 cat >> confdefs.h <<\EOF
986 #define __SOLARIS__ 1
987 EOF
988
989 cat >> confdefs.h <<\EOF
990 #define __SVR4__ 1
991 EOF
992
993 DEFAULT_DEFAULT_wxUSE_MOTIF=1
994 ;;
995 *-*-sunos4* )
996 USE_SUN=1
997 USE_SUNOS=1
998 USE_BSD=1
999 cat >> confdefs.h <<\EOF
1000 #define __SUN__ 1
1001 EOF
1002
1003 cat >> confdefs.h <<\EOF
1004 #define __SUNOS__ 1
1005 EOF
1006
1007 cat >> confdefs.h <<\EOF
1008 #define __BSD__ 1
1009 EOF
1010
1011 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1012 ;;
1013 *-*-freebsd* | *-*-netbsd*)
1014 USE_BSD=1
1015 USE_FREEBSD=1
1016 cat >> confdefs.h <<\EOF
1017 #define __FREEBSD__ 1
1018 EOF
1019
1020 cat >> confdefs.h <<\EOF
1021 #define __BSD__ 1
1022 EOF
1023
1024 DEFAULT_DEFAULT_wxUSE_GTK=1
1025 ;;
1026 *-*-osf* )
1027 USE_ALPHA=1
1028 USE_OSF=1
1029 cat >> confdefs.h <<\EOF
1030 #define __ALPHA__ 1
1031 EOF
1032
1033 cat >> confdefs.h <<\EOF
1034 #define __OSF__ 1
1035 EOF
1036
1037 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1038 ;;
1039 *-*-dgux5* )
1040 USE_ALPHA=1
1041 USE_SVR4=1
1042 cat >> confdefs.h <<\EOF
1043 #define __ALPHA__ 1
1044 EOF
1045
1046 cat >> confdefs.h <<\EOF
1047 #define __SVR4__ 1
1048 EOF
1049
1050 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1051 ;;
1052 *-*-sysv5* )
1053 USE_SYSV=1
1054 USE_SVR4=1
1055 cat >> confdefs.h <<\EOF
1056 #define __SYSV__ 1
1057 EOF
1058
1059 cat >> confdefs.h <<\EOF
1060 #define __SVR4__ 1
1061 EOF
1062
1063 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1064 ;;
1065 *-*-aix* )
1066 USE_AIX=1
1067 USE_SYSV=1
1068 USE_SVR4=1
1069 cat >> confdefs.h <<\EOF
1070 #define __AIX__ 1
1071 EOF
1072
1073 cat >> confdefs.h <<\EOF
1074 #define __SYSV__ 1
1075 EOF
1076
1077 cat >> confdefs.h <<\EOF
1078 #define __SVR4__ 1
1079 EOF
1080
1081 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1082 ;;
1083
1084 *-*-cygwin32* )
1085 USE_UNIX=0
1086 USE_WIN32=1
1087 cat >> confdefs.h <<\EOF
1088 #define __WIN32__ 1
1089 EOF
1090
1091 cat >> confdefs.h <<\EOF
1092 #define __WIN95__ 1
1093 EOF
1094
1095 cat >> confdefs.h <<\EOF
1096 #define __WINDOWS__ 1
1097 EOF
1098
1099 cat >> confdefs.h <<\EOF
1100 #define __GNUWIN32__ 1
1101 EOF
1102
1103 cat >> confdefs.h <<\EOF
1104 #define STRICT 1
1105 EOF
1106
1107 cat >> confdefs.h <<\EOF
1108 #define WINVER 0x0400
1109 EOF
1110
1111 DEFAULT_DEFAULT_wxUSE_MSW=1
1112 ;;
1113 *-*-mingw32* )
1114 USE_UNIX=0
1115 USE_WIN32=1
1116 cat >> confdefs.h <<\EOF
1117 #define __WIN32__ 1
1118 EOF
1119
1120 cat >> confdefs.h <<\EOF
1121 #define __WIN95__ 1
1122 EOF
1123
1124 cat >> confdefs.h <<\EOF
1125 #define __WINDOWS__ 1
1126 EOF
1127
1128 cat >> confdefs.h <<\EOF
1129 #define __GNUWIN32__ 1
1130 EOF
1131
1132 cat >> confdefs.h <<\EOF
1133 #define STRICT 1
1134 EOF
1135
1136 cat >> confdefs.h <<\EOF
1137 #define WINVER 0x0400
1138 EOF
1139
1140 DEFAULT_DEFAULT_wxUSE_MSW=1
1141 ;;
1142
1143 *-pc-os2_emx )
1144 cat >> confdefs.h <<\EOF
1145 #define __EMX__ 1
1146 EOF
1147
1148 ;;
1149
1150 *)
1151 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1152 esac
1153
1154 if test "$USE_UNIX" = 1 ; then
1155 wxUSE_UNIX=yes
1156 cat >> confdefs.h <<\EOF
1157 #define __UNIX__ 1
1158 EOF
1159
1160 SRC_SUBDIRS="$SRC_SUBDIRS unix"
1161 INCLUDE_SUBDIRS="$INCLUDE_SUBDIRS unix"
1162 fi
1163
1164 if test "$USE_LINUX" = 1; then
1165 echo $ac_n "checking for gettext in -lc""... $ac_c" 1>&6
1166 echo "configure:1167: checking for gettext in -lc" >&5
1167 ac_lib_var=`echo c'_'gettext | sed 'y%./+-%__p_%'`
1168 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1169 echo $ac_n "(cached) $ac_c" 1>&6
1170 else
1171 ac_save_LIBS="$LIBS"
1172 LIBS="-lc $LIBS"
1173 cat > conftest.$ac_ext <<EOF
1174 #line 1175 "configure"
1175 #include "confdefs.h"
1176 /* Override any gcc2 internal prototype to avoid an error. */
1177 /* We use char because int might match the return type of a gcc2
1178 builtin and then its argument prototype would still apply. */
1179 char gettext();
1180
1181 int main() {
1182 gettext()
1183 ; return 0; }
1184 EOF
1185 if { (eval echo configure:1186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1186 rm -rf conftest*
1187 eval "ac_cv_lib_$ac_lib_var=yes"
1188 else
1189 echo "configure: failed program was:" >&5
1190 cat conftest.$ac_ext >&5
1191 rm -rf conftest*
1192 eval "ac_cv_lib_$ac_lib_var=no"
1193 fi
1194 rm -f conftest*
1195 LIBS="$ac_save_LIBS"
1196
1197 fi
1198 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1199 echo "$ac_t""yes" 1>&6
1200 cat >> confdefs.h <<\EOF
1201 #define wxHAVE_GLIBC2 1
1202 EOF
1203
1204 else
1205 echo "$ac_t""no" 1>&6
1206 fi
1207
1208 fi
1209
1210
1211
1212
1213 wx_arg_cache_file="configarg.cache"
1214 echo "loading argument cache $wx_arg_cache_file"
1215 rm -f ${wx_arg_cache_file}.tmp
1216 touch ${wx_arg_cache_file}.tmp
1217 touch ${wx_arg_cache_file}
1218
1219
1220 DEBUG_CONFIGURE=0
1221 if test $DEBUG_CONFIGURE = 1; then
1222 DEFAULT_wxUSE_THREADS=yes
1223
1224 DEFAULT_wxUSE_SHARED=yes
1225 DEFAULT_wxUSE_OPTIMISE=yes
1226 DEFAULT_wxUSE_PROFILE=no
1227 DEFAULT_wxUSE_NO_DEPS=no
1228 DEFAULT_wxUSE_NO_RTTI=no
1229 DEFAULT_wxUSE_NO_EXCEPTIONS=no
1230 DEFAULT_wxUSE_PERMISSIVE=no
1231 DEFAULT_wxUSE_DEBUG_FLAG=yes
1232 DEFAULT_wxUSE_DEBUG_INFO=yes
1233 DEFAULT_wxUSE_DEBUG_GDB=yes
1234 DEFAULT_wxUSE_MEM_TRACING=no
1235 DEFAULT_wxUSE_DEBUG_CONTEXT=no
1236 DEFAULT_wxUSE_DMALLOC=no
1237 DEFAULT_wxUSE_APPLE_IEEE=no
1238
1239 DEFAULT_wxUSE_LOG=yes
1240
1241 DEFAULT_wxUSE_GUI=yes
1242
1243 DEFAULT_wxUSE_ZLIB=no
1244 DEFAULT_wxUSE_LIBPNG=no
1245 DEFAULT_wxUSE_LIBJPEG=no
1246 DEFAULT_wxUSE_ODBC=no
1247
1248 DEFAULT_wxUSE_STD_IOSTREAM=no
1249 DEFAULT_wxUSE_FILE=no
1250 DEFAULT_wxUSE_TEXTFILE=no
1251 DEFAULT_wxUSE_TIMEDATE=no
1252 DEFAULT_wxUSE_WAVE=no
1253 DEFAULT_wxUSE_INTL=no
1254 DEFAULT_wxUSE_CONFIG=no
1255 DEFAULT_wxUSE_STREAMS=no
1256 DEFAULT_wxUSE_SOCKETS=no
1257 DEFAULT_wxUSE_DIALUP_MANAGER=no
1258 DEFAULT_wxUSE_SERIAL=no
1259 DEFAULT_wxUSE_JOYSTICK=no
1260 DEFAULT_wxUSE_DYNLIB_CLASS=no
1261 DEFAULT_wxUSE_LONGLONG=no
1262
1263 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
1264 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
1265 DEFAULT_wxUSE_POSTSCRIPT=no
1266
1267 DEFAULT_wxUSE_X_RESOURCES=no
1268 DEFAULT_wxUSE_CLIPBOARD=no
1269 DEFAULT_wxUSE_TOOLTIPS=no
1270 DEFAULT_wxUSE_DRAG_AND_DROP=no
1271 DEFAULT_wxUSE_SPLINES=no
1272
1273 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
1274 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
1275 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
1276
1277 DEFAULT_wxUSE_PROLOGIO=no
1278 DEFAULT_wxUSE_RESOURCES=no
1279 DEFAULT_wxUSE_CONSTRAINTS=no
1280 DEFAULT_wxUSE_IPC=no
1281 DEFAULT_wxUSE_HELP=no
1282 DEFAULT_wxUSE_WXTREE=no
1283 DEFAULT_wxUSE_METAFILE=no
1284
1285 DEFAULT_wxUSE_COMMONDLGS=no
1286 DEFAULT_wxUSE_DIRDLG=no
1287 DEFAULT_wxUSE_TEXTDLG=no
1288 DEFAULT_wxUSE_STARTUP_TIPS=no
1289 DEFAULT_wxUSE_PROGRESSDLG=no
1290 DEFAULT_wxUSE_MINIFRAME=no
1291 DEFAULT_wxUSE_HTML=no
1292 DEFAULT_wxUSE_FS_INET=no
1293 DEFAULT_wxUSE_FS_ZIP=no
1294 DEFAULT_wxUSE_BUSYINFO=no
1295 DEFAULT_wxUSE_ZIPSTREAM=no
1296 DEFAULT_wxUSE_VALIDATORS=yes
1297
1298 DEFAULT_wxUSE_ACCEL=no
1299 DEFAULT_wxUSE_CARET=no
1300 DEFAULT_wxUSE_BMPBUTTON=no
1301 DEFAULT_wxUSE_CHECKBOX=no
1302 DEFAULT_wxUSE_CHECKLST=no
1303 DEFAULT_wxUSE_CHOICE=yes
1304 DEFAULT_wxUSE_COMBOBOX=no
1305 DEFAULT_wxUSE_GAUGE=no
1306 DEFAULT_wxUSE_GRID=no
1307 DEFAULT_wxUSE_NEW_GRID=no
1308 DEFAULT_wxUSE_IMAGLIST=no
1309 DEFAULT_wxUSE_LISTBOX=no
1310 DEFAULT_wxUSE_LISTCTRL=no
1311 DEFAULT_wxUSE_NOTEBOOK=no
1312 DEFAULT_wxUSE_RADIOBOX=no
1313 DEFAULT_wxUSE_RADIOBTN=no
1314 DEFAULT_wxUSE_SASH=no
1315 DEFAULT_wxUSE_SCROLLBAR=no
1316 DEFAULT_wxUSE_SLIDER=no
1317 DEFAULT_wxUSE_SPINBTN=no
1318 DEFAULT_wxUSE_SPLITTER=no
1319 DEFAULT_wxUSE_STATBMP=no
1320 DEFAULT_wxUSE_STATBOX=no
1321 DEFAULT_wxUSE_STATLINE=no
1322 DEFAULT_wxUSE_STATUSBAR=yes
1323 DEFAULT_wxUSE_TABDIALOG=no
1324 DEFAULT_wxUSE_TOOLBAR=no
1325 DEFAULT_wxUSE_TREECTRL=no
1326
1327 DEFAULT_wxUSE_UNICODE=no
1328 DEFAULT_wxUSE_WCSRTOMBS=no
1329
1330 DEFAULT_wxUSE_GIF=no
1331 DEFAULT_wxUSE_PCX=no
1332 DEFAULT_wxUSE_PNM=no
1333 else
1334 DEFAULT_wxUSE_THREADS=yes
1335
1336 DEFAULT_wxUSE_SHARED=yes
1337 DEFAULT_wxUSE_OPTIMISE=yes
1338 DEFAULT_wxUSE_PROFILE=no
1339 DEFAULT_wxUSE_NO_DEPS=no
1340 DEFAULT_wxUSE_NO_RTTI=no
1341 DEFAULT_wxUSE_NO_EXCEPTIONS=no
1342 DEFAULT_wxUSE_PERMISSIVE=no
1343 DEFAULT_wxUSE_DEBUG_FLAG=no
1344 DEFAULT_wxUSE_DEBUG_INFO=no
1345 DEFAULT_wxUSE_DEBUG_GDB=no
1346 DEFAULT_wxUSE_MEM_TRACING=no
1347 DEFAULT_wxUSE_DEBUG_CONTEXT=no
1348 DEFAULT_wxUSE_DMALLOC=no
1349 DEFAULT_wxUSE_APPLE_IEEE=yes
1350
1351 DEFAULT_wxUSE_LOG=yes
1352
1353 DEFAULT_wxUSE_GUI=yes
1354
1355 DEFAULT_wxUSE_ZLIB=yes
1356 DEFAULT_wxUSE_LIBPNG=yes
1357 DEFAULT_wxUSE_LIBJPEG=yes
1358 DEFAULT_wxUSE_ODBC=yes
1359
1360 DEFAULT_wxUSE_STD_IOSTREAM=no
1361 DEFAULT_wxUSE_FILE=yes
1362 DEFAULT_wxUSE_TEXTFILE=yes
1363 DEFAULT_wxUSE_TIMEDATE=yes
1364 DEFAULT_wxUSE_WAVE=no
1365 DEFAULT_wxUSE_INTL=yes
1366 DEFAULT_wxUSE_CONFIG=yes
1367 DEFAULT_wxUSE_STREAMS=yes
1368 DEFAULT_wxUSE_SOCKETS=yes
1369 DEFAULT_wxUSE_DIALUP_MANAGER=yes
1370 DEFAULT_wxUSE_SERIAL=yes
1371 DEFAULT_wxUSE_JOYSTICK=yes
1372 DEFAULT_wxUSE_DYNLIB_CLASS=yes
1373 DEFAULT_wxUSE_LONGLONG=no
1374
1375 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
1376 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
1377 DEFAULT_wxUSE_POSTSCRIPT=yes
1378
1379 DEFAULT_wxUSE_X_RESOURCES=no
1380 DEFAULT_wxUSE_CLIPBOARD=yes
1381 DEFAULT_wxUSE_TOOLTIPS=yes
1382 DEFAULT_wxUSE_DRAG_AND_DROP=yes
1383 DEFAULT_wxUSE_SPLINES=yes
1384
1385 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
1386 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
1387 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
1388
1389 DEFAULT_wxUSE_PROLOGIO=yes
1390 DEFAULT_wxUSE_RESOURCES=yes
1391 DEFAULT_wxUSE_CONSTRAINTS=yes
1392 DEFAULT_wxUSE_IPC=yes
1393 DEFAULT_wxUSE_HELP=yes
1394 DEFAULT_wxUSE_WXTREE=yes
1395 DEFAULT_wxUSE_METAFILE=yes
1396
1397 DEFAULT_wxUSE_COMMONDLGS=yes
1398 DEFAULT_wxUSE_DIRDLG=yes
1399 DEFAULT_wxUSE_TEXTDLG=yes
1400 DEFAULT_wxUSE_STARTUP_TIPS=yes
1401 DEFAULT_wxUSE_PROGRESSDLG=yes
1402 DEFAULT_wxUSE_MINIFRAME=yes
1403 DEFAULT_wxUSE_HTML=yes
1404 DEFAULT_wxUSE_FS_INET=yes
1405 DEFAULT_wxUSE_FS_ZIP=yes
1406 DEFAULT_wxUSE_BUSYINFO=yes
1407 DEFAULT_wxUSE_ZIPSTREAM=yes
1408 DEFAULT_wxUSE_VALIDATORS=yes
1409
1410 DEFAULT_wxUSE_ACCEL=yes
1411 DEFAULT_wxUSE_CARET=yes
1412 DEFAULT_wxUSE_BMPBUTTON=yes
1413 DEFAULT_wxUSE_CHECKBOX=yes
1414 DEFAULT_wxUSE_CHECKLST=yes
1415 DEFAULT_wxUSE_CHOICE=yes
1416 DEFAULT_wxUSE_COMBOBOX=yes
1417 DEFAULT_wxUSE_GAUGE=yes
1418 DEFAULT_wxUSE_GRID=yes
1419 DEFAULT_wxUSE_NEW_GRID=yes
1420 DEFAULT_wxUSE_IMAGLIST=yes
1421 DEFAULT_wxUSE_LISTBOX=yes
1422 DEFAULT_wxUSE_LISTCTRL=yes
1423 DEFAULT_wxUSE_NOTEBOOK=yes
1424 DEFAULT_wxUSE_RADIOBOX=yes
1425 DEFAULT_wxUSE_RADIOBTN=yes
1426 DEFAULT_wxUSE_SASH=yes
1427 DEFAULT_wxUSE_SCROLLBAR=yes
1428 DEFAULT_wxUSE_SLIDER=yes
1429 DEFAULT_wxUSE_SPINBTN=yes
1430 DEFAULT_wxUSE_SPLITTER=yes
1431 DEFAULT_wxUSE_STATBMP=yes
1432 DEFAULT_wxUSE_STATBOX=yes
1433 DEFAULT_wxUSE_STATLINE=yes
1434 DEFAULT_wxUSE_STATUSBAR=yes
1435 DEFAULT_wxUSE_TABDIALOG=no
1436 DEFAULT_wxUSE_TOOLBAR=yes
1437 DEFAULT_wxUSE_TREECTRL=yes
1438
1439 DEFAULT_wxUSE_UNICODE=no
1440 DEFAULT_wxUSE_WCSRTOMBS=no
1441
1442 DEFAULT_wxUSE_GIF=yes
1443 DEFAULT_wxUSE_PCX=yes
1444 DEFAULT_wxUSE_PNM=yes
1445 fi
1446
1447
1448
1449 for toolkit in `echo $ALL_TOOLKITS`; do
1450 LINE=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1451 if test "x$LINE" != x ; then
1452 has_toolkit_in_cache=1
1453 eval "DEFAULT_$LINE"
1454 eval "CACHE_$toolkit=1"
1455 fi
1456 done
1457
1458
1459
1460 echo $ac_n "checking "for --enable-gui"""... $ac_c" 1>&6
1461 echo "configure:1462: checking "for --enable-gui"" >&5
1462 no_cache=0
1463 # Check whether --enable-gui or --disable-gui was given.
1464 if test "${enable_gui+set}" = set; then
1465 enableval="$enable_gui"
1466
1467 if test "$enableval" = yes; then
1468 ac_cv_use_gui='wxUSE_GUI=yes'
1469 else
1470 ac_cv_use_gui='wxUSE_GUI=no'
1471 fi
1472
1473 else
1474
1475 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1476 if test "x$LINE" != x ; then
1477 eval "DEFAULT_$LINE"
1478 else
1479 no_cache=1
1480 fi
1481
1482 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1483
1484 fi
1485
1486
1487 eval "$ac_cv_use_gui"
1488 if test "$no_cache" != 1; then
1489 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1490 fi
1491
1492 if test "$wxUSE_GUI" = yes; then
1493 echo "$ac_t""yes" 1>&6
1494 else
1495 echo "$ac_t""no" 1>&6
1496 fi
1497
1498
1499 if test "$wxUSE_GUI" = "no"; then
1500 DEFAULT_wxUSE_ZLIB=no
1501 DEFAULT_wxUSE_LIBPNG=no
1502 DEFAULT_wxUSE_LIBJPEG=no
1503 DEFAULT_wxUSE_SOCKETS=no
1504 DEFAULT_wxUSE_JOYSTICK=no
1505 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
1506 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
1507 DEFAULT_wxUSE_POSTSCRIPT=no
1508 DEFAULT_wxUSE_X_RESOURCES=no
1509 DEFAULT_wxUSE_CLIPBOARD=no
1510 DEFAULT_wxUSE_TOOLTIPS=no
1511 DEFAULT_wxUSE_DRAG_AND_DROP=no
1512 DEFAULT_wxUSE_SPLINES=no
1513 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
1514 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
1515 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
1516 DEFAULT_wxUSE_PROLOGIO=no
1517 DEFAULT_wxUSE_RESOURCES=no
1518 DEFAULT_wxUSE_CONSTRAINTS=no
1519 DEFAULT_wxUSE_IPC=no
1520 DEFAULT_wxUSE_HELP=no
1521 DEFAULT_wxUSE_WXTREE=no
1522 DEFAULT_wxUSE_METAFILE=no
1523 DEFAULT_wxUSE_COMMONDLGS=no
1524 DEFAULT_wxUSE_DIRDLG=no
1525 DEFAULT_wxUSE_TEXTDLG=no
1526 DEFAULT_wxUSE_STARTUP_TIPS=no
1527 DEFAULT_wxUSE_PROGRESSDLG=no
1528 DEFAULT_wxUSE_MINIFRAME=no
1529 DEFAULT_wxUSE_HTML=no
1530 DEFAULT_wxUSE_FS_INET=no
1531 DEFAULT_wxUSE_FS_ZIP=no
1532 DEFAULT_wxUSE_BUSYINFO=no
1533 DEFAULT_wxUSE_ZIPSTREAM=no
1534 DEFAULT_wxUSE_VALIDATORS=yes
1535 DEFAULT_wxUSE_ACCEL=no
1536 DEFAULT_wxUSE_CARET=no
1537 DEFAULT_wxUSE_BMPBUTTON=no
1538 DEFAULT_wxUSE_CHECKBOX=no
1539 DEFAULT_wxUSE_CHECKLST=no
1540 DEFAULT_wxUSE_CHOICE=yes
1541 DEFAULT_wxUSE_COMBOBOX=no
1542 DEFAULT_wxUSE_GAUGE=no
1543 DEFAULT_wxUSE_GRID=no
1544 DEFAULT_wxUSE_NEW_GRID=no
1545 DEFAULT_wxUSE_IMAGLIST=no
1546 DEFAULT_wxUSE_LISTBOX=no
1547 DEFAULT_wxUSE_LISTCTRL=no
1548 DEFAULT_wxUSE_NOTEBOOK=no
1549 DEFAULT_wxUSE_RADIOBOX=no
1550 DEFAULT_wxUSE_RADIOBTN=no
1551 DEFAULT_wxUSE_SASH=no
1552 DEFAULT_wxUSE_SCROLLBAR=no
1553 DEFAULT_wxUSE_SLIDER=no
1554 DEFAULT_wxUSE_SPINBTN=no
1555 DEFAULT_wxUSE_SPLITTER=no
1556 DEFAULT_wxUSE_STATBMP=no
1557 DEFAULT_wxUSE_STATBOX=no
1558 DEFAULT_wxUSE_STATLINE=no
1559 DEFAULT_wxUSE_STATUSBAR=yes
1560 DEFAULT_wxUSE_TABDIALOG=no
1561 DEFAULT_wxUSE_TOOLBAR=no
1562 DEFAULT_wxUSE_TREECTRL=no
1563 DEFAULT_wxUSE_GIF=no
1564 DEFAULT_wxUSE_PCX=no
1565 DEFAULT_wxUSE_PNM=no
1566 fi
1567
1568 # Check whether --with-gtk or --without-gtk was given.
1569 if test "${with_gtk+set}" = set; then
1570 withval="$with_gtk"
1571 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
1572 fi
1573
1574 # Check whether --with-motif or --without-motif was given.
1575 if test "${with_motif+set}" = set; then
1576 withval="$with_motif"
1577 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
1578 fi
1579
1580 # Check whether --with-wine or --without-wine was given.
1581 if test "${with_wine+set}" = set; then
1582 withval="$with_wine"
1583 wxUSE_WINE="$withval" CACHE_WINE=1 TOOLKIT_GIVEN=1
1584 fi
1585
1586 # Check whether --with-cygwin or --without-cygwin was given.
1587 if test "${with_cygwin+set}" = set; then
1588 withval="$with_cygwin"
1589 wxUSE_CYGWIN="$withval" CACHE_CYGWIN=1 TOOLKIT_GIVEN=1
1590 fi
1591
1592 # Check whether --with-mingw or --without-mingw was given.
1593 if test "${with_mingw+set}" = set; then
1594 withval="$with_mingw"
1595 wxUSE_MINGW="$withval" CACHE_MINGW=1 TOOLKIT_GIVEN=1
1596 fi
1597
1598
1599 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
1600 if test "${with_gtk_prefix+set}" = set; then
1601 withval="$with_gtk_prefix"
1602 gtk_config_prefix="$withval"
1603 else
1604 gtk_config_prefix=""
1605 fi
1606
1607 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
1608 if test "${with_gtk_exec_prefix+set}" = set; then
1609 withval="$with_gtk_exec_prefix"
1610 gtk_config_exec_prefix="$withval"
1611 else
1612 gtk_config_exec_prefix=""
1613 fi
1614
1615
1616
1617 echo $ac_n "checking "for --with-dmalloc"""... $ac_c" 1>&6
1618 echo "configure:1619: checking "for --with-dmalloc"" >&5
1619 no_cache=0
1620 # Check whether --with-dmalloc or --without-dmalloc was given.
1621 if test "${with_dmalloc+set}" = set; then
1622 withval="$with_dmalloc"
1623
1624 if test "$withval" = yes; then
1625 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
1626 else
1627 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
1628 fi
1629
1630 else
1631
1632 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
1633 if test "x$LINE" != x ; then
1634 eval "DEFAULT_$LINE"
1635 else
1636 no_cache=1
1637 fi
1638
1639 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
1640
1641 fi
1642
1643
1644 eval "$ac_cv_use_dmalloc"
1645 if test "$no_cache" != 1; then
1646 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
1647 fi
1648
1649 if test "$wxUSE_DMALLOC" = yes; then
1650 echo "$ac_t""yes" 1>&6
1651 else
1652 echo "$ac_t""no" 1>&6
1653 fi
1654
1655
1656 echo $ac_n "checking "for --with-zlib"""... $ac_c" 1>&6
1657 echo "configure:1658: checking "for --with-zlib"" >&5
1658 no_cache=0
1659 # Check whether --with-zlib or --without-zlib was given.
1660 if test "${with_zlib+set}" = set; then
1661 withval="$with_zlib"
1662
1663 if test "$withval" = yes; then
1664 ac_cv_use_zlib='wxUSE_ZLIB=yes'
1665 else
1666 ac_cv_use_zlib='wxUSE_ZLIB=no'
1667 fi
1668
1669 else
1670
1671 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
1672 if test "x$LINE" != x ; then
1673 eval "DEFAULT_$LINE"
1674 else
1675 no_cache=1
1676 fi
1677
1678 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
1679
1680 fi
1681
1682
1683 eval "$ac_cv_use_zlib"
1684 if test "$no_cache" != 1; then
1685 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
1686 fi
1687
1688 if test "$wxUSE_ZLIB" = yes; then
1689 echo "$ac_t""yes" 1>&6
1690 else
1691 echo "$ac_t""no" 1>&6
1692 fi
1693
1694
1695 echo $ac_n "checking "for --with-libpng"""... $ac_c" 1>&6
1696 echo "configure:1697: checking "for --with-libpng"" >&5
1697 no_cache=0
1698 # Check whether --with-libpng or --without-libpng was given.
1699 if test "${with_libpng+set}" = set; then
1700 withval="$with_libpng"
1701
1702 if test "$withval" = yes; then
1703 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
1704 else
1705 ac_cv_use_libpng='wxUSE_LIBPNG=no'
1706 fi
1707
1708 else
1709
1710 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1711 if test "x$LINE" != x ; then
1712 eval "DEFAULT_$LINE"
1713 else
1714 no_cache=1
1715 fi
1716
1717 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1718
1719 fi
1720
1721
1722 eval "$ac_cv_use_libpng"
1723 if test "$no_cache" != 1; then
1724 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1725 fi
1726
1727 if test "$wxUSE_LIBPNG" = yes; then
1728 echo "$ac_t""yes" 1>&6
1729 else
1730 echo "$ac_t""no" 1>&6
1731 fi
1732
1733
1734 echo $ac_n "checking "for --with-libjpeg"""... $ac_c" 1>&6
1735 echo "configure:1736: checking "for --with-libjpeg"" >&5
1736 no_cache=0
1737 # Check whether --with-libjpeg or --without-libjpeg was given.
1738 if test "${with_libjpeg+set}" = set; then
1739 withval="$with_libjpeg"
1740
1741 if test "$withval" = yes; then
1742 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
1743 else
1744 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
1745 fi
1746
1747 else
1748
1749 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
1750 if test "x$LINE" != x ; then
1751 eval "DEFAULT_$LINE"
1752 else
1753 no_cache=1
1754 fi
1755
1756 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
1757
1758 fi
1759
1760
1761 eval "$ac_cv_use_libjpeg"
1762 if test "$no_cache" != 1; then
1763 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
1764 fi
1765
1766 if test "$wxUSE_LIBJPEG" = yes; then
1767 echo "$ac_t""yes" 1>&6
1768 else
1769 echo "$ac_t""no" 1>&6
1770 fi
1771
1772
1773 echo $ac_n "checking "for --with-opengl"""... $ac_c" 1>&6
1774 echo "configure:1775: checking "for --with-opengl"" >&5
1775 no_cache=0
1776 # Check whether --with-opengl or --without-opengl was given.
1777 if test "${with_opengl+set}" = set; then
1778 withval="$with_opengl"
1779
1780 if test "$withval" = yes; then
1781 ac_cv_use_opengl='wxUSE_OPENGL=yes'
1782 else
1783 ac_cv_use_opengl='wxUSE_OPENGL=no'
1784 fi
1785
1786 else
1787
1788 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
1789 if test "x$LINE" != x ; then
1790 eval "DEFAULT_$LINE"
1791 else
1792 no_cache=1
1793 fi
1794
1795 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
1796
1797 fi
1798
1799
1800 eval "$ac_cv_use_opengl"
1801 if test "$no_cache" != 1; then
1802 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
1803 fi
1804
1805 if test "$wxUSE_OPENGL" = yes; then
1806 echo "$ac_t""yes" 1>&6
1807 else
1808 echo "$ac_t""no" 1>&6
1809 fi
1810
1811
1812 echo $ac_n "checking "for --with-odbc"""... $ac_c" 1>&6
1813 echo "configure:1814: checking "for --with-odbc"" >&5
1814 no_cache=0
1815 # Check whether --with-odbc or --without-odbc was given.
1816 if test "${with_odbc+set}" = set; then
1817 withval="$with_odbc"
1818
1819 if test "$withval" = yes; then
1820 ac_cv_use_odbc='wxUSE_ODBC=yes'
1821 else
1822 ac_cv_use_odbc='wxUSE_ODBC=no'
1823 fi
1824
1825 else
1826
1827 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
1828 if test "x$LINE" != x ; then
1829 eval "DEFAULT_$LINE"
1830 else
1831 no_cache=1
1832 fi
1833
1834 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
1835
1836 fi
1837
1838
1839 eval "$ac_cv_use_odbc"
1840 if test "$no_cache" != 1; then
1841 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
1842 fi
1843
1844 if test "$wxUSE_ODBC" = yes; then
1845 echo "$ac_t""yes" 1>&6
1846 else
1847 echo "$ac_t""no" 1>&6
1848 fi
1849
1850
1851
1852
1853
1854 echo $ac_n "checking "for --enable-shared"""... $ac_c" 1>&6
1855 echo "configure:1856: checking "for --enable-shared"" >&5
1856 no_cache=0
1857 # Check whether --enable-shared or --disable-shared was given.
1858 if test "${enable_shared+set}" = set; then
1859 enableval="$enable_shared"
1860
1861 if test "$enableval" = yes; then
1862 ac_cv_use_shared='wxUSE_SHARED=yes'
1863 else
1864 ac_cv_use_shared='wxUSE_SHARED=no'
1865 fi
1866
1867 else
1868
1869 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
1870 if test "x$LINE" != x ; then
1871 eval "DEFAULT_$LINE"
1872 else
1873 no_cache=1
1874 fi
1875
1876 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
1877
1878 fi
1879
1880
1881 eval "$ac_cv_use_shared"
1882 if test "$no_cache" != 1; then
1883 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
1884 fi
1885
1886 if test "$wxUSE_SHARED" = yes; then
1887 echo "$ac_t""yes" 1>&6
1888 else
1889 echo "$ac_t""no" 1>&6
1890 fi
1891
1892
1893 echo $ac_n "checking "for --enable-optimise"""... $ac_c" 1>&6
1894 echo "configure:1895: checking "for --enable-optimise"" >&5
1895 no_cache=0
1896 # Check whether --enable-optimise or --disable-optimise was given.
1897 if test "${enable_optimise+set}" = set; then
1898 enableval="$enable_optimise"
1899
1900 if test "$enableval" = yes; then
1901 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
1902 else
1903 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
1904 fi
1905
1906 else
1907
1908 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
1909 if test "x$LINE" != x ; then
1910 eval "DEFAULT_$LINE"
1911 else
1912 no_cache=1
1913 fi
1914
1915 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
1916
1917 fi
1918
1919
1920 eval "$ac_cv_use_optimise"
1921 if test "$no_cache" != 1; then
1922 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
1923 fi
1924
1925 if test "$wxUSE_OPTIMISE" = yes; then
1926 echo "$ac_t""yes" 1>&6
1927 else
1928 echo "$ac_t""no" 1>&6
1929 fi
1930
1931
1932 echo $ac_n "checking "for --enable-debug"""... $ac_c" 1>&6
1933 echo "configure:1934: checking "for --enable-debug"" >&5
1934 no_cache=0
1935 # Check whether --enable-debug or --disable-debug was given.
1936 if test "${enable_debug+set}" = set; then
1937 enableval="$enable_debug"
1938
1939 if test "$enableval" = yes; then
1940 ac_cv_use_debug='wxUSE_DEBUG=yes'
1941 else
1942 ac_cv_use_debug='wxUSE_DEBUG=no'
1943 fi
1944
1945 else
1946
1947 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
1948 if test "x$LINE" != x ; then
1949 eval "DEFAULT_$LINE"
1950 else
1951 no_cache=1
1952 fi
1953
1954 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
1955
1956 fi
1957
1958
1959 eval "$ac_cv_use_debug"
1960 if test "$no_cache" != 1; then
1961 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
1962 fi
1963
1964 if test "$wxUSE_DEBUG" = yes; then
1965 echo "$ac_t""yes" 1>&6
1966 else
1967 echo "$ac_t""no" 1>&6
1968 fi
1969
1970
1971 if test "$wxUSE_DEBUG" = "yes"; then
1972 DEFAULT_wxUSE_DEBUG_FLAG=yes
1973 DEFAULT_wxUSE_DEBUG_INFO=yes
1974 elif test "$wxUSE_DEBUG" = "no"; then
1975 DEFAULT_wxUSE_DEBUG_FLAG=no
1976 DEFAULT_wxUSE_DEBUG_INFO=no
1977 fi
1978
1979
1980 echo $ac_n "checking "for --enable-debug_flag"""... $ac_c" 1>&6
1981 echo "configure:1982: checking "for --enable-debug_flag"" >&5
1982 no_cache=0
1983 # Check whether --enable-debug_flag or --disable-debug_flag was given.
1984 if test "${enable_debug_flag+set}" = set; then
1985 enableval="$enable_debug_flag"
1986
1987 if test "$enableval" = yes; then
1988 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
1989 else
1990 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
1991 fi
1992
1993 else
1994
1995 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
1996 if test "x$LINE" != x ; then
1997 eval "DEFAULT_$LINE"
1998 else
1999 no_cache=1
2000 fi
2001
2002 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2003
2004 fi
2005
2006
2007 eval "$ac_cv_use_debug_flag"
2008 if test "$no_cache" != 1; then
2009 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2010 fi
2011
2012 if test "$wxUSE_DEBUG_FLAG" = yes; then
2013 echo "$ac_t""yes" 1>&6
2014 else
2015 echo "$ac_t""no" 1>&6
2016 fi
2017
2018
2019 echo $ac_n "checking "for --enable-debug_info"""... $ac_c" 1>&6
2020 echo "configure:2021: checking "for --enable-debug_info"" >&5
2021 no_cache=0
2022 # Check whether --enable-debug_info or --disable-debug_info was given.
2023 if test "${enable_debug_info+set}" = set; then
2024 enableval="$enable_debug_info"
2025
2026 if test "$enableval" = yes; then
2027 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
2028 else
2029 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
2030 fi
2031
2032 else
2033
2034 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2035 if test "x$LINE" != x ; then
2036 eval "DEFAULT_$LINE"
2037 else
2038 no_cache=1
2039 fi
2040
2041 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2042
2043 fi
2044
2045
2046 eval "$ac_cv_use_debug_info"
2047 if test "$no_cache" != 1; then
2048 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2049 fi
2050
2051 if test "$wxUSE_DEBUG_INFO" = yes; then
2052 echo "$ac_t""yes" 1>&6
2053 else
2054 echo "$ac_t""no" 1>&6
2055 fi
2056
2057
2058 echo $ac_n "checking "for --enable-debug_gdb"""... $ac_c" 1>&6
2059 echo "configure:2060: checking "for --enable-debug_gdb"" >&5
2060 no_cache=0
2061 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2062 if test "${enable_debug_gdb+set}" = set; then
2063 enableval="$enable_debug_gdb"
2064
2065 if test "$enableval" = yes; then
2066 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
2067 else
2068 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
2069 fi
2070
2071 else
2072
2073 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2074 if test "x$LINE" != x ; then
2075 eval "DEFAULT_$LINE"
2076 else
2077 no_cache=1
2078 fi
2079
2080 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2081
2082 fi
2083
2084
2085 eval "$ac_cv_use_debug_gdb"
2086 if test "$no_cache" != 1; then
2087 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2088 fi
2089
2090 if test "$wxUSE_DEBUG_GDB" = yes; then
2091 echo "$ac_t""yes" 1>&6
2092 else
2093 echo "$ac_t""no" 1>&6
2094 fi
2095
2096
2097 echo $ac_n "checking "for --enable-debug_cntxt"""... $ac_c" 1>&6
2098 echo "configure:2099: checking "for --enable-debug_cntxt"" >&5
2099 no_cache=0
2100 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2101 if test "${enable_debug_cntxt+set}" = set; then
2102 enableval="$enable_debug_cntxt"
2103
2104 if test "$enableval" = yes; then
2105 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
2106 else
2107 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
2108 fi
2109
2110 else
2111
2112 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2113 if test "x$LINE" != x ; then
2114 eval "DEFAULT_$LINE"
2115 else
2116 no_cache=1
2117 fi
2118
2119 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2120
2121 fi
2122
2123
2124 eval "$ac_cv_use_debug_cntxt"
2125 if test "$no_cache" != 1; then
2126 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2127 fi
2128
2129 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2130 echo "$ac_t""yes" 1>&6
2131 else
2132 echo "$ac_t""no" 1>&6
2133 fi
2134
2135
2136 echo $ac_n "checking "for --enable-mem_tracing"""... $ac_c" 1>&6
2137 echo "configure:2138: checking "for --enable-mem_tracing"" >&5
2138 no_cache=0
2139 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2140 if test "${enable_mem_tracing+set}" = set; then
2141 enableval="$enable_mem_tracing"
2142
2143 if test "$enableval" = yes; then
2144 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
2145 else
2146 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
2147 fi
2148
2149 else
2150
2151 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2152 if test "x$LINE" != x ; then
2153 eval "DEFAULT_$LINE"
2154 else
2155 no_cache=1
2156 fi
2157
2158 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2159
2160 fi
2161
2162
2163 eval "$ac_cv_use_mem_tracing"
2164 if test "$no_cache" != 1; then
2165 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2166 fi
2167
2168 if test "$wxUSE_MEM_TRACING" = yes; then
2169 echo "$ac_t""yes" 1>&6
2170 else
2171 echo "$ac_t""no" 1>&6
2172 fi
2173
2174
2175 echo $ac_n "checking "for --enable-profile"""... $ac_c" 1>&6
2176 echo "configure:2177: checking "for --enable-profile"" >&5
2177 no_cache=0
2178 # Check whether --enable-profile or --disable-profile was given.
2179 if test "${enable_profile+set}" = set; then
2180 enableval="$enable_profile"
2181
2182 if test "$enableval" = yes; then
2183 ac_cv_use_profile='wxUSE_PROFILE=yes'
2184 else
2185 ac_cv_use_profile='wxUSE_PROFILE=no'
2186 fi
2187
2188 else
2189
2190 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2191 if test "x$LINE" != x ; then
2192 eval "DEFAULT_$LINE"
2193 else
2194 no_cache=1
2195 fi
2196
2197 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2198
2199 fi
2200
2201
2202 eval "$ac_cv_use_profile"
2203 if test "$no_cache" != 1; then
2204 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2205 fi
2206
2207 if test "$wxUSE_PROFILE" = yes; then
2208 echo "$ac_t""yes" 1>&6
2209 else
2210 echo "$ac_t""no" 1>&6
2211 fi
2212
2213
2214 echo $ac_n "checking "for --enable-no_rtti"""... $ac_c" 1>&6
2215 echo "configure:2216: checking "for --enable-no_rtti"" >&5
2216 no_cache=0
2217 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2218 if test "${enable_no_rtti+set}" = set; then
2219 enableval="$enable_no_rtti"
2220
2221 if test "$enableval" = yes; then
2222 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
2223 else
2224 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
2225 fi
2226
2227 else
2228
2229 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2230 if test "x$LINE" != x ; then
2231 eval "DEFAULT_$LINE"
2232 else
2233 no_cache=1
2234 fi
2235
2236 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2237
2238 fi
2239
2240
2241 eval "$ac_cv_use_no_rtti"
2242 if test "$no_cache" != 1; then
2243 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2244 fi
2245
2246 if test "$wxUSE_NO_RTTI" = yes; then
2247 echo "$ac_t""yes" 1>&6
2248 else
2249 echo "$ac_t""no" 1>&6
2250 fi
2251
2252
2253 echo $ac_n "checking "for --enable-no_exceptions"""... $ac_c" 1>&6
2254 echo "configure:2255: checking "for --enable-no_exceptions"" >&5
2255 no_cache=0
2256 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2257 if test "${enable_no_exceptions+set}" = set; then
2258 enableval="$enable_no_exceptions"
2259
2260 if test "$enableval" = yes; then
2261 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
2262 else
2263 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
2264 fi
2265
2266 else
2267
2268 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2269 if test "x$LINE" != x ; then
2270 eval "DEFAULT_$LINE"
2271 else
2272 no_cache=1
2273 fi
2274
2275 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2276
2277 fi
2278
2279
2280 eval "$ac_cv_use_no_exceptions"
2281 if test "$no_cache" != 1; then
2282 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2283 fi
2284
2285 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2286 echo "$ac_t""yes" 1>&6
2287 else
2288 echo "$ac_t""no" 1>&6
2289 fi
2290
2291
2292 echo $ac_n "checking "for --enable-permissive"""... $ac_c" 1>&6
2293 echo "configure:2294: checking "for --enable-permissive"" >&5
2294 no_cache=0
2295 # Check whether --enable-permissive or --disable-permissive was given.
2296 if test "${enable_permissive+set}" = set; then
2297 enableval="$enable_permissive"
2298
2299 if test "$enableval" = yes; then
2300 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
2301 else
2302 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
2303 fi
2304
2305 else
2306
2307 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2308 if test "x$LINE" != x ; then
2309 eval "DEFAULT_$LINE"
2310 else
2311 no_cache=1
2312 fi
2313
2314 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2315
2316 fi
2317
2318
2319 eval "$ac_cv_use_permissive"
2320 if test "$no_cache" != 1; then
2321 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2322 fi
2323
2324 if test "$wxUSE_PERMISSIVE" = yes; then
2325 echo "$ac_t""yes" 1>&6
2326 else
2327 echo "$ac_t""no" 1>&6
2328 fi
2329
2330
2331 echo $ac_n "checking "for --enable-no_deps"""... $ac_c" 1>&6
2332 echo "configure:2333: checking "for --enable-no_deps"" >&5
2333 no_cache=0
2334 # Check whether --enable-no_deps or --disable-no_deps was given.
2335 if test "${enable_no_deps+set}" = set; then
2336 enableval="$enable_no_deps"
2337
2338 if test "$enableval" = yes; then
2339 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
2340 else
2341 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
2342 fi
2343
2344 else
2345
2346 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2347 if test "x$LINE" != x ; then
2348 eval "DEFAULT_$LINE"
2349 else
2350 no_cache=1
2351 fi
2352
2353 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2354
2355 fi
2356
2357
2358 eval "$ac_cv_use_no_deps"
2359 if test "$no_cache" != 1; then
2360 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2361 fi
2362
2363 if test "$wxUSE_NO_DEPS" = yes; then
2364 echo "$ac_t""yes" 1>&6
2365 else
2366 echo "$ac_t""no" 1>&6
2367 fi
2368
2369
2370
2371
2372 echo $ac_n "checking "for --enable-intl"""... $ac_c" 1>&6
2373 echo "configure:2374: checking "for --enable-intl"" >&5
2374 no_cache=0
2375 # Check whether --enable-intl or --disable-intl was given.
2376 if test "${enable_intl+set}" = set; then
2377 enableval="$enable_intl"
2378
2379 if test "$enableval" = yes; then
2380 ac_cv_use_intl='wxUSE_INTL=yes'
2381 else
2382 ac_cv_use_intl='wxUSE_INTL=no'
2383 fi
2384
2385 else
2386
2387 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
2388 if test "x$LINE" != x ; then
2389 eval "DEFAULT_$LINE"
2390 else
2391 no_cache=1
2392 fi
2393
2394 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
2395
2396 fi
2397
2398
2399 eval "$ac_cv_use_intl"
2400 if test "$no_cache" != 1; then
2401 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
2402 fi
2403
2404 if test "$wxUSE_INTL" = yes; then
2405 echo "$ac_t""yes" 1>&6
2406 else
2407 echo "$ac_t""no" 1>&6
2408 fi
2409
2410
2411 echo $ac_n "checking "for --enable-config"""... $ac_c" 1>&6
2412 echo "configure:2413: checking "for --enable-config"" >&5
2413 no_cache=0
2414 # Check whether --enable-config or --disable-config was given.
2415 if test "${enable_config+set}" = set; then
2416 enableval="$enable_config"
2417
2418 if test "$enableval" = yes; then
2419 ac_cv_use_config='wxUSE_CONFIG=yes'
2420 else
2421 ac_cv_use_config='wxUSE_CONFIG=no'
2422 fi
2423
2424 else
2425
2426 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
2427 if test "x$LINE" != x ; then
2428 eval "DEFAULT_$LINE"
2429 else
2430 no_cache=1
2431 fi
2432
2433 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
2434
2435 fi
2436
2437
2438 eval "$ac_cv_use_config"
2439 if test "$no_cache" != 1; then
2440 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
2441 fi
2442
2443 if test "$wxUSE_CONFIG" = yes; then
2444 echo "$ac_t""yes" 1>&6
2445 else
2446 echo "$ac_t""no" 1>&6
2447 fi
2448
2449
2450 echo $ac_n "checking "for --enable-sockets"""... $ac_c" 1>&6
2451 echo "configure:2452: checking "for --enable-sockets"" >&5
2452 no_cache=0
2453 # Check whether --enable-sockets or --disable-sockets was given.
2454 if test "${enable_sockets+set}" = set; then
2455 enableval="$enable_sockets"
2456
2457 if test "$enableval" = yes; then
2458 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
2459 else
2460 ac_cv_use_sockets='wxUSE_SOCKETS=no'
2461 fi
2462
2463 else
2464
2465 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
2466 if test "x$LINE" != x ; then
2467 eval "DEFAULT_$LINE"
2468 else
2469 no_cache=1
2470 fi
2471
2472 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
2473
2474 fi
2475
2476
2477 eval "$ac_cv_use_sockets"
2478 if test "$no_cache" != 1; then
2479 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
2480 fi
2481
2482 if test "$wxUSE_SOCKETS" = yes; then
2483 echo "$ac_t""yes" 1>&6
2484 else
2485 echo "$ac_t""no" 1>&6
2486 fi
2487
2488
2489 echo $ac_n "checking "for --enable-dialupman"""... $ac_c" 1>&6
2490 echo "configure:2491: checking "for --enable-dialupman"" >&5
2491 no_cache=0
2492 # Check whether --enable-dialupman or --disable-dialupman was given.
2493 if test "${enable_dialupman+set}" = set; then
2494 enableval="$enable_dialupman"
2495
2496 if test "$enableval" = yes; then
2497 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
2498 else
2499 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
2500 fi
2501
2502 else
2503
2504 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
2505 if test "x$LINE" != x ; then
2506 eval "DEFAULT_$LINE"
2507 else
2508 no_cache=1
2509 fi
2510
2511 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
2512
2513 fi
2514
2515
2516 eval "$ac_cv_use_dialupman"
2517 if test "$no_cache" != 1; then
2518 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
2519 fi
2520
2521 if test "$wxUSE_DIALUP_MANAGER" = yes; then
2522 echo "$ac_t""yes" 1>&6
2523 else
2524 echo "$ac_t""no" 1>&6
2525 fi
2526
2527
2528 echo $ac_n "checking "for --enable-ipc"""... $ac_c" 1>&6
2529 echo "configure:2530: checking "for --enable-ipc"" >&5
2530 no_cache=0
2531 # Check whether --enable-ipc or --disable-ipc was given.
2532 if test "${enable_ipc+set}" = set; then
2533 enableval="$enable_ipc"
2534
2535 if test "$enableval" = yes; then
2536 ac_cv_use_ipc='wxUSE_IPC=yes'
2537 else
2538 ac_cv_use_ipc='wxUSE_IPC=no'
2539 fi
2540
2541 else
2542
2543 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
2544 if test "x$LINE" != x ; then
2545 eval "DEFAULT_$LINE"
2546 else
2547 no_cache=1
2548 fi
2549
2550 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
2551
2552 fi
2553
2554
2555 eval "$ac_cv_use_ipc"
2556 if test "$no_cache" != 1; then
2557 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
2558 fi
2559
2560 if test "$wxUSE_IPC" = yes; then
2561 echo "$ac_t""yes" 1>&6
2562 else
2563 echo "$ac_t""no" 1>&6
2564 fi
2565
2566
2567 echo $ac_n "checking "for --enable-apple_ieee"""... $ac_c" 1>&6
2568 echo "configure:2569: checking "for --enable-apple_ieee"" >&5
2569 no_cache=0
2570 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
2571 if test "${enable_apple_ieee+set}" = set; then
2572 enableval="$enable_apple_ieee"
2573
2574 if test "$enableval" = yes; then
2575 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
2576 else
2577 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
2578 fi
2579
2580 else
2581
2582 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
2583 if test "x$LINE" != x ; then
2584 eval "DEFAULT_$LINE"
2585 else
2586 no_cache=1
2587 fi
2588
2589 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
2590
2591 fi
2592
2593
2594 eval "$ac_cv_use_apple_ieee"
2595 if test "$no_cache" != 1; then
2596 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
2597 fi
2598
2599 if test "$wxUSE_APPLE_IEEE" = yes; then
2600 echo "$ac_t""yes" 1>&6
2601 else
2602 echo "$ac_t""no" 1>&6
2603 fi
2604
2605
2606 echo $ac_n "checking "for --enable-timedate"""... $ac_c" 1>&6
2607 echo "configure:2608: checking "for --enable-timedate"" >&5
2608 no_cache=0
2609 # Check whether --enable-timedate or --disable-timedate was given.
2610 if test "${enable_timedate+set}" = set; then
2611 enableval="$enable_timedate"
2612
2613 if test "$enableval" = yes; then
2614 ac_cv_use_timedate='wxUSE_TIMEDATE=yes'
2615 else
2616 ac_cv_use_timedate='wxUSE_TIMEDATE=no'
2617 fi
2618
2619 else
2620
2621 LINE=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
2622 if test "x$LINE" != x ; then
2623 eval "DEFAULT_$LINE"
2624 else
2625 no_cache=1
2626 fi
2627
2628 ac_cv_use_timedate='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
2629
2630 fi
2631
2632
2633 eval "$ac_cv_use_timedate"
2634 if test "$no_cache" != 1; then
2635 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
2636 fi
2637
2638 if test "$wxUSE_TIMEDATE" = yes; then
2639 echo "$ac_t""yes" 1>&6
2640 else
2641 echo "$ac_t""no" 1>&6
2642 fi
2643
2644
2645 echo $ac_n "checking "for --enable-wave"""... $ac_c" 1>&6
2646 echo "configure:2647: checking "for --enable-wave"" >&5
2647 no_cache=0
2648 # Check whether --enable-wave or --disable-wave was given.
2649 if test "${enable_wave+set}" = set; then
2650 enableval="$enable_wave"
2651
2652 if test "$enableval" = yes; then
2653 ac_cv_use_wave='wxUSE_WAVE=yes'
2654 else
2655 ac_cv_use_wave='wxUSE_WAVE=no'
2656 fi
2657
2658 else
2659
2660 LINE=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
2661 if test "x$LINE" != x ; then
2662 eval "DEFAULT_$LINE"
2663 else
2664 no_cache=1
2665 fi
2666
2667 ac_cv_use_wave='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
2668
2669 fi
2670
2671
2672 eval "$ac_cv_use_wave"
2673 if test "$no_cache" != 1; then
2674 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
2675 fi
2676
2677 if test "$wxUSE_WAVE" = yes; then
2678 echo "$ac_t""yes" 1>&6
2679 else
2680 echo "$ac_t""no" 1>&6
2681 fi
2682
2683
2684 echo $ac_n "checking "for --enable-fraction"""... $ac_c" 1>&6
2685 echo "configure:2686: checking "for --enable-fraction"" >&5
2686 no_cache=0
2687 # Check whether --enable-fraction or --disable-fraction was given.
2688 if test "${enable_fraction+set}" = set; then
2689 enableval="$enable_fraction"
2690
2691 if test "$enableval" = yes; then
2692 ac_cv_use_fraction='wxUSE_FRACTION=yes'
2693 else
2694 ac_cv_use_fraction='wxUSE_FRACTION=no'
2695 fi
2696
2697 else
2698
2699 LINE=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
2700 if test "x$LINE" != x ; then
2701 eval "DEFAULT_$LINE"
2702 else
2703 no_cache=1
2704 fi
2705
2706 ac_cv_use_fraction='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
2707
2708 fi
2709
2710
2711 eval "$ac_cv_use_fraction"
2712 if test "$no_cache" != 1; then
2713 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
2714 fi
2715
2716 if test "$wxUSE_FRACTION" = yes; then
2717 echo "$ac_t""yes" 1>&6
2718 else
2719 echo "$ac_t""no" 1>&6
2720 fi
2721
2722
2723 echo $ac_n "checking "for --enable-dynlib"""... $ac_c" 1>&6
2724 echo "configure:2725: checking "for --enable-dynlib"" >&5
2725 no_cache=0
2726 # Check whether --enable-dynlib or --disable-dynlib was given.
2727 if test "${enable_dynlib+set}" = set; then
2728 enableval="$enable_dynlib"
2729
2730 if test "$enableval" = yes; then
2731 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
2732 else
2733 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
2734 fi
2735
2736 else
2737
2738 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
2739 if test "x$LINE" != x ; then
2740 eval "DEFAULT_$LINE"
2741 else
2742 no_cache=1
2743 fi
2744
2745 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
2746
2747 fi
2748
2749
2750 eval "$ac_cv_use_dynlib"
2751 if test "$no_cache" != 1; then
2752 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
2753 fi
2754
2755 if test "$wxUSE_DYNLIB_CLASS" = yes; then
2756 echo "$ac_t""yes" 1>&6
2757 else
2758 echo "$ac_t""no" 1>&6
2759 fi
2760
2761
2762 echo $ac_n "checking "for --enable-longlong"""... $ac_c" 1>&6
2763 echo "configure:2764: checking "for --enable-longlong"" >&5
2764 no_cache=0
2765 # Check whether --enable-longlong or --disable-longlong was given.
2766 if test "${enable_longlong+set}" = set; then
2767 enableval="$enable_longlong"
2768
2769 if test "$enableval" = yes; then
2770 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
2771 else
2772 ac_cv_use_longlong='wxUSE_LONGLONG=no'
2773 fi
2774
2775 else
2776
2777 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
2778 if test "x$LINE" != x ; then
2779 eval "DEFAULT_$LINE"
2780 else
2781 no_cache=1
2782 fi
2783
2784 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
2785
2786 fi
2787
2788
2789 eval "$ac_cv_use_longlong"
2790 if test "$no_cache" != 1; then
2791 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
2792 fi
2793
2794 if test "$wxUSE_LONGLONG" = yes; then
2795 echo "$ac_t""yes" 1>&6
2796 else
2797 echo "$ac_t""no" 1>&6
2798 fi
2799
2800
2801 echo $ac_n "checking "for --enable-log"""... $ac_c" 1>&6
2802 echo "configure:2803: checking "for --enable-log"" >&5
2803 no_cache=0
2804 # Check whether --enable-log or --disable-log was given.
2805 if test "${enable_log+set}" = set; then
2806 enableval="$enable_log"
2807
2808 if test "$enableval" = yes; then
2809 ac_cv_use_log='wxUSE_LOG=yes'
2810 else
2811 ac_cv_use_log='wxUSE_LOG=no'
2812 fi
2813
2814 else
2815
2816 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
2817 if test "x$LINE" != x ; then
2818 eval "DEFAULT_$LINE"
2819 else
2820 no_cache=1
2821 fi
2822
2823 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
2824
2825 fi
2826
2827
2828 eval "$ac_cv_use_log"
2829 if test "$no_cache" != 1; then
2830 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
2831 fi
2832
2833 if test "$wxUSE_LOG" = yes; then
2834 echo "$ac_t""yes" 1>&6
2835 else
2836 echo "$ac_t""no" 1>&6
2837 fi
2838
2839
2840 echo $ac_n "checking "for --enable-streams"""... $ac_c" 1>&6
2841 echo "configure:2842: checking "for --enable-streams"" >&5
2842 no_cache=0
2843 # Check whether --enable-streams or --disable-streams was given.
2844 if test "${enable_streams+set}" = set; then
2845 enableval="$enable_streams"
2846
2847 if test "$enableval" = yes; then
2848 ac_cv_use_streams='wxUSE_STREAMS=yes'
2849 else
2850 ac_cv_use_streams='wxUSE_STREAMS=no'
2851 fi
2852
2853 else
2854
2855 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
2856 if test "x$LINE" != x ; then
2857 eval "DEFAULT_$LINE"
2858 else
2859 no_cache=1
2860 fi
2861
2862 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
2863
2864 fi
2865
2866
2867 eval "$ac_cv_use_streams"
2868 if test "$no_cache" != 1; then
2869 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
2870 fi
2871
2872 if test "$wxUSE_STREAMS" = yes; then
2873 echo "$ac_t""yes" 1>&6
2874 else
2875 echo "$ac_t""no" 1>&6
2876 fi
2877
2878
2879 echo $ac_n "checking "for --enable-file"""... $ac_c" 1>&6
2880 echo "configure:2881: checking "for --enable-file"" >&5
2881 no_cache=0
2882 # Check whether --enable-file or --disable-file was given.
2883 if test "${enable_file+set}" = set; then
2884 enableval="$enable_file"
2885
2886 if test "$enableval" = yes; then
2887 ac_cv_use_file='wxUSE_FILE=yes'
2888 else
2889 ac_cv_use_file='wxUSE_FILE=no'
2890 fi
2891
2892 else
2893
2894 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
2895 if test "x$LINE" != x ; then
2896 eval "DEFAULT_$LINE"
2897 else
2898 no_cache=1
2899 fi
2900
2901 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
2902
2903 fi
2904
2905
2906 eval "$ac_cv_use_file"
2907 if test "$no_cache" != 1; then
2908 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
2909 fi
2910
2911 if test "$wxUSE_FILE" = yes; then
2912 echo "$ac_t""yes" 1>&6
2913 else
2914 echo "$ac_t""no" 1>&6
2915 fi
2916
2917
2918 echo $ac_n "checking "for --enable-textfile"""... $ac_c" 1>&6
2919 echo "configure:2920: checking "for --enable-textfile"" >&5
2920 no_cache=0
2921 # Check whether --enable-textfile or --disable-textfile was given.
2922 if test "${enable_textfile+set}" = set; then
2923 enableval="$enable_textfile"
2924
2925 if test "$enableval" = yes; then
2926 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
2927 else
2928 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
2929 fi
2930
2931 else
2932
2933 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
2934 if test "x$LINE" != x ; then
2935 eval "DEFAULT_$LINE"
2936 else
2937 no_cache=1
2938 fi
2939
2940 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
2941
2942 fi
2943
2944
2945 eval "$ac_cv_use_textfile"
2946 if test "$no_cache" != 1; then
2947 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
2948 fi
2949
2950 if test "$wxUSE_TEXTFILE" = yes; then
2951 echo "$ac_t""yes" 1>&6
2952 else
2953 echo "$ac_t""no" 1>&6
2954 fi
2955
2956
2957 echo $ac_n "checking "for --enable-unicode"""... $ac_c" 1>&6
2958 echo "configure:2959: checking "for --enable-unicode"" >&5
2959 no_cache=0
2960 # Check whether --enable-unicode or --disable-unicode was given.
2961 if test "${enable_unicode+set}" = set; then
2962 enableval="$enable_unicode"
2963
2964 if test "$enableval" = yes; then
2965 ac_cv_use_unicode='wxUSE_UNICODE=yes'
2966 else
2967 ac_cv_use_unicode='wxUSE_UNICODE=no'
2968 fi
2969
2970 else
2971
2972 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
2973 if test "x$LINE" != x ; then
2974 eval "DEFAULT_$LINE"
2975 else
2976 no_cache=1
2977 fi
2978
2979 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
2980
2981 fi
2982
2983
2984 eval "$ac_cv_use_unicode"
2985 if test "$no_cache" != 1; then
2986 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
2987 fi
2988
2989 if test "$wxUSE_UNICODE" = yes; then
2990 echo "$ac_t""yes" 1>&6
2991 else
2992 echo "$ac_t""no" 1>&6
2993 fi
2994
2995
2996 echo $ac_n "checking "for --enable-wcsrtombs"""... $ac_c" 1>&6
2997 echo "configure:2998: checking "for --enable-wcsrtombs"" >&5
2998 no_cache=0
2999 # Check whether --enable-wcsrtombs or --disable-wcsrtombs was given.
3000 if test "${enable_wcsrtombs+set}" = set; then
3001 enableval="$enable_wcsrtombs"
3002
3003 if test "$enableval" = yes; then
3004 ac_cv_use_wcsrtombs='wxUSE_WCSRTOMBS=yes'
3005 else
3006 ac_cv_use_wcsrtombs='wxUSE_WCSRTOMBS=no'
3007 fi
3008
3009 else
3010
3011 LINE=`grep "wxUSE_WCSRTOMBS" ${wx_arg_cache_file}`
3012 if test "x$LINE" != x ; then
3013 eval "DEFAULT_$LINE"
3014 else
3015 no_cache=1
3016 fi
3017
3018 ac_cv_use_wcsrtombs='wxUSE_WCSRTOMBS='$DEFAULT_wxUSE_WCSRTOMBS
3019
3020 fi
3021
3022
3023 eval "$ac_cv_use_wcsrtombs"
3024 if test "$no_cache" != 1; then
3025 echo $ac_cv_use_wcsrtombs >> ${wx_arg_cache_file}.tmp
3026 fi
3027
3028 if test "$wxUSE_WCSRTOMBS" = yes; then
3029 echo "$ac_t""yes" 1>&6
3030 else
3031 echo "$ac_t""no" 1>&6
3032 fi
3033
3034
3035 echo $ac_n "checking "for --enable-wxprintfv"""... $ac_c" 1>&6
3036 echo "configure:3037: checking "for --enable-wxprintfv"" >&5
3037 no_cache=0
3038 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
3039 if test "${enable_wxprintfv+set}" = set; then
3040 enableval="$enable_wxprintfv"
3041
3042 if test "$enableval" = yes; then
3043 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
3044 else
3045 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
3046 fi
3047
3048 else
3049
3050 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
3051 if test "x$LINE" != x ; then
3052 eval "DEFAULT_$LINE"
3053 else
3054 no_cache=1
3055 fi
3056
3057 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
3058
3059 fi
3060
3061
3062 eval "$ac_cv_use_wxprintfv"
3063 if test "$no_cache" != 1; then
3064 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
3065 fi
3066
3067 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
3068 echo "$ac_t""yes" 1>&6
3069 else
3070 echo "$ac_t""no" 1>&6
3071 fi
3072
3073
3074 echo $ac_n "checking "for --enable-joystick"""... $ac_c" 1>&6
3075 echo "configure:3076: checking "for --enable-joystick"" >&5
3076 no_cache=0
3077 # Check whether --enable-joystick or --disable-joystick was given.
3078 if test "${enable_joystick+set}" = set; then
3079 enableval="$enable_joystick"
3080
3081 if test "$enableval" = yes; then
3082 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
3083 else
3084 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
3085 fi
3086
3087 else
3088
3089 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
3090 if test "x$LINE" != x ; then
3091 eval "DEFAULT_$LINE"
3092 else
3093 no_cache=1
3094 fi
3095
3096 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
3097
3098 fi
3099
3100
3101 eval "$ac_cv_use_joystick"
3102 if test "$no_cache" != 1; then
3103 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
3104 fi
3105
3106 if test "$wxUSE_JOYSTICK" = yes; then
3107 echo "$ac_t""yes" 1>&6
3108 else
3109 echo "$ac_t""no" 1>&6
3110 fi
3111
3112
3113 echo $ac_n "checking "for --enable-std_iostreams"""... $ac_c" 1>&6
3114 echo "configure:3115: checking "for --enable-std_iostreams"" >&5
3115 no_cache=0
3116 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
3117 if test "${enable_std_iostreams+set}" = set; then
3118 enableval="$enable_std_iostreams"
3119
3120 if test "$enableval" = yes; then
3121 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
3122 else
3123 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
3124 fi
3125
3126 else
3127
3128 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
3129 if test "x$LINE" != x ; then
3130 eval "DEFAULT_$LINE"
3131 else
3132 no_cache=1
3133 fi
3134
3135 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
3136
3137 fi
3138
3139
3140 eval "$ac_cv_use_std_iostreams"
3141 if test "$no_cache" != 1; then
3142 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
3143 fi
3144
3145 if test "$wxUSE_STD_IOSTREAM" = yes; then
3146 echo "$ac_t""yes" 1>&6
3147 else
3148 echo "$ac_t""no" 1>&6
3149 fi
3150
3151
3152 echo $ac_n "checking "for --enable-fs_inet"""... $ac_c" 1>&6
3153 echo "configure:3154: checking "for --enable-fs_inet"" >&5
3154 no_cache=0
3155 # Check whether --enable-fs_inet or --disable-fs_inet was given.
3156 if test "${enable_fs_inet+set}" = set; then
3157 enableval="$enable_fs_inet"
3158
3159 if test "$enableval" = yes; then
3160 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
3161 else
3162 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
3163 fi
3164
3165 else
3166
3167 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
3168 if test "x$LINE" != x ; then
3169 eval "DEFAULT_$LINE"
3170 else
3171 no_cache=1
3172 fi
3173
3174 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
3175
3176 fi
3177
3178
3179 eval "$ac_cv_use_fs_inet"
3180 if test "$no_cache" != 1; then
3181 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
3182 fi
3183
3184 if test "$wxUSE_FS_INET" = yes; then
3185 echo "$ac_t""yes" 1>&6
3186 else
3187 echo "$ac_t""no" 1>&6
3188 fi
3189
3190
3191 echo $ac_n "checking "for --enable-fs_zip"""... $ac_c" 1>&6
3192 echo "configure:3193: checking "for --enable-fs_zip"" >&5
3193 no_cache=0
3194 # Check whether --enable-fs_zip or --disable-fs_zip was given.
3195 if test "${enable_fs_zip+set}" = set; then
3196 enableval="$enable_fs_zip"
3197
3198 if test "$enableval" = yes; then
3199 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
3200 else
3201 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
3202 fi
3203
3204 else
3205
3206 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
3207 if test "x$LINE" != x ; then
3208 eval "DEFAULT_$LINE"
3209 else
3210 no_cache=1
3211 fi
3212
3213 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
3214
3215 fi
3216
3217
3218 eval "$ac_cv_use_fs_zip"
3219 if test "$no_cache" != 1; then
3220 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
3221 fi
3222
3223 if test "$wxUSE_FS_ZIP" = yes; then
3224 echo "$ac_t""yes" 1>&6
3225 else
3226 echo "$ac_t""no" 1>&6
3227 fi
3228
3229
3230 echo $ac_n "checking "for --enable-zipstream"""... $ac_c" 1>&6
3231 echo "configure:3232: checking "for --enable-zipstream"" >&5
3232 no_cache=0
3233 # Check whether --enable-zipstream or --disable-zipstream was given.
3234 if test "${enable_zipstream+set}" = set; then
3235 enableval="$enable_zipstream"
3236
3237 if test "$enableval" = yes; then
3238 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
3239 else
3240 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
3241 fi
3242
3243 else
3244
3245 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
3246 if test "x$LINE" != x ; then
3247 eval "DEFAULT_$LINE"
3248 else
3249 no_cache=1
3250 fi
3251
3252 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
3253
3254 fi
3255
3256
3257 eval "$ac_cv_use_zipstream"
3258 if test "$no_cache" != 1; then
3259 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
3260 fi
3261
3262 if test "$wxUSE_ZIPSTREAM" = yes; then
3263 echo "$ac_t""yes" 1>&6
3264 else
3265 echo "$ac_t""no" 1>&6
3266 fi
3267
3268
3269
3270
3271 echo $ac_n "checking "for --enable-threads"""... $ac_c" 1>&6
3272 echo "configure:3273: checking "for --enable-threads"" >&5
3273 no_cache=0
3274 # Check whether --enable-threads or --disable-threads was given.
3275 if test "${enable_threads+set}" = set; then
3276 enableval="$enable_threads"
3277
3278 if test "$enableval" = yes; then
3279 ac_cv_use_threads='wxUSE_THREADS=yes'
3280 else
3281 ac_cv_use_threads='wxUSE_THREADS=no'
3282 fi
3283
3284 else
3285
3286 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
3287 if test "x$LINE" != x ; then
3288 eval "DEFAULT_$LINE"
3289 else
3290 no_cache=1
3291 fi
3292
3293 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
3294
3295 fi
3296
3297
3298 eval "$ac_cv_use_threads"
3299 if test "$no_cache" != 1; then
3300 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
3301 fi
3302
3303 if test "$wxUSE_THREADS" = yes; then
3304 echo "$ac_t""yes" 1>&6
3305 else
3306 echo "$ac_t""no" 1>&6
3307 fi
3308
3309
3310 echo $ac_n "checking "for --enable-serial"""... $ac_c" 1>&6
3311 echo "configure:3312: checking "for --enable-serial"" >&5
3312 no_cache=0
3313 # Check whether --enable-serial or --disable-serial was given.
3314 if test "${enable_serial+set}" = set; then
3315 enableval="$enable_serial"
3316
3317 if test "$enableval" = yes; then
3318 ac_cv_use_serial='wxUSE_SERIAL=yes'
3319 else
3320 ac_cv_use_serial='wxUSE_SERIAL=no'
3321 fi
3322
3323 else
3324
3325 LINE=`grep "wxUSE_SERIAL" ${wx_arg_cache_file}`
3326 if test "x$LINE" != x ; then
3327 eval "DEFAULT_$LINE"
3328 else
3329 no_cache=1
3330 fi
3331
3332 ac_cv_use_serial='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
3333
3334 fi
3335
3336
3337 eval "$ac_cv_use_serial"
3338 if test "$no_cache" != 1; then
3339 echo $ac_cv_use_serial >> ${wx_arg_cache_file}.tmp
3340 fi
3341
3342 if test "$wxUSE_SERIAL" = yes; then
3343 echo "$ac_t""yes" 1>&6
3344 else
3345 echo "$ac_t""no" 1>&6
3346 fi
3347
3348
3349
3350
3351 echo $ac_n "checking "for --enable-docview"""... $ac_c" 1>&6
3352 echo "configure:3353: checking "for --enable-docview"" >&5
3353 no_cache=0
3354 # Check whether --enable-docview or --disable-docview was given.
3355 if test "${enable_docview+set}" = set; then
3356 enableval="$enable_docview"
3357
3358 if test "$enableval" = yes; then
3359 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
3360 else
3361 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
3362 fi
3363
3364 else
3365
3366 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
3367 if test "x$LINE" != x ; then
3368 eval "DEFAULT_$LINE"
3369 else
3370 no_cache=1
3371 fi
3372
3373 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
3374
3375 fi
3376
3377
3378 eval "$ac_cv_use_docview"
3379 if test "$no_cache" != 1; then
3380 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
3381 fi
3382
3383 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
3384 echo "$ac_t""yes" 1>&6
3385 else
3386 echo "$ac_t""no" 1>&6
3387 fi
3388
3389
3390 echo $ac_n "checking "for --enable-help"""... $ac_c" 1>&6
3391 echo "configure:3392: checking "for --enable-help"" >&5
3392 no_cache=0
3393 # Check whether --enable-help or --disable-help was given.
3394 if test "${enable_help+set}" = set; then
3395 enableval="$enable_help"
3396
3397 if test "$enableval" = yes; then
3398 ac_cv_use_help='wxUSE_HELP=yes'
3399 else
3400 ac_cv_use_help='wxUSE_HELP=no'
3401 fi
3402
3403 else
3404
3405 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
3406 if test "x$LINE" != x ; then
3407 eval "DEFAULT_$LINE"
3408 else
3409 no_cache=1
3410 fi
3411
3412 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
3413
3414 fi
3415
3416
3417 eval "$ac_cv_use_help"
3418 if test "$no_cache" != 1; then
3419 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
3420 fi
3421
3422 if test "$wxUSE_HELP" = yes; then
3423 echo "$ac_t""yes" 1>&6
3424 else
3425 echo "$ac_t""no" 1>&6
3426 fi
3427
3428
3429 echo $ac_n "checking "for --enable-constraints"""... $ac_c" 1>&6
3430 echo "configure:3431: checking "for --enable-constraints"" >&5
3431 no_cache=0
3432 # Check whether --enable-constraints or --disable-constraints was given.
3433 if test "${enable_constraints+set}" = set; then
3434 enableval="$enable_constraints"
3435
3436 if test "$enableval" = yes; then
3437 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
3438 else
3439 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
3440 fi
3441
3442 else
3443
3444 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
3445 if test "x$LINE" != x ; then
3446 eval "DEFAULT_$LINE"
3447 else
3448 no_cache=1
3449 fi
3450
3451 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
3452
3453 fi
3454
3455
3456 eval "$ac_cv_use_constraints"
3457 if test "$no_cache" != 1; then
3458 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
3459 fi
3460
3461 if test "$wxUSE_CONSTRAINTS" = yes; then
3462 echo "$ac_t""yes" 1>&6
3463 else
3464 echo "$ac_t""no" 1>&6
3465 fi
3466
3467
3468 echo $ac_n "checking "for --enable-printarch"""... $ac_c" 1>&6
3469 echo "configure:3470: checking "for --enable-printarch"" >&5
3470 no_cache=0
3471 # Check whether --enable-printarch or --disable-printarch was given.
3472 if test "${enable_printarch+set}" = set; then
3473 enableval="$enable_printarch"
3474
3475 if test "$enableval" = yes; then
3476 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
3477 else
3478 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
3479 fi
3480
3481 else
3482
3483 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
3484 if test "x$LINE" != x ; then
3485 eval "DEFAULT_$LINE"
3486 else
3487 no_cache=1
3488 fi
3489
3490 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
3491
3492 fi
3493
3494
3495 eval "$ac_cv_use_printarch"
3496 if test "$no_cache" != 1; then
3497 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
3498 fi
3499
3500 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
3501 echo "$ac_t""yes" 1>&6
3502 else
3503 echo "$ac_t""no" 1>&6
3504 fi
3505
3506
3507 echo $ac_n "checking "for --enable-mdi"""... $ac_c" 1>&6
3508 echo "configure:3509: checking "for --enable-mdi"" >&5
3509 no_cache=0
3510 # Check whether --enable-mdi or --disable-mdi was given.
3511 if test "${enable_mdi+set}" = set; then
3512 enableval="$enable_mdi"
3513
3514 if test "$enableval" = yes; then
3515 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=yes'
3516 else
3517 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=no'
3518 fi
3519
3520 else
3521
3522 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
3523 if test "x$LINE" != x ; then
3524 eval "DEFAULT_$LINE"
3525 else
3526 no_cache=1
3527 fi
3528
3529 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
3530
3531 fi
3532
3533
3534 eval "$ac_cv_use_mdi"
3535 if test "$no_cache" != 1; then
3536 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
3537 fi
3538
3539 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
3540 echo "$ac_t""yes" 1>&6
3541 else
3542 echo "$ac_t""no" 1>&6
3543 fi
3544
3545
3546
3547 echo $ac_n "checking "for --enable-postscript"""... $ac_c" 1>&6
3548 echo "configure:3549: checking "for --enable-postscript"" >&5
3549 no_cache=0
3550 # Check whether --enable-postscript or --disable-postscript was given.
3551 if test "${enable_postscript+set}" = set; then
3552 enableval="$enable_postscript"
3553
3554 if test "$enableval" = yes; then
3555 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
3556 else
3557 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
3558 fi
3559
3560 else
3561
3562 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
3563 if test "x$LINE" != x ; then
3564 eval "DEFAULT_$LINE"
3565 else
3566 no_cache=1
3567 fi
3568
3569 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
3570
3571 fi
3572
3573
3574 eval "$ac_cv_use_postscript"
3575 if test "$no_cache" != 1; then
3576 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
3577 fi
3578
3579 if test "$wxUSE_POSTSCRIPT" = yes; then
3580 echo "$ac_t""yes" 1>&6
3581 else
3582 echo "$ac_t""no" 1>&6
3583 fi
3584
3585
3586
3587
3588 echo $ac_n "checking "for --enable-prologio"""... $ac_c" 1>&6
3589 echo "configure:3590: checking "for --enable-prologio"" >&5
3590 no_cache=0
3591 # Check whether --enable-prologio or --disable-prologio was given.
3592 if test "${enable_prologio+set}" = set; then
3593 enableval="$enable_prologio"
3594
3595 if test "$enableval" = yes; then
3596 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
3597 else
3598 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
3599 fi
3600
3601 else
3602
3603 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
3604 if test "x$LINE" != x ; then
3605 eval "DEFAULT_$LINE"
3606 else
3607 no_cache=1
3608 fi
3609
3610 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
3611
3612 fi
3613
3614
3615 eval "$ac_cv_use_prologio"
3616 if test "$no_cache" != 1; then
3617 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
3618 fi
3619
3620 if test "$wxUSE_PROLOGIO" = yes; then
3621 echo "$ac_t""yes" 1>&6
3622 else
3623 echo "$ac_t""no" 1>&6
3624 fi
3625
3626
3627 echo $ac_n "checking "for --enable-resources"""... $ac_c" 1>&6
3628 echo "configure:3629: checking "for --enable-resources"" >&5
3629 no_cache=0
3630 # Check whether --enable-resources or --disable-resources was given.
3631 if test "${enable_resources+set}" = set; then
3632 enableval="$enable_resources"
3633
3634 if test "$enableval" = yes; then
3635 ac_cv_use_resources='wxUSE_RESOURCES=yes'
3636 else
3637 ac_cv_use_resources='wxUSE_RESOURCES=no'
3638 fi
3639
3640 else
3641
3642 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
3643 if test "x$LINE" != x ; then
3644 eval "DEFAULT_$LINE"
3645 else
3646 no_cache=1
3647 fi
3648
3649 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
3650
3651 fi
3652
3653
3654 eval "$ac_cv_use_resources"
3655 if test "$no_cache" != 1; then
3656 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
3657 fi
3658
3659 if test "$wxUSE_RESOURCES" = yes; then
3660 echo "$ac_t""yes" 1>&6
3661 else
3662 echo "$ac_t""no" 1>&6
3663 fi
3664
3665
3666
3667 echo $ac_n "checking "for --enable-xresources"""... $ac_c" 1>&6
3668 echo "configure:3669: checking "for --enable-xresources"" >&5
3669 no_cache=0
3670 # Check whether --enable-xresources or --disable-xresources was given.
3671 if test "${enable_xresources+set}" = set; then
3672 enableval="$enable_xresources"
3673
3674 if test "$enableval" = yes; then
3675 ac_cv_use_xresources='wxUSE_X_RESOURCES=yes'
3676 else
3677 ac_cv_use_xresources='wxUSE_X_RESOURCES=no'
3678 fi
3679
3680 else
3681
3682 LINE=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
3683 if test "x$LINE" != x ; then
3684 eval "DEFAULT_$LINE"
3685 else
3686 no_cache=1
3687 fi
3688
3689 ac_cv_use_xresources='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
3690
3691 fi
3692
3693
3694 eval "$ac_cv_use_xresources"
3695 if test "$no_cache" != 1; then
3696 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
3697 fi
3698
3699 if test "$wxUSE_X_RESOURCES" = yes; then
3700 echo "$ac_t""yes" 1>&6
3701 else
3702 echo "$ac_t""no" 1>&6
3703 fi
3704
3705
3706
3707
3708 echo $ac_n "checking "for --enable-clipboard"""... $ac_c" 1>&6
3709 echo "configure:3710: checking "for --enable-clipboard"" >&5
3710 no_cache=0
3711 # Check whether --enable-clipboard or --disable-clipboard was given.
3712 if test "${enable_clipboard+set}" = set; then
3713 enableval="$enable_clipboard"
3714
3715 if test "$enableval" = yes; then
3716 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
3717 else
3718 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
3719 fi
3720
3721 else
3722
3723 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
3724 if test "x$LINE" != x ; then
3725 eval "DEFAULT_$LINE"
3726 else
3727 no_cache=1
3728 fi
3729
3730 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
3731
3732 fi
3733
3734
3735 eval "$ac_cv_use_clipboard"
3736 if test "$no_cache" != 1; then
3737 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
3738 fi
3739
3740 if test "$wxUSE_CLIPBOARD" = yes; then
3741 echo "$ac_t""yes" 1>&6
3742 else
3743 echo "$ac_t""no" 1>&6
3744 fi
3745
3746
3747 echo $ac_n "checking "for --enable-dnd"""... $ac_c" 1>&6
3748 echo "configure:3749: checking "for --enable-dnd"" >&5
3749 no_cache=0
3750 # Check whether --enable-dnd or --disable-dnd was given.
3751 if test "${enable_dnd+set}" = set; then
3752 enableval="$enable_dnd"
3753
3754 if test "$enableval" = yes; then
3755 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
3756 else
3757 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
3758 fi
3759
3760 else
3761
3762 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
3763 if test "x$LINE" != x ; then
3764 eval "DEFAULT_$LINE"
3765 else
3766 no_cache=1
3767 fi
3768
3769 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
3770
3771 fi
3772
3773
3774 eval "$ac_cv_use_dnd"
3775 if test "$no_cache" != 1; then
3776 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
3777 fi
3778
3779 if test "$wxUSE_DRAG_AND_DROP" = yes; then
3780 echo "$ac_t""yes" 1>&6
3781 else
3782 echo "$ac_t""no" 1>&6
3783 fi
3784
3785
3786
3787 echo $ac_n "checking "for --enable-wxtree"""... $ac_c" 1>&6
3788 echo "configure:3789: checking "for --enable-wxtree"" >&5
3789 no_cache=0
3790 # Check whether --enable-wxtree or --disable-wxtree was given.
3791 if test "${enable_wxtree+set}" = set; then
3792 enableval="$enable_wxtree"
3793
3794 if test "$enableval" = yes; then
3795 ac_cv_use_wxtree='wxUSE_WXTREE=yes'
3796 else
3797 ac_cv_use_wxtree='wxUSE_WXTREE=no'
3798 fi
3799
3800 else
3801
3802 LINE=`grep "wxUSE_WXTREE" ${wx_arg_cache_file}`
3803 if test "x$LINE" != x ; then
3804 eval "DEFAULT_$LINE"
3805 else
3806 no_cache=1
3807 fi
3808
3809 ac_cv_use_wxtree='wxUSE_WXTREE='$DEFAULT_wxUSE_WXTREE
3810
3811 fi
3812
3813
3814 eval "$ac_cv_use_wxtree"
3815 if test "$no_cache" != 1; then
3816 echo $ac_cv_use_wxtree >> ${wx_arg_cache_file}.tmp
3817 fi
3818
3819 if test "$wxUSE_WXTREE" = yes; then
3820 echo "$ac_t""yes" 1>&6
3821 else
3822 echo "$ac_t""no" 1>&6
3823 fi
3824
3825
3826
3827
3828 echo $ac_n "checking "for --enable-controls"""... $ac_c" 1>&6
3829 echo "configure:3830: checking "for --enable-controls"" >&5
3830 no_cache=0
3831 # Check whether --enable-controls or --disable-controls was given.
3832 if test "${enable_controls+set}" = set; then
3833 enableval="$enable_controls"
3834
3835 if test "$enableval" = yes; then
3836 ac_cv_use_controls='wxUSE_CONTROLS=yes'
3837 else
3838 ac_cv_use_controls='wxUSE_CONTROLS=no'
3839 fi
3840
3841 else
3842
3843 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
3844 if test "x$LINE" != x ; then
3845 eval "DEFAULT_$LINE"
3846 else
3847 no_cache=1
3848 fi
3849
3850 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
3851
3852 fi
3853
3854
3855 eval "$ac_cv_use_controls"
3856 if test "$no_cache" != 1; then
3857 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
3858 fi
3859
3860 if test "$wxUSE_CONTROLS" = yes; then
3861 echo "$ac_t""yes" 1>&6
3862 else
3863 echo "$ac_t""no" 1>&6
3864 fi
3865
3866
3867 if test "$wxUSE_CONTROLS" = "yes"; then
3868 DEFAULT_wxUSE_ACCEL=yes
3869 DEFAULT_wxUSE_CARET=yes
3870 DEFAULT_wxUSE_COMBOBOX=yes
3871 DEFAULT_wxUSE_BMPBUTTON=yes
3872 DEFAULT_wxUSE_CHECKBOX=yes
3873 DEFAULT_wxUSE_CHECKLISTBOX=yes
3874 DEFAULT_wxUSE_CHOICE=yes
3875 DEFAULT_wxUSE_GAUGE=yes
3876 DEFAULT_wxUSE_GRID=yes
3877 DEFAULT_wxUSE_NEW_GRID=yes
3878 DEFAULT_wxUSE_IMAGLIST=yes
3879 DEFAULT_wxUSE_LISTBOX=yes
3880 DEFAULT_wxUSE_LISTCTRL=yes
3881 DEFAULT_wxUSE_NOTEBOOK=yes
3882 DEFAULT_wxUSE_RADIOBOX=yes
3883 DEFAULT_wxUSE_RADIOBTN=yes
3884 DEFAULT_wxUSE_SASH=yes
3885 DEFAULT_wxUSE_SCROLLBAR=yes
3886 DEFAULT_wxUSE_SLIDER=yes
3887 DEFAULT_wxUSE_SPINBTN=yes
3888 DEFAULT_wxUSE_SPLITTER=yes
3889 DEFAULT_wxUSE_STATBMP=yes
3890 DEFAULT_wxUSE_STATBOX=yes
3891 DEFAULT_wxUSE_STATLINE=yes
3892 DEFAULT_wxUSE_STATUSBAR=yes
3893 DEFAULT_wxUSE_TAB_DIALOG=yes
3894 DEFAULT_wxUSE_TOOLBAR=yes
3895 DEFAULT_wxUSE_TOOLTIPS=yes
3896 DEFAULT_wxUSE_TREECTRL=yes
3897 elif test "$wxUSE_CONTROLS" = "no"; then
3898 DEFAULT_wxUSE_ACCEL=no
3899 DEFAULT_wxUSE_CARET=no
3900 DEFAULT_wxUSE_COMBOBOX=no
3901 DEFAULT_wxUSE_BMPBUTTON=no
3902 DEFAULT_wxUSE_CHECKBOX=no
3903 DEFAULT_wxUSE_CHECKLISTBOX=no
3904 DEFAULT_wxUSE_CHOICE=no
3905 DEFAULT_wxUSE_GAUGE=no
3906 DEFAULT_wxUSE_GRID=no
3907 DEFAULT_wxUSE_NEW_GRID=no
3908 DEFAULT_wxUSE_IMAGLIST=no
3909 DEFAULT_wxUSE_LISTBOX=no
3910 DEFAULT_wxUSE_LISTCTRL=no
3911 DEFAULT_wxUSE_NOTEBOOK=no
3912 DEFAULT_wxUSE_RADIOBOX=no
3913 DEFAULT_wxUSE_RADIOBTN=no
3914 DEFAULT_wxUSE_SASH=no
3915 DEFAULT_wxUSE_SCROLLBAR=no
3916 DEFAULT_wxUSE_SLIDER=no
3917 DEFAULT_wxUSE_SPINBTN=no
3918 DEFAULT_wxUSE_SPLITTER=no
3919 DEFAULT_wxUSE_STATBMP=no
3920 DEFAULT_wxUSE_STATBOX=no
3921 DEFAULT_wxUSE_STATLINE=no
3922 DEFAULT_wxUSE_STATUSBAR=no
3923 DEFAULT_wxUSE_TAB_DIALOG=no
3924 DEFAULT_wxUSE_TOOLBAR=no
3925 DEFAULT_wxUSE_TOOLTIPS=no
3926 DEFAULT_wxUSE_TREECTRL=no
3927 fi
3928
3929
3930 echo $ac_n "checking "for --enable-accel"""... $ac_c" 1>&6
3931 echo "configure:3932: checking "for --enable-accel"" >&5
3932 no_cache=0
3933 # Check whether --enable-accel or --disable-accel was given.
3934 if test "${enable_accel+set}" = set; then
3935 enableval="$enable_accel"
3936
3937 if test "$enableval" = yes; then
3938 ac_cv_use_accel='wxUSE_ACCEL=yes'
3939 else
3940 ac_cv_use_accel='wxUSE_ACCEL=no'
3941 fi
3942
3943 else
3944
3945 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
3946 if test "x$LINE" != x ; then
3947 eval "DEFAULT_$LINE"
3948 else
3949 no_cache=1
3950 fi
3951
3952 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
3953
3954 fi
3955
3956
3957 eval "$ac_cv_use_accel"
3958 if test "$no_cache" != 1; then
3959 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
3960 fi
3961
3962 if test "$wxUSE_ACCEL" = yes; then
3963 echo "$ac_t""yes" 1>&6
3964 else
3965 echo "$ac_t""no" 1>&6
3966 fi
3967
3968
3969 echo $ac_n "checking "for --enable-caret"""... $ac_c" 1>&6
3970 echo "configure:3971: checking "for --enable-caret"" >&5
3971 no_cache=0
3972 # Check whether --enable-caret or --disable-caret was given.
3973 if test "${enable_caret+set}" = set; then
3974 enableval="$enable_caret"
3975
3976 if test "$enableval" = yes; then
3977 ac_cv_use_caret='wxUSE_CARET=yes'
3978 else
3979 ac_cv_use_caret='wxUSE_CARET=no'
3980 fi
3981
3982 else
3983
3984 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
3985 if test "x$LINE" != x ; then
3986 eval "DEFAULT_$LINE"
3987 else
3988 no_cache=1
3989 fi
3990
3991 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
3992
3993 fi
3994
3995
3996 eval "$ac_cv_use_caret"
3997 if test "$no_cache" != 1; then
3998 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
3999 fi
4000
4001 if test "$wxUSE_CARET" = yes; then
4002 echo "$ac_t""yes" 1>&6
4003 else
4004 echo "$ac_t""no" 1>&6
4005 fi
4006
4007
4008 echo $ac_n "checking "for --enable-bmpbutton"""... $ac_c" 1>&6
4009 echo "configure:4010: checking "for --enable-bmpbutton"" >&5
4010 no_cache=0
4011 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
4012 if test "${enable_bmpbutton+set}" = set; then
4013 enableval="$enable_bmpbutton"
4014
4015 if test "$enableval" = yes; then
4016 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
4017 else
4018 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
4019 fi
4020
4021 else
4022
4023 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
4024 if test "x$LINE" != x ; then
4025 eval "DEFAULT_$LINE"
4026 else
4027 no_cache=1
4028 fi
4029
4030 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
4031
4032 fi
4033
4034
4035 eval "$ac_cv_use_bmpbutton"
4036 if test "$no_cache" != 1; then
4037 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
4038 fi
4039
4040 if test "$wxUSE_BMPBUTTON" = yes; then
4041 echo "$ac_t""yes" 1>&6
4042 else
4043 echo "$ac_t""no" 1>&6
4044 fi
4045
4046
4047 echo $ac_n "checking "for --enable-checkbox"""... $ac_c" 1>&6
4048 echo "configure:4049: checking "for --enable-checkbox"" >&5
4049 no_cache=0
4050 # Check whether --enable-checkbox or --disable-checkbox was given.
4051 if test "${enable_checkbox+set}" = set; then
4052 enableval="$enable_checkbox"
4053
4054 if test "$enableval" = yes; then
4055 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
4056 else
4057 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
4058 fi
4059
4060 else
4061
4062 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
4063 if test "x$LINE" != x ; then
4064 eval "DEFAULT_$LINE"
4065 else
4066 no_cache=1
4067 fi
4068
4069 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
4070
4071 fi
4072
4073
4074 eval "$ac_cv_use_checkbox"
4075 if test "$no_cache" != 1; then
4076 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
4077 fi
4078
4079 if test "$wxUSE_CHECKBOX" = yes; then
4080 echo "$ac_t""yes" 1>&6
4081 else
4082 echo "$ac_t""no" 1>&6
4083 fi
4084
4085
4086 echo $ac_n "checking "for --enable-checklst"""... $ac_c" 1>&6
4087 echo "configure:4088: checking "for --enable-checklst"" >&5
4088 no_cache=0
4089 # Check whether --enable-checklst or --disable-checklst was given.
4090 if test "${enable_checklst+set}" = set; then
4091 enableval="$enable_checklst"
4092
4093 if test "$enableval" = yes; then
4094 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
4095 else
4096 ac_cv_use_checklst='wxUSE_CHECKLST=no'
4097 fi
4098
4099 else
4100
4101 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
4102 if test "x$LINE" != x ; then
4103 eval "DEFAULT_$LINE"
4104 else
4105 no_cache=1
4106 fi
4107
4108 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
4109
4110 fi
4111
4112
4113 eval "$ac_cv_use_checklst"
4114 if test "$no_cache" != 1; then
4115 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
4116 fi
4117
4118 if test "$wxUSE_CHECKLST" = yes; then
4119 echo "$ac_t""yes" 1>&6
4120 else
4121 echo "$ac_t""no" 1>&6
4122 fi
4123
4124
4125 echo $ac_n "checking "for --enable-choice"""... $ac_c" 1>&6
4126 echo "configure:4127: checking "for --enable-choice"" >&5
4127 no_cache=0
4128 # Check whether --enable-choice or --disable-choice was given.
4129 if test "${enable_choice+set}" = set; then
4130 enableval="$enable_choice"
4131
4132 if test "$enableval" = yes; then
4133 ac_cv_use_choice='wxUSE_CHOICE=yes'
4134 else
4135 ac_cv_use_choice='wxUSE_CHOICE=no'
4136 fi
4137
4138 else
4139
4140 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
4141 if test "x$LINE" != x ; then
4142 eval "DEFAULT_$LINE"
4143 else
4144 no_cache=1
4145 fi
4146
4147 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
4148
4149 fi
4150
4151
4152 eval "$ac_cv_use_choice"
4153 if test "$no_cache" != 1; then
4154 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
4155 fi
4156
4157 if test "$wxUSE_CHOICE" = yes; then
4158 echo "$ac_t""yes" 1>&6
4159 else
4160 echo "$ac_t""no" 1>&6
4161 fi
4162
4163
4164 echo $ac_n "checking "for --enable-combobox"""... $ac_c" 1>&6
4165 echo "configure:4166: checking "for --enable-combobox"" >&5
4166 no_cache=0
4167 # Check whether --enable-combobox or --disable-combobox was given.
4168 if test "${enable_combobox+set}" = set; then
4169 enableval="$enable_combobox"
4170
4171 if test "$enableval" = yes; then
4172 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
4173 else
4174 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
4175 fi
4176
4177 else
4178
4179 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
4180 if test "x$LINE" != x ; then
4181 eval "DEFAULT_$LINE"
4182 else
4183 no_cache=1
4184 fi
4185
4186 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
4187
4188 fi
4189
4190
4191 eval "$ac_cv_use_combobox"
4192 if test "$no_cache" != 1; then
4193 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
4194 fi
4195
4196 if test "$wxUSE_COMBOBOX" = yes; then
4197 echo "$ac_t""yes" 1>&6
4198 else
4199 echo "$ac_t""no" 1>&6
4200 fi
4201
4202
4203 echo $ac_n "checking "for --enable-gauge"""... $ac_c" 1>&6
4204 echo "configure:4205: checking "for --enable-gauge"" >&5
4205 no_cache=0
4206 # Check whether --enable-gauge or --disable-gauge was given.
4207 if test "${enable_gauge+set}" = set; then
4208 enableval="$enable_gauge"
4209
4210 if test "$enableval" = yes; then
4211 ac_cv_use_gauge='wxUSE_GAUGE=yes'
4212 else
4213 ac_cv_use_gauge='wxUSE_GAUGE=no'
4214 fi
4215
4216 else
4217
4218 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
4219 if test "x$LINE" != x ; then
4220 eval "DEFAULT_$LINE"
4221 else
4222 no_cache=1
4223 fi
4224
4225 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
4226
4227 fi
4228
4229
4230 eval "$ac_cv_use_gauge"
4231 if test "$no_cache" != 1; then
4232 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
4233 fi
4234
4235 if test "$wxUSE_GAUGE" = yes; then
4236 echo "$ac_t""yes" 1>&6
4237 else
4238 echo "$ac_t""no" 1>&6
4239 fi
4240
4241
4242 echo $ac_n "checking "for --enable-grid"""... $ac_c" 1>&6
4243 echo "configure:4244: checking "for --enable-grid"" >&5
4244 no_cache=0
4245 # Check whether --enable-grid or --disable-grid was given.
4246 if test "${enable_grid+set}" = set; then
4247 enableval="$enable_grid"
4248
4249 if test "$enableval" = yes; then
4250 ac_cv_use_grid='wxUSE_GRID=yes'
4251 else
4252 ac_cv_use_grid='wxUSE_GRID=no'
4253 fi
4254
4255 else
4256
4257 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
4258 if test "x$LINE" != x ; then
4259 eval "DEFAULT_$LINE"
4260 else
4261 no_cache=1
4262 fi
4263
4264 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
4265
4266 fi
4267
4268
4269 eval "$ac_cv_use_grid"
4270 if test "$no_cache" != 1; then
4271 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
4272 fi
4273
4274 if test "$wxUSE_GRID" = yes; then
4275 echo "$ac_t""yes" 1>&6
4276 else
4277 echo "$ac_t""no" 1>&6
4278 fi
4279
4280
4281 echo $ac_n "checking "for --enable-newgrid"""... $ac_c" 1>&6
4282 echo "configure:4283: checking "for --enable-newgrid"" >&5
4283 no_cache=0
4284 # Check whether --enable-newgrid or --disable-newgrid was given.
4285 if test "${enable_newgrid+set}" = set; then
4286 enableval="$enable_newgrid"
4287
4288 if test "$enableval" = yes; then
4289 ac_cv_use_newgrid='wxUSE_NEW_GRID=yes'
4290 else
4291 ac_cv_use_newgrid='wxUSE_NEW_GRID=no'
4292 fi
4293
4294 else
4295
4296 LINE=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
4297 if test "x$LINE" != x ; then
4298 eval "DEFAULT_$LINE"
4299 else
4300 no_cache=1
4301 fi
4302
4303 ac_cv_use_newgrid='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
4304
4305 fi
4306
4307
4308 eval "$ac_cv_use_newgrid"
4309 if test "$no_cache" != 1; then
4310 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
4311 fi
4312
4313 if test "$wxUSE_NEW_GRID" = yes; then
4314 echo "$ac_t""yes" 1>&6
4315 else
4316 echo "$ac_t""no" 1>&6
4317 fi
4318
4319
4320 echo $ac_n "checking "for --enable-imaglist"""... $ac_c" 1>&6
4321 echo "configure:4322: checking "for --enable-imaglist"" >&5
4322 no_cache=0
4323 # Check whether --enable-imaglist or --disable-imaglist was given.
4324 if test "${enable_imaglist+set}" = set; then
4325 enableval="$enable_imaglist"
4326
4327 if test "$enableval" = yes; then
4328 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
4329 else
4330 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
4331 fi
4332
4333 else
4334
4335 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
4336 if test "x$LINE" != x ; then
4337 eval "DEFAULT_$LINE"
4338 else
4339 no_cache=1
4340 fi
4341
4342 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
4343
4344 fi
4345
4346
4347 eval "$ac_cv_use_imaglist"
4348 if test "$no_cache" != 1; then
4349 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
4350 fi
4351
4352 if test "$wxUSE_IMAGLIST" = yes; then
4353 echo "$ac_t""yes" 1>&6
4354 else
4355 echo "$ac_t""no" 1>&6
4356 fi
4357
4358
4359 echo $ac_n "checking "for --enable-listbox"""... $ac_c" 1>&6
4360 echo "configure:4361: checking "for --enable-listbox"" >&5
4361 no_cache=0
4362 # Check whether --enable-listbox or --disable-listbox was given.
4363 if test "${enable_listbox+set}" = set; then
4364 enableval="$enable_listbox"
4365
4366 if test "$enableval" = yes; then
4367 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
4368 else
4369 ac_cv_use_listbox='wxUSE_LISTBOX=no'
4370 fi
4371
4372 else
4373
4374 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
4375 if test "x$LINE" != x ; then
4376 eval "DEFAULT_$LINE"
4377 else
4378 no_cache=1
4379 fi
4380
4381 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
4382
4383 fi
4384
4385
4386 eval "$ac_cv_use_listbox"
4387 if test "$no_cache" != 1; then
4388 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
4389 fi
4390
4391 if test "$wxUSE_LISTBOX" = yes; then
4392 echo "$ac_t""yes" 1>&6
4393 else
4394 echo "$ac_t""no" 1>&6
4395 fi
4396
4397
4398 echo $ac_n "checking "for --enable-listctrl"""... $ac_c" 1>&6
4399 echo "configure:4400: checking "for --enable-listctrl"" >&5
4400 no_cache=0
4401 # Check whether --enable-listctrl or --disable-listctrl was given.
4402 if test "${enable_listctrl+set}" = set; then
4403 enableval="$enable_listctrl"
4404
4405 if test "$enableval" = yes; then
4406 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
4407 else
4408 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
4409 fi
4410
4411 else
4412
4413 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
4414 if test "x$LINE" != x ; then
4415 eval "DEFAULT_$LINE"
4416 else
4417 no_cache=1
4418 fi
4419
4420 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
4421
4422 fi
4423
4424
4425 eval "$ac_cv_use_listctrl"
4426 if test "$no_cache" != 1; then
4427 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
4428 fi
4429
4430 if test "$wxUSE_LISTCTRL" = yes; then
4431 echo "$ac_t""yes" 1>&6
4432 else
4433 echo "$ac_t""no" 1>&6
4434 fi
4435
4436
4437 echo $ac_n "checking "for --enable-notebook"""... $ac_c" 1>&6
4438 echo "configure:4439: checking "for --enable-notebook"" >&5
4439 no_cache=0
4440 # Check whether --enable-notebook or --disable-notebook was given.
4441 if test "${enable_notebook+set}" = set; then
4442 enableval="$enable_notebook"
4443
4444 if test "$enableval" = yes; then
4445 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
4446 else
4447 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
4448 fi
4449
4450 else
4451
4452 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
4453 if test "x$LINE" != x ; then
4454 eval "DEFAULT_$LINE"
4455 else
4456 no_cache=1
4457 fi
4458
4459 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
4460
4461 fi
4462
4463
4464 eval "$ac_cv_use_notebook"
4465 if test "$no_cache" != 1; then
4466 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
4467 fi
4468
4469 if test "$wxUSE_NOTEBOOK" = yes; then
4470 echo "$ac_t""yes" 1>&6
4471 else
4472 echo "$ac_t""no" 1>&6
4473 fi
4474
4475
4476 echo $ac_n "checking "for --enable-radiobox"""... $ac_c" 1>&6
4477 echo "configure:4478: checking "for --enable-radiobox"" >&5
4478 no_cache=0
4479 # Check whether --enable-radiobox or --disable-radiobox was given.
4480 if test "${enable_radiobox+set}" = set; then
4481 enableval="$enable_radiobox"
4482
4483 if test "$enableval" = yes; then
4484 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
4485 else
4486 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
4487 fi
4488
4489 else
4490
4491 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
4492 if test "x$LINE" != x ; then
4493 eval "DEFAULT_$LINE"
4494 else
4495 no_cache=1
4496 fi
4497
4498 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
4499
4500 fi
4501
4502
4503 eval "$ac_cv_use_radiobox"
4504 if test "$no_cache" != 1; then
4505 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
4506 fi
4507
4508 if test "$wxUSE_RADIOBOX" = yes; then
4509 echo "$ac_t""yes" 1>&6
4510 else
4511 echo "$ac_t""no" 1>&6
4512 fi
4513
4514
4515 echo $ac_n "checking "for --enable-radiobtn"""... $ac_c" 1>&6
4516 echo "configure:4517: checking "for --enable-radiobtn"" >&5
4517 no_cache=0
4518 # Check whether --enable-radiobtn or --disable-radiobtn was given.
4519 if test "${enable_radiobtn+set}" = set; then
4520 enableval="$enable_radiobtn"
4521
4522 if test "$enableval" = yes; then
4523 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
4524 else
4525 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
4526 fi
4527
4528 else
4529
4530 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
4531 if test "x$LINE" != x ; then
4532 eval "DEFAULT_$LINE"
4533 else
4534 no_cache=1
4535 fi
4536
4537 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
4538
4539 fi
4540
4541
4542 eval "$ac_cv_use_radiobtn"
4543 if test "$no_cache" != 1; then
4544 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
4545 fi
4546
4547 if test "$wxUSE_RADIOBTN" = yes; then
4548 echo "$ac_t""yes" 1>&6
4549 else
4550 echo "$ac_t""no" 1>&6
4551 fi
4552
4553
4554 echo $ac_n "checking "for --enable-sash"""... $ac_c" 1>&6
4555 echo "configure:4556: checking "for --enable-sash"" >&5
4556 no_cache=0
4557 # Check whether --enable-sash or --disable-sash was given.
4558 if test "${enable_sash+set}" = set; then
4559 enableval="$enable_sash"
4560
4561 if test "$enableval" = yes; then
4562 ac_cv_use_sash='wxUSE_SASH=yes'
4563 else
4564 ac_cv_use_sash='wxUSE_SASH=no'
4565 fi
4566
4567 else
4568
4569 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
4570 if test "x$LINE" != x ; then
4571 eval "DEFAULT_$LINE"
4572 else
4573 no_cache=1
4574 fi
4575
4576 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
4577
4578 fi
4579
4580
4581 eval "$ac_cv_use_sash"
4582 if test "$no_cache" != 1; then
4583 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
4584 fi
4585
4586 if test "$wxUSE_SASH" = yes; then
4587 echo "$ac_t""yes" 1>&6
4588 else
4589 echo "$ac_t""no" 1>&6
4590 fi
4591
4592
4593 echo $ac_n "checking "for --enable-scrollbar"""... $ac_c" 1>&6
4594 echo "configure:4595: checking "for --enable-scrollbar"" >&5
4595 no_cache=0
4596 # Check whether --enable-scrollbar or --disable-scrollbar was given.
4597 if test "${enable_scrollbar+set}" = set; then
4598 enableval="$enable_scrollbar"
4599
4600 if test "$enableval" = yes; then
4601 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
4602 else
4603 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
4604 fi
4605
4606 else
4607
4608 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
4609 if test "x$LINE" != x ; then
4610 eval "DEFAULT_$LINE"
4611 else
4612 no_cache=1
4613 fi
4614
4615 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
4616
4617 fi
4618
4619
4620 eval "$ac_cv_use_scrollbar"
4621 if test "$no_cache" != 1; then
4622 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
4623 fi
4624
4625 if test "$wxUSE_SCROLLBAR" = yes; then
4626 echo "$ac_t""yes" 1>&6
4627 else
4628 echo "$ac_t""no" 1>&6
4629 fi
4630
4631
4632 echo $ac_n "checking "for --enable-slider"""... $ac_c" 1>&6
4633 echo "configure:4634: checking "for --enable-slider"" >&5
4634 no_cache=0
4635 # Check whether --enable-slider or --disable-slider was given.
4636 if test "${enable_slider+set}" = set; then
4637 enableval="$enable_slider"
4638
4639 if test "$enableval" = yes; then
4640 ac_cv_use_slider='wxUSE_SLIDER=yes'
4641 else
4642 ac_cv_use_slider='wxUSE_SLIDER=no'
4643 fi
4644
4645 else
4646
4647 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
4648 if test "x$LINE" != x ; then
4649 eval "DEFAULT_$LINE"
4650 else
4651 no_cache=1
4652 fi
4653
4654 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
4655
4656 fi
4657
4658
4659 eval "$ac_cv_use_slider"
4660 if test "$no_cache" != 1; then
4661 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
4662 fi
4663
4664 if test "$wxUSE_SLIDER" = yes; then
4665 echo "$ac_t""yes" 1>&6
4666 else
4667 echo "$ac_t""no" 1>&6
4668 fi
4669
4670
4671 echo $ac_n "checking "for --enable-spinbtn"""... $ac_c" 1>&6
4672 echo "configure:4673: checking "for --enable-spinbtn"" >&5
4673 no_cache=0
4674 # Check whether --enable-spinbtn or --disable-spinbtn was given.
4675 if test "${enable_spinbtn+set}" = set; then
4676 enableval="$enable_spinbtn"
4677
4678 if test "$enableval" = yes; then
4679 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
4680 else
4681 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
4682 fi
4683
4684 else
4685
4686 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
4687 if test "x$LINE" != x ; then
4688 eval "DEFAULT_$LINE"
4689 else
4690 no_cache=1
4691 fi
4692
4693 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
4694
4695 fi
4696
4697
4698 eval "$ac_cv_use_spinbtn"
4699 if test "$no_cache" != 1; then
4700 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
4701 fi
4702
4703 if test "$wxUSE_SPINBTN" = yes; then
4704 echo "$ac_t""yes" 1>&6
4705 else
4706 echo "$ac_t""no" 1>&6
4707 fi
4708
4709
4710 echo $ac_n "checking "for --enable-splitter"""... $ac_c" 1>&6
4711 echo "configure:4712: checking "for --enable-splitter"" >&5
4712 no_cache=0
4713 # Check whether --enable-splitter or --disable-splitter was given.
4714 if test "${enable_splitter+set}" = set; then
4715 enableval="$enable_splitter"
4716
4717 if test "$enableval" = yes; then
4718 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
4719 else
4720 ac_cv_use_splitter='wxUSE_SPLITTER=no'
4721 fi
4722
4723 else
4724
4725 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
4726 if test "x$LINE" != x ; then
4727 eval "DEFAULT_$LINE"
4728 else
4729 no_cache=1
4730 fi
4731
4732 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
4733
4734 fi
4735
4736
4737 eval "$ac_cv_use_splitter"
4738 if test "$no_cache" != 1; then
4739 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
4740 fi
4741
4742 if test "$wxUSE_SPLITTER" = yes; then
4743 echo "$ac_t""yes" 1>&6
4744 else
4745 echo "$ac_t""no" 1>&6
4746 fi
4747
4748
4749 echo $ac_n "checking "for --enable-statbmp"""... $ac_c" 1>&6
4750 echo "configure:4751: checking "for --enable-statbmp"" >&5
4751 no_cache=0
4752 # Check whether --enable-statbmp or --disable-statbmp was given.
4753 if test "${enable_statbmp+set}" = set; then
4754 enableval="$enable_statbmp"
4755
4756 if test "$enableval" = yes; then
4757 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
4758 else
4759 ac_cv_use_statbmp='wxUSE_STATBMP=no'
4760 fi
4761
4762 else
4763
4764 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
4765 if test "x$LINE" != x ; then
4766 eval "DEFAULT_$LINE"
4767 else
4768 no_cache=1
4769 fi
4770
4771 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
4772
4773 fi
4774
4775
4776 eval "$ac_cv_use_statbmp"
4777 if test "$no_cache" != 1; then
4778 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
4779 fi
4780
4781 if test "$wxUSE_STATBMP" = yes; then
4782 echo "$ac_t""yes" 1>&6
4783 else
4784 echo "$ac_t""no" 1>&6
4785 fi
4786
4787
4788 echo $ac_n "checking "for --enable-statbox"""... $ac_c" 1>&6
4789 echo "configure:4790: checking "for --enable-statbox"" >&5
4790 no_cache=0
4791 # Check whether --enable-statbox or --disable-statbox was given.
4792 if test "${enable_statbox+set}" = set; then
4793 enableval="$enable_statbox"
4794
4795 if test "$enableval" = yes; then
4796 ac_cv_use_statbox='wxUSE_STATBOX=yes'
4797 else
4798 ac_cv_use_statbox='wxUSE_STATBOX=no'
4799 fi
4800
4801 else
4802
4803 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
4804 if test "x$LINE" != x ; then
4805 eval "DEFAULT_$LINE"
4806 else
4807 no_cache=1
4808 fi
4809
4810 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
4811
4812 fi
4813
4814
4815 eval "$ac_cv_use_statbox"
4816 if test "$no_cache" != 1; then
4817 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
4818 fi
4819
4820 if test "$wxUSE_STATBOX" = yes; then
4821 echo "$ac_t""yes" 1>&6
4822 else
4823 echo "$ac_t""no" 1>&6
4824 fi
4825
4826
4827 echo $ac_n "checking "for --enable-statline"""... $ac_c" 1>&6
4828 echo "configure:4829: checking "for --enable-statline"" >&5
4829 no_cache=0
4830 # Check whether --enable-statline or --disable-statline was given.
4831 if test "${enable_statline+set}" = set; then
4832 enableval="$enable_statline"
4833
4834 if test "$enableval" = yes; then
4835 ac_cv_use_statline='wxUSE_STATLINE=yes'
4836 else
4837 ac_cv_use_statline='wxUSE_STATLINE=no'
4838 fi
4839
4840 else
4841
4842 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
4843 if test "x$LINE" != x ; then
4844 eval "DEFAULT_$LINE"
4845 else
4846 no_cache=1
4847 fi
4848
4849 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
4850
4851 fi
4852
4853
4854 eval "$ac_cv_use_statline"
4855 if test "$no_cache" != 1; then
4856 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
4857 fi
4858
4859 if test "$wxUSE_STATLINE" = yes; then
4860 echo "$ac_t""yes" 1>&6
4861 else
4862 echo "$ac_t""no" 1>&6
4863 fi
4864
4865
4866 echo $ac_n "checking "for --enable-statusbar"""... $ac_c" 1>&6
4867 echo "configure:4868: checking "for --enable-statusbar"" >&5
4868 no_cache=0
4869 # Check whether --enable-statusbar or --disable-statusbar was given.
4870 if test "${enable_statusbar+set}" = set; then
4871 enableval="$enable_statusbar"
4872
4873 if test "$enableval" = yes; then
4874 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
4875 else
4876 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
4877 fi
4878
4879 else
4880
4881 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
4882 if test "x$LINE" != x ; then
4883 eval "DEFAULT_$LINE"
4884 else
4885 no_cache=1
4886 fi
4887
4888 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
4889
4890 fi
4891
4892
4893 eval "$ac_cv_use_statusbar"
4894 if test "$no_cache" != 1; then
4895 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
4896 fi
4897
4898 if test "$wxUSE_STATUSBAR" = yes; then
4899 echo "$ac_t""yes" 1>&6
4900 else
4901 echo "$ac_t""no" 1>&6
4902 fi
4903
4904
4905 echo $ac_n "checking "for --enable-tabdialog"""... $ac_c" 1>&6
4906 echo "configure:4907: checking "for --enable-tabdialog"" >&5
4907 no_cache=0
4908 # Check whether --enable-tabdialog or --disable-tabdialog was given.
4909 if test "${enable_tabdialog+set}" = set; then
4910 enableval="$enable_tabdialog"
4911
4912 if test "$enableval" = yes; then
4913 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
4914 else
4915 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
4916 fi
4917
4918 else
4919
4920 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
4921 if test "x$LINE" != x ; then
4922 eval "DEFAULT_$LINE"
4923 else
4924 no_cache=1
4925 fi
4926
4927 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
4928
4929 fi
4930
4931
4932 eval "$ac_cv_use_tabdialog"
4933 if test "$no_cache" != 1; then
4934 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
4935 fi
4936
4937 if test "$wxUSE_TABDIALOG" = yes; then
4938 echo "$ac_t""yes" 1>&6
4939 else
4940 echo "$ac_t""no" 1>&6
4941 fi
4942
4943
4944 echo $ac_n "checking "for --enable-toolbar"""... $ac_c" 1>&6
4945 echo "configure:4946: checking "for --enable-toolbar"" >&5
4946 no_cache=0
4947 # Check whether --enable-toolbar or --disable-toolbar was given.
4948 if test "${enable_toolbar+set}" = set; then
4949 enableval="$enable_toolbar"
4950
4951 if test "$enableval" = yes; then
4952 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
4953 else
4954 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
4955 fi
4956
4957 else
4958
4959 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
4960 if test "x$LINE" != x ; then
4961 eval "DEFAULT_$LINE"
4962 else
4963 no_cache=1
4964 fi
4965
4966 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
4967
4968 fi
4969
4970
4971 eval "$ac_cv_use_toolbar"
4972 if test "$no_cache" != 1; then
4973 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
4974 fi
4975
4976 if test "$wxUSE_TOOLBAR" = yes; then
4977 echo "$ac_t""yes" 1>&6
4978 else
4979 echo "$ac_t""no" 1>&6
4980 fi
4981
4982
4983 echo $ac_n "checking "for --enable-treectrl"""... $ac_c" 1>&6
4984 echo "configure:4985: checking "for --enable-treectrl"" >&5
4985 no_cache=0
4986 # Check whether --enable-treectrl or --disable-treectrl was given.
4987 if test "${enable_treectrl+set}" = set; then
4988 enableval="$enable_treectrl"
4989
4990 if test "$enableval" = yes; then
4991 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
4992 else
4993 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
4994 fi
4995
4996 else
4997
4998 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
4999 if test "x$LINE" != x ; then
5000 eval "DEFAULT_$LINE"
5001 else
5002 no_cache=1
5003 fi
5004
5005 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
5006
5007 fi
5008
5009
5010 eval "$ac_cv_use_treectrl"
5011 if test "$no_cache" != 1; then
5012 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
5013 fi
5014
5015 if test "$wxUSE_TREECTRL" = yes; then
5016 echo "$ac_t""yes" 1>&6
5017 else
5018 echo "$ac_t""no" 1>&6
5019 fi
5020
5021
5022
5023
5024 echo $ac_n "checking "for --enable-commondlg"""... $ac_c" 1>&6
5025 echo "configure:5026: checking "for --enable-commondlg"" >&5
5026 no_cache=0
5027 # Check whether --enable-commondlg or --disable-commondlg was given.
5028 if test "${enable_commondlg+set}" = set; then
5029 enableval="$enable_commondlg"
5030
5031 if test "$enableval" = yes; then
5032 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
5033 else
5034 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
5035 fi
5036
5037 else
5038
5039 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
5040 if test "x$LINE" != x ; then
5041 eval "DEFAULT_$LINE"
5042 else
5043 no_cache=1
5044 fi
5045
5046 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
5047
5048 fi
5049
5050
5051 eval "$ac_cv_use_commondlg"
5052 if test "$no_cache" != 1; then
5053 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
5054 fi
5055
5056 if test "$wxUSE_COMMONDLGS" = yes; then
5057 echo "$ac_t""yes" 1>&6
5058 else
5059 echo "$ac_t""no" 1>&6
5060 fi
5061
5062
5063 echo $ac_n "checking "for --enable-dirdlg"""... $ac_c" 1>&6
5064 echo "configure:5065: checking "for --enable-dirdlg"" >&5
5065 no_cache=0
5066 # Check whether --enable-dirdlg or --disable-dirdlg was given.
5067 if test "${enable_dirdlg+set}" = set; then
5068 enableval="$enable_dirdlg"
5069
5070 if test "$enableval" = yes; then
5071 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
5072 else
5073 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
5074 fi
5075
5076 else
5077
5078 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
5079 if test "x$LINE" != x ; then
5080 eval "DEFAULT_$LINE"
5081 else
5082 no_cache=1
5083 fi
5084
5085 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
5086
5087 fi
5088
5089
5090 eval "$ac_cv_use_dirdlg"
5091 if test "$no_cache" != 1; then
5092 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
5093 fi
5094
5095 if test "$wxUSE_DIRDLG" = yes; then
5096 echo "$ac_t""yes" 1>&6
5097 else
5098 echo "$ac_t""no" 1>&6
5099 fi
5100
5101
5102 echo $ac_n "checking "for --enable-textdlg"""... $ac_c" 1>&6
5103 echo "configure:5104: checking "for --enable-textdlg"" >&5
5104 no_cache=0
5105 # Check whether --enable-textdlg or --disable-textdlg was given.
5106 if test "${enable_textdlg+set}" = set; then
5107 enableval="$enable_textdlg"
5108
5109 if test "$enableval" = yes; then
5110 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
5111 else
5112 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
5113 fi
5114
5115 else
5116
5117 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
5118 if test "x$LINE" != x ; then
5119 eval "DEFAULT_$LINE"
5120 else
5121 no_cache=1
5122 fi
5123
5124 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
5125
5126 fi
5127
5128
5129 eval "$ac_cv_use_textdlg"
5130 if test "$no_cache" != 1; then
5131 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
5132 fi
5133
5134 if test "$wxUSE_TEXTDLG" = yes; then
5135 echo "$ac_t""yes" 1>&6
5136 else
5137 echo "$ac_t""no" 1>&6
5138 fi
5139
5140
5141 echo $ac_n "checking "for --enable-tipdlg"""... $ac_c" 1>&6
5142 echo "configure:5143: checking "for --enable-tipdlg"" >&5
5143 no_cache=0
5144 # Check whether --enable-tipdlg or --disable-tipdlg was given.
5145 if test "${enable_tipdlg+set}" = set; then
5146 enableval="$enable_tipdlg"
5147
5148 if test "$enableval" = yes; then
5149 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
5150 else
5151 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
5152 fi
5153
5154 else
5155
5156 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
5157 if test "x$LINE" != x ; then
5158 eval "DEFAULT_$LINE"
5159 else
5160 no_cache=1
5161 fi
5162
5163 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
5164
5165 fi
5166
5167
5168 eval "$ac_cv_use_tipdlg"
5169 if test "$no_cache" != 1; then
5170 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
5171 fi
5172
5173 if test "$wxUSE_STARTUP_TIPS" = yes; then
5174 echo "$ac_t""yes" 1>&6
5175 else
5176 echo "$ac_t""no" 1>&6
5177 fi
5178
5179
5180 echo $ac_n "checking "for --enable-progressdlg"""... $ac_c" 1>&6
5181 echo "configure:5182: checking "for --enable-progressdlg"" >&5
5182 no_cache=0
5183 # Check whether --enable-progressdlg or --disable-progressdlg was given.
5184 if test "${enable_progressdlg+set}" = set; then
5185 enableval="$enable_progressdlg"
5186
5187 if test "$enableval" = yes; then
5188 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
5189 else
5190 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
5191 fi
5192
5193 else
5194
5195 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
5196 if test "x$LINE" != x ; then
5197 eval "DEFAULT_$LINE"
5198 else
5199 no_cache=1
5200 fi
5201
5202 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
5203
5204 fi
5205
5206
5207 eval "$ac_cv_use_progressdlg"
5208 if test "$no_cache" != 1; then
5209 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
5210 fi
5211
5212 if test "$wxUSE_PROGRESSDLG" = yes; then
5213 echo "$ac_t""yes" 1>&6
5214 else
5215 echo "$ac_t""no" 1>&6
5216 fi
5217
5218
5219 echo $ac_n "checking "for --enable-miniframe"""... $ac_c" 1>&6
5220 echo "configure:5221: checking "for --enable-miniframe"" >&5
5221 no_cache=0
5222 # Check whether --enable-miniframe or --disable-miniframe was given.
5223 if test "${enable_miniframe+set}" = set; then
5224 enableval="$enable_miniframe"
5225
5226 if test "$enableval" = yes; then
5227 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
5228 else
5229 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
5230 fi
5231
5232 else
5233
5234 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
5235 if test "x$LINE" != x ; then
5236 eval "DEFAULT_$LINE"
5237 else
5238 no_cache=1
5239 fi
5240
5241 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
5242
5243 fi
5244
5245
5246 eval "$ac_cv_use_miniframe"
5247 if test "$no_cache" != 1; then
5248 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
5249 fi
5250
5251 if test "$wxUSE_MINIFRAME" = yes; then
5252 echo "$ac_t""yes" 1>&6
5253 else
5254 echo "$ac_t""no" 1>&6
5255 fi
5256
5257
5258 echo $ac_n "checking "for --enable-html"""... $ac_c" 1>&6
5259 echo "configure:5260: checking "for --enable-html"" >&5
5260 no_cache=0
5261 # Check whether --enable-html or --disable-html was given.
5262 if test "${enable_html+set}" = set; then
5263 enableval="$enable_html"
5264
5265 if test "$enableval" = yes; then
5266 ac_cv_use_html='wxUSE_HTML=yes'
5267 else
5268 ac_cv_use_html='wxUSE_HTML=no'
5269 fi
5270
5271 else
5272
5273 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5274 if test "x$LINE" != x ; then
5275 eval "DEFAULT_$LINE"
5276 else
5277 no_cache=1
5278 fi
5279
5280 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5281
5282 fi
5283
5284
5285 eval "$ac_cv_use_html"
5286 if test "$no_cache" != 1; then
5287 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5288 fi
5289
5290 if test "$wxUSE_HTML" = yes; then
5291 echo "$ac_t""yes" 1>&6
5292 else
5293 echo "$ac_t""no" 1>&6
5294 fi
5295
5296
5297 echo $ac_n "checking "for --enable-tooltips"""... $ac_c" 1>&6
5298 echo "configure:5299: checking "for --enable-tooltips"" >&5
5299 no_cache=0
5300 # Check whether --enable-tooltips or --disable-tooltips was given.
5301 if test "${enable_tooltips+set}" = set; then
5302 enableval="$enable_tooltips"
5303
5304 if test "$enableval" = yes; then
5305 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
5306 else
5307 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
5308 fi
5309
5310 else
5311
5312 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
5313 if test "x$LINE" != x ; then
5314 eval "DEFAULT_$LINE"
5315 else
5316 no_cache=1
5317 fi
5318
5319 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
5320
5321 fi
5322
5323
5324 eval "$ac_cv_use_tooltips"
5325 if test "$no_cache" != 1; then
5326 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
5327 fi
5328
5329 if test "$wxUSE_TOOLTIPS" = yes; then
5330 echo "$ac_t""yes" 1>&6
5331 else
5332 echo "$ac_t""no" 1>&6
5333 fi
5334
5335
5336 echo $ac_n "checking "for --enable-splines"""... $ac_c" 1>&6
5337 echo "configure:5338: checking "for --enable-splines"" >&5
5338 no_cache=0
5339 # Check whether --enable-splines or --disable-splines was given.
5340 if test "${enable_splines+set}" = set; then
5341 enableval="$enable_splines"
5342
5343 if test "$enableval" = yes; then
5344 ac_cv_use_splines='wxUSE_SPLINES=yes'
5345 else
5346 ac_cv_use_splines='wxUSE_SPLINES=no'
5347 fi
5348
5349 else
5350
5351 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
5352 if test "x$LINE" != x ; then
5353 eval "DEFAULT_$LINE"
5354 else
5355 no_cache=1
5356 fi
5357
5358 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
5359
5360 fi
5361
5362
5363 eval "$ac_cv_use_splines"
5364 if test "$no_cache" != 1; then
5365 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
5366 fi
5367
5368 if test "$wxUSE_SPLINES" = yes; then
5369 echo "$ac_t""yes" 1>&6
5370 else
5371 echo "$ac_t""no" 1>&6
5372 fi
5373
5374
5375 echo $ac_n "checking "for --enable-validators"""... $ac_c" 1>&6
5376 echo "configure:5377: checking "for --enable-validators"" >&5
5377 no_cache=0
5378 # Check whether --enable-validators or --disable-validators was given.
5379 if test "${enable_validators+set}" = set; then
5380 enableval="$enable_validators"
5381
5382 if test "$enableval" = yes; then
5383 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
5384 else
5385 ac_cv_use_validators='wxUSE_VALIDATORS=no'
5386 fi
5387
5388 else
5389
5390 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
5391 if test "x$LINE" != x ; then
5392 eval "DEFAULT_$LINE"
5393 else
5394 no_cache=1
5395 fi
5396
5397 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
5398
5399 fi
5400
5401
5402 eval "$ac_cv_use_validators"
5403 if test "$no_cache" != 1; then
5404 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
5405 fi
5406
5407 if test "$wxUSE_VALIDATORS" = yes; then
5408 echo "$ac_t""yes" 1>&6
5409 else
5410 echo "$ac_t""no" 1>&6
5411 fi
5412
5413
5414 echo $ac_n "checking "for --enable-busyinfo"""... $ac_c" 1>&6
5415 echo "configure:5416: checking "for --enable-busyinfo"" >&5
5416 no_cache=0
5417 # Check whether --enable-busyinfo or --disable-busyinfo was given.
5418 if test "${enable_busyinfo+set}" = set; then
5419 enableval="$enable_busyinfo"
5420
5421 if test "$enableval" = yes; then
5422 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
5423 else
5424 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
5425 fi
5426
5427 else
5428
5429 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
5430 if test "x$LINE" != x ; then
5431 eval "DEFAULT_$LINE"
5432 else
5433 no_cache=1
5434 fi
5435
5436 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
5437
5438 fi
5439
5440
5441 eval "$ac_cv_use_busyinfo"
5442 if test "$no_cache" != 1; then
5443 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
5444 fi
5445
5446 if test "$wxUSE_BUSYINFO" = yes; then
5447 echo "$ac_t""yes" 1>&6
5448 else
5449 echo "$ac_t""no" 1>&6
5450 fi
5451
5452
5453
5454
5455 echo $ac_n "checking "for --enable-gif"""... $ac_c" 1>&6
5456 echo "configure:5457: checking "for --enable-gif"" >&5
5457 no_cache=0
5458 # Check whether --enable-gif or --disable-gif was given.
5459 if test "${enable_gif+set}" = set; then
5460 enableval="$enable_gif"
5461
5462 if test "$enableval" = yes; then
5463 ac_cv_use_gif='wxUSE_GIF=yes'
5464 else
5465 ac_cv_use_gif='wxUSE_GIF=no'
5466 fi
5467
5468 else
5469
5470 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
5471 if test "x$LINE" != x ; then
5472 eval "DEFAULT_$LINE"
5473 else
5474 no_cache=1
5475 fi
5476
5477 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
5478
5479 fi
5480
5481
5482 eval "$ac_cv_use_gif"
5483 if test "$no_cache" != 1; then
5484 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
5485 fi
5486
5487 if test "$wxUSE_GIF" = yes; then
5488 echo "$ac_t""yes" 1>&6
5489 else
5490 echo "$ac_t""no" 1>&6
5491 fi
5492
5493
5494 echo $ac_n "checking "for --enable-pcx"""... $ac_c" 1>&6
5495 echo "configure:5496: checking "for --enable-pcx"" >&5
5496 no_cache=0
5497 # Check whether --enable-pcx or --disable-pcx was given.
5498 if test "${enable_pcx+set}" = set; then
5499 enableval="$enable_pcx"
5500
5501 if test "$enableval" = yes; then
5502 ac_cv_use_pcx='wxUSE_PCX=yes'
5503 else
5504 ac_cv_use_pcx='wxUSE_PCX=no'
5505 fi
5506
5507 else
5508
5509 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
5510 if test "x$LINE" != x ; then
5511 eval "DEFAULT_$LINE"
5512 else
5513 no_cache=1
5514 fi
5515
5516 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
5517
5518 fi
5519
5520
5521 eval "$ac_cv_use_pcx"
5522 if test "$no_cache" != 1; then
5523 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
5524 fi
5525
5526 if test "$wxUSE_PCX" = yes; then
5527 echo "$ac_t""yes" 1>&6
5528 else
5529 echo "$ac_t""no" 1>&6
5530 fi
5531
5532
5533 echo $ac_n "checking "for --enable-pnm"""... $ac_c" 1>&6
5534 echo "configure:5535: checking "for --enable-pnm"" >&5
5535 no_cache=0
5536 # Check whether --enable-pnm or --disable-pnm was given.
5537 if test "${enable_pnm+set}" = set; then
5538 enableval="$enable_pnm"
5539
5540 if test "$enableval" = yes; then
5541 ac_cv_use_pnm='wxUSE_PNM=yes'
5542 else
5543 ac_cv_use_pnm='wxUSE_PNM=no'
5544 fi
5545
5546 else
5547
5548 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
5549 if test "x$LINE" != x ; then
5550 eval "DEFAULT_$LINE"
5551 else
5552 no_cache=1
5553 fi
5554
5555 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
5556
5557 fi
5558
5559
5560 eval "$ac_cv_use_pnm"
5561 if test "$no_cache" != 1; then
5562 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
5563 fi
5564
5565 if test "$wxUSE_PNM" = yes; then
5566 echo "$ac_t""yes" 1>&6
5567 else
5568 echo "$ac_t""no" 1>&6
5569 fi
5570
5571
5572
5573 echo "saving argument cache $wx_arg_cache_file"
5574 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
5575
5576
5577
5578 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
5579 echo "configure:5580: checking for toolkit" >&5
5580
5581 if test "$wxUSE_GUI" = "yes"; then
5582
5583 if test "$TOOLKIT_GIVEN" = 1; then
5584 for toolkit in `echo $ALL_TOOLKITS`; do
5585 var=wxUSE_$toolkit
5586 eval "value=\$${var}"
5587 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
5588 done
5589 else
5590 for toolkit in `echo $ALL_TOOLKITS`; do
5591 if test "$has_toolkit_in_cache" != 1; then
5592 var=DEFAULT_DEFAULT_wxUSE_$toolkit
5593 else
5594 var=DEFAULT_wxUSE_$toolkit
5595 fi
5596 eval "wxUSE_$toolkit=\$${var}"
5597 done
5598 fi
5599
5600 NUM_TOOLKITS=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_WINE:-0} + ${wxUSE_MINGW:-0} + ${wxUSE_CYGWIN:-0}`
5601
5602 case "$NUM_TOOLKITS" in
5603 1)
5604 ;;
5605 0)
5606 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
5607 ;;
5608 *)
5609 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
5610 esac
5611
5612 for toolkit in `echo $ALL_TOOLKITS`; do
5613 var=wxUSE_$toolkit
5614 eval "value=\$${var}"
5615 if test "x$value" != x; then
5616 cache_var=CACHE_$toolkit
5617 eval "cache=\$${cache_var}"
5618 if test "$cache" = 1; then
5619 echo "$var=$value" >> ${wx_arg_cache_file}
5620 fi
5621 if test "$value" = 1; then
5622 echo "$ac_t""`echo $toolkit | tr A-Z a-z`" 1>&6
5623 fi
5624 fi
5625 done
5626
5627 else
5628 echo "$ac_t""base only" 1>&6
5629 fi
5630
5631
5632 cat > confcache <<\EOF
5633 # This file is a shell script that caches the results of configure
5634 # tests run on this system so they can be shared between configure
5635 # scripts and configure runs. It is not useful on other systems.
5636 # If it contains results you don't want to keep, you may remove or edit it.
5637 #
5638 # By default, configure uses ./config.cache as the cache file,
5639 # creating it if it does not exist already. You can give configure
5640 # the --cache-file=FILE option to use a different cache file; that is
5641 # what configure does when it calls configure scripts in
5642 # subdirectories, so they share the cache.
5643 # Giving --cache-file=/dev/null disables caching, for debugging configure.
5644 # config.status only pays attention to the cache file if you give it the
5645 # --recheck option to rerun configure.
5646 #
5647 EOF
5648 # The following way of writing the cache mishandles newlines in values,
5649 # but we know of no workaround that is simple, portable, and efficient.
5650 # So, don't put newlines in cache variables' values.
5651 # Ultrix sh set writes to stderr and can't be redirected directly,
5652 # and sets the high bit in the cache file unless we assign to the vars.
5653 (set) 2>&1 |
5654 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5655 *ac_space=\ *)
5656 # `set' does not quote correctly, so add quotes (double-quote substitution
5657 # turns \\\\ into \\, and sed turns \\ into \).
5658 sed -n \
5659 -e "s/'/'\\\\''/g" \
5660 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
5661 ;;
5662 *)
5663 # `set' quotes correctly as required by POSIX, so do not add quotes.
5664 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
5665 ;;
5666 esac >> confcache
5667 if cmp -s $cache_file confcache; then
5668 :
5669 else
5670 if test -w $cache_file; then
5671 echo "updating cache $cache_file"
5672 cat confcache > $cache_file
5673 else
5674 echo "not updating unwritable cache $cache_file"
5675 fi
5676 fi
5677 rm -f confcache
5678
5679
5680 if eval "test $host != $build"; then
5681 if eval "test $host_alias != NONE"; then
5682 CC=$host_alias-gcc
5683 CXX=$host_alias-c++
5684 AR=$host_alias-ar
5685 RANLIB=$host_alias-ranlib
5686 DLLTOOL=$host_alias-dlltool
5687 LD=$host_alias-ld
5688 NM=$host_alias-nm
5689 STRIP=$host_alias-strip
5690 fi
5691 fi
5692
5693 # Extract the first word of "gcc", so it can be a program name with args.
5694 set dummy gcc; ac_word=$2
5695 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5696 echo "configure:5697: checking for $ac_word" >&5
5697 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
5698 echo $ac_n "(cached) $ac_c" 1>&6
5699 else
5700 if test -n "$CC"; then
5701 ac_cv_prog_CC="$CC" # Let the user override the test.
5702 else
5703 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
5704 ac_dummy="$PATH"
5705 for ac_dir in $ac_dummy; do
5706 test -z "$ac_dir" && ac_dir=.
5707 if test -f $ac_dir/$ac_word; then
5708 ac_cv_prog_CC="gcc"
5709 break
5710 fi
5711 done
5712 IFS="$ac_save_ifs"
5713 fi
5714 fi
5715 CC="$ac_cv_prog_CC"
5716 if test -n "$CC"; then
5717 echo "$ac_t""$CC" 1>&6
5718 else
5719 echo "$ac_t""no" 1>&6
5720 fi
5721
5722 if test -z "$CC"; then
5723 # Extract the first word of "cc", so it can be a program name with args.
5724 set dummy cc; ac_word=$2
5725 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5726 echo "configure:5727: checking for $ac_word" >&5
5727 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
5728 echo $ac_n "(cached) $ac_c" 1>&6
5729 else
5730 if test -n "$CC"; then
5731 ac_cv_prog_CC="$CC" # Let the user override the test.
5732 else
5733 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
5734 ac_prog_rejected=no
5735 ac_dummy="$PATH"
5736 for ac_dir in $ac_dummy; do
5737 test -z "$ac_dir" && ac_dir=.
5738 if test -f $ac_dir/$ac_word; then
5739 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
5740 ac_prog_rejected=yes
5741 continue
5742 fi
5743 ac_cv_prog_CC="cc"
5744 break
5745 fi
5746 done
5747 IFS="$ac_save_ifs"
5748 if test $ac_prog_rejected = yes; then
5749 # We found a bogon in the path, so make sure we never use it.
5750 set dummy $ac_cv_prog_CC
5751 shift
5752 if test $# -gt 0; then
5753 # We chose a different compiler from the bogus one.
5754 # However, it has the same basename, so the bogon will be chosen
5755 # first if we set CC to just the basename; use the full file name.
5756 shift
5757 set dummy "$ac_dir/$ac_word" "$@"
5758 shift
5759 ac_cv_prog_CC="$@"
5760 fi
5761 fi
5762 fi
5763 fi
5764 CC="$ac_cv_prog_CC"
5765 if test -n "$CC"; then
5766 echo "$ac_t""$CC" 1>&6
5767 else
5768 echo "$ac_t""no" 1>&6
5769 fi
5770
5771 if test -z "$CC"; then
5772 case "`uname -s`" in
5773 *win32* | *WIN32*)
5774 # Extract the first word of "cl", so it can be a program name with args.
5775 set dummy cl; ac_word=$2
5776 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5777 echo "configure:5778: checking for $ac_word" >&5
5778 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
5779 echo $ac_n "(cached) $ac_c" 1>&6
5780 else
5781 if test -n "$CC"; then
5782 ac_cv_prog_CC="$CC" # Let the user override the test.
5783 else
5784 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
5785 ac_dummy="$PATH"
5786 for ac_dir in $ac_dummy; do
5787 test -z "$ac_dir" && ac_dir=.
5788 if test -f $ac_dir/$ac_word; then
5789 ac_cv_prog_CC="cl"
5790 break
5791 fi
5792 done
5793 IFS="$ac_save_ifs"
5794 fi
5795 fi
5796 CC="$ac_cv_prog_CC"
5797 if test -n "$CC"; then
5798 echo "$ac_t""$CC" 1>&6
5799 else
5800 echo "$ac_t""no" 1>&6
5801 fi
5802 ;;
5803 esac
5804 fi
5805 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
5806 fi
5807
5808 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
5809 echo "configure:5810: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
5810
5811 ac_ext=c
5812 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5813 ac_cpp='$CPP $CPPFLAGS'
5814 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5815 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5816 cross_compiling=$ac_cv_prog_cc_cross
5817
5818 cat > conftest.$ac_ext << EOF
5819
5820 #line 5821 "configure"
5821 #include "confdefs.h"
5822
5823 main(){return(0);}
5824 EOF
5825 if { (eval echo configure:5826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5826 ac_cv_prog_cc_works=yes
5827 # If we can't run a trivial program, we are probably using a cross compiler.
5828 if (./conftest; exit) 2>/dev/null; then
5829 ac_cv_prog_cc_cross=no
5830 else
5831 ac_cv_prog_cc_cross=yes
5832 fi
5833 else
5834 echo "configure: failed program was:" >&5
5835 cat conftest.$ac_ext >&5
5836 ac_cv_prog_cc_works=no
5837 fi
5838 rm -fr conftest*
5839 ac_ext=c
5840 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5841 ac_cpp='$CPP $CPPFLAGS'
5842 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5843 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5844 cross_compiling=$ac_cv_prog_cc_cross
5845
5846 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
5847 if test $ac_cv_prog_cc_works = no; then
5848 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
5849 fi
5850 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
5851 echo "configure:5852: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
5852 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
5853 cross_compiling=$ac_cv_prog_cc_cross
5854
5855 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
5856 echo "configure:5857: checking whether we are using GNU C" >&5
5857 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
5858 echo $ac_n "(cached) $ac_c" 1>&6
5859 else
5860 cat > conftest.c <<EOF
5861 #ifdef __GNUC__
5862 yes;
5863 #endif
5864 EOF
5865 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:5866: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
5866 ac_cv_prog_gcc=yes
5867 else
5868 ac_cv_prog_gcc=no
5869 fi
5870 fi
5871
5872 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
5873
5874 if test $ac_cv_prog_gcc = yes; then
5875 GCC=yes
5876 else
5877 GCC=
5878 fi
5879
5880 ac_test_CFLAGS="${CFLAGS+set}"
5881 ac_save_CFLAGS="$CFLAGS"
5882 CFLAGS=
5883 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
5884 echo "configure:5885: checking whether ${CC-cc} accepts -g" >&5
5885 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
5886 echo $ac_n "(cached) $ac_c" 1>&6
5887 else
5888 echo 'void f(){}' > conftest.c
5889 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
5890 ac_cv_prog_cc_g=yes
5891 else
5892 ac_cv_prog_cc_g=no
5893 fi
5894 rm -f conftest*
5895
5896 fi
5897
5898 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
5899 if test "$ac_test_CFLAGS" = set; then
5900 CFLAGS="$ac_save_CFLAGS"
5901 elif test $ac_cv_prog_cc_g = yes; then
5902 if test "$GCC" = yes; then
5903 CFLAGS="-g -O2"
5904 else
5905 CFLAGS="-g"
5906 fi
5907 else
5908 if test "$GCC" = yes; then
5909 CFLAGS="-O2"
5910 else
5911 CFLAGS=
5912 fi
5913 fi
5914
5915
5916 CFLAGS=`echo "$CFLAGS" | sed 's/-g//g'`
5917
5918 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
5919 echo "configure:5920: checking how to run the C preprocessor" >&5
5920 # On Suns, sometimes $CPP names a directory.
5921 if test -n "$CPP" && test -d "$CPP"; then
5922 CPP=
5923 fi
5924 if test -z "$CPP"; then
5925 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
5926 echo $ac_n "(cached) $ac_c" 1>&6
5927 else
5928 # This must be in double quotes, not single quotes, because CPP may get
5929 # substituted into the Makefile and "${CC-cc}" will confuse make.
5930 CPP="${CC-cc} -E"
5931 # On the NeXT, cc -E runs the code through the compiler's parser,
5932 # not just through cpp.
5933 cat > conftest.$ac_ext <<EOF
5934 #line 5935 "configure"
5935 #include "confdefs.h"
5936 #include <assert.h>
5937 Syntax Error
5938 EOF
5939 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5940 { (eval echo configure:5941: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5941 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5942 if test -z "$ac_err"; then
5943 :
5944 else
5945 echo "$ac_err" >&5
5946 echo "configure: failed program was:" >&5
5947 cat conftest.$ac_ext >&5
5948 rm -rf conftest*
5949 CPP="${CC-cc} -E -traditional-cpp"
5950 cat > conftest.$ac_ext <<EOF
5951 #line 5952 "configure"
5952 #include "confdefs.h"
5953 #include <assert.h>
5954 Syntax Error
5955 EOF
5956 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5957 { (eval echo configure:5958: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5958 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5959 if test -z "$ac_err"; then
5960 :
5961 else
5962 echo "$ac_err" >&5
5963 echo "configure: failed program was:" >&5
5964 cat conftest.$ac_ext >&5
5965 rm -rf conftest*
5966 CPP="${CC-cc} -nologo -E"
5967 cat > conftest.$ac_ext <<EOF
5968 #line 5969 "configure"
5969 #include "confdefs.h"
5970 #include <assert.h>
5971 Syntax Error
5972 EOF
5973 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5974 { (eval echo configure:5975: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5975 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5976 if test -z "$ac_err"; then
5977 :
5978 else
5979 echo "$ac_err" >&5
5980 echo "configure: failed program was:" >&5
5981 cat conftest.$ac_ext >&5
5982 rm -rf conftest*
5983 CPP=/lib/cpp
5984 fi
5985 rm -f conftest*
5986 fi
5987 rm -f conftest*
5988 fi
5989 rm -f conftest*
5990 ac_cv_prog_CPP="$CPP"
5991 fi
5992 CPP="$ac_cv_prog_CPP"
5993 else
5994 ac_cv_prog_CPP="$CPP"
5995 fi
5996 echo "$ac_t""$CPP" 1>&6
5997
5998
5999 if test $ac_cv_prog_gcc = yes; then
6000 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
6001 echo "configure:6002: checking whether ${CC-cc} needs -traditional" >&5
6002 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
6003 echo $ac_n "(cached) $ac_c" 1>&6
6004 else
6005 ac_pattern="Autoconf.*'x'"
6006 cat > conftest.$ac_ext <<EOF
6007 #line 6008 "configure"
6008 #include "confdefs.h"
6009 #include <sgtty.h>
6010 Autoconf TIOCGETP
6011 EOF
6012 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6013 egrep "$ac_pattern" >/dev/null 2>&1; then
6014 rm -rf conftest*
6015 ac_cv_prog_gcc_traditional=yes
6016 else
6017 rm -rf conftest*
6018 ac_cv_prog_gcc_traditional=no
6019 fi
6020 rm -f conftest*
6021
6022
6023 if test $ac_cv_prog_gcc_traditional = no; then
6024 cat > conftest.$ac_ext <<EOF
6025 #line 6026 "configure"
6026 #include "confdefs.h"
6027 #include <termio.h>
6028 Autoconf TCGETA
6029 EOF
6030 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6031 egrep "$ac_pattern" >/dev/null 2>&1; then
6032 rm -rf conftest*
6033 ac_cv_prog_gcc_traditional=yes
6034 fi
6035 rm -f conftest*
6036
6037 fi
6038 fi
6039
6040 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
6041 if test $ac_cv_prog_gcc_traditional = yes; then
6042 CC="$CC -traditional"
6043 fi
6044 fi
6045
6046
6047
6048 ac_ext=C
6049 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6050 ac_cpp='$CXXCPP $CPPFLAGS'
6051 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6052 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6053 cross_compiling=$ac_cv_prog_cxx_cross
6054
6055
6056 for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl
6057 do
6058 # Extract the first word of "$ac_prog", so it can be a program name with args.
6059 set dummy $ac_prog; ac_word=$2
6060 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6061 echo "configure:6062: checking for $ac_word" >&5
6062 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
6063 echo $ac_n "(cached) $ac_c" 1>&6
6064 else
6065 if test -n "$CXX"; then
6066 ac_cv_prog_CXX="$CXX" # Let the user override the test.
6067 else
6068 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
6069 ac_dummy="$PATH"
6070 for ac_dir in $ac_dummy; do
6071 test -z "$ac_dir" && ac_dir=.
6072 if test -f $ac_dir/$ac_word; then
6073 ac_cv_prog_CXX="$ac_prog"
6074 break
6075 fi
6076 done
6077 IFS="$ac_save_ifs"
6078 fi
6079 fi
6080 CXX="$ac_cv_prog_CXX"
6081 if test -n "$CXX"; then
6082 echo "$ac_t""$CXX" 1>&6
6083 else
6084 echo "$ac_t""no" 1>&6
6085 fi
6086
6087 test -n "$CXX" && break
6088 done
6089 test -n "$CXX" || CXX="gcc"
6090
6091
6092 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
6093 echo "configure:6094: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
6094
6095 ac_ext=C
6096 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6097 ac_cpp='$CXXCPP $CPPFLAGS'
6098 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6099 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6100 cross_compiling=$ac_cv_prog_cxx_cross
6101
6102 cat > conftest.$ac_ext << EOF
6103
6104 #line 6105 "configure"
6105 #include "confdefs.h"
6106
6107 int main(){return(0);}
6108 EOF
6109 if { (eval echo configure:6110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6110 ac_cv_prog_cxx_works=yes
6111 # If we can't run a trivial program, we are probably using a cross compiler.
6112 if (./conftest; exit) 2>/dev/null; then
6113 ac_cv_prog_cxx_cross=no
6114 else
6115 ac_cv_prog_cxx_cross=yes
6116 fi
6117 else
6118 echo "configure: failed program was:" >&5
6119 cat conftest.$ac_ext >&5
6120 ac_cv_prog_cxx_works=no
6121 fi
6122 rm -fr conftest*
6123 ac_ext=C
6124 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6125 ac_cpp='$CXXCPP $CPPFLAGS'
6126 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6127 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6128 cross_compiling=$ac_cv_prog_cxx_cross
6129
6130 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
6131 if test $ac_cv_prog_cxx_works = no; then
6132 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
6133 fi
6134 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
6135 echo "configure:6136: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
6136 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
6137 cross_compiling=$ac_cv_prog_cxx_cross
6138
6139 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
6140 echo "configure:6141: checking whether we are using GNU C++" >&5
6141 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
6142 echo $ac_n "(cached) $ac_c" 1>&6
6143 else
6144 cat > conftest.C <<EOF
6145 #ifdef __GNUC__
6146 yes;
6147 #endif
6148 EOF
6149 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:6150: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
6150 ac_cv_prog_gxx=yes
6151 else
6152 ac_cv_prog_gxx=no
6153 fi
6154 fi
6155
6156 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
6157
6158 if test $ac_cv_prog_gxx = yes; then
6159 GXX=yes
6160 else
6161 GXX=
6162 fi
6163
6164 ac_test_CXXFLAGS="${CXXFLAGS+set}"
6165 ac_save_CXXFLAGS="$CXXFLAGS"
6166 CXXFLAGS=
6167 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
6168 echo "configure:6169: checking whether ${CXX-g++} accepts -g" >&5
6169 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
6170 echo $ac_n "(cached) $ac_c" 1>&6
6171 else
6172 echo 'void f(){}' > conftest.cc
6173 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
6174 ac_cv_prog_cxx_g=yes
6175 else
6176 ac_cv_prog_cxx_g=no
6177 fi
6178 rm -f conftest*
6179
6180 fi
6181
6182 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
6183 if test "$ac_test_CXXFLAGS" = set; then
6184 CXXFLAGS="$ac_save_CXXFLAGS"
6185 elif test $ac_cv_prog_cxx_g = yes; then
6186 if test "$GXX" = yes; then
6187 CXXFLAGS="-g -O2"
6188 else
6189 CXXFLAGS="-g"
6190 fi
6191 else
6192 if test "$GXX" = yes; then
6193 CXXFLAGS="-O2"
6194 else
6195 CXXFLAGS=
6196 fi
6197 fi
6198
6199
6200 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
6201 echo "configure:6202: checking how to run the C++ preprocessor" >&5
6202 if test -z "$CXXCPP"; then
6203 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
6204 echo $ac_n "(cached) $ac_c" 1>&6
6205 else
6206 ac_ext=C
6207 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6208 ac_cpp='$CXXCPP $CPPFLAGS'
6209 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6210 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6211 cross_compiling=$ac_cv_prog_cxx_cross
6212 CXXCPP="${CXX-g++} -E"
6213 cat > conftest.$ac_ext <<EOF
6214 #line 6215 "configure"
6215 #include "confdefs.h"
6216 #include <stdlib.h>
6217 EOF
6218 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6219 { (eval echo configure:6220: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6220 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6221 if test -z "$ac_err"; then
6222 :
6223 else
6224 echo "$ac_err" >&5
6225 echo "configure: failed program was:" >&5
6226 cat conftest.$ac_ext >&5
6227 rm -rf conftest*
6228 CXXCPP=/lib/cpp
6229 fi
6230 rm -f conftest*
6231 ac_cv_prog_CXXCPP="$CXXCPP"
6232 ac_ext=C
6233 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6234 ac_cpp='$CXXCPP $CPPFLAGS'
6235 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6236 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6237 cross_compiling=$ac_cv_prog_cxx_cross
6238 fi
6239 fi
6240 CXXCPP="$ac_cv_prog_CXXCPP"
6241 echo "$ac_t""$CXXCPP" 1>&6
6242
6243
6244 CXXFLAGS=`echo "$CXXFLAGS" | sed 's/-g//g'`
6245
6246 ac_ext=c
6247 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6248 ac_cpp='$CPP $CPPFLAGS'
6249 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6250 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6251 cross_compiling=$ac_cv_prog_cc_cross
6252
6253
6254 # Extract the first word of "ranlib", so it can be a program name with args.
6255 set dummy ranlib; ac_word=$2
6256 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6257 echo "configure:6258: checking for $ac_word" >&5
6258 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
6259 echo $ac_n "(cached) $ac_c" 1>&6
6260 else
6261 if test -n "$RANLIB"; then
6262 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6263 else
6264 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
6265 ac_dummy="$PATH"
6266 for ac_dir in $ac_dummy; do
6267 test -z "$ac_dir" && ac_dir=.
6268 if test -f $ac_dir/$ac_word; then
6269 ac_cv_prog_RANLIB="ranlib"
6270 break
6271 fi
6272 done
6273 IFS="$ac_save_ifs"
6274 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
6275 fi
6276 fi
6277 RANLIB="$ac_cv_prog_RANLIB"
6278 if test -n "$RANLIB"; then
6279 echo "$ac_t""$RANLIB" 1>&6
6280 else
6281 echo "$ac_t""no" 1>&6
6282 fi
6283
6284
6285 # Extract the first word of "ar", so it can be a program name with args.
6286 set dummy ar; ac_word=$2
6287 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6288 echo "configure:6289: checking for $ac_word" >&5
6289 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
6290 echo $ac_n "(cached) $ac_c" 1>&6
6291 else
6292 if test -n "$AR"; then
6293 ac_cv_prog_AR="$AR" # Let the user override the test.
6294 else
6295 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
6296 ac_dummy="$PATH"
6297 for ac_dir in $ac_dummy; do
6298 test -z "$ac_dir" && ac_dir=.
6299 if test -f $ac_dir/$ac_word; then
6300 ac_cv_prog_AR="ar"
6301 break
6302 fi
6303 done
6304 IFS="$ac_save_ifs"
6305 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
6306 fi
6307 fi
6308 AR="$ac_cv_prog_AR"
6309 if test -n "$AR"; then
6310 echo "$ac_t""$AR" 1>&6
6311 else
6312 echo "$ac_t""no" 1>&6
6313 fi
6314
6315
6316 # Find a good install program. We prefer a C program (faster),
6317 # so one script is as good as another. But avoid the broken or
6318 # incompatible versions:
6319 # SysV /etc/install, /usr/sbin/install
6320 # SunOS /usr/etc/install
6321 # IRIX /sbin/install
6322 # AIX /bin/install
6323 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6324 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6325 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6326 # ./install, which can be erroneously created by make from ./install.sh.
6327 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
6328 echo "configure:6329: checking for a BSD compatible install" >&5
6329 if test -z "$INSTALL"; then
6330 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
6331 echo $ac_n "(cached) $ac_c" 1>&6
6332 else
6333 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
6334 for ac_dir in $PATH; do
6335 # Account for people who put trailing slashes in PATH elements.
6336 case "$ac_dir/" in
6337 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
6338 *)
6339 # OSF1 and SCO ODT 3.0 have their own names for install.
6340 # Don't use installbsd from OSF since it installs stuff as root
6341 # by default.
6342 for ac_prog in ginstall scoinst install; do
6343 if test -f $ac_dir/$ac_prog; then
6344 if test $ac_prog = install &&
6345 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
6346 # AIX install. It has an incompatible calling convention.
6347 :
6348 else
6349 ac_cv_path_install="$ac_dir/$ac_prog -c"
6350 break 2
6351 fi
6352 fi
6353 done
6354 ;;
6355 esac
6356 done
6357 IFS="$ac_save_IFS"
6358
6359 fi
6360 if test "${ac_cv_path_install+set}" = set; then
6361 INSTALL="$ac_cv_path_install"
6362 else
6363 # As a last resort, use the slow shell script. We don't cache a
6364 # path for INSTALL within a source directory, because that will
6365 # break other packages using the cache if that directory is
6366 # removed, or if the path is relative.
6367 INSTALL="$ac_install_sh"
6368 fi
6369 fi
6370 echo "$ac_t""$INSTALL" 1>&6
6371
6372 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6373 # It thinks the first close brace ends the variable substitution.
6374 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6375
6376 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
6377
6378 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6379
6380
6381 # Extract the first word of "strip", so it can be a program name with args.
6382 set dummy strip; ac_word=$2
6383 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6384 echo "configure:6385: checking for $ac_word" >&5
6385 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
6386 echo $ac_n "(cached) $ac_c" 1>&6
6387 else
6388 if test -n "$STRIP"; then
6389 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6390 else
6391 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
6392 ac_dummy="$PATH"
6393 for ac_dir in $ac_dummy; do
6394 test -z "$ac_dir" && ac_dir=.
6395 if test -f $ac_dir/$ac_word; then
6396 ac_cv_prog_STRIP="strip"
6397 break
6398 fi
6399 done
6400 IFS="$ac_save_ifs"
6401 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
6402 fi
6403 fi
6404 STRIP="$ac_cv_prog_STRIP"
6405 if test -n "$STRIP"; then
6406 echo "$ac_t""$STRIP" 1>&6
6407 else
6408 echo "$ac_t""no" 1>&6
6409 fi
6410
6411
6412 echo $ac_n "checking "make for VPATH support"""... $ac_c" 1>&6
6413 echo "configure:6414: checking "make for VPATH support"" >&5
6414 cat - << EOF > confMake
6415 check : file
6416 cp \$? \$@
6417 cp \$? final_file
6418 EOF
6419
6420 if test ! -d sub ; then
6421 mkdir sub
6422 fi
6423 echo dummy > sub/file
6424 ${MAKE-make} -f confMake VPATH=sub 2> config.log > /dev/null
6425 RESULT=$?
6426 rm -f sub/file check final_file confMake
6427 rmdir sub
6428 if test "$RESULT" = 0; then
6429 echo "$ac_t""yes" 1>&6
6430 else
6431 echo "$ac_t""no" 1>&6
6432 { echo "configure: error: You need a make-utility that is able to use the variable
6433 VPATH correctly.
6434 If your version of make does not support VPATH correctly" 1>&2; exit 1; }
6435 fi
6436
6437 for ac_prog in 'bison -y' byacc
6438 do
6439 # Extract the first word of "$ac_prog", so it can be a program name with args.
6440 set dummy $ac_prog; ac_word=$2
6441 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6442 echo "configure:6443: checking for $ac_word" >&5
6443 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
6444 echo $ac_n "(cached) $ac_c" 1>&6
6445 else
6446 if test -n "$YACC"; then
6447 ac_cv_prog_YACC="$YACC" # Let the user override the test.
6448 else
6449 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
6450 ac_dummy="$PATH"
6451 for ac_dir in $ac_dummy; do
6452 test -z "$ac_dir" && ac_dir=.
6453 if test -f $ac_dir/$ac_word; then
6454 ac_cv_prog_YACC="$ac_prog"
6455 break
6456 fi
6457 done
6458 IFS="$ac_save_ifs"
6459 fi
6460 fi
6461 YACC="$ac_cv_prog_YACC"
6462 if test -n "$YACC"; then
6463 echo "$ac_t""$YACC" 1>&6
6464 else
6465 echo "$ac_t""no" 1>&6
6466 fi
6467
6468 test -n "$YACC" && break
6469 done
6470 test -n "$YACC" || YACC="yacc"
6471
6472
6473 # Extract the first word of "flex", so it can be a program name with args.
6474 set dummy flex; ac_word=$2
6475 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6476 echo "configure:6477: checking for $ac_word" >&5
6477 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
6478 echo $ac_n "(cached) $ac_c" 1>&6
6479 else
6480 if test -n "$LEX"; then
6481 ac_cv_prog_LEX="$LEX" # Let the user override the test.
6482 else
6483 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
6484 ac_dummy="$PATH"
6485 for ac_dir in $ac_dummy; do
6486 test -z "$ac_dir" && ac_dir=.
6487 if test -f $ac_dir/$ac_word; then
6488 ac_cv_prog_LEX="flex"
6489 break
6490 fi
6491 done
6492 IFS="$ac_save_ifs"
6493 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX="lex"
6494 fi
6495 fi
6496 LEX="$ac_cv_prog_LEX"
6497 if test -n "$LEX"; then
6498 echo "$ac_t""$LEX" 1>&6
6499 else
6500 echo "$ac_t""no" 1>&6
6501 fi
6502
6503 if test -z "$LEXLIB"
6504 then
6505 case "$LEX" in
6506 flex*) ac_lib=fl ;;
6507 *) ac_lib=l ;;
6508 esac
6509 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
6510 echo "configure:6511: checking for yywrap in -l$ac_lib" >&5
6511 ac_lib_var=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
6512 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6513 echo $ac_n "(cached) $ac_c" 1>&6
6514 else
6515 ac_save_LIBS="$LIBS"
6516 LIBS="-l$ac_lib $LIBS"
6517 cat > conftest.$ac_ext <<EOF
6518 #line 6519 "configure"
6519 #include "confdefs.h"
6520 /* Override any gcc2 internal prototype to avoid an error. */
6521 /* We use char because int might match the return type of a gcc2
6522 builtin and then its argument prototype would still apply. */
6523 char yywrap();
6524
6525 int main() {
6526 yywrap()
6527 ; return 0; }
6528 EOF
6529 if { (eval echo configure:6530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6530 rm -rf conftest*
6531 eval "ac_cv_lib_$ac_lib_var=yes"
6532 else
6533 echo "configure: failed program was:" >&5
6534 cat conftest.$ac_ext >&5
6535 rm -rf conftest*
6536 eval "ac_cv_lib_$ac_lib_var=no"
6537 fi
6538 rm -f conftest*
6539 LIBS="$ac_save_LIBS"
6540
6541 fi
6542 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6543 echo "$ac_t""yes" 1>&6
6544 LEXLIB="-l$ac_lib"
6545 else
6546 echo "$ac_t""no" 1>&6
6547 fi
6548
6549 fi
6550
6551
6552 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
6553 echo "configure:6554: checking whether ln -s works" >&5
6554 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
6555 echo $ac_n "(cached) $ac_c" 1>&6
6556 else
6557 rm -f conftestdata
6558 if ln -s X conftestdata 2>/dev/null
6559 then
6560 rm -f conftestdata
6561 ac_cv_prog_LN_S="ln -s"
6562 else
6563 ac_cv_prog_LN_S=ln
6564 fi
6565 fi
6566 LN_S="$ac_cv_prog_LN_S"
6567 if test "$ac_cv_prog_LN_S" = "ln -s"; then
6568 echo "$ac_t""yes" 1>&6
6569 else
6570 echo "$ac_t""no" 1>&6
6571 fi
6572
6573
6574
6575 SEARCH_INCLUDE="\
6576 /usr/Motif-1.2/include \
6577 /usr/Motif-2.1/include \
6578 \
6579 /usr/include/Motif1.2 \
6580 /opt/xpm/include/X11 \
6581 /opt/GBxpm/include/ \
6582 /opt/GBxpm/X11/include/ \
6583 \
6584 /usr/Motif1.2/include \
6585 /usr/dt/include \
6586 /usr/include/Xm \
6587 \
6588 /usr/X11R6/include \
6589 /usr/X11R5/include \
6590 /usr/X11R4/include \
6591 \
6592 /usr/X11R6/lib \
6593 /usr/X11R5/lib \
6594 /usr/X11R4/lib \
6595 \
6596 /usr/include/X11R6 \
6597 /usr/include/X11R5 \
6598 /usr/include/X11R4 \
6599 \
6600 /usr/local/X11R6/include \
6601 /usr/local/X11R5/include \
6602 /usr/local/X11R4/include \
6603 \
6604 /usr/local/include/X11R6 \
6605 /usr/local/include/X11R5 \
6606 /usr/local/include/X11R4 \
6607 \
6608 /usr/X11/include \
6609 /usr/include/X11 \
6610 /usr/local/X11/include \
6611 /usr/local/include/X11 \
6612 \
6613 /usr/X386/include \
6614 /usr/x386/include \
6615 /usr/XFree86/include/X11 \
6616 \
6617 /usr/include \
6618 /usr/local/include \
6619 \
6620 /usr/include/gtk \
6621 /usr/local/include/gtk \
6622 /usr/include/glib \
6623 /usr/local/include/glib \
6624 \
6625 /usr/include/qt \
6626 /usr/local/include/qt \
6627 \
6628 /usr/include/windows \
6629 /usr/include/wine \
6630 /usr/local/include/wine \
6631 \
6632 /usr/unsupported/include \
6633 /usr/athena/include \
6634 /usr/local/x11r5/include \
6635 /usr/lpp/Xamples/include \
6636 \
6637 /usr/openwin/include \
6638 /usr/openwin/share/include \
6639 "
6640
6641 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
6642
6643
6644 cat > confcache <<\EOF
6645 # This file is a shell script that caches the results of configure
6646 # tests run on this system so they can be shared between configure
6647 # scripts and configure runs. It is not useful on other systems.
6648 # If it contains results you don't want to keep, you may remove or edit it.
6649 #
6650 # By default, configure uses ./config.cache as the cache file,
6651 # creating it if it does not exist already. You can give configure
6652 # the --cache-file=FILE option to use a different cache file; that is
6653 # what configure does when it calls configure scripts in
6654 # subdirectories, so they share the cache.
6655 # Giving --cache-file=/dev/null disables caching, for debugging configure.
6656 # config.status only pays attention to the cache file if you give it the
6657 # --recheck option to rerun configure.
6658 #
6659 EOF
6660 # The following way of writing the cache mishandles newlines in values,
6661 # but we know of no workaround that is simple, portable, and efficient.
6662 # So, don't put newlines in cache variables' values.
6663 # Ultrix sh set writes to stderr and can't be redirected directly,
6664 # and sets the high bit in the cache file unless we assign to the vars.
6665 (set) 2>&1 |
6666 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6667 *ac_space=\ *)
6668 # `set' does not quote correctly, so add quotes (double-quote substitution
6669 # turns \\\\ into \\, and sed turns \\ into \).
6670 sed -n \
6671 -e "s/'/'\\\\''/g" \
6672 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
6673 ;;
6674 *)
6675 # `set' quotes correctly as required by POSIX, so do not add quotes.
6676 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
6677 ;;
6678 esac >> confcache
6679 if cmp -s $cache_file confcache; then
6680 :
6681 else
6682 if test -w $cache_file; then
6683 echo "updating cache $cache_file"
6684 cat confcache > $cache_file
6685 else
6686 echo "not updating unwritable cache $cache_file"
6687 fi
6688 fi
6689 rm -f confcache
6690
6691
6692
6693 if test "$wxUSE_GUI" = "yes"; then
6694
6695 TOOLKIT=
6696 TOOLKIT_INCLUDE=
6697
6698 GUIOBJS=
6699 COMMONOBJS=
6700 GENERICOBJS=
6701
6702 GUI_TK_LIBRARY=
6703 GUI_TK_LINK=
6704
6705 WXGTK12=
6706
6707 WXWINE=
6708
6709 PROGRAM_EXT=
6710
6711 if test "$wxUSE_CYGWIN" = 1 || test "$wxUSE_MINGW" = 1 ; then
6712 if test "$cross_compiling" = "yes" ; then
6713 echo "configure: warning: Cross compiling --- skipping windows.h check" 1>&2
6714 else
6715 echo $ac_n "checking for Windows headers""... $ac_c" 1>&6
6716 echo "configure:6717: checking for Windows headers" >&5
6717
6718 ac_find_includes=
6719 for ac_dir in $SEARCH_INCLUDE;
6720 do
6721 if test -f "$ac_dir/windows.h"; then
6722 ac_find_includes=$ac_dir
6723 break
6724 fi
6725 done
6726
6727 if test "$ac_find_includes" != "" ; then
6728 echo "$ac_t""found $ac_find_includes" 1>&6
6729 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE -I$ac_find_includes"
6730 else
6731 echo "$ac_t""no" 1>&6
6732 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
6733 fi
6734 fi
6735
6736 INCLUDE_SUBDIRS="$INCLUDE_SUBDIRS msw"
6737 LIBS="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -lcrtdll -ladvapi32 -lwsock32"
6738
6739 if test "$wxUSE_MINGW" = 1; then
6740 LDFLAGS="$LDFLAGS -mwindows"
6741 fi
6742
6743 TOOLKIT=MSW
6744
6745 GUIOBJS="\$(MSW_GUIOBJS)"
6746 GUIHEADERS="\$(MSW_HEADERS)"
6747 COMMONOBJS="\$(MSW_COMMONOBJS)"
6748 GENERICOBJS="\$(MSW_GENERICOBJS)"
6749 UNIXOBJS=
6750 GUIDIST=MSW_DIST
6751 PROGRAM_EXT=.exe
6752 fi
6753
6754 if test "$wxUSE_GTK" = 1; then
6755
6756 if test x$gtk_config_exec_prefix != x ; then
6757 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
6758 if test x${GTK_CONFIG+set} != xset ; then
6759 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
6760 fi
6761 fi
6762 if test x$gtk_config_prefix != x ; then
6763 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
6764 if test x${GTK_CONFIG+set} != xset ; then
6765 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
6766 fi
6767 fi
6768
6769 # Extract the first word of "gtk-config", so it can be a program name with args.
6770 set dummy gtk-config; ac_word=$2
6771 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6772 echo "configure:6773: checking for $ac_word" >&5
6773 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
6774 echo $ac_n "(cached) $ac_c" 1>&6
6775 else
6776 case "$GTK_CONFIG" in
6777 /*)
6778 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
6779 ;;
6780 ?:/*)
6781 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a dos path.
6782 ;;
6783 *)
6784 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
6785 ac_dummy="$PATH"
6786 for ac_dir in $ac_dummy; do
6787 test -z "$ac_dir" && ac_dir=.
6788 if test -f $ac_dir/$ac_word; then
6789 ac_cv_path_GTK_CONFIG="$ac_dir/$ac_word"
6790 break
6791 fi
6792 done
6793 IFS="$ac_save_ifs"
6794 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
6795 ;;
6796 esac
6797 fi
6798 GTK_CONFIG="$ac_cv_path_GTK_CONFIG"
6799 if test -n "$GTK_CONFIG"; then
6800 echo "$ac_t""$GTK_CONFIG" 1>&6
6801 else
6802 echo "$ac_t""no" 1>&6
6803 fi
6804
6805 min_gtk_version=1.2.1
6806 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
6807 echo "configure:6808: checking for GTK - version >= $min_gtk_version" >&5
6808 no_gtk=""
6809 if test "$GTK_CONFIG" != "no" ; then
6810 GTK_CFLAGS=`$GTK_CONFIG --cflags`
6811 GTK_LIBS=`$GTK_CONFIG --libs`
6812 ac_save_CFLAGS="$CFLAGS"
6813 ac_save_LIBS="$LIBS"
6814 CFLAGS="$CFLAGS $GTK_CFLAGS"
6815 LIBS="$LIBS $GTK_LIBS"
6816 if test "$cross_compiling" = yes; then
6817 echo $ac_n "cross compiling; assumed OK... $ac_c"
6818 else
6819 cat > conftest.$ac_ext <<EOF
6820 #line 6821 "configure"
6821 #include "confdefs.h"
6822
6823 #include <gtk/gtk.h>
6824 #include <stdio.h>
6825
6826 int
6827 main ()
6828 {
6829 int major, minor, micro;
6830
6831 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, &micro) != 3) {
6832 printf("%s, bad version string\n", "$min_gtk_version");
6833 exit(1);
6834 }
6835
6836 if (gtk_minor_version == 1) return FALSE;
6837
6838 return !((gtk_major_version > major) ||
6839 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
6840 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
6841 }
6842
6843 EOF
6844 if { (eval echo configure:6845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6845 then
6846 :
6847 else
6848 echo "configure: failed program was:" >&5
6849 cat conftest.$ac_ext >&5
6850 rm -fr conftest*
6851 no_gtk=yes
6852 fi
6853 rm -fr conftest*
6854 fi
6855
6856 CFLAGS="$ac_save_CFLAGS"
6857 LIBS="$ac_save_LIBS"
6858 else
6859 no_gtk=yes
6860 fi
6861 if test "x$no_gtk" = x ; then
6862 echo "$ac_t""yes" 1>&6
6863 WXGTK12=1
6864 else
6865 echo "$ac_t""no" 1>&6
6866 GTK_CFLAGS=""
6867 GTK_LIBS=""
6868 { echo "configure: error: Is gtk-config in path and GTK+ is version 1.2.1 or above?" 1>&2; exit 1; }
6869 fi
6870
6871
6872
6873
6874 TOOLKIT_INCLUDE="$GTK_CFLAGS"
6875 GUI_TK_LIBRARY="$GTK_LIBS"
6876 TOOLKIT=GTK
6877
6878 GUIOBJS="\$(GTK_GUIOBJS)"
6879 GUIHEADERS="\$(GTK_HEADERS)"
6880 COMMONOBJS="\$(GTK_COMMONOBJS)"
6881 GENERICOBJS="\$(GTK_GENERICOBJS)"
6882 GUIDEPS="\$(GTK_GUIDEPS)"
6883 COMMONDEPS="\$(GTK_COMMONDEPS)"
6884 GENERICDEPS="\$(GTK_GENERICDEPS)"
6885 UNIXOBJS="\$(UNIX_OBJS)"
6886 GUIDIST=GTK_DIST
6887 fi
6888
6889 if test "$wxUSE_WINE" = 1; then
6890 echo $ac_n "checking for WINE includes""... $ac_c" 1>&6
6891 echo "configure:6892: checking for WINE includes" >&5
6892
6893 ac_find_includes=
6894 for ac_dir in $SEARCH_INCLUDE;
6895 do
6896 if test -f "$ac_dir/windows.h"; then
6897 ac_find_includes=$ac_dir
6898 break
6899 fi
6900 done
6901
6902 if test "$ac_find_includes" != "" ; then
6903 echo "$ac_t""found $ac_find_includes" 1>&6
6904 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE -I$ac_find_includes"
6905 else
6906 echo "$ac_t""no" 1>&6
6907 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
6908 fi
6909
6910 XPM_LINK=""
6911 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
6912 echo "configure:6913: checking for Xpm library" >&5
6913
6914 ac_find_libraries=
6915 for ac_dir in $SEARCH_LIB;
6916 do
6917 for ac_extension in a so sl; do
6918 if test -f "$ac_dir/libXpm.$ac_extension"; then
6919 ac_find_libraries=$ac_dir
6920 break 2
6921 fi
6922 done
6923 done
6924
6925 if test "$ac_find_libraries" != "" ; then
6926 GUI_TK_LIBRARY="-L$ac_find_libraries"
6927 XPM_LINK="-lXpm"
6928 cat >> confdefs.h <<\EOF
6929 #define wxHAVE_LIB_XPM 1
6930 EOF
6931
6932 echo "$ac_t""found at $ac_find_libraries" 1>&6
6933 else
6934 echo "$ac_t""no" 1>&6
6935 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
6936 fi
6937
6938 MESA_LINK=""
6939 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
6940 echo "configure:6941: checking for Mesa library" >&5
6941
6942 ac_find_libraries=
6943 for ac_dir in $SEARCH_LIB;
6944 do
6945 for ac_extension in a so sl; do
6946 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
6947 ac_find_libraries=$ac_dir
6948 break 2
6949 fi
6950 done
6951 done
6952
6953 if test "$ac_find_libraries" != "" ; then
6954 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -L$ac_find_libraries"
6955 MESA_LINK="-lMesaGL"
6956 echo "$ac_t""found at $ac_find_libraries" 1>&6
6957 else
6958 { echo "configure: error: no" 1>&2; exit 1; }
6959 fi
6960
6961 GUI_TK_LINK="-lwine $MESA_LINK $XPM_LINK -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses -lm"
6962 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $GUI_TK_LINK"
6963 WXWINE=1
6964 TOOLKIT=MSW
6965
6966 GUIHEADERS="\$(MSW_HEADERS)"
6967 GUIOBJS="\$(MSW_GUIOBJS)"
6968 COMMONOBJS="\$(MSW_COMMONOBJS)"
6969 GENERICOBJS="\$(MSW_GENERICOBJS)"
6970 GUIDEPS="\$(MSW_GUIDEPS)"
6971 COMMONDEPS="\$(MSW_COMMONDEPS)"
6972 GENERICDEPS="\$(MSW_GENERICDEPS)"
6973 UNIXOBJS="\$(UNIX_OBJS)"
6974 GUIDIST=MSW_DIST
6975 fi
6976
6977 if test "$wxUSE_MOTIF" = 1; then
6978 # If we find X, set shell vars x_includes and x_libraries to the
6979 # paths, otherwise set no_x=yes.
6980 # Uses ac_ vars as temps to allow command line to override cache and checks.
6981 # --without-x overrides everything else, but does not touch the cache.
6982 echo $ac_n "checking for X""... $ac_c" 1>&6
6983 echo "configure:6984: checking for X" >&5
6984
6985 # Check whether --with-x or --without-x was given.
6986 if test "${with_x+set}" = set; then
6987 withval="$with_x"
6988 :
6989 fi
6990
6991 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
6992 if test "x$with_x" = xno; then
6993 # The user explicitly disabled X.
6994 have_x=disabled
6995 else
6996 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
6997 # Both variables are already set.
6998 have_x=yes
6999 else
7000 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
7001 echo $ac_n "(cached) $ac_c" 1>&6
7002 else
7003 # One or both of the vars are not set, and there is no cached value.
7004 ac_x_includes=NO ac_x_libraries=NO
7005 rm -fr conftestdir
7006 if mkdir conftestdir; then
7007 cd conftestdir
7008 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
7009 cat > Imakefile <<'EOF'
7010 acfindx:
7011 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
7012 EOF
7013 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
7014 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7015 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
7016 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7017 for ac_extension in a so sl; do
7018 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
7019 test -f $ac_im_libdir/libX11.$ac_extension; then
7020 ac_im_usrlibdir=$ac_im_libdir; break
7021 fi
7022 done
7023 # Screen out bogus values from the imake configuration. They are
7024 # bogus both because they are the default anyway, and because
7025 # using them would break gcc on systems where it needs fixed includes.
7026 case "$ac_im_incroot" in
7027 /usr/include) ;;
7028 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes="$ac_im_incroot" ;;
7029 esac
7030 case "$ac_im_usrlibdir" in
7031 /usr/lib | /lib) ;;
7032 *) test -d "$ac_im_usrlibdir" && ac_x_libraries="$ac_im_usrlibdir" ;;
7033 esac
7034 fi
7035 cd ..
7036 rm -fr conftestdir
7037 fi
7038
7039 if test "$ac_x_includes" = NO; then
7040 # Guess where to find include files, by looking for this one X11 .h file.
7041 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h
7042
7043 # First, try using that file with no special directory specified.
7044 cat > conftest.$ac_ext <<EOF
7045 #line 7046 "configure"
7046 #include "confdefs.h"
7047 #include <$x_direct_test_include>
7048 EOF
7049 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7050 { (eval echo configure:7051: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7051 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7052 if test -z "$ac_err"; then
7053 rm -rf conftest*
7054 # We can compile using X headers with no special include directory.
7055 ac_x_includes=
7056 else
7057 echo "$ac_err" >&5
7058 echo "configure: failed program was:" >&5
7059 cat conftest.$ac_ext >&5
7060 rm -rf conftest*
7061 # Look for the header file in a standard set of common directories.
7062 # Check X11 before X11Rn because it is often a symlink to the current release.
7063 for ac_dir in \
7064 /usr/X11/include \
7065 /usr/X11R6/include \
7066 /usr/X11R5/include \
7067 /usr/X11R4/include \
7068 \
7069 /usr/include/X11 \
7070 /usr/include/X11R6 \
7071 /usr/include/X11R5 \
7072 /usr/include/X11R4 \
7073 \
7074 /usr/local/X11/include \
7075 /usr/local/X11R6/include \
7076 /usr/local/X11R5/include \
7077 /usr/local/X11R4/include \
7078 \
7079 /usr/local/include/X11 \
7080 /usr/local/include/X11R6 \
7081 /usr/local/include/X11R5 \
7082 /usr/local/include/X11R4 \
7083 \
7084 /usr/X386/include \
7085 /usr/x386/include \
7086 /usr/XFree86/include/X11 \
7087 \
7088 /usr/include \
7089 /usr/local/include \
7090 /usr/unsupported/include \
7091 /usr/athena/include \
7092 /usr/local/x11r5/include \
7093 /usr/lpp/Xamples/include \
7094 \
7095 /usr/openwin/include \
7096 /usr/openwin/share/include \
7097 ; \
7098 do
7099 if test -r "$ac_dir/$x_direct_test_include"; then
7100 ac_x_includes=$ac_dir
7101 break
7102 fi
7103 done
7104 fi
7105 rm -f conftest*
7106 fi # $ac_x_includes = NO
7107
7108 if test "$ac_x_libraries" = NO; then
7109 # Check for the libraries.
7110
7111 test -z "$x_direct_test_library" && x_direct_test_library=Xt
7112 test -z "$x_direct_test_function" && x_direct_test_function=XtMalloc
7113
7114 # See if we find them without any special options.
7115 # Don't add to $LIBS permanently.
7116 ac_save_LIBS="$LIBS"
7117 LIBS="-l$x_direct_test_library $LIBS"
7118 cat > conftest.$ac_ext <<EOF
7119 #line 7120 "configure"
7120 #include "confdefs.h"
7121
7122 int main() {
7123 ${x_direct_test_function}()
7124 ; return 0; }
7125 EOF
7126 if { (eval echo configure:7127: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7127 rm -rf conftest*
7128 LIBS="$ac_save_LIBS"
7129 # We can link X programs with no special library path.
7130 ac_x_libraries=
7131 else
7132 echo "configure: failed program was:" >&5
7133 cat conftest.$ac_ext >&5
7134 rm -rf conftest*
7135 LIBS="$ac_save_LIBS"
7136 # First see if replacing the include by lib works.
7137 # Check X11 before X11Rn because it is often a symlink to the current release.
7138 for ac_dir in `echo "$ac_x_includes" | sed s/include/lib/` \
7139 /usr/X11/lib \
7140 /usr/X11R6/lib \
7141 /usr/X11R5/lib \
7142 /usr/X11R4/lib \
7143 \
7144 /usr/lib/X11 \
7145 /usr/lib/X11R6 \
7146 /usr/lib/X11R5 \
7147 /usr/lib/X11R4 \
7148 \
7149 /usr/local/X11/lib \
7150 /usr/local/X11R6/lib \
7151 /usr/local/X11R5/lib \
7152 /usr/local/X11R4/lib \
7153 \
7154 /usr/local/lib/X11 \
7155 /usr/local/lib/X11R6 \
7156 /usr/local/lib/X11R5 \
7157 /usr/local/lib/X11R4 \
7158 \
7159 /usr/X386/lib \
7160 /usr/x386/lib \
7161 /usr/XFree86/lib/X11 \
7162 \
7163 /usr/lib \
7164 /usr/local/lib \
7165 /usr/unsupported/lib \
7166 /usr/athena/lib \
7167 /usr/local/x11r5/lib \
7168 /usr/lpp/Xamples/lib \
7169 /lib/usr/lib/X11 \
7170 \
7171 /usr/openwin/lib \
7172 /usr/openwin/share/lib \
7173 ; \
7174 do
7175 for ac_extension in a so sl; do
7176 if test -r $ac_dir/lib${x_direct_test_library}.$ac_extension; then
7177 ac_x_libraries=$ac_dir
7178 break 2
7179 fi
7180 done
7181 done
7182 fi
7183 rm -f conftest*
7184 fi # $ac_x_libraries = NO
7185
7186 if test "$ac_x_includes" = NO || test "$ac_x_libraries" = NO; then
7187 # Didn't find X anywhere. Cache the known absence of X.
7188 ac_cv_have_x="have_x=no"
7189 else
7190 # Record where we found X for the cache.
7191 ac_cv_have_x="have_x=yes \
7192 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
7193 fi
7194 fi
7195 fi
7196 eval "$ac_cv_have_x"
7197 fi # $with_x != no
7198
7199 if test "$have_x" != yes; then
7200 echo "$ac_t""$have_x" 1>&6
7201 no_x=yes
7202 else
7203 # If each of the values was on the command line, it overrides each guess.
7204 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
7205 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
7206 # Update the cache value to reflect the command line values.
7207 ac_cv_have_x="have_x=yes \
7208 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
7209 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
7210 fi
7211
7212 if test "$no_x" = yes; then
7213 # Not all programs may use this symbol, but it does not hurt to define it.
7214 cat >> confdefs.h <<\EOF
7215 #define X_DISPLAY_MISSING 1
7216 EOF
7217
7218 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
7219 else
7220 if test -n "$x_includes"; then
7221 X_CFLAGS="$X_CFLAGS -I$x_includes"
7222 fi
7223
7224 # It would also be nice to do this for all -L options, not just this one.
7225 if test -n "$x_libraries"; then
7226 X_LIBS="$X_LIBS -L$x_libraries"
7227 # For Solaris; some versions of Sun CC require a space after -R and
7228 # others require no space. Words are not sufficient . . . .
7229 case "`(uname -sr) 2>/dev/null`" in
7230 "SunOS 5"*)
7231 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
7232 echo "configure:7233: checking whether -R must be followed by a space" >&5
7233 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries"
7234 cat > conftest.$ac_ext <<EOF
7235 #line 7236 "configure"
7236 #include "confdefs.h"
7237
7238 int main() {
7239
7240 ; return 0; }
7241 EOF
7242 if { (eval echo configure:7243: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7243 rm -rf conftest*
7244 ac_R_nospace=yes
7245 else
7246 echo "configure: failed program was:" >&5
7247 cat conftest.$ac_ext >&5
7248 rm -rf conftest*
7249 ac_R_nospace=no
7250 fi
7251 rm -f conftest*
7252 if test $ac_R_nospace = yes; then
7253 echo "$ac_t""no" 1>&6
7254 X_LIBS="$X_LIBS -R$x_libraries"
7255 else
7256 LIBS="$ac_xsave_LIBS -R $x_libraries"
7257 cat > conftest.$ac_ext <<EOF
7258 #line 7259 "configure"
7259 #include "confdefs.h"
7260
7261 int main() {
7262
7263 ; return 0; }
7264 EOF
7265 if { (eval echo configure:7266: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7266 rm -rf conftest*
7267 ac_R_space=yes
7268 else
7269 echo "configure: failed program was:" >&5
7270 cat conftest.$ac_ext >&5
7271 rm -rf conftest*
7272 ac_R_space=no
7273 fi
7274 rm -f conftest*
7275 if test $ac_R_space = yes; then
7276 echo "$ac_t""yes" 1>&6
7277 X_LIBS="$X_LIBS -R $x_libraries"
7278 else
7279 echo "$ac_t""neither works" 1>&6
7280 fi
7281 fi
7282 LIBS="$ac_xsave_LIBS"
7283 esac
7284 fi
7285
7286 # Check for system-dependent libraries X programs must link with.
7287 # Do this before checking for the system-independent R6 libraries
7288 # (-lICE), since we may need -lsocket or whatever for X linking.
7289
7290 if test "$ISC" = yes; then
7291 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
7292 else
7293 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
7294 # libraries were built with DECnet support. And karl@cs.umb.edu says
7295 # the Alpha needs dnet_stub (dnet does not exist).
7296 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
7297 echo "configure:7298: checking for dnet_ntoa in -ldnet" >&5
7298 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
7299 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7300 echo $ac_n "(cached) $ac_c" 1>&6
7301 else
7302 ac_save_LIBS="$LIBS"
7303 LIBS="-ldnet $LIBS"
7304 cat > conftest.$ac_ext <<EOF
7305 #line 7306 "configure"
7306 #include "confdefs.h"
7307 /* Override any gcc2 internal prototype to avoid an error. */
7308 /* We use char because int might match the return type of a gcc2
7309 builtin and then its argument prototype would still apply. */
7310 char dnet_ntoa();
7311
7312 int main() {
7313 dnet_ntoa()
7314 ; return 0; }
7315 EOF
7316 if { (eval echo configure:7317: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7317 rm -rf conftest*
7318 eval "ac_cv_lib_$ac_lib_var=yes"
7319 else
7320 echo "configure: failed program was:" >&5
7321 cat conftest.$ac_ext >&5
7322 rm -rf conftest*
7323 eval "ac_cv_lib_$ac_lib_var=no"
7324 fi
7325 rm -f conftest*
7326 LIBS="$ac_save_LIBS"
7327
7328 fi
7329 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7330 echo "$ac_t""yes" 1>&6
7331 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
7332 else
7333 echo "$ac_t""no" 1>&6
7334 fi
7335
7336 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
7337 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
7338 echo "configure:7339: checking for dnet_ntoa in -ldnet_stub" >&5
7339 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
7340 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7341 echo $ac_n "(cached) $ac_c" 1>&6
7342 else
7343 ac_save_LIBS="$LIBS"
7344 LIBS="-ldnet_stub $LIBS"
7345 cat > conftest.$ac_ext <<EOF
7346 #line 7347 "configure"
7347 #include "confdefs.h"
7348 /* Override any gcc2 internal prototype to avoid an error. */
7349 /* We use char because int might match the return type of a gcc2
7350 builtin and then its argument prototype would still apply. */
7351 char dnet_ntoa();
7352
7353 int main() {
7354 dnet_ntoa()
7355 ; return 0; }
7356 EOF
7357 if { (eval echo configure:7358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7358 rm -rf conftest*
7359 eval "ac_cv_lib_$ac_lib_var=yes"
7360 else
7361 echo "configure: failed program was:" >&5
7362 cat conftest.$ac_ext >&5
7363 rm -rf conftest*
7364 eval "ac_cv_lib_$ac_lib_var=no"
7365 fi
7366 rm -f conftest*
7367 LIBS="$ac_save_LIBS"
7368
7369 fi
7370 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7371 echo "$ac_t""yes" 1>&6
7372 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
7373 else
7374 echo "$ac_t""no" 1>&6
7375 fi
7376
7377 fi
7378
7379 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
7380 # to get the SysV transport functions.
7381 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
7382 # needs -lnsl.
7383 # The nsl library prevents programs from opening the X display
7384 # on Irix 5.2, according to dickey@clark.net.
7385 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
7386 echo "configure:7387: checking for gethostbyname" >&5
7387 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
7388 echo $ac_n "(cached) $ac_c" 1>&6
7389 else
7390 cat > conftest.$ac_ext <<EOF
7391 #line 7392 "configure"
7392 #include "confdefs.h"
7393 /* System header to define __stub macros and hopefully few prototypes,
7394 which can conflict with char gethostbyname(); below. */
7395 #include <assert.h>
7396 /* Override any gcc2 internal prototype to avoid an error. */
7397 /* We use char because int might match the return type of a gcc2
7398 builtin and then its argument prototype would still apply. */
7399 char gethostbyname();
7400
7401 int main() {
7402
7403 /* The GNU C library defines this for functions which it implements
7404 to always fail with ENOSYS. Some functions are actually named
7405 something starting with __ and the normal name is an alias. */
7406 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
7407 choke me
7408 #else
7409 gethostbyname();
7410 #endif
7411
7412 ; return 0; }
7413 EOF
7414 if { (eval echo configure:7415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7415 rm -rf conftest*
7416 eval "ac_cv_func_gethostbyname=yes"
7417 else
7418 echo "configure: failed program was:" >&5
7419 cat conftest.$ac_ext >&5
7420 rm -rf conftest*
7421 eval "ac_cv_func_gethostbyname=no"
7422 fi
7423 rm -f conftest*
7424 fi
7425
7426 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
7427 echo "$ac_t""yes" 1>&6
7428 :
7429 else
7430 echo "$ac_t""no" 1>&6
7431 fi
7432
7433 if test $ac_cv_func_gethostbyname = no; then
7434 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
7435 echo "configure:7436: checking for gethostbyname in -lnsl" >&5
7436 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
7437 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7438 echo $ac_n "(cached) $ac_c" 1>&6
7439 else
7440 ac_save_LIBS="$LIBS"
7441 LIBS="-lnsl $LIBS"
7442 cat > conftest.$ac_ext <<EOF
7443 #line 7444 "configure"
7444 #include "confdefs.h"
7445 /* Override any gcc2 internal prototype to avoid an error. */
7446 /* We use char because int might match the return type of a gcc2
7447 builtin and then its argument prototype would still apply. */
7448 char gethostbyname();
7449
7450 int main() {
7451 gethostbyname()
7452 ; return 0; }
7453 EOF
7454 if { (eval echo configure:7455: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7455 rm -rf conftest*
7456 eval "ac_cv_lib_$ac_lib_var=yes"
7457 else
7458 echo "configure: failed program was:" >&5
7459 cat conftest.$ac_ext >&5
7460 rm -rf conftest*
7461 eval "ac_cv_lib_$ac_lib_var=no"
7462 fi
7463 rm -f conftest*
7464 LIBS="$ac_save_LIBS"
7465
7466 fi
7467 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7468 echo "$ac_t""yes" 1>&6
7469 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
7470 else
7471 echo "$ac_t""no" 1>&6
7472 fi
7473
7474 fi
7475
7476 # lieder@skyler.mavd.honeywell.com says without -lsocket,
7477 # socket/setsockopt and other routines are undefined under SCO ODT
7478 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
7479 # on later versions), says simon@lia.di.epfl.ch: it contains
7480 # gethostby* variants that don't use the nameserver (or something).
7481 # -lsocket must be given before -lnsl if both are needed.
7482 # We assume that if connect needs -lnsl, so does gethostbyname.
7483 echo $ac_n "checking for connect""... $ac_c" 1>&6
7484 echo "configure:7485: checking for connect" >&5
7485 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
7486 echo $ac_n "(cached) $ac_c" 1>&6
7487 else
7488 cat > conftest.$ac_ext <<EOF
7489 #line 7490 "configure"
7490 #include "confdefs.h"
7491 /* System header to define __stub macros and hopefully few prototypes,
7492 which can conflict with char connect(); below. */
7493 #include <assert.h>
7494 /* Override any gcc2 internal prototype to avoid an error. */
7495 /* We use char because int might match the return type of a gcc2
7496 builtin and then its argument prototype would still apply. */
7497 char connect();
7498
7499 int main() {
7500
7501 /* The GNU C library defines this for functions which it implements
7502 to always fail with ENOSYS. Some functions are actually named
7503 something starting with __ and the normal name is an alias. */
7504 #if defined (__stub_connect) || defined (__stub___connect)
7505 choke me
7506 #else
7507 connect();
7508 #endif
7509
7510 ; return 0; }
7511 EOF
7512 if { (eval echo configure:7513: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7513 rm -rf conftest*
7514 eval "ac_cv_func_connect=yes"
7515 else
7516 echo "configure: failed program was:" >&5
7517 cat conftest.$ac_ext >&5
7518 rm -rf conftest*
7519 eval "ac_cv_func_connect=no"
7520 fi
7521 rm -f conftest*
7522 fi
7523
7524 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
7525 echo "$ac_t""yes" 1>&6
7526 :
7527 else
7528 echo "$ac_t""no" 1>&6
7529 fi
7530
7531 if test $ac_cv_func_connect = no; then
7532 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
7533 echo "configure:7534: checking for connect in -lsocket" >&5
7534 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'`
7535 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7536 echo $ac_n "(cached) $ac_c" 1>&6
7537 else
7538 ac_save_LIBS="$LIBS"
7539 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
7540 cat > conftest.$ac_ext <<EOF
7541 #line 7542 "configure"
7542 #include "confdefs.h"
7543 /* Override any gcc2 internal prototype to avoid an error. */
7544 /* We use char because int might match the return type of a gcc2
7545 builtin and then its argument prototype would still apply. */
7546 char connect();
7547
7548 int main() {
7549 connect()
7550 ; return 0; }
7551 EOF
7552 if { (eval echo configure:7553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7553 rm -rf conftest*
7554 eval "ac_cv_lib_$ac_lib_var=yes"
7555 else
7556 echo "configure: failed program was:" >&5
7557 cat conftest.$ac_ext >&5
7558 rm -rf conftest*
7559 eval "ac_cv_lib_$ac_lib_var=no"
7560 fi
7561 rm -f conftest*
7562 LIBS="$ac_save_LIBS"
7563
7564 fi
7565 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7566 echo "$ac_t""yes" 1>&6
7567 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
7568 else
7569 echo "$ac_t""no" 1>&6
7570 fi
7571
7572 fi
7573
7574 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
7575 echo $ac_n "checking for remove""... $ac_c" 1>&6
7576 echo "configure:7577: checking for remove" >&5
7577 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
7578 echo $ac_n "(cached) $ac_c" 1>&6
7579 else
7580 cat > conftest.$ac_ext <<EOF
7581 #line 7582 "configure"
7582 #include "confdefs.h"
7583 /* System header to define __stub macros and hopefully few prototypes,
7584 which can conflict with char remove(); below. */
7585 #include <assert.h>
7586 /* Override any gcc2 internal prototype to avoid an error. */
7587 /* We use char because int might match the return type of a gcc2
7588 builtin and then its argument prototype would still apply. */
7589 char remove();
7590
7591 int main() {
7592
7593 /* The GNU C library defines this for functions which it implements
7594 to always fail with ENOSYS. Some functions are actually named
7595 something starting with __ and the normal name is an alias. */
7596 #if defined (__stub_remove) || defined (__stub___remove)
7597 choke me
7598 #else
7599 remove();
7600 #endif
7601
7602 ; return 0; }
7603 EOF
7604 if { (eval echo configure:7605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7605 rm -rf conftest*
7606 eval "ac_cv_func_remove=yes"
7607 else
7608 echo "configure: failed program was:" >&5
7609 cat conftest.$ac_ext >&5
7610 rm -rf conftest*
7611 eval "ac_cv_func_remove=no"
7612 fi
7613 rm -f conftest*
7614 fi
7615
7616 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
7617 echo "$ac_t""yes" 1>&6
7618 :
7619 else
7620 echo "$ac_t""no" 1>&6
7621 fi
7622
7623 if test $ac_cv_func_remove = no; then
7624 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
7625 echo "configure:7626: checking for remove in -lposix" >&5
7626 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'`
7627 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7628 echo $ac_n "(cached) $ac_c" 1>&6
7629 else
7630 ac_save_LIBS="$LIBS"
7631 LIBS="-lposix $LIBS"
7632 cat > conftest.$ac_ext <<EOF
7633 #line 7634 "configure"
7634 #include "confdefs.h"
7635 /* Override any gcc2 internal prototype to avoid an error. */
7636 /* We use char because int might match the return type of a gcc2
7637 builtin and then its argument prototype would still apply. */
7638 char remove();
7639
7640 int main() {
7641 remove()
7642 ; return 0; }
7643 EOF
7644 if { (eval echo configure:7645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7645 rm -rf conftest*
7646 eval "ac_cv_lib_$ac_lib_var=yes"
7647 else
7648 echo "configure: failed program was:" >&5
7649 cat conftest.$ac_ext >&5
7650 rm -rf conftest*
7651 eval "ac_cv_lib_$ac_lib_var=no"
7652 fi
7653 rm -f conftest*
7654 LIBS="$ac_save_LIBS"
7655
7656 fi
7657 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7658 echo "$ac_t""yes" 1>&6
7659 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
7660 else
7661 echo "$ac_t""no" 1>&6
7662 fi
7663
7664 fi
7665
7666 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
7667 echo $ac_n "checking for shmat""... $ac_c" 1>&6
7668 echo "configure:7669: checking for shmat" >&5
7669 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
7670 echo $ac_n "(cached) $ac_c" 1>&6
7671 else
7672 cat > conftest.$ac_ext <<EOF
7673 #line 7674 "configure"
7674 #include "confdefs.h"
7675 /* System header to define __stub macros and hopefully few prototypes,
7676 which can conflict with char shmat(); below. */
7677 #include <assert.h>
7678 /* Override any gcc2 internal prototype to avoid an error. */
7679 /* We use char because int might match the return type of a gcc2
7680 builtin and then its argument prototype would still apply. */
7681 char shmat();
7682
7683 int main() {
7684
7685 /* The GNU C library defines this for functions which it implements
7686 to always fail with ENOSYS. Some functions are actually named
7687 something starting with __ and the normal name is an alias. */
7688 #if defined (__stub_shmat) || defined (__stub___shmat)
7689 choke me
7690 #else
7691 shmat();
7692 #endif
7693
7694 ; return 0; }
7695 EOF
7696 if { (eval echo configure:7697: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7697 rm -rf conftest*
7698 eval "ac_cv_func_shmat=yes"
7699 else
7700 echo "configure: failed program was:" >&5
7701 cat conftest.$ac_ext >&5
7702 rm -rf conftest*
7703 eval "ac_cv_func_shmat=no"
7704 fi
7705 rm -f conftest*
7706 fi
7707
7708 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
7709 echo "$ac_t""yes" 1>&6
7710 :
7711 else
7712 echo "$ac_t""no" 1>&6
7713 fi
7714
7715 if test $ac_cv_func_shmat = no; then
7716 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
7717 echo "configure:7718: checking for shmat in -lipc" >&5
7718 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
7719 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7720 echo $ac_n "(cached) $ac_c" 1>&6
7721 else
7722 ac_save_LIBS="$LIBS"
7723 LIBS="-lipc $LIBS"
7724 cat > conftest.$ac_ext <<EOF
7725 #line 7726 "configure"
7726 #include "confdefs.h"
7727 /* Override any gcc2 internal prototype to avoid an error. */
7728 /* We use char because int might match the return type of a gcc2
7729 builtin and then its argument prototype would still apply. */
7730 char shmat();
7731
7732 int main() {
7733 shmat()
7734 ; return 0; }
7735 EOF
7736 if { (eval echo configure:7737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7737 rm -rf conftest*
7738 eval "ac_cv_lib_$ac_lib_var=yes"
7739 else
7740 echo "configure: failed program was:" >&5
7741 cat conftest.$ac_ext >&5
7742 rm -rf conftest*
7743 eval "ac_cv_lib_$ac_lib_var=no"
7744 fi
7745 rm -f conftest*
7746 LIBS="$ac_save_LIBS"
7747
7748 fi
7749 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7750 echo "$ac_t""yes" 1>&6
7751 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
7752 else
7753 echo "$ac_t""no" 1>&6
7754 fi
7755
7756 fi
7757 fi
7758
7759 # Check for libraries that X11R6 Xt/Xaw programs need.
7760 ac_save_LDFLAGS="$LDFLAGS"
7761 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
7762 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
7763 # check for ICE first), but we must link in the order -lSM -lICE or
7764 # we get undefined symbols. So assume we have SM if we have ICE.
7765 # These have to be linked with before -lX11, unlike the other
7766 # libraries we check for below, so use a different variable.
7767 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
7768 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
7769 echo "configure:7770: checking for IceConnectionNumber in -lICE" >&5
7770 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
7771 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7772 echo $ac_n "(cached) $ac_c" 1>&6
7773 else
7774 ac_save_LIBS="$LIBS"
7775 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
7776 cat > conftest.$ac_ext <<EOF
7777 #line 7778 "configure"
7778 #include "confdefs.h"
7779 /* Override any gcc2 internal prototype to avoid an error. */
7780 /* We use char because int might match the return type of a gcc2
7781 builtin and then its argument prototype would still apply. */
7782 char IceConnectionNumber();
7783
7784 int main() {
7785 IceConnectionNumber()
7786 ; return 0; }
7787 EOF
7788 if { (eval echo configure:7789: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7789 rm -rf conftest*
7790 eval "ac_cv_lib_$ac_lib_var=yes"
7791 else
7792 echo "configure: failed program was:" >&5
7793 cat conftest.$ac_ext >&5
7794 rm -rf conftest*
7795 eval "ac_cv_lib_$ac_lib_var=no"
7796 fi
7797 rm -f conftest*
7798 LIBS="$ac_save_LIBS"
7799
7800 fi
7801 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7802 echo "$ac_t""yes" 1>&6
7803 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
7804 else
7805 echo "$ac_t""no" 1>&6
7806 fi
7807
7808 LDFLAGS="$ac_save_LDFLAGS"
7809
7810 fi
7811
7812
7813 if test "$no_x" = "yes"; then
7814 { echo "configure: error: X11 libraries not found" 1>&2; exit 1; }
7815 fi
7816
7817 TOOLKIT_INCLUDE="$X_CFLAGS"
7818 GUI_TK_LIBRARY="$X_LIBS"
7819
7820 echo $ac_n "checking for Motif/Lesstif includes""... $ac_c" 1>&6
7821 echo "configure:7822: checking for Motif/Lesstif includes" >&5
7822
7823 ac_find_includes=
7824 for ac_dir in $SEARCH_INCLUDE;
7825 do
7826 if test -f "$ac_dir/Xm/Xm.h"; then
7827 ac_find_includes=$ac_dir
7828 break
7829 fi
7830 done
7831
7832 if test "$ac_find_includes" != "" ; then
7833 echo "$ac_t""found $ac_find_includes" 1>&6
7834 else
7835 echo "$ac_t""no" 1>&6
7836 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
7837 fi
7838
7839 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
7840 echo "configure:7841: checking for Motif/Lesstif library" >&5
7841
7842 ac_find_libraries=
7843 for ac_dir in $SEARCH_LIB;
7844 do
7845 for ac_extension in a so sl; do
7846 if test -f "$ac_dir/libXm.$ac_extension"; then
7847 ac_find_libraries=$ac_dir
7848 break 2
7849 fi
7850 done
7851 done
7852
7853 if test "$ac_find_libraries" != "" ; then
7854
7855 ac_path_to_include=$ac_find_includes
7856 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
7857 result=$?
7858 if test $result = 0; then
7859 ac_path_to_include=""
7860 else
7861 ac_path_to_include="-I$ac_find_includes"
7862 fi
7863
7864
7865 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
7866 result=$?
7867 if test $result = 0; then
7868 ac_path_to_link=""
7869 else
7870 ac_path_to_link="-L$ac_find_libraries"
7871 fi
7872
7873
7874 CHECK_LINK="$GUI_TK_LIBRARY $ac_path_to_link"
7875 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE $ac_path_to_include"
7876 echo "$ac_t""found at $ac_find_libraries" 1>&6
7877 else
7878 echo "$ac_t""no" 1>&6
7879 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
7880 fi
7881
7882 echo $ac_n "checking for Xt library""... $ac_c" 1>&6
7883 echo "configure:7884: checking for Xt library" >&5
7884
7885 ac_find_libraries=
7886 for ac_dir in $SEARCH_LIB;
7887 do
7888 for ac_extension in a so sl; do
7889 if test -f "$ac_dir/libXt.$ac_extension"; then
7890 ac_find_libraries=$ac_dir
7891 break 2
7892 fi
7893 done
7894 done
7895
7896 if test "$ac_find_libraries" != "" ; then
7897
7898 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
7899 result=$?
7900 if test $result = 0; then
7901 ac_path_to_link=""
7902 else
7903 ac_path_to_link="-L$ac_find_libraries"
7904 fi
7905
7906 CHECK_LINK="$GUI_TK_LIBRARY $ac_path_to_link"
7907 echo "$ac_t""found at $ac_find_libraries" 1>&6
7908 else
7909 echo "$ac_t""no" 1>&6
7910 { echo "configure: error: please set LDFLAGS to contain the location of libXt" 1>&2; exit 1; }
7911 fi
7912
7913 XPM_LINK=""
7914 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
7915 echo "configure:7916: checking for Xpm library" >&5
7916
7917 ac_find_libraries=
7918 for ac_dir in $SEARCH_LIB;
7919 do
7920 for ac_extension in a so sl; do
7921 if test -f "$ac_dir/libXpm.$ac_extension"; then
7922 ac_find_libraries=$ac_dir
7923 break 2
7924 fi
7925 done
7926 done
7927
7928 if test "$ac_find_libraries" != "" ; then
7929
7930 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
7931 result=$?
7932 if test $result = 0; then
7933 ac_path_to_link=""
7934 else
7935 ac_path_to_link="-L$ac_find_libraries"
7936 fi
7937
7938 CHECK_LINK="$GUI_TK_LIBRARY $ac_path_to_link"
7939 XPM_LINK="-lXpm "
7940 cat >> confdefs.h <<\EOF
7941 #define wxHAVE_LIB_XPM 1
7942 EOF
7943
7944 echo "$ac_t""found at $ac_find_libraries" 1>&6
7945 else
7946 echo "$ac_t""no" 1>&6
7947 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
7948 fi
7949
7950 GUI_TK_LINK="-lXm $XPM_LINK -lXmu -lXt -lX11 -lm"
7951 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $GUI_TK_LINK"
7952 TOOLKIT=MOTIF
7953
7954 GUIHEADERS="\$(MOTIF_HEADERS)"
7955 GUIOBJS="\$(MOTIF_GUIOBJS)"
7956 COMMONOBJS="\$(MOTIF_COMMONOBJS)"
7957 GENERICOBJS="\$(MOTIF_GENERICOBJS)"
7958 GUIDEPS="\$(MOTIF_GUIDEPS)"
7959 COMMONDEPS="\$(MOTIF_COMMONDEPS)"
7960 GENERICDEPS="\$(MOTIF_GENERICDEPS)"
7961 UNIXOBJS="\$(UNIX_OBJS)"
7962 GUIDIST=MOTIF_DIST
7963 fi
7964
7965 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "A-Z" "a-z"`
7966
7967 TOOLKIT_DEF="-D__WX${TOOLKIT}__"
7968
7969 WX_LIBRARY="wx_${TOOLKIT_DIR}"
7970
7971 ALL_OBJECTS="\$(GUIOBJS) \$(COMMONOBJS) \$(GENERICOBJS) \$(UNIXOBJS) \$(HTMLOBJS) \$(JPEGOBJS) \$(PNGOBJS) \$(ZLIBOBJS) \$(IODBCOBJS)"
7972 ALL_DEPFILES="\$(GUIDEPS) \$(COMMONDEPS) \$(GENERICDEPS) \$(UNIXDEPS) \$(HTMLDEPS)"
7973 ALL_HEADERS="\$(GUIHEADERS) \$(HTML_HEADERS) \$(UNIX_HEADERS) \$(PROTOCOL_HEADERS) \$(GENERIC_HEADERS) \$(WX_HEADERS)"
7974 else
7975
7976 ALL_OBJECTS="\$(BASE_OBJS)"
7977 ALL_DEPFILES="\${BASE_DEPS}"
7978 ALL_HEADERS="\${BASE_HEADERS}"
7979
7980 WX_LIBRARY="wxbase"
7981 fi
7982
7983 WX_LIBRARY_NAME="lib${WX_LIBRARY}.la"
7984
7985 WX_LIBRARY_NAME_STATIC="lib${WX_LIBRARY}.a"
7986
7987 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
7988
7989 WX_LIBRARY_LINK1="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}"
7990 WX_LIBRARY_LINK2="lib${WX_LIBRARY}-${WX_RELEASE}.so"
7991 WX_LIBRARY_LINK3="lib${WX_LIBRARY}.so"
7992
7993 SHARED_LD=
7994 PIC_FLAG=
7995 WX_ALL=
7996 WX_ALL_INSTALLED=
7997
7998 if test "$wxUSE_SHARED" = "yes"; then
7999 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_SHARED}"
8000
8001 case "${host}" in
8002 *-hp-hpux* )
8003 WX_LIBRARY_NAME_SHARED="libwx_${TOOLKIT_DIR}.sl"
8004 SHARED_LD="${CXX} -b -o"
8005 PIC_FLAG="+Z"
8006 WX_ALL=${WX_LIBRARY_NAME_SHARED}
8007 ;;
8008 *-*-linux* )
8009 SHARED_LD="${CC} -shared -o"
8010 PIC_FLAG="-fPIC"
8011 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS"
8012 WX_ALL="CREATE_LINKS"
8013 ;;
8014 *-*-irix5* | *-*-irix6* )
8015 if test "$GCC" = yes ; then
8016 SHARED_LD="${CC} -shared -o"
8017 PIC_FLAG="-fPIC"
8018 else
8019 SHARED_LD="${CXX} -shared -o"
8020 fi
8021 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS"
8022 WX_ALL="CREATE_LINKS"
8023 ;;
8024 *-*-solaris2* )
8025 if test "$GCC" = yes ; then
8026 SHARED_LD="${CC} -shared -o"
8027 PIC_FLAG="-fPIC"
8028 else
8029 SHARED_LD="${CXX} -G -o"
8030 PIC_FLAG="PIC"
8031 fi
8032 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS"
8033 WX_ALL="CREATE_LINKS"
8034 ;;
8035 *-*-sunos4* )
8036 SHARED_LD="${CC} -shared -o"
8037 PIC_FLAG="-fPIC"
8038 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS"
8039 WX_ALL="CREATE_LINKS"
8040 ;;
8041 *-*-freebsd* | *-*-netbsd*)
8042 SHARED_LD="${CC} -shared -o"
8043 PIC_FLAG="-fPIC"
8044 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS"
8045 WX_ALL="CREATE_LINKS"
8046 ;;
8047 *-*-osf* )
8048 SHARED_LD="${CXX} -shared -o"
8049 PIC_FLAG="-fPIC"
8050 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS"
8051 WX_ALL="CREATE_LINKS"
8052 ;;
8053 *-*-dgux5* )
8054 SHARED_LD="${CXX} -shared -o"
8055 PIC_FLAG="-fPIC"
8056 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS"
8057 WX_ALL="CREATE_LINKS"
8058 ;;
8059 *-*-sysv5* )
8060 SHARED_LD="${CC} -shared -o"
8061 PIC_FLAG="-fPIC"
8062 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS"
8063 WX_ALL="CREATE_LINKS"
8064 ;;
8065 *-*-aix* )
8066 SHARED_LD="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
8067 WX_ALL=${WX_LIBRARY_NAME_SHARED}
8068 ;;
8069 *-*-cygwin32* )
8070 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"
8071 WX_ALL="${WX_LIBRARY_NAME_STATIC}"
8072 ;;
8073 *-*-mingw32* )
8074 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"
8075 WX_ALL="${WX_LIBRARY_NAME_STATIC}"
8076 ;;
8077 *-pc-os2_emx )
8078 ;;
8079 *)
8080 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
8081 esac
8082
8083 else
8084 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"
8085 WX_ALL="${WX_LIBRARY_NAME_STATIC}"
8086 fi
8087
8088
8089 for ac_hdr in strings.h
8090 do
8091 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8092 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8093 echo "configure:8094: checking for $ac_hdr" >&5
8094 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8095 echo $ac_n "(cached) $ac_c" 1>&6
8096 else
8097 cat > conftest.$ac_ext <<EOF
8098 #line 8099 "configure"
8099 #include "confdefs.h"
8100 #include <$ac_hdr>
8101 EOF
8102 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8103 { (eval echo configure:8104: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8104 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8105 if test -z "$ac_err"; then
8106 rm -rf conftest*
8107 eval "ac_cv_header_$ac_safe=yes"
8108 else
8109 echo "$ac_err" >&5
8110 echo "configure: failed program was:" >&5
8111 cat conftest.$ac_ext >&5
8112 rm -rf conftest*
8113 eval "ac_cv_header_$ac_safe=no"
8114 fi
8115 rm -f conftest*
8116 fi
8117 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8118 echo "$ac_t""yes" 1>&6
8119 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8120 cat >> confdefs.h <<EOF
8121 #define $ac_tr_hdr 1
8122 EOF
8123
8124 else
8125 echo "$ac_t""no" 1>&6
8126 fi
8127 done
8128
8129 for ac_hdr in unistd.h
8130 do
8131 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8132 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8133 echo "configure:8134: checking for $ac_hdr" >&5
8134 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8135 echo $ac_n "(cached) $ac_c" 1>&6
8136 else
8137 cat > conftest.$ac_ext <<EOF
8138 #line 8139 "configure"
8139 #include "confdefs.h"
8140 #include <$ac_hdr>
8141 EOF
8142 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8143 { (eval echo configure:8144: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8144 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8145 if test -z "$ac_err"; then
8146 rm -rf conftest*
8147 eval "ac_cv_header_$ac_safe=yes"
8148 else
8149 echo "$ac_err" >&5
8150 echo "configure: failed program was:" >&5
8151 cat conftest.$ac_ext >&5
8152 rm -rf conftest*
8153 eval "ac_cv_header_$ac_safe=no"
8154 fi
8155 rm -f conftest*
8156 fi
8157 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8158 echo "$ac_t""yes" 1>&6
8159 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8160 cat >> confdefs.h <<EOF
8161 #define $ac_tr_hdr 1
8162 EOF
8163
8164 else
8165 echo "$ac_t""no" 1>&6
8166 fi
8167 done
8168
8169 for ac_hdr in wchar.h
8170 do
8171 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8172 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8173 echo "configure:8174: checking for $ac_hdr" >&5
8174 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8175 echo $ac_n "(cached) $ac_c" 1>&6
8176 else
8177 cat > conftest.$ac_ext <<EOF
8178 #line 8179 "configure"
8179 #include "confdefs.h"
8180 #include <$ac_hdr>
8181 EOF
8182 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8183 { (eval echo configure:8184: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8184 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8185 if test -z "$ac_err"; then
8186 rm -rf conftest*
8187 eval "ac_cv_header_$ac_safe=yes"
8188 else
8189 echo "$ac_err" >&5
8190 echo "configure: failed program was:" >&5
8191 cat conftest.$ac_ext >&5
8192 rm -rf conftest*
8193 eval "ac_cv_header_$ac_safe=no"
8194 fi
8195 rm -f conftest*
8196 fi
8197 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8198 echo "$ac_t""yes" 1>&6
8199 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8200 cat >> confdefs.h <<EOF
8201 #define $ac_tr_hdr 1
8202 EOF
8203
8204 else
8205 echo "$ac_t""no" 1>&6
8206 fi
8207 done
8208
8209 for ac_hdr in wcstr.h
8210 do
8211 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8212 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8213 echo "configure:8214: checking for $ac_hdr" >&5
8214 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8215 echo $ac_n "(cached) $ac_c" 1>&6
8216 else
8217 cat > conftest.$ac_ext <<EOF
8218 #line 8219 "configure"
8219 #include "confdefs.h"
8220 #include <$ac_hdr>
8221 EOF
8222 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8223 { (eval echo configure:8224: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8224 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8225 if test -z "$ac_err"; then
8226 rm -rf conftest*
8227 eval "ac_cv_header_$ac_safe=yes"
8228 else
8229 echo "$ac_err" >&5
8230 echo "configure: failed program was:" >&5
8231 cat conftest.$ac_ext >&5
8232 rm -rf conftest*
8233 eval "ac_cv_header_$ac_safe=no"
8234 fi
8235 rm -f conftest*
8236 fi
8237 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8238 echo "$ac_t""yes" 1>&6
8239 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8240 cat >> confdefs.h <<EOF
8241 #define $ac_tr_hdr 1
8242 EOF
8243
8244 else
8245 echo "$ac_t""no" 1>&6
8246 fi
8247 done
8248
8249 for ac_hdr in fnmatch.h
8250 do
8251 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8252 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8253 echo "configure:8254: checking for $ac_hdr" >&5
8254 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8255 echo $ac_n "(cached) $ac_c" 1>&6
8256 else
8257 cat > conftest.$ac_ext <<EOF
8258 #line 8259 "configure"
8259 #include "confdefs.h"
8260 #include <$ac_hdr>
8261 EOF
8262 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8263 { (eval echo configure:8264: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8264 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8265 if test -z "$ac_err"; then
8266 rm -rf conftest*
8267 eval "ac_cv_header_$ac_safe=yes"
8268 else
8269 echo "$ac_err" >&5
8270 echo "configure: failed program was:" >&5
8271 cat conftest.$ac_ext >&5
8272 rm -rf conftest*
8273 eval "ac_cv_header_$ac_safe=no"
8274 fi
8275 rm -f conftest*
8276 fi
8277 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8278 echo "$ac_t""yes" 1>&6
8279 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8280 cat >> confdefs.h <<EOF
8281 #define $ac_tr_hdr 1
8282 EOF
8283
8284 else
8285 echo "$ac_t""no" 1>&6
8286 fi
8287 done
8288
8289
8290 if test "$wxUSE_GUI" = "yes"; then
8291 for ac_hdr in X11/XKBlib.h
8292 do
8293 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8294 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8295 echo "configure:8296: checking for $ac_hdr" >&5
8296 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8297 echo $ac_n "(cached) $ac_c" 1>&6
8298 else
8299 cat > conftest.$ac_ext <<EOF
8300 #line 8301 "configure"
8301 #include "confdefs.h"
8302 #include <$ac_hdr>
8303 EOF
8304 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8305 { (eval echo configure:8306: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8306 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8307 if test -z "$ac_err"; then
8308 rm -rf conftest*
8309 eval "ac_cv_header_$ac_safe=yes"
8310 else
8311 echo "$ac_err" >&5
8312 echo "configure: failed program was:" >&5
8313 cat conftest.$ac_ext >&5
8314 rm -rf conftest*
8315 eval "ac_cv_header_$ac_safe=no"
8316 fi
8317 rm -f conftest*
8318 fi
8319 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8320 echo "$ac_t""yes" 1>&6
8321 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8322 cat >> confdefs.h <<EOF
8323 #define $ac_tr_hdr 1
8324 EOF
8325
8326 else
8327 echo "$ac_t""no" 1>&6
8328 fi
8329 done
8330
8331 fi
8332
8333
8334 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
8335 echo "configure:8336: checking for ANSI C header files" >&5
8336 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
8337 echo $ac_n "(cached) $ac_c" 1>&6
8338 else
8339 cat > conftest.$ac_ext <<EOF
8340 #line 8341 "configure"
8341 #include "confdefs.h"
8342 #include <stdlib.h>
8343 #include <stdarg.h>
8344 #include <string.h>
8345 #include <float.h>
8346 EOF
8347 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8348 { (eval echo configure:8349: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8349 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8350 if test -z "$ac_err"; then
8351 rm -rf conftest*
8352 ac_cv_header_stdc=yes
8353 else
8354 echo "$ac_err" >&5
8355 echo "configure: failed program was:" >&5
8356 cat conftest.$ac_ext >&5
8357 rm -rf conftest*
8358 ac_cv_header_stdc=no
8359 fi
8360 rm -f conftest*
8361
8362 if test $ac_cv_header_stdc = yes; then
8363 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8364 cat > conftest.$ac_ext <<EOF
8365 #line 8366 "configure"
8366 #include "confdefs.h"
8367 #include <string.h>
8368 EOF
8369 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8370 egrep "memchr" >/dev/null 2>&1; then
8371 :
8372 else
8373 rm -rf conftest*
8374 ac_cv_header_stdc=no
8375 fi
8376 rm -f conftest*
8377
8378 fi
8379
8380 if test $ac_cv_header_stdc = yes; then
8381 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8382 cat > conftest.$ac_ext <<EOF
8383 #line 8384 "configure"
8384 #include "confdefs.h"
8385 #include <stdlib.h>
8386 EOF
8387 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8388 egrep "free" >/dev/null 2>&1; then
8389 :
8390 else
8391 rm -rf conftest*
8392 ac_cv_header_stdc=no
8393 fi
8394 rm -f conftest*
8395
8396 fi
8397
8398 if test $ac_cv_header_stdc = yes; then
8399 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8400 if test "$cross_compiling" = yes; then
8401 :
8402 else
8403 cat > conftest.$ac_ext <<EOF
8404 #line 8405 "configure"
8405 #include "confdefs.h"
8406 #include <ctype.h>
8407 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8408 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8409 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8410 int main () { int i; for (i = 0; i < 256; i++)
8411 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
8412 exit (0); }
8413
8414 EOF
8415 if { (eval echo configure:8416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
8416 then
8417 :
8418 else
8419 echo "configure: failed program was:" >&5
8420 cat conftest.$ac_ext >&5
8421 rm -fr conftest*
8422 ac_cv_header_stdc=no
8423 fi
8424 rm -fr conftest*
8425 fi
8426
8427 fi
8428 fi
8429
8430 echo "$ac_t""$ac_cv_header_stdc" 1>&6
8431 if test $ac_cv_header_stdc = yes; then
8432 cat >> confdefs.h <<\EOF
8433 #define STDC_HEADERS 1
8434 EOF
8435
8436 fi
8437
8438 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
8439 echo "configure:8440: checking for mode_t" >&5
8440 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
8441 echo $ac_n "(cached) $ac_c" 1>&6
8442 else
8443 cat > conftest.$ac_ext <<EOF
8444 #line 8445 "configure"
8445 #include "confdefs.h"
8446 #include <sys/types.h>
8447 #if STDC_HEADERS
8448 #include <stdlib.h>
8449 #include <stddef.h>
8450 #endif
8451 EOF
8452 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8453 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
8454 rm -rf conftest*
8455 ac_cv_type_mode_t=yes
8456 else
8457 rm -rf conftest*
8458 ac_cv_type_mode_t=no
8459 fi
8460 rm -f conftest*
8461
8462 fi
8463 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
8464 if test $ac_cv_type_mode_t = no; then
8465 cat >> confdefs.h <<\EOF
8466 #define mode_t int
8467 EOF
8468
8469 fi
8470
8471 echo $ac_n "checking for off_t""... $ac_c" 1>&6
8472 echo "configure:8473: checking for off_t" >&5
8473 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
8474 echo $ac_n "(cached) $ac_c" 1>&6
8475 else
8476 cat > conftest.$ac_ext <<EOF
8477 #line 8478 "configure"
8478 #include "confdefs.h"
8479 #include <sys/types.h>
8480 #if STDC_HEADERS
8481 #include <stdlib.h>
8482 #include <stddef.h>
8483 #endif
8484 EOF
8485 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8486 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
8487 rm -rf conftest*
8488 ac_cv_type_off_t=yes
8489 else
8490 rm -rf conftest*
8491 ac_cv_type_off_t=no
8492 fi
8493 rm -f conftest*
8494
8495 fi
8496 echo "$ac_t""$ac_cv_type_off_t" 1>&6
8497 if test $ac_cv_type_off_t = no; then
8498 cat >> confdefs.h <<\EOF
8499 #define off_t long
8500 EOF
8501
8502 fi
8503
8504 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
8505 echo "configure:8506: checking for pid_t" >&5
8506 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
8507 echo $ac_n "(cached) $ac_c" 1>&6
8508 else
8509 cat > conftest.$ac_ext <<EOF
8510 #line 8511 "configure"
8511 #include "confdefs.h"
8512 #include <sys/types.h>
8513 #if STDC_HEADERS
8514 #include <stdlib.h>
8515 #include <stddef.h>
8516 #endif
8517 EOF
8518 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8519 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
8520 rm -rf conftest*
8521 ac_cv_type_pid_t=yes
8522 else
8523 rm -rf conftest*
8524 ac_cv_type_pid_t=no
8525 fi
8526 rm -f conftest*
8527
8528 fi
8529 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
8530 if test $ac_cv_type_pid_t = no; then
8531 cat >> confdefs.h <<\EOF
8532 #define pid_t int
8533 EOF
8534
8535 fi
8536
8537 echo $ac_n "checking for size_t""... $ac_c" 1>&6
8538 echo "configure:8539: checking for size_t" >&5
8539 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
8540 echo $ac_n "(cached) $ac_c" 1>&6
8541 else
8542 cat > conftest.$ac_ext <<EOF
8543 #line 8544 "configure"
8544 #include "confdefs.h"
8545 #include <sys/types.h>
8546 #if STDC_HEADERS
8547 #include <stdlib.h>
8548 #include <stddef.h>
8549 #endif
8550 EOF
8551 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8552 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
8553 rm -rf conftest*
8554 ac_cv_type_size_t=yes
8555 else
8556 rm -rf conftest*
8557 ac_cv_type_size_t=no
8558 fi
8559 rm -f conftest*
8560
8561 fi
8562 echo "$ac_t""$ac_cv_type_size_t" 1>&6
8563 if test $ac_cv_type_size_t = no; then
8564 cat >> confdefs.h <<\EOF
8565 #define size_t unsigned
8566 EOF
8567
8568 fi
8569
8570 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
8571 echo "configure:8572: checking for uid_t in sys/types.h" >&5
8572 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
8573 echo $ac_n "(cached) $ac_c" 1>&6
8574 else
8575 cat > conftest.$ac_ext <<EOF
8576 #line 8577 "configure"
8577 #include "confdefs.h"
8578 #include <sys/types.h>
8579 EOF
8580 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8581 egrep "uid_t" >/dev/null 2>&1; then
8582 rm -rf conftest*
8583 ac_cv_type_uid_t=yes
8584 else
8585 rm -rf conftest*
8586 ac_cv_type_uid_t=no
8587 fi
8588 rm -f conftest*
8589
8590 fi
8591
8592 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
8593 if test $ac_cv_type_uid_t = no; then
8594 cat >> confdefs.h <<\EOF
8595 #define uid_t int
8596 EOF
8597
8598 cat >> confdefs.h <<\EOF
8599 #define gid_t int
8600 EOF
8601
8602 fi
8603
8604
8605
8606
8607 echo $ac_n "checking for working const""... $ac_c" 1>&6
8608 echo "configure:8609: checking for working const" >&5
8609 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
8610 echo $ac_n "(cached) $ac_c" 1>&6
8611 else
8612 cat > conftest.$ac_ext <<EOF
8613 #line 8614 "configure"
8614 #include "confdefs.h"
8615
8616 int main() {
8617
8618 /* Ultrix mips cc rejects this. */
8619 typedef int charset[2]; const charset x;
8620 /* SunOS 4.1.1 cc rejects this. */
8621 char const *const *ccp;
8622 char **p;
8623 /* NEC SVR4.0.2 mips cc rejects this. */
8624 struct point {int x, y;};
8625 static struct point const zero = {0,0};
8626 /* AIX XL C 1.02.0.0 rejects this.
8627 It does not let you subtract one const X* pointer from another in an arm
8628 of an if-expression whose if-part is not a constant expression */
8629 const char *g = "string";
8630 ccp = &g + (g ? g-g : 0);
8631 /* HPUX 7.0 cc rejects these. */
8632 ++ccp;
8633 p = (char**) ccp;
8634 ccp = (char const *const *) p;
8635 { /* SCO 3.2v4 cc rejects this. */
8636 char *t;
8637 char const *s = 0 ? (char *) 0 : (char const *) 0;
8638
8639 *t++ = 0;
8640 }
8641 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
8642 int x[] = {25, 17};
8643 const int *foo = &x[0];
8644 ++foo;
8645 }
8646 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
8647 typedef const int *iptr;
8648 iptr p = 0;
8649 ++p;
8650 }
8651 { /* AIX XL C 1.02.0.0 rejects this saying
8652 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
8653 struct s { int j; const int *ap[3]; };
8654 struct s *b; b->j = 5;
8655 }
8656 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
8657 const int foo = 10;
8658 }
8659
8660 ; return 0; }
8661 EOF
8662 if { (eval echo configure:8663: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8663 rm -rf conftest*
8664 ac_cv_c_const=yes
8665 else
8666 echo "configure: failed program was:" >&5
8667 cat conftest.$ac_ext >&5
8668 rm -rf conftest*
8669 ac_cv_c_const=no
8670 fi
8671 rm -f conftest*
8672 fi
8673
8674 echo "$ac_t""$ac_cv_c_const" 1>&6
8675 if test $ac_cv_c_const = no; then
8676 cat >> confdefs.h <<\EOF
8677 #define const
8678 EOF
8679
8680 fi
8681
8682 echo $ac_n "checking for inline""... $ac_c" 1>&6
8683 echo "configure:8684: checking for inline" >&5
8684 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
8685 echo $ac_n "(cached) $ac_c" 1>&6
8686 else
8687 ac_cv_c_inline=no
8688 for ac_kw in inline __inline__ __inline; do
8689 cat > conftest.$ac_ext <<EOF
8690 #line 8691 "configure"
8691 #include "confdefs.h"
8692
8693 int main() {
8694 } $ac_kw foo() {
8695 ; return 0; }
8696 EOF
8697 if { (eval echo configure:8698: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8698 rm -rf conftest*
8699 ac_cv_c_inline=$ac_kw; break
8700 else
8701 echo "configure: failed program was:" >&5
8702 cat conftest.$ac_ext >&5
8703 fi
8704 rm -f conftest*
8705 done
8706
8707 fi
8708
8709 echo "$ac_t""$ac_cv_c_inline" 1>&6
8710 case "$ac_cv_c_inline" in
8711 inline | yes) ;;
8712 no) cat >> confdefs.h <<\EOF
8713 #define inline
8714 EOF
8715 ;;
8716 *) cat >> confdefs.h <<EOF
8717 #define inline $ac_cv_c_inline
8718 EOF
8719 ;;
8720 esac
8721
8722
8723 echo $ac_n "checking size of char""... $ac_c" 1>&6
8724 echo "configure:8725: checking size of char" >&5
8725 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
8726 echo $ac_n "(cached) $ac_c" 1>&6
8727 else
8728 if test "$cross_compiling" = yes; then
8729 ac_cv_sizeof_char=1
8730 else
8731 cat > conftest.$ac_ext <<EOF
8732 #line 8733 "configure"
8733 #include "confdefs.h"
8734 #include <stdio.h>
8735 main()
8736 {
8737 FILE *f=fopen("conftestval", "w");
8738 if (!f) exit(1);
8739 fprintf(f, "%d\n", sizeof(char));
8740 exit(0);
8741 }
8742 EOF
8743 if { (eval echo configure:8744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
8744 then
8745 ac_cv_sizeof_char=`cat conftestval`
8746 else
8747 echo "configure: failed program was:" >&5
8748 cat conftest.$ac_ext >&5
8749 rm -fr conftest*
8750 ac_cv_sizeof_char=0
8751 fi
8752 rm -fr conftest*
8753 fi
8754
8755 fi
8756 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
8757 cat >> confdefs.h <<EOF
8758 #define SIZEOF_CHAR $ac_cv_sizeof_char
8759 EOF
8760
8761
8762 echo $ac_n "checking size of short""... $ac_c" 1>&6
8763 echo "configure:8764: checking size of short" >&5
8764 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
8765 echo $ac_n "(cached) $ac_c" 1>&6
8766 else
8767 if test "$cross_compiling" = yes; then
8768 ac_cv_sizeof_short=2
8769 else
8770 cat > conftest.$ac_ext <<EOF
8771 #line 8772 "configure"
8772 #include "confdefs.h"
8773 #include <stdio.h>
8774 main()
8775 {
8776 FILE *f=fopen("conftestval", "w");
8777 if (!f) exit(1);
8778 fprintf(f, "%d\n", sizeof(short));
8779 exit(0);
8780 }
8781 EOF
8782 if { (eval echo configure:8783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
8783 then
8784 ac_cv_sizeof_short=`cat conftestval`
8785 else
8786 echo "configure: failed program was:" >&5
8787 cat conftest.$ac_ext >&5
8788 rm -fr conftest*
8789 ac_cv_sizeof_short=0
8790 fi
8791 rm -fr conftest*
8792 fi
8793
8794 fi
8795 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
8796 cat >> confdefs.h <<EOF
8797 #define SIZEOF_SHORT $ac_cv_sizeof_short
8798 EOF
8799
8800
8801 echo $ac_n "checking size of int *""... $ac_c" 1>&6
8802 echo "configure:8803: checking size of int *" >&5
8803 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
8804 echo $ac_n "(cached) $ac_c" 1>&6
8805 else
8806 if test "$cross_compiling" = yes; then
8807 ac_cv_sizeof_int_p=4
8808 else
8809 cat > conftest.$ac_ext <<EOF
8810 #line 8811 "configure"
8811 #include "confdefs.h"
8812 #include <stdio.h>
8813 main()
8814 {
8815 FILE *f=fopen("conftestval", "w");
8816 if (!f) exit(1);
8817 fprintf(f, "%d\n", sizeof(int *));
8818 exit(0);
8819 }
8820 EOF
8821 if { (eval echo configure:8822: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
8822 then
8823 ac_cv_sizeof_int_p=`cat conftestval`
8824 else
8825 echo "configure: failed program was:" >&5
8826 cat conftest.$ac_ext >&5
8827 rm -fr conftest*
8828 ac_cv_sizeof_int_p=0
8829 fi
8830 rm -fr conftest*
8831 fi
8832
8833 fi
8834 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
8835 cat >> confdefs.h <<EOF
8836 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
8837 EOF
8838
8839
8840 echo $ac_n "checking size of int""... $ac_c" 1>&6
8841 echo "configure:8842: checking size of int" >&5
8842 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
8843 echo $ac_n "(cached) $ac_c" 1>&6
8844 else
8845 if test "$cross_compiling" = yes; then
8846 ac_cv_sizeof_int=4
8847 else
8848 cat > conftest.$ac_ext <<EOF
8849 #line 8850 "configure"
8850 #include "confdefs.h"
8851 #include <stdio.h>
8852 main()
8853 {
8854 FILE *f=fopen("conftestval", "w");
8855 if (!f) exit(1);
8856 fprintf(f, "%d\n", sizeof(int));
8857 exit(0);
8858 }
8859 EOF
8860 if { (eval echo configure:8861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
8861 then
8862 ac_cv_sizeof_int=`cat conftestval`
8863 else
8864 echo "configure: failed program was:" >&5
8865 cat conftest.$ac_ext >&5
8866 rm -fr conftest*
8867 ac_cv_sizeof_int=0
8868 fi
8869 rm -fr conftest*
8870 fi
8871
8872 fi
8873 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
8874 cat >> confdefs.h <<EOF
8875 #define SIZEOF_INT $ac_cv_sizeof_int
8876 EOF
8877
8878
8879 echo $ac_n "checking size of long""... $ac_c" 1>&6
8880 echo "configure:8881: checking size of long" >&5
8881 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
8882 echo $ac_n "(cached) $ac_c" 1>&6
8883 else
8884 if test "$cross_compiling" = yes; then
8885 ac_cv_sizeof_long=4
8886 else
8887 cat > conftest.$ac_ext <<EOF
8888 #line 8889 "configure"
8889 #include "confdefs.h"
8890 #include <stdio.h>
8891 main()
8892 {
8893 FILE *f=fopen("conftestval", "w");
8894 if (!f) exit(1);
8895 fprintf(f, "%d\n", sizeof(long));
8896 exit(0);
8897 }
8898 EOF
8899 if { (eval echo configure:8900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
8900 then
8901 ac_cv_sizeof_long=`cat conftestval`
8902 else
8903 echo "configure: failed program was:" >&5
8904 cat conftest.$ac_ext >&5
8905 rm -fr conftest*
8906 ac_cv_sizeof_long=0
8907 fi
8908 rm -fr conftest*
8909 fi
8910
8911 fi
8912 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
8913 cat >> confdefs.h <<EOF
8914 #define SIZEOF_LONG $ac_cv_sizeof_long
8915 EOF
8916
8917
8918 echo $ac_n "checking size of long long""... $ac_c" 1>&6
8919 echo "configure:8920: checking size of long long" >&5
8920 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
8921 echo $ac_n "(cached) $ac_c" 1>&6
8922 else
8923 if test "$cross_compiling" = yes; then
8924 ac_cv_sizeof_long_long=0
8925 else
8926 cat > conftest.$ac_ext <<EOF
8927 #line 8928 "configure"
8928 #include "confdefs.h"
8929 #include <stdio.h>
8930 main()
8931 {
8932 FILE *f=fopen("conftestval", "w");
8933 if (!f) exit(1);
8934 fprintf(f, "%d\n", sizeof(long long));
8935 exit(0);
8936 }
8937 EOF
8938 if { (eval echo configure:8939: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
8939 then
8940 ac_cv_sizeof_long_long=`cat conftestval`
8941 else
8942 echo "configure: failed program was:" >&5
8943 cat conftest.$ac_ext >&5
8944 rm -fr conftest*
8945 ac_cv_sizeof_long_long=0
8946 fi
8947 rm -fr conftest*
8948 fi
8949
8950 fi
8951 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
8952 cat >> confdefs.h <<EOF
8953 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
8954 EOF
8955
8956
8957
8958 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
8959 echo "configure:8960: checking whether byte ordering is bigendian" >&5
8960 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
8961 echo $ac_n "(cached) $ac_c" 1>&6
8962 else
8963 ac_cv_c_bigendian=unknown
8964 # See if sys/param.h defines the BYTE_ORDER macro.
8965 cat > conftest.$ac_ext <<EOF
8966 #line 8967 "configure"
8967 #include "confdefs.h"
8968 #include <sys/types.h>
8969 #include <sys/param.h>
8970 int main() {
8971
8972 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
8973 bogus endian macros
8974 #endif
8975 ; return 0; }
8976 EOF
8977 if { (eval echo configure:8978: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8978 rm -rf conftest*
8979 # It does; now see whether it defined to BIG_ENDIAN or not.
8980 cat > conftest.$ac_ext <<EOF
8981 #line 8982 "configure"
8982 #include "confdefs.h"
8983 #include <sys/types.h>
8984 #include <sys/param.h>
8985 int main() {
8986
8987 #if BYTE_ORDER != BIG_ENDIAN
8988 not big endian
8989 #endif
8990 ; return 0; }
8991 EOF
8992 if { (eval echo configure:8993: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8993 rm -rf conftest*
8994 ac_cv_c_bigendian=yes
8995 else
8996 echo "configure: failed program was:" >&5
8997 cat conftest.$ac_ext >&5
8998 rm -rf conftest*
8999 ac_cv_c_bigendian=no
9000 fi
9001 rm -f conftest*
9002 else
9003 echo "configure: failed program was:" >&5
9004 cat conftest.$ac_ext >&5
9005 fi
9006 rm -f conftest*
9007 if test $ac_cv_c_bigendian = unknown; then
9008 if test "$cross_compiling" = yes; then
9009 ac_cv_c_bigendian=unknown
9010 else
9011 cat > conftest.$ac_ext <<EOF
9012 #line 9013 "configure"
9013 #include "confdefs.h"
9014 main () {
9015 /* Are we little or big endian? From Harbison&Steele. */
9016 union
9017 {
9018 long l;
9019 char c[sizeof (long)];
9020 } u;
9021 u.l = 1;
9022 exit (u.c[sizeof (long) - 1] == 1);
9023 }
9024 EOF
9025 if { (eval echo configure:9026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
9026 then
9027 ac_cv_c_bigendian=no
9028 else
9029 echo "configure: failed program was:" >&5
9030 cat conftest.$ac_ext >&5
9031 rm -fr conftest*
9032 ac_cv_c_bigendian=yes
9033 fi
9034 rm -fr conftest*
9035 fi
9036
9037 fi
9038 fi
9039
9040 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
9041 if test $ac_cv_c_bigendian = unknown; then
9042 echo "configure: 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" 1>&2
9043 fi
9044 if test $ac_cv_c_bigendian = yes; then
9045 cat >> confdefs.h <<\EOF
9046 #define WORDS_BIGENDIAN 1
9047 EOF
9048
9049 fi
9050
9051
9052
9053 if test "$cross_compiling" = "yes"; then
9054 cat >> confdefs.h <<\EOF
9055 #define wxUSE_IOSTREAMH 1
9056 EOF
9057
9058 else
9059
9060 ac_ext=C
9061 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9062 ac_cpp='$CXXCPP $CPPFLAGS'
9063 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9064 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9065 cross_compiling=$ac_cv_prog_cxx_cross
9066
9067
9068 for ac_hdr in iostream
9069 do
9070 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9071 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9072 echo "configure:9073: checking for $ac_hdr" >&5
9073 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9074 echo $ac_n "(cached) $ac_c" 1>&6
9075 else
9076 cat > conftest.$ac_ext <<EOF
9077 #line 9078 "configure"
9078 #include "confdefs.h"
9079 #include <$ac_hdr>
9080 EOF
9081 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9082 { (eval echo configure:9083: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9083 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9084 if test -z "$ac_err"; then
9085 rm -rf conftest*
9086 eval "ac_cv_header_$ac_safe=yes"
9087 else
9088 echo "$ac_err" >&5
9089 echo "configure: failed program was:" >&5
9090 cat conftest.$ac_ext >&5
9091 rm -rf conftest*
9092 eval "ac_cv_header_$ac_safe=no"
9093 fi
9094 rm -f conftest*
9095 fi
9096 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9097 echo "$ac_t""yes" 1>&6
9098 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9099 cat >> confdefs.h <<EOF
9100 #define $ac_tr_hdr 1
9101 EOF
9102
9103 else
9104 echo "$ac_t""no" 1>&6
9105 fi
9106 done
9107
9108
9109 if test "x$HAVE_IOSTREAM" = x ; then
9110 cat >> confdefs.h <<\EOF
9111 #define wxUSE_IOSTREAMH 1
9112 EOF
9113
9114 else
9115 :
9116 fi
9117
9118 ac_ext=c
9119 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9120 ac_cpp='$CPP $CPPFLAGS'
9121 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9122 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9123 cross_compiling=$ac_cv_prog_cc_cross
9124
9125 fi
9126
9127
9128
9129 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
9130 echo "configure:9131: checking if C++ compiler supports bool" >&5
9131 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
9132 echo $ac_n "(cached) $ac_c" 1>&6
9133 else
9134
9135
9136 ac_ext=C
9137 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9138 ac_cpp='$CXXCPP $CPPFLAGS'
9139 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9140 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9141 cross_compiling=$ac_cv_prog_cxx_cross
9142
9143
9144 cat > conftest.$ac_ext <<EOF
9145 #line 9146 "configure"
9146 #include "confdefs.h"
9147
9148
9149 int main() {
9150
9151 bool b = true;
9152
9153 return 0;
9154
9155 ; return 0; }
9156 EOF
9157 if { (eval echo configure:9158: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9158 rm -rf conftest*
9159
9160 cat >> confdefs.h <<\EOF
9161 #define HAVE_BOOL 1
9162 EOF
9163
9164 wx_cv_cpp_bool=yes
9165
9166 else
9167 echo "configure: failed program was:" >&5
9168 cat conftest.$ac_ext >&5
9169 rm -rf conftest*
9170
9171 wx_cv_cpp_bool=no
9172
9173
9174 fi
9175 rm -f conftest*
9176
9177 ac_ext=c
9178 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9179 ac_cpp='$CPP $CPPFLAGS'
9180 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9181 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9182 cross_compiling=$ac_cv_prog_cc_cross
9183
9184
9185 fi
9186
9187 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
9188
9189 if test "$wx_cv_cpp_bool" = "yes"; then
9190 cat >> confdefs.h <<\EOF
9191 #define HAVE_BOOL 1
9192 EOF
9193
9194 fi
9195
9196
9197
9198 echo $ac_n "checking if size_t and int are different types""... $ac_c" 1>&6
9199 echo "configure:9200: checking if size_t and int are different types" >&5
9200 if eval "test \"`echo '$''{'wx_cv_cpp_sizet_not_int'+set}'`\" = set"; then
9201 echo $ac_n "(cached) $ac_c" 1>&6
9202 else
9203
9204
9205 ac_ext=C
9206 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9207 ac_cpp='$CXXCPP $CPPFLAGS'
9208 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9209 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9210 cross_compiling=$ac_cv_prog_cxx_cross
9211
9212
9213 if test "$cross_compiling" = yes; then
9214 wx_cv_cpp_sizet_not_int=no
9215
9216 else
9217 cat > conftest.$ac_ext <<EOF
9218 #line 9219 "configure"
9219 #include "confdefs.h"
9220 #ifdef __cplusplus
9221 extern "C" void exit(int);
9222 #endif
9223
9224 #include <stdlib.h>
9225
9226 class S
9227 {
9228 public:
9229 S(char *s) { m_s = s; }
9230
9231 char operator[](size_t n) const { return m_s[n]; }
9232 char operator[](int n) const { return m_s[n]; }
9233
9234 private:
9235 char *m_s;
9236 };
9237
9238 int main()
9239 {
9240 S s("dummy");
9241 size_t n1 = 2;
9242 int n2 = 3;
9243
9244 return s[n1] == s[n2];
9245 }
9246
9247 EOF
9248 if { (eval echo configure:9249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
9249 then
9250 cat >> confdefs.h <<\EOF
9251 #define wxUSE_SIZE_T_STRING_OPERATOR 1
9252 EOF
9253 wx_cv_cpp_sizet_not_int=yes
9254 else
9255 echo "configure: failed program was:" >&5
9256 cat conftest.$ac_ext >&5
9257 rm -fr conftest*
9258 wx_cv_cpp_sizet_not_int=no
9259 fi
9260 rm -fr conftest*
9261 fi
9262
9263
9264 ac_ext=c
9265 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9266 ac_cpp='$CPP $CPPFLAGS'
9267 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9268 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9269 cross_compiling=$ac_cv_prog_cc_cross
9270
9271
9272 fi
9273
9274 echo "$ac_t""$wx_cv_cpp_sizet_not_int" 1>&6
9275
9276
9277
9278 echo $ac_n "checking if you need GNU extensions""... $ac_c" 1>&6
9279 echo "configure:9280: checking if you need GNU extensions" >&5
9280 if eval "test \"`echo '$''{'wx_cv_gnu_extensions'+set}'`\" = set"; then
9281 echo $ac_n "(cached) $ac_c" 1>&6
9282 else
9283
9284 cat > conftest.$ac_ext <<EOF
9285 #line 9286 "configure"
9286 #include "confdefs.h"
9287 #include <features.h>
9288 int main() {
9289
9290
9291 #ifndef __GNU_LIBRARY__
9292 Compile error wanted
9293 #endif
9294
9295
9296 ; return 0; }
9297 EOF
9298 if { (eval echo configure:9299: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9299 rm -rf conftest*
9300 wx_cv_gnu_extensions=yes
9301 else
9302 echo "configure: failed program was:" >&5
9303 cat conftest.$ac_ext >&5
9304 rm -rf conftest*
9305 wx_cv_gnu_extensions=no
9306 fi
9307 rm -f conftest*
9308
9309 fi
9310
9311
9312 echo "$ac_t""$wx_cv_gnu_extensions" 1>&6
9313 if test "$wx_cv_gnu_extensions" = "yes"; then
9314 cat >> confdefs.h <<EOF
9315 #define _GNU_SOURCE 1
9316 EOF
9317
9318 fi
9319
9320
9321
9322 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
9323 echo "configure:9324: checking for wcslen in -lc" >&5
9324 ac_lib_var=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
9325 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9326 echo $ac_n "(cached) $ac_c" 1>&6
9327 else
9328 ac_save_LIBS="$LIBS"
9329 LIBS="-lc $LIBS"
9330 cat > conftest.$ac_ext <<EOF
9331 #line 9332 "configure"
9332 #include "confdefs.h"
9333 /* Override any gcc2 internal prototype to avoid an error. */
9334 /* We use char because int might match the return type of a gcc2
9335 builtin and then its argument prototype would still apply. */
9336 char wcslen();
9337
9338 int main() {
9339 wcslen()
9340 ; return 0; }
9341 EOF
9342 if { (eval echo configure:9343: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9343 rm -rf conftest*
9344 eval "ac_cv_lib_$ac_lib_var=yes"
9345 else
9346 echo "configure: failed program was:" >&5
9347 cat conftest.$ac_ext >&5
9348 rm -rf conftest*
9349 eval "ac_cv_lib_$ac_lib_var=no"
9350 fi
9351 rm -f conftest*
9352 LIBS="$ac_save_LIBS"
9353
9354 fi
9355 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9356 echo "$ac_t""yes" 1>&6
9357
9358 cat >> confdefs.h <<\EOF
9359 #define HAVE_WCSLEN 1
9360 EOF
9361
9362 WCHAR_LINK=""
9363
9364 else
9365 echo "$ac_t""no" 1>&6
9366
9367 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
9368 echo "configure:9369: checking for wcslen in -lw" >&5
9369 ac_lib_var=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
9370 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9371 echo $ac_n "(cached) $ac_c" 1>&6
9372 else
9373 ac_save_LIBS="$LIBS"
9374 LIBS="-lw $LIBS"
9375 cat > conftest.$ac_ext <<EOF
9376 #line 9377 "configure"
9377 #include "confdefs.h"
9378 /* Override any gcc2 internal prototype to avoid an error. */
9379 /* We use char because int might match the return type of a gcc2
9380 builtin and then its argument prototype would still apply. */
9381 char wcslen();
9382
9383 int main() {
9384 wcslen()
9385 ; return 0; }
9386 EOF
9387 if { (eval echo configure:9388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9388 rm -rf conftest*
9389 eval "ac_cv_lib_$ac_lib_var=yes"
9390 else
9391 echo "configure: failed program was:" >&5
9392 cat conftest.$ac_ext >&5
9393 rm -rf conftest*
9394 eval "ac_cv_lib_$ac_lib_var=no"
9395 fi
9396 rm -f conftest*
9397 LIBS="$ac_save_LIBS"
9398
9399 fi
9400 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9401 echo "$ac_t""yes" 1>&6
9402
9403 cat >> confdefs.h <<\EOF
9404 #define HAVE_WCSLEN 1
9405 EOF
9406
9407 WCHAR_LINK="-lw"
9408
9409 else
9410 echo "$ac_t""no" 1>&6
9411 fi
9412
9413
9414 fi
9415
9416
9417 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
9418 echo "configure:9419: checking for vprintf" >&5
9419 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
9420 echo $ac_n "(cached) $ac_c" 1>&6
9421 else
9422 cat > conftest.$ac_ext <<EOF
9423 #line 9424 "configure"
9424 #include "confdefs.h"
9425 /* System header to define __stub macros and hopefully few prototypes,
9426 which can conflict with char vprintf(); below. */
9427 #include <assert.h>
9428 /* Override any gcc2 internal prototype to avoid an error. */
9429 /* We use char because int might match the return type of a gcc2
9430 builtin and then its argument prototype would still apply. */
9431 char vprintf();
9432
9433 int main() {
9434
9435 /* The GNU C library defines this for functions which it implements
9436 to always fail with ENOSYS. Some functions are actually named
9437 something starting with __ and the normal name is an alias. */
9438 #if defined (__stub_vprintf) || defined (__stub___vprintf)
9439 choke me
9440 #else
9441 vprintf();
9442 #endif
9443
9444 ; return 0; }
9445 EOF
9446 if { (eval echo configure:9447: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9447 rm -rf conftest*
9448 eval "ac_cv_func_vprintf=yes"
9449 else
9450 echo "configure: failed program was:" >&5
9451 cat conftest.$ac_ext >&5
9452 rm -rf conftest*
9453 eval "ac_cv_func_vprintf=no"
9454 fi
9455 rm -f conftest*
9456 fi
9457
9458 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
9459 echo "$ac_t""yes" 1>&6
9460 cat >> confdefs.h <<\EOF
9461 #define HAVE_VPRINTF 1
9462 EOF
9463
9464 else
9465 echo "$ac_t""no" 1>&6
9466 fi
9467
9468 if test "$ac_cv_func_vprintf" != yes; then
9469 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
9470 echo "configure:9471: checking for _doprnt" >&5
9471 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
9472 echo $ac_n "(cached) $ac_c" 1>&6
9473 else
9474 cat > conftest.$ac_ext <<EOF
9475 #line 9476 "configure"
9476 #include "confdefs.h"
9477 /* System header to define __stub macros and hopefully few prototypes,
9478 which can conflict with char _doprnt(); below. */
9479 #include <assert.h>
9480 /* Override any gcc2 internal prototype to avoid an error. */
9481 /* We use char because int might match the return type of a gcc2
9482 builtin and then its argument prototype would still apply. */
9483 char _doprnt();
9484
9485 int main() {
9486
9487 /* The GNU C library defines this for functions which it implements
9488 to always fail with ENOSYS. Some functions are actually named
9489 something starting with __ and the normal name is an alias. */
9490 #if defined (__stub__doprnt) || defined (__stub____doprnt)
9491 choke me
9492 #else
9493 _doprnt();
9494 #endif
9495
9496 ; return 0; }
9497 EOF
9498 if { (eval echo configure:9499: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9499 rm -rf conftest*
9500 eval "ac_cv_func__doprnt=yes"
9501 else
9502 echo "configure: failed program was:" >&5
9503 cat conftest.$ac_ext >&5
9504 rm -rf conftest*
9505 eval "ac_cv_func__doprnt=no"
9506 fi
9507 rm -f conftest*
9508 fi
9509
9510 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
9511 echo "$ac_t""yes" 1>&6
9512 cat >> confdefs.h <<\EOF
9513 #define HAVE_DOPRNT 1
9514 EOF
9515
9516 else
9517 echo "$ac_t""no" 1>&6
9518 fi
9519
9520 fi
9521
9522
9523 for ac_func in vsnprintf
9524 do
9525 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9526 echo "configure:9527: checking for $ac_func" >&5
9527 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9528 echo $ac_n "(cached) $ac_c" 1>&6
9529 else
9530 cat > conftest.$ac_ext <<EOF
9531 #line 9532 "configure"
9532 #include "confdefs.h"
9533 /* System header to define __stub macros and hopefully few prototypes,
9534 which can conflict with char $ac_func(); below. */
9535 #include <assert.h>
9536 /* Override any gcc2 internal prototype to avoid an error. */
9537 /* We use char because int might match the return type of a gcc2
9538 builtin and then its argument prototype would still apply. */
9539 char $ac_func();
9540
9541 int main() {
9542
9543 /* The GNU C library defines this for functions which it implements
9544 to always fail with ENOSYS. Some functions are actually named
9545 something starting with __ and the normal name is an alias. */
9546 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9547 choke me
9548 #else
9549 $ac_func();
9550 #endif
9551
9552 ; return 0; }
9553 EOF
9554 if { (eval echo configure:9555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9555 rm -rf conftest*
9556 eval "ac_cv_func_$ac_func=yes"
9557 else
9558 echo "configure: failed program was:" >&5
9559 cat conftest.$ac_ext >&5
9560 rm -rf conftest*
9561 eval "ac_cv_func_$ac_func=no"
9562 fi
9563 rm -f conftest*
9564 fi
9565
9566 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9567 echo "$ac_t""yes" 1>&6
9568 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9569 cat >> confdefs.h <<EOF
9570 #define $ac_tr_func 1
9571 EOF
9572 cat >> confdefs.h <<\EOF
9573 #define HAVE_VSNPRINTF 1
9574 EOF
9575
9576 else
9577 echo "$ac_t""no" 1>&6
9578 echo "configure: warning: unsafe function sprintf will be used instead of snprintf" 1>&2
9579
9580 fi
9581 done
9582
9583
9584
9585 ac_ext=C
9586 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9587 ac_cpp='$CXXCPP $CPPFLAGS'
9588 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9589 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9590 cross_compiling=$ac_cv_prog_cxx_cross
9591
9592
9593 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
9594 echo "configure:9595: checking for vsscanf" >&5
9595 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
9596 echo $ac_n "(cached) $ac_c" 1>&6
9597 else
9598
9599 if test "$cross_compiling" = yes; then
9600 wx_cv_func_vsscanf=no
9601
9602 else
9603 cat > conftest.$ac_ext <<EOF
9604 #line 9605 "configure"
9605 #include "confdefs.h"
9606 #ifdef __cplusplus
9607 extern "C" void exit(int);
9608 #endif
9609
9610 #include <stdio.h>
9611 #include <stdarg.h>
9612
9613 int try_vsscanf(const char *format, ...)
9614 {
9615 va_list ap;
9616 va_start(ap, format);
9617
9618 vsscanf("17", format, ap);
9619
9620 va_end(ap);
9621 }
9622
9623 int main()
9624 {
9625 int i;
9626 try_vsscanf("%d", &i);
9627 return i == 17 ? 0 : 1;
9628 }
9629
9630 EOF
9631 if { (eval echo configure:9632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
9632 then
9633
9634 cat >> confdefs.h <<\EOF
9635 #define HAVE_VSSCANF 1
9636 EOF
9637
9638 wx_cv_func_vsscanf=yes
9639
9640 else
9641 echo "configure: failed program was:" >&5
9642 cat conftest.$ac_ext >&5
9643 rm -fr conftest*
9644 wx_cv_func_vsscanf=no
9645 fi
9646 rm -fr conftest*
9647 fi
9648
9649
9650 fi
9651
9652 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
9653
9654 ac_ext=c
9655 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9656 ac_cpp='$CPP $CPPFLAGS'
9657 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9658 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9659 cross_compiling=$ac_cv_prog_cc_cross
9660
9661
9662 if test "$USE_UNIX" = 1; then
9663
9664 for ac_func in vfork
9665 do
9666 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9667 echo "configure:9668: checking for $ac_func" >&5
9668 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9669 echo $ac_n "(cached) $ac_c" 1>&6
9670 else
9671 cat > conftest.$ac_ext <<EOF
9672 #line 9673 "configure"
9673 #include "confdefs.h"
9674 /* System header to define __stub macros and hopefully few prototypes,
9675 which can conflict with char $ac_func(); below. */
9676 #include <assert.h>
9677 /* Override any gcc2 internal prototype to avoid an error. */
9678 /* We use char because int might match the return type of a gcc2
9679 builtin and then its argument prototype would still apply. */
9680 char $ac_func();
9681
9682 int main() {
9683
9684 /* The GNU C library defines this for functions which it implements
9685 to always fail with ENOSYS. Some functions are actually named
9686 something starting with __ and the normal name is an alias. */
9687 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9688 choke me
9689 #else
9690 $ac_func();
9691 #endif
9692
9693 ; return 0; }
9694 EOF
9695 if { (eval echo configure:9696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9696 rm -rf conftest*
9697 eval "ac_cv_func_$ac_func=yes"
9698 else
9699 echo "configure: failed program was:" >&5
9700 cat conftest.$ac_ext >&5
9701 rm -rf conftest*
9702 eval "ac_cv_func_$ac_func=no"
9703 fi
9704 rm -f conftest*
9705 fi
9706
9707 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9708 echo "$ac_t""yes" 1>&6
9709 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9710 cat >> confdefs.h <<EOF
9711 #define $ac_tr_func 1
9712 EOF
9713
9714 else
9715 echo "$ac_t""no" 1>&6
9716 fi
9717 done
9718
9719
9720 POSIX4_LINK=
9721 for ac_func in nanosleep
9722 do
9723 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9724 echo "configure:9725: checking for $ac_func" >&5
9725 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9726 echo $ac_n "(cached) $ac_c" 1>&6
9727 else
9728 cat > conftest.$ac_ext <<EOF
9729 #line 9730 "configure"
9730 #include "confdefs.h"
9731 /* System header to define __stub macros and hopefully few prototypes,
9732 which can conflict with char $ac_func(); below. */
9733 #include <assert.h>
9734 /* Override any gcc2 internal prototype to avoid an error. */
9735 /* We use char because int might match the return type of a gcc2
9736 builtin and then its argument prototype would still apply. */
9737 char $ac_func();
9738
9739 int main() {
9740
9741 /* The GNU C library defines this for functions which it implements
9742 to always fail with ENOSYS. Some functions are actually named
9743 something starting with __ and the normal name is an alias. */
9744 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9745 choke me
9746 #else
9747 $ac_func();
9748 #endif
9749
9750 ; return 0; }
9751 EOF
9752 if { (eval echo configure:9753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9753 rm -rf conftest*
9754 eval "ac_cv_func_$ac_func=yes"
9755 else
9756 echo "configure: failed program was:" >&5
9757 cat conftest.$ac_ext >&5
9758 rm -rf conftest*
9759 eval "ac_cv_func_$ac_func=no"
9760 fi
9761 rm -f conftest*
9762 fi
9763
9764 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9765 echo "$ac_t""yes" 1>&6
9766 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9767 cat >> confdefs.h <<EOF
9768 #define $ac_tr_func 1
9769 EOF
9770 cat >> confdefs.h <<\EOF
9771 #define HAVE_NANOSLEEP 1
9772 EOF
9773
9774 else
9775 echo "$ac_t""no" 1>&6
9776 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
9777 echo "configure:9778: checking for nanosleep in -lposix4" >&5
9778 ac_lib_var=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
9779 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9780 echo $ac_n "(cached) $ac_c" 1>&6
9781 else
9782 ac_save_LIBS="$LIBS"
9783 LIBS="-lposix4 $LIBS"
9784 cat > conftest.$ac_ext <<EOF
9785 #line 9786 "configure"
9786 #include "confdefs.h"
9787 /* Override any gcc2 internal prototype to avoid an error. */
9788 /* We use char because int might match the return type of a gcc2
9789 builtin and then its argument prototype would still apply. */
9790 char nanosleep();
9791
9792 int main() {
9793 nanosleep()
9794 ; return 0; }
9795 EOF
9796 if { (eval echo configure:9797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9797 rm -rf conftest*
9798 eval "ac_cv_lib_$ac_lib_var=yes"
9799 else
9800 echo "configure: failed program was:" >&5
9801 cat conftest.$ac_ext >&5
9802 rm -rf conftest*
9803 eval "ac_cv_lib_$ac_lib_var=no"
9804 fi
9805 rm -f conftest*
9806 LIBS="$ac_save_LIBS"
9807
9808 fi
9809 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9810 echo "$ac_t""yes" 1>&6
9811
9812 cat >> confdefs.h <<\EOF
9813 #define HAVE_NANOSLEEP 1
9814 EOF
9815
9816 POSIX4_LINK="-lposix4"
9817
9818 else
9819 echo "$ac_t""no" 1>&6
9820
9821 for ac_func in usleep
9822 do
9823 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9824 echo "configure:9825: checking for $ac_func" >&5
9825 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9826 echo $ac_n "(cached) $ac_c" 1>&6
9827 else
9828 cat > conftest.$ac_ext <<EOF
9829 #line 9830 "configure"
9830 #include "confdefs.h"
9831 /* System header to define __stub macros and hopefully few prototypes,
9832 which can conflict with char $ac_func(); below. */
9833 #include <assert.h>
9834 /* Override any gcc2 internal prototype to avoid an error. */
9835 /* We use char because int might match the return type of a gcc2
9836 builtin and then its argument prototype would still apply. */
9837 char $ac_func();
9838
9839 int main() {
9840
9841 /* The GNU C library defines this for functions which it implements
9842 to always fail with ENOSYS. Some functions are actually named
9843 something starting with __ and the normal name is an alias. */
9844 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9845 choke me
9846 #else
9847 $ac_func();
9848 #endif
9849
9850 ; return 0; }
9851 EOF
9852 if { (eval echo configure:9853: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9853 rm -rf conftest*
9854 eval "ac_cv_func_$ac_func=yes"
9855 else
9856 echo "configure: failed program was:" >&5
9857 cat conftest.$ac_ext >&5
9858 rm -rf conftest*
9859 eval "ac_cv_func_$ac_func=no"
9860 fi
9861 rm -f conftest*
9862 fi
9863
9864 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9865 echo "$ac_t""yes" 1>&6
9866 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9867 cat >> confdefs.h <<EOF
9868 #define $ac_tr_func 1
9869 EOF
9870 cat >> confdefs.h <<\EOF
9871 #define HAVE_USLEEP 1
9872 EOF
9873
9874 else
9875 echo "$ac_t""no" 1>&6
9876 echo "configure: warning: wxSleep() function will not work" 1>&2
9877 fi
9878 done
9879
9880
9881 fi
9882
9883
9884 fi
9885 done
9886
9887
9888 for ac_func in uname gethostname
9889 do
9890 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9891 echo "configure:9892: checking for $ac_func" >&5
9892 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9893 echo $ac_n "(cached) $ac_c" 1>&6
9894 else
9895 cat > conftest.$ac_ext <<EOF
9896 #line 9897 "configure"
9897 #include "confdefs.h"
9898 /* System header to define __stub macros and hopefully few prototypes,
9899 which can conflict with char $ac_func(); below. */
9900 #include <assert.h>
9901 /* Override any gcc2 internal prototype to avoid an error. */
9902 /* We use char because int might match the return type of a gcc2
9903 builtin and then its argument prototype would still apply. */
9904 char $ac_func();
9905
9906 int main() {
9907
9908 /* The GNU C library defines this for functions which it implements
9909 to always fail with ENOSYS. Some functions are actually named
9910 something starting with __ and the normal name is an alias. */
9911 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9912 choke me
9913 #else
9914 $ac_func();
9915 #endif
9916
9917 ; return 0; }
9918 EOF
9919 if { (eval echo configure:9920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9920 rm -rf conftest*
9921 eval "ac_cv_func_$ac_func=yes"
9922 else
9923 echo "configure: failed program was:" >&5
9924 cat conftest.$ac_ext >&5
9925 rm -rf conftest*
9926 eval "ac_cv_func_$ac_func=no"
9927 fi
9928 rm -f conftest*
9929 fi
9930
9931 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9932 echo "$ac_t""yes" 1>&6
9933 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9934 cat >> confdefs.h <<EOF
9935 #define $ac_tr_func 1
9936 EOF
9937 break
9938 else
9939 echo "$ac_t""no" 1>&6
9940 fi
9941 done
9942
9943
9944 for ac_func in strtok_r
9945 do
9946 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9947 echo "configure:9948: checking for $ac_func" >&5
9948 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9949 echo $ac_n "(cached) $ac_c" 1>&6
9950 else
9951 cat > conftest.$ac_ext <<EOF
9952 #line 9953 "configure"
9953 #include "confdefs.h"
9954 /* System header to define __stub macros and hopefully few prototypes,
9955 which can conflict with char $ac_func(); below. */
9956 #include <assert.h>
9957 /* Override any gcc2 internal prototype to avoid an error. */
9958 /* We use char because int might match the return type of a gcc2
9959 builtin and then its argument prototype would still apply. */
9960 char $ac_func();
9961
9962 int main() {
9963
9964 /* The GNU C library defines this for functions which it implements
9965 to always fail with ENOSYS. Some functions are actually named
9966 something starting with __ and the normal name is an alias. */
9967 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9968 choke me
9969 #else
9970 $ac_func();
9971 #endif
9972
9973 ; return 0; }
9974 EOF
9975 if { (eval echo configure:9976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9976 rm -rf conftest*
9977 eval "ac_cv_func_$ac_func=yes"
9978 else
9979 echo "configure: failed program was:" >&5
9980 cat conftest.$ac_ext >&5
9981 rm -rf conftest*
9982 eval "ac_cv_func_$ac_func=no"
9983 fi
9984 rm -f conftest*
9985 fi
9986
9987 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9988 echo "$ac_t""yes" 1>&6
9989 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9990 cat >> confdefs.h <<EOF
9991 #define $ac_tr_func 1
9992 EOF
9993
9994 else
9995 echo "$ac_t""no" 1>&6
9996 fi
9997 done
9998
9999
10000 for ac_func in inet_addr
10001 do
10002 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10003 echo "configure:10004: checking for $ac_func" >&5
10004 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10005 echo $ac_n "(cached) $ac_c" 1>&6
10006 else
10007 cat > conftest.$ac_ext <<EOF
10008 #line 10009 "configure"
10009 #include "confdefs.h"
10010 /* System header to define __stub macros and hopefully few prototypes,
10011 which can conflict with char $ac_func(); below. */
10012 #include <assert.h>
10013 /* Override any gcc2 internal prototype to avoid an error. */
10014 /* We use char because int might match the return type of a gcc2
10015 builtin and then its argument prototype would still apply. */
10016 char $ac_func();
10017
10018 int main() {
10019
10020 /* The GNU C library defines this for functions which it implements
10021 to always fail with ENOSYS. Some functions are actually named
10022 something starting with __ and the normal name is an alias. */
10023 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10024 choke me
10025 #else
10026 $ac_func();
10027 #endif
10028
10029 ; return 0; }
10030 EOF
10031 if { (eval echo configure:10032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10032 rm -rf conftest*
10033 eval "ac_cv_func_$ac_func=yes"
10034 else
10035 echo "configure: failed program was:" >&5
10036 cat conftest.$ac_ext >&5
10037 rm -rf conftest*
10038 eval "ac_cv_func_$ac_func=no"
10039 fi
10040 rm -f conftest*
10041 fi
10042
10043 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10044 echo "$ac_t""yes" 1>&6
10045 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10046 cat >> confdefs.h <<EOF
10047 #define $ac_tr_func 1
10048 EOF
10049
10050 else
10051 echo "$ac_t""no" 1>&6
10052 fi
10053 done
10054
10055 for ac_func in inet_aton
10056 do
10057 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10058 echo "configure:10059: checking for $ac_func" >&5
10059 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10060 echo $ac_n "(cached) $ac_c" 1>&6
10061 else
10062 cat > conftest.$ac_ext <<EOF
10063 #line 10064 "configure"
10064 #include "confdefs.h"
10065 /* System header to define __stub macros and hopefully few prototypes,
10066 which can conflict with char $ac_func(); below. */
10067 #include <assert.h>
10068 /* Override any gcc2 internal prototype to avoid an error. */
10069 /* We use char because int might match the return type of a gcc2
10070 builtin and then its argument prototype would still apply. */
10071 char $ac_func();
10072
10073 int main() {
10074
10075 /* The GNU C library defines this for functions which it implements
10076 to always fail with ENOSYS. Some functions are actually named
10077 something starting with __ and the normal name is an alias. */
10078 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10079 choke me
10080 #else
10081 $ac_func();
10082 #endif
10083
10084 ; return 0; }
10085 EOF
10086 if { (eval echo configure:10087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10087 rm -rf conftest*
10088 eval "ac_cv_func_$ac_func=yes"
10089 else
10090 echo "configure: failed program was:" >&5
10091 cat conftest.$ac_ext >&5
10092 rm -rf conftest*
10093 eval "ac_cv_func_$ac_func=no"
10094 fi
10095 rm -f conftest*
10096 fi
10097
10098 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10099 echo "$ac_t""yes" 1>&6
10100 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10101 cat >> confdefs.h <<EOF
10102 #define $ac_tr_func 1
10103 EOF
10104
10105 else
10106 echo "$ac_t""no" 1>&6
10107 fi
10108 done
10109
10110 echo $ac_n "checking for inet_aton in -lresolv""... $ac_c" 1>&6
10111 echo "configure:10112: checking for inet_aton in -lresolv" >&5
10112 ac_lib_var=`echo resolv'_'inet_aton | sed 'y%./+-%__p_%'`
10113 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10114 echo $ac_n "(cached) $ac_c" 1>&6
10115 else
10116 ac_save_LIBS="$LIBS"
10117 LIBS="-lresolv $LIBS"
10118 cat > conftest.$ac_ext <<EOF
10119 #line 10120 "configure"
10120 #include "confdefs.h"
10121 /* Override any gcc2 internal prototype to avoid an error. */
10122 /* We use char because int might match the return type of a gcc2
10123 builtin and then its argument prototype would still apply. */
10124 char inet_aton();
10125
10126 int main() {
10127 inet_aton()
10128 ; return 0; }
10129 EOF
10130 if { (eval echo configure:10131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10131 rm -rf conftest*
10132 eval "ac_cv_lib_$ac_lib_var=yes"
10133 else
10134 echo "configure: failed program was:" >&5
10135 cat conftest.$ac_ext >&5
10136 rm -rf conftest*
10137 eval "ac_cv_lib_$ac_lib_var=no"
10138 fi
10139 rm -f conftest*
10140 LIBS="$ac_save_LIBS"
10141
10142 fi
10143 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10144 echo "$ac_t""yes" 1>&6
10145 ac_tr_lib=HAVE_LIB`echo resolv | sed -e 's/[^a-zA-Z0-9_]/_/g' \
10146 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
10147 cat >> confdefs.h <<EOF
10148 #define $ac_tr_lib 1
10149 EOF
10150
10151 LIBS="-lresolv $LIBS"
10152
10153 else
10154 echo "$ac_t""no" 1>&6
10155 fi
10156
10157
10158 fi
10159
10160
10161 cat > confcache <<\EOF
10162 # This file is a shell script that caches the results of configure
10163 # tests run on this system so they can be shared between configure
10164 # scripts and configure runs. It is not useful on other systems.
10165 # If it contains results you don't want to keep, you may remove or edit it.
10166 #
10167 # By default, configure uses ./config.cache as the cache file,
10168 # creating it if it does not exist already. You can give configure
10169 # the --cache-file=FILE option to use a different cache file; that is
10170 # what configure does when it calls configure scripts in
10171 # subdirectories, so they share the cache.
10172 # Giving --cache-file=/dev/null disables caching, for debugging configure.
10173 # config.status only pays attention to the cache file if you give it the
10174 # --recheck option to rerun configure.
10175 #
10176 EOF
10177 # The following way of writing the cache mishandles newlines in values,
10178 # but we know of no workaround that is simple, portable, and efficient.
10179 # So, don't put newlines in cache variables' values.
10180 # Ultrix sh set writes to stderr and can't be redirected directly,
10181 # and sets the high bit in the cache file unless we assign to the vars.
10182 (set) 2>&1 |
10183 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10184 *ac_space=\ *)
10185 # `set' does not quote correctly, so add quotes (double-quote substitution
10186 # turns \\\\ into \\, and sed turns \\ into \).
10187 sed -n \
10188 -e "s/'/'\\\\''/g" \
10189 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
10190 ;;
10191 *)
10192 # `set' quotes correctly as required by POSIX, so do not add quotes.
10193 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
10194 ;;
10195 esac >> confcache
10196 if cmp -s $cache_file confcache; then
10197 :
10198 else
10199 if test -w $cache_file; then
10200 echo "updating cache $cache_file"
10201 cat confcache > $cache_file
10202 else
10203 echo "not updating unwritable cache $cache_file"
10204 fi
10205 fi
10206 rm -f confcache
10207
10208
10209
10210 if test "$USE_UNIX" = 1; then
10211
10212
10213 THREADS_LINK=""
10214 THREADS_OBJ=""
10215
10216 if test "$wxUSE_THREADS" = "yes" ; then
10217 if test "$wxUSE_WINE" = 1 ; then
10218 echo "configure: warning: Threads are not supported under WINE" 1>&2
10219 wxUSE_THREADS="no"
10220 fi
10221 fi
10222
10223 if test "$wxUSE_THREADS" = "yes" ; then
10224
10225 echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
10226 echo "configure:10227: checking for pthread_create in -lpthread" >&5
10227 ac_lib_var=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
10228 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10229 echo $ac_n "(cached) $ac_c" 1>&6
10230 else
10231 ac_save_LIBS="$LIBS"
10232 LIBS="-lpthread $LIBS"
10233 cat > conftest.$ac_ext <<EOF
10234 #line 10235 "configure"
10235 #include "confdefs.h"
10236 /* Override any gcc2 internal prototype to avoid an error. */
10237 /* We use char because int might match the return type of a gcc2
10238 builtin and then its argument prototype would still apply. */
10239 char pthread_create();
10240
10241 int main() {
10242 pthread_create()
10243 ; return 0; }
10244 EOF
10245 if { (eval echo configure:10246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10246 rm -rf conftest*
10247 eval "ac_cv_lib_$ac_lib_var=yes"
10248 else
10249 echo "configure: failed program was:" >&5
10250 cat conftest.$ac_ext >&5
10251 rm -rf conftest*
10252 eval "ac_cv_lib_$ac_lib_var=no"
10253 fi
10254 rm -f conftest*
10255 LIBS="$ac_save_LIBS"
10256
10257 fi
10258 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10259 echo "$ac_t""yes" 1>&6
10260
10261 THREADS_OBJ="threadpsx.lo"
10262 THREADS_LINK="pthread"
10263
10264 else
10265 echo "$ac_t""no" 1>&6
10266
10267 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
10268 echo "configure:10269: checking for pthread_create in -lc_r" >&5
10269 ac_lib_var=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
10270 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10271 echo $ac_n "(cached) $ac_c" 1>&6
10272 else
10273 ac_save_LIBS="$LIBS"
10274 LIBS="-lc_r $LIBS"
10275 cat > conftest.$ac_ext <<EOF
10276 #line 10277 "configure"
10277 #include "confdefs.h"
10278 /* Override any gcc2 internal prototype to avoid an error. */
10279 /* We use char because int might match the return type of a gcc2
10280 builtin and then its argument prototype would still apply. */
10281 char pthread_create();
10282
10283 int main() {
10284 pthread_create()
10285 ; return 0; }
10286 EOF
10287 if { (eval echo configure:10288: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10288 rm -rf conftest*
10289 eval "ac_cv_lib_$ac_lib_var=yes"
10290 else
10291 echo "configure: failed program was:" >&5
10292 cat conftest.$ac_ext >&5
10293 rm -rf conftest*
10294 eval "ac_cv_lib_$ac_lib_var=no"
10295 fi
10296 rm -f conftest*
10297 LIBS="$ac_save_LIBS"
10298
10299 fi
10300 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10301 echo "$ac_t""yes" 1>&6
10302
10303 THREADS_OBJ="threadpsx.lo"
10304 THREADS_LINK="c_r"
10305
10306 else
10307 echo "$ac_t""no" 1>&6
10308
10309 ac_safe=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
10310 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
10311 echo "configure:10312: checking for sys/prctl.h" >&5
10312 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10313 echo $ac_n "(cached) $ac_c" 1>&6
10314 else
10315 cat > conftest.$ac_ext <<EOF
10316 #line 10317 "configure"
10317 #include "confdefs.h"
10318 #include <sys/prctl.h>
10319 EOF
10320 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10321 { (eval echo configure:10322: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10322 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10323 if test -z "$ac_err"; then
10324 rm -rf conftest*
10325 eval "ac_cv_header_$ac_safe=yes"
10326 else
10327 echo "$ac_err" >&5
10328 echo "configure: failed program was:" >&5
10329 cat conftest.$ac_ext >&5
10330 rm -rf conftest*
10331 eval "ac_cv_header_$ac_safe=no"
10332 fi
10333 rm -f conftest*
10334 fi
10335 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10336 echo "$ac_t""yes" 1>&6
10337
10338 THREADS_OBJ="threadsgi.lo"
10339
10340 else
10341 echo "$ac_t""no" 1>&6
10342 fi
10343
10344
10345 fi
10346
10347
10348 fi
10349
10350
10351 if test -z "$THREADS_OBJ" ; then
10352 wxUSE_THREADS=no
10353 echo "configure: warning: No thread support on this system" 1>&2
10354 fi
10355 fi
10356
10357 if test "$wxUSE_THREADS" = "yes" ; then
10358
10359 for ac_hdr in sched.h
10360 do
10361 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10362 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10363 echo "configure:10364: checking for $ac_hdr" >&5
10364 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10365 echo $ac_n "(cached) $ac_c" 1>&6
10366 else
10367 cat > conftest.$ac_ext <<EOF
10368 #line 10369 "configure"
10369 #include "confdefs.h"
10370 #include <$ac_hdr>
10371 EOF
10372 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10373 { (eval echo configure:10374: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10374 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10375 if test -z "$ac_err"; then
10376 rm -rf conftest*
10377 eval "ac_cv_header_$ac_safe=yes"
10378 else
10379 echo "$ac_err" >&5
10380 echo "configure: failed program was:" >&5
10381 cat conftest.$ac_ext >&5
10382 rm -rf conftest*
10383 eval "ac_cv_header_$ac_safe=no"
10384 fi
10385 rm -f conftest*
10386 fi
10387 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10388 echo "$ac_t""yes" 1>&6
10389 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10390 cat >> confdefs.h <<EOF
10391 #define $ac_tr_hdr 1
10392 EOF
10393
10394 else
10395 echo "$ac_t""no" 1>&6
10396 fi
10397 done
10398
10399
10400 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
10401 echo "configure:10402: checking for sched_yield in -l$THREADS_LINK" >&5
10402 ac_lib_var=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
10403 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10404 echo $ac_n "(cached) $ac_c" 1>&6
10405 else
10406 ac_save_LIBS="$LIBS"
10407 LIBS="-l$THREADS_LINK $LIBS"
10408 cat > conftest.$ac_ext <<EOF
10409 #line 10410 "configure"
10410 #include "confdefs.h"
10411 /* Override any gcc2 internal prototype to avoid an error. */
10412 /* We use char because int might match the return type of a gcc2
10413 builtin and then its argument prototype would still apply. */
10414 char sched_yield();
10415
10416 int main() {
10417 sched_yield()
10418 ; return 0; }
10419 EOF
10420 if { (eval echo configure:10421: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10421 rm -rf conftest*
10422 eval "ac_cv_lib_$ac_lib_var=yes"
10423 else
10424 echo "configure: failed program was:" >&5
10425 cat conftest.$ac_ext >&5
10426 rm -rf conftest*
10427 eval "ac_cv_lib_$ac_lib_var=no"
10428 fi
10429 rm -f conftest*
10430 LIBS="$ac_save_LIBS"
10431
10432 fi
10433 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10434 echo "$ac_t""yes" 1>&6
10435 cat >> confdefs.h <<\EOF
10436 #define HAVE_SCHED_YIELD 1
10437 EOF
10438
10439 else
10440 echo "$ac_t""no" 1>&6
10441 echo $ac_n "checking for sched_yield in -l"posix4"""... $ac_c" 1>&6
10442 echo "configure:10443: checking for sched_yield in -l"posix4"" >&5
10443 ac_lib_var=`echo "posix4"'_'sched_yield | sed 'y%./+-%__p_%'`
10444 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10445 echo $ac_n "(cached) $ac_c" 1>&6
10446 else
10447 ac_save_LIBS="$LIBS"
10448 LIBS="-l"posix4" $LIBS"
10449 cat > conftest.$ac_ext <<EOF
10450 #line 10451 "configure"
10451 #include "confdefs.h"
10452 /* Override any gcc2 internal prototype to avoid an error. */
10453 /* We use char because int might match the return type of a gcc2
10454 builtin and then its argument prototype would still apply. */
10455 char sched_yield();
10456
10457 int main() {
10458 sched_yield()
10459 ; return 0; }
10460 EOF
10461 if { (eval echo configure:10462: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10462 rm -rf conftest*
10463 eval "ac_cv_lib_$ac_lib_var=yes"
10464 else
10465 echo "configure: failed program was:" >&5
10466 cat conftest.$ac_ext >&5
10467 rm -rf conftest*
10468 eval "ac_cv_lib_$ac_lib_var=no"
10469 fi
10470 rm -f conftest*
10471 LIBS="$ac_save_LIBS"
10472
10473 fi
10474 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10475 echo "$ac_t""yes" 1>&6
10476 cat >> confdefs.h <<\EOF
10477 #define HAVE_SCHED_YIELD 1
10478 EOF
10479 POSIX4_LINK="-lposix4"
10480 else
10481 echo "$ac_t""no" 1>&6
10482 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
10483
10484 fi
10485
10486
10487 fi
10488
10489
10490 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
10491 echo "configure:10492: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
10492 ac_lib_var=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
10493 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10494 echo $ac_n "(cached) $ac_c" 1>&6
10495 else
10496 ac_save_LIBS="$LIBS"
10497 LIBS="-l$THREADS_LINK $LIBS"
10498 cat > conftest.$ac_ext <<EOF
10499 #line 10500 "configure"
10500 #include "confdefs.h"
10501 /* Override any gcc2 internal prototype to avoid an error. */
10502 /* We use char because int might match the return type of a gcc2
10503 builtin and then its argument prototype would still apply. */
10504 char pthread_attr_getschedpolicy();
10505
10506 int main() {
10507 pthread_attr_getschedpolicy()
10508 ; return 0; }
10509 EOF
10510 if { (eval echo configure:10511: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10511 rm -rf conftest*
10512 eval "ac_cv_lib_$ac_lib_var=yes"
10513 else
10514 echo "configure: failed program was:" >&5
10515 cat conftest.$ac_ext >&5
10516 rm -rf conftest*
10517 eval "ac_cv_lib_$ac_lib_var=no"
10518 fi
10519 rm -f conftest*
10520 LIBS="$ac_save_LIBS"
10521
10522 fi
10523 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10524 echo "$ac_t""yes" 1>&6
10525 cat >> confdefs.h <<\EOF
10526 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
10527 EOF
10528
10529 else
10530 echo "$ac_t""no" 1>&6
10531 echo $ac_n "checking for pthread_attr_getschedpolicy in -l"posix4"""... $ac_c" 1>&6
10532 echo "configure:10533: checking for pthread_attr_getschedpolicy in -l"posix4"" >&5
10533 ac_lib_var=`echo "posix4"'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
10534 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10535 echo $ac_n "(cached) $ac_c" 1>&6
10536 else
10537 ac_save_LIBS="$LIBS"
10538 LIBS="-l"posix4" $LIBS"
10539 cat > conftest.$ac_ext <<EOF
10540 #line 10541 "configure"
10541 #include "confdefs.h"
10542 /* Override any gcc2 internal prototype to avoid an error. */
10543 /* We use char because int might match the return type of a gcc2
10544 builtin and then its argument prototype would still apply. */
10545 char pthread_attr_getschedpolicy();
10546
10547 int main() {
10548 pthread_attr_getschedpolicy()
10549 ; return 0; }
10550 EOF
10551 if { (eval echo configure:10552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10552 rm -rf conftest*
10553 eval "ac_cv_lib_$ac_lib_var=yes"
10554 else
10555 echo "configure: failed program was:" >&5
10556 cat conftest.$ac_ext >&5
10557 rm -rf conftest*
10558 eval "ac_cv_lib_$ac_lib_var=no"
10559 fi
10560 rm -f conftest*
10561 LIBS="$ac_save_LIBS"
10562
10563 fi
10564 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10565 echo "$ac_t""yes" 1>&6
10566 cat >> confdefs.h <<\EOF
10567 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
10568 EOF
10569 POSIX4_LINK="-lposix4"
10570 else
10571 echo "$ac_t""no" 1>&6
10572 echo "configure: warning: Setting thread priority will not work" 1>&2
10573
10574 fi
10575
10576
10577 fi
10578
10579
10580 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
10581 echo "configure:10582: checking for pthread_cancel in -l$THREADS_LINK" >&5
10582 ac_lib_var=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
10583 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10584 echo $ac_n "(cached) $ac_c" 1>&6
10585 else
10586 ac_save_LIBS="$LIBS"
10587 LIBS="-l$THREADS_LINK $LIBS"
10588 cat > conftest.$ac_ext <<EOF
10589 #line 10590 "configure"
10590 #include "confdefs.h"
10591 /* Override any gcc2 internal prototype to avoid an error. */
10592 /* We use char because int might match the return type of a gcc2
10593 builtin and then its argument prototype would still apply. */
10594 char pthread_cancel();
10595
10596 int main() {
10597 pthread_cancel()
10598 ; return 0; }
10599 EOF
10600 if { (eval echo configure:10601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10601 rm -rf conftest*
10602 eval "ac_cv_lib_$ac_lib_var=yes"
10603 else
10604 echo "configure: failed program was:" >&5
10605 cat conftest.$ac_ext >&5
10606 rm -rf conftest*
10607 eval "ac_cv_lib_$ac_lib_var=no"
10608 fi
10609 rm -f conftest*
10610 LIBS="$ac_save_LIBS"
10611
10612 fi
10613 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10614 echo "$ac_t""yes" 1>&6
10615 cat >> confdefs.h <<\EOF
10616 #define HAVE_PTHREAD_CANCEL 1
10617 EOF
10618
10619 else
10620 echo "$ac_t""no" 1>&6
10621 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
10622 fi
10623
10624
10625 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
10626 echo "configure:10627: checking for pthread_cleanup_push/pop" >&5
10627 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
10628 echo $ac_n "(cached) $ac_c" 1>&6
10629 else
10630
10631 cat > conftest.$ac_ext <<EOF
10632 #line 10633 "configure"
10633 #include "confdefs.h"
10634 #include <pthread.h>
10635 int main() {
10636
10637 pthread_cleanup_push(NULL, NULL);
10638 pthread_cleanup_pop(0);
10639
10640 ; return 0; }
10641 EOF
10642 if { (eval echo configure:10643: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10643 rm -rf conftest*
10644
10645 wx_cv_func_pthread_cleanup_push=yes
10646 cat >> confdefs.h <<\EOF
10647 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
10648 EOF
10649
10650
10651 else
10652 echo "configure: failed program was:" >&5
10653 cat conftest.$ac_ext >&5
10654 rm -rf conftest*
10655
10656 wx_cv_func_pthread_cleanup_push=no
10657
10658 fi
10659 rm -f conftest*
10660
10661 fi
10662
10663 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
10664
10665 THREADS_LINK="-l$THREADS_LINK"
10666 fi
10667
10668 fi
10669
10670 if test "$wxUSE_THREADS" = "yes"; then
10671 cat >> confdefs.h <<\EOF
10672 #define wxUSE_THREADS 1
10673 EOF
10674
10675
10676 CFLAGS="${CFLAGS} -D_REENTRANT"
10677 CXXFLAGS="${CXXFLAGS} -D_REENTRANT"
10678
10679 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
10680 fi
10681
10682 if test "$WXGTK12" = 1 ; then
10683 cat >> confdefs.h <<EOF
10684 #define __WXGTK12__ $WXGTK12
10685 EOF
10686
10687 fi
10688
10689 if test "$WXWINE" = 1 ; then
10690 TOOLKIT_DEF="${TOOLKIT_DEF} -D__WXWINE__"
10691 fi
10692
10693 if test "$wxUSE_CYGWIN" = 1 ; then
10694 TOOLKIT_DEF="${TOOLKIT_DEF} -D__WIN95__"
10695 fi
10696
10697 WXDEBUG=
10698
10699 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
10700 WXDEBUG="-g"
10701 wxUSE_OPTIMISE=no
10702 fi
10703
10704 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
10705 wxUSE_DEBUG_INFO=yes
10706 WXDEBUG="-ggdb"
10707 fi
10708
10709 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
10710 cat >> confdefs.h <<\EOF
10711 #define WXDEBUG 1
10712 EOF
10713
10714 WXDEBUG_DEFINE="-D__WXDEBUG__"
10715 else
10716 if test "$wxUSE_GTK" = 1 ; then
10717 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
10718 fi
10719 fi
10720
10721 if test "$wxUSE_MEM_TRACING" = "yes" ; then
10722 cat >> confdefs.h <<\EOF
10723 #define wxUSE_MEMORY_TRACING 1
10724 EOF
10725
10726 cat >> confdefs.h <<\EOF
10727 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
10728 EOF
10729
10730 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
10731 fi
10732
10733 if test "$wxUSE_DMALLOC" = "yes" ; then
10734 DMALLOC_LINK="-ldmalloc"
10735 fi
10736
10737 PROFILE=
10738 if test "$wxUSE_PROFILE" = "yes" ; then
10739 PROFILE="-pg"
10740 fi
10741
10742 DEP_INFO_FLAGS=
10743 if test "$GCC" = yes ; then
10744 if test "$wxUSE_NO_RTTI" = "yes" ; then
10745 WXDEBUG_DEFINE="$WXDEBUG_DEFINE -fno-rtti"
10746 fi
10747 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
10748 WXDEBUG_DEFINE="$WXDEBUG_DEFINE -fno-exceptions"
10749 fi
10750 if test "$wxUSE_PERMISSIVE" = "yes" ; then
10751 CFLAGS="${CFLAGS} -fpermissive"
10752 CXXFLAGS="${CXXFLAGS} -fpermissive"
10753 fi
10754 if test "$wxUSE_NO_DEPS" = "no" ; then
10755 DEP_INFO_FLAGS="-MMD"
10756 fi
10757 fi
10758
10759
10760 CXXFLAGS=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
10761 CFLAGS=`echo "${CFLAGS}" | sed "s/\-O.//g" `
10762 if test "$wxUSE_OPTIMISE" = "no" ; then
10763 OPTIMISE=
10764 else
10765 if test "$GCC" = yes ; then
10766 OPTIMISE="-O2"
10767 case "${host}" in
10768 i586-*-*|i686-*-* )
10769 OPTIMISE="${OPTIMISE} "
10770 ;;
10771 esac
10772 else
10773 OPTIMISE="-O"
10774 fi
10775 fi
10776
10777
10778 ZLIB_INCLUDE=
10779 if test "$wxUSE_ZLIB" = "yes" ; then
10780 cat >> confdefs.h <<\EOF
10781 #define wxUSE_ZLIB 1
10782 EOF
10783
10784 ZLIB_INCLUDE="-I\${top_srcdir}/src/zlib"
10785 fi
10786
10787 PNG_INCLUDE=
10788 if test "$wxUSE_LIBPNG" = "yes" ; then
10789 cat >> confdefs.h <<\EOF
10790 #define wxUSE_LIBPNG 1
10791 EOF
10792
10793 PNG_INCLUDE="-I\${top_srcdir}/src/png"
10794 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
10795 fi
10796
10797 JPEG_INCLUDE=
10798 if test "$wxUSE_LIBJPEG" = "yes" ; then
10799 cat >> confdefs.h <<\EOF
10800 #define wxUSE_LIBJPEG 1
10801 EOF
10802
10803 JPEG_INCLUDE="-I\${top_srcdir}/src/jpeg"
10804 fi
10805
10806 if test "$wxUSE_OPENGL" = "yes"; then
10807 ac_safe=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
10808 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
10809 echo "configure:10810: checking for GL/gl.h" >&5
10810 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10811 echo $ac_n "(cached) $ac_c" 1>&6
10812 else
10813 cat > conftest.$ac_ext <<EOF
10814 #line 10815 "configure"
10815 #include "confdefs.h"
10816 #include <GL/gl.h>
10817 EOF
10818 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10819 { (eval echo configure:10820: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10820 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10821 if test -z "$ac_err"; then
10822 rm -rf conftest*
10823 eval "ac_cv_header_$ac_safe=yes"
10824 else
10825 echo "$ac_err" >&5
10826 echo "configure: failed program was:" >&5
10827 cat conftest.$ac_ext >&5
10828 rm -rf conftest*
10829 eval "ac_cv_header_$ac_safe=no"
10830 fi
10831 rm -f conftest*
10832 fi
10833 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10834 echo "$ac_t""yes" 1>&6
10835
10836 echo $ac_n "checking for glInitNames in -lGL""... $ac_c" 1>&6
10837 echo "configure:10838: checking for glInitNames in -lGL" >&5
10838 ac_lib_var=`echo GL'_'glInitNames | sed 'y%./+-%__p_%'`
10839 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10840 echo $ac_n "(cached) $ac_c" 1>&6
10841 else
10842 ac_save_LIBS="$LIBS"
10843 LIBS="-lGL wxUSE_OPENGL=0 $LIBS"
10844 cat > conftest.$ac_ext <<EOF
10845 #line 10846 "configure"
10846 #include "confdefs.h"
10847 /* Override any gcc2 internal prototype to avoid an error. */
10848 /* We use char because int might match the return type of a gcc2
10849 builtin and then its argument prototype would still apply. */
10850 char glInitNames();
10851
10852 int main() {
10853 glInitNames()
10854 ; return 0; }
10855 EOF
10856 if { (eval echo configure:10857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10857 rm -rf conftest*
10858 eval "ac_cv_lib_$ac_lib_var=yes"
10859 else
10860 echo "configure: failed program was:" >&5
10861 cat conftest.$ac_ext >&5
10862 rm -rf conftest*
10863 eval "ac_cv_lib_$ac_lib_var=no"
10864 fi
10865 rm -f conftest*
10866 LIBS="$ac_save_LIBS"
10867
10868 fi
10869 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10870 echo "$ac_t""yes" 1>&6
10871
10872 OPENGL_LINK="-lGL"
10873 cat >> confdefs.h <<\EOF
10874 #define wxUSE_OPENGL 1
10875 EOF
10876
10877 UTILS_SUBDIRS="$UTILS_SUBDIRS glcanvas/src"
10878
10879 else
10880 echo "$ac_t""no" 1>&6
10881
10882 echo $ac_n "checking for glInitNames in -lMesaGL""... $ac_c" 1>&6
10883 echo "configure:10884: checking for glInitNames in -lMesaGL" >&5
10884 ac_lib_var=`echo MesaGL'_'glInitNames | sed 'y%./+-%__p_%'`
10885 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10886 echo $ac_n "(cached) $ac_c" 1>&6
10887 else
10888 ac_save_LIBS="$LIBS"
10889 LIBS="-lMesaGL $LIBS"
10890 cat > conftest.$ac_ext <<EOF
10891 #line 10892 "configure"
10892 #include "confdefs.h"
10893 /* Override any gcc2 internal prototype to avoid an error. */
10894 /* We use char because int might match the return type of a gcc2
10895 builtin and then its argument prototype would still apply. */
10896 char glInitNames();
10897
10898 int main() {
10899 glInitNames()
10900 ; return 0; }
10901 EOF
10902 if { (eval echo configure:10903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10903 rm -rf conftest*
10904 eval "ac_cv_lib_$ac_lib_var=yes"
10905 else
10906 echo "configure: failed program was:" >&5
10907 cat conftest.$ac_ext >&5
10908 rm -rf conftest*
10909 eval "ac_cv_lib_$ac_lib_var=no"
10910 fi
10911 rm -f conftest*
10912 LIBS="$ac_save_LIBS"
10913
10914 fi
10915 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10916 echo "$ac_t""yes" 1>&6
10917
10918 OPENGL_LINK="-lMesaGL"
10919 cat >> confdefs.h <<\EOF
10920 #define wxUSE_OPENGL 1
10921 EOF
10922
10923 UTILS_SUBDIRS="$UTILS_SUBDIRS glcanvas/src"
10924
10925 else
10926 echo "$ac_t""no" 1>&6
10927 wxUSE_OPENGL=0
10928 fi
10929
10930
10931 fi
10932
10933
10934 else
10935 echo "$ac_t""no" 1>&6
10936 wxUSE_OPENGL=0
10937 fi
10938
10939 fi
10940
10941
10942 if test "$wxUSE_GUI" = "yes"; then
10943 cat >> confdefs.h <<\EOF
10944 #define wxUSE_GUI 1
10945 EOF
10946
10947
10948 else
10949 cat >> confdefs.h <<\EOF
10950 #define wxUSE_NOGUI 1
10951 EOF
10952
10953 fi
10954
10955
10956 if test "$wxUSE_UNIX" = "yes"; then
10957 cat >> confdefs.h <<\EOF
10958 #define wxUSE_UNIX 1
10959 EOF
10960
10961 fi
10962
10963
10964 if test "$wxUSE_APPLE_IEEE" = "yes"; then
10965 cat >> confdefs.h <<\EOF
10966 #define wxUSE_APPLE_IEEE 1
10967 EOF
10968
10969 fi
10970
10971 if test "$wxUSE_TIMEDATE" = "yes"; then
10972 cat >> confdefs.h <<\EOF
10973 #define wxUSE_TIMEDATE 1
10974 EOF
10975
10976 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
10977 fi
10978
10979 if test "$wxUSE_WAVE" = "yes"; then
10980 cat >> confdefs.h <<\EOF
10981 #define wxUSE_WAVE 1
10982 EOF
10983
10984 fi
10985
10986 if test "$wxUSE_FILE" = "yes"; then
10987 cat >> confdefs.h <<\EOF
10988 #define wxUSE_FILE 1
10989 EOF
10990
10991 fi
10992
10993 if test "$wxUSE_FS_INET" = "yes"; then
10994 cat >> confdefs.h <<\EOF
10995 #define wxUSE_FS_INET 1
10996 EOF
10997
10998 fi
10999
11000 if test "$wxUSE_FS_ZIP" = "yes"; then
11001 cat >> confdefs.h <<\EOF
11002 #define wxUSE_FS_ZIP 1
11003 EOF
11004
11005 fi
11006
11007 if test "$wxUSE_ZIPSTREAM" = "yes"; then
11008 cat >> confdefs.h <<\EOF
11009 #define wxUSE_ZIPSTREAM 1
11010 EOF
11011
11012 fi
11013
11014 if test "$wxUSE_BUSYINFO" = "yes"; then
11015 cat >> confdefs.h <<\EOF
11016 #define wxUSE_BUSYINFO 1
11017 EOF
11018
11019 fi
11020
11021 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
11022 cat >> confdefs.h <<\EOF
11023 #define wxUSE_STD_IOSTREAM 1
11024 EOF
11025
11026 fi
11027
11028 if test "$wxUSE_TEXTFILE" = "yes"; then
11029 if test "$wxUSE_FILE" != "yes"; then
11030 echo "configure: warning: wxTextFile requires wxFile and it won't be compiled without it" 1>&2
11031 else
11032 cat >> confdefs.h <<\EOF
11033 #define wxUSE_TEXTFILE 1
11034 EOF
11035
11036 fi
11037 fi
11038
11039 if test "$wxUSE_CONFIG" = "yes" ; then
11040 if test "$wxUSE_TEXTFILE" != "yes"; then
11041 echo "configure: warning: wxConfig requires wxTextFile and it won't be compiled without it" 1>&2
11042 else
11043 cat >> confdefs.h <<\EOF
11044 #define wxUSE_CONFIG 1
11045 EOF
11046
11047 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
11048 fi
11049 fi
11050
11051 if test "$wxUSE_INTL" = "yes" ; then
11052 if test "$wxUSE_FILE" != "yes"; then
11053 echo "configure: warning: I18n code requires wxFile and it won't be compiled without it" 1>&2
11054 else
11055 cat >> confdefs.h <<\EOF
11056 #define wxUSE_INTL 1
11057 EOF
11058
11059 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
11060 fi
11061 fi
11062
11063 if test "$wxUSE_LOG" = "yes"; then
11064 cat >> confdefs.h <<\EOF
11065 #define wxUSE_LOG 1
11066 EOF
11067
11068 fi
11069
11070 if test "$wxUSE_LONGLONG" = "yes"; then
11071 cat >> confdefs.h <<\EOF
11072 #define wxUSE_LONGLONG 1
11073 EOF
11074
11075 fi
11076
11077 if test "$wxUSE_SOCKETS" = "yes" ; then
11078 cat >> confdefs.h <<\EOF
11079 #define wxUSE_SOCKETS 1
11080 EOF
11081
11082 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wxsocket"
11083 INCLUDE_SUBDIRS="$INCLUDE_SUBDIRS protocol"
11084 fi
11085
11086 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
11087 cat >> confdefs.h <<\EOF
11088 #define wxUSE_DIALUP_MANAGER 1
11089 EOF
11090
11091 fi
11092
11093 if test "$wxUSE_STREAMS" = "yes" ; then
11094 cat >> confdefs.h <<\EOF
11095 #define wxUSE_STREAMS 1
11096 EOF
11097
11098 fi
11099
11100 if test "$wxUSE_SERIAL" = "yes" ; then
11101 cat >> confdefs.h <<\EOF
11102 #define wxUSE_SERIAL 1
11103 EOF
11104
11105 fi
11106
11107
11108 if test "$wxUSE_SOCKETS" = "yes"; then
11109
11110 ac_ext=C
11111 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11112 ac_cpp='$CXXCPP $CPPFLAGS'
11113 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11114 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11115 cross_compiling=$ac_cv_prog_cxx_cross
11116
11117 echo $ac_n "checking the type of the third argument of getsockname""... $ac_c" 1>&6
11118 echo "configure:11119: checking the type of the third argument of getsockname" >&5
11119 cat > conftest.$ac_ext <<EOF
11120 #line 11121 "configure"
11121 #include "confdefs.h"
11122 #include <sys/socket.h>
11123 int main() {
11124 socklen_t len; getsockname(0, NULL, &len);
11125 ; return 0; }
11126 EOF
11127 if { (eval echo configure:11128: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11128 rm -rf conftest*
11129 cat >> confdefs.h <<\EOF
11130 #define SOCKLEN_T socklen_t
11131 EOF
11132 echo "$ac_t""socklen_t" 1>&6
11133 else
11134 echo "configure: failed program was:" >&5
11135 cat conftest.$ac_ext >&5
11136 rm -rf conftest*
11137 cat > conftest.$ac_ext <<EOF
11138 #line 11139 "configure"
11139 #include "confdefs.h"
11140 #include <sys/socket.h>
11141 int main() {
11142 size_t len; getsockname(0, NULL, &len);
11143 ; return 0; }
11144 EOF
11145 if { (eval echo configure:11146: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11146 rm -rf conftest*
11147 cat >> confdefs.h <<\EOF
11148 #define SOCKLEN_T size_t
11149 EOF
11150 echo "$ac_t""size_t" 1>&6
11151 else
11152 echo "configure: failed program was:" >&5
11153 cat conftest.$ac_ext >&5
11154 rm -rf conftest*
11155 cat > conftest.$ac_ext <<EOF
11156 #line 11157 "configure"
11157 #include "confdefs.h"
11158 #include <sys/socket.h>
11159 int main() {
11160 int len; getsockname(0, NULL, &len);
11161 ; return 0; }
11162 EOF
11163 if { (eval echo configure:11164: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11164 rm -rf conftest*
11165 cat >> confdefs.h <<\EOF
11166 #define SOCKLEN_T int
11167 EOF
11168 echo "$ac_t""int" 1>&6
11169 else
11170 echo "configure: failed program was:" >&5
11171 cat conftest.$ac_ext >&5
11172 rm -rf conftest*
11173 echo "$ac_t""unknown" 1>&6
11174
11175 fi
11176 rm -f conftest*
11177
11178 fi
11179 rm -f conftest*
11180
11181 fi
11182 rm -f conftest*
11183 ac_ext=c
11184 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11185 ac_cpp='$CPP $CPPFLAGS'
11186 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11187 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11188 cross_compiling=$ac_cv_prog_cc_cross
11189
11190 fi
11191
11192
11193 if test "$wxUSE_JOYSTICK" = 1; then
11194 for ac_hdr in linux/joystick.h
11195 do
11196 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11197 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11198 echo "configure:11199: checking for $ac_hdr" >&5
11199 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11200 echo $ac_n "(cached) $ac_c" 1>&6
11201 else
11202 cat > conftest.$ac_ext <<EOF
11203 #line 11204 "configure"
11204 #include "confdefs.h"
11205 #include <$ac_hdr>
11206 EOF
11207 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11208 { (eval echo configure:11209: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11209 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11210 if test -z "$ac_err"; then
11211 rm -rf conftest*
11212 eval "ac_cv_header_$ac_safe=yes"
11213 else
11214 echo "$ac_err" >&5
11215 echo "configure: failed program was:" >&5
11216 cat conftest.$ac_ext >&5
11217 rm -rf conftest*
11218 eval "ac_cv_header_$ac_safe=no"
11219 fi
11220 rm -f conftest*
11221 fi
11222 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11223 echo "$ac_t""yes" 1>&6
11224 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11225 cat >> confdefs.h <<EOF
11226 #define $ac_tr_hdr 1
11227 EOF
11228
11229 else
11230 echo "$ac_t""no" 1>&6
11231 fi
11232 done
11233
11234 if test "$ac_cv_header_linux_joystick_h" = "yes"; then
11235 cat >> confdefs.h <<\EOF
11236 #define wxUSE_JOYSTICK 1
11237 EOF
11238
11239 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
11240 fi
11241 fi
11242
11243
11244 HAVE_DL_FUNCS=0
11245 HAVE_SHL_FUNCS=0
11246 if test "$wxUSE_DYNLIB_CLASS" = "yes"; then
11247 for ac_func in dlopen
11248 do
11249 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11250 echo "configure:11251: checking for $ac_func" >&5
11251 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11252 echo $ac_n "(cached) $ac_c" 1>&6
11253 else
11254 cat > conftest.$ac_ext <<EOF
11255 #line 11256 "configure"
11256 #include "confdefs.h"
11257 /* System header to define __stub macros and hopefully few prototypes,
11258 which can conflict with char $ac_func(); below. */
11259 #include <assert.h>
11260 /* Override any gcc2 internal prototype to avoid an error. */
11261 /* We use char because int might match the return type of a gcc2
11262 builtin and then its argument prototype would still apply. */
11263 char $ac_func();
11264
11265 int main() {
11266
11267 /* The GNU C library defines this for functions which it implements
11268 to always fail with ENOSYS. Some functions are actually named
11269 something starting with __ and the normal name is an alias. */
11270 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11271 choke me
11272 #else
11273 $ac_func();
11274 #endif
11275
11276 ; return 0; }
11277 EOF
11278 if { (eval echo configure:11279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11279 rm -rf conftest*
11280 eval "ac_cv_func_$ac_func=yes"
11281 else
11282 echo "configure: failed program was:" >&5
11283 cat conftest.$ac_ext >&5
11284 rm -rf conftest*
11285 eval "ac_cv_func_$ac_func=no"
11286 fi
11287 rm -f conftest*
11288 fi
11289
11290 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11291 echo "$ac_t""yes" 1>&6
11292 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11293 cat >> confdefs.h <<EOF
11294 #define $ac_tr_func 1
11295 EOF
11296
11297 cat >> confdefs.h <<\EOF
11298 #define HAVE_DLOPEN 1
11299 EOF
11300
11301 HAVE_DL_FUNCS=1
11302
11303 else
11304 echo "$ac_t""no" 1>&6
11305 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
11306 echo "configure:11307: checking for dlopen in -ldl" >&5
11307 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
11308 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11309 echo $ac_n "(cached) $ac_c" 1>&6
11310 else
11311 ac_save_LIBS="$LIBS"
11312 LIBS="-ldl $LIBS"
11313 cat > conftest.$ac_ext <<EOF
11314 #line 11315 "configure"
11315 #include "confdefs.h"
11316 /* Override any gcc2 internal prototype to avoid an error. */
11317 /* We use char because int might match the return type of a gcc2
11318 builtin and then its argument prototype would still apply. */
11319 char dlopen();
11320
11321 int main() {
11322 dlopen()
11323 ; return 0; }
11324 EOF
11325 if { (eval echo configure:11326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11326 rm -rf conftest*
11327 eval "ac_cv_lib_$ac_lib_var=yes"
11328 else
11329 echo "configure: failed program was:" >&5
11330 cat conftest.$ac_ext >&5
11331 rm -rf conftest*
11332 eval "ac_cv_lib_$ac_lib_var=no"
11333 fi
11334 rm -f conftest*
11335 LIBS="$ac_save_LIBS"
11336
11337 fi
11338 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11339 echo "$ac_t""yes" 1>&6
11340
11341 cat >> confdefs.h <<\EOF
11342 #define HAVE_DLOPEN 1
11343 EOF
11344
11345 HAVE_DL_FUNCS=1
11346 LIBS="$LIBS -ldl"
11347
11348 else
11349 echo "$ac_t""no" 1>&6
11350
11351 for ac_func in shl_load
11352 do
11353 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11354 echo "configure:11355: checking for $ac_func" >&5
11355 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11356 echo $ac_n "(cached) $ac_c" 1>&6
11357 else
11358 cat > conftest.$ac_ext <<EOF
11359 #line 11360 "configure"
11360 #include "confdefs.h"
11361 /* System header to define __stub macros and hopefully few prototypes,
11362 which can conflict with char $ac_func(); below. */
11363 #include <assert.h>
11364 /* Override any gcc2 internal prototype to avoid an error. */
11365 /* We use char because int might match the return type of a gcc2
11366 builtin and then its argument prototype would still apply. */
11367 char $ac_func();
11368
11369 int main() {
11370
11371 /* The GNU C library defines this for functions which it implements
11372 to always fail with ENOSYS. Some functions are actually named
11373 something starting with __ and the normal name is an alias. */
11374 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11375 choke me
11376 #else
11377 $ac_func();
11378 #endif
11379
11380 ; return 0; }
11381 EOF
11382 if { (eval echo configure:11383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11383 rm -rf conftest*
11384 eval "ac_cv_func_$ac_func=yes"
11385 else
11386 echo "configure: failed program was:" >&5
11387 cat conftest.$ac_ext >&5
11388 rm -rf conftest*
11389 eval "ac_cv_func_$ac_func=no"
11390 fi
11391 rm -f conftest*
11392 fi
11393
11394 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11395 echo "$ac_t""yes" 1>&6
11396 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11397 cat >> confdefs.h <<EOF
11398 #define $ac_tr_func 1
11399 EOF
11400
11401 cat >> confdefs.h <<\EOF
11402 #define HAVE_SHL_LOAD 1
11403 EOF
11404
11405 HAVE_SHL_FUNCS=1
11406
11407 else
11408 echo "$ac_t""no" 1>&6
11409 fi
11410 done
11411
11412
11413 fi
11414
11415
11416 fi
11417 done
11418
11419
11420 if test "$HAVE_DL_FUNCS" = 0; then
11421 if test "$HAVE_SHL_FUNCS" = 0; then
11422 if test "$USE_UNIX" = 1; then
11423 echo "configure: warning: "--with-dynlib and --with-odbc will be disabled due to missing shared library support"" 1>&2
11424 wxUSE_ODBC=no
11425 wxUSE_DYNLIB_CLASS=no
11426 else
11427 echo "configure: warning: "Cannot check dynlib requirements on non-Unix platforms. dynlib remains enabled."" 1>&2
11428 fi
11429 fi
11430 fi
11431 fi
11432
11433 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
11434 cat >> confdefs.h <<\EOF
11435 #define wxUSE_DYNLIB_CLASS 1
11436 EOF
11437
11438 fi
11439
11440
11441 if test "$wxUSE_UNICODE" = "yes" ; then
11442 cat >> confdefs.h <<\EOF
11443 #define wxUSE_UNICODE 1
11444 EOF
11445
11446 fi
11447
11448 if test "$wxUSE_WCSRTOMBS" = "yes" ; then
11449 cat >> confdefs.h <<\EOF
11450 #define wxUSE_WCSRTOMBS 1
11451 EOF
11452
11453 fi
11454
11455 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
11456 cat >> confdefs.h <<\EOF
11457 #define wxUSE_EXPERIMENTAL_PRINTF 1
11458 EOF
11459
11460 fi
11461
11462
11463 IODBC_C_SRC=""
11464 if test "$wxUSE_ODBC" = "yes" ; then
11465 cat >> confdefs.h <<\EOF
11466 #define wxUSE_ODBC 1
11467 EOF
11468
11469 WXODBCFLAG="-D_IODBC_"
11470 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
11471 IODBCOBJS="\$(IODBC_OBJS)"
11472 else
11473 IODBCOBJS=
11474 fi
11475
11476
11477 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
11478 cat >> confdefs.h <<\EOF
11479 #define wxUSE_POSTSCRIPT 1
11480 EOF
11481
11482 fi
11483
11484 cat >> confdefs.h <<\EOF
11485 #define wxUSE_AFM_FOR_POSTSCRIPT 1
11486 EOF
11487
11488
11489 cat >> confdefs.h <<\EOF
11490 #define wxUSE_NORMALIZED_PS_FONTS 1
11491 EOF
11492
11493
11494
11495 if test "$wxUSE_CONSTRAINTS" = "yes"; then
11496 cat >> confdefs.h <<\EOF
11497 #define wxUSE_CONSTRAINTS 1
11498 EOF
11499
11500 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
11501 fi
11502
11503 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
11504 cat >> confdefs.h <<\EOF
11505 #define wxUSE_MDI_ARCHITECTURE 1
11506 EOF
11507
11508 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
11509 fi
11510
11511 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
11512 cat >> confdefs.h <<\EOF
11513 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
11514 EOF
11515
11516 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
11517 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
11518 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
11519 fi
11520 fi
11521
11522 if test "$wxUSE_HELP" = "yes"; then
11523 cat >> confdefs.h <<\EOF
11524 #define wxUSE_HELP 1
11525 EOF
11526
11527 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
11528 fi
11529
11530 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
11531 if test "$wxUSE_CONSTRAINTS" != "yes"; then
11532 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
11533 else
11534 cat >> confdefs.h <<\EOF
11535 #define wxUSE_PRINTING_ARCHITECTURE 1
11536 EOF
11537
11538 fi
11539 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
11540 fi
11541
11542 if test "$wxUSE_PROLOGIO" = "yes" ; then
11543 cat >> confdefs.h <<\EOF
11544 #define wxUSE_PROLOGIO 1
11545 EOF
11546
11547 fi
11548
11549 if test "$wxUSE_RESOURCES" = "yes" ; then
11550 if test "$wxUSE_PROLOGIO" = "yes" ; then
11551 cat >> confdefs.h <<\EOF
11552 #define wxUSE_RESOURCES 1
11553 EOF
11554
11555 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS resource"
11556 else
11557 echo "configure: warning: wxWindows ressource system requires PrologIO and can't be compiled without it." 1>&2
11558 fi
11559 fi
11560
11561 if test "$wxUSE_X_RESOURCES" = "yes"; then
11562 cat >> confdefs.h <<\EOF
11563 #define wxUSE_X_RESOURCES 1
11564 EOF
11565
11566 fi
11567
11568
11569 if test "$wxUSE_IPC" = "yes"; then
11570 cat >> confdefs.h <<\EOF
11571 #define wxUSE_IPC 1
11572 EOF
11573
11574 fi
11575
11576 if test "$wxUSE_CLIPBOARD" = "yes"; then
11577 cat >> confdefs.h <<\EOF
11578 #define wxUSE_CLIPBOARD 1
11579 EOF
11580
11581 fi
11582
11583 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
11584 if test "$wxUSE_GTK" = 1; then
11585 if test "$WXGTK12" != 1; then
11586 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2" 1>&2
11587 wxUSE_DRAG_AND_DROP=no
11588 fi
11589 fi
11590
11591 if test "$wxUSE_MOTIF" = 1; then
11592 echo "configure: warning: Drag and drop is not yet supported under Motif" 1>&2
11593 wxUSE_DRAG_AND_DROP=no
11594 fi
11595
11596 if test "$USE_WIN32" = 1; then
11597 for ac_hdr in ole2.h
11598 do
11599 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11600 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11601 echo "configure:11602: checking for $ac_hdr" >&5
11602 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11603 echo $ac_n "(cached) $ac_c" 1>&6
11604 else
11605 cat > conftest.$ac_ext <<EOF
11606 #line 11607 "configure"
11607 #include "confdefs.h"
11608 #include <$ac_hdr>
11609 EOF
11610 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11611 { (eval echo configure:11612: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11612 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11613 if test -z "$ac_err"; then
11614 rm -rf conftest*
11615 eval "ac_cv_header_$ac_safe=yes"
11616 else
11617 echo "$ac_err" >&5
11618 echo "configure: failed program was:" >&5
11619 cat conftest.$ac_ext >&5
11620 rm -rf conftest*
11621 eval "ac_cv_header_$ac_safe=no"
11622 fi
11623 rm -f conftest*
11624 fi
11625 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11626 echo "$ac_t""yes" 1>&6
11627 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11628 cat >> confdefs.h <<EOF
11629 #define $ac_tr_hdr 1
11630 EOF
11631
11632 else
11633 echo "$ac_t""no" 1>&6
11634 fi
11635 done
11636
11637 if test "x$HAVE_OLE2_H" = x ; then
11638 echo "configure: warning: Drag and drop disabled because OLE headers not found" 1>&2
11639 wxUSE_DRAG_AND_DROP=no
11640 fi
11641 fi
11642
11643 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
11644 cat >> confdefs.h <<\EOF
11645 #define wxUSE_DRAG_AND_DROP 1
11646 EOF
11647
11648 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
11649 fi
11650
11651 fi
11652
11653 if test "$wxUSE_SPLINES" = "yes" ; then
11654 cat >> confdefs.h <<\EOF
11655 #define wxUSE_SPLINES 1
11656 EOF
11657
11658 fi
11659
11660
11661 if test "$wxUSE_ACCEL" = "yes"; then
11662 cat >> confdefs.h <<\EOF
11663 #define wxUSE_ACCEL 1
11664 EOF
11665
11666 fi
11667
11668 if test "$wxUSE_CARET" = "yes"; then
11669 cat >> confdefs.h <<\EOF
11670 #define wxUSE_CARET 1
11671 EOF
11672
11673 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
11674 fi
11675
11676 if test "$wxUSE_COMBOBOX" = "yes"; then
11677 cat >> confdefs.h <<\EOF
11678 #define wxUSE_COMBOBOX 1
11679 EOF
11680
11681 fi
11682
11683 if test "$wxUSE_CHOICE" = "yes"; then
11684 cat >> confdefs.h <<\EOF
11685 #define wxUSE_CHOICE 1
11686 EOF
11687
11688 fi
11689
11690 if test "$wxUSE_BMPBUTTON" = "yes"; then
11691 cat >> confdefs.h <<\EOF
11692 #define wxUSE_BMPBUTTON 1
11693 EOF
11694
11695 fi
11696
11697 if test "$wxUSE_CHECKBOX" = "yes"; then
11698 cat >> confdefs.h <<\EOF
11699 #define wxUSE_CHECKBOX 1
11700 EOF
11701
11702 fi
11703
11704 if test "$wxUSE_CHECKLST" = "yes"; then
11705 cat >> confdefs.h <<\EOF
11706 #define wxUSE_CHECKLISTBOX 1
11707 EOF
11708
11709 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
11710 fi
11711
11712 if test "$wxUSE_GAUGE" = "yes"; then
11713 cat >> confdefs.h <<\EOF
11714 #define wxUSE_GAUGE 1
11715 EOF
11716
11717 fi
11718
11719 if test "$wxUSE_GRID" = "yes"; then
11720 cat >> confdefs.h <<\EOF
11721 #define wxUSE_GRID 1
11722 EOF
11723
11724 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
11725 fi
11726
11727 if test "$wxUSE_NEW_GRID" = "yes"; then
11728 cat >> confdefs.h <<\EOF
11729 #define wxUSE_NEW_GRID 1
11730 EOF
11731
11732 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS newgrid"
11733 fi
11734
11735 if test "$wxUSE_IMAGLIST" = "yes"; then
11736 cat >> confdefs.h <<\EOF
11737 #define wxUSE_IMAGLIST 1
11738 EOF
11739
11740 fi
11741
11742 if test "$wxUSE_LISTBOX" = "yes"; then
11743 cat >> confdefs.h <<\EOF
11744 #define wxUSE_LISTBOX 1
11745 EOF
11746
11747 fi
11748
11749 if test "$wxUSE_LISTCTRL" = "yes"; then
11750 if test "$wxUSE_IMAGLIST" = "yes"; then
11751 cat >> confdefs.h <<\EOF
11752 #define wxUSE_LISTCTRL 1
11753 EOF
11754
11755 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
11756 else
11757 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
11758 fi
11759 fi
11760
11761 if test "$wxUSE_NOTEBOOK" = "yes"; then
11762 cat >> confdefs.h <<\EOF
11763 #define wxUSE_NOTEBOOK 1
11764 EOF
11765
11766 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
11767 fi
11768
11769 if test "$wxUSE_RADIOBOX" = "yes"; then
11770 cat >> confdefs.h <<\EOF
11771 #define wxUSE_RADIOBOX 1
11772 EOF
11773
11774 fi
11775
11776 if test "$wxUSE_RADIOBTN" = "yes"; then
11777 cat >> confdefs.h <<\EOF
11778 #define wxUSE_RADIOBTN 1
11779 EOF
11780
11781 fi
11782
11783 if test "$wxUSE_SASH" = "yes"; then
11784 cat >> confdefs.h <<\EOF
11785 #define wxUSE_SASH 1
11786 EOF
11787
11788 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
11789 fi
11790
11791 if test "$wxUSE_SCROLLBAR" = "yes"; then
11792 cat >> confdefs.h <<\EOF
11793 #define wxUSE_SCROLLBAR 1
11794 EOF
11795
11796 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
11797 fi
11798
11799 if test "$wxUSE_SLIDER" = "yes"; then
11800 cat >> confdefs.h <<\EOF
11801 #define wxUSE_SLIDER 1
11802 EOF
11803
11804 fi
11805
11806 if test "$wxUSE_SPINBTN" = "yes"; then
11807 cat >> confdefs.h <<\EOF
11808 #define wxUSE_SPINBTN 1
11809 EOF
11810
11811 fi
11812
11813 if test "$wxUSE_SPLITTER" = "yes"; then
11814 cat >> confdefs.h <<\EOF
11815 #define wxUSE_SPLITTER 1
11816 EOF
11817
11818 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
11819 fi
11820
11821 if test "$wxUSE_STATBMP" = "yes"; then
11822 cat >> confdefs.h <<\EOF
11823 #define wxUSE_STATBMP 1
11824 EOF
11825
11826 fi
11827
11828 if test "$wxUSE_STATBOX" = "yes"; then
11829 cat >> confdefs.h <<\EOF
11830 #define wxUSE_STATBOX 1
11831 EOF
11832
11833 fi
11834
11835 if test "$wxUSE_STATLINE" = "yes"; then
11836 if test "$wxUSE_WINE" = 1 ; then
11837 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
11838 else
11839 cat >> confdefs.h <<\EOF
11840 #define wxUSE_STATLINE 1
11841 EOF
11842
11843 fi
11844 fi
11845
11846 if test "$wxUSE_STATUSBAR" = "yes"; then
11847 cat >> confdefs.h <<\EOF
11848 #define wxUSE_STATUSBAR 1
11849 EOF
11850
11851 fi
11852
11853 if test "$wxUSE_TABDIALOG" = "yes"; then
11854 cat >> confdefs.h <<\EOF
11855 #define wxUSE_TAB_DIALOG 1
11856 EOF
11857
11858 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS tab"
11859 fi
11860
11861 if test "$wxUSE_TOOLBAR" = "yes"; then
11862 cat >> confdefs.h <<\EOF
11863 #define wxUSE_TOOLBAR 1
11864 EOF
11865
11866 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
11867 fi
11868
11869 if test "$wxUSE_TOOLTIPS" = "yes"; then
11870 if test "$wxUSE_MOTIF" = 1; then
11871 echo "configure: warning: wxTooltip not supported yet under Motif" 1>&2
11872 else
11873 if test "$wxUSE_WINE" = 1; then
11874 echo "configure: warning: wxTooltip not supported under WINE" 1>&2
11875 else
11876 cat >> confdefs.h <<\EOF
11877 #define wxUSE_TOOLTIPS 1
11878 EOF
11879
11880 fi
11881 fi
11882 fi
11883
11884 if test "$wxUSE_TREECTRL" = "yes"; then
11885 if test "$wxUSE_IMAGLIST" = "yes"; then
11886 cat >> confdefs.h <<\EOF
11887 #define wxUSE_TREECTRL 1
11888 EOF
11889
11890 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
11891 else
11892 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
11893 fi
11894 fi
11895
11896
11897
11898 if test "$wxUSE_METAFILE" = "yes"; then
11899 cat >> confdefs.h <<\EOF
11900 #define wxUSE_METAFILE 1
11901 EOF
11902
11903 fi
11904
11905 if test "$wxUSE_DIRDLG" = "yes"; then
11906 if test "$wxUSE_CONSTRAINTS" != "yes"; then
11907 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
11908 else
11909 if test "$wxUSE_TREECTRL" != "yes"; then
11910 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
11911 else
11912 cat >> confdefs.h <<\EOF
11913 #define wxUSE_DIRDLG 1
11914 EOF
11915
11916 fi
11917 fi
11918 fi
11919
11920 if test "$wxUSE_TEXTDLG" = "yes"; then
11921 cat >> confdefs.h <<\EOF
11922 #define wxUSE_TEXTDLG 1
11923 EOF
11924
11925 fi
11926
11927 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
11928 if test "$wxUSE_CONSTRAINTS" != "yes"; then
11929 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
11930 else
11931 cat >> confdefs.h <<\EOF
11932 #define wxUSE_STARTUP_TIPS 1
11933 EOF
11934
11935 fi
11936 fi
11937
11938 if test "$wxUSE_PROGRESSDLG" = "yes"; then
11939 if test "$wxUSE_CONSTRAINTS" != "yes"; then
11940 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
11941 else
11942 cat >> confdefs.h <<\EOF
11943 #define wxUSE_PROGRESSDLG 1
11944 EOF
11945
11946 fi
11947 fi
11948
11949 if test "$wxUSE_MINIFRAME" = "yes"; then
11950 cat >> confdefs.h <<\EOF
11951 #define wxUSE_MINIFRAME 1
11952 EOF
11953
11954 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
11955 fi
11956
11957 if test "$wxUSE_HTML" = "yes"; then
11958 cat >> confdefs.h <<\EOF
11959 #define wxUSE_HTML 1
11960 EOF
11961
11962 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html"
11963 INCLUDE_SUBDIRS="$INCLUDE_SUBDIRS html"
11964 fi
11965
11966 if test "$wxUSE_VALIDATORS" = "yes"; then
11967 cat >> confdefs.h <<\EOF
11968 #define wxUSE_VALIDATORS 1
11969 EOF
11970
11971 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
11972 fi
11973
11974 if test "$wxUSE_GIF" = "yes" ; then
11975 cat >> confdefs.h <<\EOF
11976 #define wxUSE_GIF 1
11977 EOF
11978
11979 fi
11980
11981 if test "$wxUSE_PCX" = "yes" ; then
11982 cat >> confdefs.h <<\EOF
11983 #define wxUSE_PCX 1
11984 EOF
11985
11986 fi
11987
11988 if test "$wxUSE_PNM" = "yes" ; then
11989 cat >> confdefs.h <<\EOF
11990 #define wxUSE_PNM 1
11991 EOF
11992
11993 fi
11994
11995
11996 GUILIBS="$GUI_TK_LIBRARY $OPENGL_LINK $LIBPNG_LINK $ZLIB_LINK $TOOLKIT_LINK"
11997
11998 EXTRA_LIBS="$LIBS $POSIX4_LINK $WCHAR_LINK $THREADS_LINK $DMALLOC_LINK $DL_LINK"
11999 if test "$wxUSE_GUI" = "yes"; then
12000 EXTRA_LIBS="$EXTRA_LIBS $GUILIBS"
12001 fi
12002
12003 LD_LIBS="\${top_builddir}/lib/${WX_LIBRARY_NAME_STATIC} $EXTRA_LIBS"
12004
12005 INCLUDES="-I. -I\${top_builddir}/include -I\${top_srcdir}/include $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TOOLKIT_INCLUDE"
12006
12007 if test "$GXX" = yes ; then
12008 CXXWARNINGS="-Wall"
12009 fi
12010 EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
12011
12012 CPPFLAGS="-I\${top_srcdir}/include $CPPFLAGS"
12013 CFLAGS="$CFLAGS $EXTRA_CFLAGS"
12014 CXXFLAGS="$CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS"
12015
12016 if test "$wxUSE_GUI" = "yes"; then
12017
12018 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS bombs controls dialogs drawing dynamic \
12019 forty fractal image wxpoem"
12020 else
12021 SAMPLES_SUBDIRS=""
12022 fi
12023
12024 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '`"
12025
12026
12027
12028
12029
12030
12031
12032
12033
12034
12035
12036
12037
12038
12039
12040
12041
12042
12043
12044
12045
12046
12047
12048
12049
12050
12051
12052
12053
12054
12055
12056
12057
12058
12059
12060
12061
12062
12063
12064
12065
12066
12067
12068
12069
12070
12071
12072
12073
12074
12075
12076
12077
12078
12079 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
12080 echo "configure:12081: checking whether ${MAKE-make} sets \${MAKE}" >&5
12081 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
12082 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
12083 echo $ac_n "(cached) $ac_c" 1>&6
12084 else
12085 cat > conftestmake <<\EOF
12086 all:
12087 @echo 'ac_maketemp="${MAKE}"'
12088 EOF
12089 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
12090 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
12091 if test -n "$ac_maketemp"; then
12092 eval ac_cv_prog_make_${ac_make}_set=yes
12093 else
12094 eval ac_cv_prog_make_${ac_make}_set=no
12095 fi
12096 rm -f conftestmake
12097 fi
12098 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
12099 echo "$ac_t""yes" 1>&6
12100 SET_MAKE=
12101 else
12102 echo "$ac_t""no" 1>&6
12103 SET_MAKE="MAKE=${MAKE-make}"
12104 fi
12105
12106
12107
12108
12109 if test "${TOOLKIT_DIR}" = "msw" ; then
12110 GL_TOOLKIT_DIR="win"
12111 else
12112 GL_TOOLKIT_DIR="${TOOLKIT_DIR}"
12113 fi
12114
12115
12116 trap '' 1 2 15
12117 cat > confcache <<\EOF
12118 # This file is a shell script that caches the results of configure
12119 # tests run on this system so they can be shared between configure
12120 # scripts and configure runs. It is not useful on other systems.
12121 # If it contains results you don't want to keep, you may remove or edit it.
12122 #
12123 # By default, configure uses ./config.cache as the cache file,
12124 # creating it if it does not exist already. You can give configure
12125 # the --cache-file=FILE option to use a different cache file; that is
12126 # what configure does when it calls configure scripts in
12127 # subdirectories, so they share the cache.
12128 # Giving --cache-file=/dev/null disables caching, for debugging configure.
12129 # config.status only pays attention to the cache file if you give it the
12130 # --recheck option to rerun configure.
12131 #
12132 EOF
12133 # The following way of writing the cache mishandles newlines in values,
12134 # but we know of no workaround that is simple, portable, and efficient.
12135 # So, don't put newlines in cache variables' values.
12136 # Ultrix sh set writes to stderr and can't be redirected directly,
12137 # and sets the high bit in the cache file unless we assign to the vars.
12138 (set) 2>&1 |
12139 case `(ac_space=' '; set | grep ac_space) 2>&1` in
12140 *ac_space=\ *)
12141 # `set' does not quote correctly, so add quotes (double-quote substitution
12142 # turns \\\\ into \\, and sed turns \\ into \).
12143 sed -n \
12144 -e "s/'/'\\\\''/g" \
12145 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
12146 ;;
12147 *)
12148 # `set' quotes correctly as required by POSIX, so do not add quotes.
12149 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
12150 ;;
12151 esac >> confcache
12152 if cmp -s $cache_file confcache; then
12153 :
12154 else
12155 if test -w $cache_file; then
12156 echo "updating cache $cache_file"
12157 cat confcache > $cache_file
12158 else
12159 echo "not updating unwritable cache $cache_file"
12160 fi
12161 fi
12162 rm -f confcache
12163
12164 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
12165
12166 test "x$prefix" = xNONE && prefix=$ac_default_prefix
12167 # Let make expand exec_prefix.
12168 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12169
12170 # Any assignment to VPATH causes Sun make to only execute
12171 # the first set of double-colon rules, so remove it if not needed.
12172 # If there is a colon in the path, we need to keep it.
12173 if test "x$srcdir" = x.; then
12174 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
12175 fi
12176
12177 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
12178
12179 DEFS=-DHAVE_CONFIG_H
12180
12181 # Without the "./", some shells look in PATH for config.status.
12182 : ${CONFIG_STATUS=./config.status}
12183
12184 echo creating $CONFIG_STATUS
12185 rm -f $CONFIG_STATUS
12186 cat > $CONFIG_STATUS <<EOF
12187 #! /bin/sh
12188 # Generated automatically by configure.
12189 # Run this file to recreate the current configuration.
12190 # This directory was configured as follows,
12191 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12192 #
12193 # $0 $ac_configure_args
12194 #
12195 # Compiler output produced by configure, useful for debugging
12196 # configure, is in ./config.log if it exists.
12197
12198 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
12199 for ac_option
12200 do
12201 case "\$ac_option" in
12202 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12203 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
12204 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
12205 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
12206 echo "$CONFIG_STATUS generated by autoconf version 2.13"
12207 exit 0 ;;
12208 -help | --help | --hel | --he | --h)
12209 echo "\$ac_cs_usage"; exit 0 ;;
12210 *) echo "\$ac_cs_usage"; exit 1 ;;
12211 esac
12212 done
12213
12214 ac_given_srcdir=$srcdir
12215 ac_given_INSTALL="$INSTALL"
12216
12217 trap 'rm -fr `echo "
12218 wx-config
12219 src/make.env
12220 src/makeprog.env
12221 src/makelib.env
12222 Makefile
12223 samples/Makefile
12224 samples/bombs/Makefile
12225 samples/caret/Makefile
12226 samples/checklst/Makefile
12227 samples/config/Makefile
12228 samples/controls/Makefile
12229 samples/db/Makefile
12230 samples/dialogs/Makefile
12231 samples/docview/Makefile
12232 samples/docvwmdi/Makefile
12233 samples/dnd/Makefile
12234 samples/drawing/Makefile
12235 samples/forty/Makefile
12236 samples/fractal/Makefile
12237 samples/image/Makefile
12238 samples/internat/Makefile
12239 samples/layout/Makefile
12240 samples/listctrl/Makefile
12241 samples/mdi/Makefile
12242 samples/minifram/Makefile
12243 samples/minimal/Makefile
12244 samples/nettest/Makefile
12245 samples/newgrid/Makefile
12246 samples/notebook/Makefile
12247 samples/png/Makefile
12248 samples/printing/Makefile
12249 samples/proplist/Makefile
12250 samples/richedit/Makefile
12251 samples/resource/Makefile
12252 samples/sashtest/Makefile
12253 samples/scroll/Makefile
12254 samples/splitter/Makefile
12255 samples/text/Makefile
12256 samples/thread/Makefile
12257 samples/toolbar/Makefile
12258 samples/treectrl/Makefile
12259 samples/typetest/Makefile
12260 samples/validate/Makefile
12261 samples/wxpoem/Makefile
12262 samples/wxsocket/Makefile
12263 samples/wizard/Makefile
12264 samples/html/Makefile
12265 samples/html/about/Makefile
12266 samples/html/help/Makefile
12267 samples/html/printing/Makefile
12268 samples/html/test/Makefile
12269 samples/html/zip/Makefile
12270 samples/html/virtual/Makefile
12271 samples/html/widget/Makefile
12272 utils/Makefile
12273 utils/wxMMedia2/Makefile
12274 utils/wxMMedia2/lib/Makefile
12275 utils/wxMMedia2/sample/Makefile
12276 utils/glcanvas/Makefile
12277 utils/glcanvas/${GL_TOOLKIT_DIR}/Makefile
12278 utils/ogl/Makefile
12279 utils/ogl/src/Makefile
12280 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
12281 EOF
12282 cat >> $CONFIG_STATUS <<EOF
12283
12284 # Protect against being on the right side of a sed subst in config.status.
12285 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
12286 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
12287 $ac_vpsub
12288 $extrasub
12289 s%@SHELL@%$SHELL%g
12290 s%@CFLAGS@%$CFLAGS%g
12291 s%@CPPFLAGS@%$CPPFLAGS%g
12292 s%@CXXFLAGS@%$CXXFLAGS%g
12293 s%@FFLAGS@%$FFLAGS%g
12294 s%@DEFS@%$DEFS%g
12295 s%@LDFLAGS@%$LDFLAGS%g
12296 s%@LIBS@%$LIBS%g
12297 s%@exec_prefix@%$exec_prefix%g
12298 s%@prefix@%$prefix%g
12299 s%@program_transform_name@%$program_transform_name%g
12300 s%@bindir@%$bindir%g
12301 s%@sbindir@%$sbindir%g
12302 s%@libexecdir@%$libexecdir%g
12303 s%@datadir@%$datadir%g
12304 s%@sysconfdir@%$sysconfdir%g
12305 s%@sharedstatedir@%$sharedstatedir%g
12306 s%@localstatedir@%$localstatedir%g
12307 s%@libdir@%$libdir%g
12308 s%@includedir@%$includedir%g
12309 s%@oldincludedir@%$oldincludedir%g
12310 s%@infodir@%$infodir%g
12311 s%@mandir@%$mandir%g
12312 s%@host@%$host%g
12313 s%@host_alias@%$host_alias%g
12314 s%@host_cpu@%$host_cpu%g
12315 s%@host_vendor@%$host_vendor%g
12316 s%@host_os@%$host_os%g
12317 s%@target@%$target%g
12318 s%@target_alias@%$target_alias%g
12319 s%@target_cpu@%$target_cpu%g
12320 s%@target_vendor@%$target_vendor%g
12321 s%@target_os@%$target_os%g
12322 s%@build@%$build%g
12323 s%@build_alias@%$build_alias%g
12324 s%@build_cpu@%$build_cpu%g
12325 s%@build_vendor@%$build_vendor%g
12326 s%@build_os@%$build_os%g
12327 s%@CC@%$CC%g
12328 s%@CPP@%$CPP%g
12329 s%@CXX@%$CXX%g
12330 s%@CXXCPP@%$CXXCPP%g
12331 s%@RANLIB@%$RANLIB%g
12332 s%@AR@%$AR%g
12333 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
12334 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
12335 s%@INSTALL_DATA@%$INSTALL_DATA%g
12336 s%@STRIP@%$STRIP%g
12337 s%@YACC@%$YACC%g
12338 s%@LEX@%$LEX%g
12339 s%@LEXLIB@%$LEXLIB%g
12340 s%@LN_S@%$LN_S%g
12341 s%@GTK_CONFIG@%$GTK_CONFIG%g
12342 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
12343 s%@GTK_LIBS@%$GTK_LIBS%g
12344 s%@X_CFLAGS@%$X_CFLAGS%g
12345 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
12346 s%@X_LIBS@%$X_LIBS%g
12347 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
12348 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
12349 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
12350 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
12351 s%@WX_LIBRARY_NAME@%$WX_LIBRARY_NAME%g
12352 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
12353 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
12354 s%@WX_LIBRARY@%$WX_LIBRARY%g
12355 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
12356 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
12357 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
12358 s%@WX_LIBRARY_LINK3@%$WX_LIBRARY_LINK3%g
12359 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
12360 s%@WX_ALL@%$WX_ALL%g
12361 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
12362 s%@SHARED_LD@%$SHARED_LD%g
12363 s%@PIC_FLAG@%$PIC_FLAG%g
12364 s%@DEP_INFO_FLAGS@%$DEP_INFO_FLAGS%g
12365 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
12366 s%@TOOLKIT@%$TOOLKIT%g
12367 s%@TOOLKIT_DEF@%$TOOLKIT_DEF%g
12368 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
12369 s%@TOOLKIT_INCLUDE@%$TOOLKIT_INCLUDE%g
12370 s%@GUIHEADERS@%$GUIHEADERS%g
12371 s%@GUIOBJS@%$GUIOBJS%g
12372 s%@COMMONOBJS@%$COMMONOBJS%g
12373 s%@GENERICOBJS@%$GENERICOBJS%g
12374 s%@GUIDEPS@%$GUIDEPS%g
12375 s%@COMMONDEPS@%$COMMONDEPS%g
12376 s%@GENERICDEPS@%$GENERICDEPS%g
12377 s%@IODBCOBJS@%$IODBCOBJS%g
12378 s%@UNIXOBJS@%$UNIXOBJS%g
12379 s%@UNIXDEPS@%$UNIXDEPS%g
12380 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
12381 s%@ALL_DEPFILES@%$ALL_DEPFILES%g
12382 s%@ALL_HEADERS@%$ALL_HEADERS%g
12383 s%@GUIDIST@%$GUIDIST%g
12384 s%@SRC_SUBDIRS@%$SRC_SUBDIRS%g
12385 s%@INCLUDE_SUBDIRS@%$INCLUDE_SUBDIRS%g
12386 s%@UTILS_SUBDIRS@%$UTILS_SUBDIRS%g
12387 s%@DOCS_SUBDIRS@%$DOCS_SUBDIRS%g
12388 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
12389 s%@USER_SUBDIRS@%$USER_SUBDIRS%g
12390 s%@EXTRA_LIBS@%$EXTRA_LIBS%g
12391 s%@LD_LIBS@%$LD_LIBS%g
12392 s%@SET_MAKE@%$SET_MAKE%g
12393 s%@GL_TOOLKIT_DIR@%$GL_TOOLKIT_DIR%g
12394
12395 CEOF
12396 EOF
12397
12398 cat >> $CONFIG_STATUS <<\EOF
12399
12400 # Split the substitutions into bite-sized pieces for seds with
12401 # small command number limits, like on Digital OSF/1 and HP-UX.
12402 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
12403 ac_file=1 # Number of current file.
12404 ac_beg=1 # First line for current file.
12405 ac_end=$ac_max_sed_cmds # Line after last line for current file.
12406 ac_more_lines=:
12407 ac_sed_cmds=""
12408 while $ac_more_lines; do
12409 if test $ac_beg -gt 1; then
12410 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
12411 else
12412 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
12413 fi
12414 if test ! -s conftest.s$ac_file; then
12415 ac_more_lines=false
12416 rm -f conftest.s$ac_file
12417 else
12418 if test -z "$ac_sed_cmds"; then
12419 ac_sed_cmds="sed -f conftest.s$ac_file"
12420 else
12421 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
12422 fi
12423 ac_file=`expr $ac_file + 1`
12424 ac_beg=$ac_end
12425 ac_end=`expr $ac_end + $ac_max_sed_cmds`
12426 fi
12427 done
12428 if test -z "$ac_sed_cmds"; then
12429 ac_sed_cmds=cat
12430 fi
12431 EOF
12432
12433 cat >> $CONFIG_STATUS <<EOF
12434
12435 CONFIG_FILES=\${CONFIG_FILES-"wx-config
12436 src/make.env
12437 src/makeprog.env
12438 src/makelib.env
12439 Makefile
12440 samples/Makefile
12441 samples/bombs/Makefile
12442 samples/caret/Makefile
12443 samples/checklst/Makefile
12444 samples/config/Makefile
12445 samples/controls/Makefile
12446 samples/db/Makefile
12447 samples/dialogs/Makefile
12448 samples/docview/Makefile
12449 samples/docvwmdi/Makefile
12450 samples/dnd/Makefile
12451 samples/drawing/Makefile
12452 samples/forty/Makefile
12453 samples/fractal/Makefile
12454 samples/image/Makefile
12455 samples/internat/Makefile
12456 samples/layout/Makefile
12457 samples/listctrl/Makefile
12458 samples/mdi/Makefile
12459 samples/minifram/Makefile
12460 samples/minimal/Makefile
12461 samples/nettest/Makefile
12462 samples/newgrid/Makefile
12463 samples/notebook/Makefile
12464 samples/png/Makefile
12465 samples/printing/Makefile
12466 samples/proplist/Makefile
12467 samples/richedit/Makefile
12468 samples/resource/Makefile
12469 samples/sashtest/Makefile
12470 samples/scroll/Makefile
12471 samples/splitter/Makefile
12472 samples/text/Makefile
12473 samples/thread/Makefile
12474 samples/toolbar/Makefile
12475 samples/treectrl/Makefile
12476 samples/typetest/Makefile
12477 samples/validate/Makefile
12478 samples/wxpoem/Makefile
12479 samples/wxsocket/Makefile
12480 samples/wizard/Makefile
12481 samples/html/Makefile
12482 samples/html/about/Makefile
12483 samples/html/help/Makefile
12484 samples/html/printing/Makefile
12485 samples/html/test/Makefile
12486 samples/html/zip/Makefile
12487 samples/html/virtual/Makefile
12488 samples/html/widget/Makefile
12489 utils/Makefile
12490 utils/wxMMedia2/Makefile
12491 utils/wxMMedia2/lib/Makefile
12492 utils/wxMMedia2/sample/Makefile
12493 utils/glcanvas/Makefile
12494 utils/glcanvas/${GL_TOOLKIT_DIR}/Makefile
12495 utils/ogl/Makefile
12496 utils/ogl/src/Makefile
12497 "}
12498 EOF
12499 cat >> $CONFIG_STATUS <<\EOF
12500 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
12501 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12502 case "$ac_file" in
12503 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
12504 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
12505 *) ac_file_in="${ac_file}.in" ;;
12506 esac
12507
12508 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
12509
12510 # Remove last slash and all that follows it. Not all systems have dirname.
12511 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
12512 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
12513 # The file is in a subdirectory.
12514 test ! -d "$ac_dir" && mkdir "$ac_dir"
12515 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
12516 # A "../" for each directory in $ac_dir_suffix.
12517 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
12518 else
12519 ac_dir_suffix= ac_dots=
12520 fi
12521
12522 case "$ac_given_srcdir" in
12523 .) srcdir=.
12524 if test -z "$ac_dots"; then top_srcdir=.
12525 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
12526 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
12527 *) # Relative path.
12528 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
12529 top_srcdir="$ac_dots$ac_given_srcdir" ;;
12530 esac
12531
12532 case "$ac_given_INSTALL" in
12533 [/$]*) INSTALL="$ac_given_INSTALL" ;;
12534 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
12535 esac
12536
12537 echo creating "$ac_file"
12538 rm -f "$ac_file"
12539 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
12540 case "$ac_file" in
12541 *Makefile*) ac_comsub="1i\\
12542 # $configure_input" ;;
12543 *) ac_comsub= ;;
12544 esac
12545
12546 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
12547 sed -e "$ac_comsub
12548 s%@configure_input@%$configure_input%g
12549 s%@srcdir@%$srcdir%g
12550 s%@top_srcdir@%$top_srcdir%g
12551 s%@INSTALL@%$INSTALL%g
12552 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
12553 fi; done
12554 rm -f conftest.s*
12555
12556 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
12557 # NAME is the cpp macro being defined and VALUE is the value it is being given.
12558 #
12559 # ac_d sets the value in "#define NAME VALUE" lines.
12560 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
12561 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
12562 ac_dC='\3'
12563 ac_dD='%g'
12564 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
12565 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
12566 ac_uB='\([ ]\)%\1#\2define\3'
12567 ac_uC=' '
12568 ac_uD='\4%g'
12569 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
12570 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
12571 ac_eB='$%\1#\2define\3'
12572 ac_eC=' '
12573 ac_eD='%g'
12574
12575 if test "${CONFIG_HEADERS+set}" != set; then
12576 EOF
12577 cat >> $CONFIG_STATUS <<EOF
12578 CONFIG_HEADERS="setup.h:setup.h.in"
12579 EOF
12580 cat >> $CONFIG_STATUS <<\EOF
12581 fi
12582 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
12583 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12584 case "$ac_file" in
12585 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
12586 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
12587 *) ac_file_in="${ac_file}.in" ;;
12588 esac
12589
12590 echo creating $ac_file
12591
12592 rm -f conftest.frag conftest.in conftest.out
12593 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
12594 cat $ac_file_inputs > conftest.in
12595
12596 EOF
12597
12598 # Transform confdefs.h into a sed script conftest.vals that substitutes
12599 # the proper values into config.h.in to produce config.h. And first:
12600 # Protect against being on the right side of a sed subst in config.status.
12601 # Protect against being in an unquoted here document in config.status.
12602 rm -f conftest.vals
12603 cat > conftest.hdr <<\EOF
12604 s/[\\&%]/\\&/g
12605 s%[\\$`]%\\&%g
12606 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
12607 s%ac_d%ac_u%gp
12608 s%ac_u%ac_e%gp
12609 EOF
12610 sed -n -f conftest.hdr confdefs.h > conftest.vals
12611 rm -f conftest.hdr
12612
12613 # This sed command replaces #undef with comments. This is necessary, for
12614 # example, in the case of _POSIX_SOURCE, which is predefined and required
12615 # on some systems where configure will not decide to define it.
12616 cat >> conftest.vals <<\EOF
12617 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
12618 EOF
12619
12620 # Break up conftest.vals because some shells have a limit on
12621 # the size of here documents, and old seds have small limits too.
12622
12623 rm -f conftest.tail
12624 while :
12625 do
12626 ac_lines=`grep -c . conftest.vals`
12627 # grep -c gives empty output for an empty file on some AIX systems.
12628 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
12629 # Write a limited-size here document to conftest.frag.
12630 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
12631 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
12632 echo 'CEOF
12633 sed -f conftest.frag conftest.in > conftest.out
12634 rm -f conftest.in
12635 mv conftest.out conftest.in
12636 ' >> $CONFIG_STATUS
12637 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
12638 rm -f conftest.vals
12639 mv conftest.tail conftest.vals
12640 done
12641 rm -f conftest.vals
12642
12643 cat >> $CONFIG_STATUS <<\EOF
12644 rm -f conftest.frag conftest.h
12645 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
12646 cat conftest.in >> conftest.h
12647 rm -f conftest.in
12648 if cmp -s $ac_file conftest.h 2>/dev/null; then
12649 echo "$ac_file is unchanged"
12650 rm -f conftest.h
12651 else
12652 # Remove last slash and all that follows it. Not all systems have dirname.
12653 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
12654 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
12655 # The file is in a subdirectory.
12656 test ! -d "$ac_dir" && mkdir "$ac_dir"
12657 fi
12658 rm -f $ac_file
12659 mv conftest.h $ac_file
12660 fi
12661 fi; done
12662
12663 EOF
12664 cat >> $CONFIG_STATUS <<EOF
12665
12666 LN_S="${ac_cv_prog_LN_S}"
12667 TOOLKIT_DIR="${TOOLKIT_DIR}"
12668
12669
12670 EOF
12671 cat >> $CONFIG_STATUS <<\EOF
12672
12673 chmod +x wx-config
12674 if test ! -d include; then
12675 mkdir include
12676 fi
12677 if test ! -d include/wx; then
12678 mkdir include/wx
12679 fi
12680 if test ! -d include/wx/${TOOLKIT_DIR}; then
12681 mkdir include/wx/${TOOLKIT_DIR}
12682 fi
12683 cp -f setup.h include/wx/${TOOLKIT_DIR}/setup.h
12684
12685 exit 0
12686 EOF
12687 chmod +x $CONFIG_STATUS
12688 rm -fr confdefs* $ac_clean_files
12689 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
12690
12691