]> git.saurik.com Git - wxWidgets.git/blob - configure
fixed windows.h check and added checks for MS HTML Help
[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 # Configure paths for GTK+
40 # Owen Taylor 97-11-3
41
42
43
44
45
46
47 # Guess values for system-dependent variables and create Makefiles.
48 # Generated automatically using autoconf version 2.13
49 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
50 #
51 # This configure script is free software; the Free Software Foundation
52 # gives unlimited permission to copy, distribute and modify it.
53
54 # Defaults:
55 ac_help=
56 ac_default_prefix=/usr/local
57 # Any additions from configure.in:
58 ac_help="$ac_help
59 --enable-gui use GUI classes"
60 ac_help="$ac_help
61 --enable-universal use wxWindows GUI controls instead of native ones"
62 ac_help="$ac_help
63 --with-gtk use GTK+"
64 ac_help="$ac_help
65 --with-motif use Motif/Lesstif"
66 ac_help="$ac_help
67 --with-mac use Mac OS X"
68 ac_help="$ac_help
69 --with-wine use WINE"
70 ac_help="$ac_help
71 --with-cygwin use Cygwin for MS-Windows"
72 ac_help="$ac_help
73 --with-mingw use GCC Minimal MS-Windows"
74 ac_help="$ac_help
75 --with-pm use OS/2 Presentation Manager"
76 ac_help="$ac_help
77 --with-mgl use MGL"
78 ac_help="$ac_help
79 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)"
80 ac_help="$ac_help
81 --with-libpng use libpng (PNG image format)"
82 ac_help="$ac_help
83 --with-libjpeg use libjpeg (JPEG file format)"
84 ac_help="$ac_help
85 --with-libtiff use libtiff (TIFF file format)"
86 ac_help="$ac_help
87 --with-freetype use freetype (font rasterizer)"
88 ac_help="$ac_help
89 --with-opengl use OpenGL (or Mesa)"
90 ac_help="$ac_help
91 --with-dmalloc use dmalloc library (www.letters.com/dmalloc)"
92 ac_help="$ac_help
93 --with-zlib use zlib for LZW compression"
94 ac_help="$ac_help
95 --with-odbc use the IODBC and wxODBC classes"
96 ac_help="$ac_help
97 --enable-shared create shared library code"
98 ac_help="$ac_help
99 --enable-burnt_name create set name in shared library "
100 ac_help="$ac_help
101 --enable-optimise create optimised code"
102 ac_help="$ac_help
103 --enable-debug same as debug_flag and debug_info"
104 ac_help="$ac_help
105 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
106 ac_help="$ac_help
107 --enable-debug_info create code with debugging information"
108 ac_help="$ac_help
109 --enable-debug_gdb create code with extra GDB debugging information"
110 ac_help="$ac_help
111 --enable-debug_cntxt use wxDebugContext"
112 ac_help="$ac_help
113 --enable-mem_tracing create code with memory tracing"
114 ac_help="$ac_help
115 --enable-profile create code with profiling information"
116 ac_help="$ac_help
117 --enable-no_rtti create code without RTTI information"
118 ac_help="$ac_help
119 --enable-no_exceptions create code without exceptions information"
120 ac_help="$ac_help
121 --enable-permissive compile code disregarding strict ANSI"
122 ac_help="$ac_help
123 --enable-no_deps create code without dependency information"
124 ac_help="$ac_help
125 --enable-compat20 enable wxWin 2.0 compatibility"
126 ac_help="$ac_help
127 --enable-compat22 enable wxWin 2.2 compatibility"
128 ac_help="$ac_help
129 --enable-intl use internationalization system"
130 ac_help="$ac_help
131 --enable-config use wxConfig (and derived) classes"
132 ac_help="$ac_help
133 --enable-sockets use socket/network classes"
134 ac_help="$ac_help
135 --enable-ipc use interprocess communication (wxSocket etc.)"
136 ac_help="$ac_help
137 --enable-cmdline use wxCmdLineParser class"
138 ac_help="$ac_help
139 --enable-datetime use wxDateTime class"
140 ac_help="$ac_help
141 --enable-timedate use obsolete wxDate/wxTime classes"
142 ac_help="$ac_help
143 --enable-stopwatch use wxStopWatch class"
144 ac_help="$ac_help
145 --enable-dialupman use dialup network classes"
146 ac_help="$ac_help
147 --enable-apple_ieee use the Apple IEEE codec"
148 ac_help="$ac_help
149 --enable-timer use wxTimer class"
150 ac_help="$ac_help
151 --enable-wave use wxWave class"
152 ac_help="$ac_help
153 --enable-fraction use wxFraction class"
154 ac_help="$ac_help
155 --enable-dynlib use wxLibrary class for DLL loading"
156 ac_help="$ac_help
157 --enable-longlong use wxLongLong class"
158 ac_help="$ac_help
159 --enable-geometry use geometry class"
160 ac_help="$ac_help
161 --enable-log use logging system"
162 ac_help="$ac_help
163 --enable-streams use wxStream etc classes"
164 ac_help="$ac_help
165 --enable-file use wxFile classes"
166 ac_help="$ac_help
167 --enable-ffile use wxFFile classes"
168 ac_help="$ac_help
169 --enable-textfile use wxTextFile classes"
170 ac_help="$ac_help
171 --enable-fontmap use font encodings conversion classes"
172 ac_help="$ac_help
173 --enable-unicode compile wxString with Unicode support"
174 ac_help="$ac_help
175 --enable-wcsrtombs use wcsrtombs instead of buggy (GNU libc1/Linux libc5) wcstombs"
176 ac_help="$ac_help
177 --enable-wxprintfv use wxWindows implementation of vprintf()"
178 ac_help="$ac_help
179 --enable-std_iostreams use standard C++ stream classes"
180 ac_help="$ac_help
181 --enable-filesystem use virtual file systems classes"
182 ac_help="$ac_help
183 --enable-fs_inet use virtual HTTP/FTP filesystems"
184 ac_help="$ac_help
185 --enable-fs_zip use virtual ZIP filesystems"
186 ac_help="$ac_help
187 --enable-zipstream use wxZipInputStream"
188 ac_help="$ac_help
189 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException"
190 ac_help="$ac_help
191 --enable-snglinst use wxSingleInstanceChecker class"
192 ac_help="$ac_help
193 --enable-mimetypes use wxMimeTypesManager"
194 ac_help="$ac_help
195 --enable-threads use threads"
196 ac_help="$ac_help
197 --enable-serial use class serialization"
198 ac_help="$ac_help
199 --enable-docview use document view architecture"
200 ac_help="$ac_help
201 --enable-help use help subsystem"
202 ac_help="$ac_help
203 --enable-mshtmlhelp use MS HTML Help (win32)"
204 ac_help="$ac_help
205 --enable-html use wxHTML sub-library"
206 ac_help="$ac_help
207 --enable-htmlhelp use wxHTML-based help"
208 ac_help="$ac_help
209 --enable-constraints use layout-constraints system"
210 ac_help="$ac_help
211 --enable-printarch use printing architecture"
212 ac_help="$ac_help
213 --enable-mdi use multiple document interface architecture"
214 ac_help="$ac_help
215 --enable-loggui use standard GUI logger"
216 ac_help="$ac_help
217 --enable-logwin use wxLogWindow"
218 ac_help="$ac_help
219 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
220 ac_help="$ac_help
221 --enable-prologio use Prolog IO library"
222 ac_help="$ac_help
223 --enable-resources use wxWindows resources"
224 ac_help="$ac_help
225 --enable-xresources use X resources for save (default for gtk+)"
226 ac_help="$ac_help
227 --enable-clipboard use wxClipboard classes"
228 ac_help="$ac_help
229 --enable-dnd use Drag'n'Drop classes"
230 ac_help="$ac_help
231 --enable-metafile use win32 metafiles"
232 ac_help="$ac_help
233 --enable-wxtree make wxTree library"
234 ac_help="$ac_help
235 --enable-controls use all usual controls"
236 ac_help="$ac_help
237 --enable-accel use accelerators"
238 ac_help="$ac_help
239 --enable-button use wxButton class"
240 ac_help="$ac_help
241 --enable-bmpbutton use wxBitmapButton class"
242 ac_help="$ac_help
243 --enable-calendar use wxCalendarCtrl class"
244 ac_help="$ac_help
245 --enable-caret use wxCaret class"
246 ac_help="$ac_help
247 --enable-checkbox use wxCheckBox class"
248 ac_help="$ac_help
249 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
250 ac_help="$ac_help
251 --enable-choice use wxChoice class"
252 ac_help="$ac_help
253 --enable-combobox use wxComboBox classes"
254 ac_help="$ac_help
255 --enable-gauge use wxGauge class"
256 ac_help="$ac_help
257 --enable-grid use wxGrid class"
258 ac_help="$ac_help
259 --enable-newgrid use new wxGrid class"
260 ac_help="$ac_help
261 --enable-imaglist use wxImageList class"
262 ac_help="$ac_help
263 --enable-listbox use wxListBox class"
264 ac_help="$ac_help
265 --enable-listctrl use wxListCtrl class"
266 ac_help="$ac_help
267 --enable-notebook use wxNotebook class"
268 ac_help="$ac_help
269 --enable-radiobox use wxRadioBox class"
270 ac_help="$ac_help
271 --enable-radiobtn use wxRadioButton class"
272 ac_help="$ac_help
273 --enable-sash use wxSashWindow class"
274 ac_help="$ac_help
275 --enable-scrollbar use wxScrollBar class and scrollable windows"
276 ac_help="$ac_help
277 --enable-slider use wxSlider class"
278 ac_help="$ac_help
279 --enable-spinbtn use wxSpinButton class"
280 ac_help="$ac_help
281 --enable-spinctrl use wxSpinCtrl class"
282 ac_help="$ac_help
283 --enable-splitter use wxSplitterWindow class"
284 ac_help="$ac_help
285 --enable-statbmp use wxStaticBitmap class"
286 ac_help="$ac_help
287 --enable-statbox use wxStaticBox class"
288 ac_help="$ac_help
289 --enable-statline use wxStaticLine class"
290 ac_help="$ac_help
291 --enable-stattext use wxStaticText class"
292 ac_help="$ac_help
293 --enable-statusbar use wxStatusBar class"
294 ac_help="$ac_help
295 --enable-tabdialog use wxTabControl class"
296 ac_help="$ac_help
297 --enable-textctrl use wxTextCtrl class"
298 ac_help="$ac_help
299 --enable-togglebtn use wxToggleButton class"
300 ac_help="$ac_help
301 --enable-toolbar use wxToolBar class"
302 ac_help="$ac_help
303 --enable-tbarnative use native wxToolBar class"
304 ac_help="$ac_help
305 --enable-tbarsmpl use wxToolBarSimple class"
306 ac_help="$ac_help
307 --enable-treectrl use wxTreeCtrl class"
308 ac_help="$ac_help
309 --enable-popupwin use wxPopUpWindow class"
310 ac_help="$ac_help
311 --enable-commondlg use common dialogs (wxDirDialog, wxProgressDialog, wxTextDialog, ...)"
312 ac_help="$ac_help
313 --enable-choicedlg use wxChoiceDialog"
314 ac_help="$ac_help
315 --enable-coldlg use wxColourDialog"
316 ac_help="$ac_help
317 --enable-filedlg use wxFileDialog"
318 ac_help="$ac_help
319 --enable-fontdlg use wxFontDialog"
320 ac_help="$ac_help
321 --enable-dirdlg use wxDirDialog"
322 ac_help="$ac_help
323 --enable-msgdlg use wxMessageDialog"
324 ac_help="$ac_help
325 --enable-numberdlg use wxNumberEntryDialog"
326 ac_help="$ac_help
327 --enable-textdlg use wxTextDialog"
328 ac_help="$ac_help
329 --enable-tipdlg use startup tips"
330 ac_help="$ac_help
331 --enable-progressdlg use wxProgressDialog"
332 ac_help="$ac_help
333 --enable-wizarddlg use wxWizard"
334 ac_help="$ac_help
335 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes"
336 ac_help="$ac_help
337 --enable-miniframe use wxMiniFrame class"
338 ac_help="$ac_help
339 --enable-tooltips use wxToolTip class"
340 ac_help="$ac_help
341 --enable-splines use spline drawing code"
342 ac_help="$ac_help
343 --enable-validators use wxValidator and derived classes"
344 ac_help="$ac_help
345 --enable-busyinfo use wxBusyInfo"
346 ac_help="$ac_help
347 --enable-joystick compile in joystick support (Linux only)"
348 ac_help="$ac_help
349 --enable-metafiles use wxMetaFile (Windows only)"
350 ac_help="$ac_help
351 --enable-dragimage use wxDragImage"
352 ac_help="$ac_help
353 --enable-image use wxImage class"
354 ac_help="$ac_help
355 --enable-gif use gif images (GIF file format)"
356 ac_help="$ac_help
357 --enable-pcx use pcx images (PCX file format)"
358 ac_help="$ac_help
359 --enable-pnm use pnm images (PNM file format)"
360 ac_help="$ac_help
361 --enable-xpm use xpm images (XPM file format)"
362 ac_help="$ac_help
363 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
364 ac_help="$ac_help
365 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
366 ac_help="$ac_help
367 --disable-gtktest Do not try to compile and run a test GTK program"
368 ac_help="$ac_help
369 --with-x use the X Window System"
370
371 # Initialize some variables set by options.
372 # The variables have the same names as the options, with
373 # dashes changed to underlines.
374 build=NONE
375 cache_file=./config.cache
376 exec_prefix=NONE
377 host=NONE
378 no_create=
379 nonopt=NONE
380 no_recursion=
381 prefix=NONE
382 program_prefix=NONE
383 program_suffix=NONE
384 program_transform_name=s,x,x,
385 silent=
386 site=
387 srcdir=
388 target=NONE
389 verbose=
390 x_includes=NONE
391 x_libraries=NONE
392 bindir='${exec_prefix}/bin'
393 sbindir='${exec_prefix}/sbin'
394 libexecdir='${exec_prefix}/libexec'
395 datadir='${prefix}/share'
396 sysconfdir='${prefix}/etc'
397 sharedstatedir='${prefix}/com'
398 localstatedir='${prefix}/var'
399 libdir='${exec_prefix}/lib'
400 includedir='${prefix}/include'
401 oldincludedir='/usr/include'
402 infodir='${prefix}/info'
403 mandir='${prefix}/man'
404
405 # Initialize some other variables.
406 subdirs=
407 MFLAGS= MAKEFLAGS=
408 SHELL=${CONFIG_SHELL-/bin/sh}
409 # Maximum number of lines to put in a shell here document.
410 ac_max_here_lines=12
411
412 ac_prev=
413 for ac_option
414 do
415
416 # If the previous option needs an argument, assign it.
417 if test -n "$ac_prev"; then
418 eval "$ac_prev=\$ac_option"
419 ac_prev=
420 continue
421 fi
422
423 case "$ac_option" in
424 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
425 *) ac_optarg= ;;
426 esac
427
428 # Accept the important Cygnus configure options, so we can diagnose typos.
429
430 case "$ac_option" in
431
432 -bindir | --bindir | --bindi | --bind | --bin | --bi)
433 ac_prev=bindir ;;
434 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
435 bindir="$ac_optarg" ;;
436
437 -build | --build | --buil | --bui | --bu)
438 ac_prev=build ;;
439 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
440 build="$ac_optarg" ;;
441
442 -cache-file | --cache-file | --cache-fil | --cache-fi \
443 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
444 ac_prev=cache_file ;;
445 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
446 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
447 cache_file="$ac_optarg" ;;
448
449 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
450 ac_prev=datadir ;;
451 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
452 | --da=*)
453 datadir="$ac_optarg" ;;
454
455 -disable-* | --disable-*)
456 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
457 # Reject names that are not valid shell variable names.
458 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
459 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
460 fi
461 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
462 eval "enable_${ac_feature}=no" ;;
463
464 -enable-* | --enable-*)
465 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
466 # Reject names that are not valid shell variable names.
467 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
468 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
469 fi
470 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
471 case "$ac_option" in
472 *=*) ;;
473 *) ac_optarg=yes ;;
474 esac
475 eval "enable_${ac_feature}='$ac_optarg'" ;;
476
477 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
478 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
479 | --exec | --exe | --ex)
480 ac_prev=exec_prefix ;;
481 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
482 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
483 | --exec=* | --exe=* | --ex=*)
484 exec_prefix="$ac_optarg" ;;
485
486 -gas | --gas | --ga | --g)
487 # Obsolete; use --with-gas.
488 with_gas=yes ;;
489
490 -help | --help | --hel | --he)
491 # Omit some internal or obsolete options to make the list less imposing.
492 # This message is too long to be a string in the A/UX 3.1 sh.
493 cat << EOF
494 Usage: configure [options] [host]
495 Options: [defaults in brackets after descriptions]
496 Configuration:
497 --cache-file=FILE cache test results in FILE
498 --help print this message
499 --no-create do not create output files
500 --quiet, --silent do not print \`checking...' messages
501 --version print the version of autoconf that created configure
502 Directory and file names:
503 --prefix=PREFIX install architecture-independent files in PREFIX
504 [$ac_default_prefix]
505 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
506 [same as prefix]
507 --bindir=DIR user executables in DIR [EPREFIX/bin]
508 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
509 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
510 --datadir=DIR read-only architecture-independent data in DIR
511 [PREFIX/share]
512 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
513 --sharedstatedir=DIR modifiable architecture-independent data in DIR
514 [PREFIX/com]
515 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
516 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
517 --includedir=DIR C header files in DIR [PREFIX/include]
518 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
519 --infodir=DIR info documentation in DIR [PREFIX/info]
520 --mandir=DIR man documentation in DIR [PREFIX/man]
521 --srcdir=DIR find the sources in DIR [configure dir or ..]
522 --program-prefix=PREFIX prepend PREFIX to installed program names
523 --program-suffix=SUFFIX append SUFFIX to installed program names
524 --program-transform-name=PROGRAM
525 run sed PROGRAM on installed program names
526 EOF
527 cat << EOF
528 Host type:
529 --build=BUILD configure for building on BUILD [BUILD=HOST]
530 --host=HOST configure for HOST [guessed]
531 --target=TARGET configure for TARGET [TARGET=HOST]
532 Features and packages:
533 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
534 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
535 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
536 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
537 --x-includes=DIR X include files are in DIR
538 --x-libraries=DIR X library files are in DIR
539 EOF
540 if test -n "$ac_help"; then
541 echo "--enable and --with options recognized:$ac_help"
542 fi
543 exit 0 ;;
544
545 -host | --host | --hos | --ho)
546 ac_prev=host ;;
547 -host=* | --host=* | --hos=* | --ho=*)
548 host="$ac_optarg" ;;
549
550 -includedir | --includedir | --includedi | --included | --include \
551 | --includ | --inclu | --incl | --inc)
552 ac_prev=includedir ;;
553 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
554 | --includ=* | --inclu=* | --incl=* | --inc=*)
555 includedir="$ac_optarg" ;;
556
557 -infodir | --infodir | --infodi | --infod | --info | --inf)
558 ac_prev=infodir ;;
559 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
560 infodir="$ac_optarg" ;;
561
562 -libdir | --libdir | --libdi | --libd)
563 ac_prev=libdir ;;
564 -libdir=* | --libdir=* | --libdi=* | --libd=*)
565 libdir="$ac_optarg" ;;
566
567 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
568 | --libexe | --libex | --libe)
569 ac_prev=libexecdir ;;
570 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
571 | --libexe=* | --libex=* | --libe=*)
572 libexecdir="$ac_optarg" ;;
573
574 -localstatedir | --localstatedir | --localstatedi | --localstated \
575 | --localstate | --localstat | --localsta | --localst \
576 | --locals | --local | --loca | --loc | --lo)
577 ac_prev=localstatedir ;;
578 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
579 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
580 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
581 localstatedir="$ac_optarg" ;;
582
583 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
584 ac_prev=mandir ;;
585 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
586 mandir="$ac_optarg" ;;
587
588 -nfp | --nfp | --nf)
589 # Obsolete; use --without-fp.
590 with_fp=no ;;
591
592 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
593 | --no-cr | --no-c)
594 no_create=yes ;;
595
596 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
597 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
598 no_recursion=yes ;;
599
600 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
601 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
602 | --oldin | --oldi | --old | --ol | --o)
603 ac_prev=oldincludedir ;;
604 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
605 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
606 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
607 oldincludedir="$ac_optarg" ;;
608
609 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
610 ac_prev=prefix ;;
611 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
612 prefix="$ac_optarg" ;;
613
614 -program-prefix | --program-prefix | --program-prefi | --program-pref \
615 | --program-pre | --program-pr | --program-p)
616 ac_prev=program_prefix ;;
617 -program-prefix=* | --program-prefix=* | --program-prefi=* \
618 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
619 program_prefix="$ac_optarg" ;;
620
621 -program-suffix | --program-suffix | --program-suffi | --program-suff \
622 | --program-suf | --program-su | --program-s)
623 ac_prev=program_suffix ;;
624 -program-suffix=* | --program-suffix=* | --program-suffi=* \
625 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
626 program_suffix="$ac_optarg" ;;
627
628 -program-transform-name | --program-transform-name \
629 | --program-transform-nam | --program-transform-na \
630 | --program-transform-n | --program-transform- \
631 | --program-transform | --program-transfor \
632 | --program-transfo | --program-transf \
633 | --program-trans | --program-tran \
634 | --progr-tra | --program-tr | --program-t)
635 ac_prev=program_transform_name ;;
636 -program-transform-name=* | --program-transform-name=* \
637 | --program-transform-nam=* | --program-transform-na=* \
638 | --program-transform-n=* | --program-transform-=* \
639 | --program-transform=* | --program-transfor=* \
640 | --program-transfo=* | --program-transf=* \
641 | --program-trans=* | --program-tran=* \
642 | --progr-tra=* | --program-tr=* | --program-t=*)
643 program_transform_name="$ac_optarg" ;;
644
645 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
646 | -silent | --silent | --silen | --sile | --sil)
647 silent=yes ;;
648
649 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
650 ac_prev=sbindir ;;
651 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
652 | --sbi=* | --sb=*)
653 sbindir="$ac_optarg" ;;
654
655 -sharedstatedir | --sharedstatedir | --sharedstatedi \
656 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
657 | --sharedst | --shareds | --shared | --share | --shar \
658 | --sha | --sh)
659 ac_prev=sharedstatedir ;;
660 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
661 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
662 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
663 | --sha=* | --sh=*)
664 sharedstatedir="$ac_optarg" ;;
665
666 -site | --site | --sit)
667 ac_prev=site ;;
668 -site=* | --site=* | --sit=*)
669 site="$ac_optarg" ;;
670
671 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
672 ac_prev=srcdir ;;
673 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
674 srcdir="$ac_optarg" ;;
675
676 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
677 | --syscon | --sysco | --sysc | --sys | --sy)
678 ac_prev=sysconfdir ;;
679 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
680 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
681 sysconfdir="$ac_optarg" ;;
682
683 -target | --target | --targe | --targ | --tar | --ta | --t)
684 ac_prev=target ;;
685 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
686 target="$ac_optarg" ;;
687
688 -v | -verbose | --verbose | --verbos | --verbo | --verb)
689 verbose=yes ;;
690
691 -version | --version | --versio | --versi | --vers)
692 echo "configure generated by autoconf version 2.13"
693 exit 0 ;;
694
695 -with-* | --with-*)
696 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
697 # Reject names that are not valid shell variable names.
698 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
699 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
700 fi
701 ac_package=`echo $ac_package| sed 's/-/_/g'`
702 case "$ac_option" in
703 *=*) ;;
704 *) ac_optarg=yes ;;
705 esac
706 eval "with_${ac_package}='$ac_optarg'" ;;
707
708 -without-* | --without-*)
709 ac_package=`echo $ac_option|sed -e 's/-*without-//'`
710 # Reject names that are not valid shell variable names.
711 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
712 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
713 fi
714 ac_package=`echo $ac_package| sed 's/-/_/g'`
715 eval "with_${ac_package}=no" ;;
716
717 --x)
718 # Obsolete; use --with-x.
719 with_x=yes ;;
720
721 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
722 | --x-incl | --x-inc | --x-in | --x-i)
723 ac_prev=x_includes ;;
724 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
725 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
726 x_includes="$ac_optarg" ;;
727
728 -x-libraries | --x-libraries | --x-librarie | --x-librari \
729 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
730 ac_prev=x_libraries ;;
731 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
732 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
733 x_libraries="$ac_optarg" ;;
734
735 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
736 ;;
737
738 *)
739 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
740 echo "configure: warning: $ac_option: invalid host type" 1>&2
741 fi
742 if test "x$nonopt" != xNONE; then
743 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
744 fi
745 nonopt="$ac_option"
746 ;;
747
748 esac
749 done
750
751 if test -n "$ac_prev"; then
752 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
753 fi
754
755 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
756
757 # File descriptor usage:
758 # 0 standard input
759 # 1 file creation
760 # 2 errors and warnings
761 # 3 some systems may open it to /dev/tty
762 # 4 used on the Kubota Titan
763 # 6 checking for... messages and results
764 # 5 compiler messages saved in config.log
765 if test "$silent" = yes; then
766 exec 6>/dev/null
767 else
768 exec 6>&1
769 fi
770 exec 5>./config.log
771
772 echo "\
773 This file contains any messages produced by compilers while
774 running configure, to aid debugging if configure makes a mistake.
775 " 1>&5
776
777 # Strip out --no-create and --no-recursion so they do not pile up.
778 # Also quote any args containing shell metacharacters.
779 ac_configure_args=
780 for ac_arg
781 do
782 case "$ac_arg" in
783 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
784 | --no-cr | --no-c) ;;
785 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
786 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
787 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
788 ac_configure_args="$ac_configure_args '$ac_arg'" ;;
789 *) ac_configure_args="$ac_configure_args $ac_arg" ;;
790 esac
791 done
792
793 # NLS nuisances.
794 # Only set these to C if already set. These must not be set unconditionally
795 # because not all systems understand e.g. LANG=C (notably SCO).
796 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
797 # Non-C LC_CTYPE values break the ctype check.
798 if test "${LANG+set}" = set; then LANG=C; export LANG; fi
799 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
800 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
801 if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
802
803 # confdefs.h avoids OS command line length limits that DEFS can exceed.
804 rm -rf conftest* confdefs.h
805 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
806 echo > confdefs.h
807
808 # A filename unique to this package, relative to the directory that
809 # configure is in, which we can look for to find out if srcdir is correct.
810 ac_unique_file=wx-config.in
811
812 # Find the source files, if location was not specified.
813 if test -z "$srcdir"; then
814 ac_srcdir_defaulted=yes
815 # Try the directory containing this script, then its parent.
816 ac_prog=$0
817 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
818 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
819 srcdir=$ac_confdir
820 if test ! -r $srcdir/$ac_unique_file; then
821 srcdir=..
822 fi
823 else
824 ac_srcdir_defaulted=no
825 fi
826 if test ! -r $srcdir/$ac_unique_file; then
827 if test "$ac_srcdir_defaulted" = yes; then
828 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
829 else
830 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
831 fi
832 fi
833 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
834
835 # Prefer explicitly selected file to automatically selected ones.
836 if test -z "$CONFIG_SITE"; then
837 if test "x$prefix" != xNONE; then
838 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
839 else
840 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
841 fi
842 fi
843 for ac_site_file in $CONFIG_SITE; do
844 if test -r "$ac_site_file"; then
845 echo "loading site script $ac_site_file"
846 . "$ac_site_file"
847 fi
848 done
849
850 if test -r "$cache_file"; then
851 echo "loading cache $cache_file"
852 . $cache_file
853 else
854 echo "creating cache $cache_file"
855 > $cache_file
856 fi
857
858 ac_ext=c
859 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
860 ac_cpp='$CPP $CPPFLAGS'
861 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
862 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
863 cross_compiling=$ac_cv_prog_cc_cross
864
865 ac_exeext=
866 ac_objext=o
867 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
868 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
869 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
870 ac_n= ac_c='
871 ' ac_t=' '
872 else
873 ac_n=-n ac_c= ac_t=
874 fi
875 else
876 ac_n= ac_c='\c' ac_t=
877 fi
878
879
880
881 ac_aux_dir=
882 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
883 if test -f $ac_dir/install-sh; then
884 ac_aux_dir=$ac_dir
885 ac_install_sh="$ac_aux_dir/install-sh -c"
886 break
887 elif test -f $ac_dir/install.sh; then
888 ac_aux_dir=$ac_dir
889 ac_install_sh="$ac_aux_dir/install.sh -c"
890 break
891 fi
892 done
893 if test -z "$ac_aux_dir"; then
894 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
895 fi
896 ac_config_guess=$ac_aux_dir/config.guess
897 ac_config_sub=$ac_aux_dir/config.sub
898 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
899
900
901 # Do some error checking and defaulting for the host and target type.
902 # The inputs are:
903 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
904 #
905 # The rules are:
906 # 1. You are not allowed to specify --host, --target, and nonopt at the
907 # same time.
908 # 2. Host defaults to nonopt.
909 # 3. If nonopt is not specified, then host defaults to the current host,
910 # as determined by config.guess.
911 # 4. Target and build default to nonopt.
912 # 5. If nonopt is not specified, then target and build default to host.
913
914 # The aliases save the names the user supplied, while $host etc.
915 # will get canonicalized.
916 case $host---$target---$nonopt in
917 NONE---*---* | *---NONE---* | *---*---NONE) ;;
918 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
919 esac
920
921
922 # Make sure we can run config.sub.
923 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
924 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
925 fi
926
927 echo $ac_n "checking host system type""... $ac_c" 1>&6
928 echo "configure:929: checking host system type" >&5
929
930 host_alias=$host
931 case "$host_alias" in
932 NONE)
933 case $nonopt in
934 NONE)
935 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
936 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
937 fi ;;
938 *) host_alias=$nonopt ;;
939 esac ;;
940 esac
941
942 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
943 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
944 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
945 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
946 echo "$ac_t""$host" 1>&6
947
948 echo $ac_n "checking target system type""... $ac_c" 1>&6
949 echo "configure:950: checking target system type" >&5
950
951 target_alias=$target
952 case "$target_alias" in
953 NONE)
954 case $nonopt in
955 NONE) target_alias=$host_alias ;;
956 *) target_alias=$nonopt ;;
957 esac ;;
958 esac
959
960 target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
961 target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
962 target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
963 target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
964 echo "$ac_t""$target" 1>&6
965
966 echo $ac_n "checking build system type""... $ac_c" 1>&6
967 echo "configure:968: checking build system type" >&5
968
969 build_alias=$build
970 case "$build_alias" in
971 NONE)
972 case $nonopt in
973 NONE) build_alias=$host_alias ;;
974 *) build_alias=$nonopt ;;
975 esac ;;
976 esac
977
978 build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
979 build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
980 build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
981 build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
982 echo "$ac_t""$build" 1>&6
983
984 test "$host_alias" != "$target_alias" &&
985 test "$program_prefix$program_suffix$program_transform_name" = \
986 NONENONEs,x,x, &&
987 program_prefix=${target_alias}-
988
989
990
991 WX_MAJOR_VERSION_NUMBER=2
992 WX_MINOR_VERSION_NUMBER=3
993 WX_RELEASE_NUMBER=2
994
995 WX_VERSION=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER.$WX_RELEASE_NUMBER
996 WX_RELEASE=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER
997
998 WX_CURRENT=1
999 WX_REVISION=0
1000 WX_AGE=0
1001
1002
1003
1004 USE_UNIX=1
1005 USE_WIN32=0
1006 USE_BEOS=0
1007 USE_MAC=0
1008
1009 USE_LINUX=
1010 USE_SGI=
1011 USE_HPUX=
1012 USE_SYSV=
1013 USE_SVR4=
1014 USE_AIX=
1015 USE_SUN=
1016 USE_SOLARIS=
1017 USE_SUNOS=
1018 USE_ALPHA=
1019 USE_OSF=
1020 USE_BSD=
1021 USE_FREEBSD=
1022 USE_OPENBSD=
1023 USE_NETBSD=
1024 USE_VMS=
1025 USE_ULTRIX=
1026 USE_CYGWIN=
1027 USE_MINGW=
1028 USE_DATA_GENERAL=
1029
1030 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1031
1032 ALL_TOOLKITS="CYGWIN GTK MAC MGL MINGW MOTIF PM WINE"
1033
1034 DEFAULT_wxUSE_GTK=0
1035 DEFAULT_wxUSE_MAC=0
1036 DEFAULT_wxUSE_MGL=0
1037 DEFAULT_wxUSE_MOTIF=0
1038 DEFAULT_wxUSE_MSW=0
1039 DEFAULT_wxUSE_PM=0
1040 DEFAULT_wxUSE_WINE=0
1041
1042 DEFAULT_DEFAULT_wxUSE_GTK=0
1043 DEFAULT_DEFAULT_wxUSE_MAC=0
1044 DEFAULT_DEFAULT_wxUSE_MGL=0
1045 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1046 DEFAULT_DEFAULT_wxUSE_MSW=0
1047 DEFAULT_DEFAULT_wxUSE_PM=0
1048 DEFAULT_DEFAULT_wxUSE_WINE=0
1049
1050 PROGRAM_EXT=
1051
1052 case "${host}" in
1053 *-hp-hpux* )
1054 USE_HPUX=1
1055 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1056 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1057 cat >> confdefs.h <<\EOF
1058 #define __HPUX__ 1
1059 EOF
1060
1061 ;;
1062 *-*-linux* )
1063 USE_LINUX=1
1064 cat >> confdefs.h <<\EOF
1065 #define __LINUX__ 1
1066 EOF
1067
1068 TMP=`uname -m`
1069 if test "x$TMP" = "xalpha"; then
1070 USE_ALPHA=1
1071 cat >> confdefs.h <<\EOF
1072 #define __ALPHA__ 1
1073 EOF
1074
1075 fi
1076 DEFAULT_DEFAULT_wxUSE_GTK=1
1077 ;;
1078 *-*-irix5* | *-*-irix6* )
1079 USE_SGI=1
1080 USE_SVR4=1
1081 cat >> confdefs.h <<\EOF
1082 #define __SGI__ 1
1083 EOF
1084
1085 cat >> confdefs.h <<\EOF
1086 #define __SVR4__ 1
1087 EOF
1088
1089 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1090 ;;
1091 *-*-solaris2* )
1092 USE_SUN=1
1093 USE_SOLARIS=1
1094 USE_SVR4=1
1095 cat >> confdefs.h <<\EOF
1096 #define __SUN__ 1
1097 EOF
1098
1099 cat >> confdefs.h <<\EOF
1100 #define __SOLARIS__ 1
1101 EOF
1102
1103 cat >> confdefs.h <<\EOF
1104 #define __SVR4__ 1
1105 EOF
1106
1107 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1108 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1109 ;;
1110 *-*-sunos4* )
1111 USE_SUN=1
1112 USE_SUNOS=1
1113 USE_BSD=1
1114 cat >> confdefs.h <<\EOF
1115 #define __SUN__ 1
1116 EOF
1117
1118 cat >> confdefs.h <<\EOF
1119 #define __SUNOS__ 1
1120 EOF
1121
1122 cat >> confdefs.h <<\EOF
1123 #define __BSD__ 1
1124 EOF
1125
1126 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1127 ;;
1128 *-*-freebsd*)
1129 USE_BSD=1
1130 USE_FREEBSD=1
1131 cat >> confdefs.h <<\EOF
1132 #define __FREEBSD__ 1
1133 EOF
1134
1135 cat >> confdefs.h <<\EOF
1136 #define __BSD__ 1
1137 EOF
1138
1139 DEFAULT_DEFAULT_wxUSE_GTK=1
1140 ;;
1141 *-*-openbsd*)
1142 USE_BSD=1
1143 USE_OPENBSD=1
1144 cat >> confdefs.h <<\EOF
1145 #define __FREEBSD__ 1
1146 EOF
1147
1148 cat >> confdefs.h <<\EOF
1149 #define __OPENBSD__ 1
1150 EOF
1151
1152 DEFAULT_DEFAULT_wxUSE_GTK=1
1153 ;;
1154 *-*-netbsd*)
1155 USE_BSD=1
1156 USE_NETBSD=1
1157 cat >> confdefs.h <<\EOF
1158 #define __FREEBSD__ 1
1159 EOF
1160
1161 cat >> confdefs.h <<\EOF
1162 #define __NETBSD__ 1
1163 EOF
1164
1165 DEFAULT_DEFAULT_wxUSE_GTK=1
1166 ;;
1167 *-*-osf* )
1168 USE_ALPHA=1
1169 USE_OSF=1
1170 cat >> confdefs.h <<\EOF
1171 #define __ALPHA__ 1
1172 EOF
1173
1174 cat >> confdefs.h <<\EOF
1175 #define __OSF__ 1
1176 EOF
1177
1178 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1179 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1180 ;;
1181 *-*-dgux5* )
1182 USE_ALPHA=1
1183 USE_SVR4=1
1184 cat >> confdefs.h <<\EOF
1185 #define __ALPHA__ 1
1186 EOF
1187
1188 cat >> confdefs.h <<\EOF
1189 #define __SVR4__ 1
1190 EOF
1191
1192 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1193 ;;
1194 *-*-sysv5* )
1195 USE_SYSV=1
1196 USE_SVR4=1
1197 cat >> confdefs.h <<\EOF
1198 #define __SYSV__ 1
1199 EOF
1200
1201 cat >> confdefs.h <<\EOF
1202 #define __SVR4__ 1
1203 EOF
1204
1205 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1206 ;;
1207 *-*-aix* )
1208 USE_AIX=1
1209 USE_SYSV=1
1210 USE_SVR4=1
1211 cat >> confdefs.h <<\EOF
1212 #define __AIX__ 1
1213 EOF
1214
1215 cat >> confdefs.h <<\EOF
1216 #define __SYSV__ 1
1217 EOF
1218
1219 cat >> confdefs.h <<\EOF
1220 #define __SVR4__ 1
1221 EOF
1222
1223 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1224 ;;
1225
1226 *-*-cygwin* | *-*-mingw32* )
1227 USE_UNIX=0
1228 USE_WIN32=1
1229 cat >> confdefs.h <<\EOF
1230 #define __WIN32__ 1
1231 EOF
1232
1233 cat >> confdefs.h <<\EOF
1234 #define __WIN95__ 1
1235 EOF
1236
1237 cat >> confdefs.h <<\EOF
1238 #define __WINDOWS__ 1
1239 EOF
1240
1241 cat >> confdefs.h <<\EOF
1242 #define __GNUWIN32__ 1
1243 EOF
1244
1245 cat >> confdefs.h <<\EOF
1246 #define STRICT 1
1247 EOF
1248
1249 cat >> confdefs.h <<\EOF
1250 #define WINVER 0x0400
1251 EOF
1252
1253 PROGRAM_EXT=".exe"
1254 DEFAULT_DEFAULT_wxUSE_MSW=1
1255 ;;
1256
1257 *-pc-os2_emx )
1258 cat >> confdefs.h <<\EOF
1259 #define __EMX__ 1
1260 EOF
1261
1262 PROGRAM_EXT=".exe"
1263 DEFAULT_DEFAULT_wxUSE_PM=1
1264 ;;
1265
1266 *-*-darwin* )
1267 USE_BSD=1
1268 USE_MAC=1
1269 cat >> confdefs.h <<\EOF
1270 #define __MAC__ 1
1271 EOF
1272
1273 cat >> confdefs.h <<\EOF
1274 #define __BSD__ 1
1275 EOF
1276
1277 cat >> confdefs.h <<\EOF
1278 #define __UNIX__ 1
1279 EOF
1280
1281 DEFAULT_DEFAULT_wxUSE_MAC=1
1282 ;;
1283
1284 *-*-beos* )
1285 USE_BEOS=1
1286 cat >> confdefs.h <<\EOF
1287 #define __BEOS__ 1
1288 EOF
1289
1290 ;;
1291
1292 *)
1293 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1294 esac
1295
1296 if test "$USE_UNIX" = 1 ; then
1297 wxUSE_UNIX=yes
1298 cat >> confdefs.h <<\EOF
1299 #define __UNIX__ 1
1300 EOF
1301
1302
1303 SRC_SUBDIRS="$SRC_SUBDIRS unix"
1304 INCLUDE_SUBDIRS="$INCLUDE_SUBDIRS unix"
1305 fi
1306
1307 if test "$USE_BEOS" = 1; then
1308 SRC_SUBDIRS="$SRC_SUBDIRS be"
1309 INCLUDE_SUBDIRS="$INCLUDE_SUBDIRS be"
1310 fi
1311
1312 if test "$USE_LINUX" = 1; then
1313 echo $ac_n "checking for gettext in -lc""... $ac_c" 1>&6
1314 echo "configure:1315: checking for gettext in -lc" >&5
1315 ac_lib_var=`echo c'_'gettext | sed 'y%./+-%__p_%'`
1316 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1317 echo $ac_n "(cached) $ac_c" 1>&6
1318 else
1319 ac_save_LIBS="$LIBS"
1320 LIBS="-lc $LIBS"
1321 cat > conftest.$ac_ext <<EOF
1322 #line 1323 "configure"
1323 #include "confdefs.h"
1324 /* Override any gcc2 internal prototype to avoid an error. */
1325 /* We use char because int might match the return type of a gcc2
1326 builtin and then its argument prototype would still apply. */
1327 char gettext();
1328
1329 int main() {
1330 gettext()
1331 ; return 0; }
1332 EOF
1333 if { (eval echo configure:1334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1334 rm -rf conftest*
1335 eval "ac_cv_lib_$ac_lib_var=yes"
1336 else
1337 echo "configure: failed program was:" >&5
1338 cat conftest.$ac_ext >&5
1339 rm -rf conftest*
1340 eval "ac_cv_lib_$ac_lib_var=no"
1341 fi
1342 rm -f conftest*
1343 LIBS="$ac_save_LIBS"
1344
1345 fi
1346 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1347 echo "$ac_t""yes" 1>&6
1348 cat >> confdefs.h <<\EOF
1349 #define wxHAVE_GLIBC2 1
1350 EOF
1351
1352 else
1353 echo "$ac_t""no" 1>&6
1354 fi
1355
1356 fi
1357
1358
1359
1360
1361 wx_arg_cache_file="configarg.cache"
1362 echo "loading argument cache $wx_arg_cache_file"
1363 rm -f ${wx_arg_cache_file}.tmp
1364 touch ${wx_arg_cache_file}.tmp
1365 touch ${wx_arg_cache_file}
1366
1367
1368 DEBUG_CONFIGURE=0
1369 if test $DEBUG_CONFIGURE = 1; then
1370 DEFAULT_wxUSE_UNIVERSAL=no
1371
1372 DEFAULT_wxUSE_THREADS=yes
1373
1374 DEFAULT_wxUSE_SHARED=yes
1375 DEFAULT_wxUSE_BURNT_NAME=no
1376 DEFAULT_wxUSE_OPTIMISE=no
1377 DEFAULT_wxUSE_PROFILE=no
1378 DEFAULT_wxUSE_NO_DEPS=no
1379 DEFAULT_wxUSE_NO_RTTI=no
1380 DEFAULT_wxUSE_NO_EXCEPTIONS=no
1381 DEFAULT_wxUSE_PERMISSIVE=no
1382 DEFAULT_wxUSE_DEBUG_FLAG=yes
1383 DEFAULT_wxUSE_DEBUG_INFO=yes
1384 DEFAULT_wxUSE_DEBUG_GDB=yes
1385 DEFAULT_wxUSE_MEM_TRACING=no
1386 DEFAULT_wxUSE_DEBUG_CONTEXT=no
1387 DEFAULT_wxUSE_DMALLOC=no
1388 DEFAULT_wxUSE_APPLE_IEEE=no
1389
1390 DEFAULT_wxUSE_LOG=yes
1391 DEFAULT_wxUSE_LOGWINDOW=no
1392 DEFAULT_wxUSE_LOGGUI=no
1393
1394 DEFAULT_wxUSE_GUI=yes
1395 DEFAULT_wxUSE_CONTROLS=no
1396
1397 DEFAULT_wxUSE_ZLIB=no
1398 DEFAULT_wxUSE_LIBPNG=no
1399 DEFAULT_wxUSE_LIBJPEG=no
1400 DEFAULT_wxUSE_LIBTIFF=no
1401 DEFAULT_wxUSE_ODBC=no
1402 DEFAULT_wxUSE_FREETYPE=no
1403 DEFAULT_wxUSE_OPENGL=no
1404
1405 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
1406 DEFAULT_wxUSE_SNGLINST_CHECKER=no
1407 DEFAULT_wxUSE_STD_IOSTREAM=no
1408 DEFAULT_wxUSE_CMDLINE_PARSER=no
1409 DEFAULT_wxUSE_DATETIME=no
1410 DEFAULT_wxUSE_TIMEDATE=no
1411 DEFAULT_wxUSE_TIMER=no
1412 DEFAULT_wxUSE_STOPWATCH=no
1413 DEFAULT_wxUSE_FILE=no
1414 DEFAULT_wxUSE_FFILE=no
1415 DEFAULT_wxUSE_TEXTFILE=no
1416 DEFAULT_wxUSE_WAVE=no
1417 DEFAULT_wxUSE_INTL=no
1418 DEFAULT_wxUSE_CONFIG=no
1419 DEFAULT_wxUSE_FONTMAP=no
1420 DEFAULT_wxUSE_STREAMS=no
1421 DEFAULT_wxUSE_SOCKETS=no
1422 DEFAULT_wxUSE_DIALUP_MANAGER=no
1423 DEFAULT_wxUSE_SERIAL=no
1424 DEFAULT_wxUSE_JOYSTICK=no
1425 DEFAULT_wxUSE_DYNLIB_CLASS=no
1426 DEFAULT_wxUSE_LONGLONG=no
1427 DEFAULT_wxUSE_GEOMETRY=no
1428
1429 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
1430 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
1431 DEFAULT_wxUSE_POSTSCRIPT=no
1432
1433 DEFAULT_wxUSE_X_RESOURCES=no
1434 DEFAULT_wxUSE_CLIPBOARD=no
1435 DEFAULT_wxUSE_TOOLTIPS=no
1436 DEFAULT_wxUSE_DRAG_AND_DROP=no
1437 DEFAULT_wxUSE_DRAGIMAGE=no
1438 DEFAULT_wxUSE_SPLINES=no
1439
1440 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
1441 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
1442 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
1443
1444 DEFAULT_wxUSE_PROLOGIO=no
1445 DEFAULT_wxUSE_RESOURCES=no
1446 DEFAULT_wxUSE_CONSTRAINTS=no
1447 DEFAULT_wxUSE_IPC=no
1448 DEFAULT_wxUSE_HELP=no
1449 DEFAULT_wxUSE_MS_HTML_HELP=no
1450
1451 DEFAULT_wxUSE_WXHTML_HELP=no
1452 DEFAULT_wxUSE_WXTREE=no
1453 DEFAULT_wxUSE_METAFILE=no
1454 DEFAULT_wxUSE_MIMETYPE=no
1455
1456 DEFAULT_wxUSE_COMMONDLGS=no
1457 DEFAULT_wxUSE_CHOICEDLG=no
1458 DEFAULT_wxUSE_COLOURDLG=no
1459 DEFAULT_wxUSE_DIRDLG=no
1460 DEFAULT_wxUSE_FILEDLG=no
1461 DEFAULT_wxUSE_FONTDLG=no
1462 DEFAULT_wxUSE_MSGDLG=no
1463 DEFAULT_wxUSE_NUMBERDLG=no
1464 DEFAULT_wxUSE_TEXTDLG=no
1465 DEFAULT_wxUSE_STARTUP_TIPS=no
1466 DEFAULT_wxUSE_PROGRESSDLG=no
1467 DEFAULT_wxUSE_WIZARDDLG=no
1468
1469 DEFAULT_wxUSE_MENUS=no
1470 DEFAULT_wxUSE_MINIFRAME=no
1471 DEFAULT_wxUSE_HTML=no
1472 DEFAULT_wxUSE_FILESYSTEM=no
1473 DEFAULT_wxUSE_FS_INET=no
1474 DEFAULT_wxUSE_FS_ZIP=no
1475 DEFAULT_wxUSE_BUSYINFO=no
1476 DEFAULT_wxUSE_ZIPSTREAM=no
1477 DEFAULT_wxUSE_VALIDATORS=no
1478
1479 DEFAULT_wxUSE_ACCEL=no
1480 DEFAULT_wxUSE_BUTTON=no
1481 DEFAULT_wxUSE_BMPBUTTON=no
1482 DEFAULT_wxUSE_CALCTRL=no
1483 DEFAULT_wxUSE_CARET=no
1484 DEFAULT_wxUSE_CHECKBOX=no
1485 DEFAULT_wxUSE_CHECKLST=no
1486 DEFAULT_wxUSE_CHOICE=no
1487 DEFAULT_wxUSE_COMBOBOX=no
1488 DEFAULT_wxUSE_GAUGE=no
1489 DEFAULT_wxUSE_GRID=no
1490 DEFAULT_wxUSE_NEW_GRID=no
1491 DEFAULT_wxUSE_IMAGLIST=no
1492 DEFAULT_wxUSE_LISTBOX=no
1493 DEFAULT_wxUSE_LISTCTRL=no
1494 DEFAULT_wxUSE_NOTEBOOK=no
1495 DEFAULT_wxUSE_RADIOBOX=no
1496 DEFAULT_wxUSE_RADIOBTN=no
1497 DEFAULT_wxUSE_SASH=no
1498 DEFAULT_wxUSE_SCROLLBAR=no
1499 DEFAULT_wxUSE_SLIDER=no
1500 DEFAULT_wxUSE_SPINBTN=no
1501 DEFAULT_wxUSE_SPINCTRL=no
1502 DEFAULT_wxUSE_SPLITTER=no
1503 DEFAULT_wxUSE_STATBMP=no
1504 DEFAULT_wxUSE_STATBOX=no
1505 DEFAULT_wxUSE_STATLINE=no
1506 DEFAULT_wxUSE_STATTEXT=no
1507 DEFAULT_wxUSE_STATUSBAR=yes
1508 DEFAULT_wxUSE_TABDIALOG=no
1509 DEFAULT_wxUSE_TEXTCTRL=no
1510 DEFAULT_wxUSE_TOGGLEBTN=no
1511 DEFAULT_wxUSE_TOOLBAR=no
1512 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
1513 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
1514 DEFAULT_wxUSE_TREECTRL=no
1515 DEFAULT_wxUSE_POPUPWIN=no
1516
1517 DEFAULT_wxUSE_UNICODE=no
1518 DEFAULT_wxUSE_WCSRTOMBS=no
1519
1520 DEFAULT_wxUSE_IMAGE=no
1521 DEFAULT_wxUSE_GIF=no
1522 DEFAULT_wxUSE_PCX=no
1523 DEFAULT_wxUSE_PNM=no
1524 DEFAULT_wxUSE_XPM=no
1525 else
1526 DEFAULT_wxUSE_UNIVERSAL=no
1527
1528 DEFAULT_wxUSE_THREADS=yes
1529
1530 DEFAULT_wxUSE_SHARED=yes
1531 DEFAULT_wxUSE_BURNT_NAME=no
1532 DEFAULT_wxUSE_OPTIMISE=yes
1533 DEFAULT_wxUSE_PROFILE=no
1534 DEFAULT_wxUSE_NO_DEPS=no
1535 DEFAULT_wxUSE_NO_RTTI=no
1536 DEFAULT_wxUSE_NO_EXCEPTIONS=no
1537 DEFAULT_wxUSE_PERMISSIVE=no
1538 DEFAULT_wxUSE_DEBUG_FLAG=no
1539 DEFAULT_wxUSE_DEBUG_INFO=no
1540 DEFAULT_wxUSE_DEBUG_GDB=no
1541 DEFAULT_wxUSE_MEM_TRACING=no
1542 DEFAULT_wxUSE_DEBUG_CONTEXT=no
1543 DEFAULT_wxUSE_DMALLOC=no
1544 DEFAULT_wxUSE_APPLE_IEEE=yes
1545
1546 DEFAULT_wxUSE_LOG=yes
1547 DEFAULT_wxUSE_LOGWINDOW=yes
1548 DEFAULT_wxUSE_LOGGUI=yes
1549
1550 DEFAULT_wxUSE_GUI=yes
1551
1552 DEFAULT_wxUSE_ZLIB=yes
1553 DEFAULT_wxUSE_LIBPNG=yes
1554 DEFAULT_wxUSE_LIBJPEG=yes
1555 DEFAULT_wxUSE_LIBTIFF=yes
1556 DEFAULT_wxUSE_ODBC=no
1557 DEFAULT_wxUSE_FREETYPE=no
1558 DEFAULT_wxUSE_OPENGL=no
1559
1560 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
1561 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
1562 DEFAULT_wxUSE_STD_IOSTREAM=no
1563 DEFAULT_wxUSE_CMDLINE_PARSER=yes
1564 DEFAULT_wxUSE_DATETIME=yes
1565 DEFAULT_wxUSE_TIMEDATE=no
1566 DEFAULT_wxUSE_TIMER=yes
1567 DEFAULT_wxUSE_STOPWATCH=yes
1568 DEFAULT_wxUSE_FILE=yes
1569 DEFAULT_wxUSE_FFILE=yes
1570 DEFAULT_wxUSE_TEXTFILE=yes
1571 DEFAULT_wxUSE_WAVE=no
1572 DEFAULT_wxUSE_INTL=yes
1573 DEFAULT_wxUSE_CONFIG=yes
1574 DEFAULT_wxUSE_FONTMAP=yes
1575 DEFAULT_wxUSE_STREAMS=yes
1576 DEFAULT_wxUSE_SOCKETS=yes
1577 DEFAULT_wxUSE_DIALUP_MANAGER=yes
1578 DEFAULT_wxUSE_SERIAL=yes
1579 DEFAULT_wxUSE_JOYSTICK=yes
1580 DEFAULT_wxUSE_DYNLIB_CLASS=yes
1581 DEFAULT_wxUSE_LONGLONG=yes
1582 DEFAULT_wxUSE_GEOMETRY=yes
1583
1584 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
1585 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
1586 DEFAULT_wxUSE_POSTSCRIPT=yes
1587
1588 DEFAULT_wxUSE_X_RESOURCES=no
1589 DEFAULT_wxUSE_CLIPBOARD=yes
1590 DEFAULT_wxUSE_TOOLTIPS=yes
1591 DEFAULT_wxUSE_DRAG_AND_DROP=yes
1592 DEFAULT_wxUSE_DRAGIMAGE=yes
1593 DEFAULT_wxUSE_SPLINES=yes
1594
1595 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
1596 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
1597 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
1598
1599 DEFAULT_wxUSE_PROLOGIO=yes
1600 DEFAULT_wxUSE_RESOURCES=yes
1601 DEFAULT_wxUSE_CONSTRAINTS=yes
1602 DEFAULT_wxUSE_IPC=yes
1603 DEFAULT_wxUSE_HELP=yes
1604 DEFAULT_wxUSE_MS_HTML_HELP=yes
1605 DEFAULT_wxUSE_WXHTML_HELP=yes
1606 DEFAULT_wxUSE_WXTREE=yes
1607 DEFAULT_wxUSE_METAFILE=yes
1608 DEFAULT_wxUSE_MIMETYPE=yes
1609
1610 DEFAULT_wxUSE_COMMONDLGS=yes
1611 DEFAULT_wxUSE_CHOICEDLG=yes
1612 DEFAULT_wxUSE_COLOURDLG=yes
1613 DEFAULT_wxUSE_DIRDLG=yes
1614 DEFAULT_wxUSE_FILEDLG=yes
1615 DEFAULT_wxUSE_FONTDLG=yes
1616 DEFAULT_wxUSE_MSGDLG=yes
1617 DEFAULT_wxUSE_NUMBERDLG=yes
1618 DEFAULT_wxUSE_TEXTDLG=yes
1619 DEFAULT_wxUSE_STARTUP_TIPS=yes
1620 DEFAULT_wxUSE_PROGRESSDLG=yes
1621 DEFAULT_wxUSE_WIZARDDLG=yes
1622
1623 DEFAULT_wxUSE_MENUS=yes
1624 DEFAULT_wxUSE_MINIFRAME=yes
1625 DEFAULT_wxUSE_HTML=yes
1626 DEFAULT_wxUSE_FILESYSTEM=yes
1627 DEFAULT_wxUSE_FS_INET=yes
1628 DEFAULT_wxUSE_FS_ZIP=yes
1629 DEFAULT_wxUSE_BUSYINFO=yes
1630 DEFAULT_wxUSE_ZIPSTREAM=yes
1631 DEFAULT_wxUSE_VALIDATORS=yes
1632
1633 DEFAULT_wxUSE_ACCEL=yes
1634 DEFAULT_wxUSE_BUTTON=yes
1635 DEFAULT_wxUSE_BMPBUTTON=yes
1636 DEFAULT_wxUSE_CALCTRL=yes
1637 DEFAULT_wxUSE_CARET=yes
1638 DEFAULT_wxUSE_CHECKBOX=yes
1639 DEFAULT_wxUSE_CHECKLST=yes
1640 DEFAULT_wxUSE_CHOICE=yes
1641 DEFAULT_wxUSE_COMBOBOX=yes
1642 DEFAULT_wxUSE_GAUGE=yes
1643 DEFAULT_wxUSE_GRID=yes
1644 DEFAULT_wxUSE_NEW_GRID=yes
1645 DEFAULT_wxUSE_IMAGLIST=yes
1646 DEFAULT_wxUSE_LISTBOX=yes
1647 DEFAULT_wxUSE_LISTCTRL=yes
1648 DEFAULT_wxUSE_NOTEBOOK=yes
1649 DEFAULT_wxUSE_RADIOBOX=yes
1650 DEFAULT_wxUSE_RADIOBTN=yes
1651 DEFAULT_wxUSE_SASH=yes
1652 DEFAULT_wxUSE_SCROLLBAR=yes
1653 DEFAULT_wxUSE_SLIDER=yes
1654 DEFAULT_wxUSE_SPINBTN=yes
1655 DEFAULT_wxUSE_SPINCTRL=yes
1656 DEFAULT_wxUSE_SPLITTER=yes
1657 DEFAULT_wxUSE_STATBMP=yes
1658 DEFAULT_wxUSE_STATBOX=yes
1659 DEFAULT_wxUSE_STATLINE=yes
1660 DEFAULT_wxUSE_STATTEXT=yes
1661 DEFAULT_wxUSE_STATUSBAR=yes
1662 DEFAULT_wxUSE_TABDIALOG=no
1663 DEFAULT_wxUSE_TEXTCTRL=yes
1664 DEFAULT_wxUSE_TOGGLEBTN=yes
1665 DEFAULT_wxUSE_TOOLBAR=yes
1666 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
1667 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
1668 DEFAULT_wxUSE_TREECTRL=yes
1669 DEFAULT_wxUSE_POPUPWIN=yes
1670
1671 DEFAULT_wxUSE_UNICODE=no
1672 DEFAULT_wxUSE_WCSRTOMBS=no
1673
1674 DEFAULT_wxUSE_IMAGE=yes
1675 DEFAULT_wxUSE_GIF=yes
1676 DEFAULT_wxUSE_PCX=yes
1677 DEFAULT_wxUSE_PNM=yes
1678 DEFAULT_wxUSE_XPM=yes
1679 fi
1680
1681
1682
1683 for toolkit in `echo $ALL_TOOLKITS`; do
1684 LINE=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1685 if test "x$LINE" != x ; then
1686 has_toolkit_in_cache=1
1687 eval "DEFAULT_$LINE"
1688 eval "CACHE_$toolkit=1"
1689 fi
1690 done
1691
1692
1693
1694 echo $ac_n "checking for --enable-gui""... $ac_c" 1>&6
1695 echo "configure:1696: checking for --enable-gui" >&5
1696 no_cache=0
1697 # Check whether --enable-gui or --disable-gui was given.
1698 if test "${enable_gui+set}" = set; then
1699 enableval="$enable_gui"
1700
1701 if test "$enableval" = yes; then
1702 ac_cv_use_gui='wxUSE_GUI=yes'
1703 else
1704 ac_cv_use_gui='wxUSE_GUI=no'
1705 fi
1706
1707 else
1708
1709 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1710 if test "x$LINE" != x ; then
1711 eval "DEFAULT_$LINE"
1712 else
1713 no_cache=1
1714 fi
1715
1716 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1717
1718 fi
1719
1720
1721 eval "$ac_cv_use_gui"
1722 if test "$no_cache" != 1; then
1723 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1724 fi
1725
1726 if test "$wxUSE_GUI" = yes; then
1727 echo "$ac_t""yes" 1>&6
1728 else
1729 echo "$ac_t""no" 1>&6
1730 fi
1731
1732
1733 if test "$wxUSE_GUI" = "yes"; then
1734
1735
1736 echo $ac_n "checking for --enable-universal""... $ac_c" 1>&6
1737 echo "configure:1738: checking for --enable-universal" >&5
1738 no_cache=0
1739 # Check whether --enable-universal or --disable-universal was given.
1740 if test "${enable_universal+set}" = set; then
1741 enableval="$enable_universal"
1742
1743 if test "$enableval" = yes; then
1744 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
1745 else
1746 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
1747 fi
1748
1749 else
1750
1751 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1752 if test "x$LINE" != x ; then
1753 eval "DEFAULT_$LINE"
1754 else
1755 no_cache=1
1756 fi
1757
1758 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1759
1760 fi
1761
1762
1763 eval "$ac_cv_use_universal"
1764 if test "$no_cache" != 1; then
1765 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1766 fi
1767
1768 if test "$wxUSE_UNIVERSAL" = yes; then
1769 echo "$ac_t""yes" 1>&6
1770 else
1771 echo "$ac_t""no" 1>&6
1772 fi
1773
1774 # Check whether --with-gtk or --without-gtk was given.
1775 if test "${with_gtk+set}" = set; then
1776 withval="$with_gtk"
1777 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
1778 fi
1779
1780 # Check whether --with-motif or --without-motif was given.
1781 if test "${with_motif+set}" = set; then
1782 withval="$with_motif"
1783 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
1784 fi
1785
1786 # Check whether --with-mac or --without-mac was given.
1787 if test "${with_mac+set}" = set; then
1788 withval="$with_mac"
1789 wxUSE_MAC="$withval" TOOLKIT_GIVEN=1
1790 fi
1791
1792 # Check whether --with-wine or --without-wine was given.
1793 if test "${with_wine+set}" = set; then
1794 withval="$with_wine"
1795 wxUSE_WINE="$withval" CACHE_WINE=1 TOOLKIT_GIVEN=1
1796 fi
1797
1798 # Check whether --with-cygwin or --without-cygwin was given.
1799 if test "${with_cygwin+set}" = set; then
1800 withval="$with_cygwin"
1801 wxUSE_CYGWIN="$withval" CACHE_CYGWIN=1 TOOLKIT_GIVEN=1
1802 fi
1803
1804 # Check whether --with-mingw or --without-mingw was given.
1805 if test "${with_mingw+set}" = set; then
1806 withval="$with_mingw"
1807 wxUSE_MINGW="$withval" CACHE_MINGW=1 TOOLKIT_GIVEN=1
1808 fi
1809
1810 # Check whether --with-pm or --without-pm was given.
1811 if test "${with_pm+set}" = set; then
1812 withval="$with_pm"
1813 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
1814 fi
1815
1816 # Check whether --with-mgl or --without-mgl was given.
1817 if test "${with_mgl+set}" = set; then
1818 withval="$with_mgl"
1819 wxUSE_MGL="$withval" CACHE_MGL=1 TOOLKIT_GIVEN=1
1820 fi
1821
1822
1823 # Check whether --enable-gtk2 or --disable-gtk2 was given.
1824 if test "${enable_gtk2+set}" = set; then
1825 enableval="$enable_gtk2"
1826 wxUSE_GTK2=1
1827 else
1828 wxUSE_GTK2=0
1829 fi
1830
1831
1832
1833 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
1834 echo "configure:1835: checking for --with-libpng" >&5
1835 no_cache=0
1836 # Check whether --with-libpng or --without-libpng was given.
1837 if test "${with_libpng+set}" = set; then
1838 withval="$with_libpng"
1839
1840 if test "$withval" = yes; then
1841 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
1842 elif test "$withval" = no; then
1843 ac_cv_use_libpng='wxUSE_LIBPNG=no'
1844 elif test "$withval" = sys; then
1845 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
1846 else
1847 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1848 fi
1849
1850 else
1851
1852 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1853 if test "x$LINE" != x ; then
1854 eval "DEFAULT_$LINE"
1855 else
1856 no_cache=1
1857 fi
1858
1859 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1860
1861 fi
1862
1863
1864 eval "$ac_cv_use_libpng"
1865 if test "$no_cache" != 1; then
1866 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1867 fi
1868
1869 if test "$wxUSE_LIBPNG" = yes; then
1870 echo "$ac_t""yes" 1>&6
1871 elif test "$wxUSE_LIBPNG" = no; then
1872 echo "$ac_t""no" 1>&6
1873 elif test "$wxUSE_LIBPNG" = sys; then
1874 echo "$ac_t""system version" 1>&6
1875 else
1876 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1877 fi
1878
1879
1880 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
1881 echo "configure:1882: checking for --with-libjpeg" >&5
1882 no_cache=0
1883 # Check whether --with-libjpeg or --without-libjpeg was given.
1884 if test "${with_libjpeg+set}" = set; then
1885 withval="$with_libjpeg"
1886
1887 if test "$withval" = yes; then
1888 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
1889 elif test "$withval" = no; then
1890 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
1891 elif test "$withval" = sys; then
1892 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
1893 else
1894 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1895 fi
1896
1897 else
1898
1899 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
1900 if test "x$LINE" != x ; then
1901 eval "DEFAULT_$LINE"
1902 else
1903 no_cache=1
1904 fi
1905
1906 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
1907
1908 fi
1909
1910
1911 eval "$ac_cv_use_libjpeg"
1912 if test "$no_cache" != 1; then
1913 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
1914 fi
1915
1916 if test "$wxUSE_LIBJPEG" = yes; then
1917 echo "$ac_t""yes" 1>&6
1918 elif test "$wxUSE_LIBJPEG" = no; then
1919 echo "$ac_t""no" 1>&6
1920 elif test "$wxUSE_LIBJPEG" = sys; then
1921 echo "$ac_t""system version" 1>&6
1922 else
1923 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1924 fi
1925
1926
1927 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
1928 echo "configure:1929: checking for --with-libtiff" >&5
1929 no_cache=0
1930 # Check whether --with-libtiff or --without-libtiff was given.
1931 if test "${with_libtiff+set}" = set; then
1932 withval="$with_libtiff"
1933
1934 if test "$withval" = yes; then
1935 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
1936 elif test "$withval" = no; then
1937 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
1938 elif test "$withval" = sys; then
1939 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
1940 else
1941 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no or sys" 1>&2; exit 1; }
1942 fi
1943
1944 else
1945
1946 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
1947 if test "x$LINE" != x ; then
1948 eval "DEFAULT_$LINE"
1949 else
1950 no_cache=1
1951 fi
1952
1953 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
1954
1955 fi
1956
1957
1958 eval "$ac_cv_use_libtiff"
1959 if test "$no_cache" != 1; then
1960 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
1961 fi
1962
1963 if test "$wxUSE_LIBTIFF" = yes; then
1964 echo "$ac_t""yes" 1>&6
1965 elif test "$wxUSE_LIBTIFF" = no; then
1966 echo "$ac_t""no" 1>&6
1967 elif test "$wxUSE_LIBTIFF" = sys; then
1968 echo "$ac_t""system version" 1>&6
1969 else
1970 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no or sys" 1>&2; exit 1; }
1971 fi
1972
1973
1974 echo $ac_n "checking for --with-freetype""... $ac_c" 1>&6
1975 echo "configure:1976: checking for --with-freetype" >&5
1976 no_cache=0
1977 # Check whether --with-freetype or --without-freetype was given.
1978 if test "${with_freetype+set}" = set; then
1979 withval="$with_freetype"
1980
1981 if test "$withval" = yes; then
1982 ac_cv_use_freetype='wxUSE_FREETYPE=yes'
1983 elif test "$withval" = no; then
1984 ac_cv_use_freetype='wxUSE_FREETYPE=no'
1985 elif test "$withval" = sys; then
1986 ac_cv_use_freetype='wxUSE_FREETYPE=sys'
1987 else
1988 { echo "configure: error: Invalid value for --with-freetype: should be yes, no or sys" 1>&2; exit 1; }
1989 fi
1990
1991 else
1992
1993 LINE=`grep "wxUSE_FREETYPE" ${wx_arg_cache_file}`
1994 if test "x$LINE" != x ; then
1995 eval "DEFAULT_$LINE"
1996 else
1997 no_cache=1
1998 fi
1999
2000 ac_cv_use_freetype='wxUSE_FREETYPE='$DEFAULT_wxUSE_FREETYPE
2001
2002 fi
2003
2004
2005 eval "$ac_cv_use_freetype"
2006 if test "$no_cache" != 1; then
2007 echo $ac_cv_use_freetype >> ${wx_arg_cache_file}.tmp
2008 fi
2009
2010 if test "$wxUSE_FREETYPE" = yes; then
2011 echo "$ac_t""yes" 1>&6
2012 elif test "$wxUSE_FREETYPE" = no; then
2013 echo "$ac_t""no" 1>&6
2014 elif test "$wxUSE_FREETYPE" = sys; then
2015 echo "$ac_t""system version" 1>&6
2016 else
2017 { echo "configure: error: Invalid value for --with-freetype: should be yes, no or sys" 1>&2; exit 1; }
2018 fi
2019
2020
2021 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
2022 echo "configure:2023: checking for --with-opengl" >&5
2023 no_cache=0
2024 # Check whether --with-opengl or --without-opengl was given.
2025 if test "${with_opengl+set}" = set; then
2026 withval="$with_opengl"
2027
2028 if test "$withval" = yes; then
2029 ac_cv_use_opengl='wxUSE_OPENGL=yes'
2030 else
2031 ac_cv_use_opengl='wxUSE_OPENGL=no'
2032 fi
2033
2034 else
2035
2036 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2037 if test "x$LINE" != x ; then
2038 eval "DEFAULT_$LINE"
2039 else
2040 no_cache=1
2041 fi
2042
2043 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2044
2045 fi
2046
2047
2048 eval "$ac_cv_use_opengl"
2049 if test "$no_cache" != 1; then
2050 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2051 fi
2052
2053 if test "$wxUSE_OPENGL" = yes; then
2054 echo "$ac_t""yes" 1>&6
2055 else
2056 echo "$ac_t""no" 1>&6
2057 fi
2058
2059
2060 fi
2061
2062
2063 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2064 echo "configure:2065: checking for --with-dmalloc" >&5
2065 no_cache=0
2066 # Check whether --with-dmalloc or --without-dmalloc was given.
2067 if test "${with_dmalloc+set}" = set; then
2068 withval="$with_dmalloc"
2069
2070 if test "$withval" = yes; then
2071 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
2072 else
2073 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
2074 fi
2075
2076 else
2077
2078 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2079 if test "x$LINE" != x ; then
2080 eval "DEFAULT_$LINE"
2081 else
2082 no_cache=1
2083 fi
2084
2085 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2086
2087 fi
2088
2089
2090 eval "$ac_cv_use_dmalloc"
2091 if test "$no_cache" != 1; then
2092 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2093 fi
2094
2095 if test "$wxUSE_DMALLOC" = yes; then
2096 echo "$ac_t""yes" 1>&6
2097 else
2098 echo "$ac_t""no" 1>&6
2099 fi
2100
2101
2102 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2103 echo "configure:2104: checking for --with-zlib" >&5
2104 no_cache=0
2105 # Check whether --with-zlib or --without-zlib was given.
2106 if test "${with_zlib+set}" = set; then
2107 withval="$with_zlib"
2108
2109 if test "$withval" = yes; then
2110 ac_cv_use_zlib='wxUSE_ZLIB=yes'
2111 elif test "$withval" = no; then
2112 ac_cv_use_zlib='wxUSE_ZLIB=no'
2113 elif test "$withval" = sys; then
2114 ac_cv_use_zlib='wxUSE_ZLIB=sys'
2115 else
2116 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
2117 fi
2118
2119 else
2120
2121 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2122 if test "x$LINE" != x ; then
2123 eval "DEFAULT_$LINE"
2124 else
2125 no_cache=1
2126 fi
2127
2128 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2129
2130 fi
2131
2132
2133 eval "$ac_cv_use_zlib"
2134 if test "$no_cache" != 1; then
2135 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2136 fi
2137
2138 if test "$wxUSE_ZLIB" = yes; then
2139 echo "$ac_t""yes" 1>&6
2140 elif test "$wxUSE_ZLIB" = no; then
2141 echo "$ac_t""no" 1>&6
2142 elif test "$wxUSE_ZLIB" = sys; then
2143 echo "$ac_t""system version" 1>&6
2144 else
2145 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
2146 fi
2147
2148
2149 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2150 echo "configure:2151: checking for --with-odbc" >&5
2151 no_cache=0
2152 # Check whether --with-odbc or --without-odbc was given.
2153 if test "${with_odbc+set}" = set; then
2154 withval="$with_odbc"
2155
2156 if test "$withval" = yes; then
2157 ac_cv_use_odbc='wxUSE_ODBC=yes'
2158 else
2159 ac_cv_use_odbc='wxUSE_ODBC=no'
2160 fi
2161
2162 else
2163
2164 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2165 if test "x$LINE" != x ; then
2166 eval "DEFAULT_$LINE"
2167 else
2168 no_cache=1
2169 fi
2170
2171 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2172
2173 fi
2174
2175
2176 eval "$ac_cv_use_odbc"
2177 if test "$no_cache" != 1; then
2178 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2179 fi
2180
2181 if test "$wxUSE_ODBC" = yes; then
2182 echo "$ac_t""yes" 1>&6
2183 else
2184 echo "$ac_t""no" 1>&6
2185 fi
2186
2187
2188
2189
2190
2191 echo $ac_n "checking for --enable-shared""... $ac_c" 1>&6
2192 echo "configure:2193: checking for --enable-shared" >&5
2193 no_cache=0
2194 # Check whether --enable-shared or --disable-shared was given.
2195 if test "${enable_shared+set}" = set; then
2196 enableval="$enable_shared"
2197
2198 if test "$enableval" = yes; then
2199 ac_cv_use_shared='wxUSE_SHARED=yes'
2200 else
2201 ac_cv_use_shared='wxUSE_SHARED=no'
2202 fi
2203
2204 else
2205
2206 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2207 if test "x$LINE" != x ; then
2208 eval "DEFAULT_$LINE"
2209 else
2210 no_cache=1
2211 fi
2212
2213 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2214
2215 fi
2216
2217
2218 eval "$ac_cv_use_shared"
2219 if test "$no_cache" != 1; then
2220 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2221 fi
2222
2223 if test "$wxUSE_SHARED" = yes; then
2224 echo "$ac_t""yes" 1>&6
2225 else
2226 echo "$ac_t""no" 1>&6
2227 fi
2228
2229
2230 echo $ac_n "checking for --enable-burnt_name""... $ac_c" 1>&6
2231 echo "configure:2232: checking for --enable-burnt_name" >&5
2232 no_cache=0
2233 # Check whether --enable-burnt_name or --disable-burnt_name was given.
2234 if test "${enable_burnt_name+set}" = set; then
2235 enableval="$enable_burnt_name"
2236
2237 if test "$enableval" = yes; then
2238 ac_cv_use_burnt_name='wxUSE_BURNT_NAME=yes'
2239 else
2240 ac_cv_use_burnt_name='wxUSE_BURNT_NAME=no'
2241 fi
2242
2243 else
2244
2245 LINE=`grep "wxUSE_BURNT_NAME" ${wx_arg_cache_file}`
2246 if test "x$LINE" != x ; then
2247 eval "DEFAULT_$LINE"
2248 else
2249 no_cache=1
2250 fi
2251
2252 ac_cv_use_burnt_name='wxUSE_BURNT_NAME='$DEFAULT_wxUSE_BURNT_NAME
2253
2254 fi
2255
2256
2257 eval "$ac_cv_use_burnt_name"
2258 if test "$no_cache" != 1; then
2259 echo $ac_cv_use_burnt_name >> ${wx_arg_cache_file}.tmp
2260 fi
2261
2262 if test "$wxUSE_BURNT_NAME" = yes; then
2263 echo "$ac_t""yes" 1>&6
2264 else
2265 echo "$ac_t""no" 1>&6
2266 fi
2267
2268
2269 echo $ac_n "checking for --enable-optimise""... $ac_c" 1>&6
2270 echo "configure:2271: checking for --enable-optimise" >&5
2271 no_cache=0
2272 # Check whether --enable-optimise or --disable-optimise was given.
2273 if test "${enable_optimise+set}" = set; then
2274 enableval="$enable_optimise"
2275
2276 if test "$enableval" = yes; then
2277 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
2278 else
2279 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
2280 fi
2281
2282 else
2283
2284 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2285 if test "x$LINE" != x ; then
2286 eval "DEFAULT_$LINE"
2287 else
2288 no_cache=1
2289 fi
2290
2291 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2292
2293 fi
2294
2295
2296 eval "$ac_cv_use_optimise"
2297 if test "$no_cache" != 1; then
2298 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2299 fi
2300
2301 if test "$wxUSE_OPTIMISE" = yes; then
2302 echo "$ac_t""yes" 1>&6
2303 else
2304 echo "$ac_t""no" 1>&6
2305 fi
2306
2307
2308 echo $ac_n "checking for --enable-debug""... $ac_c" 1>&6
2309 echo "configure:2310: checking for --enable-debug" >&5
2310 no_cache=0
2311 # Check whether --enable-debug or --disable-debug was given.
2312 if test "${enable_debug+set}" = set; then
2313 enableval="$enable_debug"
2314
2315 if test "$enableval" = yes; then
2316 ac_cv_use_debug='wxUSE_DEBUG=yes'
2317 else
2318 ac_cv_use_debug='wxUSE_DEBUG=no'
2319 fi
2320
2321 else
2322
2323 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2324 if test "x$LINE" != x ; then
2325 eval "DEFAULT_$LINE"
2326 else
2327 no_cache=1
2328 fi
2329
2330 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2331
2332 fi
2333
2334
2335 eval "$ac_cv_use_debug"
2336 if test "$no_cache" != 1; then
2337 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2338 fi
2339
2340 if test "$wxUSE_DEBUG" = yes; then
2341 echo "$ac_t""yes" 1>&6
2342 else
2343 echo "$ac_t""no" 1>&6
2344 fi
2345
2346
2347 if test "$wxUSE_DEBUG" = "yes"; then
2348 DEFAULT_wxUSE_DEBUG_FLAG=yes
2349 DEFAULT_wxUSE_DEBUG_INFO=yes
2350 elif test "$wxUSE_DEBUG" = "no"; then
2351 DEFAULT_wxUSE_DEBUG_FLAG=no
2352 DEFAULT_wxUSE_DEBUG_INFO=no
2353 fi
2354
2355
2356 echo $ac_n "checking for --enable-debug_flag""... $ac_c" 1>&6
2357 echo "configure:2358: checking for --enable-debug_flag" >&5
2358 no_cache=0
2359 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2360 if test "${enable_debug_flag+set}" = set; then
2361 enableval="$enable_debug_flag"
2362
2363 if test "$enableval" = yes; then
2364 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
2365 else
2366 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
2367 fi
2368
2369 else
2370
2371 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2372 if test "x$LINE" != x ; then
2373 eval "DEFAULT_$LINE"
2374 else
2375 no_cache=1
2376 fi
2377
2378 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2379
2380 fi
2381
2382
2383 eval "$ac_cv_use_debug_flag"
2384 if test "$no_cache" != 1; then
2385 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2386 fi
2387
2388 if test "$wxUSE_DEBUG_FLAG" = yes; then
2389 echo "$ac_t""yes" 1>&6
2390 else
2391 echo "$ac_t""no" 1>&6
2392 fi
2393
2394
2395 echo $ac_n "checking for --enable-debug_info""... $ac_c" 1>&6
2396 echo "configure:2397: checking for --enable-debug_info" >&5
2397 no_cache=0
2398 # Check whether --enable-debug_info or --disable-debug_info was given.
2399 if test "${enable_debug_info+set}" = set; then
2400 enableval="$enable_debug_info"
2401
2402 if test "$enableval" = yes; then
2403 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
2404 else
2405 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
2406 fi
2407
2408 else
2409
2410 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2411 if test "x$LINE" != x ; then
2412 eval "DEFAULT_$LINE"
2413 else
2414 no_cache=1
2415 fi
2416
2417 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2418
2419 fi
2420
2421
2422 eval "$ac_cv_use_debug_info"
2423 if test "$no_cache" != 1; then
2424 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2425 fi
2426
2427 if test "$wxUSE_DEBUG_INFO" = yes; then
2428 echo "$ac_t""yes" 1>&6
2429 else
2430 echo "$ac_t""no" 1>&6
2431 fi
2432
2433
2434 echo $ac_n "checking for --enable-debug_gdb""... $ac_c" 1>&6
2435 echo "configure:2436: checking for --enable-debug_gdb" >&5
2436 no_cache=0
2437 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2438 if test "${enable_debug_gdb+set}" = set; then
2439 enableval="$enable_debug_gdb"
2440
2441 if test "$enableval" = yes; then
2442 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
2443 else
2444 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
2445 fi
2446
2447 else
2448
2449 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2450 if test "x$LINE" != x ; then
2451 eval "DEFAULT_$LINE"
2452 else
2453 no_cache=1
2454 fi
2455
2456 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2457
2458 fi
2459
2460
2461 eval "$ac_cv_use_debug_gdb"
2462 if test "$no_cache" != 1; then
2463 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2464 fi
2465
2466 if test "$wxUSE_DEBUG_GDB" = yes; then
2467 echo "$ac_t""yes" 1>&6
2468 else
2469 echo "$ac_t""no" 1>&6
2470 fi
2471
2472
2473 echo $ac_n "checking for --enable-debug_cntxt""... $ac_c" 1>&6
2474 echo "configure:2475: checking for --enable-debug_cntxt" >&5
2475 no_cache=0
2476 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2477 if test "${enable_debug_cntxt+set}" = set; then
2478 enableval="$enable_debug_cntxt"
2479
2480 if test "$enableval" = yes; then
2481 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
2482 else
2483 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
2484 fi
2485
2486 else
2487
2488 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2489 if test "x$LINE" != x ; then
2490 eval "DEFAULT_$LINE"
2491 else
2492 no_cache=1
2493 fi
2494
2495 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2496
2497 fi
2498
2499
2500 eval "$ac_cv_use_debug_cntxt"
2501 if test "$no_cache" != 1; then
2502 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2503 fi
2504
2505 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2506 echo "$ac_t""yes" 1>&6
2507 else
2508 echo "$ac_t""no" 1>&6
2509 fi
2510
2511
2512 echo $ac_n "checking for --enable-mem_tracing""... $ac_c" 1>&6
2513 echo "configure:2514: checking for --enable-mem_tracing" >&5
2514 no_cache=0
2515 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2516 if test "${enable_mem_tracing+set}" = set; then
2517 enableval="$enable_mem_tracing"
2518
2519 if test "$enableval" = yes; then
2520 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
2521 else
2522 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
2523 fi
2524
2525 else
2526
2527 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2528 if test "x$LINE" != x ; then
2529 eval "DEFAULT_$LINE"
2530 else
2531 no_cache=1
2532 fi
2533
2534 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2535
2536 fi
2537
2538
2539 eval "$ac_cv_use_mem_tracing"
2540 if test "$no_cache" != 1; then
2541 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2542 fi
2543
2544 if test "$wxUSE_MEM_TRACING" = yes; then
2545 echo "$ac_t""yes" 1>&6
2546 else
2547 echo "$ac_t""no" 1>&6
2548 fi
2549
2550
2551 echo $ac_n "checking for --enable-profile""... $ac_c" 1>&6
2552 echo "configure:2553: checking for --enable-profile" >&5
2553 no_cache=0
2554 # Check whether --enable-profile or --disable-profile was given.
2555 if test "${enable_profile+set}" = set; then
2556 enableval="$enable_profile"
2557
2558 if test "$enableval" = yes; then
2559 ac_cv_use_profile='wxUSE_PROFILE=yes'
2560 else
2561 ac_cv_use_profile='wxUSE_PROFILE=no'
2562 fi
2563
2564 else
2565
2566 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2567 if test "x$LINE" != x ; then
2568 eval "DEFAULT_$LINE"
2569 else
2570 no_cache=1
2571 fi
2572
2573 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2574
2575 fi
2576
2577
2578 eval "$ac_cv_use_profile"
2579 if test "$no_cache" != 1; then
2580 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2581 fi
2582
2583 if test "$wxUSE_PROFILE" = yes; then
2584 echo "$ac_t""yes" 1>&6
2585 else
2586 echo "$ac_t""no" 1>&6
2587 fi
2588
2589
2590 echo $ac_n "checking for --enable-no_rtti""... $ac_c" 1>&6
2591 echo "configure:2592: checking for --enable-no_rtti" >&5
2592 no_cache=0
2593 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2594 if test "${enable_no_rtti+set}" = set; then
2595 enableval="$enable_no_rtti"
2596
2597 if test "$enableval" = yes; then
2598 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
2599 else
2600 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
2601 fi
2602
2603 else
2604
2605 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2606 if test "x$LINE" != x ; then
2607 eval "DEFAULT_$LINE"
2608 else
2609 no_cache=1
2610 fi
2611
2612 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2613
2614 fi
2615
2616
2617 eval "$ac_cv_use_no_rtti"
2618 if test "$no_cache" != 1; then
2619 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2620 fi
2621
2622 if test "$wxUSE_NO_RTTI" = yes; then
2623 echo "$ac_t""yes" 1>&6
2624 else
2625 echo "$ac_t""no" 1>&6
2626 fi
2627
2628
2629 echo $ac_n "checking for --enable-no_exceptions""... $ac_c" 1>&6
2630 echo "configure:2631: checking for --enable-no_exceptions" >&5
2631 no_cache=0
2632 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2633 if test "${enable_no_exceptions+set}" = set; then
2634 enableval="$enable_no_exceptions"
2635
2636 if test "$enableval" = yes; then
2637 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
2638 else
2639 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
2640 fi
2641
2642 else
2643
2644 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2645 if test "x$LINE" != x ; then
2646 eval "DEFAULT_$LINE"
2647 else
2648 no_cache=1
2649 fi
2650
2651 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2652
2653 fi
2654
2655
2656 eval "$ac_cv_use_no_exceptions"
2657 if test "$no_cache" != 1; then
2658 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2659 fi
2660
2661 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2662 echo "$ac_t""yes" 1>&6
2663 else
2664 echo "$ac_t""no" 1>&6
2665 fi
2666
2667
2668 echo $ac_n "checking for --enable-permissive""... $ac_c" 1>&6
2669 echo "configure:2670: checking for --enable-permissive" >&5
2670 no_cache=0
2671 # Check whether --enable-permissive or --disable-permissive was given.
2672 if test "${enable_permissive+set}" = set; then
2673 enableval="$enable_permissive"
2674
2675 if test "$enableval" = yes; then
2676 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
2677 else
2678 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
2679 fi
2680
2681 else
2682
2683 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2684 if test "x$LINE" != x ; then
2685 eval "DEFAULT_$LINE"
2686 else
2687 no_cache=1
2688 fi
2689
2690 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2691
2692 fi
2693
2694
2695 eval "$ac_cv_use_permissive"
2696 if test "$no_cache" != 1; then
2697 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2698 fi
2699
2700 if test "$wxUSE_PERMISSIVE" = yes; then
2701 echo "$ac_t""yes" 1>&6
2702 else
2703 echo "$ac_t""no" 1>&6
2704 fi
2705
2706
2707 echo $ac_n "checking for --enable-no_deps""... $ac_c" 1>&6
2708 echo "configure:2709: checking for --enable-no_deps" >&5
2709 no_cache=0
2710 # Check whether --enable-no_deps or --disable-no_deps was given.
2711 if test "${enable_no_deps+set}" = set; then
2712 enableval="$enable_no_deps"
2713
2714 if test "$enableval" = yes; then
2715 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
2716 else
2717 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
2718 fi
2719
2720 else
2721
2722 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2723 if test "x$LINE" != x ; then
2724 eval "DEFAULT_$LINE"
2725 else
2726 no_cache=1
2727 fi
2728
2729 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2730
2731 fi
2732
2733
2734 eval "$ac_cv_use_no_deps"
2735 if test "$no_cache" != 1; then
2736 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2737 fi
2738
2739 if test "$wxUSE_NO_DEPS" = yes; then
2740 echo "$ac_t""yes" 1>&6
2741 else
2742 echo "$ac_t""no" 1>&6
2743 fi
2744
2745
2746
2747 echo $ac_n "checking for --enable-compat20""... $ac_c" 1>&6
2748 echo "configure:2749: checking for --enable-compat20" >&5
2749 no_cache=0
2750 # Check whether --enable-compat20 or --disable-compat20 was given.
2751 if test "${enable_compat20+set}" = set; then
2752 enableval="$enable_compat20"
2753
2754 if test "$enableval" = yes; then
2755 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2=yes'
2756 else
2757 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2=no'
2758 fi
2759
2760 else
2761
2762 LINE=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
2763 if test "x$LINE" != x ; then
2764 eval "DEFAULT_$LINE"
2765 else
2766 no_cache=1
2767 fi
2768
2769 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
2770
2771 fi
2772
2773
2774 eval "$ac_cv_use_compat20"
2775 if test "$no_cache" != 1; then
2776 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
2777 fi
2778
2779 if test "$WXWIN_COMPATIBILITY_2" = yes; then
2780 echo "$ac_t""yes" 1>&6
2781 else
2782 echo "$ac_t""no" 1>&6
2783 fi
2784
2785
2786 echo $ac_n "checking for --enable-compat22""... $ac_c" 1>&6
2787 echo "configure:2788: checking for --enable-compat22" >&5
2788 no_cache=0
2789 # Check whether --enable-compat22 or --disable-compat22 was given.
2790 if test "${enable_compat22+set}" = set; then
2791 enableval="$enable_compat22"
2792
2793 if test "$enableval" = yes; then
2794 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
2795 else
2796 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
2797 fi
2798
2799 else
2800
2801 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
2802 if test "x$LINE" != x ; then
2803 eval "DEFAULT_$LINE"
2804 else
2805 no_cache=1
2806 fi
2807
2808 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
2809
2810 fi
2811
2812
2813 eval "$ac_cv_use_compat22"
2814 if test "$no_cache" != 1; then
2815 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
2816 fi
2817
2818 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
2819 echo "$ac_t""yes" 1>&6
2820 else
2821 echo "$ac_t""no" 1>&6
2822 fi
2823
2824
2825
2826
2827 echo $ac_n "checking for --enable-intl""... $ac_c" 1>&6
2828 echo "configure:2829: checking for --enable-intl" >&5
2829 no_cache=0
2830 # Check whether --enable-intl or --disable-intl was given.
2831 if test "${enable_intl+set}" = set; then
2832 enableval="$enable_intl"
2833
2834 if test "$enableval" = yes; then
2835 ac_cv_use_intl='wxUSE_INTL=yes'
2836 else
2837 ac_cv_use_intl='wxUSE_INTL=no'
2838 fi
2839
2840 else
2841
2842 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
2843 if test "x$LINE" != x ; then
2844 eval "DEFAULT_$LINE"
2845 else
2846 no_cache=1
2847 fi
2848
2849 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
2850
2851 fi
2852
2853
2854 eval "$ac_cv_use_intl"
2855 if test "$no_cache" != 1; then
2856 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
2857 fi
2858
2859 if test "$wxUSE_INTL" = yes; then
2860 echo "$ac_t""yes" 1>&6
2861 else
2862 echo "$ac_t""no" 1>&6
2863 fi
2864
2865
2866 echo $ac_n "checking for --enable-config""... $ac_c" 1>&6
2867 echo "configure:2868: checking for --enable-config" >&5
2868 no_cache=0
2869 # Check whether --enable-config or --disable-config was given.
2870 if test "${enable_config+set}" = set; then
2871 enableval="$enable_config"
2872
2873 if test "$enableval" = yes; then
2874 ac_cv_use_config='wxUSE_CONFIG=yes'
2875 else
2876 ac_cv_use_config='wxUSE_CONFIG=no'
2877 fi
2878
2879 else
2880
2881 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
2882 if test "x$LINE" != x ; then
2883 eval "DEFAULT_$LINE"
2884 else
2885 no_cache=1
2886 fi
2887
2888 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
2889
2890 fi
2891
2892
2893 eval "$ac_cv_use_config"
2894 if test "$no_cache" != 1; then
2895 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
2896 fi
2897
2898 if test "$wxUSE_CONFIG" = yes; then
2899 echo "$ac_t""yes" 1>&6
2900 else
2901 echo "$ac_t""no" 1>&6
2902 fi
2903
2904
2905
2906 echo $ac_n "checking for --enable-sockets""... $ac_c" 1>&6
2907 echo "configure:2908: checking for --enable-sockets" >&5
2908 no_cache=0
2909 # Check whether --enable-sockets or --disable-sockets was given.
2910 if test "${enable_sockets+set}" = set; then
2911 enableval="$enable_sockets"
2912
2913 if test "$enableval" = yes; then
2914 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
2915 else
2916 ac_cv_use_sockets='wxUSE_SOCKETS=no'
2917 fi
2918
2919 else
2920
2921 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
2922 if test "x$LINE" != x ; then
2923 eval "DEFAULT_$LINE"
2924 else
2925 no_cache=1
2926 fi
2927
2928 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
2929
2930 fi
2931
2932
2933 eval "$ac_cv_use_sockets"
2934 if test "$no_cache" != 1; then
2935 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
2936 fi
2937
2938 if test "$wxUSE_SOCKETS" = yes; then
2939 echo "$ac_t""yes" 1>&6
2940 else
2941 echo "$ac_t""no" 1>&6
2942 fi
2943
2944
2945
2946 echo $ac_n "checking for --enable-ipc""... $ac_c" 1>&6
2947 echo "configure:2948: checking for --enable-ipc" >&5
2948 no_cache=0
2949 # Check whether --enable-ipc or --disable-ipc was given.
2950 if test "${enable_ipc+set}" = set; then
2951 enableval="$enable_ipc"
2952
2953 if test "$enableval" = yes; then
2954 ac_cv_use_ipc='wxUSE_IPC=yes'
2955 else
2956 ac_cv_use_ipc='wxUSE_IPC=no'
2957 fi
2958
2959 else
2960
2961 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
2962 if test "x$LINE" != x ; then
2963 eval "DEFAULT_$LINE"
2964 else
2965 no_cache=1
2966 fi
2967
2968 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
2969
2970 fi
2971
2972
2973 eval "$ac_cv_use_ipc"
2974 if test "$no_cache" != 1; then
2975 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
2976 fi
2977
2978 if test "$wxUSE_IPC" = yes; then
2979 echo "$ac_t""yes" 1>&6
2980 else
2981 echo "$ac_t""no" 1>&6
2982 fi
2983
2984
2985
2986 echo $ac_n "checking for --enable-cmdline""... $ac_c" 1>&6
2987 echo "configure:2988: checking for --enable-cmdline" >&5
2988 no_cache=0
2989 # Check whether --enable-cmdline or --disable-cmdline was given.
2990 if test "${enable_cmdline+set}" = set; then
2991 enableval="$enable_cmdline"
2992
2993 if test "$enableval" = yes; then
2994 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
2995 else
2996 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
2997 fi
2998
2999 else
3000
3001 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
3002 if test "x$LINE" != x ; then
3003 eval "DEFAULT_$LINE"
3004 else
3005 no_cache=1
3006 fi
3007
3008 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
3009
3010 fi
3011
3012
3013 eval "$ac_cv_use_cmdline"
3014 if test "$no_cache" != 1; then
3015 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
3016 fi
3017
3018 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3019 echo "$ac_t""yes" 1>&6
3020 else
3021 echo "$ac_t""no" 1>&6
3022 fi
3023
3024
3025 echo $ac_n "checking for --enable-datetime""... $ac_c" 1>&6
3026 echo "configure:3027: checking for --enable-datetime" >&5
3027 no_cache=0
3028 # Check whether --enable-datetime or --disable-datetime was given.
3029 if test "${enable_datetime+set}" = set; then
3030 enableval="$enable_datetime"
3031
3032 if test "$enableval" = yes; then
3033 ac_cv_use_datetime='wxUSE_DATETIME=yes'
3034 else
3035 ac_cv_use_datetime='wxUSE_DATETIME=no'
3036 fi
3037
3038 else
3039
3040 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3041 if test "x$LINE" != x ; then
3042 eval "DEFAULT_$LINE"
3043 else
3044 no_cache=1
3045 fi
3046
3047 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3048
3049 fi
3050
3051
3052 eval "$ac_cv_use_datetime"
3053 if test "$no_cache" != 1; then
3054 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3055 fi
3056
3057 if test "$wxUSE_DATETIME" = yes; then
3058 echo "$ac_t""yes" 1>&6
3059 else
3060 echo "$ac_t""no" 1>&6
3061 fi
3062
3063
3064 echo $ac_n "checking for --enable-timedate""... $ac_c" 1>&6
3065 echo "configure:3066: checking for --enable-timedate" >&5
3066 no_cache=0
3067 # Check whether --enable-timedate or --disable-timedate was given.
3068 if test "${enable_timedate+set}" = set; then
3069 enableval="$enable_timedate"
3070
3071 if test "$enableval" = yes; then
3072 ac_cv_use_timedate='wxUSE_TIMEDATE=yes'
3073 else
3074 ac_cv_use_timedate='wxUSE_TIMEDATE=no'
3075 fi
3076
3077 else
3078
3079 LINE=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
3080 if test "x$LINE" != x ; then
3081 eval "DEFAULT_$LINE"
3082 else
3083 no_cache=1
3084 fi
3085
3086 ac_cv_use_timedate='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
3087
3088 fi
3089
3090
3091 eval "$ac_cv_use_timedate"
3092 if test "$no_cache" != 1; then
3093 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
3094 fi
3095
3096 if test "$wxUSE_TIMEDATE" = yes; then
3097 echo "$ac_t""yes" 1>&6
3098 else
3099 echo "$ac_t""no" 1>&6
3100 fi
3101
3102
3103 echo $ac_n "checking for --enable-stopwatch""... $ac_c" 1>&6
3104 echo "configure:3105: checking for --enable-stopwatch" >&5
3105 no_cache=0
3106 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3107 if test "${enable_stopwatch+set}" = set; then
3108 enableval="$enable_stopwatch"
3109
3110 if test "$enableval" = yes; then
3111 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
3112 else
3113 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
3114 fi
3115
3116 else
3117
3118 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3119 if test "x$LINE" != x ; then
3120 eval "DEFAULT_$LINE"
3121 else
3122 no_cache=1
3123 fi
3124
3125 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3126
3127 fi
3128
3129
3130 eval "$ac_cv_use_stopwatch"
3131 if test "$no_cache" != 1; then
3132 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3133 fi
3134
3135 if test "$wxUSE_STOPWATCH" = yes; then
3136 echo "$ac_t""yes" 1>&6
3137 else
3138 echo "$ac_t""no" 1>&6
3139 fi
3140
3141
3142 echo $ac_n "checking for --enable-dialupman""... $ac_c" 1>&6
3143 echo "configure:3144: checking for --enable-dialupman" >&5
3144 no_cache=0
3145 # Check whether --enable-dialupman or --disable-dialupman was given.
3146 if test "${enable_dialupman+set}" = set; then
3147 enableval="$enable_dialupman"
3148
3149 if test "$enableval" = yes; then
3150 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
3151 else
3152 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
3153 fi
3154
3155 else
3156
3157 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3158 if test "x$LINE" != x ; then
3159 eval "DEFAULT_$LINE"
3160 else
3161 no_cache=1
3162 fi
3163
3164 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3165
3166 fi
3167
3168
3169 eval "$ac_cv_use_dialupman"
3170 if test "$no_cache" != 1; then
3171 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3172 fi
3173
3174 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3175 echo "$ac_t""yes" 1>&6
3176 else
3177 echo "$ac_t""no" 1>&6
3178 fi
3179
3180
3181 echo $ac_n "checking for --enable-apple_ieee""... $ac_c" 1>&6
3182 echo "configure:3183: checking for --enable-apple_ieee" >&5
3183 no_cache=0
3184 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3185 if test "${enable_apple_ieee+set}" = set; then
3186 enableval="$enable_apple_ieee"
3187
3188 if test "$enableval" = yes; then
3189 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
3190 else
3191 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
3192 fi
3193
3194 else
3195
3196 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3197 if test "x$LINE" != x ; then
3198 eval "DEFAULT_$LINE"
3199 else
3200 no_cache=1
3201 fi
3202
3203 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3204
3205 fi
3206
3207
3208 eval "$ac_cv_use_apple_ieee"
3209 if test "$no_cache" != 1; then
3210 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3211 fi
3212
3213 if test "$wxUSE_APPLE_IEEE" = yes; then
3214 echo "$ac_t""yes" 1>&6
3215 else
3216 echo "$ac_t""no" 1>&6
3217 fi
3218
3219
3220 echo $ac_n "checking for --enable-timer""... $ac_c" 1>&6
3221 echo "configure:3222: checking for --enable-timer" >&5
3222 no_cache=0
3223 # Check whether --enable-timer or --disable-timer was given.
3224 if test "${enable_timer+set}" = set; then
3225 enableval="$enable_timer"
3226
3227 if test "$enableval" = yes; then
3228 ac_cv_use_timer='wxUSE_TIMER=yes'
3229 else
3230 ac_cv_use_timer='wxUSE_TIMER=no'
3231 fi
3232
3233 else
3234
3235 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3236 if test "x$LINE" != x ; then
3237 eval "DEFAULT_$LINE"
3238 else
3239 no_cache=1
3240 fi
3241
3242 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3243
3244 fi
3245
3246
3247 eval "$ac_cv_use_timer"
3248 if test "$no_cache" != 1; then
3249 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3250 fi
3251
3252 if test "$wxUSE_TIMER" = yes; then
3253 echo "$ac_t""yes" 1>&6
3254 else
3255 echo "$ac_t""no" 1>&6
3256 fi
3257
3258
3259 echo $ac_n "checking for --enable-wave""... $ac_c" 1>&6
3260 echo "configure:3261: checking for --enable-wave" >&5
3261 no_cache=0
3262 # Check whether --enable-wave or --disable-wave was given.
3263 if test "${enable_wave+set}" = set; then
3264 enableval="$enable_wave"
3265
3266 if test "$enableval" = yes; then
3267 ac_cv_use_wave='wxUSE_WAVE=yes'
3268 else
3269 ac_cv_use_wave='wxUSE_WAVE=no'
3270 fi
3271
3272 else
3273
3274 LINE=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3275 if test "x$LINE" != x ; then
3276 eval "DEFAULT_$LINE"
3277 else
3278 no_cache=1
3279 fi
3280
3281 ac_cv_use_wave='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3282
3283 fi
3284
3285
3286 eval "$ac_cv_use_wave"
3287 if test "$no_cache" != 1; then
3288 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3289 fi
3290
3291 if test "$wxUSE_WAVE" = yes; then
3292 echo "$ac_t""yes" 1>&6
3293 else
3294 echo "$ac_t""no" 1>&6
3295 fi
3296
3297
3298 echo $ac_n "checking for --enable-fraction""... $ac_c" 1>&6
3299 echo "configure:3300: checking for --enable-fraction" >&5
3300 no_cache=0
3301 # Check whether --enable-fraction or --disable-fraction was given.
3302 if test "${enable_fraction+set}" = set; then
3303 enableval="$enable_fraction"
3304
3305 if test "$enableval" = yes; then
3306 ac_cv_use_fraction='wxUSE_FRACTION=yes'
3307 else
3308 ac_cv_use_fraction='wxUSE_FRACTION=no'
3309 fi
3310
3311 else
3312
3313 LINE=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3314 if test "x$LINE" != x ; then
3315 eval "DEFAULT_$LINE"
3316 else
3317 no_cache=1
3318 fi
3319
3320 ac_cv_use_fraction='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3321
3322 fi
3323
3324
3325 eval "$ac_cv_use_fraction"
3326 if test "$no_cache" != 1; then
3327 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3328 fi
3329
3330 if test "$wxUSE_FRACTION" = yes; then
3331 echo "$ac_t""yes" 1>&6
3332 else
3333 echo "$ac_t""no" 1>&6
3334 fi
3335
3336
3337 echo $ac_n "checking for --enable-dynlib""... $ac_c" 1>&6
3338 echo "configure:3339: checking for --enable-dynlib" >&5
3339 no_cache=0
3340 # Check whether --enable-dynlib or --disable-dynlib was given.
3341 if test "${enable_dynlib+set}" = set; then
3342 enableval="$enable_dynlib"
3343
3344 if test "$enableval" = yes; then
3345 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
3346 else
3347 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
3348 fi
3349
3350 else
3351
3352 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3353 if test "x$LINE" != x ; then
3354 eval "DEFAULT_$LINE"
3355 else
3356 no_cache=1
3357 fi
3358
3359 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3360
3361 fi
3362
3363
3364 eval "$ac_cv_use_dynlib"
3365 if test "$no_cache" != 1; then
3366 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3367 fi
3368
3369 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3370 echo "$ac_t""yes" 1>&6
3371 else
3372 echo "$ac_t""no" 1>&6
3373 fi
3374
3375
3376 echo $ac_n "checking for --enable-longlong""... $ac_c" 1>&6
3377 echo "configure:3378: checking for --enable-longlong" >&5
3378 no_cache=0
3379 # Check whether --enable-longlong or --disable-longlong was given.
3380 if test "${enable_longlong+set}" = set; then
3381 enableval="$enable_longlong"
3382
3383 if test "$enableval" = yes; then
3384 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
3385 else
3386 ac_cv_use_longlong='wxUSE_LONGLONG=no'
3387 fi
3388
3389 else
3390
3391 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3392 if test "x$LINE" != x ; then
3393 eval "DEFAULT_$LINE"
3394 else
3395 no_cache=1
3396 fi
3397
3398 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3399
3400 fi
3401
3402
3403 eval "$ac_cv_use_longlong"
3404 if test "$no_cache" != 1; then
3405 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3406 fi
3407
3408 if test "$wxUSE_LONGLONG" = yes; then
3409 echo "$ac_t""yes" 1>&6
3410 else
3411 echo "$ac_t""no" 1>&6
3412 fi
3413
3414
3415 echo $ac_n "checking for --enable-geometry""... $ac_c" 1>&6
3416 echo "configure:3417: checking for --enable-geometry" >&5
3417 no_cache=0
3418 # Check whether --enable-geometry or --disable-geometry was given.
3419 if test "${enable_geometry+set}" = set; then
3420 enableval="$enable_geometry"
3421
3422 if test "$enableval" = yes; then
3423 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
3424 else
3425 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
3426 fi
3427
3428 else
3429
3430 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
3431 if test "x$LINE" != x ; then
3432 eval "DEFAULT_$LINE"
3433 else
3434 no_cache=1
3435 fi
3436
3437 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
3438
3439 fi
3440
3441
3442 eval "$ac_cv_use_geometry"
3443 if test "$no_cache" != 1; then
3444 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
3445 fi
3446
3447 if test "$wxUSE_GEOMETRY" = yes; then
3448 echo "$ac_t""yes" 1>&6
3449 else
3450 echo "$ac_t""no" 1>&6
3451 fi
3452
3453
3454 echo $ac_n "checking for --enable-log""... $ac_c" 1>&6
3455 echo "configure:3456: checking for --enable-log" >&5
3456 no_cache=0
3457 # Check whether --enable-log or --disable-log was given.
3458 if test "${enable_log+set}" = set; then
3459 enableval="$enable_log"
3460
3461 if test "$enableval" = yes; then
3462 ac_cv_use_log='wxUSE_LOG=yes'
3463 else
3464 ac_cv_use_log='wxUSE_LOG=no'
3465 fi
3466
3467 else
3468
3469 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
3470 if test "x$LINE" != x ; then
3471 eval "DEFAULT_$LINE"
3472 else
3473 no_cache=1
3474 fi
3475
3476 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
3477
3478 fi
3479
3480
3481 eval "$ac_cv_use_log"
3482 if test "$no_cache" != 1; then
3483 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
3484 fi
3485
3486 if test "$wxUSE_LOG" = yes; then
3487 echo "$ac_t""yes" 1>&6
3488 else
3489 echo "$ac_t""no" 1>&6
3490 fi
3491
3492
3493 echo $ac_n "checking for --enable-streams""... $ac_c" 1>&6
3494 echo "configure:3495: checking for --enable-streams" >&5
3495 no_cache=0
3496 # Check whether --enable-streams or --disable-streams was given.
3497 if test "${enable_streams+set}" = set; then
3498 enableval="$enable_streams"
3499
3500 if test "$enableval" = yes; then
3501 ac_cv_use_streams='wxUSE_STREAMS=yes'
3502 else
3503 ac_cv_use_streams='wxUSE_STREAMS=no'
3504 fi
3505
3506 else
3507
3508 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
3509 if test "x$LINE" != x ; then
3510 eval "DEFAULT_$LINE"
3511 else
3512 no_cache=1
3513 fi
3514
3515 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
3516
3517 fi
3518
3519
3520 eval "$ac_cv_use_streams"
3521 if test "$no_cache" != 1; then
3522 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
3523 fi
3524
3525 if test "$wxUSE_STREAMS" = yes; then
3526 echo "$ac_t""yes" 1>&6
3527 else
3528 echo "$ac_t""no" 1>&6
3529 fi
3530
3531
3532 echo $ac_n "checking for --enable-file""... $ac_c" 1>&6
3533 echo "configure:3534: checking for --enable-file" >&5
3534 no_cache=0
3535 # Check whether --enable-file or --disable-file was given.
3536 if test "${enable_file+set}" = set; then
3537 enableval="$enable_file"
3538
3539 if test "$enableval" = yes; then
3540 ac_cv_use_file='wxUSE_FILE=yes'
3541 else
3542 ac_cv_use_file='wxUSE_FILE=no'
3543 fi
3544
3545 else
3546
3547 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
3548 if test "x$LINE" != x ; then
3549 eval "DEFAULT_$LINE"
3550 else
3551 no_cache=1
3552 fi
3553
3554 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
3555
3556 fi
3557
3558
3559 eval "$ac_cv_use_file"
3560 if test "$no_cache" != 1; then
3561 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
3562 fi
3563
3564 if test "$wxUSE_FILE" = yes; then
3565 echo "$ac_t""yes" 1>&6
3566 else
3567 echo "$ac_t""no" 1>&6
3568 fi
3569
3570
3571 echo $ac_n "checking for --enable-ffile""... $ac_c" 1>&6
3572 echo "configure:3573: checking for --enable-ffile" >&5
3573 no_cache=0
3574 # Check whether --enable-ffile or --disable-ffile was given.
3575 if test "${enable_ffile+set}" = set; then
3576 enableval="$enable_ffile"
3577
3578 if test "$enableval" = yes; then
3579 ac_cv_use_ffile='wxUSE_FFILE=yes'
3580 else
3581 ac_cv_use_ffile='wxUSE_FFILE=no'
3582 fi
3583
3584 else
3585
3586 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
3587 if test "x$LINE" != x ; then
3588 eval "DEFAULT_$LINE"
3589 else
3590 no_cache=1
3591 fi
3592
3593 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
3594
3595 fi
3596
3597
3598 eval "$ac_cv_use_ffile"
3599 if test "$no_cache" != 1; then
3600 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
3601 fi
3602
3603 if test "$wxUSE_FFILE" = yes; then
3604 echo "$ac_t""yes" 1>&6
3605 else
3606 echo "$ac_t""no" 1>&6
3607 fi
3608
3609
3610 echo $ac_n "checking for --enable-textfile""... $ac_c" 1>&6
3611 echo "configure:3612: checking for --enable-textfile" >&5
3612 no_cache=0
3613 # Check whether --enable-textfile or --disable-textfile was given.
3614 if test "${enable_textfile+set}" = set; then
3615 enableval="$enable_textfile"
3616
3617 if test "$enableval" = yes; then
3618 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
3619 else
3620 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
3621 fi
3622
3623 else
3624
3625 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
3626 if test "x$LINE" != x ; then
3627 eval "DEFAULT_$LINE"
3628 else
3629 no_cache=1
3630 fi
3631
3632 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
3633
3634 fi
3635
3636
3637 eval "$ac_cv_use_textfile"
3638 if test "$no_cache" != 1; then
3639 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
3640 fi
3641
3642 if test "$wxUSE_TEXTFILE" = yes; then
3643 echo "$ac_t""yes" 1>&6
3644 else
3645 echo "$ac_t""no" 1>&6
3646 fi
3647
3648
3649 echo $ac_n "checking for --enable-fontmap""... $ac_c" 1>&6
3650 echo "configure:3651: checking for --enable-fontmap" >&5
3651 no_cache=0
3652 # Check whether --enable-fontmap or --disable-fontmap was given.
3653 if test "${enable_fontmap+set}" = set; then
3654 enableval="$enable_fontmap"
3655
3656 if test "$enableval" = yes; then
3657 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
3658 else
3659 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
3660 fi
3661
3662 else
3663
3664 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
3665 if test "x$LINE" != x ; then
3666 eval "DEFAULT_$LINE"
3667 else
3668 no_cache=1
3669 fi
3670
3671 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
3672
3673 fi
3674
3675
3676 eval "$ac_cv_use_fontmap"
3677 if test "$no_cache" != 1; then
3678 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
3679 fi
3680
3681 if test "$wxUSE_FONTMAP" = yes; then
3682 echo "$ac_t""yes" 1>&6
3683 else
3684 echo "$ac_t""no" 1>&6
3685 fi
3686
3687
3688 echo $ac_n "checking for --enable-unicode""... $ac_c" 1>&6
3689 echo "configure:3690: checking for --enable-unicode" >&5
3690 no_cache=0
3691 # Check whether --enable-unicode or --disable-unicode was given.
3692 if test "${enable_unicode+set}" = set; then
3693 enableval="$enable_unicode"
3694
3695 if test "$enableval" = yes; then
3696 ac_cv_use_unicode='wxUSE_UNICODE=yes'
3697 else
3698 ac_cv_use_unicode='wxUSE_UNICODE=no'
3699 fi
3700
3701 else
3702
3703 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
3704 if test "x$LINE" != x ; then
3705 eval "DEFAULT_$LINE"
3706 else
3707 no_cache=1
3708 fi
3709
3710 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
3711
3712 fi
3713
3714
3715 eval "$ac_cv_use_unicode"
3716 if test "$no_cache" != 1; then
3717 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
3718 fi
3719
3720 if test "$wxUSE_UNICODE" = yes; then
3721 echo "$ac_t""yes" 1>&6
3722 else
3723 echo "$ac_t""no" 1>&6
3724 fi
3725
3726
3727 echo $ac_n "checking for --enable-wcsrtombs""... $ac_c" 1>&6
3728 echo "configure:3729: checking for --enable-wcsrtombs" >&5
3729 no_cache=0
3730 # Check whether --enable-wcsrtombs or --disable-wcsrtombs was given.
3731 if test "${enable_wcsrtombs+set}" = set; then
3732 enableval="$enable_wcsrtombs"
3733
3734 if test "$enableval" = yes; then
3735 ac_cv_use_wcsrtombs='wxUSE_WCSRTOMBS=yes'
3736 else
3737 ac_cv_use_wcsrtombs='wxUSE_WCSRTOMBS=no'
3738 fi
3739
3740 else
3741
3742 LINE=`grep "wxUSE_WCSRTOMBS" ${wx_arg_cache_file}`
3743 if test "x$LINE" != x ; then
3744 eval "DEFAULT_$LINE"
3745 else
3746 no_cache=1
3747 fi
3748
3749 ac_cv_use_wcsrtombs='wxUSE_WCSRTOMBS='$DEFAULT_wxUSE_WCSRTOMBS
3750
3751 fi
3752
3753
3754 eval "$ac_cv_use_wcsrtombs"
3755 if test "$no_cache" != 1; then
3756 echo $ac_cv_use_wcsrtombs >> ${wx_arg_cache_file}.tmp
3757 fi
3758
3759 if test "$wxUSE_WCSRTOMBS" = yes; then
3760 echo "$ac_t""yes" 1>&6
3761 else
3762 echo "$ac_t""no" 1>&6
3763 fi
3764
3765
3766 echo $ac_n "checking for --enable-wxprintfv""... $ac_c" 1>&6
3767 echo "configure:3768: checking for --enable-wxprintfv" >&5
3768 no_cache=0
3769 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
3770 if test "${enable_wxprintfv+set}" = set; then
3771 enableval="$enable_wxprintfv"
3772
3773 if test "$enableval" = yes; then
3774 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
3775 else
3776 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
3777 fi
3778
3779 else
3780
3781 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
3782 if test "x$LINE" != x ; then
3783 eval "DEFAULT_$LINE"
3784 else
3785 no_cache=1
3786 fi
3787
3788 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
3789
3790 fi
3791
3792
3793 eval "$ac_cv_use_wxprintfv"
3794 if test "$no_cache" != 1; then
3795 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
3796 fi
3797
3798 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
3799 echo "$ac_t""yes" 1>&6
3800 else
3801 echo "$ac_t""no" 1>&6
3802 fi
3803
3804
3805 echo $ac_n "checking for --enable-std_iostreams""... $ac_c" 1>&6
3806 echo "configure:3807: checking for --enable-std_iostreams" >&5
3807 no_cache=0
3808 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
3809 if test "${enable_std_iostreams+set}" = set; then
3810 enableval="$enable_std_iostreams"
3811
3812 if test "$enableval" = yes; then
3813 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
3814 else
3815 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
3816 fi
3817
3818 else
3819
3820 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
3821 if test "x$LINE" != x ; then
3822 eval "DEFAULT_$LINE"
3823 else
3824 no_cache=1
3825 fi
3826
3827 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
3828
3829 fi
3830
3831
3832 eval "$ac_cv_use_std_iostreams"
3833 if test "$no_cache" != 1; then
3834 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
3835 fi
3836
3837 if test "$wxUSE_STD_IOSTREAM" = yes; then
3838 echo "$ac_t""yes" 1>&6
3839 else
3840 echo "$ac_t""no" 1>&6
3841 fi
3842
3843
3844 echo $ac_n "checking for --enable-filesystem""... $ac_c" 1>&6
3845 echo "configure:3846: checking for --enable-filesystem" >&5
3846 no_cache=0
3847 # Check whether --enable-filesystem or --disable-filesystem was given.
3848 if test "${enable_filesystem+set}" = set; then
3849 enableval="$enable_filesystem"
3850
3851 if test "$enableval" = yes; then
3852 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
3853 else
3854 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
3855 fi
3856
3857 else
3858
3859 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
3860 if test "x$LINE" != x ; then
3861 eval "DEFAULT_$LINE"
3862 else
3863 no_cache=1
3864 fi
3865
3866 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
3867
3868 fi
3869
3870
3871 eval "$ac_cv_use_filesystem"
3872 if test "$no_cache" != 1; then
3873 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
3874 fi
3875
3876 if test "$wxUSE_FILESYSTEM" = yes; then
3877 echo "$ac_t""yes" 1>&6
3878 else
3879 echo "$ac_t""no" 1>&6
3880 fi
3881
3882
3883 echo $ac_n "checking for --enable-fs_inet""... $ac_c" 1>&6
3884 echo "configure:3885: checking for --enable-fs_inet" >&5
3885 no_cache=0
3886 # Check whether --enable-fs_inet or --disable-fs_inet was given.
3887 if test "${enable_fs_inet+set}" = set; then
3888 enableval="$enable_fs_inet"
3889
3890 if test "$enableval" = yes; then
3891 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
3892 else
3893 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
3894 fi
3895
3896 else
3897
3898 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
3899 if test "x$LINE" != x ; then
3900 eval "DEFAULT_$LINE"
3901 else
3902 no_cache=1
3903 fi
3904
3905 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
3906
3907 fi
3908
3909
3910 eval "$ac_cv_use_fs_inet"
3911 if test "$no_cache" != 1; then
3912 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
3913 fi
3914
3915 if test "$wxUSE_FS_INET" = yes; then
3916 echo "$ac_t""yes" 1>&6
3917 else
3918 echo "$ac_t""no" 1>&6
3919 fi
3920
3921
3922 echo $ac_n "checking for --enable-fs_zip""... $ac_c" 1>&6
3923 echo "configure:3924: checking for --enable-fs_zip" >&5
3924 no_cache=0
3925 # Check whether --enable-fs_zip or --disable-fs_zip was given.
3926 if test "${enable_fs_zip+set}" = set; then
3927 enableval="$enable_fs_zip"
3928
3929 if test "$enableval" = yes; then
3930 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
3931 else
3932 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
3933 fi
3934
3935 else
3936
3937 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
3938 if test "x$LINE" != x ; then
3939 eval "DEFAULT_$LINE"
3940 else
3941 no_cache=1
3942 fi
3943
3944 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
3945
3946 fi
3947
3948
3949 eval "$ac_cv_use_fs_zip"
3950 if test "$no_cache" != 1; then
3951 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
3952 fi
3953
3954 if test "$wxUSE_FS_ZIP" = yes; then
3955 echo "$ac_t""yes" 1>&6
3956 else
3957 echo "$ac_t""no" 1>&6
3958 fi
3959
3960
3961 echo $ac_n "checking for --enable-zipstream""... $ac_c" 1>&6
3962 echo "configure:3963: checking for --enable-zipstream" >&5
3963 no_cache=0
3964 # Check whether --enable-zipstream or --disable-zipstream was given.
3965 if test "${enable_zipstream+set}" = set; then
3966 enableval="$enable_zipstream"
3967
3968 if test "$enableval" = yes; then
3969 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
3970 else
3971 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
3972 fi
3973
3974 else
3975
3976 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
3977 if test "x$LINE" != x ; then
3978 eval "DEFAULT_$LINE"
3979 else
3980 no_cache=1
3981 fi
3982
3983 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
3984
3985 fi
3986
3987
3988 eval "$ac_cv_use_zipstream"
3989 if test "$no_cache" != 1; then
3990 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
3991 fi
3992
3993 if test "$wxUSE_ZIPSTREAM" = yes; then
3994 echo "$ac_t""yes" 1>&6
3995 else
3996 echo "$ac_t""no" 1>&6
3997 fi
3998
3999
4000
4001 echo $ac_n "checking for --enable-catch_segvs""... $ac_c" 1>&6
4002 echo "configure:4003: checking for --enable-catch_segvs" >&5
4003 no_cache=0
4004 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4005 if test "${enable_catch_segvs+set}" = set; then
4006 enableval="$enable_catch_segvs"
4007
4008 if test "$enableval" = yes; then
4009 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
4010 else
4011 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
4012 fi
4013
4014 else
4015
4016 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4017 if test "x$LINE" != x ; then
4018 eval "DEFAULT_$LINE"
4019 else
4020 no_cache=1
4021 fi
4022
4023 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4024
4025 fi
4026
4027
4028 eval "$ac_cv_use_catch_segvs"
4029 if test "$no_cache" != 1; then
4030 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4031 fi
4032
4033 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4034 echo "$ac_t""yes" 1>&6
4035 else
4036 echo "$ac_t""no" 1>&6
4037 fi
4038
4039
4040 echo $ac_n "checking for --enable-snglinst""... $ac_c" 1>&6
4041 echo "configure:4042: checking for --enable-snglinst" >&5
4042 no_cache=0
4043 # Check whether --enable-snglinst or --disable-snglinst was given.
4044 if test "${enable_snglinst+set}" = set; then
4045 enableval="$enable_snglinst"
4046
4047 if test "$enableval" = yes; then
4048 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
4049 else
4050 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
4051 fi
4052
4053 else
4054
4055 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4056 if test "x$LINE" != x ; then
4057 eval "DEFAULT_$LINE"
4058 else
4059 no_cache=1
4060 fi
4061
4062 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4063
4064 fi
4065
4066
4067 eval "$ac_cv_use_snglinst"
4068 if test "$no_cache" != 1; then
4069 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4070 fi
4071
4072 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4073 echo "$ac_t""yes" 1>&6
4074 else
4075 echo "$ac_t""no" 1>&6
4076 fi
4077
4078
4079
4080 echo $ac_n "checking for --enable-mimetype""... $ac_c" 1>&6
4081 echo "configure:4082: checking for --enable-mimetype" >&5
4082 no_cache=0
4083 # Check whether --enable-mimetype or --disable-mimetype was given.
4084 if test "${enable_mimetype+set}" = set; then
4085 enableval="$enable_mimetype"
4086
4087 if test "$enableval" = yes; then
4088 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
4089 else
4090 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
4091 fi
4092
4093 else
4094
4095 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4096 if test "x$LINE" != x ; then
4097 eval "DEFAULT_$LINE"
4098 else
4099 no_cache=1
4100 fi
4101
4102 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4103
4104 fi
4105
4106
4107 eval "$ac_cv_use_mimetype"
4108 if test "$no_cache" != 1; then
4109 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4110 fi
4111
4112 if test "$wxUSE_MIMETYPE" = yes; then
4113 echo "$ac_t""yes" 1>&6
4114 else
4115 echo "$ac_t""no" 1>&6
4116 fi
4117
4118
4119
4120
4121 echo $ac_n "checking for --enable-threads""... $ac_c" 1>&6
4122 echo "configure:4123: checking for --enable-threads" >&5
4123 no_cache=0
4124 # Check whether --enable-threads or --disable-threads was given.
4125 if test "${enable_threads+set}" = set; then
4126 enableval="$enable_threads"
4127
4128 if test "$enableval" = yes; then
4129 ac_cv_use_threads='wxUSE_THREADS=yes'
4130 else
4131 ac_cv_use_threads='wxUSE_THREADS=no'
4132 fi
4133
4134 else
4135
4136 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
4137 if test "x$LINE" != x ; then
4138 eval "DEFAULT_$LINE"
4139 else
4140 no_cache=1
4141 fi
4142
4143 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
4144
4145 fi
4146
4147
4148 eval "$ac_cv_use_threads"
4149 if test "$no_cache" != 1; then
4150 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
4151 fi
4152
4153 if test "$wxUSE_THREADS" = yes; then
4154 echo "$ac_t""yes" 1>&6
4155 else
4156 echo "$ac_t""no" 1>&6
4157 fi
4158
4159
4160 echo $ac_n "checking for --enable-serial""... $ac_c" 1>&6
4161 echo "configure:4162: checking for --enable-serial" >&5
4162 no_cache=0
4163 # Check whether --enable-serial or --disable-serial was given.
4164 if test "${enable_serial+set}" = set; then
4165 enableval="$enable_serial"
4166
4167 if test "$enableval" = yes; then
4168 ac_cv_use_serial='wxUSE_SERIAL=yes'
4169 else
4170 ac_cv_use_serial='wxUSE_SERIAL=no'
4171 fi
4172
4173 else
4174
4175 LINE=`grep "wxUSE_SERIAL" ${wx_arg_cache_file}`
4176 if test "x$LINE" != x ; then
4177 eval "DEFAULT_$LINE"
4178 else
4179 no_cache=1
4180 fi
4181
4182 ac_cv_use_serial='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
4183
4184 fi
4185
4186
4187 eval "$ac_cv_use_serial"
4188 if test "$no_cache" != 1; then
4189 echo $ac_cv_use_serial >> ${wx_arg_cache_file}.tmp
4190 fi
4191
4192 if test "$wxUSE_SERIAL" = yes; then
4193 echo "$ac_t""yes" 1>&6
4194 else
4195 echo "$ac_t""no" 1>&6
4196 fi
4197
4198
4199 if test "$wxUSE_GUI" = "yes"; then
4200
4201
4202
4203 echo $ac_n "checking for --enable-docview""... $ac_c" 1>&6
4204 echo "configure:4205: checking for --enable-docview" >&5
4205 no_cache=0
4206 # Check whether --enable-docview or --disable-docview was given.
4207 if test "${enable_docview+set}" = set; then
4208 enableval="$enable_docview"
4209
4210 if test "$enableval" = yes; then
4211 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
4212 else
4213 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
4214 fi
4215
4216 else
4217
4218 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${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_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
4226
4227 fi
4228
4229
4230 eval "$ac_cv_use_docview"
4231 if test "$no_cache" != 1; then
4232 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
4233 fi
4234
4235 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = 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-help""... $ac_c" 1>&6
4243 echo "configure:4244: checking for --enable-help" >&5
4244 no_cache=0
4245 # Check whether --enable-help or --disable-help was given.
4246 if test "${enable_help+set}" = set; then
4247 enableval="$enable_help"
4248
4249 if test "$enableval" = yes; then
4250 ac_cv_use_help='wxUSE_HELP=yes'
4251 else
4252 ac_cv_use_help='wxUSE_HELP=no'
4253 fi
4254
4255 else
4256
4257 LINE=`grep "wxUSE_HELP" ${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_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
4265
4266 fi
4267
4268
4269 eval "$ac_cv_use_help"
4270 if test "$no_cache" != 1; then
4271 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
4272 fi
4273
4274 if test "$wxUSE_HELP" = 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-mshtmlhelp""... $ac_c" 1>&6
4282 echo "configure:4283: checking for --enable-mshtmlhelp" >&5
4283 no_cache=0
4284 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
4285 if test "${enable_mshtmlhelp+set}" = set; then
4286 enableval="$enable_mshtmlhelp"
4287
4288 if test "$enableval" = yes; then
4289 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
4290 else
4291 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
4292 fi
4293
4294 else
4295
4296 LINE=`grep "wxUSE_MS_HTML_HELP" ${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_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
4304
4305 fi
4306
4307
4308 eval "$ac_cv_use_mshtmlhelp"
4309 if test "$no_cache" != 1; then
4310 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
4311 fi
4312
4313 if test "$wxUSE_MS_HTML_HELP" = 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-html""... $ac_c" 1>&6
4321 echo "configure:4322: checking for --enable-html" >&5
4322 no_cache=0
4323 # Check whether --enable-html or --disable-html was given.
4324 if test "${enable_html+set}" = set; then
4325 enableval="$enable_html"
4326
4327 if test "$enableval" = yes; then
4328 ac_cv_use_html='wxUSE_HTML=yes'
4329 else
4330 ac_cv_use_html='wxUSE_HTML=no'
4331 fi
4332
4333 else
4334
4335 LINE=`grep "wxUSE_HTML" ${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_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
4343
4344 fi
4345
4346
4347 eval "$ac_cv_use_html"
4348 if test "$no_cache" != 1; then
4349 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
4350 fi
4351
4352 if test "$wxUSE_HTML" = 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-htmlhelp""... $ac_c" 1>&6
4360 echo "configure:4361: checking for --enable-htmlhelp" >&5
4361 no_cache=0
4362 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
4363 if test "${enable_htmlhelp+set}" = set; then
4364 enableval="$enable_htmlhelp"
4365
4366 if test "$enableval" = yes; then
4367 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
4368 else
4369 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
4370 fi
4371
4372 else
4373
4374 LINE=`grep "wxUSE_WXHTML_HELP" ${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_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
4382
4383 fi
4384
4385
4386 eval "$ac_cv_use_htmlhelp"
4387 if test "$no_cache" != 1; then
4388 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
4389 fi
4390
4391 if test "$wxUSE_WXHTML_HELP" = 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-constraints""... $ac_c" 1>&6
4399 echo "configure:4400: checking for --enable-constraints" >&5
4400 no_cache=0
4401 # Check whether --enable-constraints or --disable-constraints was given.
4402 if test "${enable_constraints+set}" = set; then
4403 enableval="$enable_constraints"
4404
4405 if test "$enableval" = yes; then
4406 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
4407 else
4408 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
4409 fi
4410
4411 else
4412
4413 LINE=`grep "wxUSE_CONSTRAINTS" ${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_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
4421
4422 fi
4423
4424
4425 eval "$ac_cv_use_constraints"
4426 if test "$no_cache" != 1; then
4427 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
4428 fi
4429
4430 if test "$wxUSE_CONSTRAINTS" = 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-printarch""... $ac_c" 1>&6
4438 echo "configure:4439: checking for --enable-printarch" >&5
4439 no_cache=0
4440 # Check whether --enable-printarch or --disable-printarch was given.
4441 if test "${enable_printarch+set}" = set; then
4442 enableval="$enable_printarch"
4443
4444 if test "$enableval" = yes; then
4445 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
4446 else
4447 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
4448 fi
4449
4450 else
4451
4452 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${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_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
4460
4461 fi
4462
4463
4464 eval "$ac_cv_use_printarch"
4465 if test "$no_cache" != 1; then
4466 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
4467 fi
4468
4469 if test "$wxUSE_PRINTING_ARCHITECTURE" = 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-mdi""... $ac_c" 1>&6
4477 echo "configure:4478: checking for --enable-mdi" >&5
4478 no_cache=0
4479 # Check whether --enable-mdi or --disable-mdi was given.
4480 if test "${enable_mdi+set}" = set; then
4481 enableval="$enable_mdi"
4482
4483 if test "$enableval" = yes; then
4484 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=yes'
4485 else
4486 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=no'
4487 fi
4488
4489 else
4490
4491 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${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_mdi='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
4499
4500 fi
4501
4502
4503 eval "$ac_cv_use_mdi"
4504 if test "$no_cache" != 1; then
4505 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
4506 fi
4507
4508 if test "$wxUSE_MDI_ARCHITECTURE" = 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-loggui""... $ac_c" 1>&6
4516 echo "configure:4517: checking for --enable-loggui" >&5
4517 no_cache=0
4518 # Check whether --enable-loggui or --disable-loggui was given.
4519 if test "${enable_loggui+set}" = set; then
4520 enableval="$enable_loggui"
4521
4522 if test "$enableval" = yes; then
4523 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
4524 else
4525 ac_cv_use_loggui='wxUSE_LOGGUI=no'
4526 fi
4527
4528 else
4529
4530 LINE=`grep "wxUSE_LOGGUI" ${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_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
4538
4539 fi
4540
4541
4542 eval "$ac_cv_use_loggui"
4543 if test "$no_cache" != 1; then
4544 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
4545 fi
4546
4547 if test "$wxUSE_LOGGUI" = 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-logwin""... $ac_c" 1>&6
4555 echo "configure:4556: checking for --enable-logwin" >&5
4556 no_cache=0
4557 # Check whether --enable-logwin or --disable-logwin was given.
4558 if test "${enable_logwin+set}" = set; then
4559 enableval="$enable_logwin"
4560
4561 if test "$enableval" = yes; then
4562 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
4563 else
4564 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
4565 fi
4566
4567 else
4568
4569 LINE=`grep "wxUSE_LOGWINDOW" ${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_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
4577
4578 fi
4579
4580
4581 eval "$ac_cv_use_logwin"
4582 if test "$no_cache" != 1; then
4583 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
4584 fi
4585
4586 if test "$wxUSE_LOGWINDOW" = yes; then
4587 echo "$ac_t""yes" 1>&6
4588 else
4589 echo "$ac_t""no" 1>&6
4590 fi
4591
4592
4593
4594 echo $ac_n "checking for --enable-postscript""... $ac_c" 1>&6
4595 echo "configure:4596: checking for --enable-postscript" >&5
4596 no_cache=0
4597 # Check whether --enable-postscript or --disable-postscript was given.
4598 if test "${enable_postscript+set}" = set; then
4599 enableval="$enable_postscript"
4600
4601 if test "$enableval" = yes; then
4602 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
4603 else
4604 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
4605 fi
4606
4607 else
4608
4609 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
4610 if test "x$LINE" != x ; then
4611 eval "DEFAULT_$LINE"
4612 else
4613 no_cache=1
4614 fi
4615
4616 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
4617
4618 fi
4619
4620
4621 eval "$ac_cv_use_postscript"
4622 if test "$no_cache" != 1; then
4623 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
4624 fi
4625
4626 if test "$wxUSE_POSTSCRIPT" = yes; then
4627 echo "$ac_t""yes" 1>&6
4628 else
4629 echo "$ac_t""no" 1>&6
4630 fi
4631
4632
4633
4634
4635
4636 echo $ac_n "checking for --enable-prologio""... $ac_c" 1>&6
4637 echo "configure:4638: checking for --enable-prologio" >&5
4638 no_cache=0
4639 # Check whether --enable-prologio or --disable-prologio was given.
4640 if test "${enable_prologio+set}" = set; then
4641 enableval="$enable_prologio"
4642
4643 if test "$enableval" = yes; then
4644 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
4645 else
4646 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
4647 fi
4648
4649 else
4650
4651 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
4652 if test "x$LINE" != x ; then
4653 eval "DEFAULT_$LINE"
4654 else
4655 no_cache=1
4656 fi
4657
4658 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
4659
4660 fi
4661
4662
4663 eval "$ac_cv_use_prologio"
4664 if test "$no_cache" != 1; then
4665 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
4666 fi
4667
4668 if test "$wxUSE_PROLOGIO" = yes; then
4669 echo "$ac_t""yes" 1>&6
4670 else
4671 echo "$ac_t""no" 1>&6
4672 fi
4673
4674
4675 echo $ac_n "checking for --enable-resources""... $ac_c" 1>&6
4676 echo "configure:4677: checking for --enable-resources" >&5
4677 no_cache=0
4678 # Check whether --enable-resources or --disable-resources was given.
4679 if test "${enable_resources+set}" = set; then
4680 enableval="$enable_resources"
4681
4682 if test "$enableval" = yes; then
4683 ac_cv_use_resources='wxUSE_RESOURCES=yes'
4684 else
4685 ac_cv_use_resources='wxUSE_RESOURCES=no'
4686 fi
4687
4688 else
4689
4690 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
4691 if test "x$LINE" != x ; then
4692 eval "DEFAULT_$LINE"
4693 else
4694 no_cache=1
4695 fi
4696
4697 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
4698
4699 fi
4700
4701
4702 eval "$ac_cv_use_resources"
4703 if test "$no_cache" != 1; then
4704 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
4705 fi
4706
4707 if test "$wxUSE_RESOURCES" = yes; then
4708 echo "$ac_t""yes" 1>&6
4709 else
4710 echo "$ac_t""no" 1>&6
4711 fi
4712
4713
4714
4715 echo $ac_n "checking for --enable-xresources""... $ac_c" 1>&6
4716 echo "configure:4717: checking for --enable-xresources" >&5
4717 no_cache=0
4718 # Check whether --enable-xresources or --disable-xresources was given.
4719 if test "${enable_xresources+set}" = set; then
4720 enableval="$enable_xresources"
4721
4722 if test "$enableval" = yes; then
4723 ac_cv_use_xresources='wxUSE_X_RESOURCES=yes'
4724 else
4725 ac_cv_use_xresources='wxUSE_X_RESOURCES=no'
4726 fi
4727
4728 else
4729
4730 LINE=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
4731 if test "x$LINE" != x ; then
4732 eval "DEFAULT_$LINE"
4733 else
4734 no_cache=1
4735 fi
4736
4737 ac_cv_use_xresources='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
4738
4739 fi
4740
4741
4742 eval "$ac_cv_use_xresources"
4743 if test "$no_cache" != 1; then
4744 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
4745 fi
4746
4747 if test "$wxUSE_X_RESOURCES" = yes; then
4748 echo "$ac_t""yes" 1>&6
4749 else
4750 echo "$ac_t""no" 1>&6
4751 fi
4752
4753
4754
4755
4756 echo $ac_n "checking for --enable-clipboard""... $ac_c" 1>&6
4757 echo "configure:4758: checking for --enable-clipboard" >&5
4758 no_cache=0
4759 # Check whether --enable-clipboard or --disable-clipboard was given.
4760 if test "${enable_clipboard+set}" = set; then
4761 enableval="$enable_clipboard"
4762
4763 if test "$enableval" = yes; then
4764 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
4765 else
4766 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
4767 fi
4768
4769 else
4770
4771 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
4772 if test "x$LINE" != x ; then
4773 eval "DEFAULT_$LINE"
4774 else
4775 no_cache=1
4776 fi
4777
4778 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
4779
4780 fi
4781
4782
4783 eval "$ac_cv_use_clipboard"
4784 if test "$no_cache" != 1; then
4785 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
4786 fi
4787
4788 if test "$wxUSE_CLIPBOARD" = yes; then
4789 echo "$ac_t""yes" 1>&6
4790 else
4791 echo "$ac_t""no" 1>&6
4792 fi
4793
4794
4795 echo $ac_n "checking for --enable-dnd""... $ac_c" 1>&6
4796 echo "configure:4797: checking for --enable-dnd" >&5
4797 no_cache=0
4798 # Check whether --enable-dnd or --disable-dnd was given.
4799 if test "${enable_dnd+set}" = set; then
4800 enableval="$enable_dnd"
4801
4802 if test "$enableval" = yes; then
4803 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
4804 else
4805 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
4806 fi
4807
4808 else
4809
4810 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
4811 if test "x$LINE" != x ; then
4812 eval "DEFAULT_$LINE"
4813 else
4814 no_cache=1
4815 fi
4816
4817 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
4818
4819 fi
4820
4821
4822 eval "$ac_cv_use_dnd"
4823 if test "$no_cache" != 1; then
4824 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
4825 fi
4826
4827 if test "$wxUSE_DRAG_AND_DROP" = yes; then
4828 echo "$ac_t""yes" 1>&6
4829 else
4830 echo "$ac_t""no" 1>&6
4831 fi
4832
4833
4834 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
4835 echo "configure:4836: checking for --enable-metafile" >&5
4836 no_cache=0
4837 # Check whether --enable-metafile or --disable-metafile was given.
4838 if test "${enable_metafile+set}" = set; then
4839 enableval="$enable_metafile"
4840
4841 if test "$enableval" = yes; then
4842 ac_cv_use_metafile='wxUSE_METAFILE=yes'
4843 else
4844 ac_cv_use_metafile='wxUSE_METAFILE=no'
4845 fi
4846
4847 else
4848
4849 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
4850 if test "x$LINE" != x ; then
4851 eval "DEFAULT_$LINE"
4852 else
4853 no_cache=1
4854 fi
4855
4856 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
4857
4858 fi
4859
4860
4861 eval "$ac_cv_use_metafile"
4862 if test "$no_cache" != 1; then
4863 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
4864 fi
4865
4866 if test "$wxUSE_METAFILE" = yes; then
4867 echo "$ac_t""yes" 1>&6
4868 else
4869 echo "$ac_t""no" 1>&6
4870 fi
4871
4872
4873
4874 echo $ac_n "checking for --enable-wxtree""... $ac_c" 1>&6
4875 echo "configure:4876: checking for --enable-wxtree" >&5
4876 no_cache=0
4877 # Check whether --enable-wxtree or --disable-wxtree was given.
4878 if test "${enable_wxtree+set}" = set; then
4879 enableval="$enable_wxtree"
4880
4881 if test "$enableval" = yes; then
4882 ac_cv_use_wxtree='wxUSE_WXTREE=yes'
4883 else
4884 ac_cv_use_wxtree='wxUSE_WXTREE=no'
4885 fi
4886
4887 else
4888
4889 LINE=`grep "wxUSE_WXTREE" ${wx_arg_cache_file}`
4890 if test "x$LINE" != x ; then
4891 eval "DEFAULT_$LINE"
4892 else
4893 no_cache=1
4894 fi
4895
4896 ac_cv_use_wxtree='wxUSE_WXTREE='$DEFAULT_wxUSE_WXTREE
4897
4898 fi
4899
4900
4901 eval "$ac_cv_use_wxtree"
4902 if test "$no_cache" != 1; then
4903 echo $ac_cv_use_wxtree >> ${wx_arg_cache_file}.tmp
4904 fi
4905
4906 if test "$wxUSE_WXTREE" = yes; then
4907 echo "$ac_t""yes" 1>&6
4908 else
4909 echo "$ac_t""no" 1>&6
4910 fi
4911
4912
4913
4914
4915 echo $ac_n "checking for --enable-controls""... $ac_c" 1>&6
4916 echo "configure:4917: checking for --enable-controls" >&5
4917 no_cache=0
4918 # Check whether --enable-controls or --disable-controls was given.
4919 if test "${enable_controls+set}" = set; then
4920 enableval="$enable_controls"
4921
4922 if test "$enableval" = yes; then
4923 ac_cv_use_controls='wxUSE_CONTROLS=yes'
4924 else
4925 ac_cv_use_controls='wxUSE_CONTROLS=no'
4926 fi
4927
4928 else
4929
4930 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
4931 if test "x$LINE" != x ; then
4932 eval "DEFAULT_$LINE"
4933 else
4934 no_cache=1
4935 fi
4936
4937 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
4938
4939 fi
4940
4941
4942 eval "$ac_cv_use_controls"
4943 if test "$no_cache" != 1; then
4944 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
4945 fi
4946
4947 if test "$wxUSE_CONTROLS" = yes; then
4948 echo "$ac_t""yes" 1>&6
4949 else
4950 echo "$ac_t""no" 1>&6
4951 fi
4952
4953
4954 if test "$wxUSE_CONTROLS" = "yes"; then
4955 DEFAULT_wxUSE_ACCEL=yes
4956 DEFAULT_wxUSE_BMPBUTTON=yes
4957 DEFAULT_wxUSE_BUTTON=yes
4958 DEFAULT_wxUSE_CALCTRL=no
4959 DEFAULT_wxUSE_CARET=yes
4960 DEFAULT_wxUSE_COMBOBOX=yes
4961 DEFAULT_wxUSE_CHECKBOX=yes
4962 DEFAULT_wxUSE_CHECKLISTBOX=yes
4963 DEFAULT_wxUSE_CHOICE=yes
4964 DEFAULT_wxUSE_GAUGE=yes
4965 DEFAULT_wxUSE_GRID=yes
4966 DEFAULT_wxUSE_NEW_GRID=yes
4967 DEFAULT_wxUSE_IMAGLIST=yes
4968 DEFAULT_wxUSE_LISTBOX=yes
4969 DEFAULT_wxUSE_LISTCTRL=yes
4970 DEFAULT_wxUSE_NOTEBOOK=yes
4971 DEFAULT_wxUSE_RADIOBOX=yes
4972 DEFAULT_wxUSE_RADIOBTN=yes
4973 DEFAULT_wxUSE_SASH=yes
4974 DEFAULT_wxUSE_SCROLLBAR=yes
4975 DEFAULT_wxUSE_SLIDER=yes
4976 DEFAULT_wxUSE_SPINBTN=yes
4977 DEFAULT_wxUSE_SPINCTRL=yes
4978 DEFAULT_wxUSE_SPLITTER=yes
4979 DEFAULT_wxUSE_STATBMP=yes
4980 DEFAULT_wxUSE_STATBOX=yes
4981 DEFAULT_wxUSE_STATLINE=yes
4982 DEFAULT_wxUSE_STATUSBAR=yes
4983 DEFAULT_wxUSE_TAB_DIALOG=yes
4984 DEFAULT_wxUSE_TOGGLEBTN=yes
4985 DEFAULT_wxUSE_TOOLBAR=yes
4986 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
4987 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
4988 DEFAULT_wxUSE_TOOLTIPS=yes
4989 DEFAULT_wxUSE_TREECTRL=yes
4990 DEFAULT_wxUSE_POPUPWIN=yes
4991 elif test "$wxUSE_CONTROLS" = "no"; then
4992 DEFAULT_wxUSE_ACCEL=no
4993 DEFAULT_wxUSE_BMPBUTTON=no
4994 DEFAULT_wxUSE_BUTTON=no
4995 DEFAULT_wxUSE_CALCTRL=no
4996 DEFAULT_wxUSE_CARET=no
4997 DEFAULT_wxUSE_COMBOBOX=no
4998 DEFAULT_wxUSE_CHECKBOX=no
4999 DEFAULT_wxUSE_CHECKLISTBOX=no
5000 DEFAULT_wxUSE_CHOICE=no
5001 DEFAULT_wxUSE_GAUGE=no
5002 DEFAULT_wxUSE_GRID=no
5003 DEFAULT_wxUSE_NEW_GRID=no
5004 DEFAULT_wxUSE_IMAGLIST=no
5005 DEFAULT_wxUSE_LISTBOX=no
5006 DEFAULT_wxUSE_LISTCTRL=no
5007 DEFAULT_wxUSE_NOTEBOOK=no
5008 DEFAULT_wxUSE_RADIOBOX=no
5009 DEFAULT_wxUSE_RADIOBTN=no
5010 DEFAULT_wxUSE_SASH=no
5011 DEFAULT_wxUSE_SCROLLBAR=no
5012 DEFAULT_wxUSE_SLIDER=no
5013 DEFAULT_wxUSE_SPINBTN=no
5014 DEFAULT_wxUSE_SPINCTRL=no
5015 DEFAULT_wxUSE_SPLITTER=no
5016 DEFAULT_wxUSE_STATBMP=no
5017 DEFAULT_wxUSE_STATBOX=no
5018 DEFAULT_wxUSE_STATLINE=no
5019 DEFAULT_wxUSE_STATUSBAR=no
5020 DEFAULT_wxUSE_TAB_DIALOG=no
5021 DEFAULT_wxUSE_TOGGLEBTN=no
5022 DEFAULT_wxUSE_TOOLBAR=no
5023 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
5024 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
5025 DEFAULT_wxUSE_TOOLTIPS=no
5026 DEFAULT_wxUSE_TREECTRL=no
5027 DEFAULT_wxUSE_POPUPWIN=no
5028 fi
5029
5030
5031 echo $ac_n "checking for --enable-accel""... $ac_c" 1>&6
5032 echo "configure:5033: checking for --enable-accel" >&5
5033 no_cache=0
5034 # Check whether --enable-accel or --disable-accel was given.
5035 if test "${enable_accel+set}" = set; then
5036 enableval="$enable_accel"
5037
5038 if test "$enableval" = yes; then
5039 ac_cv_use_accel='wxUSE_ACCEL=yes'
5040 else
5041 ac_cv_use_accel='wxUSE_ACCEL=no'
5042 fi
5043
5044 else
5045
5046 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
5047 if test "x$LINE" != x ; then
5048 eval "DEFAULT_$LINE"
5049 else
5050 no_cache=1
5051 fi
5052
5053 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
5054
5055 fi
5056
5057
5058 eval "$ac_cv_use_accel"
5059 if test "$no_cache" != 1; then
5060 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
5061 fi
5062
5063 if test "$wxUSE_ACCEL" = yes; then
5064 echo "$ac_t""yes" 1>&6
5065 else
5066 echo "$ac_t""no" 1>&6
5067 fi
5068
5069
5070 echo $ac_n "checking for --enable-button""... $ac_c" 1>&6
5071 echo "configure:5072: checking for --enable-button" >&5
5072 no_cache=0
5073 # Check whether --enable-button or --disable-button was given.
5074 if test "${enable_button+set}" = set; then
5075 enableval="$enable_button"
5076
5077 if test "$enableval" = yes; then
5078 ac_cv_use_button='wxUSE_BUTTON=yes'
5079 else
5080 ac_cv_use_button='wxUSE_BUTTON=no'
5081 fi
5082
5083 else
5084
5085 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
5086 if test "x$LINE" != x ; then
5087 eval "DEFAULT_$LINE"
5088 else
5089 no_cache=1
5090 fi
5091
5092 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
5093
5094 fi
5095
5096
5097 eval "$ac_cv_use_button"
5098 if test "$no_cache" != 1; then
5099 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
5100 fi
5101
5102 if test "$wxUSE_BUTTON" = yes; then
5103 echo "$ac_t""yes" 1>&6
5104 else
5105 echo "$ac_t""no" 1>&6
5106 fi
5107
5108
5109 echo $ac_n "checking for --enable-bmpbutton""... $ac_c" 1>&6
5110 echo "configure:5111: checking for --enable-bmpbutton" >&5
5111 no_cache=0
5112 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
5113 if test "${enable_bmpbutton+set}" = set; then
5114 enableval="$enable_bmpbutton"
5115
5116 if test "$enableval" = yes; then
5117 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
5118 else
5119 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
5120 fi
5121
5122 else
5123
5124 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
5125 if test "x$LINE" != x ; then
5126 eval "DEFAULT_$LINE"
5127 else
5128 no_cache=1
5129 fi
5130
5131 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
5132
5133 fi
5134
5135
5136 eval "$ac_cv_use_bmpbutton"
5137 if test "$no_cache" != 1; then
5138 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
5139 fi
5140
5141 if test "$wxUSE_BMPBUTTON" = yes; then
5142 echo "$ac_t""yes" 1>&6
5143 else
5144 echo "$ac_t""no" 1>&6
5145 fi
5146
5147
5148 echo $ac_n "checking for --enable-calendar""... $ac_c" 1>&6
5149 echo "configure:5150: checking for --enable-calendar" >&5
5150 no_cache=0
5151 # Check whether --enable-calendar or --disable-calendar was given.
5152 if test "${enable_calendar+set}" = set; then
5153 enableval="$enable_calendar"
5154
5155 if test "$enableval" = yes; then
5156 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
5157 else
5158 ac_cv_use_calendar='wxUSE_CALCTRL=no'
5159 fi
5160
5161 else
5162
5163 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
5164 if test "x$LINE" != x ; then
5165 eval "DEFAULT_$LINE"
5166 else
5167 no_cache=1
5168 fi
5169
5170 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
5171
5172 fi
5173
5174
5175 eval "$ac_cv_use_calendar"
5176 if test "$no_cache" != 1; then
5177 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
5178 fi
5179
5180 if test "$wxUSE_CALCTRL" = yes; then
5181 echo "$ac_t""yes" 1>&6
5182 else
5183 echo "$ac_t""no" 1>&6
5184 fi
5185
5186
5187 echo $ac_n "checking for --enable-caret""... $ac_c" 1>&6
5188 echo "configure:5189: checking for --enable-caret" >&5
5189 no_cache=0
5190 # Check whether --enable-caret or --disable-caret was given.
5191 if test "${enable_caret+set}" = set; then
5192 enableval="$enable_caret"
5193
5194 if test "$enableval" = yes; then
5195 ac_cv_use_caret='wxUSE_CARET=yes'
5196 else
5197 ac_cv_use_caret='wxUSE_CARET=no'
5198 fi
5199
5200 else
5201
5202 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
5203 if test "x$LINE" != x ; then
5204 eval "DEFAULT_$LINE"
5205 else
5206 no_cache=1
5207 fi
5208
5209 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
5210
5211 fi
5212
5213
5214 eval "$ac_cv_use_caret"
5215 if test "$no_cache" != 1; then
5216 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
5217 fi
5218
5219 if test "$wxUSE_CARET" = yes; then
5220 echo "$ac_t""yes" 1>&6
5221 else
5222 echo "$ac_t""no" 1>&6
5223 fi
5224
5225
5226 echo $ac_n "checking for --enable-checkbox""... $ac_c" 1>&6
5227 echo "configure:5228: checking for --enable-checkbox" >&5
5228 no_cache=0
5229 # Check whether --enable-checkbox or --disable-checkbox was given.
5230 if test "${enable_checkbox+set}" = set; then
5231 enableval="$enable_checkbox"
5232
5233 if test "$enableval" = yes; then
5234 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
5235 else
5236 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
5237 fi
5238
5239 else
5240
5241 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
5242 if test "x$LINE" != x ; then
5243 eval "DEFAULT_$LINE"
5244 else
5245 no_cache=1
5246 fi
5247
5248 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
5249
5250 fi
5251
5252
5253 eval "$ac_cv_use_checkbox"
5254 if test "$no_cache" != 1; then
5255 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
5256 fi
5257
5258 if test "$wxUSE_CHECKBOX" = yes; then
5259 echo "$ac_t""yes" 1>&6
5260 else
5261 echo "$ac_t""no" 1>&6
5262 fi
5263
5264
5265 echo $ac_n "checking for --enable-checklst""... $ac_c" 1>&6
5266 echo "configure:5267: checking for --enable-checklst" >&5
5267 no_cache=0
5268 # Check whether --enable-checklst or --disable-checklst was given.
5269 if test "${enable_checklst+set}" = set; then
5270 enableval="$enable_checklst"
5271
5272 if test "$enableval" = yes; then
5273 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
5274 else
5275 ac_cv_use_checklst='wxUSE_CHECKLST=no'
5276 fi
5277
5278 else
5279
5280 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
5281 if test "x$LINE" != x ; then
5282 eval "DEFAULT_$LINE"
5283 else
5284 no_cache=1
5285 fi
5286
5287 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
5288
5289 fi
5290
5291
5292 eval "$ac_cv_use_checklst"
5293 if test "$no_cache" != 1; then
5294 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
5295 fi
5296
5297 if test "$wxUSE_CHECKLST" = yes; then
5298 echo "$ac_t""yes" 1>&6
5299 else
5300 echo "$ac_t""no" 1>&6
5301 fi
5302
5303
5304 echo $ac_n "checking for --enable-choice""... $ac_c" 1>&6
5305 echo "configure:5306: checking for --enable-choice" >&5
5306 no_cache=0
5307 # Check whether --enable-choice or --disable-choice was given.
5308 if test "${enable_choice+set}" = set; then
5309 enableval="$enable_choice"
5310
5311 if test "$enableval" = yes; then
5312 ac_cv_use_choice='wxUSE_CHOICE=yes'
5313 else
5314 ac_cv_use_choice='wxUSE_CHOICE=no'
5315 fi
5316
5317 else
5318
5319 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
5320 if test "x$LINE" != x ; then
5321 eval "DEFAULT_$LINE"
5322 else
5323 no_cache=1
5324 fi
5325
5326 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
5327
5328 fi
5329
5330
5331 eval "$ac_cv_use_choice"
5332 if test "$no_cache" != 1; then
5333 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
5334 fi
5335
5336 if test "$wxUSE_CHOICE" = yes; then
5337 echo "$ac_t""yes" 1>&6
5338 else
5339 echo "$ac_t""no" 1>&6
5340 fi
5341
5342
5343 echo $ac_n "checking for --enable-combobox""... $ac_c" 1>&6
5344 echo "configure:5345: checking for --enable-combobox" >&5
5345 no_cache=0
5346 # Check whether --enable-combobox or --disable-combobox was given.
5347 if test "${enable_combobox+set}" = set; then
5348 enableval="$enable_combobox"
5349
5350 if test "$enableval" = yes; then
5351 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
5352 else
5353 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
5354 fi
5355
5356 else
5357
5358 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
5359 if test "x$LINE" != x ; then
5360 eval "DEFAULT_$LINE"
5361 else
5362 no_cache=1
5363 fi
5364
5365 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
5366
5367 fi
5368
5369
5370 eval "$ac_cv_use_combobox"
5371 if test "$no_cache" != 1; then
5372 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
5373 fi
5374
5375 if test "$wxUSE_COMBOBOX" = yes; then
5376 echo "$ac_t""yes" 1>&6
5377 else
5378 echo "$ac_t""no" 1>&6
5379 fi
5380
5381
5382 echo $ac_n "checking for --enable-gauge""... $ac_c" 1>&6
5383 echo "configure:5384: checking for --enable-gauge" >&5
5384 no_cache=0
5385 # Check whether --enable-gauge or --disable-gauge was given.
5386 if test "${enable_gauge+set}" = set; then
5387 enableval="$enable_gauge"
5388
5389 if test "$enableval" = yes; then
5390 ac_cv_use_gauge='wxUSE_GAUGE=yes'
5391 else
5392 ac_cv_use_gauge='wxUSE_GAUGE=no'
5393 fi
5394
5395 else
5396
5397 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
5398 if test "x$LINE" != x ; then
5399 eval "DEFAULT_$LINE"
5400 else
5401 no_cache=1
5402 fi
5403
5404 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
5405
5406 fi
5407
5408
5409 eval "$ac_cv_use_gauge"
5410 if test "$no_cache" != 1; then
5411 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
5412 fi
5413
5414 if test "$wxUSE_GAUGE" = yes; then
5415 echo "$ac_t""yes" 1>&6
5416 else
5417 echo "$ac_t""no" 1>&6
5418 fi
5419
5420
5421 echo $ac_n "checking for --enable-grid""... $ac_c" 1>&6
5422 echo "configure:5423: checking for --enable-grid" >&5
5423 no_cache=0
5424 # Check whether --enable-grid or --disable-grid was given.
5425 if test "${enable_grid+set}" = set; then
5426 enableval="$enable_grid"
5427
5428 if test "$enableval" = yes; then
5429 ac_cv_use_grid='wxUSE_GRID=yes'
5430 else
5431 ac_cv_use_grid='wxUSE_GRID=no'
5432 fi
5433
5434 else
5435
5436 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
5437 if test "x$LINE" != x ; then
5438 eval "DEFAULT_$LINE"
5439 else
5440 no_cache=1
5441 fi
5442
5443 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
5444
5445 fi
5446
5447
5448 eval "$ac_cv_use_grid"
5449 if test "$no_cache" != 1; then
5450 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
5451 fi
5452
5453 if test "$wxUSE_GRID" = yes; then
5454 echo "$ac_t""yes" 1>&6
5455 else
5456 echo "$ac_t""no" 1>&6
5457 fi
5458
5459
5460 echo $ac_n "checking for --enable-newgrid""... $ac_c" 1>&6
5461 echo "configure:5462: checking for --enable-newgrid" >&5
5462 no_cache=0
5463 # Check whether --enable-newgrid or --disable-newgrid was given.
5464 if test "${enable_newgrid+set}" = set; then
5465 enableval="$enable_newgrid"
5466
5467 if test "$enableval" = yes; then
5468 ac_cv_use_newgrid='wxUSE_NEW_GRID=yes'
5469 else
5470 ac_cv_use_newgrid='wxUSE_NEW_GRID=no'
5471 fi
5472
5473 else
5474
5475 LINE=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
5476 if test "x$LINE" != x ; then
5477 eval "DEFAULT_$LINE"
5478 else
5479 no_cache=1
5480 fi
5481
5482 ac_cv_use_newgrid='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
5483
5484 fi
5485
5486
5487 eval "$ac_cv_use_newgrid"
5488 if test "$no_cache" != 1; then
5489 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
5490 fi
5491
5492 if test "$wxUSE_NEW_GRID" = yes; then
5493 echo "$ac_t""yes" 1>&6
5494 else
5495 echo "$ac_t""no" 1>&6
5496 fi
5497
5498
5499 echo $ac_n "checking for --enable-imaglist""... $ac_c" 1>&6
5500 echo "configure:5501: checking for --enable-imaglist" >&5
5501 no_cache=0
5502 # Check whether --enable-imaglist or --disable-imaglist was given.
5503 if test "${enable_imaglist+set}" = set; then
5504 enableval="$enable_imaglist"
5505
5506 if test "$enableval" = yes; then
5507 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
5508 else
5509 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
5510 fi
5511
5512 else
5513
5514 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
5515 if test "x$LINE" != x ; then
5516 eval "DEFAULT_$LINE"
5517 else
5518 no_cache=1
5519 fi
5520
5521 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
5522
5523 fi
5524
5525
5526 eval "$ac_cv_use_imaglist"
5527 if test "$no_cache" != 1; then
5528 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
5529 fi
5530
5531 if test "$wxUSE_IMAGLIST" = yes; then
5532 echo "$ac_t""yes" 1>&6
5533 else
5534 echo "$ac_t""no" 1>&6
5535 fi
5536
5537
5538 echo $ac_n "checking for --enable-listbox""... $ac_c" 1>&6
5539 echo "configure:5540: checking for --enable-listbox" >&5
5540 no_cache=0
5541 # Check whether --enable-listbox or --disable-listbox was given.
5542 if test "${enable_listbox+set}" = set; then
5543 enableval="$enable_listbox"
5544
5545 if test "$enableval" = yes; then
5546 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
5547 else
5548 ac_cv_use_listbox='wxUSE_LISTBOX=no'
5549 fi
5550
5551 else
5552
5553 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
5554 if test "x$LINE" != x ; then
5555 eval "DEFAULT_$LINE"
5556 else
5557 no_cache=1
5558 fi
5559
5560 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
5561
5562 fi
5563
5564
5565 eval "$ac_cv_use_listbox"
5566 if test "$no_cache" != 1; then
5567 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
5568 fi
5569
5570 if test "$wxUSE_LISTBOX" = yes; then
5571 echo "$ac_t""yes" 1>&6
5572 else
5573 echo "$ac_t""no" 1>&6
5574 fi
5575
5576
5577 echo $ac_n "checking for --enable-listctrl""... $ac_c" 1>&6
5578 echo "configure:5579: checking for --enable-listctrl" >&5
5579 no_cache=0
5580 # Check whether --enable-listctrl or --disable-listctrl was given.
5581 if test "${enable_listctrl+set}" = set; then
5582 enableval="$enable_listctrl"
5583
5584 if test "$enableval" = yes; then
5585 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
5586 else
5587 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
5588 fi
5589
5590 else
5591
5592 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
5593 if test "x$LINE" != x ; then
5594 eval "DEFAULT_$LINE"
5595 else
5596 no_cache=1
5597 fi
5598
5599 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
5600
5601 fi
5602
5603
5604 eval "$ac_cv_use_listctrl"
5605 if test "$no_cache" != 1; then
5606 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
5607 fi
5608
5609 if test "$wxUSE_LISTCTRL" = yes; then
5610 echo "$ac_t""yes" 1>&6
5611 else
5612 echo "$ac_t""no" 1>&6
5613 fi
5614
5615
5616 echo $ac_n "checking for --enable-notebook""... $ac_c" 1>&6
5617 echo "configure:5618: checking for --enable-notebook" >&5
5618 no_cache=0
5619 # Check whether --enable-notebook or --disable-notebook was given.
5620 if test "${enable_notebook+set}" = set; then
5621 enableval="$enable_notebook"
5622
5623 if test "$enableval" = yes; then
5624 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
5625 else
5626 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
5627 fi
5628
5629 else
5630
5631 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
5632 if test "x$LINE" != x ; then
5633 eval "DEFAULT_$LINE"
5634 else
5635 no_cache=1
5636 fi
5637
5638 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
5639
5640 fi
5641
5642
5643 eval "$ac_cv_use_notebook"
5644 if test "$no_cache" != 1; then
5645 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
5646 fi
5647
5648 if test "$wxUSE_NOTEBOOK" = yes; then
5649 echo "$ac_t""yes" 1>&6
5650 else
5651 echo "$ac_t""no" 1>&6
5652 fi
5653
5654
5655 echo $ac_n "checking for --enable-radiobox""... $ac_c" 1>&6
5656 echo "configure:5657: checking for --enable-radiobox" >&5
5657 no_cache=0
5658 # Check whether --enable-radiobox or --disable-radiobox was given.
5659 if test "${enable_radiobox+set}" = set; then
5660 enableval="$enable_radiobox"
5661
5662 if test "$enableval" = yes; then
5663 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
5664 else
5665 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
5666 fi
5667
5668 else
5669
5670 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
5671 if test "x$LINE" != x ; then
5672 eval "DEFAULT_$LINE"
5673 else
5674 no_cache=1
5675 fi
5676
5677 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
5678
5679 fi
5680
5681
5682 eval "$ac_cv_use_radiobox"
5683 if test "$no_cache" != 1; then
5684 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
5685 fi
5686
5687 if test "$wxUSE_RADIOBOX" = yes; then
5688 echo "$ac_t""yes" 1>&6
5689 else
5690 echo "$ac_t""no" 1>&6
5691 fi
5692
5693
5694 echo $ac_n "checking for --enable-radiobtn""... $ac_c" 1>&6
5695 echo "configure:5696: checking for --enable-radiobtn" >&5
5696 no_cache=0
5697 # Check whether --enable-radiobtn or --disable-radiobtn was given.
5698 if test "${enable_radiobtn+set}" = set; then
5699 enableval="$enable_radiobtn"
5700
5701 if test "$enableval" = yes; then
5702 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
5703 else
5704 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
5705 fi
5706
5707 else
5708
5709 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
5710 if test "x$LINE" != x ; then
5711 eval "DEFAULT_$LINE"
5712 else
5713 no_cache=1
5714 fi
5715
5716 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
5717
5718 fi
5719
5720
5721 eval "$ac_cv_use_radiobtn"
5722 if test "$no_cache" != 1; then
5723 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
5724 fi
5725
5726 if test "$wxUSE_RADIOBTN" = yes; then
5727 echo "$ac_t""yes" 1>&6
5728 else
5729 echo "$ac_t""no" 1>&6
5730 fi
5731
5732
5733 echo $ac_n "checking for --enable-sash""... $ac_c" 1>&6
5734 echo "configure:5735: checking for --enable-sash" >&5
5735 no_cache=0
5736 # Check whether --enable-sash or --disable-sash was given.
5737 if test "${enable_sash+set}" = set; then
5738 enableval="$enable_sash"
5739
5740 if test "$enableval" = yes; then
5741 ac_cv_use_sash='wxUSE_SASH=yes'
5742 else
5743 ac_cv_use_sash='wxUSE_SASH=no'
5744 fi
5745
5746 else
5747
5748 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
5749 if test "x$LINE" != x ; then
5750 eval "DEFAULT_$LINE"
5751 else
5752 no_cache=1
5753 fi
5754
5755 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
5756
5757 fi
5758
5759
5760 eval "$ac_cv_use_sash"
5761 if test "$no_cache" != 1; then
5762 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
5763 fi
5764
5765 if test "$wxUSE_SASH" = yes; then
5766 echo "$ac_t""yes" 1>&6
5767 else
5768 echo "$ac_t""no" 1>&6
5769 fi
5770
5771
5772 echo $ac_n "checking for --enable-scrollbar""... $ac_c" 1>&6
5773 echo "configure:5774: checking for --enable-scrollbar" >&5
5774 no_cache=0
5775 # Check whether --enable-scrollbar or --disable-scrollbar was given.
5776 if test "${enable_scrollbar+set}" = set; then
5777 enableval="$enable_scrollbar"
5778
5779 if test "$enableval" = yes; then
5780 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
5781 else
5782 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
5783 fi
5784
5785 else
5786
5787 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
5788 if test "x$LINE" != x ; then
5789 eval "DEFAULT_$LINE"
5790 else
5791 no_cache=1
5792 fi
5793
5794 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
5795
5796 fi
5797
5798
5799 eval "$ac_cv_use_scrollbar"
5800 if test "$no_cache" != 1; then
5801 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
5802 fi
5803
5804 if test "$wxUSE_SCROLLBAR" = yes; then
5805 echo "$ac_t""yes" 1>&6
5806 else
5807 echo "$ac_t""no" 1>&6
5808 fi
5809
5810
5811 echo $ac_n "checking for --enable-slider""... $ac_c" 1>&6
5812 echo "configure:5813: checking for --enable-slider" >&5
5813 no_cache=0
5814 # Check whether --enable-slider or --disable-slider was given.
5815 if test "${enable_slider+set}" = set; then
5816 enableval="$enable_slider"
5817
5818 if test "$enableval" = yes; then
5819 ac_cv_use_slider='wxUSE_SLIDER=yes'
5820 else
5821 ac_cv_use_slider='wxUSE_SLIDER=no'
5822 fi
5823
5824 else
5825
5826 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
5827 if test "x$LINE" != x ; then
5828 eval "DEFAULT_$LINE"
5829 else
5830 no_cache=1
5831 fi
5832
5833 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
5834
5835 fi
5836
5837
5838 eval "$ac_cv_use_slider"
5839 if test "$no_cache" != 1; then
5840 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
5841 fi
5842
5843 if test "$wxUSE_SLIDER" = yes; then
5844 echo "$ac_t""yes" 1>&6
5845 else
5846 echo "$ac_t""no" 1>&6
5847 fi
5848
5849
5850 echo $ac_n "checking for --enable-spinbtn""... $ac_c" 1>&6
5851 echo "configure:5852: checking for --enable-spinbtn" >&5
5852 no_cache=0
5853 # Check whether --enable-spinbtn or --disable-spinbtn was given.
5854 if test "${enable_spinbtn+set}" = set; then
5855 enableval="$enable_spinbtn"
5856
5857 if test "$enableval" = yes; then
5858 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
5859 else
5860 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
5861 fi
5862
5863 else
5864
5865 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
5866 if test "x$LINE" != x ; then
5867 eval "DEFAULT_$LINE"
5868 else
5869 no_cache=1
5870 fi
5871
5872 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
5873
5874 fi
5875
5876
5877 eval "$ac_cv_use_spinbtn"
5878 if test "$no_cache" != 1; then
5879 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
5880 fi
5881
5882 if test "$wxUSE_SPINBTN" = yes; then
5883 echo "$ac_t""yes" 1>&6
5884 else
5885 echo "$ac_t""no" 1>&6
5886 fi
5887
5888
5889 echo $ac_n "checking for --enable-spinctrl""... $ac_c" 1>&6
5890 echo "configure:5891: checking for --enable-spinctrl" >&5
5891 no_cache=0
5892 # Check whether --enable-spinctrl or --disable-spinctrl was given.
5893 if test "${enable_spinctrl+set}" = set; then
5894 enableval="$enable_spinctrl"
5895
5896 if test "$enableval" = yes; then
5897 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
5898 else
5899 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
5900 fi
5901
5902 else
5903
5904 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
5905 if test "x$LINE" != x ; then
5906 eval "DEFAULT_$LINE"
5907 else
5908 no_cache=1
5909 fi
5910
5911 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
5912
5913 fi
5914
5915
5916 eval "$ac_cv_use_spinctrl"
5917 if test "$no_cache" != 1; then
5918 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
5919 fi
5920
5921 if test "$wxUSE_SPINCTRL" = yes; then
5922 echo "$ac_t""yes" 1>&6
5923 else
5924 echo "$ac_t""no" 1>&6
5925 fi
5926
5927
5928 echo $ac_n "checking for --enable-splitter""... $ac_c" 1>&6
5929 echo "configure:5930: checking for --enable-splitter" >&5
5930 no_cache=0
5931 # Check whether --enable-splitter or --disable-splitter was given.
5932 if test "${enable_splitter+set}" = set; then
5933 enableval="$enable_splitter"
5934
5935 if test "$enableval" = yes; then
5936 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
5937 else
5938 ac_cv_use_splitter='wxUSE_SPLITTER=no'
5939 fi
5940
5941 else
5942
5943 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
5944 if test "x$LINE" != x ; then
5945 eval "DEFAULT_$LINE"
5946 else
5947 no_cache=1
5948 fi
5949
5950 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
5951
5952 fi
5953
5954
5955 eval "$ac_cv_use_splitter"
5956 if test "$no_cache" != 1; then
5957 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
5958 fi
5959
5960 if test "$wxUSE_SPLITTER" = yes; then
5961 echo "$ac_t""yes" 1>&6
5962 else
5963 echo "$ac_t""no" 1>&6
5964 fi
5965
5966
5967 echo $ac_n "checking for --enable-statbmp""... $ac_c" 1>&6
5968 echo "configure:5969: checking for --enable-statbmp" >&5
5969 no_cache=0
5970 # Check whether --enable-statbmp or --disable-statbmp was given.
5971 if test "${enable_statbmp+set}" = set; then
5972 enableval="$enable_statbmp"
5973
5974 if test "$enableval" = yes; then
5975 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
5976 else
5977 ac_cv_use_statbmp='wxUSE_STATBMP=no'
5978 fi
5979
5980 else
5981
5982 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
5983 if test "x$LINE" != x ; then
5984 eval "DEFAULT_$LINE"
5985 else
5986 no_cache=1
5987 fi
5988
5989 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
5990
5991 fi
5992
5993
5994 eval "$ac_cv_use_statbmp"
5995 if test "$no_cache" != 1; then
5996 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
5997 fi
5998
5999 if test "$wxUSE_STATBMP" = yes; then
6000 echo "$ac_t""yes" 1>&6
6001 else
6002 echo "$ac_t""no" 1>&6
6003 fi
6004
6005
6006 echo $ac_n "checking for --enable-statbox""... $ac_c" 1>&6
6007 echo "configure:6008: checking for --enable-statbox" >&5
6008 no_cache=0
6009 # Check whether --enable-statbox or --disable-statbox was given.
6010 if test "${enable_statbox+set}" = set; then
6011 enableval="$enable_statbox"
6012
6013 if test "$enableval" = yes; then
6014 ac_cv_use_statbox='wxUSE_STATBOX=yes'
6015 else
6016 ac_cv_use_statbox='wxUSE_STATBOX=no'
6017 fi
6018
6019 else
6020
6021 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
6022 if test "x$LINE" != x ; then
6023 eval "DEFAULT_$LINE"
6024 else
6025 no_cache=1
6026 fi
6027
6028 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
6029
6030 fi
6031
6032
6033 eval "$ac_cv_use_statbox"
6034 if test "$no_cache" != 1; then
6035 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
6036 fi
6037
6038 if test "$wxUSE_STATBOX" = yes; then
6039 echo "$ac_t""yes" 1>&6
6040 else
6041 echo "$ac_t""no" 1>&6
6042 fi
6043
6044
6045 echo $ac_n "checking for --enable-statline""... $ac_c" 1>&6
6046 echo "configure:6047: checking for --enable-statline" >&5
6047 no_cache=0
6048 # Check whether --enable-statline or --disable-statline was given.
6049 if test "${enable_statline+set}" = set; then
6050 enableval="$enable_statline"
6051
6052 if test "$enableval" = yes; then
6053 ac_cv_use_statline='wxUSE_STATLINE=yes'
6054 else
6055 ac_cv_use_statline='wxUSE_STATLINE=no'
6056 fi
6057
6058 else
6059
6060 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
6061 if test "x$LINE" != x ; then
6062 eval "DEFAULT_$LINE"
6063 else
6064 no_cache=1
6065 fi
6066
6067 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
6068
6069 fi
6070
6071
6072 eval "$ac_cv_use_statline"
6073 if test "$no_cache" != 1; then
6074 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
6075 fi
6076
6077 if test "$wxUSE_STATLINE" = yes; then
6078 echo "$ac_t""yes" 1>&6
6079 else
6080 echo "$ac_t""no" 1>&6
6081 fi
6082
6083
6084 echo $ac_n "checking for --enable-stattext""... $ac_c" 1>&6
6085 echo "configure:6086: checking for --enable-stattext" >&5
6086 no_cache=0
6087 # Check whether --enable-stattext or --disable-stattext was given.
6088 if test "${enable_stattext+set}" = set; then
6089 enableval="$enable_stattext"
6090
6091 if test "$enableval" = yes; then
6092 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
6093 else
6094 ac_cv_use_stattext='wxUSE_STATTEXT=no'
6095 fi
6096
6097 else
6098
6099 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
6100 if test "x$LINE" != x ; then
6101 eval "DEFAULT_$LINE"
6102 else
6103 no_cache=1
6104 fi
6105
6106 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
6107
6108 fi
6109
6110
6111 eval "$ac_cv_use_stattext"
6112 if test "$no_cache" != 1; then
6113 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
6114 fi
6115
6116 if test "$wxUSE_STATTEXT" = yes; then
6117 echo "$ac_t""yes" 1>&6
6118 else
6119 echo "$ac_t""no" 1>&6
6120 fi
6121
6122
6123 echo $ac_n "checking for --enable-statusbar""... $ac_c" 1>&6
6124 echo "configure:6125: checking for --enable-statusbar" >&5
6125 no_cache=0
6126 # Check whether --enable-statusbar or --disable-statusbar was given.
6127 if test "${enable_statusbar+set}" = set; then
6128 enableval="$enable_statusbar"
6129
6130 if test "$enableval" = yes; then
6131 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
6132 else
6133 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
6134 fi
6135
6136 else
6137
6138 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
6139 if test "x$LINE" != x ; then
6140 eval "DEFAULT_$LINE"
6141 else
6142 no_cache=1
6143 fi
6144
6145 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
6146
6147 fi
6148
6149
6150 eval "$ac_cv_use_statusbar"
6151 if test "$no_cache" != 1; then
6152 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
6153 fi
6154
6155 if test "$wxUSE_STATUSBAR" = yes; then
6156 echo "$ac_t""yes" 1>&6
6157 else
6158 echo "$ac_t""no" 1>&6
6159 fi
6160
6161
6162 echo $ac_n "checking for --enable-tabdialog""... $ac_c" 1>&6
6163 echo "configure:6164: checking for --enable-tabdialog" >&5
6164 no_cache=0
6165 # Check whether --enable-tabdialog or --disable-tabdialog was given.
6166 if test "${enable_tabdialog+set}" = set; then
6167 enableval="$enable_tabdialog"
6168
6169 if test "$enableval" = yes; then
6170 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
6171 else
6172 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
6173 fi
6174
6175 else
6176
6177 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
6178 if test "x$LINE" != x ; then
6179 eval "DEFAULT_$LINE"
6180 else
6181 no_cache=1
6182 fi
6183
6184 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
6185
6186 fi
6187
6188
6189 eval "$ac_cv_use_tabdialog"
6190 if test "$no_cache" != 1; then
6191 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
6192 fi
6193
6194 if test "$wxUSE_TABDIALOG" = yes; then
6195 echo "$ac_t""yes" 1>&6
6196 else
6197 echo "$ac_t""no" 1>&6
6198 fi
6199
6200
6201 echo $ac_n "checking for --enable-textctrl""... $ac_c" 1>&6
6202 echo "configure:6203: checking for --enable-textctrl" >&5
6203 no_cache=0
6204 # Check whether --enable-textctrl or --disable-textctrl was given.
6205 if test "${enable_textctrl+set}" = set; then
6206 enableval="$enable_textctrl"
6207
6208 if test "$enableval" = yes; then
6209 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
6210 else
6211 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
6212 fi
6213
6214 else
6215
6216 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
6217 if test "x$LINE" != x ; then
6218 eval "DEFAULT_$LINE"
6219 else
6220 no_cache=1
6221 fi
6222
6223 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
6224
6225 fi
6226
6227
6228 eval "$ac_cv_use_textctrl"
6229 if test "$no_cache" != 1; then
6230 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
6231 fi
6232
6233 if test "$wxUSE_TEXTCTRL" = yes; then
6234 echo "$ac_t""yes" 1>&6
6235 else
6236 echo "$ac_t""no" 1>&6
6237 fi
6238
6239
6240 echo $ac_n "checking for --enable-togglebtn""... $ac_c" 1>&6
6241 echo "configure:6242: checking for --enable-togglebtn" >&5
6242 no_cache=0
6243 # Check whether --enable-togglebtn or --disable-togglebtn was given.
6244 if test "${enable_togglebtn+set}" = set; then
6245 enableval="$enable_togglebtn"
6246
6247 if test "$enableval" = yes; then
6248 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
6249 else
6250 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
6251 fi
6252
6253 else
6254
6255 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
6256 if test "x$LINE" != x ; then
6257 eval "DEFAULT_$LINE"
6258 else
6259 no_cache=1
6260 fi
6261
6262 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
6263
6264 fi
6265
6266
6267 eval "$ac_cv_use_togglebtn"
6268 if test "$no_cache" != 1; then
6269 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
6270 fi
6271
6272 if test "$wxUSE_TOGGLEBTN" = yes; then
6273 echo "$ac_t""yes" 1>&6
6274 else
6275 echo "$ac_t""no" 1>&6
6276 fi
6277
6278
6279 echo $ac_n "checking for --enable-toolbar""... $ac_c" 1>&6
6280 echo "configure:6281: checking for --enable-toolbar" >&5
6281 no_cache=0
6282 # Check whether --enable-toolbar or --disable-toolbar was given.
6283 if test "${enable_toolbar+set}" = set; then
6284 enableval="$enable_toolbar"
6285
6286 if test "$enableval" = yes; then
6287 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
6288 else
6289 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
6290 fi
6291
6292 else
6293
6294 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
6295 if test "x$LINE" != x ; then
6296 eval "DEFAULT_$LINE"
6297 else
6298 no_cache=1
6299 fi
6300
6301 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
6302
6303 fi
6304
6305
6306 eval "$ac_cv_use_toolbar"
6307 if test "$no_cache" != 1; then
6308 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
6309 fi
6310
6311 if test "$wxUSE_TOOLBAR" = yes; then
6312 echo "$ac_t""yes" 1>&6
6313 else
6314 echo "$ac_t""no" 1>&6
6315 fi
6316
6317
6318 echo $ac_n "checking for --enable-tbarnative""... $ac_c" 1>&6
6319 echo "configure:6320: checking for --enable-tbarnative" >&5
6320 no_cache=0
6321 # Check whether --enable-tbarnative or --disable-tbarnative was given.
6322 if test "${enable_tbarnative+set}" = set; then
6323 enableval="$enable_tbarnative"
6324
6325 if test "$enableval" = yes; then
6326 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
6327 else
6328 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
6329 fi
6330
6331 else
6332
6333 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
6334 if test "x$LINE" != x ; then
6335 eval "DEFAULT_$LINE"
6336 else
6337 no_cache=1
6338 fi
6339
6340 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
6341
6342 fi
6343
6344
6345 eval "$ac_cv_use_tbarnative"
6346 if test "$no_cache" != 1; then
6347 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
6348 fi
6349
6350 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
6351 echo "$ac_t""yes" 1>&6
6352 else
6353 echo "$ac_t""no" 1>&6
6354 fi
6355
6356
6357 echo $ac_n "checking for --enable-tbarsmpl""... $ac_c" 1>&6
6358 echo "configure:6359: checking for --enable-tbarsmpl" >&5
6359 no_cache=0
6360 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
6361 if test "${enable_tbarsmpl+set}" = set; then
6362 enableval="$enable_tbarsmpl"
6363
6364 if test "$enableval" = yes; then
6365 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
6366 else
6367 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
6368 fi
6369
6370 else
6371
6372 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
6373 if test "x$LINE" != x ; then
6374 eval "DEFAULT_$LINE"
6375 else
6376 no_cache=1
6377 fi
6378
6379 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
6380
6381 fi
6382
6383
6384 eval "$ac_cv_use_tbarsmpl"
6385 if test "$no_cache" != 1; then
6386 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
6387 fi
6388
6389 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
6390 echo "$ac_t""yes" 1>&6
6391 else
6392 echo "$ac_t""no" 1>&6
6393 fi
6394
6395
6396 echo $ac_n "checking for --enable-treectrl""... $ac_c" 1>&6
6397 echo "configure:6398: checking for --enable-treectrl" >&5
6398 no_cache=0
6399 # Check whether --enable-treectrl or --disable-treectrl was given.
6400 if test "${enable_treectrl+set}" = set; then
6401 enableval="$enable_treectrl"
6402
6403 if test "$enableval" = yes; then
6404 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
6405 else
6406 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
6407 fi
6408
6409 else
6410
6411 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
6412 if test "x$LINE" != x ; then
6413 eval "DEFAULT_$LINE"
6414 else
6415 no_cache=1
6416 fi
6417
6418 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
6419
6420 fi
6421
6422
6423 eval "$ac_cv_use_treectrl"
6424 if test "$no_cache" != 1; then
6425 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
6426 fi
6427
6428 if test "$wxUSE_TREECTRL" = yes; then
6429 echo "$ac_t""yes" 1>&6
6430 else
6431 echo "$ac_t""no" 1>&6
6432 fi
6433
6434
6435 echo $ac_n "checking for --enable-popupwin""... $ac_c" 1>&6
6436 echo "configure:6437: checking for --enable-popupwin" >&5
6437 no_cache=0
6438 # Check whether --enable-popupwin or --disable-popupwin was given.
6439 if test "${enable_popupwin+set}" = set; then
6440 enableval="$enable_popupwin"
6441
6442 if test "$enableval" = yes; then
6443 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
6444 else
6445 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
6446 fi
6447
6448 else
6449
6450 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
6451 if test "x$LINE" != x ; then
6452 eval "DEFAULT_$LINE"
6453 else
6454 no_cache=1
6455 fi
6456
6457 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
6458
6459 fi
6460
6461
6462 eval "$ac_cv_use_popupwin"
6463 if test "$no_cache" != 1; then
6464 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
6465 fi
6466
6467 if test "$wxUSE_POPUPWIN" = yes; then
6468 echo "$ac_t""yes" 1>&6
6469 else
6470 echo "$ac_t""no" 1>&6
6471 fi
6472
6473
6474
6475
6476 echo $ac_n "checking for --enable-commondlg""... $ac_c" 1>&6
6477 echo "configure:6478: checking for --enable-commondlg" >&5
6478 no_cache=0
6479 # Check whether --enable-commondlg or --disable-commondlg was given.
6480 if test "${enable_commondlg+set}" = set; then
6481 enableval="$enable_commondlg"
6482
6483 if test "$enableval" = yes; then
6484 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
6485 else
6486 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
6487 fi
6488
6489 else
6490
6491 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
6492 if test "x$LINE" != x ; then
6493 eval "DEFAULT_$LINE"
6494 else
6495 no_cache=1
6496 fi
6497
6498 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
6499
6500 fi
6501
6502
6503 eval "$ac_cv_use_commondlg"
6504 if test "$no_cache" != 1; then
6505 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
6506 fi
6507
6508 if test "$wxUSE_COMMONDLGS" = yes; then
6509 echo "$ac_t""yes" 1>&6
6510 else
6511 echo "$ac_t""no" 1>&6
6512 fi
6513
6514
6515 echo $ac_n "checking for --enable-choicedlg""... $ac_c" 1>&6
6516 echo "configure:6517: checking for --enable-choicedlg" >&5
6517 no_cache=0
6518 # Check whether --enable-choicedlg or --disable-choicedlg was given.
6519 if test "${enable_choicedlg+set}" = set; then
6520 enableval="$enable_choicedlg"
6521
6522 if test "$enableval" = yes; then
6523 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
6524 else
6525 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
6526 fi
6527
6528 else
6529
6530 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
6531 if test "x$LINE" != x ; then
6532 eval "DEFAULT_$LINE"
6533 else
6534 no_cache=1
6535 fi
6536
6537 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
6538
6539 fi
6540
6541
6542 eval "$ac_cv_use_choicedlg"
6543 if test "$no_cache" != 1; then
6544 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
6545 fi
6546
6547 if test "$wxUSE_CHOICEDLG" = yes; then
6548 echo "$ac_t""yes" 1>&6
6549 else
6550 echo "$ac_t""no" 1>&6
6551 fi
6552
6553
6554 echo $ac_n "checking for --enable-coldlg""... $ac_c" 1>&6
6555 echo "configure:6556: checking for --enable-coldlg" >&5
6556 no_cache=0
6557 # Check whether --enable-coldlg or --disable-coldlg was given.
6558 if test "${enable_coldlg+set}" = set; then
6559 enableval="$enable_coldlg"
6560
6561 if test "$enableval" = yes; then
6562 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
6563 else
6564 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
6565 fi
6566
6567 else
6568
6569 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
6570 if test "x$LINE" != x ; then
6571 eval "DEFAULT_$LINE"
6572 else
6573 no_cache=1
6574 fi
6575
6576 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
6577
6578 fi
6579
6580
6581 eval "$ac_cv_use_coldlg"
6582 if test "$no_cache" != 1; then
6583 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
6584 fi
6585
6586 if test "$wxUSE_COLOURDLG" = yes; then
6587 echo "$ac_t""yes" 1>&6
6588 else
6589 echo "$ac_t""no" 1>&6
6590 fi
6591
6592
6593 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
6594 echo "configure:6595: checking for --enable-filedlg" >&5
6595 no_cache=0
6596 # Check whether --enable-filedlg or --disable-filedlg was given.
6597 if test "${enable_filedlg+set}" = set; then
6598 enableval="$enable_filedlg"
6599
6600 if test "$enableval" = yes; then
6601 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
6602 else
6603 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
6604 fi
6605
6606 else
6607
6608 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
6609 if test "x$LINE" != x ; then
6610 eval "DEFAULT_$LINE"
6611 else
6612 no_cache=1
6613 fi
6614
6615 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
6616
6617 fi
6618
6619
6620 eval "$ac_cv_use_filedlg"
6621 if test "$no_cache" != 1; then
6622 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
6623 fi
6624
6625 if test "$wxUSE_FILEDLG" = yes; then
6626 echo "$ac_t""yes" 1>&6
6627 else
6628 echo "$ac_t""no" 1>&6
6629 fi
6630
6631
6632 echo $ac_n "checking for --enable-fontdlg""... $ac_c" 1>&6
6633 echo "configure:6634: checking for --enable-fontdlg" >&5
6634 no_cache=0
6635 # Check whether --enable-fontdlg or --disable-fontdlg was given.
6636 if test "${enable_fontdlg+set}" = set; then
6637 enableval="$enable_fontdlg"
6638
6639 if test "$enableval" = yes; then
6640 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
6641 else
6642 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
6643 fi
6644
6645 else
6646
6647 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
6648 if test "x$LINE" != x ; then
6649 eval "DEFAULT_$LINE"
6650 else
6651 no_cache=1
6652 fi
6653
6654 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
6655
6656 fi
6657
6658
6659 eval "$ac_cv_use_fontdlg"
6660 if test "$no_cache" != 1; then
6661 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
6662 fi
6663
6664 if test "$wxUSE_FONTDLG" = yes; then
6665 echo "$ac_t""yes" 1>&6
6666 else
6667 echo "$ac_t""no" 1>&6
6668 fi
6669
6670
6671 echo $ac_n "checking for --enable-dirdlg""... $ac_c" 1>&6
6672 echo "configure:6673: checking for --enable-dirdlg" >&5
6673 no_cache=0
6674 # Check whether --enable-dirdlg or --disable-dirdlg was given.
6675 if test "${enable_dirdlg+set}" = set; then
6676 enableval="$enable_dirdlg"
6677
6678 if test "$enableval" = yes; then
6679 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
6680 else
6681 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
6682 fi
6683
6684 else
6685
6686 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
6687 if test "x$LINE" != x ; then
6688 eval "DEFAULT_$LINE"
6689 else
6690 no_cache=1
6691 fi
6692
6693 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
6694
6695 fi
6696
6697
6698 eval "$ac_cv_use_dirdlg"
6699 if test "$no_cache" != 1; then
6700 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
6701 fi
6702
6703 if test "$wxUSE_DIRDLG" = yes; then
6704 echo "$ac_t""yes" 1>&6
6705 else
6706 echo "$ac_t""no" 1>&6
6707 fi
6708
6709
6710 echo $ac_n "checking for --enable-msgdlg""... $ac_c" 1>&6
6711 echo "configure:6712: checking for --enable-msgdlg" >&5
6712 no_cache=0
6713 # Check whether --enable-msgdlg or --disable-msgdlg was given.
6714 if test "${enable_msgdlg+set}" = set; then
6715 enableval="$enable_msgdlg"
6716
6717 if test "$enableval" = yes; then
6718 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
6719 else
6720 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
6721 fi
6722
6723 else
6724
6725 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
6726 if test "x$LINE" != x ; then
6727 eval "DEFAULT_$LINE"
6728 else
6729 no_cache=1
6730 fi
6731
6732 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
6733
6734 fi
6735
6736
6737 eval "$ac_cv_use_msgdlg"
6738 if test "$no_cache" != 1; then
6739 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
6740 fi
6741
6742 if test "$wxUSE_MSGDLG" = yes; then
6743 echo "$ac_t""yes" 1>&6
6744 else
6745 echo "$ac_t""no" 1>&6
6746 fi
6747
6748
6749 echo $ac_n "checking for --enable-numberdlg""... $ac_c" 1>&6
6750 echo "configure:6751: checking for --enable-numberdlg" >&5
6751 no_cache=0
6752 # Check whether --enable-numberdlg or --disable-numberdlg was given.
6753 if test "${enable_numberdlg+set}" = set; then
6754 enableval="$enable_numberdlg"
6755
6756 if test "$enableval" = yes; then
6757 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
6758 else
6759 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
6760 fi
6761
6762 else
6763
6764 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
6765 if test "x$LINE" != x ; then
6766 eval "DEFAULT_$LINE"
6767 else
6768 no_cache=1
6769 fi
6770
6771 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
6772
6773 fi
6774
6775
6776 eval "$ac_cv_use_numberdlg"
6777 if test "$no_cache" != 1; then
6778 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
6779 fi
6780
6781 if test "$wxUSE_NUMBERDLG" = yes; then
6782 echo "$ac_t""yes" 1>&6
6783 else
6784 echo "$ac_t""no" 1>&6
6785 fi
6786
6787
6788 echo $ac_n "checking for --enable-textdlg""... $ac_c" 1>&6
6789 echo "configure:6790: checking for --enable-textdlg" >&5
6790 no_cache=0
6791 # Check whether --enable-textdlg or --disable-textdlg was given.
6792 if test "${enable_textdlg+set}" = set; then
6793 enableval="$enable_textdlg"
6794
6795 if test "$enableval" = yes; then
6796 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
6797 else
6798 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
6799 fi
6800
6801 else
6802
6803 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
6804 if test "x$LINE" != x ; then
6805 eval "DEFAULT_$LINE"
6806 else
6807 no_cache=1
6808 fi
6809
6810 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
6811
6812 fi
6813
6814
6815 eval "$ac_cv_use_textdlg"
6816 if test "$no_cache" != 1; then
6817 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
6818 fi
6819
6820 if test "$wxUSE_TEXTDLG" = yes; then
6821 echo "$ac_t""yes" 1>&6
6822 else
6823 echo "$ac_t""no" 1>&6
6824 fi
6825
6826
6827 echo $ac_n "checking for --enable-tipdlg""... $ac_c" 1>&6
6828 echo "configure:6829: checking for --enable-tipdlg" >&5
6829 no_cache=0
6830 # Check whether --enable-tipdlg or --disable-tipdlg was given.
6831 if test "${enable_tipdlg+set}" = set; then
6832 enableval="$enable_tipdlg"
6833
6834 if test "$enableval" = yes; then
6835 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
6836 else
6837 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
6838 fi
6839
6840 else
6841
6842 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
6843 if test "x$LINE" != x ; then
6844 eval "DEFAULT_$LINE"
6845 else
6846 no_cache=1
6847 fi
6848
6849 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
6850
6851 fi
6852
6853
6854 eval "$ac_cv_use_tipdlg"
6855 if test "$no_cache" != 1; then
6856 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
6857 fi
6858
6859 if test "$wxUSE_STARTUP_TIPS" = yes; then
6860 echo "$ac_t""yes" 1>&6
6861 else
6862 echo "$ac_t""no" 1>&6
6863 fi
6864
6865
6866 echo $ac_n "checking for --enable-progressdlg""... $ac_c" 1>&6
6867 echo "configure:6868: checking for --enable-progressdlg" >&5
6868 no_cache=0
6869 # Check whether --enable-progressdlg or --disable-progressdlg was given.
6870 if test "${enable_progressdlg+set}" = set; then
6871 enableval="$enable_progressdlg"
6872
6873 if test "$enableval" = yes; then
6874 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
6875 else
6876 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
6877 fi
6878
6879 else
6880
6881 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
6882 if test "x$LINE" != x ; then
6883 eval "DEFAULT_$LINE"
6884 else
6885 no_cache=1
6886 fi
6887
6888 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
6889
6890 fi
6891
6892
6893 eval "$ac_cv_use_progressdlg"
6894 if test "$no_cache" != 1; then
6895 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
6896 fi
6897
6898 if test "$wxUSE_PROGRESSDLG" = yes; then
6899 echo "$ac_t""yes" 1>&6
6900 else
6901 echo "$ac_t""no" 1>&6
6902 fi
6903
6904
6905 echo $ac_n "checking for --enable-wizarddlg""... $ac_c" 1>&6
6906 echo "configure:6907: checking for --enable-wizarddlg" >&5
6907 no_cache=0
6908 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
6909 if test "${enable_wizarddlg+set}" = set; then
6910 enableval="$enable_wizarddlg"
6911
6912 if test "$enableval" = yes; then
6913 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
6914 else
6915 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
6916 fi
6917
6918 else
6919
6920 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
6921 if test "x$LINE" != x ; then
6922 eval "DEFAULT_$LINE"
6923 else
6924 no_cache=1
6925 fi
6926
6927 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
6928
6929 fi
6930
6931
6932 eval "$ac_cv_use_wizarddlg"
6933 if test "$no_cache" != 1; then
6934 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
6935 fi
6936
6937 if test "$wxUSE_WIZARDDLG" = yes; then
6938 echo "$ac_t""yes" 1>&6
6939 else
6940 echo "$ac_t""no" 1>&6
6941 fi
6942
6943
6944
6945
6946 echo $ac_n "checking for --enable-menus""... $ac_c" 1>&6
6947 echo "configure:6948: checking for --enable-menus" >&5
6948 no_cache=0
6949 # Check whether --enable-menus or --disable-menus was given.
6950 if test "${enable_menus+set}" = set; then
6951 enableval="$enable_menus"
6952
6953 if test "$enableval" = yes; then
6954 ac_cv_use_menus='wxUSE_MENUS=yes'
6955 else
6956 ac_cv_use_menus='wxUSE_MENUS=no'
6957 fi
6958
6959 else
6960
6961 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
6962 if test "x$LINE" != x ; then
6963 eval "DEFAULT_$LINE"
6964 else
6965 no_cache=1
6966 fi
6967
6968 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
6969
6970 fi
6971
6972
6973 eval "$ac_cv_use_menus"
6974 if test "$no_cache" != 1; then
6975 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
6976 fi
6977
6978 if test "$wxUSE_MENUS" = yes; then
6979 echo "$ac_t""yes" 1>&6
6980 else
6981 echo "$ac_t""no" 1>&6
6982 fi
6983
6984
6985 echo $ac_n "checking for --enable-miniframe""... $ac_c" 1>&6
6986 echo "configure:6987: checking for --enable-miniframe" >&5
6987 no_cache=0
6988 # Check whether --enable-miniframe or --disable-miniframe was given.
6989 if test "${enable_miniframe+set}" = set; then
6990 enableval="$enable_miniframe"
6991
6992 if test "$enableval" = yes; then
6993 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
6994 else
6995 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
6996 fi
6997
6998 else
6999
7000 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
7001 if test "x$LINE" != x ; then
7002 eval "DEFAULT_$LINE"
7003 else
7004 no_cache=1
7005 fi
7006
7007 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
7008
7009 fi
7010
7011
7012 eval "$ac_cv_use_miniframe"
7013 if test "$no_cache" != 1; then
7014 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
7015 fi
7016
7017 if test "$wxUSE_MINIFRAME" = yes; then
7018 echo "$ac_t""yes" 1>&6
7019 else
7020 echo "$ac_t""no" 1>&6
7021 fi
7022
7023
7024 echo $ac_n "checking for --enable-tooltips""... $ac_c" 1>&6
7025 echo "configure:7026: checking for --enable-tooltips" >&5
7026 no_cache=0
7027 # Check whether --enable-tooltips or --disable-tooltips was given.
7028 if test "${enable_tooltips+set}" = set; then
7029 enableval="$enable_tooltips"
7030
7031 if test "$enableval" = yes; then
7032 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
7033 else
7034 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
7035 fi
7036
7037 else
7038
7039 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
7040 if test "x$LINE" != x ; then
7041 eval "DEFAULT_$LINE"
7042 else
7043 no_cache=1
7044 fi
7045
7046 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
7047
7048 fi
7049
7050
7051 eval "$ac_cv_use_tooltips"
7052 if test "$no_cache" != 1; then
7053 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
7054 fi
7055
7056 if test "$wxUSE_TOOLTIPS" = yes; then
7057 echo "$ac_t""yes" 1>&6
7058 else
7059 echo "$ac_t""no" 1>&6
7060 fi
7061
7062
7063 echo $ac_n "checking for --enable-splines""... $ac_c" 1>&6
7064 echo "configure:7065: checking for --enable-splines" >&5
7065 no_cache=0
7066 # Check whether --enable-splines or --disable-splines was given.
7067 if test "${enable_splines+set}" = set; then
7068 enableval="$enable_splines"
7069
7070 if test "$enableval" = yes; then
7071 ac_cv_use_splines='wxUSE_SPLINES=yes'
7072 else
7073 ac_cv_use_splines='wxUSE_SPLINES=no'
7074 fi
7075
7076 else
7077
7078 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
7079 if test "x$LINE" != x ; then
7080 eval "DEFAULT_$LINE"
7081 else
7082 no_cache=1
7083 fi
7084
7085 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
7086
7087 fi
7088
7089
7090 eval "$ac_cv_use_splines"
7091 if test "$no_cache" != 1; then
7092 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
7093 fi
7094
7095 if test "$wxUSE_SPLINES" = yes; then
7096 echo "$ac_t""yes" 1>&6
7097 else
7098 echo "$ac_t""no" 1>&6
7099 fi
7100
7101
7102 echo $ac_n "checking for --enable-validators""... $ac_c" 1>&6
7103 echo "configure:7104: checking for --enable-validators" >&5
7104 no_cache=0
7105 # Check whether --enable-validators or --disable-validators was given.
7106 if test "${enable_validators+set}" = set; then
7107 enableval="$enable_validators"
7108
7109 if test "$enableval" = yes; then
7110 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
7111 else
7112 ac_cv_use_validators='wxUSE_VALIDATORS=no'
7113 fi
7114
7115 else
7116
7117 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
7118 if test "x$LINE" != x ; then
7119 eval "DEFAULT_$LINE"
7120 else
7121 no_cache=1
7122 fi
7123
7124 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
7125
7126 fi
7127
7128
7129 eval "$ac_cv_use_validators"
7130 if test "$no_cache" != 1; then
7131 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
7132 fi
7133
7134 if test "$wxUSE_VALIDATORS" = yes; then
7135 echo "$ac_t""yes" 1>&6
7136 else
7137 echo "$ac_t""no" 1>&6
7138 fi
7139
7140
7141 echo $ac_n "checking for --enable-busyinfo""... $ac_c" 1>&6
7142 echo "configure:7143: checking for --enable-busyinfo" >&5
7143 no_cache=0
7144 # Check whether --enable-busyinfo or --disable-busyinfo was given.
7145 if test "${enable_busyinfo+set}" = set; then
7146 enableval="$enable_busyinfo"
7147
7148 if test "$enableval" = yes; then
7149 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
7150 else
7151 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
7152 fi
7153
7154 else
7155
7156 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
7157 if test "x$LINE" != x ; then
7158 eval "DEFAULT_$LINE"
7159 else
7160 no_cache=1
7161 fi
7162
7163 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
7164
7165 fi
7166
7167
7168 eval "$ac_cv_use_busyinfo"
7169 if test "$no_cache" != 1; then
7170 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
7171 fi
7172
7173 if test "$wxUSE_BUSYINFO" = yes; then
7174 echo "$ac_t""yes" 1>&6
7175 else
7176 echo "$ac_t""no" 1>&6
7177 fi
7178
7179
7180 echo $ac_n "checking for --enable-joystick""... $ac_c" 1>&6
7181 echo "configure:7182: checking for --enable-joystick" >&5
7182 no_cache=0
7183 # Check whether --enable-joystick or --disable-joystick was given.
7184 if test "${enable_joystick+set}" = set; then
7185 enableval="$enable_joystick"
7186
7187 if test "$enableval" = yes; then
7188 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
7189 else
7190 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
7191 fi
7192
7193 else
7194
7195 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
7196 if test "x$LINE" != x ; then
7197 eval "DEFAULT_$LINE"
7198 else
7199 no_cache=1
7200 fi
7201
7202 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
7203
7204 fi
7205
7206
7207 eval "$ac_cv_use_joystick"
7208 if test "$no_cache" != 1; then
7209 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
7210 fi
7211
7212 if test "$wxUSE_JOYSTICK" = yes; then
7213 echo "$ac_t""yes" 1>&6
7214 else
7215 echo "$ac_t""no" 1>&6
7216 fi
7217
7218
7219 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
7220 echo "configure:7221: checking for --enable-metafile" >&5
7221 no_cache=0
7222 # Check whether --enable-metafile or --disable-metafile was given.
7223 if test "${enable_metafile+set}" = set; then
7224 enableval="$enable_metafile"
7225
7226 if test "$enableval" = yes; then
7227 ac_cv_use_metafile='wxUSE_METAFILE=yes'
7228 else
7229 ac_cv_use_metafile='wxUSE_METAFILE=no'
7230 fi
7231
7232 else
7233
7234 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7235 if test "x$LINE" != x ; then
7236 eval "DEFAULT_$LINE"
7237 else
7238 no_cache=1
7239 fi
7240
7241 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7242
7243 fi
7244
7245
7246 eval "$ac_cv_use_metafile"
7247 if test "$no_cache" != 1; then
7248 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7249 fi
7250
7251 if test "$wxUSE_METAFILE" = yes; then
7252 echo "$ac_t""yes" 1>&6
7253 else
7254 echo "$ac_t""no" 1>&6
7255 fi
7256
7257
7258 echo $ac_n "checking for --enable-dragimage""... $ac_c" 1>&6
7259 echo "configure:7260: checking for --enable-dragimage" >&5
7260 no_cache=0
7261 # Check whether --enable-dragimage or --disable-dragimage was given.
7262 if test "${enable_dragimage+set}" = set; then
7263 enableval="$enable_dragimage"
7264
7265 if test "$enableval" = yes; then
7266 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
7267 else
7268 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
7269 fi
7270
7271 else
7272
7273 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
7274 if test "x$LINE" != x ; then
7275 eval "DEFAULT_$LINE"
7276 else
7277 no_cache=1
7278 fi
7279
7280 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
7281
7282 fi
7283
7284
7285 eval "$ac_cv_use_dragimage"
7286 if test "$no_cache" != 1; then
7287 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
7288 fi
7289
7290 if test "$wxUSE_DRAGIMAGE" = yes; then
7291 echo "$ac_t""yes" 1>&6
7292 else
7293 echo "$ac_t""no" 1>&6
7294 fi
7295
7296
7297
7298
7299 echo $ac_n "checking for --enable-image""... $ac_c" 1>&6
7300 echo "configure:7301: checking for --enable-image" >&5
7301 no_cache=0
7302 # Check whether --enable-image or --disable-image was given.
7303 if test "${enable_image+set}" = set; then
7304 enableval="$enable_image"
7305
7306 if test "$enableval" = yes; then
7307 ac_cv_use_image='wxUSE_IMAGE=yes'
7308 else
7309 ac_cv_use_image='wxUSE_IMAGE=no'
7310 fi
7311
7312 else
7313
7314 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
7315 if test "x$LINE" != x ; then
7316 eval "DEFAULT_$LINE"
7317 else
7318 no_cache=1
7319 fi
7320
7321 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
7322
7323 fi
7324
7325
7326 eval "$ac_cv_use_image"
7327 if test "$no_cache" != 1; then
7328 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
7329 fi
7330
7331 if test "$wxUSE_IMAGE" = yes; then
7332 echo "$ac_t""yes" 1>&6
7333 else
7334 echo "$ac_t""no" 1>&6
7335 fi
7336
7337
7338 echo $ac_n "checking for --enable-gif""... $ac_c" 1>&6
7339 echo "configure:7340: checking for --enable-gif" >&5
7340 no_cache=0
7341 # Check whether --enable-gif or --disable-gif was given.
7342 if test "${enable_gif+set}" = set; then
7343 enableval="$enable_gif"
7344
7345 if test "$enableval" = yes; then
7346 ac_cv_use_gif='wxUSE_GIF=yes'
7347 else
7348 ac_cv_use_gif='wxUSE_GIF=no'
7349 fi
7350
7351 else
7352
7353 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
7354 if test "x$LINE" != x ; then
7355 eval "DEFAULT_$LINE"
7356 else
7357 no_cache=1
7358 fi
7359
7360 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
7361
7362 fi
7363
7364
7365 eval "$ac_cv_use_gif"
7366 if test "$no_cache" != 1; then
7367 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
7368 fi
7369
7370 if test "$wxUSE_GIF" = yes; then
7371 echo "$ac_t""yes" 1>&6
7372 else
7373 echo "$ac_t""no" 1>&6
7374 fi
7375
7376
7377 echo $ac_n "checking for --enable-pcx""... $ac_c" 1>&6
7378 echo "configure:7379: checking for --enable-pcx" >&5
7379 no_cache=0
7380 # Check whether --enable-pcx or --disable-pcx was given.
7381 if test "${enable_pcx+set}" = set; then
7382 enableval="$enable_pcx"
7383
7384 if test "$enableval" = yes; then
7385 ac_cv_use_pcx='wxUSE_PCX=yes'
7386 else
7387 ac_cv_use_pcx='wxUSE_PCX=no'
7388 fi
7389
7390 else
7391
7392 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
7393 if test "x$LINE" != x ; then
7394 eval "DEFAULT_$LINE"
7395 else
7396 no_cache=1
7397 fi
7398
7399 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
7400
7401 fi
7402
7403
7404 eval "$ac_cv_use_pcx"
7405 if test "$no_cache" != 1; then
7406 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
7407 fi
7408
7409 if test "$wxUSE_PCX" = yes; then
7410 echo "$ac_t""yes" 1>&6
7411 else
7412 echo "$ac_t""no" 1>&6
7413 fi
7414
7415
7416 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
7417 echo "configure:7418: checking for --enable-pnm" >&5
7418 no_cache=0
7419 # Check whether --enable-pnm or --disable-pnm was given.
7420 if test "${enable_pnm+set}" = set; then
7421 enableval="$enable_pnm"
7422
7423 if test "$enableval" = yes; then
7424 ac_cv_use_pnm='wxUSE_PNM=yes'
7425 else
7426 ac_cv_use_pnm='wxUSE_PNM=no'
7427 fi
7428
7429 else
7430
7431 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
7432 if test "x$LINE" != x ; then
7433 eval "DEFAULT_$LINE"
7434 else
7435 no_cache=1
7436 fi
7437
7438 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
7439
7440 fi
7441
7442
7443 eval "$ac_cv_use_pnm"
7444 if test "$no_cache" != 1; then
7445 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
7446 fi
7447
7448 if test "$wxUSE_PNM" = yes; then
7449 echo "$ac_t""yes" 1>&6
7450 else
7451 echo "$ac_t""no" 1>&6
7452 fi
7453
7454
7455 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
7456 echo "configure:7457: checking for --enable-pnm" >&5
7457 no_cache=0
7458 # Check whether --enable-pnm or --disable-pnm was given.
7459 if test "${enable_pnm+set}" = set; then
7460 enableval="$enable_pnm"
7461
7462 if test "$enableval" = yes; then
7463 ac_cv_use_pnm='wxUSE_XPM=yes'
7464 else
7465 ac_cv_use_pnm='wxUSE_XPM=no'
7466 fi
7467
7468 else
7469
7470 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
7471 if test "x$LINE" != x ; then
7472 eval "DEFAULT_$LINE"
7473 else
7474 no_cache=1
7475 fi
7476
7477 ac_cv_use_pnm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
7478
7479 fi
7480
7481
7482 eval "$ac_cv_use_pnm"
7483 if test "$no_cache" != 1; then
7484 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
7485 fi
7486
7487 if test "$wxUSE_XPM" = yes; then
7488 echo "$ac_t""yes" 1>&6
7489 else
7490 echo "$ac_t""no" 1>&6
7491 fi
7492
7493
7494 fi
7495
7496
7497 echo "saving argument cache $wx_arg_cache_file"
7498 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
7499
7500
7501
7502 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
7503 echo "configure:7504: checking for toolkit" >&5
7504
7505 if test "$wxUSE_GUI" = "yes"; then
7506
7507 if test "$USE_BEOS" = 1; then
7508 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
7509 fi
7510
7511 if test "$TOOLKIT_GIVEN" = 1; then
7512 for toolkit in `echo $ALL_TOOLKITS`; do
7513 var=wxUSE_$toolkit
7514 eval "value=\$${var}"
7515 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
7516 done
7517 else
7518 for toolkit in `echo $ALL_TOOLKITS`; do
7519 if test "$has_toolkit_in_cache" != 1; then
7520 var=DEFAULT_DEFAULT_wxUSE_$toolkit
7521 else
7522 var=DEFAULT_wxUSE_$toolkit
7523 fi
7524 eval "wxUSE_$toolkit=\$${var}"
7525 done
7526 fi
7527
7528 NUM_TOOLKITS=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} + ${wxUSE_WINE:-0} + ${wxUSE_MINGW:-0} + ${wxUSE_CYGWIN:-0} + ${wxUSE_MGL:-0}`
7529
7530 case "${host}" in
7531 *-pc-os2_emx )
7532 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
7533 # PATH_IFS is autodetected by OS/2's configure (usually ';')
7534 LEX_STEM="lexyy"
7535 ;;
7536 *)
7537 PATH_IFS=':'
7538 LEX_STEM="lex.yy"
7539 ;;
7540 esac
7541
7542 case "$NUM_TOOLKITS" in
7543 1)
7544 ;;
7545 0)
7546 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
7547 ;;
7548 *)
7549 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
7550 esac
7551
7552 for toolkit in `echo $ALL_TOOLKITS`; do
7553 var=wxUSE_$toolkit
7554 eval "value=\$${var}"
7555 if test "x$value" != x; then
7556 cache_var=CACHE_$toolkit
7557 eval "cache=\$${cache_var}"
7558 if test "$cache" = 1; then
7559 echo "$var=$value" >> ${wx_arg_cache_file}
7560 fi
7561 if test "$value" = 1; then
7562 toolkit_echo=`echo $toolkit | tr [A-Z] [a-z]`
7563 echo "$ac_t""$toolkit_echo" 1>&6
7564 fi
7565 fi
7566 done
7567
7568 else
7569 PATH_IFS=':'
7570 echo "$ac_t""base only" 1>&6
7571 fi
7572
7573
7574 cat > confcache <<\EOF
7575 # This file is a shell script that caches the results of configure
7576 # tests run on this system so they can be shared between configure
7577 # scripts and configure runs. It is not useful on other systems.
7578 # If it contains results you don't want to keep, you may remove or edit it.
7579 #
7580 # By default, configure uses ./config.cache as the cache file,
7581 # creating it if it does not exist already. You can give configure
7582 # the --cache-file=FILE option to use a different cache file; that is
7583 # what configure does when it calls configure scripts in
7584 # subdirectories, so they share the cache.
7585 # Giving --cache-file=/dev/null disables caching, for debugging configure.
7586 # config.status only pays attention to the cache file if you give it the
7587 # --recheck option to rerun configure.
7588 #
7589 EOF
7590 # The following way of writing the cache mishandles newlines in values,
7591 # but we know of no workaround that is simple, portable, and efficient.
7592 # So, don't put newlines in cache variables' values.
7593 # Ultrix sh set writes to stderr and can't be redirected directly,
7594 # and sets the high bit in the cache file unless we assign to the vars.
7595 (set) 2>&1 |
7596 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7597 *ac_space=\ *)
7598 # `set' does not quote correctly, so add quotes (double-quote substitution
7599 # turns \\\\ into \\, and sed turns \\ into \).
7600 sed -n \
7601 -e "s/'/'\\\\''/g" \
7602 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
7603 ;;
7604 *)
7605 # `set' quotes correctly as required by POSIX, so do not add quotes.
7606 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
7607 ;;
7608 esac >> confcache
7609 if cmp -s $cache_file confcache; then
7610 :
7611 else
7612 if test -w $cache_file; then
7613 echo "updating cache $cache_file"
7614 cat confcache > $cache_file
7615 else
7616 echo "not updating unwritable cache $cache_file"
7617 fi
7618 fi
7619 rm -f confcache
7620
7621
7622 if test "$build" != "$host" ; then
7623 CC=$host_alias-gcc
7624 CXX=$host_alias-c++
7625 AR=$host_alias-ar
7626 RANLIB=$host_alias-ranlib
7627 DLLTOOL=$host_alias-dlltool
7628 RESCOMP=$host_alias-windres
7629 LD=$host_alias-ld
7630 NM=$host_alias-nm
7631 STRIP=$host_alias-strip
7632 fi
7633
7634 # Extract the first word of "gcc", so it can be a program name with args.
7635 set dummy gcc; ac_word=$2
7636 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7637 echo "configure:7638: checking for $ac_word" >&5
7638 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7639 echo $ac_n "(cached) $ac_c" 1>&6
7640 else
7641 if test -n "$CC"; then
7642 ac_cv_prog_CC="$CC" # Let the user override the test.
7643 else
7644 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
7645 ac_dummy="$PATH"
7646 for ac_dir in $ac_dummy; do
7647 test -z "$ac_dir" && ac_dir=.
7648 if test -f $ac_dir/$ac_word; then
7649 ac_cv_prog_CC="gcc"
7650 break
7651 fi
7652 done
7653 IFS="$ac_save_ifs"
7654 fi
7655 fi
7656 CC="$ac_cv_prog_CC"
7657 if test -n "$CC"; then
7658 echo "$ac_t""$CC" 1>&6
7659 else
7660 echo "$ac_t""no" 1>&6
7661 fi
7662
7663 if test -z "$CC"; then
7664 # Extract the first word of "cc", so it can be a program name with args.
7665 set dummy cc; ac_word=$2
7666 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7667 echo "configure:7668: checking for $ac_word" >&5
7668 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7669 echo $ac_n "(cached) $ac_c" 1>&6
7670 else
7671 if test -n "$CC"; then
7672 ac_cv_prog_CC="$CC" # Let the user override the test.
7673 else
7674 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
7675 ac_prog_rejected=no
7676 ac_dummy="$PATH"
7677 for ac_dir in $ac_dummy; do
7678 test -z "$ac_dir" && ac_dir=.
7679 if test -f $ac_dir/$ac_word; then
7680 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
7681 ac_prog_rejected=yes
7682 continue
7683 fi
7684 ac_cv_prog_CC="cc"
7685 break
7686 fi
7687 done
7688 IFS="$ac_save_ifs"
7689 if test $ac_prog_rejected = yes; then
7690 # We found a bogon in the path, so make sure we never use it.
7691 set dummy $ac_cv_prog_CC
7692 shift
7693 if test $# -gt 0; then
7694 # We chose a different compiler from the bogus one.
7695 # However, it has the same basename, so the bogon will be chosen
7696 # first if we set CC to just the basename; use the full file name.
7697 shift
7698 set dummy "$ac_dir/$ac_word" "$@"
7699 shift
7700 ac_cv_prog_CC="$@"
7701 fi
7702 fi
7703 fi
7704 fi
7705 CC="$ac_cv_prog_CC"
7706 if test -n "$CC"; then
7707 echo "$ac_t""$CC" 1>&6
7708 else
7709 echo "$ac_t""no" 1>&6
7710 fi
7711
7712 if test -z "$CC"; then
7713 case "`uname -s`" in
7714 *win32* | *WIN32*)
7715 # Extract the first word of "cl", so it can be a program name with args.
7716 set dummy cl; ac_word=$2
7717 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7718 echo "configure:7719: checking for $ac_word" >&5
7719 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7720 echo $ac_n "(cached) $ac_c" 1>&6
7721 else
7722 if test -n "$CC"; then
7723 ac_cv_prog_CC="$CC" # Let the user override the test.
7724 else
7725 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
7726 ac_dummy="$PATH"
7727 for ac_dir in $ac_dummy; do
7728 test -z "$ac_dir" && ac_dir=.
7729 if test -f $ac_dir/$ac_word; then
7730 ac_cv_prog_CC="cl"
7731 break
7732 fi
7733 done
7734 IFS="$ac_save_ifs"
7735 fi
7736 fi
7737 CC="$ac_cv_prog_CC"
7738 if test -n "$CC"; then
7739 echo "$ac_t""$CC" 1>&6
7740 else
7741 echo "$ac_t""no" 1>&6
7742 fi
7743 ;;
7744 esac
7745 fi
7746 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
7747 fi
7748
7749 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
7750 echo "configure:7751: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
7751
7752 ac_ext=c
7753 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7754 ac_cpp='$CPP $CPPFLAGS'
7755 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7756 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7757 cross_compiling=$ac_cv_prog_cc_cross
7758
7759 cat > conftest.$ac_ext << EOF
7760
7761 #line 7762 "configure"
7762 #include "confdefs.h"
7763
7764 main(){return(0);}
7765 EOF
7766 if { (eval echo configure:7767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7767 ac_cv_prog_cc_works=yes
7768 # If we can't run a trivial program, we are probably using a cross compiler.
7769 if (./conftest; exit) 2>/dev/null; then
7770 ac_cv_prog_cc_cross=no
7771 else
7772 ac_cv_prog_cc_cross=yes
7773 fi
7774 else
7775 echo "configure: failed program was:" >&5
7776 cat conftest.$ac_ext >&5
7777 ac_cv_prog_cc_works=no
7778 fi
7779 rm -fr conftest*
7780 ac_ext=c
7781 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7782 ac_cpp='$CPP $CPPFLAGS'
7783 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7784 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7785 cross_compiling=$ac_cv_prog_cc_cross
7786
7787 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
7788 if test $ac_cv_prog_cc_works = no; then
7789 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
7790 fi
7791 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
7792 echo "configure:7793: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
7793 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
7794 cross_compiling=$ac_cv_prog_cc_cross
7795
7796 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
7797 echo "configure:7798: checking whether we are using GNU C" >&5
7798 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
7799 echo $ac_n "(cached) $ac_c" 1>&6
7800 else
7801 cat > conftest.c <<EOF
7802 #ifdef __GNUC__
7803 yes;
7804 #endif
7805 EOF
7806 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:7807: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
7807 ac_cv_prog_gcc=yes
7808 else
7809 ac_cv_prog_gcc=no
7810 fi
7811 fi
7812
7813 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
7814
7815 if test $ac_cv_prog_gcc = yes; then
7816 GCC=yes
7817 else
7818 GCC=
7819 fi
7820
7821 ac_test_CFLAGS="${CFLAGS+set}"
7822 ac_save_CFLAGS="$CFLAGS"
7823 CFLAGS=
7824 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
7825 echo "configure:7826: checking whether ${CC-cc} accepts -g" >&5
7826 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
7827 echo $ac_n "(cached) $ac_c" 1>&6
7828 else
7829 echo 'void f(){}' > conftest.c
7830 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
7831 ac_cv_prog_cc_g=yes
7832 else
7833 ac_cv_prog_cc_g=no
7834 fi
7835 rm -f conftest*
7836
7837 fi
7838
7839 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
7840 if test "$ac_test_CFLAGS" = set; then
7841 CFLAGS="$ac_save_CFLAGS"
7842 elif test $ac_cv_prog_cc_g = yes; then
7843 if test "$GCC" = yes; then
7844 CFLAGS="-g -O2"
7845 else
7846 CFLAGS="-g"
7847 fi
7848 else
7849 if test "$GCC" = yes; then
7850 CFLAGS="-O2"
7851 else
7852 CFLAGS=
7853 fi
7854 fi
7855
7856
7857 CFLAGS=`echo "$CFLAGS" | sed 's/-g//g'`
7858
7859 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
7860 echo "configure:7861: checking how to run the C preprocessor" >&5
7861 # On Suns, sometimes $CPP names a directory.
7862 if test -n "$CPP" && test -d "$CPP"; then
7863 CPP=
7864 fi
7865 if test -z "$CPP"; then
7866 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
7867 echo $ac_n "(cached) $ac_c" 1>&6
7868 else
7869 # This must be in double quotes, not single quotes, because CPP may get
7870 # substituted into the Makefile and "${CC-cc}" will confuse make.
7871 CPP="${CC-cc} -E"
7872 # On the NeXT, cc -E runs the code through the compiler's parser,
7873 # not just through cpp.
7874 cat > conftest.$ac_ext <<EOF
7875 #line 7876 "configure"
7876 #include "confdefs.h"
7877 #include <assert.h>
7878 Syntax Error
7879 EOF
7880 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7881 { (eval echo configure:7882: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7882 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7883 if test -z "$ac_err"; then
7884 :
7885 else
7886 echo "$ac_err" >&5
7887 echo "configure: failed program was:" >&5
7888 cat conftest.$ac_ext >&5
7889 rm -rf conftest*
7890 CPP="${CC-cc} -E -traditional-cpp"
7891 cat > conftest.$ac_ext <<EOF
7892 #line 7893 "configure"
7893 #include "confdefs.h"
7894 #include <assert.h>
7895 Syntax Error
7896 EOF
7897 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7898 { (eval echo configure:7899: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7899 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7900 if test -z "$ac_err"; then
7901 :
7902 else
7903 echo "$ac_err" >&5
7904 echo "configure: failed program was:" >&5
7905 cat conftest.$ac_ext >&5
7906 rm -rf conftest*
7907 CPP="${CC-cc} -nologo -E"
7908 cat > conftest.$ac_ext <<EOF
7909 #line 7910 "configure"
7910 #include "confdefs.h"
7911 #include <assert.h>
7912 Syntax Error
7913 EOF
7914 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7915 { (eval echo configure:7916: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7916 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7917 if test -z "$ac_err"; then
7918 :
7919 else
7920 echo "$ac_err" >&5
7921 echo "configure: failed program was:" >&5
7922 cat conftest.$ac_ext >&5
7923 rm -rf conftest*
7924 CPP=/lib/cpp
7925 fi
7926 rm -f conftest*
7927 fi
7928 rm -f conftest*
7929 fi
7930 rm -f conftest*
7931 ac_cv_prog_CPP="$CPP"
7932 fi
7933 CPP="$ac_cv_prog_CPP"
7934 else
7935 ac_cv_prog_CPP="$CPP"
7936 fi
7937 echo "$ac_t""$CPP" 1>&6
7938
7939
7940 if test $ac_cv_prog_gcc = yes; then
7941 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
7942 echo "configure:7943: checking whether ${CC-cc} needs -traditional" >&5
7943 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
7944 echo $ac_n "(cached) $ac_c" 1>&6
7945 else
7946 ac_pattern="Autoconf.*'x'"
7947 cat > conftest.$ac_ext <<EOF
7948 #line 7949 "configure"
7949 #include "confdefs.h"
7950 #include <sgtty.h>
7951 Autoconf TIOCGETP
7952 EOF
7953 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7954 egrep "$ac_pattern" >/dev/null 2>&1; then
7955 rm -rf conftest*
7956 ac_cv_prog_gcc_traditional=yes
7957 else
7958 rm -rf conftest*
7959 ac_cv_prog_gcc_traditional=no
7960 fi
7961 rm -f conftest*
7962
7963
7964 if test $ac_cv_prog_gcc_traditional = no; then
7965 cat > conftest.$ac_ext <<EOF
7966 #line 7967 "configure"
7967 #include "confdefs.h"
7968 #include <termio.h>
7969 Autoconf TCGETA
7970 EOF
7971 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7972 egrep "$ac_pattern" >/dev/null 2>&1; then
7973 rm -rf conftest*
7974 ac_cv_prog_gcc_traditional=yes
7975 fi
7976 rm -f conftest*
7977
7978 fi
7979 fi
7980
7981 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
7982 if test $ac_cv_prog_gcc_traditional = yes; then
7983 CC="$CC -traditional"
7984 fi
7985 fi
7986
7987
7988
7989 ac_ext=C
7990 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7991 ac_cpp='$CXXCPP $CPPFLAGS'
7992 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7993 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7994 cross_compiling=$ac_cv_prog_cxx_cross
7995
7996
7997 for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl
7998 do
7999 # Extract the first word of "$ac_prog", so it can be a program name with args.
8000 set dummy $ac_prog; ac_word=$2
8001 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8002 echo "configure:8003: checking for $ac_word" >&5
8003 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
8004 echo $ac_n "(cached) $ac_c" 1>&6
8005 else
8006 if test -n "$CXX"; then
8007 ac_cv_prog_CXX="$CXX" # Let the user override the test.
8008 else
8009 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8010 ac_dummy="$PATH"
8011 for ac_dir in $ac_dummy; do
8012 test -z "$ac_dir" && ac_dir=.
8013 if test -f $ac_dir/$ac_word; then
8014 ac_cv_prog_CXX="$ac_prog"
8015 break
8016 fi
8017 done
8018 IFS="$ac_save_ifs"
8019 fi
8020 fi
8021 CXX="$ac_cv_prog_CXX"
8022 if test -n "$CXX"; then
8023 echo "$ac_t""$CXX" 1>&6
8024 else
8025 echo "$ac_t""no" 1>&6
8026 fi
8027
8028 test -n "$CXX" && break
8029 done
8030 test -n "$CXX" || CXX="gcc"
8031
8032
8033 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8034 echo "configure:8035: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
8035
8036 ac_ext=C
8037 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8038 ac_cpp='$CXXCPP $CPPFLAGS'
8039 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8040 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8041 cross_compiling=$ac_cv_prog_cxx_cross
8042
8043 cat > conftest.$ac_ext << EOF
8044
8045 #line 8046 "configure"
8046 #include "confdefs.h"
8047
8048 int main(){return(0);}
8049 EOF
8050 if { (eval echo configure:8051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8051 ac_cv_prog_cxx_works=yes
8052 # If we can't run a trivial program, we are probably using a cross compiler.
8053 if (./conftest; exit) 2>/dev/null; then
8054 ac_cv_prog_cxx_cross=no
8055 else
8056 ac_cv_prog_cxx_cross=yes
8057 fi
8058 else
8059 echo "configure: failed program was:" >&5
8060 cat conftest.$ac_ext >&5
8061 ac_cv_prog_cxx_works=no
8062 fi
8063 rm -fr conftest*
8064 ac_ext=C
8065 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8066 ac_cpp='$CXXCPP $CPPFLAGS'
8067 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8068 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8069 cross_compiling=$ac_cv_prog_cxx_cross
8070
8071 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
8072 if test $ac_cv_prog_cxx_works = no; then
8073 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
8074 fi
8075 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8076 echo "configure:8077: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
8077 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
8078 cross_compiling=$ac_cv_prog_cxx_cross
8079
8080 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
8081 echo "configure:8082: checking whether we are using GNU C++" >&5
8082 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
8083 echo $ac_n "(cached) $ac_c" 1>&6
8084 else
8085 cat > conftest.C <<EOF
8086 #ifdef __GNUC__
8087 yes;
8088 #endif
8089 EOF
8090 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:8091: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
8091 ac_cv_prog_gxx=yes
8092 else
8093 ac_cv_prog_gxx=no
8094 fi
8095 fi
8096
8097 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
8098
8099 if test $ac_cv_prog_gxx = yes; then
8100 GXX=yes
8101 else
8102 GXX=
8103 fi
8104
8105 ac_test_CXXFLAGS="${CXXFLAGS+set}"
8106 ac_save_CXXFLAGS="$CXXFLAGS"
8107 CXXFLAGS=
8108 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
8109 echo "configure:8110: checking whether ${CXX-g++} accepts -g" >&5
8110 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
8111 echo $ac_n "(cached) $ac_c" 1>&6
8112 else
8113 echo 'void f(){}' > conftest.cc
8114 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
8115 ac_cv_prog_cxx_g=yes
8116 else
8117 ac_cv_prog_cxx_g=no
8118 fi
8119 rm -f conftest*
8120
8121 fi
8122
8123 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
8124 if test "$ac_test_CXXFLAGS" = set; then
8125 CXXFLAGS="$ac_save_CXXFLAGS"
8126 elif test $ac_cv_prog_cxx_g = yes; then
8127 if test "$GXX" = yes; then
8128 CXXFLAGS="-g -O2"
8129 else
8130 CXXFLAGS="-g"
8131 fi
8132 else
8133 if test "$GXX" = yes; then
8134 CXXFLAGS="-O2"
8135 else
8136 CXXFLAGS=
8137 fi
8138 fi
8139
8140
8141 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
8142 echo "configure:8143: checking how to run the C++ preprocessor" >&5
8143 if test -z "$CXXCPP"; then
8144 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
8145 echo $ac_n "(cached) $ac_c" 1>&6
8146 else
8147 ac_ext=C
8148 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8149 ac_cpp='$CXXCPP $CPPFLAGS'
8150 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8151 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8152 cross_compiling=$ac_cv_prog_cxx_cross
8153 CXXCPP="${CXX-g++} -E"
8154 cat > conftest.$ac_ext <<EOF
8155 #line 8156 "configure"
8156 #include "confdefs.h"
8157 #include <stdlib.h>
8158 EOF
8159 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8160 { (eval echo configure:8161: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8161 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8162 if test -z "$ac_err"; then
8163 :
8164 else
8165 echo "$ac_err" >&5
8166 echo "configure: failed program was:" >&5
8167 cat conftest.$ac_ext >&5
8168 rm -rf conftest*
8169 CXXCPP=/lib/cpp
8170 fi
8171 rm -f conftest*
8172 ac_cv_prog_CXXCPP="$CXXCPP"
8173 ac_ext=C
8174 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8175 ac_cpp='$CXXCPP $CPPFLAGS'
8176 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8177 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8178 cross_compiling=$ac_cv_prog_cxx_cross
8179 fi
8180 fi
8181 CXXCPP="$ac_cv_prog_CXXCPP"
8182 echo "$ac_t""$CXXCPP" 1>&6
8183
8184
8185 CXXFLAGS=`echo "$CXXFLAGS" | sed 's/-g//g'`
8186
8187 ac_ext=c
8188 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8189 ac_cpp='$CPP $CPPFLAGS'
8190 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8191 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8192 cross_compiling=$ac_cv_prog_cc_cross
8193
8194
8195 # Extract the first word of "ranlib", so it can be a program name with args.
8196 set dummy ranlib; ac_word=$2
8197 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8198 echo "configure:8199: checking for $ac_word" >&5
8199 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
8200 echo $ac_n "(cached) $ac_c" 1>&6
8201 else
8202 if test -n "$RANLIB"; then
8203 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8204 else
8205 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8206 ac_dummy="$PATH"
8207 for ac_dir in $ac_dummy; do
8208 test -z "$ac_dir" && ac_dir=.
8209 if test -f $ac_dir/$ac_word; then
8210 ac_cv_prog_RANLIB="ranlib"
8211 break
8212 fi
8213 done
8214 IFS="$ac_save_ifs"
8215 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
8216 fi
8217 fi
8218 RANLIB="$ac_cv_prog_RANLIB"
8219 if test -n "$RANLIB"; then
8220 echo "$ac_t""$RANLIB" 1>&6
8221 else
8222 echo "$ac_t""no" 1>&6
8223 fi
8224
8225
8226 # Extract the first word of "ar", so it can be a program name with args.
8227 set dummy ar; ac_word=$2
8228 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8229 echo "configure:8230: checking for $ac_word" >&5
8230 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
8231 echo $ac_n "(cached) $ac_c" 1>&6
8232 else
8233 if test -n "$AR"; then
8234 ac_cv_prog_AR="$AR" # Let the user override the test.
8235 else
8236 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8237 ac_dummy="$PATH"
8238 for ac_dir in $ac_dummy; do
8239 test -z "$ac_dir" && ac_dir=.
8240 if test -f $ac_dir/$ac_word; then
8241 ac_cv_prog_AR="ar"
8242 break
8243 fi
8244 done
8245 IFS="$ac_save_ifs"
8246 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
8247 fi
8248 fi
8249 AR="$ac_cv_prog_AR"
8250 if test -n "$AR"; then
8251 echo "$ac_t""$AR" 1>&6
8252 else
8253 echo "$ac_t""no" 1>&6
8254 fi
8255
8256
8257 # Find a good install program. We prefer a C program (faster),
8258 # so one script is as good as another. But avoid the broken or
8259 # incompatible versions:
8260 # SysV /etc/install, /usr/sbin/install
8261 # SunOS /usr/etc/install
8262 # IRIX /sbin/install
8263 # AIX /bin/install
8264 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
8265 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
8266 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
8267 # ./install, which can be erroneously created by make from ./install.sh.
8268 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
8269 echo "configure:8270: checking for a BSD compatible install" >&5
8270 if test -z "$INSTALL"; then
8271 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
8272 echo $ac_n "(cached) $ac_c" 1>&6
8273 else
8274 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
8275 for ac_dir in $PATH; do
8276 # Account for people who put trailing slashes in PATH elements.
8277 case "$ac_dir/" in
8278 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
8279 *)
8280 # OSF1 and SCO ODT 3.0 have their own names for install.
8281 # Don't use installbsd from OSF since it installs stuff as root
8282 # by default.
8283 for ac_prog in ginstall scoinst install; do
8284 if test -f $ac_dir/$ac_prog; then
8285 if test $ac_prog = install &&
8286 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
8287 # AIX install. It has an incompatible calling convention.
8288 :
8289 else
8290 ac_cv_path_install="$ac_dir/$ac_prog -c"
8291 break 2
8292 fi
8293 fi
8294 done
8295 ;;
8296 esac
8297 done
8298 IFS="$ac_save_IFS"
8299
8300 fi
8301 if test "${ac_cv_path_install+set}" = set; then
8302 INSTALL="$ac_cv_path_install"
8303 else
8304 # As a last resort, use the slow shell script. We don't cache a
8305 # path for INSTALL within a source directory, because that will
8306 # break other packages using the cache if that directory is
8307 # removed, or if the path is relative.
8308 INSTALL="$ac_install_sh"
8309 fi
8310 fi
8311 echo "$ac_t""$INSTALL" 1>&6
8312
8313 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
8314 # It thinks the first close brace ends the variable substitution.
8315 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
8316
8317 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
8318
8319 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
8320
8321
8322 # Extract the first word of "strip", so it can be a program name with args.
8323 set dummy strip; ac_word=$2
8324 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8325 echo "configure:8326: checking for $ac_word" >&5
8326 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
8327 echo $ac_n "(cached) $ac_c" 1>&6
8328 else
8329 if test -n "$STRIP"; then
8330 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8331 else
8332 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8333 ac_dummy="$PATH"
8334 for ac_dir in $ac_dummy; do
8335 test -z "$ac_dir" && ac_dir=.
8336 if test -f $ac_dir/$ac_word; then
8337 ac_cv_prog_STRIP="strip"
8338 break
8339 fi
8340 done
8341 IFS="$ac_save_ifs"
8342 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
8343 fi
8344 fi
8345 STRIP="$ac_cv_prog_STRIP"
8346 if test -n "$STRIP"; then
8347 echo "$ac_t""$STRIP" 1>&6
8348 else
8349 echo "$ac_t""no" 1>&6
8350 fi
8351
8352
8353 echo $ac_n "checking make for VPATH support""... $ac_c" 1>&6
8354 echo "configure:8355: checking make for VPATH support" >&5
8355 cat - << EOF > confMake
8356 check : file
8357 cp \$? \$@
8358 cp \$? final_file
8359 EOF
8360
8361 if test ! -d sub ; then
8362 mkdir sub
8363 fi
8364 echo dummy > sub/file
8365 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
8366 RESULT=$?
8367 rm -f sub/file check final_file confMake
8368 rmdir sub
8369 if test "$RESULT" = 0; then
8370 echo "$ac_t""yes" 1>&6
8371 else
8372 echo "$ac_t""no" 1>&6
8373 { echo "configure: error:
8374 You need a make-utility that is able to use the variable
8375 VPATH correctly.
8376 If your version of make does not support VPATH correctly,
8377 please install GNU-make (possibly as gmake), and start
8378 configure with the following command:
8379 export MAKE=gmake; ./configure for sh-type shells
8380 setenv MAKE gmake; ./configure for csh-type shells
8381 Also please do remember to use gmake in this case every time
8382 you are trying to compile.
8383 " 1>&2; exit 1; }
8384 fi
8385
8386 for ac_prog in 'bison -y' byacc
8387 do
8388 # Extract the first word of "$ac_prog", so it can be a program name with args.
8389 set dummy $ac_prog; ac_word=$2
8390 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8391 echo "configure:8392: checking for $ac_word" >&5
8392 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
8393 echo $ac_n "(cached) $ac_c" 1>&6
8394 else
8395 if test -n "$YACC"; then
8396 ac_cv_prog_YACC="$YACC" # Let the user override the test.
8397 else
8398 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8399 ac_dummy="$PATH"
8400 for ac_dir in $ac_dummy; do
8401 test -z "$ac_dir" && ac_dir=.
8402 if test -f $ac_dir/$ac_word; then
8403 ac_cv_prog_YACC="$ac_prog"
8404 break
8405 fi
8406 done
8407 IFS="$ac_save_ifs"
8408 fi
8409 fi
8410 YACC="$ac_cv_prog_YACC"
8411 if test -n "$YACC"; then
8412 echo "$ac_t""$YACC" 1>&6
8413 else
8414 echo "$ac_t""no" 1>&6
8415 fi
8416
8417 test -n "$YACC" && break
8418 done
8419 test -n "$YACC" || YACC="yacc"
8420
8421
8422 # Extract the first word of "flex", so it can be a program name with args.
8423 set dummy flex; ac_word=$2
8424 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8425 echo "configure:8426: checking for $ac_word" >&5
8426 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
8427 echo $ac_n "(cached) $ac_c" 1>&6
8428 else
8429 if test -n "$LEX"; then
8430 ac_cv_prog_LEX="$LEX" # Let the user override the test.
8431 else
8432 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8433 ac_dummy="$PATH"
8434 for ac_dir in $ac_dummy; do
8435 test -z "$ac_dir" && ac_dir=.
8436 if test -f $ac_dir/$ac_word; then
8437 ac_cv_prog_LEX="flex"
8438 break
8439 fi
8440 done
8441 IFS="$ac_save_ifs"
8442 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX="lex"
8443 fi
8444 fi
8445 LEX="$ac_cv_prog_LEX"
8446 if test -n "$LEX"; then
8447 echo "$ac_t""$LEX" 1>&6
8448 else
8449 echo "$ac_t""no" 1>&6
8450 fi
8451
8452 if test -z "$LEXLIB"
8453 then
8454 case "$LEX" in
8455 flex*) ac_lib=fl ;;
8456 *) ac_lib=l ;;
8457 esac
8458 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
8459 echo "configure:8460: checking for yywrap in -l$ac_lib" >&5
8460 ac_lib_var=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
8461 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8462 echo $ac_n "(cached) $ac_c" 1>&6
8463 else
8464 ac_save_LIBS="$LIBS"
8465 LIBS="-l$ac_lib $LIBS"
8466 cat > conftest.$ac_ext <<EOF
8467 #line 8468 "configure"
8468 #include "confdefs.h"
8469 /* Override any gcc2 internal prototype to avoid an error. */
8470 /* We use char because int might match the return type of a gcc2
8471 builtin and then its argument prototype would still apply. */
8472 char yywrap();
8473
8474 int main() {
8475 yywrap()
8476 ; return 0; }
8477 EOF
8478 if { (eval echo configure:8479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8479 rm -rf conftest*
8480 eval "ac_cv_lib_$ac_lib_var=yes"
8481 else
8482 echo "configure: failed program was:" >&5
8483 cat conftest.$ac_ext >&5
8484 rm -rf conftest*
8485 eval "ac_cv_lib_$ac_lib_var=no"
8486 fi
8487 rm -f conftest*
8488 LIBS="$ac_save_LIBS"
8489
8490 fi
8491 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8492 echo "$ac_t""yes" 1>&6
8493 LEXLIB="-l$ac_lib"
8494 else
8495 echo "$ac_t""no" 1>&6
8496 fi
8497
8498 fi
8499
8500
8501 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
8502 echo "configure:8503: checking whether ln -s works" >&5
8503 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
8504 echo $ac_n "(cached) $ac_c" 1>&6
8505 else
8506 rm -f conftestdata
8507 if ln -s X conftestdata 2>/dev/null
8508 then
8509 rm -f conftestdata
8510 ac_cv_prog_LN_S="ln -s"
8511 else
8512 ac_cv_prog_LN_S=ln
8513 fi
8514 fi
8515 LN_S="$ac_cv_prog_LN_S"
8516 if test "$ac_cv_prog_LN_S" = "ln -s"; then
8517 echo "$ac_t""yes" 1>&6
8518 else
8519 echo "$ac_t""no" 1>&6
8520 fi
8521
8522
8523
8524 SEARCH_INCLUDE="\
8525 /usr/local/include \
8526 \
8527 /usr/Motif-1.2/include \
8528 /usr/Motif-2.1/include \
8529 \
8530 /usr/include/Motif1.2 \
8531 /opt/xpm/include/X11 \
8532 /opt/GBxpm/include/ \
8533 /opt/GBxpm/X11/include/ \
8534 \
8535 /usr/Motif1.2/include \
8536 /usr/dt/include \
8537 /usr/openwin/include \
8538 \
8539 /usr/include/Xm \
8540 \
8541 /usr/X11R6/include \
8542 /usr/X11R6.4/include \
8543 /usr/X11R5/include \
8544 /usr/X11R4/include \
8545 \
8546 /usr/include/X11R6 \
8547 /usr/include/X11R5 \
8548 /usr/include/X11R4 \
8549 \
8550 /usr/local/X11R6/include \
8551 /usr/local/X11R5/include \
8552 /usr/local/X11R4/include \
8553 \
8554 /usr/local/include/X11R6 \
8555 /usr/local/include/X11R5 \
8556 /usr/local/include/X11R4 \
8557 \
8558 /usr/X11/include \
8559 /usr/include/X11 \
8560 /usr/local/X11/include \
8561 /usr/local/include/X11 \
8562 \
8563 /usr/X386/include \
8564 /usr/x386/include \
8565 /usr/XFree86/include/X11 \
8566 \
8567 X:/XFree86/include \
8568 X:/XFree86/include/X11 \
8569 \
8570 /usr/include/gtk \
8571 /usr/local/include/gtk \
8572 /usr/include/glib \
8573 /usr/local/include/glib \
8574 \
8575 /usr/include/qt \
8576 /usr/local/include/qt \
8577 \
8578 /usr/include/windows \
8579 /usr/include/wine \
8580 /usr/local/include/wine \
8581 \
8582 /usr/unsupported/include \
8583 /usr/athena/include \
8584 /usr/local/x11r5/include \
8585 /usr/lpp/Xamples/include \
8586 \
8587 /usr/openwin/share/include \
8588 \
8589 /usr/include"
8590
8591 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
8592
8593
8594 cat > confcache <<\EOF
8595 # This file is a shell script that caches the results of configure
8596 # tests run on this system so they can be shared between configure
8597 # scripts and configure runs. It is not useful on other systems.
8598 # If it contains results you don't want to keep, you may remove or edit it.
8599 #
8600 # By default, configure uses ./config.cache as the cache file,
8601 # creating it if it does not exist already. You can give configure
8602 # the --cache-file=FILE option to use a different cache file; that is
8603 # what configure does when it calls configure scripts in
8604 # subdirectories, so they share the cache.
8605 # Giving --cache-file=/dev/null disables caching, for debugging configure.
8606 # config.status only pays attention to the cache file if you give it the
8607 # --recheck option to rerun configure.
8608 #
8609 EOF
8610 # The following way of writing the cache mishandles newlines in values,
8611 # but we know of no workaround that is simple, portable, and efficient.
8612 # So, don't put newlines in cache variables' values.
8613 # Ultrix sh set writes to stderr and can't be redirected directly,
8614 # and sets the high bit in the cache file unless we assign to the vars.
8615 (set) 2>&1 |
8616 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8617 *ac_space=\ *)
8618 # `set' does not quote correctly, so add quotes (double-quote substitution
8619 # turns \\\\ into \\, and sed turns \\ into \).
8620 sed -n \
8621 -e "s/'/'\\\\''/g" \
8622 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8623 ;;
8624 *)
8625 # `set' quotes correctly as required by POSIX, so do not add quotes.
8626 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8627 ;;
8628 esac >> confcache
8629 if cmp -s $cache_file confcache; then
8630 :
8631 else
8632 if test -w $cache_file; then
8633 echo "updating cache $cache_file"
8634 cat confcache > $cache_file
8635 else
8636 echo "not updating unwritable cache $cache_file"
8637 fi
8638 fi
8639 rm -f confcache
8640
8641
8642
8643 AFMINSTALL=
8644
8645 if test "$wxUSE_GUI" = "yes"; then
8646 USE_GUI=1
8647
8648 TOOLKIT=
8649 TOOLKIT_INCLUDE=
8650
8651 GUI_TK_LIBRARY=
8652 GUI_TK_LINK=
8653
8654 WXGTK12=
8655 WXGTK127=
8656 WXGTK20=
8657
8658 WXWINE=
8659
8660 if test "$wxUSE_CYGWIN" = 1 || test "$wxUSE_MINGW" = 1 ; then
8661 ac_safe=`echo "windows.h" | sed 'y%./+-%__p_%'`
8662 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
8663 echo "configure:8664: checking for windows.h" >&5
8664 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8665 echo $ac_n "(cached) $ac_c" 1>&6
8666 else
8667 cat > conftest.$ac_ext <<EOF
8668 #line 8669 "configure"
8669 #include "confdefs.h"
8670 #include <windows.h>
8671 EOF
8672 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8673 { (eval echo configure:8674: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8674 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8675 if test -z "$ac_err"; then
8676 rm -rf conftest*
8677 eval "ac_cv_header_$ac_safe=yes"
8678 else
8679 echo "$ac_err" >&5
8680 echo "configure: failed program was:" >&5
8681 cat conftest.$ac_ext >&5
8682 rm -rf conftest*
8683 eval "ac_cv_header_$ac_safe=no"
8684 fi
8685 rm -f conftest*
8686 fi
8687 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8688 echo "$ac_t""yes" 1>&6
8689 :
8690 else
8691 echo "$ac_t""no" 1>&6
8692
8693 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
8694
8695 fi
8696
8697
8698 INCLUDE_SUBDIRS="$INCLUDE_SUBDIRS msw"
8699 LIBS="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -lcrtdll -ladvapi32 -lwsock32"
8700
8701 if test "$wxUSE_ODBC" = "yes" ; then
8702 LIBS="$LIBS -lodbc32 -lole32 -loleaut32"
8703 fi
8704
8705 if test "$wxUSE_MINGW" = 1; then
8706 LDFLAGS="$LDFLAGS -mwindows"
8707 fi
8708
8709 TOOLKIT=MSW
8710 GUIDIST=MSW_DIST
8711
8712 RCINCSWITCH="--include-dir"
8713 RCDEFSWITCH="--define"
8714 RCPREPROCESSOR="--preprocessor \"\$(CC) -c -E -xc-header -DRC_INVOKED\""
8715 RCINPUTSWITCH="-i"
8716 RCOUTPUTSWITCH="-o"
8717 RESFLAGS="$RCPREPROCESSOR $RCINCSWITCH \$(top_srcdir)/include $RCINCSWITCH \$(top_srcdir)/\$(program_dir) $RCDEFSWITCH __WIN32__ $RCDEFSWITCH __WIN95__ $RCDEFSWITCH __GNUWIN32__"
8718
8719 RESPROGRAM="\$(RES_PROGRAM)"
8720 fi
8721
8722 if test "$wxUSE_GTK" = 1; then
8723 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
8724 echo "configure:8725: checking for GTK+ version" >&5
8725
8726 gtk_version_cached=1
8727 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
8728 echo $ac_n "(cached) $ac_c" 1>&6
8729 else
8730
8731 gtk_version_cached=0
8732 echo "$ac_t""""" 1>&6
8733
8734 wx_cv_lib_gtk=
8735 if test "x$wxUSE_GTK2" = "xyes"; then
8736 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
8737 if test "${with_gtk_prefix+set}" = set; then
8738 withval="$with_gtk_prefix"
8739 gtk_config_prefix="$withval"
8740 else
8741 gtk_config_prefix=""
8742 fi
8743
8744 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
8745 if test "${with_gtk_exec_prefix+set}" = set; then
8746 withval="$with_gtk_exec_prefix"
8747 gtk_config_exec_prefix="$withval"
8748 else
8749 gtk_config_exec_prefix=""
8750 fi
8751
8752 # Check whether --enable-gtktest or --disable-gtktest was given.
8753 if test "${enable_gtktest+set}" = set; then
8754 enableval="$enable_gtktest"
8755 :
8756 else
8757 enable_gtktest=yes
8758 fi
8759
8760
8761 for module in .
8762 do
8763 case "$module" in
8764 gthread)
8765 gtk_config_args="$gtk_config_args gthread"
8766 ;;
8767 esac
8768 done
8769
8770 if test x$gtk_config_exec_prefix != x ; then
8771 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
8772 if test x${GTK_CONFIG_2_0+set} != xset ; then
8773 GTK_CONFIG_2_0=$gtk_config_exec_prefix/bin/gtk-config-2.0
8774 fi
8775 fi
8776 if test x$gtk_config_prefix != x ; then
8777 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
8778 if test x${GTK_CONFIG_2_0+set} != xset ; then
8779 GTK_CONFIG_2_0=$gtk_config_prefix/bin/gtk-config-2.0
8780 fi
8781 fi
8782
8783 # Extract the first word of "gtk-config-2.0", so it can be a program name with args.
8784 set dummy gtk-config-2.0; ac_word=$2
8785 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8786 echo "configure:8787: checking for $ac_word" >&5
8787 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG_2_0'+set}'`\" = set"; then
8788 echo $ac_n "(cached) $ac_c" 1>&6
8789 else
8790 case "$GTK_CONFIG_2_0" in
8791 /*)
8792 ac_cv_path_GTK_CONFIG_2_0="$GTK_CONFIG_2_0" # Let the user override the test with a path.
8793 ;;
8794 ?:/*)
8795 ac_cv_path_GTK_CONFIG_2_0="$GTK_CONFIG_2_0" # Let the user override the test with a dos path.
8796 ;;
8797 *)
8798 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8799 ac_dummy="$PATH"
8800 for ac_dir in $ac_dummy; do
8801 test -z "$ac_dir" && ac_dir=.
8802 if test -f $ac_dir/$ac_word; then
8803 ac_cv_path_GTK_CONFIG_2_0="$ac_dir/$ac_word"
8804 break
8805 fi
8806 done
8807 IFS="$ac_save_ifs"
8808 test -z "$ac_cv_path_GTK_CONFIG_2_0" && ac_cv_path_GTK_CONFIG_2_0="no"
8809 ;;
8810 esac
8811 fi
8812 GTK_CONFIG_2_0="$ac_cv_path_GTK_CONFIG_2_0"
8813 if test -n "$GTK_CONFIG_2_0"; then
8814 echo "$ac_t""$GTK_CONFIG_2_0" 1>&6
8815 else
8816 echo "$ac_t""no" 1>&6
8817 fi
8818
8819 min_gtk_version=1.3.1
8820 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
8821 echo "configure:8822: checking for GTK - version >= $min_gtk_version" >&5
8822 no_gtk=""
8823 if test "$GTK_CONFIG_2_0" = "no" ; then
8824 no_gtk=yes
8825 else
8826 GTK_CFLAGS=`$GTK_CONFIG_2_0 $gtk_config_args --cflags`
8827 GTK_LIBS=`$GTK_CONFIG_2_0 $gtk_config_args --libs`
8828 gtk_config_major_version=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
8829 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
8830 gtk_config_minor_version=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
8831 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
8832 gtk_config_micro_version=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
8833 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
8834 if test "x$enable_gtktest" = "xyes" ; then
8835 ac_save_CFLAGS="$CFLAGS"
8836 ac_save_LIBS="$LIBS"
8837 CFLAGS="$CFLAGS $GTK_CFLAGS"
8838 LIBS="$GTK_LIBS $LIBS"
8839 rm -f conf.gtktest
8840 if test "$cross_compiling" = yes; then
8841 echo $ac_n "cross compiling; assumed OK... $ac_c"
8842 else
8843 cat > conftest.$ac_ext <<EOF
8844 #line 8845 "configure"
8845 #include "confdefs.h"
8846
8847 #include <gtk/gtk.h>
8848 #include <stdio.h>
8849 #include <stdlib.h>
8850
8851 int
8852 main ()
8853 {
8854 int major, minor, micro;
8855 char *tmp_version;
8856
8857 system ("touch conf.gtktest");
8858
8859 /* HP/UX 9 (%@#!) writes to sscanf strings */
8860 tmp_version = g_strdup("$min_gtk_version");
8861 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
8862 printf("%s, bad version string\n", "$min_gtk_version");
8863 exit(1);
8864 }
8865
8866 if ((gtk_major_version != $gtk_config_major_version) ||
8867 (gtk_minor_version != $gtk_config_minor_version) ||
8868 (gtk_micro_version != $gtk_config_micro_version))
8869 {
8870 printf("\n*** 'gtk-config-2.0 --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
8871 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
8872 gtk_major_version, gtk_minor_version, gtk_micro_version);
8873 printf ("*** was found! If gtk-config-2.0 was correct, then it is best\n");
8874 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
8875 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
8876 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
8877 printf("*** required on your system.\n");
8878 printf("*** If gtk-config-2.0 was wrong, set the environment variable GTK_CONFIG_2_0\n");
8879 printf("*** to point to the correct copy of gtk-config-2.0, and remove the file config.cache\n");
8880 printf("*** before re-running configure\n");
8881 }
8882 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
8883 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
8884 (gtk_minor_version != GTK_MINOR_VERSION) ||
8885 (gtk_micro_version != GTK_MICRO_VERSION))
8886 {
8887 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
8888 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
8889 printf("*** library (version %d.%d.%d)\n",
8890 gtk_major_version, gtk_minor_version, gtk_micro_version);
8891 }
8892 #endif /* defined (GTK_MAJOR_VERSION) ... */
8893 else
8894 {
8895 if ((gtk_major_version > major) ||
8896 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
8897 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
8898 {
8899 return 0;
8900 }
8901 else
8902 {
8903 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
8904 gtk_major_version, gtk_minor_version, gtk_micro_version);
8905 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
8906 major, minor, micro);
8907 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
8908 printf("***\n");
8909 printf("*** If you have already installed a sufficiently new version, this error\n");
8910 printf("*** probably means that the wrong copy of the gtk-config-2.0 shell script is\n");
8911 printf("*** being found. The easiest way to fix this is to remove the old version\n");
8912 printf("*** of GTK+, but you can also set the GTK_CONFIG_2_0 environment to point to the\n");
8913 printf("*** correct copy of gtk-config-2.0. (In this case, you will have to\n");
8914 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
8915 printf("*** so that the correct libraries are found at run-time))\n");
8916 }
8917 }
8918 return 1;
8919 }
8920
8921 EOF
8922 if { (eval echo configure:8923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
8923 then
8924 :
8925 else
8926 echo "configure: failed program was:" >&5
8927 cat conftest.$ac_ext >&5
8928 rm -fr conftest*
8929 no_gtk=yes
8930 fi
8931 rm -fr conftest*
8932 fi
8933
8934 CFLAGS="$ac_save_CFLAGS"
8935 LIBS="$ac_save_LIBS"
8936 fi
8937 fi
8938 if test "x$no_gtk" = x ; then
8939 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
8940 wx_cv_lib_gtk=2.0
8941 else
8942 echo "$ac_t""no" 1>&6
8943 if test "$GTK_CONFIG_2_0" = "no" ; then
8944 echo "*** The gtk-config-2.0 script installed by GTK could not be found"
8945 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
8946 echo "*** your path, or set the GTK_CONFIG_2_0 environment variable to the"
8947 echo "*** full path to gtk-config-2.0."
8948 else
8949 if test -f conf.gtktest ; then
8950 :
8951 else
8952 echo "*** Could not run GTK test program, checking why..."
8953 CFLAGS="$CFLAGS $GTK_CFLAGS"
8954 LIBS="$LIBS $GTK_LIBS"
8955 cat > conftest.$ac_ext <<EOF
8956 #line 8957 "configure"
8957 #include "confdefs.h"
8958
8959 #include <gtk/gtk.h>
8960 #include <stdio.h>
8961
8962 int main() {
8963 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
8964 ; return 0; }
8965 EOF
8966 if { (eval echo configure:8967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8967 rm -rf conftest*
8968 echo "*** The test program compiled, but did not run. This usually means"
8969 echo "*** that the run-time linker is not finding GTK or finding the wrong"
8970 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
8971 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
8972 echo "*** to the installed location Also, make sure you have run ldconfig if that"
8973 echo "*** is required on your system"
8974 echo "***"
8975 echo "*** If you have an old version installed, it is best to remove it, although"
8976 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
8977 echo "***"
8978 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
8979 echo "*** came with the system with the command"
8980 echo "***"
8981 echo "*** rpm --erase --nodeps gtk gtk-devel"
8982 else
8983 echo "configure: failed program was:" >&5
8984 cat conftest.$ac_ext >&5
8985 rm -rf conftest*
8986 echo "*** The test program failed to compile or link. See the file config.log for the"
8987 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
8988 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
8989 echo "*** may want to edit the gtk-config-2.0 script: $GTK_CONFIG_2_0"
8990 fi
8991 rm -f conftest*
8992 CFLAGS="$ac_save_CFLAGS"
8993 LIBS="$ac_save_LIBS"
8994 fi
8995 fi
8996 GTK_CFLAGS=""
8997 GTK_LIBS=""
8998 gthread
8999 fi
9000
9001
9002 rm -f conf.gtktest
9003
9004 fi
9005
9006 if test -z "$wx_cv_lib_gtk"; then
9007
9008 if test x$gtk_config_exec_prefix != x ; then
9009 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
9010 if test x${GTK_CONFIG+set} != xset ; then
9011 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
9012 fi
9013 fi
9014 if test x$gtk_config_prefix != x ; then
9015 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
9016 if test x${GTK_CONFIG+set} != xset ; then
9017 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
9018 fi
9019 fi
9020
9021 # Extract the first word of "gtk-config", so it can be a program name with args.
9022 set dummy gtk-config; ac_word=$2
9023 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9024 echo "configure:9025: checking for $ac_word" >&5
9025 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
9026 echo $ac_n "(cached) $ac_c" 1>&6
9027 else
9028 case "$GTK_CONFIG" in
9029 /*)
9030 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
9031 ;;
9032 ?:/*)
9033 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a dos path.
9034 ;;
9035 *)
9036 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
9037 ac_dummy="$PATH"
9038 for ac_dir in $ac_dummy; do
9039 test -z "$ac_dir" && ac_dir=.
9040 if test -f $ac_dir/$ac_word; then
9041 ac_cv_path_GTK_CONFIG="$ac_dir/$ac_word"
9042 break
9043 fi
9044 done
9045 IFS="$ac_save_ifs"
9046 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
9047 ;;
9048 esac
9049 fi
9050 GTK_CONFIG="$ac_cv_path_GTK_CONFIG"
9051 if test -n "$GTK_CONFIG"; then
9052 echo "$ac_t""$GTK_CONFIG" 1>&6
9053 else
9054 echo "$ac_t""no" 1>&6
9055 fi
9056
9057 min_gtk_version=1.2.7
9058 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
9059 echo "configure:9060: checking for GTK - version >= $min_gtk_version" >&5
9060 no_gtk=""
9061 if test "$GTK_CONFIG" != "no" ; then
9062 GTK_CFLAGS=`$GTK_CONFIG --cflags`
9063 GTK_LIBS=`$GTK_CONFIG --libs gthread`
9064 ac_save_CFLAGS="$CFLAGS"
9065 ac_save_LIBS="$LIBS"
9066 CFLAGS="$CFLAGS $GTK_CFLAGS"
9067 LIBS="$LIBS $GTK_LIBS"
9068 if test "$cross_compiling" = yes; then
9069 echo $ac_n "cross compiling; assumed OK... $ac_c"
9070 else
9071 cat > conftest.$ac_ext <<EOF
9072 #line 9073 "configure"
9073 #include "confdefs.h"
9074
9075 #include <gtk/gtk.h>
9076 #include <gtk/gtkfeatures.h>
9077 #include <stdio.h>
9078 #include <stdlib.h>
9079
9080 int
9081 main ()
9082 {
9083 int major, minor, micro;
9084
9085 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, &micro) != 3) {
9086 printf("%s, bad version string\n", "$min_gtk_version");
9087 exit(1);
9088 }
9089
9090 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
9091 (GTK_MINOR_VERSION != gtk_minor_version) ||
9092 (GTK_MICRO_VERSION != gtk_micro_version)) {
9093 printf("Headers vs. library version mismatch!\n");
9094 exit(1);
9095 }
9096
9097 if (gtk_minor_version == 1) return FALSE;
9098
9099 return !((gtk_major_version > major) ||
9100 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
9101 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
9102 }
9103
9104 EOF
9105 if { (eval echo configure:9106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
9106 then
9107 :
9108 else
9109 echo "configure: failed program was:" >&5
9110 cat conftest.$ac_ext >&5
9111 rm -fr conftest*
9112 no_gtk=yes
9113 fi
9114 rm -fr conftest*
9115 fi
9116
9117 CFLAGS="$ac_save_CFLAGS"
9118 LIBS="$ac_save_LIBS"
9119 else
9120 no_gtk=yes
9121 fi
9122 if test "x$no_gtk" = x ; then
9123 echo "$ac_t""yes" 1>&6
9124 wx_cv_lib_gtk=1.2.7
9125 else
9126 echo "$ac_t""no" 1>&6
9127 GTK_CFLAGS=""
9128 GTK_LIBS=""
9129 :
9130 fi
9131
9132
9133
9134 fi
9135
9136 if test -z "$wx_cv_lib_gtk"; then
9137
9138 if test x$gtk_config_exec_prefix != x ; then
9139 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
9140 if test x${GTK_CONFIG+set} != xset ; then
9141 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
9142 fi
9143 fi
9144 if test x$gtk_config_prefix != x ; then
9145 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
9146 if test x${GTK_CONFIG+set} != xset ; then
9147 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
9148 fi
9149 fi
9150
9151 # Extract the first word of "gtk-config", so it can be a program name with args.
9152 set dummy gtk-config; ac_word=$2
9153 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9154 echo "configure:9155: checking for $ac_word" >&5
9155 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
9156 echo $ac_n "(cached) $ac_c" 1>&6
9157 else
9158 case "$GTK_CONFIG" in
9159 /*)
9160 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
9161 ;;
9162 ?:/*)
9163 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a dos path.
9164 ;;
9165 *)
9166 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
9167 ac_dummy="$PATH"
9168 for ac_dir in $ac_dummy; do
9169 test -z "$ac_dir" && ac_dir=.
9170 if test -f $ac_dir/$ac_word; then
9171 ac_cv_path_GTK_CONFIG="$ac_dir/$ac_word"
9172 break
9173 fi
9174 done
9175 IFS="$ac_save_ifs"
9176 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
9177 ;;
9178 esac
9179 fi
9180 GTK_CONFIG="$ac_cv_path_GTK_CONFIG"
9181 if test -n "$GTK_CONFIG"; then
9182 echo "$ac_t""$GTK_CONFIG" 1>&6
9183 else
9184 echo "$ac_t""no" 1>&6
9185 fi
9186
9187 min_gtk_version=1.2.3
9188 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
9189 echo "configure:9190: checking for GTK - version >= $min_gtk_version" >&5
9190 no_gtk=""
9191 if test "$GTK_CONFIG" != "no" ; then
9192 GTK_CFLAGS=`$GTK_CONFIG --cflags`
9193 GTK_LIBS=`$GTK_CONFIG --libs gthread`
9194 ac_save_CFLAGS="$CFLAGS"
9195 ac_save_LIBS="$LIBS"
9196 CFLAGS="$CFLAGS $GTK_CFLAGS"
9197 LIBS="$LIBS $GTK_LIBS"
9198 if test "$cross_compiling" = yes; then
9199 echo $ac_n "cross compiling; assumed OK... $ac_c"
9200 else
9201 cat > conftest.$ac_ext <<EOF
9202 #line 9203 "configure"
9203 #include "confdefs.h"
9204
9205 #include <gtk/gtk.h>
9206 #include <gtk/gtkfeatures.h>
9207 #include <stdio.h>
9208 #include <stdlib.h>
9209
9210 int
9211 main ()
9212 {
9213 int major, minor, micro;
9214
9215 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, &micro) != 3) {
9216 printf("%s, bad version string\n", "$min_gtk_version");
9217 exit(1);
9218 }
9219
9220 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
9221 (GTK_MINOR_VERSION != gtk_minor_version) ||
9222 (GTK_MICRO_VERSION != gtk_micro_version)) {
9223 printf("Headers vs. library version mismatch!\n");
9224 exit(1);
9225 }
9226
9227 if (gtk_minor_version == 1) return FALSE;
9228
9229 return !((gtk_major_version > major) ||
9230 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
9231 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
9232 }
9233
9234 EOF
9235 if { (eval echo configure:9236: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
9236 then
9237 :
9238 else
9239 echo "configure: failed program was:" >&5
9240 cat conftest.$ac_ext >&5
9241 rm -fr conftest*
9242 no_gtk=yes
9243 fi
9244 rm -fr conftest*
9245 fi
9246
9247 CFLAGS="$ac_save_CFLAGS"
9248 LIBS="$ac_save_LIBS"
9249 else
9250 no_gtk=yes
9251 fi
9252 if test "x$no_gtk" = x ; then
9253 echo "$ac_t""yes" 1>&6
9254 wx_cv_lib_gtk=1.2.3
9255 else
9256 echo "$ac_t""no" 1>&6
9257 GTK_CFLAGS=""
9258 GTK_LIBS=""
9259 :
9260 fi
9261
9262
9263
9264 fi
9265
9266 if test -z "$wx_cv_lib_gtk"; then
9267 wx_cv_lib_gtk=none
9268 else
9269 wx_cv_cflags_gtk=$GTK_CFLAGS
9270 wx_cv_libs_gtk=$GTK_LIBS
9271 fi
9272
9273
9274 fi
9275
9276
9277 if test "$gtk_version_cached" = 1; then
9278 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
9279 fi
9280
9281 case "$wx_cv_lib_gtk" in
9282 2.0) WXGTK20=1
9283 ;;
9284 1.2.7) WXGTK127=1
9285 WXGTK12=1
9286 ;;
9287 1.2.3) WXGTK12=1
9288 ;;
9289 *) { echo "configure: error:
9290 Please check that gtk-config is in path, the directory
9291 where GTK+ libraries are installed (returned by
9292 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
9293 equivalent variable and GTK+ is version 1.2.3 or above.
9294 " 1>&2; exit 1; }
9295 ;;
9296 esac
9297
9298 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
9299 GUI_TK_LIBRARY="$wx_cv_libs_gtk"
9300
9301 AFMINSTALL=afminstall
9302 TOOLKIT=GTK
9303 GUIDIST=GTK_DIST
9304
9305 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
9306 echo "configure:9307: checking for gdk_im_open in -lgdk" >&5
9307 ac_lib_var=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
9308 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9309 echo $ac_n "(cached) $ac_c" 1>&6
9310 else
9311 ac_save_LIBS="$LIBS"
9312 LIBS="-lgdk $LIBS"
9313 cat > conftest.$ac_ext <<EOF
9314 #line 9315 "configure"
9315 #include "confdefs.h"
9316 /* Override any gcc2 internal prototype to avoid an error. */
9317 /* We use char because int might match the return type of a gcc2
9318 builtin and then its argument prototype would still apply. */
9319 char gdk_im_open();
9320
9321 int main() {
9322 gdk_im_open()
9323 ; return 0; }
9324 EOF
9325 if { (eval echo configure:9326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9326 rm -rf conftest*
9327 eval "ac_cv_lib_$ac_lib_var=yes"
9328 else
9329 echo "configure: failed program was:" >&5
9330 cat conftest.$ac_ext >&5
9331 rm -rf conftest*
9332 eval "ac_cv_lib_$ac_lib_var=no"
9333 fi
9334 rm -f conftest*
9335 LIBS="$ac_save_LIBS"
9336
9337 fi
9338 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9339 echo "$ac_t""yes" 1>&6
9340 cat >> confdefs.h <<\EOF
9341 #define HAVE_XIM 1
9342 EOF
9343
9344 else
9345 echo "$ac_t""no" 1>&6
9346 fi
9347
9348 fi
9349
9350 if test "$wxUSE_MGL" = 1; then
9351
9352 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
9353 echo "configure:9354: checking for SciTech MGL library" >&5
9354 if test "x$MGL_ROOT" = x ; then
9355 echo "$ac_t""not found" 1>&6
9356 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
9357 else
9358 echo "$ac_t""$MGL_ROOT" 1>&6
9359 fi
9360
9361 MGL_OS=linux/gcc/glibc
9362 MGL_LIB_TYPE=""
9363
9364 if test "$wxUSE_DEBUG_FLAG" = yes ; then
9365 if test -f $MGL_ROOT/lib/debug/$MGL_OS/libmgl.a ; then
9366 MGL_LIB_TYPE=debug
9367 fi
9368 fi
9369 if test "x$MGL_LIB_TYPE" = x ; then
9370 if test -f $MGL_ROOT/lib/release/$MGL_OS/libmgl.a ; then
9371 MGL_LIB_TYPE=release
9372 else
9373 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
9374 fi
9375 fi
9376
9377 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
9378 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$MGL_LIB_TYPE/$MGL_OS -lmgl -lmglcpp -lpm"
9379
9380 AFMINSTALL=afminstall
9381 TOOLKIT=MGL
9382 GUIDIST=MGL_DIST
9383 fi
9384
9385 if test "$wxUSE_WINE" = 1; then
9386 echo $ac_n "checking for WINE includes""... $ac_c" 1>&6
9387 echo "configure:9388: checking for WINE includes" >&5
9388
9389 ac_find_includes=
9390 for ac_dir in $SEARCH_INCLUDE;
9391 do
9392 if test -f "$ac_dir/windows.h"; then
9393 ac_find_includes=$ac_dir
9394 break
9395 fi
9396 done
9397
9398 if test "$ac_find_includes" != "" ; then
9399 echo "$ac_t""found $ac_find_includes" 1>&6
9400 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE -I$ac_find_includes"
9401 else
9402 echo "$ac_t""no" 1>&6
9403 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
9404 fi
9405
9406 XPM_LINK=""
9407 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
9408 echo "configure:9409: checking for Xpm library" >&5
9409
9410 ac_find_libraries=
9411 for ac_dir in $SEARCH_LIB;
9412 do
9413 for ac_extension in a so sl; do
9414 if test -f "$ac_dir/libXpm.$ac_extension"; then
9415 ac_find_libraries=$ac_dir
9416 break 2
9417 fi
9418 done
9419 done
9420
9421 if test "$ac_find_libraries" != "" ; then
9422 GUI_TK_LIBRARY="-L$ac_find_libraries"
9423 XPM_LINK="-lXpm"
9424 cat >> confdefs.h <<\EOF
9425 #define wxHAVE_LIB_XPM 1
9426 EOF
9427
9428 echo "$ac_t""found at $ac_find_libraries" 1>&6
9429 else
9430 echo "$ac_t""no" 1>&6
9431 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
9432 fi
9433
9434 MESA_LINK=""
9435 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
9436 echo "configure:9437: checking for Mesa library" >&5
9437
9438 ac_find_libraries=
9439 for ac_dir in $SEARCH_LIB;
9440 do
9441 for ac_extension in a so sl; do
9442 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
9443 ac_find_libraries=$ac_dir
9444 break 2
9445 fi
9446 done
9447 done
9448
9449 if test "$ac_find_libraries" != "" ; then
9450 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -L$ac_find_libraries"
9451 MESA_LINK="-lMesaGL"
9452 echo "$ac_t""found at $ac_find_libraries" 1>&6
9453 else
9454 { echo "configure: error: no" 1>&2; exit 1; }
9455 fi
9456
9457 GUI_TK_LINK="-lwine $MESA_LINK $XPM_LINK -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
9458 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $GUI_TK_LINK"
9459 WXWINE=1
9460 TOOLKIT=MSW
9461 GUIDIST=MSW_DIST
9462 fi
9463
9464
9465 # If we find X, set shell vars x_includes and x_libraries to the
9466 # paths, otherwise set no_x=yes.
9467 # Uses ac_ vars as temps to allow command line to override cache and checks.
9468 # --without-x overrides everything else, but does not touch the cache.
9469 echo $ac_n "checking for X""... $ac_c" 1>&6
9470 echo "configure:9471: checking for X" >&5
9471
9472 # Check whether --with-x or --without-x was given.
9473 if test "${with_x+set}" = set; then
9474 withval="$with_x"
9475 :
9476 fi
9477
9478 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9479 if test "x$with_x" = xno; then
9480 # The user explicitly disabled X.
9481 have_x=disabled
9482 else
9483 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
9484 # Both variables are already set.
9485 have_x=yes
9486 else
9487 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
9488 echo $ac_n "(cached) $ac_c" 1>&6
9489 else
9490 # One or both of the vars are not set, and there is no cached value.
9491 ac_x_includes=NO ac_x_libraries=NO
9492 rm -fr conftestdir
9493 if mkdir conftestdir; then
9494 cd conftestdir
9495 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
9496 cat > Imakefile <<'EOF'
9497 acfindx:
9498 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
9499 EOF
9500 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
9501 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
9502 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
9503 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9504 for ac_extension in a so sl; do
9505 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
9506 test -f $ac_im_libdir/libX11.$ac_extension; then
9507 ac_im_usrlibdir=$ac_im_libdir; break
9508 fi
9509 done
9510 # Screen out bogus values from the imake configuration. They are
9511 # bogus both because they are the default anyway, and because
9512 # using them would break gcc on systems where it needs fixed includes.
9513 case "$ac_im_incroot" in
9514 /usr/include) ;;
9515 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes="$ac_im_incroot" ;;
9516 esac
9517 case "$ac_im_usrlibdir" in
9518 /usr/lib | /lib) ;;
9519 *) test -d "$ac_im_usrlibdir" && ac_x_libraries="$ac_im_usrlibdir" ;;
9520 esac
9521 fi
9522 cd ..
9523 rm -fr conftestdir
9524 fi
9525
9526 if test "$ac_x_includes" = NO; then
9527 # Guess where to find include files, by looking for this one X11 .h file.
9528 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h
9529
9530 # First, try using that file with no special directory specified.
9531 cat > conftest.$ac_ext <<EOF
9532 #line 9533 "configure"
9533 #include "confdefs.h"
9534 #include <$x_direct_test_include>
9535 EOF
9536 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9537 { (eval echo configure:9538: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9538 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9539 if test -z "$ac_err"; then
9540 rm -rf conftest*
9541 # We can compile using X headers with no special include directory.
9542 ac_x_includes=
9543 else
9544 echo "$ac_err" >&5
9545 echo "configure: failed program was:" >&5
9546 cat conftest.$ac_ext >&5
9547 rm -rf conftest*
9548 # Look for the header file in a standard set of common directories.
9549 # Check X11 before X11Rn because it is often a symlink to the current release.
9550 for ac_dir in \
9551 /usr/X11/include \
9552 /usr/X11R6/include \
9553 /usr/X11R5/include \
9554 /usr/X11R4/include \
9555 \
9556 /usr/include/X11 \
9557 /usr/include/X11R6 \
9558 /usr/include/X11R5 \
9559 /usr/include/X11R4 \
9560 \
9561 /usr/local/X11/include \
9562 /usr/local/X11R6/include \
9563 /usr/local/X11R5/include \
9564 /usr/local/X11R4/include \
9565 \
9566 /usr/local/include/X11 \
9567 /usr/local/include/X11R6 \
9568 /usr/local/include/X11R5 \
9569 /usr/local/include/X11R4 \
9570 \
9571 /usr/X386/include \
9572 /usr/x386/include \
9573 /usr/XFree86/include/X11 \
9574 \
9575 /usr/include \
9576 /usr/local/include \
9577 /usr/unsupported/include \
9578 /usr/athena/include \
9579 /usr/local/x11r5/include \
9580 /usr/lpp/Xamples/include \
9581 \
9582 /usr/openwin/include \
9583 /usr/openwin/share/include \
9584 ; \
9585 do
9586 if test -r "$ac_dir/$x_direct_test_include"; then
9587 ac_x_includes=$ac_dir
9588 break
9589 fi
9590 done
9591 fi
9592 rm -f conftest*
9593 fi # $ac_x_includes = NO
9594
9595 if test "$ac_x_libraries" = NO; then
9596 # Check for the libraries.
9597
9598 test -z "$x_direct_test_library" && x_direct_test_library=Xt
9599 test -z "$x_direct_test_function" && x_direct_test_function=XtMalloc
9600
9601 # See if we find them without any special options.
9602 # Don't add to $LIBS permanently.
9603 ac_save_LIBS="$LIBS"
9604 LIBS="-l$x_direct_test_library $LIBS"
9605 cat > conftest.$ac_ext <<EOF
9606 #line 9607 "configure"
9607 #include "confdefs.h"
9608
9609 int main() {
9610 ${x_direct_test_function}()
9611 ; return 0; }
9612 EOF
9613 if { (eval echo configure:9614: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9614 rm -rf conftest*
9615 LIBS="$ac_save_LIBS"
9616 # We can link X programs with no special library path.
9617 ac_x_libraries=
9618 else
9619 echo "configure: failed program was:" >&5
9620 cat conftest.$ac_ext >&5
9621 rm -rf conftest*
9622 LIBS="$ac_save_LIBS"
9623 # First see if replacing the include by lib works.
9624 # Check X11 before X11Rn because it is often a symlink to the current release.
9625 for ac_dir in `echo "$ac_x_includes" | sed s/include/lib/` \
9626 /usr/X11/lib \
9627 /usr/X11R6/lib \
9628 /usr/X11R5/lib \
9629 /usr/X11R4/lib \
9630 \
9631 /usr/lib/X11 \
9632 /usr/lib/X11R6 \
9633 /usr/lib/X11R5 \
9634 /usr/lib/X11R4 \
9635 \
9636 /usr/local/X11/lib \
9637 /usr/local/X11R6/lib \
9638 /usr/local/X11R5/lib \
9639 /usr/local/X11R4/lib \
9640 \
9641 /usr/local/lib/X11 \
9642 /usr/local/lib/X11R6 \
9643 /usr/local/lib/X11R5 \
9644 /usr/local/lib/X11R4 \
9645 \
9646 /usr/X386/lib \
9647 /usr/x386/lib \
9648 /usr/XFree86/lib/X11 \
9649 \
9650 /usr/lib \
9651 /usr/local/lib \
9652 /usr/unsupported/lib \
9653 /usr/athena/lib \
9654 /usr/local/x11r5/lib \
9655 /usr/lpp/Xamples/lib \
9656 /lib/usr/lib/X11 \
9657 \
9658 /usr/openwin/lib \
9659 /usr/openwin/share/lib \
9660 ; \
9661 do
9662 for ac_extension in a so sl; do
9663 if test -r $ac_dir/lib${x_direct_test_library}.$ac_extension; then
9664 ac_x_libraries=$ac_dir
9665 break 2
9666 fi
9667 done
9668 done
9669 fi
9670 rm -f conftest*
9671 fi # $ac_x_libraries = NO
9672
9673 if test "$ac_x_includes" = NO || test "$ac_x_libraries" = NO; then
9674 # Didn't find X anywhere. Cache the known absence of X.
9675 ac_cv_have_x="have_x=no"
9676 else
9677 # Record where we found X for the cache.
9678 ac_cv_have_x="have_x=yes \
9679 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
9680 fi
9681 fi
9682 fi
9683 eval "$ac_cv_have_x"
9684 fi # $with_x != no
9685
9686 if test "$have_x" != yes; then
9687 echo "$ac_t""$have_x" 1>&6
9688 no_x=yes
9689 else
9690 # If each of the values was on the command line, it overrides each guess.
9691 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9692 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9693 # Update the cache value to reflect the command line values.
9694 ac_cv_have_x="have_x=yes \
9695 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
9696 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
9697 fi
9698
9699 if test "$no_x" = yes; then
9700 # Not all programs may use this symbol, but it does not hurt to define it.
9701 cat >> confdefs.h <<\EOF
9702 #define X_DISPLAY_MISSING 1
9703 EOF
9704
9705 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9706 else
9707 if test -n "$x_includes"; then
9708 X_CFLAGS="$X_CFLAGS -I$x_includes"
9709 fi
9710
9711 # It would also be nice to do this for all -L options, not just this one.
9712 if test -n "$x_libraries"; then
9713 X_LIBS="$X_LIBS -L$x_libraries"
9714 # For Solaris; some versions of Sun CC require a space after -R and
9715 # others require no space. Words are not sufficient . . . .
9716 case "`(uname -sr) 2>/dev/null`" in
9717 "SunOS 5"*)
9718 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
9719 echo "configure:9720: checking whether -R must be followed by a space" >&5
9720 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries"
9721 cat > conftest.$ac_ext <<EOF
9722 #line 9723 "configure"
9723 #include "confdefs.h"
9724
9725 int main() {
9726
9727 ; return 0; }
9728 EOF
9729 if { (eval echo configure:9730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9730 rm -rf conftest*
9731 ac_R_nospace=yes
9732 else
9733 echo "configure: failed program was:" >&5
9734 cat conftest.$ac_ext >&5
9735 rm -rf conftest*
9736 ac_R_nospace=no
9737 fi
9738 rm -f conftest*
9739 if test $ac_R_nospace = yes; then
9740 echo "$ac_t""no" 1>&6
9741 X_LIBS="$X_LIBS -R$x_libraries"
9742 else
9743 LIBS="$ac_xsave_LIBS -R $x_libraries"
9744 cat > conftest.$ac_ext <<EOF
9745 #line 9746 "configure"
9746 #include "confdefs.h"
9747
9748 int main() {
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 ac_R_space=yes
9755 else
9756 echo "configure: failed program was:" >&5
9757 cat conftest.$ac_ext >&5
9758 rm -rf conftest*
9759 ac_R_space=no
9760 fi
9761 rm -f conftest*
9762 if test $ac_R_space = yes; then
9763 echo "$ac_t""yes" 1>&6
9764 X_LIBS="$X_LIBS -R $x_libraries"
9765 else
9766 echo "$ac_t""neither works" 1>&6
9767 fi
9768 fi
9769 LIBS="$ac_xsave_LIBS"
9770 esac
9771 fi
9772
9773 # Check for system-dependent libraries X programs must link with.
9774 # Do this before checking for the system-independent R6 libraries
9775 # (-lICE), since we may need -lsocket or whatever for X linking.
9776
9777 if test "$ISC" = yes; then
9778 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9779 else
9780 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
9781 # libraries were built with DECnet support. And karl@cs.umb.edu says
9782 # the Alpha needs dnet_stub (dnet does not exist).
9783 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
9784 echo "configure:9785: checking for dnet_ntoa in -ldnet" >&5
9785 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
9786 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9787 echo $ac_n "(cached) $ac_c" 1>&6
9788 else
9789 ac_save_LIBS="$LIBS"
9790 LIBS="-ldnet $LIBS"
9791 cat > conftest.$ac_ext <<EOF
9792 #line 9793 "configure"
9793 #include "confdefs.h"
9794 /* Override any gcc2 internal prototype to avoid an error. */
9795 /* We use char because int might match the return type of a gcc2
9796 builtin and then its argument prototype would still apply. */
9797 char dnet_ntoa();
9798
9799 int main() {
9800 dnet_ntoa()
9801 ; return 0; }
9802 EOF
9803 if { (eval echo configure:9804: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9804 rm -rf conftest*
9805 eval "ac_cv_lib_$ac_lib_var=yes"
9806 else
9807 echo "configure: failed program was:" >&5
9808 cat conftest.$ac_ext >&5
9809 rm -rf conftest*
9810 eval "ac_cv_lib_$ac_lib_var=no"
9811 fi
9812 rm -f conftest*
9813 LIBS="$ac_save_LIBS"
9814
9815 fi
9816 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9817 echo "$ac_t""yes" 1>&6
9818 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9819 else
9820 echo "$ac_t""no" 1>&6
9821 fi
9822
9823 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9824 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
9825 echo "configure:9826: checking for dnet_ntoa in -ldnet_stub" >&5
9826 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
9827 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9828 echo $ac_n "(cached) $ac_c" 1>&6
9829 else
9830 ac_save_LIBS="$LIBS"
9831 LIBS="-ldnet_stub $LIBS"
9832 cat > conftest.$ac_ext <<EOF
9833 #line 9834 "configure"
9834 #include "confdefs.h"
9835 /* Override any gcc2 internal prototype to avoid an error. */
9836 /* We use char because int might match the return type of a gcc2
9837 builtin and then its argument prototype would still apply. */
9838 char dnet_ntoa();
9839
9840 int main() {
9841 dnet_ntoa()
9842 ; return 0; }
9843 EOF
9844 if { (eval echo configure:9845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9845 rm -rf conftest*
9846 eval "ac_cv_lib_$ac_lib_var=yes"
9847 else
9848 echo "configure: failed program was:" >&5
9849 cat conftest.$ac_ext >&5
9850 rm -rf conftest*
9851 eval "ac_cv_lib_$ac_lib_var=no"
9852 fi
9853 rm -f conftest*
9854 LIBS="$ac_save_LIBS"
9855
9856 fi
9857 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9858 echo "$ac_t""yes" 1>&6
9859 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9860 else
9861 echo "$ac_t""no" 1>&6
9862 fi
9863
9864 fi
9865
9866 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9867 # to get the SysV transport functions.
9868 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
9869 # needs -lnsl.
9870 # The nsl library prevents programs from opening the X display
9871 # on Irix 5.2, according to dickey@clark.net.
9872 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
9873 echo "configure:9874: checking for gethostbyname" >&5
9874 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
9875 echo $ac_n "(cached) $ac_c" 1>&6
9876 else
9877 cat > conftest.$ac_ext <<EOF
9878 #line 9879 "configure"
9879 #include "confdefs.h"
9880 /* System header to define __stub macros and hopefully few prototypes,
9881 which can conflict with char gethostbyname(); below. */
9882 #include <assert.h>
9883 /* Override any gcc2 internal prototype to avoid an error. */
9884 /* We use char because int might match the return type of a gcc2
9885 builtin and then its argument prototype would still apply. */
9886 char gethostbyname();
9887
9888 int main() {
9889
9890 /* The GNU C library defines this for functions which it implements
9891 to always fail with ENOSYS. Some functions are actually named
9892 something starting with __ and the normal name is an alias. */
9893 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
9894 choke me
9895 #else
9896 gethostbyname();
9897 #endif
9898
9899 ; return 0; }
9900 EOF
9901 if { (eval echo configure:9902: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9902 rm -rf conftest*
9903 eval "ac_cv_func_gethostbyname=yes"
9904 else
9905 echo "configure: failed program was:" >&5
9906 cat conftest.$ac_ext >&5
9907 rm -rf conftest*
9908 eval "ac_cv_func_gethostbyname=no"
9909 fi
9910 rm -f conftest*
9911 fi
9912
9913 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
9914 echo "$ac_t""yes" 1>&6
9915 :
9916 else
9917 echo "$ac_t""no" 1>&6
9918 fi
9919
9920 if test $ac_cv_func_gethostbyname = no; then
9921 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
9922 echo "configure:9923: checking for gethostbyname in -lnsl" >&5
9923 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
9924 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9925 echo $ac_n "(cached) $ac_c" 1>&6
9926 else
9927 ac_save_LIBS="$LIBS"
9928 LIBS="-lnsl $LIBS"
9929 cat > conftest.$ac_ext <<EOF
9930 #line 9931 "configure"
9931 #include "confdefs.h"
9932 /* Override any gcc2 internal prototype to avoid an error. */
9933 /* We use char because int might match the return type of a gcc2
9934 builtin and then its argument prototype would still apply. */
9935 char gethostbyname();
9936
9937 int main() {
9938 gethostbyname()
9939 ; return 0; }
9940 EOF
9941 if { (eval echo configure:9942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9942 rm -rf conftest*
9943 eval "ac_cv_lib_$ac_lib_var=yes"
9944 else
9945 echo "configure: failed program was:" >&5
9946 cat conftest.$ac_ext >&5
9947 rm -rf conftest*
9948 eval "ac_cv_lib_$ac_lib_var=no"
9949 fi
9950 rm -f conftest*
9951 LIBS="$ac_save_LIBS"
9952
9953 fi
9954 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9955 echo "$ac_t""yes" 1>&6
9956 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9957 else
9958 echo "$ac_t""no" 1>&6
9959 fi
9960
9961 fi
9962
9963 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9964 # socket/setsockopt and other routines are undefined under SCO ODT
9965 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9966 # on later versions), says simon@lia.di.epfl.ch: it contains
9967 # gethostby* variants that don't use the nameserver (or something).
9968 # -lsocket must be given before -lnsl if both are needed.
9969 # We assume that if connect needs -lnsl, so does gethostbyname.
9970 echo $ac_n "checking for connect""... $ac_c" 1>&6
9971 echo "configure:9972: checking for connect" >&5
9972 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
9973 echo $ac_n "(cached) $ac_c" 1>&6
9974 else
9975 cat > conftest.$ac_ext <<EOF
9976 #line 9977 "configure"
9977 #include "confdefs.h"
9978 /* System header to define __stub macros and hopefully few prototypes,
9979 which can conflict with char connect(); below. */
9980 #include <assert.h>
9981 /* Override any gcc2 internal prototype to avoid an error. */
9982 /* We use char because int might match the return type of a gcc2
9983 builtin and then its argument prototype would still apply. */
9984 char connect();
9985
9986 int main() {
9987
9988 /* The GNU C library defines this for functions which it implements
9989 to always fail with ENOSYS. Some functions are actually named
9990 something starting with __ and the normal name is an alias. */
9991 #if defined (__stub_connect) || defined (__stub___connect)
9992 choke me
9993 #else
9994 connect();
9995 #endif
9996
9997 ; return 0; }
9998 EOF
9999 if { (eval echo configure:10000: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10000 rm -rf conftest*
10001 eval "ac_cv_func_connect=yes"
10002 else
10003 echo "configure: failed program was:" >&5
10004 cat conftest.$ac_ext >&5
10005 rm -rf conftest*
10006 eval "ac_cv_func_connect=no"
10007 fi
10008 rm -f conftest*
10009 fi
10010
10011 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
10012 echo "$ac_t""yes" 1>&6
10013 :
10014 else
10015 echo "$ac_t""no" 1>&6
10016 fi
10017
10018 if test $ac_cv_func_connect = no; then
10019 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
10020 echo "configure:10021: checking for connect in -lsocket" >&5
10021 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'`
10022 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10023 echo $ac_n "(cached) $ac_c" 1>&6
10024 else
10025 ac_save_LIBS="$LIBS"
10026 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
10027 cat > conftest.$ac_ext <<EOF
10028 #line 10029 "configure"
10029 #include "confdefs.h"
10030 /* Override any gcc2 internal prototype to avoid an error. */
10031 /* We use char because int might match the return type of a gcc2
10032 builtin and then its argument prototype would still apply. */
10033 char connect();
10034
10035 int main() {
10036 connect()
10037 ; return 0; }
10038 EOF
10039 if { (eval echo configure:10040: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10040 rm -rf conftest*
10041 eval "ac_cv_lib_$ac_lib_var=yes"
10042 else
10043 echo "configure: failed program was:" >&5
10044 cat conftest.$ac_ext >&5
10045 rm -rf conftest*
10046 eval "ac_cv_lib_$ac_lib_var=no"
10047 fi
10048 rm -f conftest*
10049 LIBS="$ac_save_LIBS"
10050
10051 fi
10052 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10053 echo "$ac_t""yes" 1>&6
10054 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
10055 else
10056 echo "$ac_t""no" 1>&6
10057 fi
10058
10059 fi
10060
10061 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
10062 echo $ac_n "checking for remove""... $ac_c" 1>&6
10063 echo "configure:10064: checking for remove" >&5
10064 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
10065 echo $ac_n "(cached) $ac_c" 1>&6
10066 else
10067 cat > conftest.$ac_ext <<EOF
10068 #line 10069 "configure"
10069 #include "confdefs.h"
10070 /* System header to define __stub macros and hopefully few prototypes,
10071 which can conflict with char remove(); below. */
10072 #include <assert.h>
10073 /* Override any gcc2 internal prototype to avoid an error. */
10074 /* We use char because int might match the return type of a gcc2
10075 builtin and then its argument prototype would still apply. */
10076 char remove();
10077
10078 int main() {
10079
10080 /* The GNU C library defines this for functions which it implements
10081 to always fail with ENOSYS. Some functions are actually named
10082 something starting with __ and the normal name is an alias. */
10083 #if defined (__stub_remove) || defined (__stub___remove)
10084 choke me
10085 #else
10086 remove();
10087 #endif
10088
10089 ; return 0; }
10090 EOF
10091 if { (eval echo configure:10092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10092 rm -rf conftest*
10093 eval "ac_cv_func_remove=yes"
10094 else
10095 echo "configure: failed program was:" >&5
10096 cat conftest.$ac_ext >&5
10097 rm -rf conftest*
10098 eval "ac_cv_func_remove=no"
10099 fi
10100 rm -f conftest*
10101 fi
10102
10103 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
10104 echo "$ac_t""yes" 1>&6
10105 :
10106 else
10107 echo "$ac_t""no" 1>&6
10108 fi
10109
10110 if test $ac_cv_func_remove = no; then
10111 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
10112 echo "configure:10113: checking for remove in -lposix" >&5
10113 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'`
10114 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10115 echo $ac_n "(cached) $ac_c" 1>&6
10116 else
10117 ac_save_LIBS="$LIBS"
10118 LIBS="-lposix $LIBS"
10119 cat > conftest.$ac_ext <<EOF
10120 #line 10121 "configure"
10121 #include "confdefs.h"
10122 /* Override any gcc2 internal prototype to avoid an error. */
10123 /* We use char because int might match the return type of a gcc2
10124 builtin and then its argument prototype would still apply. */
10125 char remove();
10126
10127 int main() {
10128 remove()
10129 ; return 0; }
10130 EOF
10131 if { (eval echo configure:10132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10132 rm -rf conftest*
10133 eval "ac_cv_lib_$ac_lib_var=yes"
10134 else
10135 echo "configure: failed program was:" >&5
10136 cat conftest.$ac_ext >&5
10137 rm -rf conftest*
10138 eval "ac_cv_lib_$ac_lib_var=no"
10139 fi
10140 rm -f conftest*
10141 LIBS="$ac_save_LIBS"
10142
10143 fi
10144 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10145 echo "$ac_t""yes" 1>&6
10146 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
10147 else
10148 echo "$ac_t""no" 1>&6
10149 fi
10150
10151 fi
10152
10153 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
10154 echo $ac_n "checking for shmat""... $ac_c" 1>&6
10155 echo "configure:10156: checking for shmat" >&5
10156 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
10157 echo $ac_n "(cached) $ac_c" 1>&6
10158 else
10159 cat > conftest.$ac_ext <<EOF
10160 #line 10161 "configure"
10161 #include "confdefs.h"
10162 /* System header to define __stub macros and hopefully few prototypes,
10163 which can conflict with char shmat(); below. */
10164 #include <assert.h>
10165 /* Override any gcc2 internal prototype to avoid an error. */
10166 /* We use char because int might match the return type of a gcc2
10167 builtin and then its argument prototype would still apply. */
10168 char shmat();
10169
10170 int main() {
10171
10172 /* The GNU C library defines this for functions which it implements
10173 to always fail with ENOSYS. Some functions are actually named
10174 something starting with __ and the normal name is an alias. */
10175 #if defined (__stub_shmat) || defined (__stub___shmat)
10176 choke me
10177 #else
10178 shmat();
10179 #endif
10180
10181 ; return 0; }
10182 EOF
10183 if { (eval echo configure:10184: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10184 rm -rf conftest*
10185 eval "ac_cv_func_shmat=yes"
10186 else
10187 echo "configure: failed program was:" >&5
10188 cat conftest.$ac_ext >&5
10189 rm -rf conftest*
10190 eval "ac_cv_func_shmat=no"
10191 fi
10192 rm -f conftest*
10193 fi
10194
10195 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
10196 echo "$ac_t""yes" 1>&6
10197 :
10198 else
10199 echo "$ac_t""no" 1>&6
10200 fi
10201
10202 if test $ac_cv_func_shmat = no; then
10203 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
10204 echo "configure:10205: checking for shmat in -lipc" >&5
10205 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
10206 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10207 echo $ac_n "(cached) $ac_c" 1>&6
10208 else
10209 ac_save_LIBS="$LIBS"
10210 LIBS="-lipc $LIBS"
10211 cat > conftest.$ac_ext <<EOF
10212 #line 10213 "configure"
10213 #include "confdefs.h"
10214 /* Override any gcc2 internal prototype to avoid an error. */
10215 /* We use char because int might match the return type of a gcc2
10216 builtin and then its argument prototype would still apply. */
10217 char shmat();
10218
10219 int main() {
10220 shmat()
10221 ; return 0; }
10222 EOF
10223 if { (eval echo configure:10224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10224 rm -rf conftest*
10225 eval "ac_cv_lib_$ac_lib_var=yes"
10226 else
10227 echo "configure: failed program was:" >&5
10228 cat conftest.$ac_ext >&5
10229 rm -rf conftest*
10230 eval "ac_cv_lib_$ac_lib_var=no"
10231 fi
10232 rm -f conftest*
10233 LIBS="$ac_save_LIBS"
10234
10235 fi
10236 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10237 echo "$ac_t""yes" 1>&6
10238 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
10239 else
10240 echo "$ac_t""no" 1>&6
10241 fi
10242
10243 fi
10244 fi
10245
10246 # Check for libraries that X11R6 Xt/Xaw programs need.
10247 ac_save_LDFLAGS="$LDFLAGS"
10248 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
10249 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
10250 # check for ICE first), but we must link in the order -lSM -lICE or
10251 # we get undefined symbols. So assume we have SM if we have ICE.
10252 # These have to be linked with before -lX11, unlike the other
10253 # libraries we check for below, so use a different variable.
10254 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
10255 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
10256 echo "configure:10257: checking for IceConnectionNumber in -lICE" >&5
10257 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
10258 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10259 echo $ac_n "(cached) $ac_c" 1>&6
10260 else
10261 ac_save_LIBS="$LIBS"
10262 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
10263 cat > conftest.$ac_ext <<EOF
10264 #line 10265 "configure"
10265 #include "confdefs.h"
10266 /* Override any gcc2 internal prototype to avoid an error. */
10267 /* We use char because int might match the return type of a gcc2
10268 builtin and then its argument prototype would still apply. */
10269 char IceConnectionNumber();
10270
10271 int main() {
10272 IceConnectionNumber()
10273 ; return 0; }
10274 EOF
10275 if { (eval echo configure:10276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10276 rm -rf conftest*
10277 eval "ac_cv_lib_$ac_lib_var=yes"
10278 else
10279 echo "configure: failed program was:" >&5
10280 cat conftest.$ac_ext >&5
10281 rm -rf conftest*
10282 eval "ac_cv_lib_$ac_lib_var=no"
10283 fi
10284 rm -f conftest*
10285 LIBS="$ac_save_LIBS"
10286
10287 fi
10288 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10289 echo "$ac_t""yes" 1>&6
10290 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
10291 else
10292 echo "$ac_t""no" 1>&6
10293 fi
10294
10295 LDFLAGS="$ac_save_LDFLAGS"
10296
10297 fi
10298
10299 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
10300 LDFLAGS="$LDFLAGS $X_LIBS"
10301
10302 if test "$wxUSE_MOTIF" = 1; then
10303 if test "$no_x" = "yes"; then
10304 { echo "configure: error: X11 not found" 1>&2; exit 1; }
10305 fi
10306
10307 GUI_TK_LIBRARY="$X_LIBS"
10308 TOOLKIT_INCLUDE="$X_CFLAGS"
10309
10310 AFMINSTALL=afminstall
10311
10312
10313 COMPILED_X_PROGRAM=0
10314
10315 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
10316 echo "configure:10317: checking for Motif/Lesstif headers" >&5
10317
10318 ac_find_includes=
10319 for ac_dir in $SEARCH_INCLUDE;
10320 do
10321 if test -f "$ac_dir/Xm/Xm.h"; then
10322 ac_find_includes=$ac_dir
10323 break
10324 fi
10325 done
10326
10327 if test "$ac_find_includes" != "" ; then
10328 echo "$ac_t""found $ac_find_includes" 1>&6
10329 else
10330 cat > conftest.$ac_ext <<EOF
10331 #line 10332 "configure"
10332 #include "confdefs.h"
10333
10334 #include <Xm/Xm.h>
10335
10336 int main() {
10337
10338 int version;
10339
10340 version = xmUseVersion;
10341
10342 ; return 0; }
10343 EOF
10344 if { (eval echo configure:10345: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10345 rm -rf conftest*
10346
10347 echo "$ac_t""found in default search path" 1>&6
10348 COMPILED_X_PROGRAM=1
10349
10350 else
10351 echo "configure: failed program was:" >&5
10352 cat conftest.$ac_ext >&5
10353 rm -rf conftest*
10354
10355 echo "$ac_t""no" 1>&6
10356 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
10357
10358
10359 fi
10360 rm -f conftest*
10361 fi
10362
10363 if test "$COMPILED_X_PROGRAM" = 0; then
10364 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
10365 echo "configure:10366: checking for Motif/Lesstif library" >&5
10366
10367 ac_find_libraries=
10368 for ac_dir in $SEARCH_LIB;
10369 do
10370 for ac_extension in a so sl; do
10371 if test -f "$ac_dir/libXm.$ac_extension"; then
10372 ac_find_libraries=$ac_dir
10373 break 2
10374 fi
10375 done
10376 done
10377
10378 if test "$ac_find_libraries" != "" ; then
10379
10380 ac_path_to_include=$ac_find_includes
10381 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
10382 result=$?
10383 if test $result = 0; then
10384 ac_path_to_include=""
10385 else
10386 ac_path_to_include="-I$ac_find_includes"
10387 fi
10388
10389
10390 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
10391 result=$?
10392 if test $result = 0; then
10393 ac_path_to_link=""
10394 else
10395 ac_path_to_link="-L$ac_find_libraries"
10396 fi
10397
10398
10399 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $ac_path_to_link"
10400 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE $ac_path_to_include"
10401 echo "$ac_t""found at $ac_find_libraries" 1>&6
10402 else
10403 cat > conftest.$ac_ext <<EOF
10404 #line 10405 "configure"
10405 #include "confdefs.h"
10406
10407 #include <Xm/Xm.h>
10408
10409 int main() {
10410
10411 int version;
10412
10413 version = xmUseVersion;
10414
10415 ; return 0; }
10416 EOF
10417 if { (eval echo configure:10418: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10418 rm -rf conftest*
10419
10420 echo "$ac_t""found in default search path" 1>&6
10421 COMPILED_X_PROGRAM=1
10422
10423 else
10424 echo "configure: failed program was:" >&5
10425 cat conftest.$ac_ext >&5
10426 rm -rf conftest*
10427
10428 echo "$ac_t""no" 1>&6
10429 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
10430
10431
10432 fi
10433 rm -f conftest*
10434 fi
10435 fi
10436
10437
10438 XPM_LINK=""
10439 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
10440 echo "configure:10441: checking for Xpm library" >&5
10441
10442 ac_find_libraries=
10443 for ac_dir in $SEARCH_LIB;
10444 do
10445 for ac_extension in a so sl; do
10446 if test -f "$ac_dir/libXpm.$ac_extension"; then
10447 ac_find_libraries=$ac_dir
10448 break 2
10449 fi
10450 done
10451 done
10452
10453 if test "$ac_find_libraries" != "" ; then
10454
10455 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
10456 result=$?
10457 if test $result = 0; then
10458 ac_path_to_link=""
10459 else
10460 ac_path_to_link="-L$ac_find_libraries"
10461 fi
10462
10463 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $ac_path_to_link"
10464 XPM_LINK="-lXpm "
10465 cat >> confdefs.h <<\EOF
10466 #define wxHAVE_LIB_XPM 1
10467 EOF
10468
10469 echo "$ac_t""found at $ac_find_libraries" 1>&6
10470 else
10471 cat > conftest.$ac_ext <<EOF
10472 #line 10473 "configure"
10473 #include "confdefs.h"
10474
10475 #include <X11/xpm.h>
10476
10477 int main() {
10478
10479 int version;
10480
10481 version = XpmLibraryVersion();
10482
10483 ; return 0; }
10484 EOF
10485 if { (eval echo configure:10486: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10486 rm -rf conftest*
10487
10488 XPM_LINK="-lXpm "
10489 cat >> confdefs.h <<\EOF
10490 #define wxHAVE_LIB_XPM 1
10491 EOF
10492
10493 echo "$ac_t""found in default search path" 1>&6
10494 COMPILED_X_PROGRAM=0
10495
10496 else
10497 echo "configure: failed program was:" >&5
10498 cat conftest.$ac_ext >&5
10499 rm -rf conftest*
10500
10501 echo "$ac_t""no" 1>&6
10502 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
10503
10504
10505 fi
10506 rm -f conftest*
10507 fi
10508
10509 GUI_TK_LINK="-lXm $XPM_LINK -lXmu -lXext -lXt -lX11"
10510 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $GUI_TK_LINK"
10511 TOOLKIT=MOTIF
10512 GUIDIST=MOTIF_DIST
10513 fi
10514
10515 if test "$wxUSE_MAC" = 1; then
10516 TOOLKIT=MAC
10517 GUIDIST=MACX_DIST
10518 fi
10519
10520 if test "$wxUSE_PM" = 1; then
10521 TOOLKIT=PM
10522 GUIDIST=GTK_DIST
10523 fi
10524
10525 if test "$TOOLKIT" != "PM" ; then
10526 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
10527 else
10528 TOOLKIT_DIR="os2"
10529 fi
10530
10531 TOOLKIT_NAME="${TOOLKIT_DIR}"
10532
10533 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}"
10534
10535 if test "$TOOLKIT_NAME" = "motif"; then
10536 TOOLKIT_VPATH="${TOOLKIT_VPATH}${PATH_IFS}\${top_srcdir}/src/motif/xmcombo"
10537 fi
10538
10539 if test "$wxUSE_UNIVERSAL" = "yes"; then
10540 TOOLKIT_NAME="${TOOLKIT_NAME}univ"
10541 UNIV_VPATH="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
10542 TOOLKIT_VPATH="${UNIV_VPATH}${PATH_IFS}${TOOLKIT_VPATH}"
10543 SETUPH_DIR="univ"
10544 else
10545 SETUPH_DIR="${TOOLKIT_DIR}"
10546 fi
10547
10548 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
10549 TOOLKIT_NAME="${TOOLKIT_NAME}d"
10550 fi
10551
10552 TOOLKIT_DEF="-D__WX${TOOLKIT}__"
10553 if test "$wxUSE_UNIVERSAL" = "yes"; then
10554 TOOLKIT_DEF="${TOOLKIT_DEF} -D__WXUNIVERSAL__"
10555 fi
10556
10557 WX_LIBRARY="wx_${TOOLKIT_NAME}"
10558
10559 if test "$wxUSE_UNIVERSAL" = "yes"; then
10560 ALL_OBJECTS="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
10561 else
10562 ALL_OBJECTS="\$(GUIOBJS)"
10563 fi
10564
10565 ALL_OBJECTS="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
10566
10567 if test "$TOOLKIT" != "MSW"; then
10568 ALL_OBJECTS="${ALL_OBJECTS} \$(UNIXOBJS)"
10569 fi
10570
10571 if test "$wxUSE_HTML" = "yes"; then
10572 ALL_OBJECTS="${ALL_OBJECTS} \$(HTMLOBJS)"
10573 fi
10574
10575 if test "$TOOLKIT" != "MSW"; then
10576 if test "$wxUSE_ODBC" = "yes" ; then
10577 ALL_OBJECTS="${ALL_OBJECTS} \$(IODBCOBJS)"
10578 fi
10579 fi
10580
10581 if test "$wxUSE_LIBJPEG" = "yes" ; then
10582 ALL_OBJECTS="${ALL_OBJECTS} \$(JPEGOBJS)"
10583 fi
10584 if test "$wxUSE_LIBTIFF" = "yes" ; then
10585 ALL_OBJECTS="${ALL_OBJECTS} \$(TIFFOBJS)"
10586 fi
10587 if test "$wxUSE_LIBPNG" = "yes" ; then
10588 ALL_OBJECTS="${ALL_OBJECTS} \$(PNGOBJS)"
10589 fi
10590 if test "$wxUSE_ZLIB" = "yes" ; then
10591 ALL_OBJECTS="${ALL_OBJECTS} \$(ZLIBOBJS)"
10592 fi
10593 if test "$wxUSE_FREETYPE" = "yes" ; then
10594 ALL_OBJECTS="${ALL_OBJECTS} \$(FREETYPEOBJS)"
10595 fi
10596
10597 if test "$wxUSE_UNIVERSAL" = "yes"; then
10598 ALL_DEPFILES="\$(GUI_LOWLEVEL_DEPS) \$(UNIVDEPS)"
10599 else
10600 ALL_DEPFILES="\$(GUIDEPS)"
10601 fi
10602
10603 ALL_DEPFILES="${ALL_DEPFILES} \$(COMMONDEPS) \$(GENERICDEPS)"
10604
10605 if test "$TOOLKIT" != "MSW"; then
10606 ALL_DEPFILES="${ALL_DEPFILES} \$(UNIXDEPS)"
10607 fi
10608
10609 if test "$wxUSE_HTML" = "yes"; then
10610 ALL_DEPFILES="${ALL_DEPFILES} \$(HTMLDEPS)"
10611 fi
10612
10613 PORT_FILES="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
10614 if test "$wxUSE_UNIVERSAL" = "yes"; then
10615 PORT_FILES="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
10616 fi
10617 RPM_FILES="src/\$(TOOLKITDIR)/rpmfiles.lst"
10618 RPM_SPEC="wx\$(TOOLKIT).spec"
10619
10620 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
10621 DISTDIR="wx\$(TOOLKIT)"
10622 else
10623 USE_GUI=0
10624
10625 TOOLKIT_DIR="base"
10626
10627 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
10628 TOOLKIT_NAME="${TOOLKIT_DIR}d"
10629 else
10630 TOOLKIT_NAME="${TOOLKIT_DIR}"
10631 fi
10632
10633 TOOLKIT_DEF="-D__WXBASE__"
10634
10635 ALL_OBJECTS="\$(BASE_OBJS) \$(BASE_UNIX_OBJS)"
10636 ALL_DEPFILES="\$(BASE_DEPS) \$(BASE_UNIX_DEPS)"
10637
10638 if test "$wxUSE_ZLIB" = "yes" ; then
10639 ALL_OBJECTS="${ALL_OBJECTS} \$(ZLIBOBJS)"
10640 fi
10641
10642 WX_LIBRARY="wx_${TOOLKIT_NAME}"
10643
10644 PORT_FILES="src/files.lst"
10645 RPM_FILES="src/rpmfiles.lst"
10646 RPM_SPEC="wxBase.spec"
10647
10648 GUIDIST="BASE_DIST"
10649 DISTDIR="wxBase"
10650 fi
10651
10652 WX_LIBRARY_NAME="lib${WX_LIBRARY}.la"
10653 WX_LIBRARY_NAME_GL="lib${WX_LIBRARY}_gl.la"
10654
10655 WX_LIBRARY_NAME_STATIC="lib${WX_LIBRARY}.a"
10656 WX_LIBRARY_NAME_STATIC_GL="lib${WX_LIBRARY}_gl.a"
10657
10658 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
10659 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
10660
10661 WX_LIBRARY_LINK1="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}"
10662 WX_LIBRARY_LINK2="lib${WX_LIBRARY}-${WX_RELEASE}.so"
10663 WX_LIBRARY_LINK3="lib${WX_LIBRARY}.so"
10664 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so.${WX_CURRENT}"
10665 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so"
10666 WX_LIBRARY_LINK3_GL="lib${WX_LIBRARY}_gl.so"
10667
10668 SHARED_LD=
10669 PIC_FLAG=
10670 WX_ALL=
10671 WX_ALL_INSTALLED=
10672 BURNT_LIBRARY_NAME=
10673 WX_TARGET_LIBRARY_SONAME=
10674
10675
10676 if test "$wxUSE_SHARED" = "yes"; then
10677 case "${host}" in
10678 *-hp-hpux* )
10679 if test "$GCC" = yes ; then
10680 SHARED_LD="${CC} -shared -fPIC -o"
10681 PIC_FLAG="-fPIC"
10682 else
10683 LDFLAGS="-L/usr/lib"
10684
10685 SHARED_LD="${CXX} -b -o"
10686 PIC_FLAG="+Z"
10687 fi
10688 WX_LIBRARY_NAME_SHARED="libwx_${TOOLKIT_NAME}.sl"
10689 WX_LIBRARY_NAME_SHARED_GL="libwx_${TOOLKIT_NAME}_gl.sl"
10690 if test "$wxUSE_OPENGL" = "yes"; then
10691 WX_ALL_INSTALLED="preinstall_gl"
10692 WX_ALL="${WX_LIBRARY_NAME_SHARED} ${WX_LIBRARY_NAME_SHARED_GL}"
10693 else
10694 WX_ALL="${WX_LIBRARY_NAME_SHARED}"
10695 fi
10696 ;;
10697
10698 *-*-linux* )
10699 SHARED_LD="${CC} -shared -o"
10700 PIC_FLAG="-fPIC"
10701 if test "$wxUSE_BURNT_NAME" = "yes" ; then
10702 BURNT_LIBRARY_NAME="-Wl,-soname,${WX_LIBRARY_LINK1}"
10703 BURNT_LIBRARY_NAME_GL="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
10704 WX_TARGET_LIBRARY_SONAME="-Wl,-soname,\$(TARGETLIB_LINK1)"
10705 fi
10706 if test "$wxUSE_OPENGL" = "yes"; then
10707 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
10708 WX_ALL="CREATE_LINKS CREATE_LINKS_GL"
10709 else
10710 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS"
10711 WX_ALL="CREATE_LINKS"
10712 fi
10713 ;;
10714 *-*-irix5* | *-*-irix6* )
10715 if test "$GCC" = yes ; then
10716 SHARED_LD="${CC} -shared -o"
10717 PIC_FLAG="-fPIC"
10718 else
10719 SHARED_LD="${CXX} -shared -o"
10720 fi
10721 if test "$wxUSE_OPENGL" = "yes"; then
10722 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
10723 WX_ALL="CREATE_LINKS CREATE_LINKS_GL"
10724 else
10725 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS"
10726 WX_ALL="CREATE_LINKS"
10727 fi
10728 ;;
10729 *-*-solaris2* )
10730 if test "$GCC" = yes ; then
10731 SHARED_LD="${CC} -shared -o"
10732 PIC_FLAG="-fPIC"
10733
10734 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
10735 else
10736 SHARED_LD="${CXX} -G -o"
10737 PIC_FLAG="-KPIC"
10738 fi
10739 if test "$wxUSE_OPENGL" = "yes"; then
10740 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
10741 WX_ALL="CREATE_LINKS CREATE_LINKS_GL"
10742 else
10743 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS"
10744 WX_ALL="CREATE_LINKS"
10745 fi
10746 ;;
10747 *-*-sunos4* )
10748 SHARED_LD="${CC} -shared -o"
10749 PIC_FLAG="-fPIC"
10750 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS"
10751 WX_ALL="CREATE_LINKS"
10752 ;;
10753 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* )
10754 SHARED_LD="${CC} -shared -o"
10755 PIC_FLAG="-fPIC"
10756 if test "$wxUSE_OPENGL" = "yes"; then
10757 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
10758 WX_ALL="CREATE_LINKS CREATE_LINKS_GL"
10759 else
10760 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS"
10761 WX_ALL="CREATE_LINKS"
10762 fi
10763 ;;
10764 *-*-darwin* )
10765 SHARED_LD="${CXX} -dynamiclib -o"
10766 PIC_FLAG="-dynamic -fPIC"
10767 if test "$wxUSE_OPENGL" = "yes"; then
10768 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
10769 WX_ALL="CREATE_LINKS CREATE_LINKS_GL"
10770 else
10771 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS"
10772 WX_ALL="CREATE_LINKS"
10773 fi
10774 WX_ALL="${WX_ALL} ./lib/lib${WX_LIBRARY}-${WX_RELEASE}.r"
10775 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}-${WX_RELEASE}.dylib.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
10776 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY}_gl-${WX_RELEASE}.dylib.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
10777 WX_LIBRARY_LINK1="lib${WX_LIBRARY}-${WX_RELEASE}.dylib.${WX_CURRENT}"
10778 WX_LIBRARY_LINK2="lib${WX_LIBRARY}-${WX_RELEASE}.dylib"
10779 WX_LIBRARY_LINK3="lib${WX_LIBRARY}.dylib"
10780 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY}_gl-${WX_RELEASE}.dylib.${WX_CURRENT}"
10781 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY}_gl-${WX_RELEASE}.dylib"
10782 WX_LIBRARY_LINK3_GL="lib${WX_LIBRARY}_gl.dylib"
10783 ;;
10784 *-*-osf* )
10785 SHARED_LD="${CXX} -shared -o"
10786 PIC_FLAG="-fPIC"
10787 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS"
10788 WX_ALL="CREATE_LINKS"
10789 ;;
10790 *-*-dgux5* )
10791 SHARED_LD="${CXX} -shared -o"
10792 PIC_FLAG="-fPIC"
10793 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS"
10794 WX_ALL="CREATE_LINKS"
10795 ;;
10796 *-*-sysv5* )
10797 SHARED_LD="${CC} -shared -o"
10798 PIC_FLAG="-fPIC"
10799 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS"
10800 WX_ALL="CREATE_LINKS"
10801 ;;
10802 *-*-aix* )
10803 SHARED_LD="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
10804 WX_ALL=${WX_LIBRARY_NAME_SHARED}
10805 ;;
10806 *-*-cygwin* )
10807 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"
10808 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_STATIC_GL}"
10809 if test "$wxUSE_OPENGL" = "yes"; then
10810 WX_ALL_INSTALLED="preinstall_gl"
10811 WX_ALL="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
10812 else
10813 WX_ALL="${WX_LIBRARY_NAME_STATIC}"
10814 fi
10815 ;;
10816 *-*-mingw32* )
10817 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"
10818 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_STATIC_GL}"
10819 if test "$wxUSE_OPENGL" = "yes"; then
10820 WX_ALL_INSTALLED="preinstall_gl"
10821 WX_ALL="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
10822 else
10823 WX_ALL="${WX_LIBRARY_NAME_STATIC}"
10824 fi
10825 ;;
10826 *-pc-os2_emx )
10827 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"
10828 WX_ALL="${WX_LIBRARY_NAME_STATIC}"
10829 ;;
10830 *-*-beos* )
10831 SHARED_LD="${LD} -shared -o"
10832 PIC_FLAG="-fPIC"
10833 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS"
10834 WX_ALL="CREATE_LINKS"
10835 ;;
10836 *)
10837 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
10838 esac
10839
10840 if test "x$WX_TARGET_LIBRARY" = "x"; then
10841 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_SHARED}"
10842 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_SHARED_GL}"
10843 fi
10844 WX_TARGET_LIBRARY_TYPE="so"
10845 else
10846 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"
10847 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_STATIC_GL}"
10848
10849 if test "$wxUSE_OPENGL" = "yes"; then
10850 WX_ALL_INSTALLED="preinstall_gl"
10851 WX_ALL="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
10852 else
10853 WX_ALL="${WX_LIBRARY_NAME_STATIC}"
10854 fi
10855
10856 if test "$wxUSE_GUI" = "no"; then
10857 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
10858 fi
10859
10860 WX_TARGET_LIBRARY_TYPE="a"
10861 fi
10862
10863
10864 for ac_hdr in strings.h
10865 do
10866 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10867 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10868 echo "configure:10869: checking for $ac_hdr" >&5
10869 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10870 echo $ac_n "(cached) $ac_c" 1>&6
10871 else
10872 cat > conftest.$ac_ext <<EOF
10873 #line 10874 "configure"
10874 #include "confdefs.h"
10875 #include <$ac_hdr>
10876 EOF
10877 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10878 { (eval echo configure:10879: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10879 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10880 if test -z "$ac_err"; then
10881 rm -rf conftest*
10882 eval "ac_cv_header_$ac_safe=yes"
10883 else
10884 echo "$ac_err" >&5
10885 echo "configure: failed program was:" >&5
10886 cat conftest.$ac_ext >&5
10887 rm -rf conftest*
10888 eval "ac_cv_header_$ac_safe=no"
10889 fi
10890 rm -f conftest*
10891 fi
10892 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10893 echo "$ac_t""yes" 1>&6
10894 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10895 cat >> confdefs.h <<EOF
10896 #define $ac_tr_hdr 1
10897 EOF
10898
10899 else
10900 echo "$ac_t""no" 1>&6
10901 fi
10902 done
10903
10904 for ac_hdr in stdlib.h
10905 do
10906 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10907 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10908 echo "configure:10909: checking for $ac_hdr" >&5
10909 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10910 echo $ac_n "(cached) $ac_c" 1>&6
10911 else
10912 cat > conftest.$ac_ext <<EOF
10913 #line 10914 "configure"
10914 #include "confdefs.h"
10915 #include <$ac_hdr>
10916 EOF
10917 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10918 { (eval echo configure:10919: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10919 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10920 if test -z "$ac_err"; then
10921 rm -rf conftest*
10922 eval "ac_cv_header_$ac_safe=yes"
10923 else
10924 echo "$ac_err" >&5
10925 echo "configure: failed program was:" >&5
10926 cat conftest.$ac_ext >&5
10927 rm -rf conftest*
10928 eval "ac_cv_header_$ac_safe=no"
10929 fi
10930 rm -f conftest*
10931 fi
10932 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10933 echo "$ac_t""yes" 1>&6
10934 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10935 cat >> confdefs.h <<EOF
10936 #define $ac_tr_hdr 1
10937 EOF
10938
10939 else
10940 echo "$ac_t""no" 1>&6
10941 fi
10942 done
10943
10944 for ac_hdr in unistd.h
10945 do
10946 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10947 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10948 echo "configure:10949: checking for $ac_hdr" >&5
10949 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10950 echo $ac_n "(cached) $ac_c" 1>&6
10951 else
10952 cat > conftest.$ac_ext <<EOF
10953 #line 10954 "configure"
10954 #include "confdefs.h"
10955 #include <$ac_hdr>
10956 EOF
10957 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10958 { (eval echo configure:10959: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10959 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10960 if test -z "$ac_err"; then
10961 rm -rf conftest*
10962 eval "ac_cv_header_$ac_safe=yes"
10963 else
10964 echo "$ac_err" >&5
10965 echo "configure: failed program was:" >&5
10966 cat conftest.$ac_ext >&5
10967 rm -rf conftest*
10968 eval "ac_cv_header_$ac_safe=no"
10969 fi
10970 rm -f conftest*
10971 fi
10972 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10973 echo "$ac_t""yes" 1>&6
10974 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10975 cat >> confdefs.h <<EOF
10976 #define $ac_tr_hdr 1
10977 EOF
10978
10979 else
10980 echo "$ac_t""no" 1>&6
10981 fi
10982 done
10983
10984 for ac_hdr in wchar.h
10985 do
10986 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10987 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10988 echo "configure:10989: checking for $ac_hdr" >&5
10989 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10990 echo $ac_n "(cached) $ac_c" 1>&6
10991 else
10992 cat > conftest.$ac_ext <<EOF
10993 #line 10994 "configure"
10994 #include "confdefs.h"
10995 #include <$ac_hdr>
10996 EOF
10997 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10998 { (eval echo configure:10999: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10999 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11000 if test -z "$ac_err"; then
11001 rm -rf conftest*
11002 eval "ac_cv_header_$ac_safe=yes"
11003 else
11004 echo "$ac_err" >&5
11005 echo "configure: failed program was:" >&5
11006 cat conftest.$ac_ext >&5
11007 rm -rf conftest*
11008 eval "ac_cv_header_$ac_safe=no"
11009 fi
11010 rm -f conftest*
11011 fi
11012 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11013 echo "$ac_t""yes" 1>&6
11014 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11015 cat >> confdefs.h <<EOF
11016 #define $ac_tr_hdr 1
11017 EOF
11018
11019 else
11020 echo "$ac_t""no" 1>&6
11021 fi
11022 done
11023
11024 for ac_hdr in wcstr.h
11025 do
11026 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11027 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11028 echo "configure:11029: checking for $ac_hdr" >&5
11029 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11030 echo $ac_n "(cached) $ac_c" 1>&6
11031 else
11032 cat > conftest.$ac_ext <<EOF
11033 #line 11034 "configure"
11034 #include "confdefs.h"
11035 #include <$ac_hdr>
11036 EOF
11037 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11038 { (eval echo configure:11039: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11039 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11040 if test -z "$ac_err"; then
11041 rm -rf conftest*
11042 eval "ac_cv_header_$ac_safe=yes"
11043 else
11044 echo "$ac_err" >&5
11045 echo "configure: failed program was:" >&5
11046 cat conftest.$ac_ext >&5
11047 rm -rf conftest*
11048 eval "ac_cv_header_$ac_safe=no"
11049 fi
11050 rm -f conftest*
11051 fi
11052 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11053 echo "$ac_t""yes" 1>&6
11054 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11055 cat >> confdefs.h <<EOF
11056 #define $ac_tr_hdr 1
11057 EOF
11058
11059 else
11060 echo "$ac_t""no" 1>&6
11061 fi
11062 done
11063
11064 for ac_hdr in fnmatch.h
11065 do
11066 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11067 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11068 echo "configure:11069: checking for $ac_hdr" >&5
11069 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11070 echo $ac_n "(cached) $ac_c" 1>&6
11071 else
11072 cat > conftest.$ac_ext <<EOF
11073 #line 11074 "configure"
11074 #include "confdefs.h"
11075 #include <$ac_hdr>
11076 EOF
11077 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11078 { (eval echo configure:11079: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11079 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11080 if test -z "$ac_err"; then
11081 rm -rf conftest*
11082 eval "ac_cv_header_$ac_safe=yes"
11083 else
11084 echo "$ac_err" >&5
11085 echo "configure: failed program was:" >&5
11086 cat conftest.$ac_ext >&5
11087 rm -rf conftest*
11088 eval "ac_cv_header_$ac_safe=no"
11089 fi
11090 rm -f conftest*
11091 fi
11092 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11093 echo "$ac_t""yes" 1>&6
11094 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11095 cat >> confdefs.h <<EOF
11096 #define $ac_tr_hdr 1
11097 EOF
11098
11099 else
11100 echo "$ac_t""no" 1>&6
11101 fi
11102 done
11103
11104 for ac_hdr in iconv.h
11105 do
11106 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11107 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11108 echo "configure:11109: checking for $ac_hdr" >&5
11109 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11110 echo $ac_n "(cached) $ac_c" 1>&6
11111 else
11112 cat > conftest.$ac_ext <<EOF
11113 #line 11114 "configure"
11114 #include "confdefs.h"
11115 #include <$ac_hdr>
11116 EOF
11117 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11118 { (eval echo configure:11119: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11119 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11120 if test -z "$ac_err"; then
11121 rm -rf conftest*
11122 eval "ac_cv_header_$ac_safe=yes"
11123 else
11124 echo "$ac_err" >&5
11125 echo "configure: failed program was:" >&5
11126 cat conftest.$ac_ext >&5
11127 rm -rf conftest*
11128 eval "ac_cv_header_$ac_safe=no"
11129 fi
11130 rm -f conftest*
11131 fi
11132 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11133 echo "$ac_t""yes" 1>&6
11134 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11135 cat >> confdefs.h <<EOF
11136 #define $ac_tr_hdr 1
11137 EOF
11138
11139 else
11140 echo "$ac_t""no" 1>&6
11141 fi
11142 done
11143
11144 for ac_hdr in langinfo.h
11145 do
11146 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11147 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11148 echo "configure:11149: checking for $ac_hdr" >&5
11149 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11150 echo $ac_n "(cached) $ac_c" 1>&6
11151 else
11152 cat > conftest.$ac_ext <<EOF
11153 #line 11154 "configure"
11154 #include "confdefs.h"
11155 #include <$ac_hdr>
11156 EOF
11157 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11158 { (eval echo configure:11159: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11159 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11160 if test -z "$ac_err"; then
11161 rm -rf conftest*
11162 eval "ac_cv_header_$ac_safe=yes"
11163 else
11164 echo "$ac_err" >&5
11165 echo "configure: failed program was:" >&5
11166 cat conftest.$ac_ext >&5
11167 rm -rf conftest*
11168 eval "ac_cv_header_$ac_safe=no"
11169 fi
11170 rm -f conftest*
11171 fi
11172 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11173 echo "$ac_t""yes" 1>&6
11174 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11175 cat >> confdefs.h <<EOF
11176 #define $ac_tr_hdr 1
11177 EOF
11178
11179 else
11180 echo "$ac_t""no" 1>&6
11181 fi
11182 done
11183
11184
11185 if test "$wxUSE_GUI" = "yes"; then
11186 if test "$wxUSE_UNIX" = "yes"; then
11187 for ac_hdr in X11/XKBlib.h
11188 do
11189 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11190 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11191 echo "configure:11192: checking for $ac_hdr" >&5
11192 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11193 echo $ac_n "(cached) $ac_c" 1>&6
11194 else
11195 cat > conftest.$ac_ext <<EOF
11196 #line 11197 "configure"
11197 #include "confdefs.h"
11198 #include <$ac_hdr>
11199 EOF
11200 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11201 { (eval echo configure:11202: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11202 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11203 if test -z "$ac_err"; then
11204 rm -rf conftest*
11205 eval "ac_cv_header_$ac_safe=yes"
11206 else
11207 echo "$ac_err" >&5
11208 echo "configure: failed program was:" >&5
11209 cat conftest.$ac_ext >&5
11210 rm -rf conftest*
11211 eval "ac_cv_header_$ac_safe=no"
11212 fi
11213 rm -f conftest*
11214 fi
11215 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11216 echo "$ac_t""yes" 1>&6
11217 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11218 cat >> confdefs.h <<EOF
11219 #define $ac_tr_hdr 1
11220 EOF
11221
11222 else
11223 echo "$ac_t""no" 1>&6
11224 fi
11225 done
11226
11227 fi
11228 fi
11229
11230 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
11231 for ac_hdr in w32api.h
11232 do
11233 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11234 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11235 echo "configure:11236: checking for $ac_hdr" >&5
11236 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11237 echo $ac_n "(cached) $ac_c" 1>&6
11238 else
11239 cat > conftest.$ac_ext <<EOF
11240 #line 11241 "configure"
11241 #include "confdefs.h"
11242 #include <$ac_hdr>
11243 EOF
11244 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11245 { (eval echo configure:11246: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11246 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11247 if test -z "$ac_err"; then
11248 rm -rf conftest*
11249 eval "ac_cv_header_$ac_safe=yes"
11250 else
11251 echo "$ac_err" >&5
11252 echo "configure: failed program was:" >&5
11253 cat conftest.$ac_ext >&5
11254 rm -rf conftest*
11255 eval "ac_cv_header_$ac_safe=no"
11256 fi
11257 rm -f conftest*
11258 fi
11259 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11260 echo "$ac_t""yes" 1>&6
11261 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11262 cat >> confdefs.h <<EOF
11263 #define $ac_tr_hdr 1
11264 EOF
11265
11266 else
11267 echo "$ac_t""no" 1>&6
11268 fi
11269 done
11270
11271 fi
11272
11273
11274 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
11275 echo "configure:11276: checking for ANSI C header files" >&5
11276 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
11277 echo $ac_n "(cached) $ac_c" 1>&6
11278 else
11279 cat > conftest.$ac_ext <<EOF
11280 #line 11281 "configure"
11281 #include "confdefs.h"
11282 #include <stdlib.h>
11283 #include <stdarg.h>
11284 #include <string.h>
11285 #include <float.h>
11286 EOF
11287 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11288 { (eval echo configure:11289: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11289 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11290 if test -z "$ac_err"; then
11291 rm -rf conftest*
11292 ac_cv_header_stdc=yes
11293 else
11294 echo "$ac_err" >&5
11295 echo "configure: failed program was:" >&5
11296 cat conftest.$ac_ext >&5
11297 rm -rf conftest*
11298 ac_cv_header_stdc=no
11299 fi
11300 rm -f conftest*
11301
11302 if test $ac_cv_header_stdc = yes; then
11303 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11304 cat > conftest.$ac_ext <<EOF
11305 #line 11306 "configure"
11306 #include "confdefs.h"
11307 #include <string.h>
11308 EOF
11309 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11310 egrep "memchr" >/dev/null 2>&1; then
11311 :
11312 else
11313 rm -rf conftest*
11314 ac_cv_header_stdc=no
11315 fi
11316 rm -f conftest*
11317
11318 fi
11319
11320 if test $ac_cv_header_stdc = yes; then
11321 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11322 cat > conftest.$ac_ext <<EOF
11323 #line 11324 "configure"
11324 #include "confdefs.h"
11325 #include <stdlib.h>
11326 EOF
11327 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11328 egrep "free" >/dev/null 2>&1; then
11329 :
11330 else
11331 rm -rf conftest*
11332 ac_cv_header_stdc=no
11333 fi
11334 rm -f conftest*
11335
11336 fi
11337
11338 if test $ac_cv_header_stdc = yes; then
11339 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11340 if test "$cross_compiling" = yes; then
11341 :
11342 else
11343 cat > conftest.$ac_ext <<EOF
11344 #line 11345 "configure"
11345 #include "confdefs.h"
11346 #include <ctype.h>
11347 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11348 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11349 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11350 int main () { int i; for (i = 0; i < 256; i++)
11351 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
11352 exit (0); }
11353
11354 EOF
11355 if { (eval echo configure:11356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
11356 then
11357 :
11358 else
11359 echo "configure: failed program was:" >&5
11360 cat conftest.$ac_ext >&5
11361 rm -fr conftest*
11362 ac_cv_header_stdc=no
11363 fi
11364 rm -fr conftest*
11365 fi
11366
11367 fi
11368 fi
11369
11370 echo "$ac_t""$ac_cv_header_stdc" 1>&6
11371 if test $ac_cv_header_stdc = yes; then
11372 cat >> confdefs.h <<\EOF
11373 #define STDC_HEADERS 1
11374 EOF
11375
11376 fi
11377
11378 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
11379 echo "configure:11380: checking for mode_t" >&5
11380 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
11381 echo $ac_n "(cached) $ac_c" 1>&6
11382 else
11383 cat > conftest.$ac_ext <<EOF
11384 #line 11385 "configure"
11385 #include "confdefs.h"
11386 #include <sys/types.h>
11387 #if STDC_HEADERS
11388 #include <stdlib.h>
11389 #include <stddef.h>
11390 #endif
11391 EOF
11392 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11393 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
11394 rm -rf conftest*
11395 ac_cv_type_mode_t=yes
11396 else
11397 rm -rf conftest*
11398 ac_cv_type_mode_t=no
11399 fi
11400 rm -f conftest*
11401
11402 fi
11403 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
11404 if test $ac_cv_type_mode_t = no; then
11405 cat >> confdefs.h <<\EOF
11406 #define mode_t int
11407 EOF
11408
11409 fi
11410
11411 echo $ac_n "checking for off_t""... $ac_c" 1>&6
11412 echo "configure:11413: checking for off_t" >&5
11413 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
11414 echo $ac_n "(cached) $ac_c" 1>&6
11415 else
11416 cat > conftest.$ac_ext <<EOF
11417 #line 11418 "configure"
11418 #include "confdefs.h"
11419 #include <sys/types.h>
11420 #if STDC_HEADERS
11421 #include <stdlib.h>
11422 #include <stddef.h>
11423 #endif
11424 EOF
11425 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11426 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
11427 rm -rf conftest*
11428 ac_cv_type_off_t=yes
11429 else
11430 rm -rf conftest*
11431 ac_cv_type_off_t=no
11432 fi
11433 rm -f conftest*
11434
11435 fi
11436 echo "$ac_t""$ac_cv_type_off_t" 1>&6
11437 if test $ac_cv_type_off_t = no; then
11438 cat >> confdefs.h <<\EOF
11439 #define off_t long
11440 EOF
11441
11442 fi
11443
11444 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
11445 echo "configure:11446: checking for pid_t" >&5
11446 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
11447 echo $ac_n "(cached) $ac_c" 1>&6
11448 else
11449 cat > conftest.$ac_ext <<EOF
11450 #line 11451 "configure"
11451 #include "confdefs.h"
11452 #include <sys/types.h>
11453 #if STDC_HEADERS
11454 #include <stdlib.h>
11455 #include <stddef.h>
11456 #endif
11457 EOF
11458 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11459 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
11460 rm -rf conftest*
11461 ac_cv_type_pid_t=yes
11462 else
11463 rm -rf conftest*
11464 ac_cv_type_pid_t=no
11465 fi
11466 rm -f conftest*
11467
11468 fi
11469 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
11470 if test $ac_cv_type_pid_t = no; then
11471 cat >> confdefs.h <<\EOF
11472 #define pid_t int
11473 EOF
11474
11475 fi
11476
11477 echo $ac_n "checking for size_t""... $ac_c" 1>&6
11478 echo "configure:11479: checking for size_t" >&5
11479 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
11480 echo $ac_n "(cached) $ac_c" 1>&6
11481 else
11482 cat > conftest.$ac_ext <<EOF
11483 #line 11484 "configure"
11484 #include "confdefs.h"
11485 #include <sys/types.h>
11486 #if STDC_HEADERS
11487 #include <stdlib.h>
11488 #include <stddef.h>
11489 #endif
11490 EOF
11491 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11492 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
11493 rm -rf conftest*
11494 ac_cv_type_size_t=yes
11495 else
11496 rm -rf conftest*
11497 ac_cv_type_size_t=no
11498 fi
11499 rm -f conftest*
11500
11501 fi
11502 echo "$ac_t""$ac_cv_type_size_t" 1>&6
11503 if test $ac_cv_type_size_t = no; then
11504 cat >> confdefs.h <<\EOF
11505 #define size_t unsigned
11506 EOF
11507
11508 fi
11509
11510 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
11511 echo "configure:11512: checking for uid_t in sys/types.h" >&5
11512 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
11513 echo $ac_n "(cached) $ac_c" 1>&6
11514 else
11515 cat > conftest.$ac_ext <<EOF
11516 #line 11517 "configure"
11517 #include "confdefs.h"
11518 #include <sys/types.h>
11519 EOF
11520 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11521 egrep "uid_t" >/dev/null 2>&1; then
11522 rm -rf conftest*
11523 ac_cv_type_uid_t=yes
11524 else
11525 rm -rf conftest*
11526 ac_cv_type_uid_t=no
11527 fi
11528 rm -f conftest*
11529
11530 fi
11531
11532 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
11533 if test $ac_cv_type_uid_t = no; then
11534 cat >> confdefs.h <<\EOF
11535 #define uid_t int
11536 EOF
11537
11538 cat >> confdefs.h <<\EOF
11539 #define gid_t int
11540 EOF
11541
11542 fi
11543
11544
11545 echo $ac_n "checking for wchar_t""... $ac_c" 1>&6
11546 echo "configure:11547: checking for wchar_t" >&5
11547 if eval "test \"`echo '$''{'wx_cv_type_wchar_t'+set}'`\" = set"; then
11548 echo $ac_n "(cached) $ac_c" 1>&6
11549 else
11550
11551 cat > conftest.$ac_ext <<EOF
11552 #line 11553 "configure"
11553 #include "confdefs.h"
11554 #include <wchar.h>
11555 int main() {
11556
11557 wchar_t wc, *ws;
11558 wc = L'a';
11559 ws = L"Hello, world!";
11560
11561 ; return 0; }
11562 EOF
11563 if { (eval echo configure:11564: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11564 rm -rf conftest*
11565 wx_cv_type_wchar_t=yes
11566 else
11567 echo "configure: failed program was:" >&5
11568 cat conftest.$ac_ext >&5
11569 rm -rf conftest*
11570 cat > conftest.$ac_ext <<EOF
11571 #line 11572 "configure"
11572 #include "confdefs.h"
11573 #include <stdlib.h>
11574 int main() {
11575
11576 wchar_t wc, *ws;
11577 wc = L'a';
11578 ws = L"Hello, world!";
11579
11580 ; return 0; }
11581 EOF
11582 if { (eval echo configure:11583: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11583 rm -rf conftest*
11584 wx_cv_type_wchar_t=yes
11585 else
11586 echo "configure: failed program was:" >&5
11587 cat conftest.$ac_ext >&5
11588 rm -rf conftest*
11589 wx_cv_type_wchar_t=no
11590 fi
11591 rm -f conftest*
11592
11593 fi
11594 rm -f conftest*
11595
11596 fi
11597
11598 echo "$ac_t""$wx_cv_type_wchar_t" 1>&6
11599
11600 if test "$wx_cv_type_wchar_t" = "yes"; then
11601 cat >> confdefs.h <<\EOF
11602 #define wxUSE_WCHAR_T 1
11603 EOF
11604
11605 fi
11606
11607
11608 ac_ext=C
11609 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11610 ac_cpp='$CXXCPP $CPPFLAGS'
11611 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11612 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11613 cross_compiling=$ac_cv_prog_cxx_cross
11614
11615 echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
11616 echo "configure:11617: checking if size_t is unsigned int" >&5
11617 if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
11618 echo $ac_n "(cached) $ac_c" 1>&6
11619 else
11620 cat > conftest.$ac_ext <<EOF
11621 #line 11622 "configure"
11622 #include "confdefs.h"
11623 #include <stddef.h>
11624 int main() {
11625
11626 return 0; }
11627
11628 struct Foo { void foo(size_t); void foo(unsigned int); };
11629
11630 int bar() {
11631
11632 ; return 0; }
11633 EOF
11634 if { (eval echo configure:11635: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11635 rm -rf conftest*
11636 wx_cv_size_t_is_uint=no
11637 else
11638 echo "configure: failed program was:" >&5
11639 cat conftest.$ac_ext >&5
11640 rm -rf conftest*
11641 wx_cv_size_t_is_uint=yes
11642
11643 fi
11644 rm -f conftest*
11645
11646 fi
11647
11648 echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
11649
11650 if test "$wx_cv_size_t_is_uint" = "yes"; then
11651 cat >> confdefs.h <<\EOF
11652 #define wxSIZE_T_IS_UINT 1
11653 EOF
11654
11655 else
11656 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
11657 echo "configure:11658: checking if size_t is unsigned long" >&5
11658 if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
11659 echo $ac_n "(cached) $ac_c" 1>&6
11660 else
11661 cat > conftest.$ac_ext <<EOF
11662 #line 11663 "configure"
11663 #include "confdefs.h"
11664 #include <stddef.h>
11665 int main() {
11666
11667 return 0; }
11668
11669 struct Foo { void foo(size_t); void foo(unsigned long); };
11670
11671 int bar() {
11672
11673 ; return 0; }
11674 EOF
11675 if { (eval echo configure:11676: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11676 rm -rf conftest*
11677 wx_cv_size_t_is_ulong=no
11678 else
11679 echo "configure: failed program was:" >&5
11680 cat conftest.$ac_ext >&5
11681 rm -rf conftest*
11682 wx_cv_size_t_is_ulong=yes
11683
11684 fi
11685 rm -f conftest*
11686
11687 fi
11688
11689 echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
11690
11691 if test "$wx_cv_size_t_is_ulong" = "yes"; then
11692 cat >> confdefs.h <<\EOF
11693 #define wxSIZE_T_IS_ULONG 1
11694 EOF
11695
11696 fi
11697 fi
11698
11699 ac_ext=c
11700 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11701 ac_cpp='$CPP $CPPFLAGS'
11702 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11703 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11704 cross_compiling=$ac_cv_prog_cc_cross
11705
11706
11707
11708 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
11709 echo "configure:11710: checking for pw_gecos in struct passwd" >&5
11710 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
11711 echo $ac_n "(cached) $ac_c" 1>&6
11712 else
11713
11714 cat > conftest.$ac_ext <<EOF
11715 #line 11716 "configure"
11716 #include "confdefs.h"
11717 #include <pwd.h>
11718 int main() {
11719
11720 char *p;
11721 struct passwd *pw;
11722 p = pw->pw_gecos;
11723
11724 ; return 0; }
11725 EOF
11726 if { (eval echo configure:11727: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11727 rm -rf conftest*
11728
11729 wx_cv_struct_pw_gecos=yes
11730
11731 else
11732 echo "configure: failed program was:" >&5
11733 cat conftest.$ac_ext >&5
11734 rm -rf conftest*
11735
11736 wx_cv_struct_pw_gecos=no
11737
11738
11739 fi
11740 rm -f conftest*
11741
11742
11743 fi
11744
11745 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
11746
11747 if test "$wx_cv_struct_pw_gecos" = "yes"; then
11748 cat >> confdefs.h <<\EOF
11749 #define HAVE_PW_GECOS 1
11750 EOF
11751
11752 fi
11753
11754
11755 echo $ac_n "checking for working const""... $ac_c" 1>&6
11756 echo "configure:11757: checking for working const" >&5
11757 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
11758 echo $ac_n "(cached) $ac_c" 1>&6
11759 else
11760 cat > conftest.$ac_ext <<EOF
11761 #line 11762 "configure"
11762 #include "confdefs.h"
11763
11764 int main() {
11765
11766 /* Ultrix mips cc rejects this. */
11767 typedef int charset[2]; const charset x;
11768 /* SunOS 4.1.1 cc rejects this. */
11769 char const *const *ccp;
11770 char **p;
11771 /* NEC SVR4.0.2 mips cc rejects this. */
11772 struct point {int x, y;};
11773 static struct point const zero = {0,0};
11774 /* AIX XL C 1.02.0.0 rejects this.
11775 It does not let you subtract one const X* pointer from another in an arm
11776 of an if-expression whose if-part is not a constant expression */
11777 const char *g = "string";
11778 ccp = &g + (g ? g-g : 0);
11779 /* HPUX 7.0 cc rejects these. */
11780 ++ccp;
11781 p = (char**) ccp;
11782 ccp = (char const *const *) p;
11783 { /* SCO 3.2v4 cc rejects this. */
11784 char *t;
11785 char const *s = 0 ? (char *) 0 : (char const *) 0;
11786
11787 *t++ = 0;
11788 }
11789 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
11790 int x[] = {25, 17};
11791 const int *foo = &x[0];
11792 ++foo;
11793 }
11794 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
11795 typedef const int *iptr;
11796 iptr p = 0;
11797 ++p;
11798 }
11799 { /* AIX XL C 1.02.0.0 rejects this saying
11800 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
11801 struct s { int j; const int *ap[3]; };
11802 struct s *b; b->j = 5;
11803 }
11804 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
11805 const int foo = 10;
11806 }
11807
11808 ; return 0; }
11809 EOF
11810 if { (eval echo configure:11811: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11811 rm -rf conftest*
11812 ac_cv_c_const=yes
11813 else
11814 echo "configure: failed program was:" >&5
11815 cat conftest.$ac_ext >&5
11816 rm -rf conftest*
11817 ac_cv_c_const=no
11818 fi
11819 rm -f conftest*
11820 fi
11821
11822 echo "$ac_t""$ac_cv_c_const" 1>&6
11823 if test $ac_cv_c_const = no; then
11824 cat >> confdefs.h <<\EOF
11825 #define const
11826 EOF
11827
11828 fi
11829
11830 echo $ac_n "checking for inline""... $ac_c" 1>&6
11831 echo "configure:11832: checking for inline" >&5
11832 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
11833 echo $ac_n "(cached) $ac_c" 1>&6
11834 else
11835 ac_cv_c_inline=no
11836 for ac_kw in inline __inline__ __inline; do
11837 cat > conftest.$ac_ext <<EOF
11838 #line 11839 "configure"
11839 #include "confdefs.h"
11840
11841 int main() {
11842 } $ac_kw foo() {
11843 ; return 0; }
11844 EOF
11845 if { (eval echo configure:11846: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11846 rm -rf conftest*
11847 ac_cv_c_inline=$ac_kw; break
11848 else
11849 echo "configure: failed program was:" >&5
11850 cat conftest.$ac_ext >&5
11851 fi
11852 rm -f conftest*
11853 done
11854
11855 fi
11856
11857 echo "$ac_t""$ac_cv_c_inline" 1>&6
11858 case "$ac_cv_c_inline" in
11859 inline | yes) ;;
11860 no) cat >> confdefs.h <<\EOF
11861 #define inline
11862 EOF
11863 ;;
11864 *) cat >> confdefs.h <<EOF
11865 #define inline $ac_cv_c_inline
11866 EOF
11867 ;;
11868 esac
11869
11870
11871 echo $ac_n "checking size of char""... $ac_c" 1>&6
11872 echo "configure:11873: checking size of char" >&5
11873 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
11874 echo $ac_n "(cached) $ac_c" 1>&6
11875 else
11876 if test "$cross_compiling" = yes; then
11877 ac_cv_sizeof_char=1
11878 else
11879 cat > conftest.$ac_ext <<EOF
11880 #line 11881 "configure"
11881 #include "confdefs.h"
11882 #include <stdio.h>
11883 main()
11884 {
11885 FILE *f=fopen("conftestval", "w");
11886 if (!f) exit(1);
11887 fprintf(f, "%d\n", sizeof(char));
11888 exit(0);
11889 }
11890 EOF
11891 if { (eval echo configure:11892: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
11892 then
11893 ac_cv_sizeof_char=`cat conftestval`
11894 else
11895 echo "configure: failed program was:" >&5
11896 cat conftest.$ac_ext >&5
11897 rm -fr conftest*
11898 ac_cv_sizeof_char=0
11899 fi
11900 rm -fr conftest*
11901 fi
11902
11903 fi
11904 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
11905 cat >> confdefs.h <<EOF
11906 #define SIZEOF_CHAR $ac_cv_sizeof_char
11907 EOF
11908
11909
11910 echo $ac_n "checking size of short""... $ac_c" 1>&6
11911 echo "configure:11912: checking size of short" >&5
11912 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
11913 echo $ac_n "(cached) $ac_c" 1>&6
11914 else
11915 if test "$cross_compiling" = yes; then
11916 ac_cv_sizeof_short=2
11917 else
11918 cat > conftest.$ac_ext <<EOF
11919 #line 11920 "configure"
11920 #include "confdefs.h"
11921 #include <stdio.h>
11922 main()
11923 {
11924 FILE *f=fopen("conftestval", "w");
11925 if (!f) exit(1);
11926 fprintf(f, "%d\n", sizeof(short));
11927 exit(0);
11928 }
11929 EOF
11930 if { (eval echo configure:11931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
11931 then
11932 ac_cv_sizeof_short=`cat conftestval`
11933 else
11934 echo "configure: failed program was:" >&5
11935 cat conftest.$ac_ext >&5
11936 rm -fr conftest*
11937 ac_cv_sizeof_short=0
11938 fi
11939 rm -fr conftest*
11940 fi
11941
11942 fi
11943 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
11944 cat >> confdefs.h <<EOF
11945 #define SIZEOF_SHORT $ac_cv_sizeof_short
11946 EOF
11947
11948
11949 echo $ac_n "checking size of int *""... $ac_c" 1>&6
11950 echo "configure:11951: checking size of int *" >&5
11951 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
11952 echo $ac_n "(cached) $ac_c" 1>&6
11953 else
11954 if test "$cross_compiling" = yes; then
11955 ac_cv_sizeof_int_p=4
11956 else
11957 cat > conftest.$ac_ext <<EOF
11958 #line 11959 "configure"
11959 #include "confdefs.h"
11960 #include <stdio.h>
11961 main()
11962 {
11963 FILE *f=fopen("conftestval", "w");
11964 if (!f) exit(1);
11965 fprintf(f, "%d\n", sizeof(int *));
11966 exit(0);
11967 }
11968 EOF
11969 if { (eval echo configure:11970: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
11970 then
11971 ac_cv_sizeof_int_p=`cat conftestval`
11972 else
11973 echo "configure: failed program was:" >&5
11974 cat conftest.$ac_ext >&5
11975 rm -fr conftest*
11976 ac_cv_sizeof_int_p=0
11977 fi
11978 rm -fr conftest*
11979 fi
11980
11981 fi
11982 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
11983 cat >> confdefs.h <<EOF
11984 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
11985 EOF
11986
11987
11988 echo $ac_n "checking size of int""... $ac_c" 1>&6
11989 echo "configure:11990: checking size of int" >&5
11990 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
11991 echo $ac_n "(cached) $ac_c" 1>&6
11992 else
11993 if test "$cross_compiling" = yes; then
11994 ac_cv_sizeof_int=4
11995 else
11996 cat > conftest.$ac_ext <<EOF
11997 #line 11998 "configure"
11998 #include "confdefs.h"
11999 #include <stdio.h>
12000 main()
12001 {
12002 FILE *f=fopen("conftestval", "w");
12003 if (!f) exit(1);
12004 fprintf(f, "%d\n", sizeof(int));
12005 exit(0);
12006 }
12007 EOF
12008 if { (eval echo configure:12009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
12009 then
12010 ac_cv_sizeof_int=`cat conftestval`
12011 else
12012 echo "configure: failed program was:" >&5
12013 cat conftest.$ac_ext >&5
12014 rm -fr conftest*
12015 ac_cv_sizeof_int=0
12016 fi
12017 rm -fr conftest*
12018 fi
12019
12020 fi
12021 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
12022 cat >> confdefs.h <<EOF
12023 #define SIZEOF_INT $ac_cv_sizeof_int
12024 EOF
12025
12026
12027 echo $ac_n "checking size of long""... $ac_c" 1>&6
12028 echo "configure:12029: checking size of long" >&5
12029 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
12030 echo $ac_n "(cached) $ac_c" 1>&6
12031 else
12032 if test "$cross_compiling" = yes; then
12033 ac_cv_sizeof_long=4
12034 else
12035 cat > conftest.$ac_ext <<EOF
12036 #line 12037 "configure"
12037 #include "confdefs.h"
12038 #include <stdio.h>
12039 main()
12040 {
12041 FILE *f=fopen("conftestval", "w");
12042 if (!f) exit(1);
12043 fprintf(f, "%d\n", sizeof(long));
12044 exit(0);
12045 }
12046 EOF
12047 if { (eval echo configure:12048: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
12048 then
12049 ac_cv_sizeof_long=`cat conftestval`
12050 else
12051 echo "configure: failed program was:" >&5
12052 cat conftest.$ac_ext >&5
12053 rm -fr conftest*
12054 ac_cv_sizeof_long=0
12055 fi
12056 rm -fr conftest*
12057 fi
12058
12059 fi
12060 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
12061 cat >> confdefs.h <<EOF
12062 #define SIZEOF_LONG $ac_cv_sizeof_long
12063 EOF
12064
12065
12066 echo $ac_n "checking size of long long""... $ac_c" 1>&6
12067 echo "configure:12068: checking size of long long" >&5
12068 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
12069 echo $ac_n "(cached) $ac_c" 1>&6
12070 else
12071 if test "$cross_compiling" = yes; then
12072 ac_cv_sizeof_long_long=0
12073 else
12074 cat > conftest.$ac_ext <<EOF
12075 #line 12076 "configure"
12076 #include "confdefs.h"
12077 #include <stdio.h>
12078 main()
12079 {
12080 FILE *f=fopen("conftestval", "w");
12081 if (!f) exit(1);
12082 fprintf(f, "%d\n", sizeof(long long));
12083 exit(0);
12084 }
12085 EOF
12086 if { (eval echo configure:12087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
12087 then
12088 ac_cv_sizeof_long_long=`cat conftestval`
12089 else
12090 echo "configure: failed program was:" >&5
12091 cat conftest.$ac_ext >&5
12092 rm -fr conftest*
12093 ac_cv_sizeof_long_long=0
12094 fi
12095 rm -fr conftest*
12096 fi
12097
12098 fi
12099 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
12100 cat >> confdefs.h <<EOF
12101 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
12102 EOF
12103
12104
12105
12106 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
12107 echo "configure:12108: checking size of wchar_t" >&5
12108 if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
12109 echo $ac_n "(cached) $ac_c" 1>&6
12110 else
12111
12112 if test "$cross_compiling" = yes; then
12113 wx_cv_sizeof_wchar_t=4
12114
12115 else
12116 cat > conftest.$ac_ext <<EOF
12117 #line 12118 "configure"
12118 #include "confdefs.h"
12119
12120 #ifdef HAVE_WCHAR_H
12121 # include <wchar.h>
12122 #endif
12123 #ifdef HAVE_STDLIB_H
12124 # include <stdlib.h>
12125 #endif
12126 #include <stdio.h>
12127 int main()
12128 {
12129 FILE *f=fopen("conftestval", "w");
12130 if (!f) exit(1);
12131 fprintf(f, "%i", sizeof(wchar_t));
12132 exit(0);
12133 }
12134
12135 EOF
12136 if { (eval echo configure:12137: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
12137 then
12138 wx_cv_sizeof_wchar_t=`cat conftestval`
12139 else
12140 echo "configure: failed program was:" >&5
12141 cat conftest.$ac_ext >&5
12142 rm -fr conftest*
12143 wx_cv_sizeof_wchar_t=0
12144 fi
12145 rm -fr conftest*
12146 fi
12147
12148
12149 fi
12150
12151 echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
12152
12153 cat >> confdefs.h <<EOF
12154 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
12155 EOF
12156
12157
12158 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
12159 echo "configure:12160: checking whether byte ordering is bigendian" >&5
12160 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
12161 echo $ac_n "(cached) $ac_c" 1>&6
12162 else
12163 ac_cv_c_bigendian=unknown
12164 # See if sys/param.h defines the BYTE_ORDER macro.
12165 cat > conftest.$ac_ext <<EOF
12166 #line 12167 "configure"
12167 #include "confdefs.h"
12168 #include <sys/types.h>
12169 #include <sys/param.h>
12170 int main() {
12171
12172 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
12173 bogus endian macros
12174 #endif
12175 ; return 0; }
12176 EOF
12177 if { (eval echo configure:12178: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12178 rm -rf conftest*
12179 # It does; now see whether it defined to BIG_ENDIAN or not.
12180 cat > conftest.$ac_ext <<EOF
12181 #line 12182 "configure"
12182 #include "confdefs.h"
12183 #include <sys/types.h>
12184 #include <sys/param.h>
12185 int main() {
12186
12187 #if BYTE_ORDER != BIG_ENDIAN
12188 not big endian
12189 #endif
12190 ; return 0; }
12191 EOF
12192 if { (eval echo configure:12193: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12193 rm -rf conftest*
12194 ac_cv_c_bigendian=yes
12195 else
12196 echo "configure: failed program was:" >&5
12197 cat conftest.$ac_ext >&5
12198 rm -rf conftest*
12199 ac_cv_c_bigendian=no
12200 fi
12201 rm -f conftest*
12202 else
12203 echo "configure: failed program was:" >&5
12204 cat conftest.$ac_ext >&5
12205 fi
12206 rm -f conftest*
12207 if test $ac_cv_c_bigendian = unknown; then
12208 if test "$cross_compiling" = yes; then
12209 ac_cv_c_bigendian=unknown
12210 else
12211 cat > conftest.$ac_ext <<EOF
12212 #line 12213 "configure"
12213 #include "confdefs.h"
12214 main () {
12215 /* Are we little or big endian? From Harbison&Steele. */
12216 union
12217 {
12218 long l;
12219 char c[sizeof (long)];
12220 } u;
12221 u.l = 1;
12222 exit (u.c[sizeof (long) - 1] == 1);
12223 }
12224 EOF
12225 if { (eval echo configure:12226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
12226 then
12227 ac_cv_c_bigendian=no
12228 else
12229 echo "configure: failed program was:" >&5
12230 cat conftest.$ac_ext >&5
12231 rm -fr conftest*
12232 ac_cv_c_bigendian=yes
12233 fi
12234 rm -fr conftest*
12235 fi
12236
12237 fi
12238 fi
12239
12240 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
12241 if test $ac_cv_c_bigendian = unknown; then
12242 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
12243 fi
12244 if test $ac_cv_c_bigendian = yes; then
12245 cat >> confdefs.h <<\EOF
12246 #define WORDS_BIGENDIAN 1
12247 EOF
12248
12249 fi
12250
12251
12252
12253 if test "$cross_compiling" = "yes"; then
12254 cat >> confdefs.h <<\EOF
12255 #define wxUSE_IOSTREAMH 1
12256 EOF
12257
12258 else
12259
12260 ac_ext=C
12261 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12262 ac_cpp='$CXXCPP $CPPFLAGS'
12263 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12264 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12265 cross_compiling=$ac_cv_prog_cxx_cross
12266
12267
12268 for ac_hdr in iostream
12269 do
12270 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12271 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12272 echo "configure:12273: checking for $ac_hdr" >&5
12273 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12274 echo $ac_n "(cached) $ac_c" 1>&6
12275 else
12276 cat > conftest.$ac_ext <<EOF
12277 #line 12278 "configure"
12278 #include "confdefs.h"
12279 #include <$ac_hdr>
12280 EOF
12281 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12282 { (eval echo configure:12283: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12283 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12284 if test -z "$ac_err"; then
12285 rm -rf conftest*
12286 eval "ac_cv_header_$ac_safe=yes"
12287 else
12288 echo "$ac_err" >&5
12289 echo "configure: failed program was:" >&5
12290 cat conftest.$ac_ext >&5
12291 rm -rf conftest*
12292 eval "ac_cv_header_$ac_safe=no"
12293 fi
12294 rm -f conftest*
12295 fi
12296 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12297 echo "$ac_t""yes" 1>&6
12298 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12299 cat >> confdefs.h <<EOF
12300 #define $ac_tr_hdr 1
12301 EOF
12302
12303 else
12304 echo "$ac_t""no" 1>&6
12305 fi
12306 done
12307
12308
12309 if test "$ac_cv_header_iostream" = "yes" ; then
12310 :
12311 else
12312 cat >> confdefs.h <<\EOF
12313 #define wxUSE_IOSTREAMH 1
12314 EOF
12315
12316 fi
12317
12318 ac_ext=c
12319 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12320 ac_cpp='$CPP $CPPFLAGS'
12321 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12322 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12323 cross_compiling=$ac_cv_prog_cc_cross
12324
12325 fi
12326
12327
12328
12329 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
12330 echo "configure:12331: checking if C++ compiler supports bool" >&5
12331 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
12332 echo $ac_n "(cached) $ac_c" 1>&6
12333 else
12334
12335
12336 ac_ext=C
12337 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12338 ac_cpp='$CXXCPP $CPPFLAGS'
12339 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12340 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12341 cross_compiling=$ac_cv_prog_cxx_cross
12342
12343
12344 cat > conftest.$ac_ext <<EOF
12345 #line 12346 "configure"
12346 #include "confdefs.h"
12347
12348
12349 int main() {
12350
12351 bool b = true;
12352
12353 return 0;
12354
12355 ; return 0; }
12356 EOF
12357 if { (eval echo configure:12358: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12358 rm -rf conftest*
12359
12360 wx_cv_cpp_bool=yes
12361
12362 else
12363 echo "configure: failed program was:" >&5
12364 cat conftest.$ac_ext >&5
12365 rm -rf conftest*
12366
12367 wx_cv_cpp_bool=no
12368
12369
12370 fi
12371 rm -f conftest*
12372
12373 ac_ext=c
12374 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12375 ac_cpp='$CPP $CPPFLAGS'
12376 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12377 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12378 cross_compiling=$ac_cv_prog_cc_cross
12379
12380
12381 fi
12382
12383 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
12384
12385 if test "$wx_cv_cpp_bool" = "yes"; then
12386 cat >> confdefs.h <<\EOF
12387 #define HAVE_BOOL 1
12388 EOF
12389
12390 fi
12391
12392
12393
12394 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
12395 echo "configure:12396: checking for wcslen in -lc" >&5
12396 ac_lib_var=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
12397 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12398 echo $ac_n "(cached) $ac_c" 1>&6
12399 else
12400 ac_save_LIBS="$LIBS"
12401 LIBS="-lc $LIBS"
12402 cat > conftest.$ac_ext <<EOF
12403 #line 12404 "configure"
12404 #include "confdefs.h"
12405 /* Override any gcc2 internal prototype to avoid an error. */
12406 /* We use char because int might match the return type of a gcc2
12407 builtin and then its argument prototype would still apply. */
12408 char wcslen();
12409
12410 int main() {
12411 wcslen()
12412 ; return 0; }
12413 EOF
12414 if { (eval echo configure:12415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12415 rm -rf conftest*
12416 eval "ac_cv_lib_$ac_lib_var=yes"
12417 else
12418 echo "configure: failed program was:" >&5
12419 cat conftest.$ac_ext >&5
12420 rm -rf conftest*
12421 eval "ac_cv_lib_$ac_lib_var=no"
12422 fi
12423 rm -f conftest*
12424 LIBS="$ac_save_LIBS"
12425
12426 fi
12427 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12428 echo "$ac_t""yes" 1>&6
12429
12430 cat >> confdefs.h <<\EOF
12431 #define HAVE_WCSLEN 1
12432 EOF
12433
12434 WCHAR_LINK=""
12435
12436 else
12437 echo "$ac_t""no" 1>&6
12438
12439 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
12440 echo "configure:12441: checking for wcslen in -lw" >&5
12441 ac_lib_var=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
12442 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12443 echo $ac_n "(cached) $ac_c" 1>&6
12444 else
12445 ac_save_LIBS="$LIBS"
12446 LIBS="-lw $LIBS"
12447 cat > conftest.$ac_ext <<EOF
12448 #line 12449 "configure"
12449 #include "confdefs.h"
12450 /* Override any gcc2 internal prototype to avoid an error. */
12451 /* We use char because int might match the return type of a gcc2
12452 builtin and then its argument prototype would still apply. */
12453 char wcslen();
12454
12455 int main() {
12456 wcslen()
12457 ; return 0; }
12458 EOF
12459 if { (eval echo configure:12460: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12460 rm -rf conftest*
12461 eval "ac_cv_lib_$ac_lib_var=yes"
12462 else
12463 echo "configure: failed program was:" >&5
12464 cat conftest.$ac_ext >&5
12465 rm -rf conftest*
12466 eval "ac_cv_lib_$ac_lib_var=no"
12467 fi
12468 rm -f conftest*
12469 LIBS="$ac_save_LIBS"
12470
12471 fi
12472 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12473 echo "$ac_t""yes" 1>&6
12474
12475 cat >> confdefs.h <<\EOF
12476 #define HAVE_WCSLEN 1
12477 EOF
12478
12479 WCHAR_LINK="-lw"
12480
12481 else
12482 echo "$ac_t""no" 1>&6
12483 fi
12484
12485
12486 fi
12487
12488
12489 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
12490 echo "configure:12491: checking for vprintf" >&5
12491 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
12492 echo $ac_n "(cached) $ac_c" 1>&6
12493 else
12494 cat > conftest.$ac_ext <<EOF
12495 #line 12496 "configure"
12496 #include "confdefs.h"
12497 /* System header to define __stub macros and hopefully few prototypes,
12498 which can conflict with char vprintf(); below. */
12499 #include <assert.h>
12500 /* Override any gcc2 internal prototype to avoid an error. */
12501 /* We use char because int might match the return type of a gcc2
12502 builtin and then its argument prototype would still apply. */
12503 char vprintf();
12504
12505 int main() {
12506
12507 /* The GNU C library defines this for functions which it implements
12508 to always fail with ENOSYS. Some functions are actually named
12509 something starting with __ and the normal name is an alias. */
12510 #if defined (__stub_vprintf) || defined (__stub___vprintf)
12511 choke me
12512 #else
12513 vprintf();
12514 #endif
12515
12516 ; return 0; }
12517 EOF
12518 if { (eval echo configure:12519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12519 rm -rf conftest*
12520 eval "ac_cv_func_vprintf=yes"
12521 else
12522 echo "configure: failed program was:" >&5
12523 cat conftest.$ac_ext >&5
12524 rm -rf conftest*
12525 eval "ac_cv_func_vprintf=no"
12526 fi
12527 rm -f conftest*
12528 fi
12529
12530 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
12531 echo "$ac_t""yes" 1>&6
12532 cat >> confdefs.h <<\EOF
12533 #define HAVE_VPRINTF 1
12534 EOF
12535
12536 else
12537 echo "$ac_t""no" 1>&6
12538 fi
12539
12540 if test "$ac_cv_func_vprintf" != yes; then
12541 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
12542 echo "configure:12543: checking for _doprnt" >&5
12543 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
12544 echo $ac_n "(cached) $ac_c" 1>&6
12545 else
12546 cat > conftest.$ac_ext <<EOF
12547 #line 12548 "configure"
12548 #include "confdefs.h"
12549 /* System header to define __stub macros and hopefully few prototypes,
12550 which can conflict with char _doprnt(); below. */
12551 #include <assert.h>
12552 /* Override any gcc2 internal prototype to avoid an error. */
12553 /* We use char because int might match the return type of a gcc2
12554 builtin and then its argument prototype would still apply. */
12555 char _doprnt();
12556
12557 int main() {
12558
12559 /* The GNU C library defines this for functions which it implements
12560 to always fail with ENOSYS. Some functions are actually named
12561 something starting with __ and the normal name is an alias. */
12562 #if defined (__stub__doprnt) || defined (__stub____doprnt)
12563 choke me
12564 #else
12565 _doprnt();
12566 #endif
12567
12568 ; return 0; }
12569 EOF
12570 if { (eval echo configure:12571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12571 rm -rf conftest*
12572 eval "ac_cv_func__doprnt=yes"
12573 else
12574 echo "configure: failed program was:" >&5
12575 cat conftest.$ac_ext >&5
12576 rm -rf conftest*
12577 eval "ac_cv_func__doprnt=no"
12578 fi
12579 rm -f conftest*
12580 fi
12581
12582 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
12583 echo "$ac_t""yes" 1>&6
12584 cat >> confdefs.h <<\EOF
12585 #define HAVE_DOPRNT 1
12586 EOF
12587
12588 else
12589 echo "$ac_t""no" 1>&6
12590 fi
12591
12592 fi
12593
12594
12595
12596
12597
12598
12599
12600 echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
12601 echo "configure:12602: checking for vsnprintf" >&5
12602 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf'+set}'`\" = set"; then
12603 echo $ac_n "(cached) $ac_c" 1>&6
12604 else
12605
12606 cat > conftest.$ac_ext <<EOF
12607 #line 12608 "configure"
12608 #include "confdefs.h"
12609
12610 #include <stdio.h>
12611 #include <stdarg.h>
12612
12613 int main() {
12614
12615 int wx_test_vsnprintf(const char *, ...);
12616
12617 wx_test_vsnprintf("%s");
12618 return 0;
12619 }
12620
12621 int wx_test_vsnprintf(const char *fmt, ...)
12622 {
12623 char *s;
12624
12625 va_list argp;
12626 va_start(argp, fmt);
12627 vsnprintf(s, 42, fmt, argp);
12628 va_end(argp);
12629
12630 ; return 0; }
12631 EOF
12632 if { (eval echo configure:12633: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12633 rm -rf conftest*
12634
12635 wx_cv_func_vsnprintf=yes
12636
12637 else
12638 echo "configure: failed program was:" >&5
12639 cat conftest.$ac_ext >&5
12640 rm -rf conftest*
12641
12642 cat > conftest.$ac_ext <<EOF
12643 #line 12644 "configure"
12644 #include "confdefs.h"
12645
12646 #include <stdio.h>
12647 #include <stdarg.h>
12648
12649 int main() {
12650
12651 int wx_test_vsnprintf(const char *, ...);
12652
12653 wx_test_vsnprintf("%s");
12654 return 0;
12655 }
12656
12657 int wx_test_vsnprintf(const char *fmt, ...)
12658 {
12659 char *s;
12660
12661 va_list argp;
12662 va_start(argp, fmt);
12663 _vsnprintf(s, 42, fmt, argp);
12664 va_end(argp);
12665
12666 ; return 0; }
12667 EOF
12668 if { (eval echo configure:12669: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12669 rm -rf conftest*
12670
12671 wx_cv_func_vsnprintf=yes
12672
12673 else
12674 echo "configure: failed program was:" >&5
12675 cat conftest.$ac_ext >&5
12676 rm -rf conftest*
12677
12678 wx_cv_func_vsnprintf=no
12679
12680 fi
12681 rm -f conftest*
12682
12683 fi
12684 rm -f conftest*
12685
12686 fi
12687
12688 echo "$ac_t""$wx_cv_func_vsnprintf" 1>&6
12689
12690 if test "$wx_cv_func_vsnprintf" = yes; then
12691 cat >> confdefs.h <<\EOF
12692 #define HAVE_VSNPRINTF 1
12693 EOF
12694
12695 else
12696 echo "configure: warning: unsafe function sprintf will be used instead of snprintf" 1>&2
12697 fi
12698
12699 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
12700 echo "configure:12701: checking for vsscanf" >&5
12701 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
12702 echo $ac_n "(cached) $ac_c" 1>&6
12703 else
12704
12705 cat > conftest.$ac_ext <<EOF
12706 #line 12707 "configure"
12707 #include "confdefs.h"
12708
12709 #include <stdio.h>
12710 #include <stdarg.h>
12711
12712 int main() {
12713
12714 int wx_test_vsscanf(const char *, ...);
12715
12716 wx_test_vsscanf("%d");
12717 return 0;
12718 }
12719
12720 int wx_test_vsscanf(const char *fmt, ...)
12721 {
12722 va_list argp;
12723 va_start(argp, fmt);
12724 vsscanf("42", fmt, argp);
12725 va_end(argp);
12726
12727 ; return 0; }
12728 EOF
12729 if { (eval echo configure:12730: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12730 rm -rf conftest*
12731
12732 wx_cv_func_vsscanf=yes
12733
12734 else
12735 echo "configure: failed program was:" >&5
12736 cat conftest.$ac_ext >&5
12737 rm -rf conftest*
12738
12739 wx_cv_func_vsscanf=no
12740
12741 fi
12742 rm -f conftest*
12743
12744 fi
12745
12746 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
12747
12748 if test "$wx_cv_func_vsscanf" = yes; then
12749 cat >> confdefs.h <<\EOF
12750 #define HAVE_VSSCANF 1
12751 EOF
12752
12753 fi
12754
12755 if test "$TOOLKIT" != "MSW"; then
12756
12757
12758
12759 ac_ext=C
12760 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12761 ac_cpp='$CXXCPP $CPPFLAGS'
12762 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12763 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12764 cross_compiling=$ac_cv_prog_cxx_cross
12765
12766 echo $ac_n "checking if iconv() takes char**""... $ac_c" 1>&6
12767 echo "configure:12768: checking if iconv() takes char**" >&5
12768 if eval "test \"`echo '$''{'wx_cv_iconv_takes_char'+set}'`\" = set"; then
12769 echo $ac_n "(cached) $ac_c" 1>&6
12770 else
12771
12772 cat > conftest.$ac_ext <<EOF
12773 #line 12774 "configure"
12774 #include "confdefs.h"
12775 #include <iconv.h>
12776 int main() {
12777
12778 char **inbuf, **outbuf;
12779 iconv_t cd;
12780 size_t insz, outsz;
12781 iconv(cd, inbuf, &insz, outbuf, &outsz);
12782
12783 ; return 0; }
12784 EOF
12785 if { (eval echo configure:12786: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12786 rm -rf conftest*
12787 wx_cv_iconv_takes_char=yes
12788 else
12789 echo "configure: failed program was:" >&5
12790 cat conftest.$ac_ext >&5
12791 rm -rf conftest*
12792 wx_cv_iconv_takes_char=no
12793 fi
12794 rm -f conftest*
12795
12796 fi
12797
12798 echo "$ac_t""$wx_cv_iconv_takes_char" 1>&6
12799 ac_ext=c
12800 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12801 ac_cpp='$CPP $CPPFLAGS'
12802 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12803 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12804 cross_compiling=$ac_cv_prog_cc_cross
12805
12806 if test "$wx_cv_iconv_takes_char" = yes ; then
12807 cat >> confdefs.h <<\EOF
12808 #define WX_ICONV_TAKES_CHAR 1
12809 EOF
12810
12811 fi
12812
12813
12814 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
12815 for ac_func in sigaction
12816 do
12817 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12818 echo "configure:12819: checking for $ac_func" >&5
12819 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12820 echo $ac_n "(cached) $ac_c" 1>&6
12821 else
12822 cat > conftest.$ac_ext <<EOF
12823 #line 12824 "configure"
12824 #include "confdefs.h"
12825 /* System header to define __stub macros and hopefully few prototypes,
12826 which can conflict with char $ac_func(); below. */
12827 #include <assert.h>
12828 /* Override any gcc2 internal prototype to avoid an error. */
12829 /* We use char because int might match the return type of a gcc2
12830 builtin and then its argument prototype would still apply. */
12831 char $ac_func();
12832
12833 int main() {
12834
12835 /* The GNU C library defines this for functions which it implements
12836 to always fail with ENOSYS. Some functions are actually named
12837 something starting with __ and the normal name is an alias. */
12838 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12839 choke me
12840 #else
12841 $ac_func();
12842 #endif
12843
12844 ; return 0; }
12845 EOF
12846 if { (eval echo configure:12847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12847 rm -rf conftest*
12848 eval "ac_cv_func_$ac_func=yes"
12849 else
12850 echo "configure: failed program was:" >&5
12851 cat conftest.$ac_ext >&5
12852 rm -rf conftest*
12853 eval "ac_cv_func_$ac_func=no"
12854 fi
12855 rm -f conftest*
12856 fi
12857
12858 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12859 echo "$ac_t""yes" 1>&6
12860 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12861 cat >> confdefs.h <<EOF
12862 #define $ac_tr_func 1
12863 EOF
12864
12865 else
12866 echo "$ac_t""no" 1>&6
12867 fi
12868 done
12869
12870
12871 if test "$ac_cv_func_sigaction" = "no"; then
12872 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
12873 wxUSE_ON_FATAL_EXCEPTION=no
12874 fi
12875
12876 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
12877
12878 ac_ext=C
12879 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12880 ac_cpp='$CXXCPP $CPPFLAGS'
12881 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12882 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12883 cross_compiling=$ac_cv_prog_cxx_cross
12884
12885
12886 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
12887 echo "configure:12888: checking for sa_handler type" >&5
12888 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
12889 echo $ac_n "(cached) $ac_c" 1>&6
12890 else
12891
12892 cat > conftest.$ac_ext <<EOF
12893 #line 12894 "configure"
12894 #include "confdefs.h"
12895 #include <signal.h>
12896 int main() {
12897
12898 extern void testSigHandler(int);
12899
12900 struct sigaction sa;
12901 sa.sa_handler = testSigHandler;
12902
12903 ; return 0; }
12904 EOF
12905 if { (eval echo configure:12906: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12906 rm -rf conftest*
12907
12908 wx_cv_type_sa_handler=int
12909
12910 else
12911 echo "configure: failed program was:" >&5
12912 cat conftest.$ac_ext >&5
12913 rm -rf conftest*
12914
12915 wx_cv_type_sa_handler=void
12916
12917 fi
12918 rm -f conftest*
12919
12920 fi
12921
12922 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
12923
12924 ac_ext=c
12925 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12926 ac_cpp='$CPP $CPPFLAGS'
12927 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12928 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12929 cross_compiling=$ac_cv_prog_cc_cross
12930
12931
12932 cat >> confdefs.h <<EOF
12933 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
12934 EOF
12935
12936 fi
12937 fi
12938
12939 for ac_func in vfork
12940 do
12941 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12942 echo "configure:12943: checking for $ac_func" >&5
12943 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12944 echo $ac_n "(cached) $ac_c" 1>&6
12945 else
12946 cat > conftest.$ac_ext <<EOF
12947 #line 12948 "configure"
12948 #include "confdefs.h"
12949 /* System header to define __stub macros and hopefully few prototypes,
12950 which can conflict with char $ac_func(); below. */
12951 #include <assert.h>
12952 /* Override any gcc2 internal prototype to avoid an error. */
12953 /* We use char because int might match the return type of a gcc2
12954 builtin and then its argument prototype would still apply. */
12955 char $ac_func();
12956
12957 int main() {
12958
12959 /* The GNU C library defines this for functions which it implements
12960 to always fail with ENOSYS. Some functions are actually named
12961 something starting with __ and the normal name is an alias. */
12962 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12963 choke me
12964 #else
12965 $ac_func();
12966 #endif
12967
12968 ; return 0; }
12969 EOF
12970 if { (eval echo configure:12971: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12971 rm -rf conftest*
12972 eval "ac_cv_func_$ac_func=yes"
12973 else
12974 echo "configure: failed program was:" >&5
12975 cat conftest.$ac_ext >&5
12976 rm -rf conftest*
12977 eval "ac_cv_func_$ac_func=no"
12978 fi
12979 rm -f conftest*
12980 fi
12981
12982 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12983 echo "$ac_t""yes" 1>&6
12984 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12985 cat >> confdefs.h <<EOF
12986 #define $ac_tr_func 1
12987 EOF
12988
12989 else
12990 echo "$ac_t""no" 1>&6
12991 fi
12992 done
12993
12994
12995 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
12996 for ac_func in fcntl flock
12997 do
12998 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12999 echo "configure:13000: checking for $ac_func" >&5
13000 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13001 echo $ac_n "(cached) $ac_c" 1>&6
13002 else
13003 cat > conftest.$ac_ext <<EOF
13004 #line 13005 "configure"
13005 #include "confdefs.h"
13006 /* System header to define __stub macros and hopefully few prototypes,
13007 which can conflict with char $ac_func(); below. */
13008 #include <assert.h>
13009 /* Override any gcc2 internal prototype to avoid an error. */
13010 /* We use char because int might match the return type of a gcc2
13011 builtin and then its argument prototype would still apply. */
13012 char $ac_func();
13013
13014 int main() {
13015
13016 /* The GNU C library defines this for functions which it implements
13017 to always fail with ENOSYS. Some functions are actually named
13018 something starting with __ and the normal name is an alias. */
13019 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13020 choke me
13021 #else
13022 $ac_func();
13023 #endif
13024
13025 ; return 0; }
13026 EOF
13027 if { (eval echo configure:13028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13028 rm -rf conftest*
13029 eval "ac_cv_func_$ac_func=yes"
13030 else
13031 echo "configure: failed program was:" >&5
13032 cat conftest.$ac_ext >&5
13033 rm -rf conftest*
13034 eval "ac_cv_func_$ac_func=no"
13035 fi
13036 rm -f conftest*
13037 fi
13038
13039 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13040 echo "$ac_t""yes" 1>&6
13041 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13042 cat >> confdefs.h <<EOF
13043 #define $ac_tr_func 1
13044 EOF
13045 break
13046 else
13047 echo "$ac_t""no" 1>&6
13048 fi
13049 done
13050
13051
13052 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
13053 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
13054 wxUSE_SNGLINST_CHECKER=no
13055 fi
13056 fi
13057
13058 for ac_func in timegm
13059 do
13060 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13061 echo "configure:13062: checking for $ac_func" >&5
13062 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13063 echo $ac_n "(cached) $ac_c" 1>&6
13064 else
13065 cat > conftest.$ac_ext <<EOF
13066 #line 13067 "configure"
13067 #include "confdefs.h"
13068 /* System header to define __stub macros and hopefully few prototypes,
13069 which can conflict with char $ac_func(); below. */
13070 #include <assert.h>
13071 /* Override any gcc2 internal prototype to avoid an error. */
13072 /* We use char because int might match the return type of a gcc2
13073 builtin and then its argument prototype would still apply. */
13074 char $ac_func();
13075
13076 int main() {
13077
13078 /* The GNU C library defines this for functions which it implements
13079 to always fail with ENOSYS. Some functions are actually named
13080 something starting with __ and the normal name is an alias. */
13081 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13082 choke me
13083 #else
13084 $ac_func();
13085 #endif
13086
13087 ; return 0; }
13088 EOF
13089 if { (eval echo configure:13090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13090 rm -rf conftest*
13091 eval "ac_cv_func_$ac_func=yes"
13092 else
13093 echo "configure: failed program was:" >&5
13094 cat conftest.$ac_ext >&5
13095 rm -rf conftest*
13096 eval "ac_cv_func_$ac_func=no"
13097 fi
13098 rm -f conftest*
13099 fi
13100
13101 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13102 echo "$ac_t""yes" 1>&6
13103 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13104 cat >> confdefs.h <<EOF
13105 #define $ac_tr_func 1
13106 EOF
13107
13108 else
13109 echo "$ac_t""no" 1>&6
13110 fi
13111 done
13112
13113
13114 for ac_func in putenv setenv
13115 do
13116 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13117 echo "configure:13118: checking for $ac_func" >&5
13118 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13119 echo $ac_n "(cached) $ac_c" 1>&6
13120 else
13121 cat > conftest.$ac_ext <<EOF
13122 #line 13123 "configure"
13123 #include "confdefs.h"
13124 /* System header to define __stub macros and hopefully few prototypes,
13125 which can conflict with char $ac_func(); below. */
13126 #include <assert.h>
13127 /* Override any gcc2 internal prototype to avoid an error. */
13128 /* We use char because int might match the return type of a gcc2
13129 builtin and then its argument prototype would still apply. */
13130 char $ac_func();
13131
13132 int main() {
13133
13134 /* The GNU C library defines this for functions which it implements
13135 to always fail with ENOSYS. Some functions are actually named
13136 something starting with __ and the normal name is an alias. */
13137 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13138 choke me
13139 #else
13140 $ac_func();
13141 #endif
13142
13143 ; return 0; }
13144 EOF
13145 if { (eval echo configure:13146: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13146 rm -rf conftest*
13147 eval "ac_cv_func_$ac_func=yes"
13148 else
13149 echo "configure: failed program was:" >&5
13150 cat conftest.$ac_ext >&5
13151 rm -rf conftest*
13152 eval "ac_cv_func_$ac_func=no"
13153 fi
13154 rm -f conftest*
13155 fi
13156
13157 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13158 echo "$ac_t""yes" 1>&6
13159 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13160 cat >> confdefs.h <<EOF
13161 #define $ac_tr_func 1
13162 EOF
13163 break
13164 else
13165 echo "$ac_t""no" 1>&6
13166 fi
13167 done
13168
13169
13170 HAVE_SOME_SLEEP_FUNC=0
13171 if test "$USE_BEOS" = 1; then
13172 cat >> confdefs.h <<\EOF
13173 #define HAVE_SLEEP 1
13174 EOF
13175
13176 HAVE_SOME_SLEEP_FUNC=1
13177 fi
13178
13179 if test "$USE_MAC" = 1; then
13180 cat >> confdefs.h <<\EOF
13181 #define HAVE_USLEEP 1
13182 EOF
13183
13184 HAVE_SOME_SLEEP_FUNC=1
13185 fi
13186
13187 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
13188 POSIX4_LINK=
13189 for ac_func in nanosleep
13190 do
13191 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13192 echo "configure:13193: checking for $ac_func" >&5
13193 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13194 echo $ac_n "(cached) $ac_c" 1>&6
13195 else
13196 cat > conftest.$ac_ext <<EOF
13197 #line 13198 "configure"
13198 #include "confdefs.h"
13199 /* System header to define __stub macros and hopefully few prototypes,
13200 which can conflict with char $ac_func(); below. */
13201 #include <assert.h>
13202 /* Override any gcc2 internal prototype to avoid an error. */
13203 /* We use char because int might match the return type of a gcc2
13204 builtin and then its argument prototype would still apply. */
13205 char $ac_func();
13206
13207 int main() {
13208
13209 /* The GNU C library defines this for functions which it implements
13210 to always fail with ENOSYS. Some functions are actually named
13211 something starting with __ and the normal name is an alias. */
13212 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13213 choke me
13214 #else
13215 $ac_func();
13216 #endif
13217
13218 ; return 0; }
13219 EOF
13220 if { (eval echo configure:13221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13221 rm -rf conftest*
13222 eval "ac_cv_func_$ac_func=yes"
13223 else
13224 echo "configure: failed program was:" >&5
13225 cat conftest.$ac_ext >&5
13226 rm -rf conftest*
13227 eval "ac_cv_func_$ac_func=no"
13228 fi
13229 rm -f conftest*
13230 fi
13231
13232 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13233 echo "$ac_t""yes" 1>&6
13234 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13235 cat >> confdefs.h <<EOF
13236 #define $ac_tr_func 1
13237 EOF
13238 cat >> confdefs.h <<\EOF
13239 #define HAVE_NANOSLEEP 1
13240 EOF
13241
13242 else
13243 echo "$ac_t""no" 1>&6
13244 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
13245 echo "configure:13246: checking for nanosleep in -lposix4" >&5
13246 ac_lib_var=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
13247 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13248 echo $ac_n "(cached) $ac_c" 1>&6
13249 else
13250 ac_save_LIBS="$LIBS"
13251 LIBS="-lposix4 $LIBS"
13252 cat > conftest.$ac_ext <<EOF
13253 #line 13254 "configure"
13254 #include "confdefs.h"
13255 /* Override any gcc2 internal prototype to avoid an error. */
13256 /* We use char because int might match the return type of a gcc2
13257 builtin and then its argument prototype would still apply. */
13258 char nanosleep();
13259
13260 int main() {
13261 nanosleep()
13262 ; return 0; }
13263 EOF
13264 if { (eval echo configure:13265: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13265 rm -rf conftest*
13266 eval "ac_cv_lib_$ac_lib_var=yes"
13267 else
13268 echo "configure: failed program was:" >&5
13269 cat conftest.$ac_ext >&5
13270 rm -rf conftest*
13271 eval "ac_cv_lib_$ac_lib_var=no"
13272 fi
13273 rm -f conftest*
13274 LIBS="$ac_save_LIBS"
13275
13276 fi
13277 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13278 echo "$ac_t""yes" 1>&6
13279
13280 cat >> confdefs.h <<\EOF
13281 #define HAVE_NANOSLEEP 1
13282 EOF
13283
13284 POSIX4_LINK="-lposix4"
13285
13286 else
13287 echo "$ac_t""no" 1>&6
13288
13289 for ac_func in usleep
13290 do
13291 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13292 echo "configure:13293: checking for $ac_func" >&5
13293 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13294 echo $ac_n "(cached) $ac_c" 1>&6
13295 else
13296 cat > conftest.$ac_ext <<EOF
13297 #line 13298 "configure"
13298 #include "confdefs.h"
13299 /* System header to define __stub macros and hopefully few prototypes,
13300 which can conflict with char $ac_func(); below. */
13301 #include <assert.h>
13302 /* Override any gcc2 internal prototype to avoid an error. */
13303 /* We use char because int might match the return type of a gcc2
13304 builtin and then its argument prototype would still apply. */
13305 char $ac_func();
13306
13307 int main() {
13308
13309 /* The GNU C library defines this for functions which it implements
13310 to always fail with ENOSYS. Some functions are actually named
13311 something starting with __ and the normal name is an alias. */
13312 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13313 choke me
13314 #else
13315 $ac_func();
13316 #endif
13317
13318 ; return 0; }
13319 EOF
13320 if { (eval echo configure:13321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13321 rm -rf conftest*
13322 eval "ac_cv_func_$ac_func=yes"
13323 else
13324 echo "configure: failed program was:" >&5
13325 cat conftest.$ac_ext >&5
13326 rm -rf conftest*
13327 eval "ac_cv_func_$ac_func=no"
13328 fi
13329 rm -f conftest*
13330 fi
13331
13332 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13333 echo "$ac_t""yes" 1>&6
13334 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13335 cat >> confdefs.h <<EOF
13336 #define $ac_tr_func 1
13337 EOF
13338 cat >> confdefs.h <<\EOF
13339 #define HAVE_USLEEP 1
13340 EOF
13341
13342 else
13343 echo "$ac_t""no" 1>&6
13344 echo "configure: warning: wxSleep() function will not work" 1>&2
13345
13346 fi
13347 done
13348
13349
13350
13351 fi
13352
13353
13354
13355 fi
13356 done
13357
13358 fi
13359
13360 for ac_func in uname gethostname
13361 do
13362 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13363 echo "configure:13364: checking for $ac_func" >&5
13364 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13365 echo $ac_n "(cached) $ac_c" 1>&6
13366 else
13367 cat > conftest.$ac_ext <<EOF
13368 #line 13369 "configure"
13369 #include "confdefs.h"
13370 /* System header to define __stub macros and hopefully few prototypes,
13371 which can conflict with char $ac_func(); below. */
13372 #include <assert.h>
13373 /* Override any gcc2 internal prototype to avoid an error. */
13374 /* We use char because int might match the return type of a gcc2
13375 builtin and then its argument prototype would still apply. */
13376 char $ac_func();
13377
13378 int main() {
13379
13380 /* The GNU C library defines this for functions which it implements
13381 to always fail with ENOSYS. Some functions are actually named
13382 something starting with __ and the normal name is an alias. */
13383 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13384 choke me
13385 #else
13386 $ac_func();
13387 #endif
13388
13389 ; return 0; }
13390 EOF
13391 if { (eval echo configure:13392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13392 rm -rf conftest*
13393 eval "ac_cv_func_$ac_func=yes"
13394 else
13395 echo "configure: failed program was:" >&5
13396 cat conftest.$ac_ext >&5
13397 rm -rf conftest*
13398 eval "ac_cv_func_$ac_func=no"
13399 fi
13400 rm -f conftest*
13401 fi
13402
13403 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13404 echo "$ac_t""yes" 1>&6
13405 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13406 cat >> confdefs.h <<EOF
13407 #define $ac_tr_func 1
13408 EOF
13409 break
13410 else
13411 echo "$ac_t""no" 1>&6
13412 fi
13413 done
13414
13415
13416
13417 ac_ext=C
13418 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13419 ac_cpp='$CXXCPP $CPPFLAGS'
13420 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13421 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13422 cross_compiling=$ac_cv_prog_cxx_cross
13423
13424
13425 for ac_func in strtok_r
13426 do
13427 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13428 echo "configure:13429: checking for $ac_func" >&5
13429 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13430 echo $ac_n "(cached) $ac_c" 1>&6
13431 else
13432 cat > conftest.$ac_ext <<EOF
13433 #line 13434 "configure"
13434 #include "confdefs.h"
13435 /* System header to define __stub macros and hopefully few prototypes,
13436 which can conflict with char $ac_func(); below. */
13437 #include <assert.h>
13438 /* Override any gcc2 internal prototype to avoid an error. */
13439 #ifdef __cplusplus
13440 extern "C"
13441 #endif
13442 /* We use char because int might match the return type of a gcc2
13443 builtin and then its argument prototype would still apply. */
13444 char $ac_func();
13445
13446 int main() {
13447
13448 /* The GNU C library defines this for functions which it implements
13449 to always fail with ENOSYS. Some functions are actually named
13450 something starting with __ and the normal name is an alias. */
13451 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13452 choke me
13453 #else
13454 $ac_func();
13455 #endif
13456
13457 ; return 0; }
13458 EOF
13459 if { (eval echo configure:13460: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13460 rm -rf conftest*
13461 eval "ac_cv_func_$ac_func=yes"
13462 else
13463 echo "configure: failed program was:" >&5
13464 cat conftest.$ac_ext >&5
13465 rm -rf conftest*
13466 eval "ac_cv_func_$ac_func=no"
13467 fi
13468 rm -f conftest*
13469 fi
13470
13471 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13472 echo "$ac_t""yes" 1>&6
13473 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13474 cat >> confdefs.h <<EOF
13475 #define $ac_tr_func 1
13476 EOF
13477
13478 else
13479 echo "$ac_t""no" 1>&6
13480 fi
13481 done
13482
13483
13484 ac_ext=c
13485 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13486 ac_cpp='$CPP $CPPFLAGS'
13487 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13488 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13489 cross_compiling=$ac_cv_prog_cc_cross
13490
13491
13492 INET_LINK=
13493 for ac_func in inet_addr
13494 do
13495 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13496 echo "configure:13497: checking for $ac_func" >&5
13497 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13498 echo $ac_n "(cached) $ac_c" 1>&6
13499 else
13500 cat > conftest.$ac_ext <<EOF
13501 #line 13502 "configure"
13502 #include "confdefs.h"
13503 /* System header to define __stub macros and hopefully few prototypes,
13504 which can conflict with char $ac_func(); below. */
13505 #include <assert.h>
13506 /* Override any gcc2 internal prototype to avoid an error. */
13507 /* We use char because int might match the return type of a gcc2
13508 builtin and then its argument prototype would still apply. */
13509 char $ac_func();
13510
13511 int main() {
13512
13513 /* The GNU C library defines this for functions which it implements
13514 to always fail with ENOSYS. Some functions are actually named
13515 something starting with __ and the normal name is an alias. */
13516 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13517 choke me
13518 #else
13519 $ac_func();
13520 #endif
13521
13522 ; return 0; }
13523 EOF
13524 if { (eval echo configure:13525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13525 rm -rf conftest*
13526 eval "ac_cv_func_$ac_func=yes"
13527 else
13528 echo "configure: failed program was:" >&5
13529 cat conftest.$ac_ext >&5
13530 rm -rf conftest*
13531 eval "ac_cv_func_$ac_func=no"
13532 fi
13533 rm -f conftest*
13534 fi
13535
13536 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13537 echo "$ac_t""yes" 1>&6
13538 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13539 cat >> confdefs.h <<EOF
13540 #define $ac_tr_func 1
13541 EOF
13542 cat >> confdefs.h <<\EOF
13543 #define HAVE_INET_ADDR 1
13544 EOF
13545
13546 else
13547 echo "$ac_t""no" 1>&6
13548 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
13549 echo "configure:13550: checking for inet_addr in -lnsl" >&5
13550 ac_lib_var=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
13551 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13552 echo $ac_n "(cached) $ac_c" 1>&6
13553 else
13554 ac_save_LIBS="$LIBS"
13555 LIBS="-lnsl $LIBS"
13556 cat > conftest.$ac_ext <<EOF
13557 #line 13558 "configure"
13558 #include "confdefs.h"
13559 /* Override any gcc2 internal prototype to avoid an error. */
13560 /* We use char because int might match the return type of a gcc2
13561 builtin and then its argument prototype would still apply. */
13562 char inet_addr();
13563
13564 int main() {
13565 inet_addr()
13566 ; return 0; }
13567 EOF
13568 if { (eval echo configure:13569: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13569 rm -rf conftest*
13570 eval "ac_cv_lib_$ac_lib_var=yes"
13571 else
13572 echo "configure: failed program was:" >&5
13573 cat conftest.$ac_ext >&5
13574 rm -rf conftest*
13575 eval "ac_cv_lib_$ac_lib_var=no"
13576 fi
13577 rm -f conftest*
13578 LIBS="$ac_save_LIBS"
13579
13580 fi
13581 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13582 echo "$ac_t""yes" 1>&6
13583 INET_LINK="nsl"
13584 else
13585 echo "$ac_t""no" 1>&6
13586 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
13587 echo "configure:13588: checking for inet_addr in -lresolv" >&5
13588 ac_lib_var=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
13589 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13590 echo $ac_n "(cached) $ac_c" 1>&6
13591 else
13592 ac_save_LIBS="$LIBS"
13593 LIBS="-lresolv $LIBS"
13594 cat > conftest.$ac_ext <<EOF
13595 #line 13596 "configure"
13596 #include "confdefs.h"
13597 /* Override any gcc2 internal prototype to avoid an error. */
13598 /* We use char because int might match the return type of a gcc2
13599 builtin and then its argument prototype would still apply. */
13600 char inet_addr();
13601
13602 int main() {
13603 inet_addr()
13604 ; return 0; }
13605 EOF
13606 if { (eval echo configure:13607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13607 rm -rf conftest*
13608 eval "ac_cv_lib_$ac_lib_var=yes"
13609 else
13610 echo "configure: failed program was:" >&5
13611 cat conftest.$ac_ext >&5
13612 rm -rf conftest*
13613 eval "ac_cv_lib_$ac_lib_var=no"
13614 fi
13615 rm -f conftest*
13616 LIBS="$ac_save_LIBS"
13617
13618 fi
13619 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13620 echo "$ac_t""yes" 1>&6
13621 INET_LINK="resolv"
13622
13623 else
13624 echo "$ac_t""no" 1>&6
13625 fi
13626
13627
13628 fi
13629
13630
13631
13632 fi
13633 done
13634
13635
13636 for ac_func in inet_aton
13637 do
13638 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13639 echo "configure:13640: checking for $ac_func" >&5
13640 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13641 echo $ac_n "(cached) $ac_c" 1>&6
13642 else
13643 cat > conftest.$ac_ext <<EOF
13644 #line 13645 "configure"
13645 #include "confdefs.h"
13646 /* System header to define __stub macros and hopefully few prototypes,
13647 which can conflict with char $ac_func(); below. */
13648 #include <assert.h>
13649 /* Override any gcc2 internal prototype to avoid an error. */
13650 /* We use char because int might match the return type of a gcc2
13651 builtin and then its argument prototype would still apply. */
13652 char $ac_func();
13653
13654 int main() {
13655
13656 /* The GNU C library defines this for functions which it implements
13657 to always fail with ENOSYS. Some functions are actually named
13658 something starting with __ and the normal name is an alias. */
13659 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13660 choke me
13661 #else
13662 $ac_func();
13663 #endif
13664
13665 ; return 0; }
13666 EOF
13667 if { (eval echo configure:13668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13668 rm -rf conftest*
13669 eval "ac_cv_func_$ac_func=yes"
13670 else
13671 echo "configure: failed program was:" >&5
13672 cat conftest.$ac_ext >&5
13673 rm -rf conftest*
13674 eval "ac_cv_func_$ac_func=no"
13675 fi
13676 rm -f conftest*
13677 fi
13678
13679 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13680 echo "$ac_t""yes" 1>&6
13681 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13682 cat >> confdefs.h <<EOF
13683 #define $ac_tr_func 1
13684 EOF
13685 cat >> confdefs.h <<\EOF
13686 #define HAVE_INET_ATON 1
13687 EOF
13688
13689 else
13690 echo "$ac_t""no" 1>&6
13691 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
13692 echo "configure:13693: checking for inet_aton in -l$INET_LINK" >&5
13693 ac_lib_var=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
13694 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13695 echo $ac_n "(cached) $ac_c" 1>&6
13696 else
13697 ac_save_LIBS="$LIBS"
13698 LIBS="-l$INET_LINK $LIBS"
13699 cat > conftest.$ac_ext <<EOF
13700 #line 13701 "configure"
13701 #include "confdefs.h"
13702 /* Override any gcc2 internal prototype to avoid an error. */
13703 /* We use char because int might match the return type of a gcc2
13704 builtin and then its argument prototype would still apply. */
13705 char inet_aton();
13706
13707 int main() {
13708 inet_aton()
13709 ; return 0; }
13710 EOF
13711 if { (eval echo configure:13712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13712 rm -rf conftest*
13713 eval "ac_cv_lib_$ac_lib_var=yes"
13714 else
13715 echo "configure: failed program was:" >&5
13716 cat conftest.$ac_ext >&5
13717 rm -rf conftest*
13718 eval "ac_cv_lib_$ac_lib_var=no"
13719 fi
13720 rm -f conftest*
13721 LIBS="$ac_save_LIBS"
13722
13723 fi
13724 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13725 echo "$ac_t""yes" 1>&6
13726 cat >> confdefs.h <<\EOF
13727 #define HAVE_INET_ATON 1
13728 EOF
13729
13730 else
13731 echo "$ac_t""no" 1>&6
13732 fi
13733
13734
13735 fi
13736 done
13737
13738
13739 if test "x$INET_LINK" != "x"; then
13740 cat >> confdefs.h <<\EOF
13741 #define HAVE_INET_ADDR 1
13742 EOF
13743
13744 INET_LINK="-l$INET_LINK"
13745 fi
13746
13747 fi
13748
13749
13750 cat > confcache <<\EOF
13751 # This file is a shell script that caches the results of configure
13752 # tests run on this system so they can be shared between configure
13753 # scripts and configure runs. It is not useful on other systems.
13754 # If it contains results you don't want to keep, you may remove or edit it.
13755 #
13756 # By default, configure uses ./config.cache as the cache file,
13757 # creating it if it does not exist already. You can give configure
13758 # the --cache-file=FILE option to use a different cache file; that is
13759 # what configure does when it calls configure scripts in
13760 # subdirectories, so they share the cache.
13761 # Giving --cache-file=/dev/null disables caching, for debugging configure.
13762 # config.status only pays attention to the cache file if you give it the
13763 # --recheck option to rerun configure.
13764 #
13765 EOF
13766 # The following way of writing the cache mishandles newlines in values,
13767 # but we know of no workaround that is simple, portable, and efficient.
13768 # So, don't put newlines in cache variables' values.
13769 # Ultrix sh set writes to stderr and can't be redirected directly,
13770 # and sets the high bit in the cache file unless we assign to the vars.
13771 (set) 2>&1 |
13772 case `(ac_space=' '; set | grep ac_space) 2>&1` in
13773 *ac_space=\ *)
13774 # `set' does not quote correctly, so add quotes (double-quote substitution
13775 # turns \\\\ into \\, and sed turns \\ into \).
13776 sed -n \
13777 -e "s/'/'\\\\''/g" \
13778 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
13779 ;;
13780 *)
13781 # `set' quotes correctly as required by POSIX, so do not add quotes.
13782 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
13783 ;;
13784 esac >> confcache
13785 if cmp -s $cache_file confcache; then
13786 :
13787 else
13788 if test -w $cache_file; then
13789 echo "updating cache $cache_file"
13790 cat confcache > $cache_file
13791 else
13792 echo "not updating unwritable cache $cache_file"
13793 fi
13794 fi
13795 rm -f confcache
13796
13797
13798
13799 if test "$TOOLKIT" != "MSW"; then
13800
13801
13802 THREADS_LINK=""
13803 THREADS_OBJ=""
13804
13805 if test "$wxUSE_THREADS" = "yes" ; then
13806 if test "$wxUSE_WINE" = 1 ; then
13807 echo "configure: warning: Threads are not supported under WINE" 1>&2
13808 wxUSE_THREADS="no"
13809 elif test "$USE_BEOS" = 1; then
13810 echo "configure: warning: BeOS threads are not yet supported" 1>&2
13811 wxUSE_THREADS="no"
13812 fi
13813 fi
13814
13815 if test "$wxUSE_THREADS" = "yes" ; then
13816
13817 if test "$USE_AIX" = 1; then
13818 THREADS_LIB=pthreads
13819 else
13820 THREADS_LIB=pthread
13821 fi
13822
13823 echo $ac_n "checking for pthread_create in -l$THREADS_LIB""... $ac_c" 1>&6
13824 echo "configure:13825: checking for pthread_create in -l$THREADS_LIB" >&5
13825 ac_lib_var=`echo $THREADS_LIB'_'pthread_create | sed 'y%./+-%__p_%'`
13826 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13827 echo $ac_n "(cached) $ac_c" 1>&6
13828 else
13829 ac_save_LIBS="$LIBS"
13830 LIBS="-l$THREADS_LIB $LIBS"
13831 cat > conftest.$ac_ext <<EOF
13832 #line 13833 "configure"
13833 #include "confdefs.h"
13834 /* Override any gcc2 internal prototype to avoid an error. */
13835 /* We use char because int might match the return type of a gcc2
13836 builtin and then its argument prototype would still apply. */
13837 char pthread_create();
13838
13839 int main() {
13840 pthread_create()
13841 ; return 0; }
13842 EOF
13843 if { (eval echo configure:13844: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13844 rm -rf conftest*
13845 eval "ac_cv_lib_$ac_lib_var=yes"
13846 else
13847 echo "configure: failed program was:" >&5
13848 cat conftest.$ac_ext >&5
13849 rm -rf conftest*
13850 eval "ac_cv_lib_$ac_lib_var=no"
13851 fi
13852 rm -f conftest*
13853 LIBS="$ac_save_LIBS"
13854
13855 fi
13856 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13857 echo "$ac_t""yes" 1>&6
13858
13859 THREADS_OBJ="threadpsx.lo"
13860 THREADS_LINK=$THREADS_LIB
13861
13862 else
13863 echo "$ac_t""no" 1>&6
13864
13865 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
13866 echo "configure:13867: checking for pthread_create in -lc_r" >&5
13867 ac_lib_var=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
13868 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13869 echo $ac_n "(cached) $ac_c" 1>&6
13870 else
13871 ac_save_LIBS="$LIBS"
13872 LIBS="-lc_r $LIBS"
13873 cat > conftest.$ac_ext <<EOF
13874 #line 13875 "configure"
13875 #include "confdefs.h"
13876 /* Override any gcc2 internal prototype to avoid an error. */
13877 /* We use char because int might match the return type of a gcc2
13878 builtin and then its argument prototype would still apply. */
13879 char pthread_create();
13880
13881 int main() {
13882 pthread_create()
13883 ; return 0; }
13884 EOF
13885 if { (eval echo configure:13886: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13886 rm -rf conftest*
13887 eval "ac_cv_lib_$ac_lib_var=yes"
13888 else
13889 echo "configure: failed program was:" >&5
13890 cat conftest.$ac_ext >&5
13891 rm -rf conftest*
13892 eval "ac_cv_lib_$ac_lib_var=no"
13893 fi
13894 rm -f conftest*
13895 LIBS="$ac_save_LIBS"
13896
13897 fi
13898 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13899 echo "$ac_t""yes" 1>&6
13900
13901 THREADS_OBJ="threadpsx.lo"
13902 THREADS_LINK="c_r"
13903
13904 else
13905 echo "$ac_t""no" 1>&6
13906
13907 ac_safe=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
13908 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
13909 echo "configure:13910: checking for sys/prctl.h" >&5
13910 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13911 echo $ac_n "(cached) $ac_c" 1>&6
13912 else
13913 cat > conftest.$ac_ext <<EOF
13914 #line 13915 "configure"
13915 #include "confdefs.h"
13916 #include <sys/prctl.h>
13917 EOF
13918 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13919 { (eval echo configure:13920: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13920 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13921 if test -z "$ac_err"; then
13922 rm -rf conftest*
13923 eval "ac_cv_header_$ac_safe=yes"
13924 else
13925 echo "$ac_err" >&5
13926 echo "configure: failed program was:" >&5
13927 cat conftest.$ac_ext >&5
13928 rm -rf conftest*
13929 eval "ac_cv_header_$ac_safe=no"
13930 fi
13931 rm -f conftest*
13932 fi
13933 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13934 echo "$ac_t""yes" 1>&6
13935
13936 THREADS_OBJ="threadsgi.lo"
13937
13938 else
13939 echo "$ac_t""no" 1>&6
13940 fi
13941
13942
13943 fi
13944
13945
13946 fi
13947
13948
13949 if test -z "$THREADS_OBJ" ; then
13950 wxUSE_THREADS=no
13951 echo "configure: warning: No thread support on this system" 1>&2
13952 fi
13953 fi
13954
13955 if test "$wxUSE_THREADS" = "yes" ; then
13956 for ac_func in thr_setconcurrency
13957 do
13958 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13959 echo "configure:13960: checking for $ac_func" >&5
13960 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13961 echo $ac_n "(cached) $ac_c" 1>&6
13962 else
13963 cat > conftest.$ac_ext <<EOF
13964 #line 13965 "configure"
13965 #include "confdefs.h"
13966 /* System header to define __stub macros and hopefully few prototypes,
13967 which can conflict with char $ac_func(); below. */
13968 #include <assert.h>
13969 /* Override any gcc2 internal prototype to avoid an error. */
13970 /* We use char because int might match the return type of a gcc2
13971 builtin and then its argument prototype would still apply. */
13972 char $ac_func();
13973
13974 int main() {
13975
13976 /* The GNU C library defines this for functions which it implements
13977 to always fail with ENOSYS. Some functions are actually named
13978 something starting with __ and the normal name is an alias. */
13979 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13980 choke me
13981 #else
13982 $ac_func();
13983 #endif
13984
13985 ; return 0; }
13986 EOF
13987 if { (eval echo configure:13988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13988 rm -rf conftest*
13989 eval "ac_cv_func_$ac_func=yes"
13990 else
13991 echo "configure: failed program was:" >&5
13992 cat conftest.$ac_ext >&5
13993 rm -rf conftest*
13994 eval "ac_cv_func_$ac_func=no"
13995 fi
13996 rm -f conftest*
13997 fi
13998
13999 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14000 echo "$ac_t""yes" 1>&6
14001 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14002 cat >> confdefs.h <<EOF
14003 #define $ac_tr_func 1
14004 EOF
14005
14006 else
14007 echo "$ac_t""no" 1>&6
14008 fi
14009 done
14010
14011
14012
14013 for ac_hdr in sched.h
14014 do
14015 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
14016 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
14017 echo "configure:14018: checking for $ac_hdr" >&5
14018 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14019 echo $ac_n "(cached) $ac_c" 1>&6
14020 else
14021 cat > conftest.$ac_ext <<EOF
14022 #line 14023 "configure"
14023 #include "confdefs.h"
14024 #include <$ac_hdr>
14025 EOF
14026 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14027 { (eval echo configure:14028: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14028 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14029 if test -z "$ac_err"; then
14030 rm -rf conftest*
14031 eval "ac_cv_header_$ac_safe=yes"
14032 else
14033 echo "$ac_err" >&5
14034 echo "configure: failed program was:" >&5
14035 cat conftest.$ac_ext >&5
14036 rm -rf conftest*
14037 eval "ac_cv_header_$ac_safe=no"
14038 fi
14039 rm -f conftest*
14040 fi
14041 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14042 echo "$ac_t""yes" 1>&6
14043 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
14044 cat >> confdefs.h <<EOF
14045 #define $ac_tr_hdr 1
14046 EOF
14047
14048 else
14049 echo "$ac_t""no" 1>&6
14050 fi
14051 done
14052
14053
14054 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
14055 echo "configure:14056: checking for sched_yield in -l$THREADS_LINK" >&5
14056 ac_lib_var=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
14057 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14058 echo $ac_n "(cached) $ac_c" 1>&6
14059 else
14060 ac_save_LIBS="$LIBS"
14061 LIBS="-l$THREADS_LINK $LIBS"
14062 cat > conftest.$ac_ext <<EOF
14063 #line 14064 "configure"
14064 #include "confdefs.h"
14065 /* Override any gcc2 internal prototype to avoid an error. */
14066 /* We use char because int might match the return type of a gcc2
14067 builtin and then its argument prototype would still apply. */
14068 char sched_yield();
14069
14070 int main() {
14071 sched_yield()
14072 ; return 0; }
14073 EOF
14074 if { (eval echo configure:14075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14075 rm -rf conftest*
14076 eval "ac_cv_lib_$ac_lib_var=yes"
14077 else
14078 echo "configure: failed program was:" >&5
14079 cat conftest.$ac_ext >&5
14080 rm -rf conftest*
14081 eval "ac_cv_lib_$ac_lib_var=no"
14082 fi
14083 rm -f conftest*
14084 LIBS="$ac_save_LIBS"
14085
14086 fi
14087 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14088 echo "$ac_t""yes" 1>&6
14089 cat >> confdefs.h <<\EOF
14090 #define HAVE_SCHED_YIELD 1
14091 EOF
14092
14093 else
14094 echo "$ac_t""no" 1>&6
14095 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
14096 echo "configure:14097: checking for sched_yield in -lposix4" >&5
14097 ac_lib_var=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
14098 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14099 echo $ac_n "(cached) $ac_c" 1>&6
14100 else
14101 ac_save_LIBS="$LIBS"
14102 LIBS="-lposix4 $LIBS"
14103 cat > conftest.$ac_ext <<EOF
14104 #line 14105 "configure"
14105 #include "confdefs.h"
14106 /* Override any gcc2 internal prototype to avoid an error. */
14107 /* We use char because int might match the return type of a gcc2
14108 builtin and then its argument prototype would still apply. */
14109 char sched_yield();
14110
14111 int main() {
14112 sched_yield()
14113 ; return 0; }
14114 EOF
14115 if { (eval echo configure:14116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14116 rm -rf conftest*
14117 eval "ac_cv_lib_$ac_lib_var=yes"
14118 else
14119 echo "configure: failed program was:" >&5
14120 cat conftest.$ac_ext >&5
14121 rm -rf conftest*
14122 eval "ac_cv_lib_$ac_lib_var=no"
14123 fi
14124 rm -f conftest*
14125 LIBS="$ac_save_LIBS"
14126
14127 fi
14128 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14129 echo "$ac_t""yes" 1>&6
14130 cat >> confdefs.h <<\EOF
14131 #define HAVE_SCHED_YIELD 1
14132 EOF
14133 POSIX4_LINK="-lposix4"
14134 else
14135 echo "$ac_t""no" 1>&6
14136 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
14137
14138 fi
14139
14140
14141 fi
14142
14143
14144 HAVE_PRIOR_FUNCS=0
14145 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
14146 echo "configure:14147: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
14147 ac_lib_var=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
14148 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14149 echo $ac_n "(cached) $ac_c" 1>&6
14150 else
14151 ac_save_LIBS="$LIBS"
14152 LIBS="-l$THREADS_LINK $LIBS"
14153 cat > conftest.$ac_ext <<EOF
14154 #line 14155 "configure"
14155 #include "confdefs.h"
14156 /* Override any gcc2 internal prototype to avoid an error. */
14157 /* We use char because int might match the return type of a gcc2
14158 builtin and then its argument prototype would still apply. */
14159 char pthread_attr_getschedpolicy();
14160
14161 int main() {
14162 pthread_attr_getschedpolicy()
14163 ; return 0; }
14164 EOF
14165 if { (eval echo configure:14166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14166 rm -rf conftest*
14167 eval "ac_cv_lib_$ac_lib_var=yes"
14168 else
14169 echo "configure: failed program was:" >&5
14170 cat conftest.$ac_ext >&5
14171 rm -rf conftest*
14172 eval "ac_cv_lib_$ac_lib_var=no"
14173 fi
14174 rm -f conftest*
14175 LIBS="$ac_save_LIBS"
14176
14177 fi
14178 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14179 echo "$ac_t""yes" 1>&6
14180 echo $ac_n "checking for pthread_attr_setschedparam in -l$THREADS_LINK""... $ac_c" 1>&6
14181 echo "configure:14182: checking for pthread_attr_setschedparam in -l$THREADS_LINK" >&5
14182 ac_lib_var=`echo $THREADS_LINK'_'pthread_attr_setschedparam | sed 'y%./+-%__p_%'`
14183 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14184 echo $ac_n "(cached) $ac_c" 1>&6
14185 else
14186 ac_save_LIBS="$LIBS"
14187 LIBS="-l$THREADS_LINK $LIBS"
14188 cat > conftest.$ac_ext <<EOF
14189 #line 14190 "configure"
14190 #include "confdefs.h"
14191 /* Override any gcc2 internal prototype to avoid an error. */
14192 /* We use char because int might match the return type of a gcc2
14193 builtin and then its argument prototype would still apply. */
14194 char pthread_attr_setschedparam();
14195
14196 int main() {
14197 pthread_attr_setschedparam()
14198 ; return 0; }
14199 EOF
14200 if { (eval echo configure:14201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14201 rm -rf conftest*
14202 eval "ac_cv_lib_$ac_lib_var=yes"
14203 else
14204 echo "configure: failed program was:" >&5
14205 cat conftest.$ac_ext >&5
14206 rm -rf conftest*
14207 eval "ac_cv_lib_$ac_lib_var=no"
14208 fi
14209 rm -f conftest*
14210 LIBS="$ac_save_LIBS"
14211
14212 fi
14213 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14214 echo "$ac_t""yes" 1>&6
14215 echo $ac_n "checking for sched_get_priority_max in -l$THREADS_LINK""... $ac_c" 1>&6
14216 echo "configure:14217: checking for sched_get_priority_max in -l$THREADS_LINK" >&5
14217 ac_lib_var=`echo $THREADS_LINK'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
14218 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14219 echo $ac_n "(cached) $ac_c" 1>&6
14220 else
14221 ac_save_LIBS="$LIBS"
14222 LIBS="-l$THREADS_LINK $LIBS"
14223 cat > conftest.$ac_ext <<EOF
14224 #line 14225 "configure"
14225 #include "confdefs.h"
14226 /* Override any gcc2 internal prototype to avoid an error. */
14227 /* We use char because int might match the return type of a gcc2
14228 builtin and then its argument prototype would still apply. */
14229 char sched_get_priority_max();
14230
14231 int main() {
14232 sched_get_priority_max()
14233 ; return 0; }
14234 EOF
14235 if { (eval echo configure:14236: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14236 rm -rf conftest*
14237 eval "ac_cv_lib_$ac_lib_var=yes"
14238 else
14239 echo "configure: failed program was:" >&5
14240 cat conftest.$ac_ext >&5
14241 rm -rf conftest*
14242 eval "ac_cv_lib_$ac_lib_var=no"
14243 fi
14244 rm -f conftest*
14245 LIBS="$ac_save_LIBS"
14246
14247 fi
14248 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14249 echo "$ac_t""yes" 1>&6
14250 HAVE_PRIOR_FUNCS=1
14251 else
14252 echo "$ac_t""no" 1>&6
14253 echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
14254 echo "configure:14255: checking for sched_get_priority_max in -lposix4" >&5
14255 ac_lib_var=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
14256 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14257 echo $ac_n "(cached) $ac_c" 1>&6
14258 else
14259 ac_save_LIBS="$LIBS"
14260 LIBS="-lposix4 $LIBS"
14261 cat > conftest.$ac_ext <<EOF
14262 #line 14263 "configure"
14263 #include "confdefs.h"
14264 /* Override any gcc2 internal prototype to avoid an error. */
14265 /* We use char because int might match the return type of a gcc2
14266 builtin and then its argument prototype would still apply. */
14267 char sched_get_priority_max();
14268
14269 int main() {
14270 sched_get_priority_max()
14271 ; return 0; }
14272 EOF
14273 if { (eval echo configure:14274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14274 rm -rf conftest*
14275 eval "ac_cv_lib_$ac_lib_var=yes"
14276 else
14277 echo "configure: failed program was:" >&5
14278 cat conftest.$ac_ext >&5
14279 rm -rf conftest*
14280 eval "ac_cv_lib_$ac_lib_var=no"
14281 fi
14282 rm -f conftest*
14283 LIBS="$ac_save_LIBS"
14284
14285 fi
14286 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14287 echo "$ac_t""yes" 1>&6
14288
14289 HAVE_PRIOR_FUNCS=1
14290 POSIX4_LINK="-lposix4"
14291
14292 else
14293 echo "$ac_t""no" 1>&6
14294 fi
14295
14296
14297 fi
14298
14299
14300 else
14301 echo "$ac_t""no" 1>&6
14302 fi
14303
14304
14305 else
14306 echo "$ac_t""no" 1>&6
14307 fi
14308
14309
14310 if test "$HAVE_PRIOR_FUNCS" = 1; then
14311 cat >> confdefs.h <<\EOF
14312 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
14313 EOF
14314
14315 else
14316 echo "configure: warning: Setting thread priority will not work" 1>&2
14317 fi
14318
14319 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
14320 echo "configure:14321: checking for pthread_cancel in -l$THREADS_LINK" >&5
14321 ac_lib_var=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
14322 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14323 echo $ac_n "(cached) $ac_c" 1>&6
14324 else
14325 ac_save_LIBS="$LIBS"
14326 LIBS="-l$THREADS_LINK $LIBS"
14327 cat > conftest.$ac_ext <<EOF
14328 #line 14329 "configure"
14329 #include "confdefs.h"
14330 /* Override any gcc2 internal prototype to avoid an error. */
14331 /* We use char because int might match the return type of a gcc2
14332 builtin and then its argument prototype would still apply. */
14333 char pthread_cancel();
14334
14335 int main() {
14336 pthread_cancel()
14337 ; return 0; }
14338 EOF
14339 if { (eval echo configure:14340: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14340 rm -rf conftest*
14341 eval "ac_cv_lib_$ac_lib_var=yes"
14342 else
14343 echo "configure: failed program was:" >&5
14344 cat conftest.$ac_ext >&5
14345 rm -rf conftest*
14346 eval "ac_cv_lib_$ac_lib_var=no"
14347 fi
14348 rm -f conftest*
14349 LIBS="$ac_save_LIBS"
14350
14351 fi
14352 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14353 echo "$ac_t""yes" 1>&6
14354 cat >> confdefs.h <<\EOF
14355 #define HAVE_PTHREAD_CANCEL 1
14356 EOF
14357
14358 else
14359 echo "$ac_t""no" 1>&6
14360 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
14361 fi
14362
14363
14364 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
14365 echo "configure:14366: checking for pthread_cleanup_push/pop" >&5
14366 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
14367 echo $ac_n "(cached) $ac_c" 1>&6
14368 else
14369
14370 cat > conftest.$ac_ext <<EOF
14371 #line 14372 "configure"
14372 #include "confdefs.h"
14373 #include <pthread.h>
14374 int main() {
14375
14376 pthread_cleanup_push(NULL, NULL);
14377 pthread_cleanup_pop(0);
14378
14379 ; return 0; }
14380 EOF
14381 if { (eval echo configure:14382: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14382 rm -rf conftest*
14383
14384 wx_cv_func_pthread_cleanup_push=yes
14385
14386 else
14387 echo "configure: failed program was:" >&5
14388 cat conftest.$ac_ext >&5
14389 rm -rf conftest*
14390
14391 wx_cv_func_pthread_cleanup_push=no
14392
14393 fi
14394 rm -f conftest*
14395
14396 fi
14397
14398 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
14399
14400 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
14401 cat >> confdefs.h <<\EOF
14402 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
14403 EOF
14404
14405 fi
14406
14407
14408 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
14409 echo "configure:14410: checking for pthread_mutexattr_t" >&5
14410 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
14411 echo $ac_n "(cached) $ac_c" 1>&6
14412 else
14413
14414 cat > conftest.$ac_ext <<EOF
14415 #line 14416 "configure"
14416 #include "confdefs.h"
14417 #include <pthread.h>
14418 int main() {
14419
14420 pthread_mutexattr_t attr;
14421 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
14422
14423 ; return 0; }
14424 EOF
14425 if { (eval echo configure:14426: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14426 rm -rf conftest*
14427
14428 wx_cv_type_pthread_mutexattr_t=yes
14429
14430 else
14431 echo "configure: failed program was:" >&5
14432 cat conftest.$ac_ext >&5
14433 rm -rf conftest*
14434
14435 wx_cv_type_pthread_mutexattr_t=no
14436
14437
14438 fi
14439 rm -f conftest*
14440
14441 fi
14442
14443 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
14444
14445 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
14446 cat >> confdefs.h <<\EOF
14447 #define HAVE_PTHREAD_MUTEXATTR_T 1
14448 EOF
14449
14450 else
14451 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
14452 echo "configure:14453: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
14453 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
14454 echo $ac_n "(cached) $ac_c" 1>&6
14455 else
14456
14457 cat > conftest.$ac_ext <<EOF
14458 #line 14459 "configure"
14459 #include "confdefs.h"
14460 #include <pthread.h>
14461 int main() {
14462
14463 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
14464
14465 ; return 0; }
14466 EOF
14467 if { (eval echo configure:14468: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14468 rm -rf conftest*
14469
14470 wx_cv_type_pthread_rec_mutex_init=yes
14471
14472 else
14473 echo "configure: failed program was:" >&5
14474 cat conftest.$ac_ext >&5
14475 rm -rf conftest*
14476
14477 wx_cv_type_pthread_rec_mutex_init=no
14478
14479
14480 fi
14481 rm -f conftest*
14482
14483 fi
14484
14485 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
14486 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
14487 cat >> confdefs.h <<\EOF
14488 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
14489 EOF
14490
14491 else
14492 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
14493 fi
14494 fi
14495
14496 THREADS_LINK="-l$THREADS_LINK"
14497
14498 if test "$USE_SOLARIS" = "yes" -a "$GCC" != "yes"; then
14499 CFLAGS="${CFLAGS} -mt"
14500 CXXFLAGS="${CXXFLAGS} -mt"
14501 LDFLAGS="${LDFLAGS} -mt"
14502 fi
14503 fi
14504
14505 fi
14506
14507 if test "$wxUSE_THREADS" = "yes"; then
14508 cat >> confdefs.h <<\EOF
14509 #define wxUSE_THREADS 1
14510 EOF
14511
14512
14513 if test "$wxUSE_MAC" = "0"; then
14514 CFLAGS="${CFLAGS} -D_REENTRANT"
14515 CXXFLAGS="${CXXFLAGS} -D_REENTRANT"
14516 fi
14517
14518 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
14519 else
14520 if test "$ac_cv_func_strtok_r" = "yes"; then
14521 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
14522 echo "configure:14523: checking if -D_REENTRANT is needed" >&5
14523 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
14524 CFLAGS="${CFLAGS} -D_REENTRANT"
14525 CXXFLAGS="${CXXFLAGS} -D_REENTRANT"
14526 echo "$ac_t""yes" 1>&6
14527 else
14528 echo "$ac_t""no" 1>&6
14529 fi
14530 fi
14531 fi
14532
14533 if test "$WXGTK20" = 1 ; then
14534 cat >> confdefs.h <<EOF
14535 #define __WXGTK20__ $WXGTK20
14536 EOF
14537
14538 WXGTK12=1
14539 fi
14540
14541 if test "$WXGTK12" = 1 ; then
14542 cat >> confdefs.h <<EOF
14543 #define __WXGTK12__ $WXGTK12
14544 EOF
14545
14546 fi
14547
14548 if test "$WXGTK127" = 1 ; then
14549 cat >> confdefs.h <<EOF
14550 #define __WXGTK127__ $WXGTK127
14551 EOF
14552
14553 fi
14554
14555 if test "$WXWINE" = 1 ; then
14556 TOOLKIT_DEF="${TOOLKIT_DEF} -D__WXWINE__"
14557 fi
14558
14559 if test "$wxUSE_MAC" = 1 ; then
14560 TOOLKIT_DEF="${TOOLKIT_DEF} -D__UNIX__ -D__POWERPC__ -DTARGET_CARBON"
14561 CFLAGS="${CFLAGS} -fno-common -fpascal-strings"
14562 CPPFLAGS="${CPPFLAGS} -cpp-precomp -fno-common -fpascal-strings"
14563 # Extract the first word of "Rez", so it can be a program name with args.
14564 set dummy Rez; ac_word=$2
14565 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14566 echo "configure:14567: checking for $ac_word" >&5
14567 if eval "test \"`echo '$''{'ac_cv_prog_REZ'+set}'`\" = set"; then
14568 echo $ac_n "(cached) $ac_c" 1>&6
14569 else
14570 if test -n "$REZ"; then
14571 ac_cv_prog_REZ="$REZ" # Let the user override the test.
14572 else
14573 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
14574 ac_dummy="$PATH"
14575 for ac_dir in $ac_dummy; do
14576 test -z "$ac_dir" && ac_dir=.
14577 if test -f $ac_dir/$ac_word; then
14578 ac_cv_prog_REZ="Rez"
14579 break
14580 fi
14581 done
14582 IFS="$ac_save_ifs"
14583 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
14584 fi
14585 fi
14586 REZ="$ac_cv_prog_REZ"
14587 if test -n "$REZ"; then
14588 echo "$ac_t""$REZ" 1>&6
14589 else
14590 echo "$ac_t""no" 1>&6
14591 fi
14592
14593 # Extract the first word of "Derez", so it can be a program name with args.
14594 set dummy Derez; ac_word=$2
14595 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14596 echo "configure:14597: checking for $ac_word" >&5
14597 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
14598 echo $ac_n "(cached) $ac_c" 1>&6
14599 else
14600 if test -n "$DEREZ"; then
14601 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
14602 else
14603 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
14604 ac_dummy="$PATH"
14605 for ac_dir in $ac_dummy; do
14606 test -z "$ac_dir" && ac_dir=.
14607 if test -f $ac_dir/$ac_word; then
14608 ac_cv_prog_DEREZ="Derez"
14609 break
14610 fi
14611 done
14612 IFS="$ac_save_ifs"
14613 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/Derez"
14614 fi
14615 fi
14616 DEREZ="$ac_cv_prog_DEREZ"
14617 if test -n "$DEREZ"; then
14618 echo "$ac_t""$DEREZ" 1>&6
14619 else
14620 echo "$ac_t""no" 1>&6
14621 fi
14622
14623 RESCOMP=${REZ}
14624 REZFLAGS="-d __UNIX__ -useDF"
14625 DEREZFLAGS="Carbon.r -useDF"
14626 RESFLAGS="Carbon.r -t APPL"
14627 LIBWXMACRES="\$(LIBWX_MACRES)"
14628 LIBWXMACRESCOMP="\$(LIBWX_MACRESCOMP)"
14629 fi
14630
14631 if test "$wxUSE_CYGWIN" = 1 ; then
14632 TOOLKIT_DEF="${TOOLKIT_DEF} -D__WIN95__"
14633 fi
14634
14635 WXDEBUG=
14636
14637 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
14638 WXDEBUG="-g"
14639 wxUSE_OPTIMISE=no
14640 fi
14641
14642 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
14643 wxUSE_DEBUG_INFO=yes
14644 WXDEBUG="-ggdb"
14645 fi
14646
14647 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
14648 cat >> confdefs.h <<\EOF
14649 #define WXDEBUG 1
14650 EOF
14651
14652 WXDEBUG_DEFINE="-D__WXDEBUG__"
14653 else
14654 if test "$wxUSE_GTK" = 1 ; then
14655 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
14656 fi
14657 fi
14658
14659 if test "$wxUSE_MEM_TRACING" = "yes" ; then
14660 cat >> confdefs.h <<\EOF
14661 #define wxUSE_MEMORY_TRACING 1
14662 EOF
14663
14664 cat >> confdefs.h <<\EOF
14665 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
14666 EOF
14667
14668 cat >> confdefs.h <<\EOF
14669 #define wxUSE_DEBUG_NEW_ALWAYS 1
14670 EOF
14671
14672 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
14673 fi
14674
14675 if test "$wxUSE_DMALLOC" = "yes" ; then
14676 DMALLOC_LINK="-ldmalloc"
14677 fi
14678
14679 PROFILE=
14680 if test "$wxUSE_PROFILE" = "yes" ; then
14681 PROFILE="-pg"
14682 fi
14683
14684 DEP_INFO_FLAGS=
14685 CODE_GEN_FLAGS=
14686 CODE_GEN_FLAGS_CXX=
14687 if test "$GCC" = yes ; then
14688 if test "$wxUSE_NO_RTTI" = "yes" ; then
14689 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS -fno-rtti"
14690 fi
14691 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
14692 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS -fno-exceptions"
14693 fi
14694 if test "$wxUSE_PERMISSIVE" = "yes" ; then
14695 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
14696 fi
14697 if test "$wxUSE_NO_DEPS" = "no" ; then
14698 DEP_INFO_FLAGS="-MMD"
14699 fi
14700 fi
14701
14702
14703 CXXFLAGS=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
14704 CFLAGS=`echo "${CFLAGS}" | sed "s/\-O.//g" `
14705 if test "$wxUSE_OPTIMISE" = "no" ; then
14706 OPTIMISE=
14707 else
14708 if test "$GCC" = yes ; then
14709 OPTIMISE="-O2"
14710 case "${host}" in
14711 i586-*-*|i686-*-* )
14712 OPTIMISE="${OPTIMISE} "
14713 ;;
14714 esac
14715 else
14716 OPTIMISE="-O"
14717 fi
14718 fi
14719
14720 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
14721 cat >> confdefs.h <<\EOF
14722 #define WXWIN_COMPATIBILITY_2 1
14723 EOF
14724
14725
14726 WXWIN_COMPATIBILITY_2_2="yes"
14727 fi
14728
14729 if test "$WXWIN_COMPATIBILITY_2_2" = "yes"; then
14730 cat >> confdefs.h <<\EOF
14731 #define WXWIN_COMPATIBILITY_2_2 1
14732 EOF
14733
14734 fi
14735
14736
14737 ZLIB_INCLUDE=
14738 if test "$wxUSE_ZLIB" = "yes" -o "$wxUSE_ZLIB" = "sys" ; then
14739 cat >> confdefs.h <<\EOF
14740 #define wxUSE_ZLIB 1
14741 EOF
14742
14743 if test "$wxUSE_ZLIB" = "yes" ; then
14744 ZLIB_INCLUDE="-I\${top_srcdir}/src/zlib"
14745 else
14746 ZLIB_LINK=
14747 ac_safe=`echo "zlib.h" | sed 'y%./+-%__p_%'`
14748 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
14749 echo "configure:14750: checking for zlib.h" >&5
14750 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14751 echo $ac_n "(cached) $ac_c" 1>&6
14752 else
14753 cat > conftest.$ac_ext <<EOF
14754 #line 14755 "configure"
14755 #include "confdefs.h"
14756 #include <zlib.h>
14757 EOF
14758 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14759 { (eval echo configure:14760: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14760 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14761 if test -z "$ac_err"; then
14762 rm -rf conftest*
14763 eval "ac_cv_header_$ac_safe=yes"
14764 else
14765 echo "$ac_err" >&5
14766 echo "configure: failed program was:" >&5
14767 cat conftest.$ac_ext >&5
14768 rm -rf conftest*
14769 eval "ac_cv_header_$ac_safe=no"
14770 fi
14771 rm -f conftest*
14772 fi
14773 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14774 echo "$ac_t""yes" 1>&6
14775 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
14776 echo "configure:14777: checking for deflate in -lz" >&5
14777 ac_lib_var=`echo z'_'deflate | sed 'y%./+-%__p_%'`
14778 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14779 echo $ac_n "(cached) $ac_c" 1>&6
14780 else
14781 ac_save_LIBS="$LIBS"
14782 LIBS="-lz $LIBS"
14783 cat > conftest.$ac_ext <<EOF
14784 #line 14785 "configure"
14785 #include "confdefs.h"
14786 /* Override any gcc2 internal prototype to avoid an error. */
14787 /* We use char because int might match the return type of a gcc2
14788 builtin and then its argument prototype would still apply. */
14789 char deflate();
14790
14791 int main() {
14792 deflate()
14793 ; return 0; }
14794 EOF
14795 if { (eval echo configure:14796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14796 rm -rf conftest*
14797 eval "ac_cv_lib_$ac_lib_var=yes"
14798 else
14799 echo "configure: failed program was:" >&5
14800 cat conftest.$ac_ext >&5
14801 rm -rf conftest*
14802 eval "ac_cv_lib_$ac_lib_var=no"
14803 fi
14804 rm -f conftest*
14805 LIBS="$ac_save_LIBS"
14806
14807 fi
14808 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14809 echo "$ac_t""yes" 1>&6
14810 ZLIB_LINK="-lz"
14811 else
14812 echo "$ac_t""no" 1>&6
14813 fi
14814
14815 else
14816 echo "$ac_t""no" 1>&6
14817 fi
14818
14819 if test "x$ZLIB_LINK" = "x" ; then
14820 { echo "configure: error: system zlib compression library not found! Use --with-zlib=yes to use built-in zlib" 1>&2; exit 1; }
14821 fi
14822 fi
14823 fi
14824
14825 PNG_INCLUDE=
14826 if test "$wxUSE_LIBPNG" = "yes" -o "$wxUSE_LIBPNG" = "sys" ; then
14827 cat >> confdefs.h <<\EOF
14828 #define wxUSE_LIBPNG 1
14829 EOF
14830
14831 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
14832 echo "configure: warning: --with-libpng=sys doesn't work without --with-zlib=sys, will compile the built-in libpng instead" 1>&2
14833 wxUSE_LIBPNG=yes
14834 fi
14835
14836 if test "$wxUSE_LIBPNG" = "yes" ; then
14837 PNG_INCLUDE="-I\${top_srcdir}/src/png"
14838 else
14839 PNG_LINK=
14840 ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'`
14841 echo $ac_n "checking for png.h""... $ac_c" 1>&6
14842 echo "configure:14843: checking for png.h" >&5
14843 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14844 echo $ac_n "(cached) $ac_c" 1>&6
14845 else
14846 cat > conftest.$ac_ext <<EOF
14847 #line 14848 "configure"
14848 #include "confdefs.h"
14849 #include <png.h>
14850 EOF
14851 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14852 { (eval echo configure:14853: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14853 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14854 if test -z "$ac_err"; then
14855 rm -rf conftest*
14856 eval "ac_cv_header_$ac_safe=yes"
14857 else
14858 echo "$ac_err" >&5
14859 echo "configure: failed program was:" >&5
14860 cat conftest.$ac_ext >&5
14861 rm -rf conftest*
14862 eval "ac_cv_header_$ac_safe=no"
14863 fi
14864 rm -f conftest*
14865 fi
14866 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14867 echo "$ac_t""yes" 1>&6
14868 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
14869 echo "configure:14870: checking for png_check_sig in -lpng" >&5
14870 ac_lib_var=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
14871 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14872 echo $ac_n "(cached) $ac_c" 1>&6
14873 else
14874 ac_save_LIBS="$LIBS"
14875 LIBS="-lpng -lz -lm $LIBS"
14876 cat > conftest.$ac_ext <<EOF
14877 #line 14878 "configure"
14878 #include "confdefs.h"
14879 /* Override any gcc2 internal prototype to avoid an error. */
14880 /* We use char because int might match the return type of a gcc2
14881 builtin and then its argument prototype would still apply. */
14882 char png_check_sig();
14883
14884 int main() {
14885 png_check_sig()
14886 ; return 0; }
14887 EOF
14888 if { (eval echo configure:14889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14889 rm -rf conftest*
14890 eval "ac_cv_lib_$ac_lib_var=yes"
14891 else
14892 echo "configure: failed program was:" >&5
14893 cat conftest.$ac_ext >&5
14894 rm -rf conftest*
14895 eval "ac_cv_lib_$ac_lib_var=no"
14896 fi
14897 rm -f conftest*
14898 LIBS="$ac_save_LIBS"
14899
14900 fi
14901 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14902 echo "$ac_t""yes" 1>&6
14903 PNG_LINK="-lpng"
14904 else
14905 echo "$ac_t""no" 1>&6
14906 fi
14907
14908
14909 else
14910 echo "$ac_t""no" 1>&6
14911 fi
14912
14913 if test "x$PNG_LINK" = "x" ; then
14914 { echo "configure: error: system png library not found! Use --with-libpng=yes to use the built-in libpng" 1>&2; exit 1; }
14915 fi
14916 fi
14917
14918 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
14919 fi
14920
14921 JPEG_INCLUDE=
14922 if test "$wxUSE_LIBJPEG" = "yes" -o "$wxUSE_LIBJPEG" = "sys" ; then
14923 cat >> confdefs.h <<\EOF
14924 #define wxUSE_LIBJPEG 1
14925 EOF
14926
14927 if test "$wxUSE_LIBJPEG" = "yes" ; then
14928 JPEG_INCLUDE="-I\${top_srcdir}/src/jpeg"
14929 else
14930 JPEG_LINK=
14931 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
14932 echo "configure:14933: checking for jpeglib.h" >&5
14933 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
14934 echo $ac_n "(cached) $ac_c" 1>&6
14935 else
14936 cat > conftest.$ac_ext <<EOF
14937 #line 14938 "configure"
14938 #include "confdefs.h"
14939
14940 #undef HAVE_STDLIB_H
14941 #include <stdio.h>
14942 #include <jpeglib.h>
14943
14944 int main() {
14945
14946
14947 ; return 0; }
14948 EOF
14949 if { (eval echo configure:14950: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14950 rm -rf conftest*
14951 ac_cv_header_jpeglib_h=yes
14952 else
14953 echo "configure: failed program was:" >&5
14954 cat conftest.$ac_ext >&5
14955 rm -rf conftest*
14956 ac_cv_header_jpeglib_h=no
14957
14958 fi
14959 rm -f conftest*
14960
14961 fi
14962
14963 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
14964
14965 if test "$ac_cv_header_jpeglib_h" = "yes"; then
14966 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
14967 echo "configure:14968: checking for jpeg_read_header in -ljpeg" >&5
14968 ac_lib_var=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
14969 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14970 echo $ac_n "(cached) $ac_c" 1>&6
14971 else
14972 ac_save_LIBS="$LIBS"
14973 LIBS="-ljpeg $LIBS"
14974 cat > conftest.$ac_ext <<EOF
14975 #line 14976 "configure"
14976 #include "confdefs.h"
14977 /* Override any gcc2 internal prototype to avoid an error. */
14978 /* We use char because int might match the return type of a gcc2
14979 builtin and then its argument prototype would still apply. */
14980 char jpeg_read_header();
14981
14982 int main() {
14983 jpeg_read_header()
14984 ; return 0; }
14985 EOF
14986 if { (eval echo configure:14987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14987 rm -rf conftest*
14988 eval "ac_cv_lib_$ac_lib_var=yes"
14989 else
14990 echo "configure: failed program was:" >&5
14991 cat conftest.$ac_ext >&5
14992 rm -rf conftest*
14993 eval "ac_cv_lib_$ac_lib_var=no"
14994 fi
14995 rm -f conftest*
14996 LIBS="$ac_save_LIBS"
14997
14998 fi
14999 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15000 echo "$ac_t""yes" 1>&6
15001 JPEG_LINK="-ljpeg"
15002 else
15003 echo "$ac_t""no" 1>&6
15004 fi
15005
15006 fi
15007
15008 if test "x$JPEG_LINK" = "x" ; then
15009 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=yes to use the built-in one" 1>&2; exit 1; }
15010 fi
15011 fi
15012 fi
15013
15014 TIFF_INCLUDE=
15015 if test "$wxUSE_LIBTIFF" = "yes" -o "$wxUSE_LIBTIFF" = "sys" ; then
15016 cat >> confdefs.h <<\EOF
15017 #define wxUSE_LIBTIFF 1
15018 EOF
15019
15020 if test "$wxUSE_LIBTIFF" = "yes" ; then
15021 TIFF_INCLUDE="-I\${top_srcdir}/src/tiff"
15022 else
15023 TIFF_LINK=
15024 ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
15025 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
15026 echo "configure:15027: checking for tiffio.h" >&5
15027 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15028 echo $ac_n "(cached) $ac_c" 1>&6
15029 else
15030 cat > conftest.$ac_ext <<EOF
15031 #line 15032 "configure"
15032 #include "confdefs.h"
15033 #include <tiffio.h>
15034 EOF
15035 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15036 { (eval echo configure:15037: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15037 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15038 if test -z "$ac_err"; then
15039 rm -rf conftest*
15040 eval "ac_cv_header_$ac_safe=yes"
15041 else
15042 echo "$ac_err" >&5
15043 echo "configure: failed program was:" >&5
15044 cat conftest.$ac_ext >&5
15045 rm -rf conftest*
15046 eval "ac_cv_header_$ac_safe=no"
15047 fi
15048 rm -f conftest*
15049 fi
15050 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15051 echo "$ac_t""yes" 1>&6
15052 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
15053 echo "configure:15054: checking for TIFFError in -ltiff" >&5
15054 ac_lib_var=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
15055 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15056 echo $ac_n "(cached) $ac_c" 1>&6
15057 else
15058 ac_save_LIBS="$LIBS"
15059 LIBS="-ltiff -lm $LIBS"
15060 cat > conftest.$ac_ext <<EOF
15061 #line 15062 "configure"
15062 #include "confdefs.h"
15063 /* Override any gcc2 internal prototype to avoid an error. */
15064 /* We use char because int might match the return type of a gcc2
15065 builtin and then its argument prototype would still apply. */
15066 char TIFFError();
15067
15068 int main() {
15069 TIFFError()
15070 ; return 0; }
15071 EOF
15072 if { (eval echo configure:15073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15073 rm -rf conftest*
15074 eval "ac_cv_lib_$ac_lib_var=yes"
15075 else
15076 echo "configure: failed program was:" >&5
15077 cat conftest.$ac_ext >&5
15078 rm -rf conftest*
15079 eval "ac_cv_lib_$ac_lib_var=no"
15080 fi
15081 rm -f conftest*
15082 LIBS="$ac_save_LIBS"
15083
15084 fi
15085 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15086 echo "$ac_t""yes" 1>&6
15087 TIFF_LINK="-ltiff"
15088 else
15089 echo "$ac_t""no" 1>&6
15090 fi
15091
15092 else
15093 echo "$ac_t""no" 1>&6
15094 fi
15095
15096 if test "x$TIFF_LINK" = "x" ; then
15097 { echo "configure: error: system tiff library not found! Use --with-libtiff=yes to use the built-in one" 1>&2; exit 1; }
15098 fi
15099 fi
15100 fi
15101
15102 FREETYPE_INCLUDE=
15103 if test "$wxUSE_FREETYPE" = "yes" -o "$wxUSE_FREETYPE" = "sys" ; then
15104 cat >> confdefs.h <<\EOF
15105 #define wxUSE_FREETYPE 1
15106 EOF
15107
15108 if test "$wxUSE_FREETYPE" = "yes" ; then
15109 FREETYPE_INCLUDE="-I\${top_srcdir}/src/freetype"
15110 else
15111 FREETYPE_LINK=
15112 ac_safe=`echo "freetype.h" | sed 'y%./+-%__p_%'`
15113 echo $ac_n "checking for freetype.h""... $ac_c" 1>&6
15114 echo "configure:15115: checking for freetype.h" >&5
15115 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15116 echo $ac_n "(cached) $ac_c" 1>&6
15117 else
15118 cat > conftest.$ac_ext <<EOF
15119 #line 15120 "configure"
15120 #include "confdefs.h"
15121 #include <freetype.h>
15122 EOF
15123 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15124 { (eval echo configure:15125: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15125 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15126 if test -z "$ac_err"; then
15127 rm -rf conftest*
15128 eval "ac_cv_header_$ac_safe=yes"
15129 else
15130 echo "$ac_err" >&5
15131 echo "configure: failed program was:" >&5
15132 cat conftest.$ac_ext >&5
15133 rm -rf conftest*
15134 eval "ac_cv_header_$ac_safe=no"
15135 fi
15136 rm -f conftest*
15137 fi
15138 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15139 echo "$ac_t""yes" 1>&6
15140 echo $ac_n "checking for FT_Render_Glyph in -lfreetype""... $ac_c" 1>&6
15141 echo "configure:15142: checking for FT_Render_Glyph in -lfreetype" >&5
15142 ac_lib_var=`echo freetype'_'FT_Render_Glyph | sed 'y%./+-%__p_%'`
15143 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15144 echo $ac_n "(cached) $ac_c" 1>&6
15145 else
15146 ac_save_LIBS="$LIBS"
15147 LIBS="-lfreetype -lm $LIBS"
15148 cat > conftest.$ac_ext <<EOF
15149 #line 15150 "configure"
15150 #include "confdefs.h"
15151 /* Override any gcc2 internal prototype to avoid an error. */
15152 /* We use char because int might match the return type of a gcc2
15153 builtin and then its argument prototype would still apply. */
15154 char FT_Render_Glyph();
15155
15156 int main() {
15157 FT_Render_Glyph()
15158 ; return 0; }
15159 EOF
15160 if { (eval echo configure:15161: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15161 rm -rf conftest*
15162 eval "ac_cv_lib_$ac_lib_var=yes"
15163 else
15164 echo "configure: failed program was:" >&5
15165 cat conftest.$ac_ext >&5
15166 rm -rf conftest*
15167 eval "ac_cv_lib_$ac_lib_var=no"
15168 fi
15169 rm -f conftest*
15170 LIBS="$ac_save_LIBS"
15171
15172 fi
15173 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15174 echo "$ac_t""yes" 1>&6
15175 FREETYPE_LINK="-lfreetype"
15176 else
15177 echo "$ac_t""no" 1>&6
15178 fi
15179
15180
15181 else
15182 echo "$ac_t""no" 1>&6
15183 fi
15184
15185 if test "x$FREETYPE_LINK" = "x" ; then
15186 { echo "configure: error: system freetype library not found! Use --with-freetype=yes to use the built-in freetype" 1>&2; exit 1; }
15187 fi
15188 fi
15189 fi
15190
15191 if test "$wxUSE_OPENGL" = "yes"; then
15192 ac_safe=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
15193 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
15194 echo "configure:15195: checking for GL/gl.h" >&5
15195 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15196 echo $ac_n "(cached) $ac_c" 1>&6
15197 else
15198 cat > conftest.$ac_ext <<EOF
15199 #line 15200 "configure"
15200 #include "confdefs.h"
15201 #include <GL/gl.h>
15202 EOF
15203 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15204 { (eval echo configure:15205: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15205 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15206 if test -z "$ac_err"; then
15207 rm -rf conftest*
15208 eval "ac_cv_header_$ac_safe=yes"
15209 else
15210 echo "$ac_err" >&5
15211 echo "configure: failed program was:" >&5
15212 cat conftest.$ac_ext >&5
15213 rm -rf conftest*
15214 eval "ac_cv_header_$ac_safe=no"
15215 fi
15216 rm -f conftest*
15217 fi
15218 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15219 echo "$ac_t""yes" 1>&6
15220
15221 cat >> confdefs.h <<\EOF
15222 #define wxUSE_OPENGL 1
15223 EOF
15224
15225 cat >> confdefs.h <<\EOF
15226 #define wxUSE_GLCANVAS 1
15227 EOF
15228
15229 echo $ac_n "checking for glFlush in -lGL""... $ac_c" 1>&6
15230 echo "configure:15231: checking for glFlush in -lGL" >&5
15231 ac_lib_var=`echo GL'_'glFlush | sed 'y%./+-%__p_%'`
15232 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15233 echo $ac_n "(cached) $ac_c" 1>&6
15234 else
15235 ac_save_LIBS="$LIBS"
15236 LIBS="-lGL $LIBS"
15237 cat > conftest.$ac_ext <<EOF
15238 #line 15239 "configure"
15239 #include "confdefs.h"
15240 /* Override any gcc2 internal prototype to avoid an error. */
15241 /* We use char because int might match the return type of a gcc2
15242 builtin and then its argument prototype would still apply. */
15243 char glFlush();
15244
15245 int main() {
15246 glFlush()
15247 ; return 0; }
15248 EOF
15249 if { (eval echo configure:15250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15250 rm -rf conftest*
15251 eval "ac_cv_lib_$ac_lib_var=yes"
15252 else
15253 echo "configure: failed program was:" >&5
15254 cat conftest.$ac_ext >&5
15255 rm -rf conftest*
15256 eval "ac_cv_lib_$ac_lib_var=no"
15257 fi
15258 rm -f conftest*
15259 LIBS="$ac_save_LIBS"
15260
15261 fi
15262 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15263 echo "$ac_t""yes" 1>&6
15264
15265 OPENGL_LINK="-lGL -lGLU"
15266
15267 else
15268 echo "$ac_t""no" 1>&6
15269
15270 echo $ac_n "checking for glFlush in -lMesaGL""... $ac_c" 1>&6
15271 echo "configure:15272: checking for glFlush in -lMesaGL" >&5
15272 ac_lib_var=`echo MesaGL'_'glFlush | sed 'y%./+-%__p_%'`
15273 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15274 echo $ac_n "(cached) $ac_c" 1>&6
15275 else
15276 ac_save_LIBS="$LIBS"
15277 LIBS="-lMesaGL $LIBS"
15278 cat > conftest.$ac_ext <<EOF
15279 #line 15280 "configure"
15280 #include "confdefs.h"
15281 /* Override any gcc2 internal prototype to avoid an error. */
15282 /* We use char because int might match the return type of a gcc2
15283 builtin and then its argument prototype would still apply. */
15284 char glFlush();
15285
15286 int main() {
15287 glFlush()
15288 ; return 0; }
15289 EOF
15290 if { (eval echo configure:15291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15291 rm -rf conftest*
15292 eval "ac_cv_lib_$ac_lib_var=yes"
15293 else
15294 echo "configure: failed program was:" >&5
15295 cat conftest.$ac_ext >&5
15296 rm -rf conftest*
15297 eval "ac_cv_lib_$ac_lib_var=no"
15298 fi
15299 rm -f conftest*
15300 LIBS="$ac_save_LIBS"
15301
15302 fi
15303 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15304 echo "$ac_t""yes" 1>&6
15305
15306 OPENGL_LINK="-lMesaGL -lMesaGLU"
15307
15308 else
15309 echo "$ac_t""no" 1>&6
15310 fi
15311
15312
15313 fi
15314
15315
15316 else
15317 echo "$ac_t""no" 1>&6
15318 wxUSE_OPENGL=0
15319 fi
15320
15321 fi
15322
15323
15324 if test "$wxUSE_GUI" = "yes"; then
15325 cat >> confdefs.h <<\EOF
15326 #define wxUSE_GUI 1
15327 EOF
15328
15329
15330 else
15331 cat >> confdefs.h <<\EOF
15332 #define wxUSE_NOGUI 1
15333 EOF
15334
15335 fi
15336
15337
15338 if test "$wxUSE_UNIX" = "yes"; then
15339 cat >> confdefs.h <<\EOF
15340 #define wxUSE_UNIX 1
15341 EOF
15342
15343 fi
15344
15345
15346 if test "$wxUSE_APPLE_IEEE" = "yes"; then
15347 cat >> confdefs.h <<\EOF
15348 #define wxUSE_APPLE_IEEE 1
15349 EOF
15350
15351 fi
15352
15353 if test "$wxUSE_TIMER" = "yes"; then
15354 cat >> confdefs.h <<\EOF
15355 #define wxUSE_TIMER 1
15356 EOF
15357
15358 fi
15359
15360 if test "$wxUSE_WAVE" = "yes"; then
15361 cat >> confdefs.h <<\EOF
15362 #define wxUSE_WAVE 1
15363 EOF
15364
15365 fi
15366
15367 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
15368 cat >> confdefs.h <<\EOF
15369 #define wxUSE_CMDLINE_PARSER 1
15370 EOF
15371
15372 fi
15373
15374 if test "$wxUSE_STOPWATCH" = "yes"; then
15375 cat >> confdefs.h <<\EOF
15376 #define wxUSE_STOPWATCH 1
15377 EOF
15378
15379 fi
15380
15381 if test "$wxUSE_DATETIME" = "yes"; then
15382 cat >> confdefs.h <<\EOF
15383 #define wxUSE_DATETIME 1
15384 EOF
15385
15386 fi
15387
15388 if test "$wxUSE_TIMEDATE" = "yes"; then
15389 cat >> confdefs.h <<\EOF
15390 #define wxUSE_TIMEDATE 1
15391 EOF
15392
15393 fi
15394
15395 if test "$wxUSE_FILE" = "yes"; then
15396 cat >> confdefs.h <<\EOF
15397 #define wxUSE_FILE 1
15398 EOF
15399
15400 fi
15401
15402 if test "$wxUSE_FFILE" = "yes"; then
15403 cat >> confdefs.h <<\EOF
15404 #define wxUSE_FFILE 1
15405 EOF
15406
15407 fi
15408
15409 if test "$wxUSE_FILESYSTEM" = "yes"; then
15410 cat >> confdefs.h <<\EOF
15411 #define wxUSE_FILESYSTEM 1
15412 EOF
15413
15414 fi
15415
15416 if test "$wxUSE_FS_INET" = "yes"; then
15417 cat >> confdefs.h <<\EOF
15418 #define wxUSE_FS_INET 1
15419 EOF
15420
15421 fi
15422
15423 if test "$wxUSE_FS_ZIP" = "yes"; then
15424 cat >> confdefs.h <<\EOF
15425 #define wxUSE_FS_ZIP 1
15426 EOF
15427
15428 fi
15429
15430 if test "$wxUSE_ZIPSTREAM" = "yes"; then
15431 cat >> confdefs.h <<\EOF
15432 #define wxUSE_ZIPSTREAM 1
15433 EOF
15434
15435 fi
15436
15437 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
15438 cat >> confdefs.h <<\EOF
15439 #define wxUSE_ON_FATAL_EXCEPTION 1
15440 EOF
15441
15442 fi
15443
15444 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
15445 cat >> confdefs.h <<\EOF
15446 #define wxUSE_SNGLINST_CHECKER 1
15447 EOF
15448
15449 fi
15450
15451 if test "$wxUSE_BUSYINFO" = "yes"; then
15452 cat >> confdefs.h <<\EOF
15453 #define wxUSE_BUSYINFO 1
15454 EOF
15455
15456 fi
15457
15458 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
15459 cat >> confdefs.h <<\EOF
15460 #define wxUSE_STD_IOSTREAM 1
15461 EOF
15462
15463 fi
15464
15465 if test "$wxUSE_TEXTFILE" = "yes"; then
15466 if test "$wxUSE_FILE" != "yes"; then
15467 echo "configure: warning: wxTextFile requires wxFile and it won't be compiled without it" 1>&2
15468 else
15469 cat >> confdefs.h <<\EOF
15470 #define wxUSE_TEXTFILE 1
15471 EOF
15472
15473 fi
15474 fi
15475
15476 if test "$wxUSE_CONFIG" = "yes" ; then
15477 if test "$wxUSE_TEXTFILE" != "yes"; then
15478 echo "configure: warning: wxConfig requires wxTextFile and it won't be compiled without it" 1>&2
15479 else
15480 cat >> confdefs.h <<\EOF
15481 #define wxUSE_CONFIG 1
15482 EOF
15483
15484 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
15485 fi
15486 fi
15487
15488 if test "$wxUSE_INTL" = "yes" ; then
15489 if test "$wxUSE_FILE" != "yes"; then
15490 echo "configure: warning: I18n code requires wxFile and it won't be compiled without it" 1>&2
15491 else
15492 cat >> confdefs.h <<\EOF
15493 #define wxUSE_INTL 1
15494 EOF
15495
15496 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
15497 GUIDIST="$GUIDIST INTL_DIST"
15498 fi
15499 fi
15500
15501 if test "$wxUSE_LOG" = "yes"; then
15502 cat >> confdefs.h <<\EOF
15503 #define wxUSE_LOG 1
15504 EOF
15505
15506
15507 if test "$wxUSE_LOGGUI" = "yes"; then
15508 cat >> confdefs.h <<\EOF
15509 #define wxUSE_LOGGUI 1
15510 EOF
15511
15512 fi
15513
15514 if test "$wxUSE_LOGWINDOW" = "yes"; then
15515 cat >> confdefs.h <<\EOF
15516 #define wxUSE_LOGWINDOW 1
15517 EOF
15518
15519 fi
15520 fi
15521
15522 if test "$wxUSE_LONGLONG" = "yes"; then
15523 cat >> confdefs.h <<\EOF
15524 #define wxUSE_LONGLONG 1
15525 EOF
15526
15527 fi
15528
15529 if test "$wxUSE_GEOMETRY" = "yes"; then
15530 cat >> confdefs.h <<\EOF
15531 #define wxUSE_GEOMETRY 1
15532 EOF
15533
15534 fi
15535
15536 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
15537 cat >> confdefs.h <<\EOF
15538 #define wxUSE_DIALUP_MANAGER 1
15539 EOF
15540
15541 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
15542 fi
15543
15544 if test "$wxUSE_STREAMS" = "yes" ; then
15545 cat >> confdefs.h <<\EOF
15546 #define wxUSE_STREAMS 1
15547 EOF
15548
15549 fi
15550
15551
15552 if test "$wxUSE_DATETIME" = "yes"; then
15553 for ac_func in strptime
15554 do
15555 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15556 echo "configure:15557: checking for $ac_func" >&5
15557 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15558 echo $ac_n "(cached) $ac_c" 1>&6
15559 else
15560 cat > conftest.$ac_ext <<EOF
15561 #line 15562 "configure"
15562 #include "confdefs.h"
15563 /* System header to define __stub macros and hopefully few prototypes,
15564 which can conflict with char $ac_func(); below. */
15565 #include <assert.h>
15566 /* Override any gcc2 internal prototype to avoid an error. */
15567 /* We use char because int might match the return type of a gcc2
15568 builtin and then its argument prototype would still apply. */
15569 char $ac_func();
15570
15571 int main() {
15572
15573 /* The GNU C library defines this for functions which it implements
15574 to always fail with ENOSYS. Some functions are actually named
15575 something starting with __ and the normal name is an alias. */
15576 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15577 choke me
15578 #else
15579 $ac_func();
15580 #endif
15581
15582 ; return 0; }
15583 EOF
15584 if { (eval echo configure:15585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15585 rm -rf conftest*
15586 eval "ac_cv_func_$ac_func=yes"
15587 else
15588 echo "configure: failed program was:" >&5
15589 cat conftest.$ac_ext >&5
15590 rm -rf conftest*
15591 eval "ac_cv_func_$ac_func=no"
15592 fi
15593 rm -f conftest*
15594 fi
15595
15596 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15597 echo "$ac_t""yes" 1>&6
15598 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15599 cat >> confdefs.h <<EOF
15600 #define $ac_tr_func 1
15601 EOF
15602
15603 else
15604 echo "$ac_t""no" 1>&6
15605 fi
15606 done
15607
15608
15609 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
15610 echo "configure:15611: checking for timezone variable in <time.h>" >&5
15611 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
15612 echo $ac_n "(cached) $ac_c" 1>&6
15613 else
15614
15615 cat > conftest.$ac_ext <<EOF
15616 #line 15617 "configure"
15617 #include "confdefs.h"
15618
15619 #include <time.h>
15620
15621 int main() {
15622
15623 int tz;
15624 tz = timezone;
15625
15626 ; return 0; }
15627 EOF
15628 if { (eval echo configure:15629: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15629 rm -rf conftest*
15630
15631 wx_cv_var_timezone=timezone
15632
15633 else
15634 echo "configure: failed program was:" >&5
15635 cat conftest.$ac_ext >&5
15636 rm -rf conftest*
15637
15638 cat > conftest.$ac_ext <<EOF
15639 #line 15640 "configure"
15640 #include "confdefs.h"
15641
15642 #include <time.h>
15643
15644 int main() {
15645
15646 int tz;
15647 tz = _timezone;
15648
15649 ; return 0; }
15650 EOF
15651 if { (eval echo configure:15652: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15652 rm -rf conftest*
15653
15654 wx_cv_var_timezone=_timezone
15655
15656 else
15657 echo "configure: failed program was:" >&5
15658 cat conftest.$ac_ext >&5
15659 rm -rf conftest*
15660
15661 cat > conftest.$ac_ext <<EOF
15662 #line 15663 "configure"
15663 #include "confdefs.h"
15664
15665 #include <time.h>
15666
15667 int main() {
15668
15669 int tz;
15670 tz = __timezone;
15671
15672 ; return 0; }
15673 EOF
15674 if { (eval echo configure:15675: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15675 rm -rf conftest*
15676
15677 wx_cv_var_timezone=__timezone
15678
15679 else
15680 echo "configure: failed program was:" >&5
15681 cat conftest.$ac_ext >&5
15682 rm -rf conftest*
15683 { echo "configure: error: no timezone variable" 1>&2; exit 1; }
15684
15685 fi
15686 rm -f conftest*
15687
15688
15689 fi
15690 rm -f conftest*
15691
15692
15693 fi
15694 rm -f conftest*
15695
15696
15697 fi
15698
15699 echo "$ac_t""$wx_cv_var_timezone" 1>&6
15700
15701 cat >> confdefs.h <<EOF
15702 #define WX_TIMEZONE $wx_cv_var_timezone
15703 EOF
15704
15705
15706 for ac_func in localtime
15707 do
15708 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15709 echo "configure:15710: checking for $ac_func" >&5
15710 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15711 echo $ac_n "(cached) $ac_c" 1>&6
15712 else
15713 cat > conftest.$ac_ext <<EOF
15714 #line 15715 "configure"
15715 #include "confdefs.h"
15716 /* System header to define __stub macros and hopefully few prototypes,
15717 which can conflict with char $ac_func(); below. */
15718 #include <assert.h>
15719 /* Override any gcc2 internal prototype to avoid an error. */
15720 /* We use char because int might match the return type of a gcc2
15721 builtin and then its argument prototype would still apply. */
15722 char $ac_func();
15723
15724 int main() {
15725
15726 /* The GNU C library defines this for functions which it implements
15727 to always fail with ENOSYS. Some functions are actually named
15728 something starting with __ and the normal name is an alias. */
15729 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15730 choke me
15731 #else
15732 $ac_func();
15733 #endif
15734
15735 ; return 0; }
15736 EOF
15737 if { (eval echo configure:15738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15738 rm -rf conftest*
15739 eval "ac_cv_func_$ac_func=yes"
15740 else
15741 echo "configure: failed program was:" >&5
15742 cat conftest.$ac_ext >&5
15743 rm -rf conftest*
15744 eval "ac_cv_func_$ac_func=no"
15745 fi
15746 rm -f conftest*
15747 fi
15748
15749 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15750 echo "$ac_t""yes" 1>&6
15751 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15752 cat >> confdefs.h <<EOF
15753 #define $ac_tr_func 1
15754 EOF
15755
15756 else
15757 echo "$ac_t""no" 1>&6
15758 fi
15759 done
15760
15761
15762 if test "$ac_cv_func_localtime" = "yes"; then
15763 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
15764 echo "configure:15765: checking for tm_gmtoff in struct tm" >&5
15765 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
15766 echo $ac_n "(cached) $ac_c" 1>&6
15767 else
15768
15769 cat > conftest.$ac_ext <<EOF
15770 #line 15771 "configure"
15771 #include "confdefs.h"
15772
15773 #include <time.h>
15774
15775 int main() {
15776
15777 struct tm tm;
15778 tm.tm_gmtoff++;
15779
15780 ; return 0; }
15781 EOF
15782 if { (eval echo configure:15783: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15783 rm -rf conftest*
15784
15785 wx_cv_struct_tm_has_gmtoff=yes
15786
15787 else
15788 echo "configure: failed program was:" >&5
15789 cat conftest.$ac_ext >&5
15790 rm -rf conftest*
15791 wx_cv_struct_tm_has_gmtoff=no
15792
15793 fi
15794 rm -f conftest*
15795
15796 fi
15797
15798 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
15799 fi
15800
15801 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
15802 cat >> confdefs.h <<\EOF
15803 #define WX_GMTOFF_IN_TM 1
15804 EOF
15805
15806 fi
15807
15808 for ac_func in gettimeofday ftime
15809 do
15810 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15811 echo "configure:15812: checking for $ac_func" >&5
15812 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15813 echo $ac_n "(cached) $ac_c" 1>&6
15814 else
15815 cat > conftest.$ac_ext <<EOF
15816 #line 15817 "configure"
15817 #include "confdefs.h"
15818 /* System header to define __stub macros and hopefully few prototypes,
15819 which can conflict with char $ac_func(); below. */
15820 #include <assert.h>
15821 /* Override any gcc2 internal prototype to avoid an error. */
15822 /* We use char because int might match the return type of a gcc2
15823 builtin and then its argument prototype would still apply. */
15824 char $ac_func();
15825
15826 int main() {
15827
15828 /* The GNU C library defines this for functions which it implements
15829 to always fail with ENOSYS. Some functions are actually named
15830 something starting with __ and the normal name is an alias. */
15831 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15832 choke me
15833 #else
15834 $ac_func();
15835 #endif
15836
15837 ; return 0; }
15838 EOF
15839 if { (eval echo configure:15840: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15840 rm -rf conftest*
15841 eval "ac_cv_func_$ac_func=yes"
15842 else
15843 echo "configure: failed program was:" >&5
15844 cat conftest.$ac_ext >&5
15845 rm -rf conftest*
15846 eval "ac_cv_func_$ac_func=no"
15847 fi
15848 rm -f conftest*
15849 fi
15850
15851 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15852 echo "$ac_t""yes" 1>&6
15853 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15854 cat >> confdefs.h <<EOF
15855 #define $ac_tr_func 1
15856 EOF
15857 break
15858 else
15859 echo "$ac_t""no" 1>&6
15860 fi
15861 done
15862
15863
15864 if test "$ac_cv_func_gettimeofday" = "yes"; then
15865 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
15866 echo "configure:15867: checking whether gettimeofday takes two arguments" >&5
15867 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
15868 echo $ac_n "(cached) $ac_c" 1>&6
15869 else
15870
15871
15872 ac_ext=C
15873 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15874 ac_cpp='$CXXCPP $CPPFLAGS'
15875 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15876 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15877 cross_compiling=$ac_cv_prog_cxx_cross
15878
15879
15880 cat > conftest.$ac_ext <<EOF
15881 #line 15882 "configure"
15882 #include "confdefs.h"
15883
15884 #include <sys/time.h>
15885 #include <unistd.h>
15886
15887 int main() {
15888
15889 struct timeval tv;
15890 struct timezone tz;
15891 gettimeofday(&tv, &tz);
15892
15893 ; return 0; }
15894 EOF
15895 if { (eval echo configure:15896: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15896 rm -rf conftest*
15897 wx_cv_func_gettimeofday_has_2_args=yes
15898 else
15899 echo "configure: failed program was:" >&5
15900 cat conftest.$ac_ext >&5
15901 rm -rf conftest*
15902 cat > conftest.$ac_ext <<EOF
15903 #line 15904 "configure"
15904 #include "confdefs.h"
15905
15906 #include <sys/time.h>
15907 #include <unistd.h>
15908
15909 int main() {
15910
15911 struct timeval tv;
15912 gettimeofday(&tv);
15913
15914 ; return 0; }
15915 EOF
15916 if { (eval echo configure:15917: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15917 rm -rf conftest*
15918 wx_cv_func_gettimeofday_has_2_args=no
15919 else
15920 echo "configure: failed program was:" >&5
15921 cat conftest.$ac_ext >&5
15922 rm -rf conftest*
15923 wx_cv_func_gettimeofday_has_2_args=unknown
15924
15925 fi
15926 rm -f conftest*
15927
15928 fi
15929 rm -f conftest*
15930 ac_ext=c
15931 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15932 ac_cpp='$CPP $CPPFLAGS'
15933 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15934 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15935 cross_compiling=$ac_cv_prog_cc_cross
15936
15937
15938 fi
15939
15940 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
15941
15942 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
15943 cat >> confdefs.h <<\EOF
15944 #define WX_GETTIMEOFDAY_NO_TZ 1
15945 EOF
15946
15947 fi
15948 fi
15949
15950 cat >> confdefs.h <<\EOF
15951 #define wxUSE_TIMEDATE 1
15952 EOF
15953
15954 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
15955 fi
15956
15957
15958 if test "$TOOLKIT" != "MSW"; then
15959
15960 if test "$wxUSE_SOCKETS" = "yes"; then
15961 echo $ac_n "checking for socket""... $ac_c" 1>&6
15962 echo "configure:15963: checking for socket" >&5
15963 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
15964 echo $ac_n "(cached) $ac_c" 1>&6
15965 else
15966 cat > conftest.$ac_ext <<EOF
15967 #line 15968 "configure"
15968 #include "confdefs.h"
15969 /* System header to define __stub macros and hopefully few prototypes,
15970 which can conflict with char socket(); below. */
15971 #include <assert.h>
15972 /* Override any gcc2 internal prototype to avoid an error. */
15973 /* We use char because int might match the return type of a gcc2
15974 builtin and then its argument prototype would still apply. */
15975 char socket();
15976
15977 int main() {
15978
15979 /* The GNU C library defines this for functions which it implements
15980 to always fail with ENOSYS. Some functions are actually named
15981 something starting with __ and the normal name is an alias. */
15982 #if defined (__stub_socket) || defined (__stub___socket)
15983 choke me
15984 #else
15985 socket();
15986 #endif
15987
15988 ; return 0; }
15989 EOF
15990 if { (eval echo configure:15991: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15991 rm -rf conftest*
15992 eval "ac_cv_func_socket=yes"
15993 else
15994 echo "configure: failed program was:" >&5
15995 cat conftest.$ac_ext >&5
15996 rm -rf conftest*
15997 eval "ac_cv_func_socket=no"
15998 fi
15999 rm -f conftest*
16000 fi
16001
16002 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
16003 echo "$ac_t""yes" 1>&6
16004 :
16005 else
16006 echo "$ac_t""no" 1>&6
16007 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
16008 echo "configure:16009: checking for socket in -lsocket" >&5
16009 ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'`
16010 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16011 echo $ac_n "(cached) $ac_c" 1>&6
16012 else
16013 ac_save_LIBS="$LIBS"
16014 LIBS="-lsocket $LIBS"
16015 cat > conftest.$ac_ext <<EOF
16016 #line 16017 "configure"
16017 #include "confdefs.h"
16018 /* Override any gcc2 internal prototype to avoid an error. */
16019 /* We use char because int might match the return type of a gcc2
16020 builtin and then its argument prototype would still apply. */
16021 char socket();
16022
16023 int main() {
16024 socket()
16025 ; return 0; }
16026 EOF
16027 if { (eval echo configure:16028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16028 rm -rf conftest*
16029 eval "ac_cv_lib_$ac_lib_var=yes"
16030 else
16031 echo "configure: failed program was:" >&5
16032 cat conftest.$ac_ext >&5
16033 rm -rf conftest*
16034 eval "ac_cv_lib_$ac_lib_var=no"
16035 fi
16036 rm -f conftest*
16037 LIBS="$ac_save_LIBS"
16038
16039 fi
16040 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16041 echo "$ac_t""yes" 1>&6
16042 INET_LINK="$INET_LINK -lsocket"
16043 else
16044 echo "$ac_t""no" 1>&6
16045
16046 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
16047 wxUSE_SOCKETS=no
16048
16049
16050 fi
16051
16052
16053 fi
16054
16055 fi
16056
16057
16058 if test "$wxUSE_SOCKETS" = "yes" ; then
16059 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
16060 echo "configure:16061: checking what is the type of the third argument of getsockname" >&5
16061 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
16062 echo $ac_n "(cached) $ac_c" 1>&6
16063 else
16064
16065
16066 ac_ext=C
16067 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16068 ac_cpp='$CXXCPP $CPPFLAGS'
16069 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16070 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16071 cross_compiling=$ac_cv_prog_cxx_cross
16072
16073
16074 cat > conftest.$ac_ext <<EOF
16075 #line 16076 "configure"
16076 #include "confdefs.h"
16077
16078 #include <sys/types.h>
16079 #include <sys/socket.h>
16080
16081 int main() {
16082
16083 socklen_t len;
16084 getsockname(0, 0, &len);
16085
16086 ; return 0; }
16087 EOF
16088 if { (eval echo configure:16089: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16089 rm -rf conftest*
16090 wx_cv_type_getsockname3=socklen_t
16091 else
16092 echo "configure: failed program was:" >&5
16093 cat conftest.$ac_ext >&5
16094 rm -rf conftest*
16095 cat > conftest.$ac_ext <<EOF
16096 #line 16097 "configure"
16097 #include "confdefs.h"
16098
16099 #include <sys/types.h>
16100 #include <sys/socket.h>
16101
16102 int main() {
16103
16104 size_t len;
16105 getsockname(0, 0, &len);
16106
16107 ; return 0; }
16108 EOF
16109 if { (eval echo configure:16110: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16110 rm -rf conftest*
16111 wx_cv_type_getsockname3=size_t
16112 else
16113 echo "configure: failed program was:" >&5
16114 cat conftest.$ac_ext >&5
16115 rm -rf conftest*
16116 cat > conftest.$ac_ext <<EOF
16117 #line 16118 "configure"
16118 #include "confdefs.h"
16119
16120 #include <sys/types.h>
16121 #include <sys/socket.h>
16122
16123 int main() {
16124
16125 int len;
16126 getsockname(0, 0, &len);
16127
16128 ; return 0; }
16129 EOF
16130 if { (eval echo configure:16131: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16131 rm -rf conftest*
16132 wx_cv_type_getsockname3=int
16133 else
16134 echo "configure: failed program was:" >&5
16135 cat conftest.$ac_ext >&5
16136 rm -rf conftest*
16137 wx_cv_type_getsockname3=unknown
16138
16139 fi
16140 rm -f conftest*
16141
16142 fi
16143 rm -f conftest*
16144
16145 fi
16146 rm -f conftest*
16147
16148 ac_ext=c
16149 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16150 ac_cpp='$CPP $CPPFLAGS'
16151 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16152 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16153 cross_compiling=$ac_cv_prog_cc_cross
16154
16155
16156 fi
16157
16158 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
16159
16160 if test "$wx_cv_type_getsockname3" = "unknown"; then
16161 wxUSE_SOCKETS=no
16162 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
16163 else
16164 cat >> confdefs.h <<EOF
16165 #define SOCKLEN_T $wx_cv_type_getsockname3
16166 EOF
16167
16168 fi
16169 fi
16170
16171 fi
16172
16173 if test "$wxUSE_SOCKETS" = "yes" ; then
16174 cat >> confdefs.h <<\EOF
16175 #define wxUSE_SOCKETS 1
16176 EOF
16177
16178 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
16179 INCLUDE_SUBDIRS="$INCLUDE_SUBDIRS protocol"
16180 fi
16181
16182
16183 if test "$wxUSE_GUI" = "yes"; then
16184
16185 if test "$TOOLKIT" != "MSW"; then
16186
16187 if test "$wxUSE_JOYSTICK" = "yes"; then
16188 for ac_hdr in linux/joystick.h
16189 do
16190 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
16191 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
16192 echo "configure:16193: checking for $ac_hdr" >&5
16193 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16194 echo $ac_n "(cached) $ac_c" 1>&6
16195 else
16196 cat > conftest.$ac_ext <<EOF
16197 #line 16198 "configure"
16198 #include "confdefs.h"
16199 #include <$ac_hdr>
16200 EOF
16201 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16202 { (eval echo configure:16203: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16203 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16204 if test -z "$ac_err"; then
16205 rm -rf conftest*
16206 eval "ac_cv_header_$ac_safe=yes"
16207 else
16208 echo "$ac_err" >&5
16209 echo "configure: failed program was:" >&5
16210 cat conftest.$ac_ext >&5
16211 rm -rf conftest*
16212 eval "ac_cv_header_$ac_safe=no"
16213 fi
16214 rm -f conftest*
16215 fi
16216 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16217 echo "$ac_t""yes" 1>&6
16218 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
16219 cat >> confdefs.h <<EOF
16220 #define $ac_tr_hdr 1
16221 EOF
16222
16223 else
16224 echo "$ac_t""no" 1>&6
16225 fi
16226 done
16227
16228 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
16229 wxUSE_JOYSTICK=no
16230 echo "configure: warning: Joystick not supported by this system" 1>&2
16231 fi
16232 fi
16233
16234 fi
16235
16236 if test "$wxUSE_JOYSTICK" = "yes"; then
16237 cat >> confdefs.h <<\EOF
16238 #define wxUSE_JOYSTICK 1
16239 EOF
16240
16241 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
16242 fi
16243
16244 fi
16245
16246
16247 if test "$TOOLKIT" != "MSW"; then
16248
16249 HAVE_DL_FUNCS=0
16250 HAVE_SHL_FUNCS=0
16251 if test "$wxUSE_DYNLIB_CLASS" = "yes"; then
16252 if test "$USE_MAC" = 1; then
16253 HAVE_DL_FUNCS=1
16254 else
16255 for ac_func in dlopen
16256 do
16257 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16258 echo "configure:16259: checking for $ac_func" >&5
16259 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16260 echo $ac_n "(cached) $ac_c" 1>&6
16261 else
16262 cat > conftest.$ac_ext <<EOF
16263 #line 16264 "configure"
16264 #include "confdefs.h"
16265 /* System header to define __stub macros and hopefully few prototypes,
16266 which can conflict with char $ac_func(); below. */
16267 #include <assert.h>
16268 /* Override any gcc2 internal prototype to avoid an error. */
16269 /* We use char because int might match the return type of a gcc2
16270 builtin and then its argument prototype would still apply. */
16271 char $ac_func();
16272
16273 int main() {
16274
16275 /* The GNU C library defines this for functions which it implements
16276 to always fail with ENOSYS. Some functions are actually named
16277 something starting with __ and the normal name is an alias. */
16278 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16279 choke me
16280 #else
16281 $ac_func();
16282 #endif
16283
16284 ; return 0; }
16285 EOF
16286 if { (eval echo configure:16287: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16287 rm -rf conftest*
16288 eval "ac_cv_func_$ac_func=yes"
16289 else
16290 echo "configure: failed program was:" >&5
16291 cat conftest.$ac_ext >&5
16292 rm -rf conftest*
16293 eval "ac_cv_func_$ac_func=no"
16294 fi
16295 rm -f conftest*
16296 fi
16297
16298 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16299 echo "$ac_t""yes" 1>&6
16300 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16301 cat >> confdefs.h <<EOF
16302 #define $ac_tr_func 1
16303 EOF
16304
16305 cat >> confdefs.h <<\EOF
16306 #define HAVE_DLOPEN 1
16307 EOF
16308
16309 HAVE_DL_FUNCS=1
16310
16311 else
16312 echo "$ac_t""no" 1>&6
16313 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
16314 echo "configure:16315: checking for dlopen in -ldl" >&5
16315 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
16316 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16317 echo $ac_n "(cached) $ac_c" 1>&6
16318 else
16319 ac_save_LIBS="$LIBS"
16320 LIBS="-ldl $LIBS"
16321 cat > conftest.$ac_ext <<EOF
16322 #line 16323 "configure"
16323 #include "confdefs.h"
16324 /* Override any gcc2 internal prototype to avoid an error. */
16325 /* We use char because int might match the return type of a gcc2
16326 builtin and then its argument prototype would still apply. */
16327 char dlopen();
16328
16329 int main() {
16330 dlopen()
16331 ; return 0; }
16332 EOF
16333 if { (eval echo configure:16334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16334 rm -rf conftest*
16335 eval "ac_cv_lib_$ac_lib_var=yes"
16336 else
16337 echo "configure: failed program was:" >&5
16338 cat conftest.$ac_ext >&5
16339 rm -rf conftest*
16340 eval "ac_cv_lib_$ac_lib_var=no"
16341 fi
16342 rm -f conftest*
16343 LIBS="$ac_save_LIBS"
16344
16345 fi
16346 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16347 echo "$ac_t""yes" 1>&6
16348
16349 cat >> confdefs.h <<\EOF
16350 #define HAVE_DLOPEN 1
16351 EOF
16352
16353 HAVE_DL_FUNCS=1
16354 LIBS="$LIBS -ldl"
16355
16356 else
16357 echo "$ac_t""no" 1>&6
16358
16359 for ac_func in shl_load
16360 do
16361 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16362 echo "configure:16363: checking for $ac_func" >&5
16363 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16364 echo $ac_n "(cached) $ac_c" 1>&6
16365 else
16366 cat > conftest.$ac_ext <<EOF
16367 #line 16368 "configure"
16368 #include "confdefs.h"
16369 /* System header to define __stub macros and hopefully few prototypes,
16370 which can conflict with char $ac_func(); below. */
16371 #include <assert.h>
16372 /* Override any gcc2 internal prototype to avoid an error. */
16373 /* We use char because int might match the return type of a gcc2
16374 builtin and then its argument prototype would still apply. */
16375 char $ac_func();
16376
16377 int main() {
16378
16379 /* The GNU C library defines this for functions which it implements
16380 to always fail with ENOSYS. Some functions are actually named
16381 something starting with __ and the normal name is an alias. */
16382 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16383 choke me
16384 #else
16385 $ac_func();
16386 #endif
16387
16388 ; return 0; }
16389 EOF
16390 if { (eval echo configure:16391: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16391 rm -rf conftest*
16392 eval "ac_cv_func_$ac_func=yes"
16393 else
16394 echo "configure: failed program was:" >&5
16395 cat conftest.$ac_ext >&5
16396 rm -rf conftest*
16397 eval "ac_cv_func_$ac_func=no"
16398 fi
16399 rm -f conftest*
16400 fi
16401
16402 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16403 echo "$ac_t""yes" 1>&6
16404 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16405 cat >> confdefs.h <<EOF
16406 #define $ac_tr_func 1
16407 EOF
16408
16409 cat >> confdefs.h <<\EOF
16410 #define HAVE_SHL_LOAD 1
16411 EOF
16412
16413 HAVE_SHL_FUNCS=1
16414
16415 else
16416 echo "$ac_t""no" 1>&6
16417 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
16418 echo "configure:16419: checking for dld in -lshl_load" >&5
16419 ac_lib_var=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
16420 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16421 echo $ac_n "(cached) $ac_c" 1>&6
16422 else
16423 ac_save_LIBS="$LIBS"
16424 LIBS="-lshl_load $LIBS"
16425 cat > conftest.$ac_ext <<EOF
16426 #line 16427 "configure"
16427 #include "confdefs.h"
16428 /* Override any gcc2 internal prototype to avoid an error. */
16429 /* We use char because int might match the return type of a gcc2
16430 builtin and then its argument prototype would still apply. */
16431 char dld();
16432
16433 int main() {
16434 dld()
16435 ; return 0; }
16436 EOF
16437 if { (eval echo configure:16438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16438 rm -rf conftest*
16439 eval "ac_cv_lib_$ac_lib_var=yes"
16440 else
16441 echo "configure: failed program was:" >&5
16442 cat conftest.$ac_ext >&5
16443 rm -rf conftest*
16444 eval "ac_cv_lib_$ac_lib_var=no"
16445 fi
16446 rm -f conftest*
16447 LIBS="$ac_save_LIBS"
16448
16449 fi
16450 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16451 echo "$ac_t""yes" 1>&6
16452
16453 HAVE_SHL_FUNCS=1
16454 LIBS="$LIBS -ldld"
16455
16456 else
16457 echo "$ac_t""no" 1>&6
16458 fi
16459
16460
16461 fi
16462 done
16463
16464
16465 fi
16466
16467
16468 fi
16469 done
16470
16471
16472 if test "$HAVE_DL_FUNCS" = 1; then
16473 for ac_func in dlerror
16474 do
16475 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16476 echo "configure:16477: checking for $ac_func" >&5
16477 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16478 echo $ac_n "(cached) $ac_c" 1>&6
16479 else
16480 cat > conftest.$ac_ext <<EOF
16481 #line 16482 "configure"
16482 #include "confdefs.h"
16483 /* System header to define __stub macros and hopefully few prototypes,
16484 which can conflict with char $ac_func(); below. */
16485 #include <assert.h>
16486 /* Override any gcc2 internal prototype to avoid an error. */
16487 /* We use char because int might match the return type of a gcc2
16488 builtin and then its argument prototype would still apply. */
16489 char $ac_func();
16490
16491 int main() {
16492
16493 /* The GNU C library defines this for functions which it implements
16494 to always fail with ENOSYS. Some functions are actually named
16495 something starting with __ and the normal name is an alias. */
16496 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16497 choke me
16498 #else
16499 $ac_func();
16500 #endif
16501
16502 ; return 0; }
16503 EOF
16504 if { (eval echo configure:16505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16505 rm -rf conftest*
16506 eval "ac_cv_func_$ac_func=yes"
16507 else
16508 echo "configure: failed program was:" >&5
16509 cat conftest.$ac_ext >&5
16510 rm -rf conftest*
16511 eval "ac_cv_func_$ac_func=no"
16512 fi
16513 rm -f conftest*
16514 fi
16515
16516 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16517 echo "$ac_t""yes" 1>&6
16518 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16519 cat >> confdefs.h <<EOF
16520 #define $ac_tr_func 1
16521 EOF
16522 cat >> confdefs.h <<\EOF
16523 #define HAVE_DLERROR 1
16524 EOF
16525
16526 else
16527 echo "$ac_t""no" 1>&6
16528 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
16529 echo "configure:16530: checking for dlerror in -ldl" >&5
16530 ac_lib_var=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
16531 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16532 echo $ac_n "(cached) $ac_c" 1>&6
16533 else
16534 ac_save_LIBS="$LIBS"
16535 LIBS="-ldl $LIBS"
16536 cat > conftest.$ac_ext <<EOF
16537 #line 16538 "configure"
16538 #include "confdefs.h"
16539 /* Override any gcc2 internal prototype to avoid an error. */
16540 /* We use char because int might match the return type of a gcc2
16541 builtin and then its argument prototype would still apply. */
16542 char dlerror();
16543
16544 int main() {
16545 dlerror()
16546 ; return 0; }
16547 EOF
16548 if { (eval echo configure:16549: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16549 rm -rf conftest*
16550 eval "ac_cv_lib_$ac_lib_var=yes"
16551 else
16552 echo "configure: failed program was:" >&5
16553 cat conftest.$ac_ext >&5
16554 rm -rf conftest*
16555 eval "ac_cv_lib_$ac_lib_var=no"
16556 fi
16557 rm -f conftest*
16558 LIBS="$ac_save_LIBS"
16559
16560 fi
16561 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16562 echo "$ac_t""yes" 1>&6
16563 cat >> confdefs.h <<\EOF
16564 #define HAVE_DLERROR 1
16565 EOF
16566
16567 else
16568 echo "$ac_t""no" 1>&6
16569 fi
16570
16571 fi
16572 done
16573
16574 fi
16575 fi
16576
16577 if test "$HAVE_DL_FUNCS" = 0; then
16578 if test "$HAVE_SHL_FUNCS" = 0; then
16579 if test "$USE_UNIX" = 1; then
16580 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
16581 wxUSE_DYNLIB_CLASS=no
16582 else
16583 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
16584 fi
16585 fi
16586 fi
16587 fi
16588
16589 fi
16590
16591 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
16592 cat >> confdefs.h <<\EOF
16593 #define wxUSE_DYNLIB_CLASS 1
16594 EOF
16595
16596 else
16597 wxUSE_ODBC=no
16598 wxUSE_SERIAL=no
16599 fi
16600
16601
16602 if test "$wxUSE_FONTMAP" = "yes" ; then
16603 cat >> confdefs.h <<\EOF
16604 #define wxUSE_FONTMAP 1
16605 EOF
16606
16607 fi
16608
16609 if test "$wxUSE_UNICODE" = "yes" ; then
16610 cat >> confdefs.h <<\EOF
16611 #define wxUSE_UNICODE 1
16612 EOF
16613
16614 fi
16615
16616 if test "$wxUSE_WCSRTOMBS" = "yes" ; then
16617 cat >> confdefs.h <<\EOF
16618 #define wxUSE_WCSRTOMBS 1
16619 EOF
16620
16621 fi
16622
16623 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
16624 cat >> confdefs.h <<\EOF
16625 #define wxUSE_EXPERIMENTAL_PRINTF 1
16626 EOF
16627
16628 fi
16629
16630
16631 if test "$wxUSE_SERIAL" = "yes" ; then
16632 cat >> confdefs.h <<\EOF
16633 #define wxUSE_SERIAL 1
16634 EOF
16635
16636 fi
16637
16638
16639 IODBC_C_SRC=""
16640 if test "$wxUSE_ODBC" = "yes" ; then
16641 cat >> confdefs.h <<\EOF
16642 #define wxUSE_ODBC 1
16643 EOF
16644
16645 WXODBCFLAG="-D_IODBC_"
16646 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
16647 fi
16648
16649
16650 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
16651 cat >> confdefs.h <<\EOF
16652 #define wxUSE_POSTSCRIPT 1
16653 EOF
16654
16655 fi
16656
16657 cat >> confdefs.h <<\EOF
16658 #define wxUSE_AFM_FOR_POSTSCRIPT 1
16659 EOF
16660
16661
16662 cat >> confdefs.h <<\EOF
16663 #define wxUSE_NORMALIZED_PS_FONTS 1
16664 EOF
16665
16666
16667
16668 if test "$wxUSE_CONSTRAINTS" = "yes"; then
16669 cat >> confdefs.h <<\EOF
16670 #define wxUSE_CONSTRAINTS 1
16671 EOF
16672
16673 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
16674 fi
16675
16676 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
16677 cat >> confdefs.h <<\EOF
16678 #define wxUSE_MDI_ARCHITECTURE 1
16679 EOF
16680
16681 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
16682 fi
16683
16684 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
16685 cat >> confdefs.h <<\EOF
16686 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
16687 EOF
16688
16689 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
16690 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
16691 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
16692 fi
16693 fi
16694
16695 if test "$wxUSE_HELP" = "yes"; then
16696 cat >> confdefs.h <<\EOF
16697 #define wxUSE_HELP 1
16698 EOF
16699
16700 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
16701
16702 if test "$wxUSE_WXHTML_HELP" = "yes"; then
16703 cat >> confdefs.h <<\EOF
16704 #define wxUSE_WXHTML_HELP 1
16705 EOF
16706
16707 ac_safe=`echo "htmlhelp.h" | sed 'y%./+-%__p_%'`
16708 echo $ac_n "checking for htmlhelp.h""... $ac_c" 1>&6
16709 echo "configure:16710: checking for htmlhelp.h" >&5
16710 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16711 echo $ac_n "(cached) $ac_c" 1>&6
16712 else
16713 cat > conftest.$ac_ext <<EOF
16714 #line 16715 "configure"
16715 #include "confdefs.h"
16716 #include <htmlhelp.h>
16717 EOF
16718 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16719 { (eval echo configure:16720: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16720 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16721 if test -z "$ac_err"; then
16722 rm -rf conftest*
16723 eval "ac_cv_header_$ac_safe=yes"
16724 else
16725 echo "$ac_err" >&5
16726 echo "configure: failed program was:" >&5
16727 cat conftest.$ac_ext >&5
16728 rm -rf conftest*
16729 eval "ac_cv_header_$ac_safe=no"
16730 fi
16731 rm -f conftest*
16732 fi
16733 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16734 echo "$ac_t""yes" 1>&6
16735
16736 cat >> confdefs.h <<\EOF
16737 #define wxUSE_MS_HTML_HELP 1
16738 EOF
16739
16740
16741 else
16742 echo "$ac_t""no" 1>&6
16743
16744 echo "configure: warning: MS HTML Help cannot be used without htmlhelp.h so it won't be compiled without it" 1>&2
16745 wxUSE_MS_HTML_HELP=no
16746
16747 fi
16748
16749 fi
16750 fi
16751
16752 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
16753 if test "$wxUSE_CONSTRAINTS" != "yes"; then
16754 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
16755 else
16756 cat >> confdefs.h <<\EOF
16757 #define wxUSE_PRINTING_ARCHITECTURE 1
16758 EOF
16759
16760 fi
16761 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
16762 fi
16763
16764 if test "$wxUSE_PROLOGIO" = "yes" ; then
16765 cat >> confdefs.h <<\EOF
16766 #define wxUSE_PROLOGIO 1
16767 EOF
16768
16769 fi
16770
16771 if test "$wxUSE_RESOURCES" = "yes" ; then
16772 cat >> confdefs.h <<\EOF
16773 #define wxUSE_RESOURCES 1
16774 EOF
16775
16776 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS resource"
16777 fi
16778
16779 if test "$wxUSE_X_RESOURCES" = "yes"; then
16780 cat >> confdefs.h <<\EOF
16781 #define wxUSE_X_RESOURCES 1
16782 EOF
16783
16784 fi
16785
16786
16787 if test "$wxUSE_IPC" = "yes"; then
16788 if test "$wxUSE_SOCKETS" != "yes"; then
16789 echo "configure: warning: wxWindows IPC classes require sockets" 1>&2
16790 fi
16791
16792 cat >> confdefs.h <<\EOF
16793 #define wxUSE_IPC 1
16794 EOF
16795
16796 fi
16797
16798 if test "$wxUSE_CLIPBOARD" = "yes"; then
16799 cat >> confdefs.h <<\EOF
16800 #define wxUSE_CLIPBOARD 1
16801 EOF
16802
16803 cat >> confdefs.h <<\EOF
16804 #define wxUSE_DATAOBJ 1
16805 EOF
16806
16807 fi
16808
16809 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
16810 if test "$wxUSE_GTK" = 1; then
16811 if test "$WXGTK12" != 1; then
16812 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2" 1>&2
16813 wxUSE_DRAG_AND_DROP=no
16814 fi
16815 fi
16816
16817 if test "$wxUSE_MOTIF" = 1; then
16818 echo "configure: warning: Drag and drop is not yet supported under Motif" 1>&2
16819 wxUSE_DRAG_AND_DROP=no
16820 fi
16821
16822 if test "$wxUSE_MAC" = 1; then
16823 echo "configure: warning: Drag and drop is not yet supported under Mac OS X" 1>&2
16824 wxUSE_DRAG_AND_DROP=no
16825 fi
16826
16827 if test "$USE_WIN32" = 1; then
16828
16829 for ac_hdr in ole2.h
16830 do
16831 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
16832 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
16833 echo "configure:16834: checking for $ac_hdr" >&5
16834 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16835 echo $ac_n "(cached) $ac_c" 1>&6
16836 else
16837 cat > conftest.$ac_ext <<EOF
16838 #line 16839 "configure"
16839 #include "confdefs.h"
16840 #include <$ac_hdr>
16841 EOF
16842 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16843 { (eval echo configure:16844: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16844 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16845 if test -z "$ac_err"; then
16846 rm -rf conftest*
16847 eval "ac_cv_header_$ac_safe=yes"
16848 else
16849 echo "$ac_err" >&5
16850 echo "configure: failed program was:" >&5
16851 cat conftest.$ac_ext >&5
16852 rm -rf conftest*
16853 eval "ac_cv_header_$ac_safe=no"
16854 fi
16855 rm -f conftest*
16856 fi
16857 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16858 echo "$ac_t""yes" 1>&6
16859 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
16860 cat >> confdefs.h <<EOF
16861 #define $ac_tr_hdr 1
16862 EOF
16863
16864 else
16865 echo "$ac_t""no" 1>&6
16866 fi
16867 done
16868
16869
16870 if test "$ac_cv_header_ole2_h" = "yes" ; then
16871 if test "$GCC" = yes ; then
16872 ALL_OBJECTS="$ALL_OBJECTS \$(OLEOBJS)"
16873 ALL_DEPFILES="$ALL_DEPFILES \$(OLEDEPS)"
16874 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
16875 LIBS="$LIBS -lole32 -luuid"
16876 cat >> confdefs.h <<\EOF
16877 #define wxUSE_OLE 1
16878 EOF
16879
16880
16881 if test "$wxUSE_METAFILE" = "yes"; then
16882 cat >> confdefs.h <<\EOF
16883 #define wxUSE_METAFILE 1
16884 EOF
16885
16886 cat >> confdefs.h <<\EOF
16887 #define wxUSE_ENH_METAFILE 1
16888 EOF
16889
16890 fi
16891 fi
16892 else
16893 echo "configure: warning: Drag and drop disabled because OLE headers not found" 1>&2
16894 wxUSE_DRAG_AND_DROP=no
16895 fi
16896 fi
16897
16898 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
16899 cat >> confdefs.h <<\EOF
16900 #define wxUSE_DRAG_AND_DROP 1
16901 EOF
16902
16903 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
16904 fi
16905
16906 fi
16907
16908 if test "$wxUSE_SPLINES" = "yes" ; then
16909 cat >> confdefs.h <<\EOF
16910 #define wxUSE_SPLINES 1
16911 EOF
16912
16913 fi
16914
16915
16916 USES_CONTROLS=0
16917 if test "$wxUSE_CONTROLS" = "yes"; then
16918 USES_CONTROLS=1
16919 fi
16920
16921 if test "$wxUSE_ACCEL" = "yes"; then
16922 cat >> confdefs.h <<\EOF
16923 #define wxUSE_ACCEL 1
16924 EOF
16925
16926 USES_CONTROLS=1
16927 fi
16928
16929 if test "$wxUSE_BUTTON" = "yes"; then
16930 cat >> confdefs.h <<\EOF
16931 #define wxUSE_BUTTON 1
16932 EOF
16933
16934 USES_CONTROLS=1
16935 fi
16936
16937 if test "$wxUSE_BMPBUTTON" = "yes"; then
16938 cat >> confdefs.h <<\EOF
16939 #define wxUSE_BMPBUTTON 1
16940 EOF
16941
16942 USES_CONTROLS=1
16943 fi
16944
16945 if test "$wxUSE_CALCTRL" = "yes"; then
16946 cat >> confdefs.h <<\EOF
16947 #define wxUSE_CALENDARCTRL 1
16948 EOF
16949
16950 USES_CONTROLS=1
16951 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
16952 fi
16953
16954 if test "$wxUSE_CARET" = "yes"; then
16955 cat >> confdefs.h <<\EOF
16956 #define wxUSE_CARET 1
16957 EOF
16958
16959 USES_CONTROLS=1
16960 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
16961 fi
16962
16963 if test "$wxUSE_COMBOBOX" = "yes"; then
16964 cat >> confdefs.h <<\EOF
16965 #define wxUSE_COMBOBOX 1
16966 EOF
16967
16968 USES_CONTROLS=1
16969 fi
16970
16971 if test "$wxUSE_CHOICE" = "yes"; then
16972 cat >> confdefs.h <<\EOF
16973 #define wxUSE_CHOICE 1
16974 EOF
16975
16976 USES_CONTROLS=1
16977 fi
16978
16979 if test "$wxUSE_CHECKBOX" = "yes"; then
16980 cat >> confdefs.h <<\EOF
16981 #define wxUSE_CHECKBOX 1
16982 EOF
16983
16984 USES_CONTROLS=1
16985 fi
16986
16987 if test "$wxUSE_CHECKLST" = "yes"; then
16988 cat >> confdefs.h <<\EOF
16989 #define wxUSE_CHECKLISTBOX 1
16990 EOF
16991
16992 USES_CONTROLS=1
16993 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
16994 fi
16995
16996 if test "$wxUSE_GAUGE" = "yes"; then
16997 cat >> confdefs.h <<\EOF
16998 #define wxUSE_GAUGE 1
16999 EOF
17000
17001 USES_CONTROLS=1
17002 fi
17003
17004 if test "$wxUSE_NEW_GRID" = "yes"; then
17005 wxUSE_GRID="yes"
17006 cat >> confdefs.h <<\EOF
17007 #define wxUSE_NEW_GRID 1
17008 EOF
17009
17010 USES_CONTROLS=1
17011 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS newgrid"
17012 fi
17013
17014 if test "$wxUSE_GRID" = "yes"; then
17015 cat >> confdefs.h <<\EOF
17016 #define wxUSE_GRID 1
17017 EOF
17018
17019 USES_CONTROLS=1
17020 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
17021 fi
17022
17023 if test "$wxUSE_IMAGLIST" = "yes"; then
17024 cat >> confdefs.h <<\EOF
17025 #define wxUSE_IMAGLIST 1
17026 EOF
17027
17028 fi
17029
17030 if test "$wxUSE_LISTBOX" = "yes"; then
17031 cat >> confdefs.h <<\EOF
17032 #define wxUSE_LISTBOX 1
17033 EOF
17034
17035 USES_CONTROLS=1
17036 fi
17037
17038 if test "$wxUSE_LISTCTRL" = "yes"; then
17039 if test "$wxUSE_IMAGLIST" = "yes"; then
17040 cat >> confdefs.h <<\EOF
17041 #define wxUSE_LISTCTRL 1
17042 EOF
17043
17044 USES_CONTROLS=1
17045 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
17046 else
17047 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
17048 fi
17049 fi
17050
17051 if test "$wxUSE_NOTEBOOK" = "yes"; then
17052 cat >> confdefs.h <<\EOF
17053 #define wxUSE_NOTEBOOK 1
17054 EOF
17055
17056 USES_CONTROLS=1
17057 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
17058 fi
17059
17060 if test "$wxUSE_RADIOBOX" = "yes"; then
17061 cat >> confdefs.h <<\EOF
17062 #define wxUSE_RADIOBOX 1
17063 EOF
17064
17065 USES_CONTROLS=1
17066 fi
17067
17068 if test "$wxUSE_RADIOBTN" = "yes"; then
17069 cat >> confdefs.h <<\EOF
17070 #define wxUSE_RADIOBTN 1
17071 EOF
17072
17073 USES_CONTROLS=1
17074 fi
17075
17076 if test "$wxUSE_SASH" = "yes"; then
17077 cat >> confdefs.h <<\EOF
17078 #define wxUSE_SASH 1
17079 EOF
17080
17081 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
17082 fi
17083
17084 if test "$wxUSE_SCROLLBAR" = "yes"; then
17085 cat >> confdefs.h <<\EOF
17086 #define wxUSE_SCROLLBAR 1
17087 EOF
17088
17089 USES_CONTROLS=1
17090 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
17091 fi
17092
17093 if test "$wxUSE_SLIDER" = "yes"; then
17094 cat >> confdefs.h <<\EOF
17095 #define wxUSE_SLIDER 1
17096 EOF
17097
17098 USES_CONTROLS=1
17099 fi
17100
17101 if test "$wxUSE_SPINBTN" = "yes"; then
17102 cat >> confdefs.h <<\EOF
17103 #define wxUSE_SPINBTN 1
17104 EOF
17105
17106 USES_CONTROLS=1
17107 fi
17108
17109 if test "$wxUSE_SPINCTRL" = "yes"; then
17110 cat >> confdefs.h <<\EOF
17111 #define wxUSE_SPINCTRL 1
17112 EOF
17113
17114 USES_CONTROLS=1
17115 fi
17116
17117 if test "$wxUSE_SPLITTER" = "yes"; then
17118 cat >> confdefs.h <<\EOF
17119 #define wxUSE_SPLITTER 1
17120 EOF
17121
17122 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
17123 fi
17124
17125 if test "$wxUSE_STATBMP" = "yes"; then
17126 cat >> confdefs.h <<\EOF
17127 #define wxUSE_STATBMP 1
17128 EOF
17129
17130 USES_CONTROLS=1
17131 fi
17132
17133 if test "$wxUSE_STATBOX" = "yes"; then
17134 cat >> confdefs.h <<\EOF
17135 #define wxUSE_STATBOX 1
17136 EOF
17137
17138 USES_CONTROLS=1
17139 fi
17140
17141 if test "$wxUSE_STATTEXT" = "yes"; then
17142 cat >> confdefs.h <<\EOF
17143 #define wxUSE_STATTEXT 1
17144 EOF
17145
17146 USES_CONTROLS=1
17147 fi
17148
17149 if test "$wxUSE_STATLINE" = "yes"; then
17150 if test "$wxUSE_WINE" = 1 ; then
17151 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
17152 else
17153 cat >> confdefs.h <<\EOF
17154 #define wxUSE_STATLINE 1
17155 EOF
17156
17157 USES_CONTROLS=1
17158 fi
17159 fi
17160
17161 if test "$wxUSE_STATUSBAR" = "yes"; then
17162 cat >> confdefs.h <<\EOF
17163 #define wxUSE_STATUSBAR 1
17164 EOF
17165
17166 USES_CONTROLS=1
17167
17168 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
17169 fi
17170
17171 if test "$wxUSE_TABDIALOG" = "yes"; then
17172 cat >> confdefs.h <<\EOF
17173 #define wxUSE_TAB_DIALOG 1
17174 EOF
17175
17176 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS tab"
17177 fi
17178
17179 if test "$wxUSE_TEXTCTRL" = "yes"; then
17180 cat >> confdefs.h <<\EOF
17181 #define wxUSE_TEXTCTRL 1
17182 EOF
17183
17184 USES_CONTROLS=1
17185 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
17186 fi
17187
17188 if test "$wxUSE_TOGGLEBTN" = "yes"; then
17189 if test "$wxUSE_MAC" = 1; then
17190 echo "configure: warning: Toggle button is not yet supported under Mac OS X" 1>&2
17191 wxUSE_TOGGLEBTN=no
17192 fi
17193
17194 if test "$wxUSE_TOGGLEBTN" = "yes"; then
17195 cat >> confdefs.h <<\EOF
17196 #define wxUSE_TOGGLEBTN 1
17197 EOF
17198
17199 USES_CONTROLS=1
17200 fi
17201 fi
17202
17203 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
17204 cat >> confdefs.h <<\EOF
17205 #define wxUSE_TOOLBAR_SIMPLE 1
17206 EOF
17207
17208 wxUSE_TOOLBAR="yes"
17209 USES_CONTROLS=1
17210 fi
17211
17212 if test "$wxUSE_TOOLBAR" = "yes"; then
17213 cat >> confdefs.h <<\EOF
17214 #define wxUSE_TOOLBAR 1
17215 EOF
17216
17217 USES_CONTROLS=1
17218
17219 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
17220 wxUSE_TOOLBAR_NATIVE="yes"
17221 fi
17222
17223 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
17224 cat >> confdefs.h <<\EOF
17225 #define wxUSE_TOOLBAR_NATIVE 1
17226 EOF
17227
17228 USES_CONTROLS=1
17229 fi
17230
17231 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
17232 fi
17233
17234 if test "$wxUSE_TOOLTIPS" = "yes"; then
17235 if test "$wxUSE_MOTIF" = 1; then
17236 echo "configure: warning: wxTooltip not supported yet under Motif" 1>&2
17237 else
17238 if test "$wxUSE_WINE" = 1; then
17239 echo "configure: warning: wxTooltip not supported under WINE" 1>&2
17240 else
17241 cat >> confdefs.h <<\EOF
17242 #define wxUSE_TOOLTIPS 1
17243 EOF
17244
17245 fi
17246 fi
17247 fi
17248
17249 if test "$wxUSE_TREECTRL" = "yes"; then
17250 if test "$wxUSE_IMAGLIST" = "yes"; then
17251 cat >> confdefs.h <<\EOF
17252 #define wxUSE_TREECTRL 1
17253 EOF
17254
17255 USES_CONTROLS=1
17256 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
17257 else
17258 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
17259 fi
17260 fi
17261
17262 if test "$wxUSE_POPUPWIN" = "yes"; then
17263 if test "$wxUSE_MAC" = 1; then
17264 echo "configure: warning: Popup window is not yet supported under Mac OS" 1>&2
17265 else
17266 cat >> confdefs.h <<\EOF
17267 #define wxUSE_POPUPWIN 1
17268 EOF
17269
17270 USES_CONTROLS=1
17271 fi
17272 fi
17273
17274 if test "$USES_CONTROLS" = 1; then
17275 cat >> confdefs.h <<\EOF
17276 #define wxUSE_CONTROLS 1
17277 EOF
17278
17279 fi
17280
17281
17282
17283 if test "$wxUSE_DRAGIMAGE" = "yes"; then
17284 cat >> confdefs.h <<\EOF
17285 #define wxUSE_DRAGIMAGE 1
17286 EOF
17287
17288 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
17289 fi
17290
17291 if test "$wxUSE_MENUS" = "yes"; then
17292 cat >> confdefs.h <<\EOF
17293 #define wxUSE_MENUS 1
17294 EOF
17295
17296 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
17297 fi
17298
17299 if test "$wxUSE_METAFILE" = "yes"; then
17300 cat >> confdefs.h <<\EOF
17301 #define wxUSE_METAFILE 1
17302 EOF
17303
17304 fi
17305
17306 if test "$wxUSE_MIMETYPE" = "yes"; then
17307 cat >> confdefs.h <<\EOF
17308 #define wxUSE_MIMETYPE 1
17309 EOF
17310
17311 fi
17312
17313 if test "$wxUSE_MINIFRAME" = "yes"; then
17314 cat >> confdefs.h <<\EOF
17315 #define wxUSE_MINIFRAME 1
17316 EOF
17317
17318 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
17319 fi
17320
17321 if test "$wxUSE_HTML" = "yes"; then
17322 cat >> confdefs.h <<\EOF
17323 #define wxUSE_HTML 1
17324 EOF
17325
17326 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html"
17327 INCLUDE_SUBDIRS="$INCLUDE_SUBDIRS html"
17328 fi
17329
17330 if test "$wxUSE_VALIDATORS" = "yes"; then
17331 cat >> confdefs.h <<\EOF
17332 #define wxUSE_VALIDATORS 1
17333 EOF
17334
17335 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
17336 fi
17337
17338 if test "$wxUSE_IMAGE" = "yes" ; then
17339 cat >> confdefs.h <<\EOF
17340 #define wxUSE_IMAGE 1
17341 EOF
17342
17343 fi
17344
17345 if test "$wxUSE_GIF" = "yes" ; then
17346 cat >> confdefs.h <<\EOF
17347 #define wxUSE_GIF 1
17348 EOF
17349
17350 fi
17351
17352 if test "$wxUSE_PCX" = "yes" ; then
17353 cat >> confdefs.h <<\EOF
17354 #define wxUSE_PCX 1
17355 EOF
17356
17357 fi
17358
17359 if test "$wxUSE_PNM" = "yes" ; then
17360 cat >> confdefs.h <<\EOF
17361 #define wxUSE_PNM 1
17362 EOF
17363
17364 fi
17365
17366 if test "$wxUSE_XPM" = "yes" ; then
17367 cat >> confdefs.h <<\EOF
17368 #define wxUSE_XPM 1
17369 EOF
17370
17371 fi
17372
17373
17374 if test "$wxUSE_CHOICEDLG" = "yes"; then
17375 cat >> confdefs.h <<\EOF
17376 #define wxUSE_CHOICEDLG 1
17377 EOF
17378
17379 fi
17380
17381 if test "$wxUSE_COLOURDLG" = "yes"; then
17382 cat >> confdefs.h <<\EOF
17383 #define wxUSE_COLOURDLG 1
17384 EOF
17385
17386 fi
17387
17388 if test "$wxUSE_FILEDLG" = "yes"; then
17389 cat >> confdefs.h <<\EOF
17390 #define wxUSE_FILEDLG 1
17391 EOF
17392
17393 fi
17394
17395 if test "$wxUSE_FONTDLG" = "yes"; then
17396 cat >> confdefs.h <<\EOF
17397 #define wxUSE_FONTDLG 1
17398 EOF
17399
17400 fi
17401
17402 if test "$wxUSE_DIRDLG" = "yes"; then
17403 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17404 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
17405 else
17406 if test "$wxUSE_TREECTRL" != "yes"; then
17407 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
17408 else
17409 cat >> confdefs.h <<\EOF
17410 #define wxUSE_DIRDLG 1
17411 EOF
17412
17413 fi
17414 fi
17415 fi
17416
17417 if test "$wxUSE_MSGDLG" = "yes"; then
17418 cat >> confdefs.h <<\EOF
17419 #define wxUSE_MSGDLG 1
17420 EOF
17421
17422 fi
17423
17424 if test "$wxUSE_NUMBERDLG" = "yes"; then
17425 cat >> confdefs.h <<\EOF
17426 #define wxUSE_NUMBERDLG 1
17427 EOF
17428
17429 fi
17430
17431 if test "$wxUSE_PROGRESSDLG" = "yes"; then
17432 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17433 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
17434 else
17435 cat >> confdefs.h <<\EOF
17436 #define wxUSE_PROGRESSDLG 1
17437 EOF
17438
17439 fi
17440 fi
17441
17442 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
17443 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17444 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
17445 else
17446 cat >> confdefs.h <<\EOF
17447 #define wxUSE_STARTUP_TIPS 1
17448 EOF
17449
17450 fi
17451 fi
17452
17453 if test "$wxUSE_TEXTDLG" = "yes"; then
17454 cat >> confdefs.h <<\EOF
17455 #define wxUSE_TEXTDLG 1
17456 EOF
17457
17458 fi
17459
17460 if test "$wxUSE_WIZARDDLG" = "yes"; then
17461 cat >> confdefs.h <<\EOF
17462 #define wxUSE_WIZARDDLG 1
17463 EOF
17464
17465 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
17466 fi
17467
17468
17469 if test "$cross_compiling" = "yes"; then
17470 OSINFO="\"$host\""
17471 else
17472 OSINFO=`uname -s -r -m`
17473 OSINFO="\"$OSINFO\""
17474 fi
17475
17476 cat >> confdefs.h <<EOF
17477 #define WXWIN_OS_DESCRIPTION $OSINFO
17478 EOF
17479
17480
17481
17482 GUILIBS="$GUI_TK_LIBRARY $TOOLKIT_LINK"
17483 OPENGL_LIBS="$OPENGL_LINK"
17484
17485 EXTRA_LIBS="$LIBS $POSIX4_LINK $INET_LINK $WCHAR_LINK $THREADS_LINK $DMALLOC_LINK $DL_LINK $ZLIB_LINK -lm"
17486 if test "$USE_MAC" = 1 ; then
17487 EXTRA_LIBS="$EXTRA_LIBS -framework Carbon -framework System"
17488 fi
17489 if test "$wxUSE_GUI" = "yes"; then
17490 EXTRA_LIBS="$GUILIBS $PNG_LINK $JPEG_LINK $TIFF_LINK $FREETYPE_LINK $EXTRA_LIBS"
17491 fi
17492
17493 LD_LIBS="\${top_builddir}/lib/${WX_LIBRARY_NAME_STATIC} $EXTRA_LIBS"
17494
17495 INCLUDES="-I. -I\${top_builddir}/include -I\${top_srcdir}/include $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE $FREETYPE_INCLUDE $TOOLKIT_INCLUDE"
17496
17497 if test "$wxUSE_GTK" = 1; then
17498 WXCONFIG_INCLUDE=""
17499 else
17500 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
17501 fi
17502
17503 if test "$GXX" = yes ; then
17504 CXXWARNINGS="-Wall"
17505 fi
17506 EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
17507
17508 CFLAGS=`echo $CFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
17509 CXXFLAGS=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
17510
17511 LDFLAGS="$LDFLAGS $PROFILE"
17512
17513 if test "$wxUSE_GUI" = "yes"; then
17514
17515 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS controls dialogs \
17516 drawing dynamic event font fractal image \
17517 minimal richedit widgets"
17518
17519 if test "$wxUSE_UNIVERSAL" = "yes" ; then
17520 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS univ"
17521 fi
17522
17523 CPPFLAGS="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
17524 else
17525 SAMPLES_SUBDIRS=""
17526 fi
17527
17528 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
17529
17530
17531
17532
17533
17534
17535
17536
17537
17538
17539
17540
17541
17542
17543
17544
17545
17546
17547
17548
17549
17550
17551
17552
17553
17554
17555
17556
17557
17558
17559
17560
17561
17562
17563
17564
17565
17566
17567
17568
17569
17570
17571
17572
17573
17574
17575
17576
17577
17578
17579
17580
17581
17582
17583
17584
17585
17586
17587
17588
17589
17590
17591
17592
17593
17594
17595
17596
17597
17598
17599
17600
17601
17602
17603
17604
17605
17606
17607
17608
17609
17610
17611
17612
17613
17614
17615
17616
17617
17618
17619
17620
17621
17622
17623 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
17624 echo "configure:17625: checking whether ${MAKE-make} sets \${MAKE}" >&5
17625 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
17626 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
17627 echo $ac_n "(cached) $ac_c" 1>&6
17628 else
17629 cat > conftestmake <<\EOF
17630 all:
17631 @echo 'ac_maketemp="${MAKE}"'
17632 EOF
17633 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
17634 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
17635 if test -n "$ac_maketemp"; then
17636 eval ac_cv_prog_make_${ac_make}_set=yes
17637 else
17638 eval ac_cv_prog_make_${ac_make}_set=no
17639 fi
17640 rm -f conftestmake
17641 fi
17642 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
17643 echo "$ac_t""yes" 1>&6
17644 SET_MAKE=
17645 else
17646 echo "$ac_t""no" 1>&6
17647 SET_MAKE="MAKE=${MAKE-make}"
17648 fi
17649
17650
17651 if test -d include; then
17652 if test -d include/wx; then
17653 if test -d include/wx/${SETUPH_DIR}; then
17654 if test -f include/wx/${SETUPH_DIR}/setup.h; then
17655 mv -f include/wx/${SETUPH_DIR}/setup.h setup.h
17656 fi
17657 fi
17658 fi
17659 fi
17660
17661
17662
17663 if test "$wxUSE_GUI" = "yes"; then
17664 wx_cv_path_samplesubdirs=$SAMPLES_SUBDIRS
17665 wx_cv_path_ifs=$PATH_IFS
17666 wx_cv_program_ext=$PROGRAM_EXT
17667 wx_cv_target_library=$WX_TARGET_LIBRARY
17668 wx_cv_target_libtype=$WX_TARGET_LIBRARY_TYPE
17669 export wx_cv_path_samplesubdirs wx_cv_path_ifs wx_cv_program_ext \
17670 wx_cv_target_library wx_cv_target_libtype
17671 subdirs="demos samples utils contrib"
17672
17673 fi
17674
17675 trap '' 1 2 15
17676 cat > confcache <<\EOF
17677 # This file is a shell script that caches the results of configure
17678 # tests run on this system so they can be shared between configure
17679 # scripts and configure runs. It is not useful on other systems.
17680 # If it contains results you don't want to keep, you may remove or edit it.
17681 #
17682 # By default, configure uses ./config.cache as the cache file,
17683 # creating it if it does not exist already. You can give configure
17684 # the --cache-file=FILE option to use a different cache file; that is
17685 # what configure does when it calls configure scripts in
17686 # subdirectories, so they share the cache.
17687 # Giving --cache-file=/dev/null disables caching, for debugging configure.
17688 # config.status only pays attention to the cache file if you give it the
17689 # --recheck option to rerun configure.
17690 #
17691 EOF
17692 # The following way of writing the cache mishandles newlines in values,
17693 # but we know of no workaround that is simple, portable, and efficient.
17694 # So, don't put newlines in cache variables' values.
17695 # Ultrix sh set writes to stderr and can't be redirected directly,
17696 # and sets the high bit in the cache file unless we assign to the vars.
17697 (set) 2>&1 |
17698 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17699 *ac_space=\ *)
17700 # `set' does not quote correctly, so add quotes (double-quote substitution
17701 # turns \\\\ into \\, and sed turns \\ into \).
17702 sed -n \
17703 -e "s/'/'\\\\''/g" \
17704 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
17705 ;;
17706 *)
17707 # `set' quotes correctly as required by POSIX, so do not add quotes.
17708 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
17709 ;;
17710 esac >> confcache
17711 if cmp -s $cache_file confcache; then
17712 :
17713 else
17714 if test -w $cache_file; then
17715 echo "updating cache $cache_file"
17716 cat confcache > $cache_file
17717 else
17718 echo "not updating unwritable cache $cache_file"
17719 fi
17720 fi
17721 rm -f confcache
17722
17723 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
17724
17725 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17726 # Let make expand exec_prefix.
17727 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17728
17729 # Any assignment to VPATH causes Sun make to only execute
17730 # the first set of double-colon rules, so remove it if not needed.
17731 # If there is a colon in the path, we need to keep it.
17732 if test "x$srcdir" = x.; then
17733 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
17734 fi
17735
17736 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
17737
17738 DEFS=-DHAVE_CONFIG_H
17739
17740 # Without the "./", some shells look in PATH for config.status.
17741 : ${CONFIG_STATUS=./config.status}
17742
17743 echo creating $CONFIG_STATUS
17744 rm -f $CONFIG_STATUS
17745 cat > $CONFIG_STATUS <<EOF
17746 #! /bin/sh
17747 # Generated automatically by configure.
17748 # Run this file to recreate the current configuration.
17749 # This directory was configured as follows,
17750 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17751 #
17752 # $0 $ac_configure_args
17753 #
17754 # Compiler output produced by configure, useful for debugging
17755 # configure, is in ./config.log if it exists.
17756
17757 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
17758 for ac_option
17759 do
17760 case "\$ac_option" in
17761 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17762 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
17763 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
17764 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
17765 echo "$CONFIG_STATUS generated by autoconf version 2.13"
17766 exit 0 ;;
17767 -help | --help | --hel | --he | --h)
17768 echo "\$ac_cs_usage"; exit 0 ;;
17769 *) echo "\$ac_cs_usage"; exit 1 ;;
17770 esac
17771 done
17772
17773 ac_given_srcdir=$srcdir
17774 ac_given_INSTALL="$INSTALL"
17775
17776 trap 'rm -fr `echo "
17777 wx-config
17778 src/make.env
17779 src/makeprog.env
17780 src/makelib.env
17781 Makefile
17782 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
17783 EOF
17784 cat >> $CONFIG_STATUS <<EOF
17785
17786 # Protect against being on the right side of a sed subst in config.status.
17787 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
17788 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
17789 $ac_vpsub
17790 $extrasub
17791 s%@SHELL@%$SHELL%g
17792 s%@CFLAGS@%$CFLAGS%g
17793 s%@CPPFLAGS@%$CPPFLAGS%g
17794 s%@CXXFLAGS@%$CXXFLAGS%g
17795 s%@FFLAGS@%$FFLAGS%g
17796 s%@DEFS@%$DEFS%g
17797 s%@LDFLAGS@%$LDFLAGS%g
17798 s%@LIBS@%$LIBS%g
17799 s%@exec_prefix@%$exec_prefix%g
17800 s%@prefix@%$prefix%g
17801 s%@program_transform_name@%$program_transform_name%g
17802 s%@bindir@%$bindir%g
17803 s%@sbindir@%$sbindir%g
17804 s%@libexecdir@%$libexecdir%g
17805 s%@datadir@%$datadir%g
17806 s%@sysconfdir@%$sysconfdir%g
17807 s%@sharedstatedir@%$sharedstatedir%g
17808 s%@localstatedir@%$localstatedir%g
17809 s%@libdir@%$libdir%g
17810 s%@includedir@%$includedir%g
17811 s%@oldincludedir@%$oldincludedir%g
17812 s%@infodir@%$infodir%g
17813 s%@mandir@%$mandir%g
17814 s%@host@%$host%g
17815 s%@host_alias@%$host_alias%g
17816 s%@host_cpu@%$host_cpu%g
17817 s%@host_vendor@%$host_vendor%g
17818 s%@host_os@%$host_os%g
17819 s%@target@%$target%g
17820 s%@target_alias@%$target_alias%g
17821 s%@target_cpu@%$target_cpu%g
17822 s%@target_vendor@%$target_vendor%g
17823 s%@target_os@%$target_os%g
17824 s%@build@%$build%g
17825 s%@build_alias@%$build_alias%g
17826 s%@build_cpu@%$build_cpu%g
17827 s%@build_vendor@%$build_vendor%g
17828 s%@build_os@%$build_os%g
17829 s%@CC@%$CC%g
17830 s%@CPP@%$CPP%g
17831 s%@CXX@%$CXX%g
17832 s%@CXXCPP@%$CXXCPP%g
17833 s%@RANLIB@%$RANLIB%g
17834 s%@AR@%$AR%g
17835 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
17836 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
17837 s%@INSTALL_DATA@%$INSTALL_DATA%g
17838 s%@STRIP@%$STRIP%g
17839 s%@YACC@%$YACC%g
17840 s%@LEX@%$LEX%g
17841 s%@LEXLIB@%$LEXLIB%g
17842 s%@LN_S@%$LN_S%g
17843 s%@GTK_CONFIG_2_0@%$GTK_CONFIG_2_0%g
17844 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
17845 s%@GTK_LIBS@%$GTK_LIBS%g
17846 s%@GTK_CONFIG@%$GTK_CONFIG%g
17847 s%@X_CFLAGS@%$X_CFLAGS%g
17848 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
17849 s%@X_LIBS@%$X_LIBS%g
17850 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
17851 s%@REZ@%$REZ%g
17852 s%@DEREZ@%$DEREZ%g
17853 s%@LEX_STEM@%$LEX_STEM%g
17854 s%@PATH_IFS@%$PATH_IFS%g
17855 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
17856 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
17857 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
17858 s%@WX_LIBRARY_NAME@%$WX_LIBRARY_NAME%g
17859 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
17860 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
17861 s%@WX_LIBRARY@%$WX_LIBRARY%g
17862 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
17863 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
17864 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
17865 s%@WX_LIBRARY_LINK3@%$WX_LIBRARY_LINK3%g
17866 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
17867 s%@WX_LIBRARY_NAME_GL@%$WX_LIBRARY_NAME_GL%g
17868 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
17869 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
17870 s%@WX_LIBRARY_GL@%$WX_LIBRARY_GL%g
17871 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
17872 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
17873 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
17874 s%@WX_LIBRARY_LINK3_GL@%$WX_LIBRARY_LINK3_GL%g
17875 s%@WX_ALL@%$WX_ALL%g
17876 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
17877 s%@SHARED_LD@%$SHARED_LD%g
17878 s%@PIC_FLAG@%$PIC_FLAG%g
17879 s%@DEP_INFO_FLAGS@%$DEP_INFO_FLAGS%g
17880 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
17881 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
17882 s%@BURNT_LIBRARY_NAME@%$BURNT_LIBRARY_NAME%g
17883 s%@BURNT_LIBRARY_NAME_GL@%$BURNT_LIBRARY_NAME_GL%g
17884 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
17885 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
17886 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
17887 s%@USE_GUI@%$USE_GUI%g
17888 s%@AFMINSTALL@%$AFMINSTALL%g
17889 s%@SETUPH_DIR@%$SETUPH_DIR%g
17890 s%@TOOLKIT@%$TOOLKIT%g
17891 s%@TOOLKIT_DEF@%$TOOLKIT_DEF%g
17892 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
17893 s%@TOOLKIT_NAME@%$TOOLKIT_NAME%g
17894 s%@TOOLKIT_INCLUDE@%$TOOLKIT_INCLUDE%g
17895 s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
17896 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
17897 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
17898 s%@ALL_DEPFILES@%$ALL_DEPFILES%g
17899 s%@GUIDIST@%$GUIDIST%g
17900 s%@PORT_FILES@%$PORT_FILES%g
17901 s%@DISTDIR@%$DISTDIR%g
17902 s%@RPM_SPEC@%$RPM_SPEC%g
17903 s%@RPM_FILES@%$RPM_FILES%g
17904 s%@SRC_SUBDIRS@%$SRC_SUBDIRS%g
17905 s%@INCLUDE_SUBDIRS@%$INCLUDE_SUBDIRS%g
17906 s%@UTILS_SUBDIRS@%$UTILS_SUBDIRS%g
17907 s%@DOCS_SUBDIRS@%$DOCS_SUBDIRS%g
17908 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
17909 s%@USER_SUBDIRS@%$USER_SUBDIRS%g
17910 s%@EXTRA_LIBS@%$EXTRA_LIBS%g
17911 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
17912 s%@EXTRADEFS@%$EXTRADEFS%g
17913 s%@LD_LIBS@%$LD_LIBS%g
17914 s%@RCINPUTSWITCH@%$RCINPUTSWITCH%g
17915 s%@RCOUTPUTSWITCH@%$RCOUTPUTSWITCH%g
17916 s%@RESPROGRAM@%$RESPROGRAM%g
17917 s%@RESCOMP@%$RESCOMP%g
17918 s%@RESFLAGS@%$RESFLAGS%g
17919 s%@REZFLAGS@%$REZFLAGS%g
17920 s%@DEREZFLAGS@%$DEREZFLAGS%g
17921 s%@LIBWXMACRES@%$LIBWXMACRES%g
17922 s%@LIBWXMACRESCOMP@%$LIBWXMACRESCOMP%g
17923 s%@DLLTOOL@%$DLLTOOL%g
17924 s%@AS@%$AS%g
17925 s%@NM@%$NM%g
17926 s%@LD@%$LD%g
17927 s%@MAKEINFO@%$MAKEINFO%g
17928 s%@SET_MAKE@%$SET_MAKE%g
17929 s%@subdirs@%$subdirs%g
17930
17931 CEOF
17932 EOF
17933
17934 cat >> $CONFIG_STATUS <<\EOF
17935
17936 # Split the substitutions into bite-sized pieces for seds with
17937 # small command number limits, like on Digital OSF/1 and HP-UX.
17938 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
17939 ac_file=1 # Number of current file.
17940 ac_beg=1 # First line for current file.
17941 ac_end=$ac_max_sed_cmds # Line after last line for current file.
17942 ac_more_lines=:
17943 ac_sed_cmds=""
17944 while $ac_more_lines; do
17945 if test $ac_beg -gt 1; then
17946 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
17947 else
17948 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
17949 fi
17950 if test ! -s conftest.s$ac_file; then
17951 ac_more_lines=false
17952 rm -f conftest.s$ac_file
17953 else
17954 if test -z "$ac_sed_cmds"; then
17955 ac_sed_cmds="sed -f conftest.s$ac_file"
17956 else
17957 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
17958 fi
17959 ac_file=`expr $ac_file + 1`
17960 ac_beg=$ac_end
17961 ac_end=`expr $ac_end + $ac_max_sed_cmds`
17962 fi
17963 done
17964 if test -z "$ac_sed_cmds"; then
17965 ac_sed_cmds=cat
17966 fi
17967 EOF
17968
17969 cat >> $CONFIG_STATUS <<EOF
17970
17971 CONFIG_FILES=\${CONFIG_FILES-"wx-config
17972 src/make.env
17973 src/makeprog.env
17974 src/makelib.env
17975 Makefile
17976 "}
17977 EOF
17978 cat >> $CONFIG_STATUS <<\EOF
17979 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
17980 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
17981 case "$ac_file" in
17982 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
17983 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
17984 *) ac_file_in="${ac_file}.in" ;;
17985 esac
17986
17987 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
17988
17989 # Remove last slash and all that follows it. Not all systems have dirname.
17990 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
17991 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
17992 # The file is in a subdirectory.
17993 test ! -d "$ac_dir" && mkdir "$ac_dir"
17994 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
17995 # A "../" for each directory in $ac_dir_suffix.
17996 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
17997 else
17998 ac_dir_suffix= ac_dots=
17999 fi
18000
18001 case "$ac_given_srcdir" in
18002 .) srcdir=.
18003 if test -z "$ac_dots"; then top_srcdir=.
18004 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
18005 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
18006 *) # Relative path.
18007 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
18008 top_srcdir="$ac_dots$ac_given_srcdir" ;;
18009 esac
18010
18011 case "$ac_given_INSTALL" in
18012 [/$]*) INSTALL="$ac_given_INSTALL" ;;
18013 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
18014 esac
18015
18016 echo creating "$ac_file"
18017 rm -f "$ac_file"
18018 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
18019 case "$ac_file" in
18020 *Makefile*) ac_comsub="1i\\
18021 # $configure_input" ;;
18022 *) ac_comsub= ;;
18023 esac
18024
18025 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
18026 sed -e "$ac_comsub
18027 s%@configure_input@%$configure_input%g
18028 s%@srcdir@%$srcdir%g
18029 s%@top_srcdir@%$top_srcdir%g
18030 s%@INSTALL@%$INSTALL%g
18031 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
18032 fi; done
18033 rm -f conftest.s*
18034
18035 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
18036 # NAME is the cpp macro being defined and VALUE is the value it is being given.
18037 #
18038 # ac_d sets the value in "#define NAME VALUE" lines.
18039 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
18040 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
18041 ac_dC='\3'
18042 ac_dD='%g'
18043 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
18044 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
18045 ac_uB='\([ ]\)%\1#\2define\3'
18046 ac_uC=' '
18047 ac_uD='\4%g'
18048 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
18049 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
18050 ac_eB='$%\1#\2define\3'
18051 ac_eC=' '
18052 ac_eD='%g'
18053
18054 if test "${CONFIG_HEADERS+set}" != set; then
18055 EOF
18056 cat >> $CONFIG_STATUS <<EOF
18057 CONFIG_HEADERS="setup.h:setup.h.in"
18058 EOF
18059 cat >> $CONFIG_STATUS <<\EOF
18060 fi
18061 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
18062 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18063 case "$ac_file" in
18064 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
18065 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
18066 *) ac_file_in="${ac_file}.in" ;;
18067 esac
18068
18069 echo creating $ac_file
18070
18071 rm -f conftest.frag conftest.in conftest.out
18072 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
18073 cat $ac_file_inputs > conftest.in
18074
18075 EOF
18076
18077 # Transform confdefs.h into a sed script conftest.vals that substitutes
18078 # the proper values into config.h.in to produce config.h. And first:
18079 # Protect against being on the right side of a sed subst in config.status.
18080 # Protect against being in an unquoted here document in config.status.
18081 rm -f conftest.vals
18082 cat > conftest.hdr <<\EOF
18083 s/[\\&%]/\\&/g
18084 s%[\\$`]%\\&%g
18085 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
18086 s%ac_d%ac_u%gp
18087 s%ac_u%ac_e%gp
18088 EOF
18089 sed -n -f conftest.hdr confdefs.h > conftest.vals
18090 rm -f conftest.hdr
18091
18092 # This sed command replaces #undef with comments. This is necessary, for
18093 # example, in the case of _POSIX_SOURCE, which is predefined and required
18094 # on some systems where configure will not decide to define it.
18095 cat >> conftest.vals <<\EOF
18096 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
18097 EOF
18098
18099 # Break up conftest.vals because some shells have a limit on
18100 # the size of here documents, and old seds have small limits too.
18101
18102 rm -f conftest.tail
18103 while :
18104 do
18105 ac_lines=`grep -c . conftest.vals`
18106 # grep -c gives empty output for an empty file on some AIX systems.
18107 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
18108 # Write a limited-size here document to conftest.frag.
18109 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
18110 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
18111 echo 'CEOF
18112 sed -f conftest.frag conftest.in > conftest.out
18113 rm -f conftest.in
18114 mv conftest.out conftest.in
18115 ' >> $CONFIG_STATUS
18116 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
18117 rm -f conftest.vals
18118 mv conftest.tail conftest.vals
18119 done
18120 rm -f conftest.vals
18121
18122 cat >> $CONFIG_STATUS <<\EOF
18123 rm -f conftest.frag conftest.h
18124 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
18125 cat conftest.in >> conftest.h
18126 rm -f conftest.in
18127 if cmp -s $ac_file conftest.h 2>/dev/null; then
18128 echo "$ac_file is unchanged"
18129 rm -f conftest.h
18130 else
18131 # Remove last slash and all that follows it. Not all systems have dirname.
18132 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
18133 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
18134 # The file is in a subdirectory.
18135 test ! -d "$ac_dir" && mkdir "$ac_dir"
18136 fi
18137 rm -f $ac_file
18138 mv conftest.h $ac_file
18139 fi
18140 fi; done
18141
18142 EOF
18143 cat >> $CONFIG_STATUS <<EOF
18144
18145 SETUPH_DIR="${SETUPH_DIR}"
18146 TOOLKIT_NAME="${TOOLKIT_NAME}"
18147 LN_S="${LN_S}"
18148
18149
18150 EOF
18151 cat >> $CONFIG_STATUS <<\EOF
18152
18153 if test ! -f wx${TOOLKIT_NAME}-config; then
18154 chmod +x wx-config
18155 mv wx-config wx${TOOLKIT_NAME}-config
18156 ${LN_S} wx${TOOLKIT_NAME}-config wx-config
18157 fi
18158
18159
18160 if test ! -d lib; then
18161 mkdir lib
18162 fi
18163 if test ! -d lib/wx; then
18164 mkdir lib/wx
18165 fi
18166 if test ! -d lib/wx/include; then
18167 mkdir lib/wx/include
18168 fi
18169 if test ! -d lib/wx/include/wx; then
18170 mkdir lib/wx/include/wx
18171 fi
18172 if test ! -d lib/wx/include/wx/${TOOLKIT_NAME}; then
18173 mkdir lib/wx/include/wx/${TOOLKIT_NAME}
18174 fi
18175 if test -f setup.h; then
18176 cp -fp setup.h lib/wx/include/wx/${TOOLKIT_NAME}/setup.h
18177 fi
18178
18179
18180 if test ! -d include; then
18181 mkdir include
18182 fi
18183 if test ! -d include/wx; then
18184 mkdir include/wx
18185 fi
18186 if test ! -d include/wx/${SETUPH_DIR}; then
18187 mkdir include/wx/${SETUPH_DIR}
18188 fi
18189 if test -f setup.h; then
18190 cp -fp setup.h include/wx/${SETUPH_DIR}/setup.h
18191 fi
18192
18193
18194 exit 0
18195 EOF
18196 chmod +x $CONFIG_STATUS
18197 rm -fr confdefs* $ac_clean_files
18198 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
18199
18200 if test "$no_recursion" != yes; then
18201
18202 # Remove --cache-file and --srcdir arguments so they do not pile up.
18203 ac_sub_configure_args=
18204 ac_prev=
18205 for ac_arg in $ac_configure_args; do
18206 if test -n "$ac_prev"; then
18207 ac_prev=
18208 continue
18209 fi
18210 case "$ac_arg" in
18211 -cache-file | --cache-file | --cache-fil | --cache-fi \
18212 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
18213 ac_prev=cache_file ;;
18214 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
18215 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
18216 ;;
18217 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
18218 ac_prev=srcdir ;;
18219 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
18220 ;;
18221 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
18222 esac
18223 done
18224
18225 for ac_config_dir in demos samples utils contrib; do
18226
18227 # Do not complain, so a configure script can configure whichever
18228 # parts of a large source tree are present.
18229 if test ! -d $srcdir/$ac_config_dir; then
18230 continue
18231 fi
18232
18233 echo configuring in $ac_config_dir
18234
18235 case "$srcdir" in
18236 .) ;;
18237 *)
18238 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
18239 else
18240 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
18241 fi
18242 ;;
18243 esac
18244
18245 ac_popdir=`pwd`
18246 cd $ac_config_dir
18247
18248 # A "../" for each directory in /$ac_config_dir.
18249 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
18250
18251 case "$srcdir" in
18252 .) # No --srcdir option. We are building in place.
18253 ac_sub_srcdir=$srcdir ;;
18254 /*) # Absolute path.
18255 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
18256 *) # Relative path.
18257 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
18258 esac
18259
18260 # Check for guested configure; otherwise get Cygnus style configure.
18261 if test -f $ac_sub_srcdir/configure; then
18262 ac_sub_configure=$ac_sub_srcdir/configure
18263 elif test -f $ac_sub_srcdir/configure.in; then
18264 ac_sub_configure=$ac_configure
18265 else
18266 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
18267 ac_sub_configure=
18268 fi
18269
18270 # The recursion is here.
18271 if test -n "$ac_sub_configure"; then
18272
18273 # Make the cache file name correct relative to the subdirectory.
18274 case "$cache_file" in
18275 /*) ac_sub_cache_file=$cache_file ;;
18276 *) # Relative path.
18277 ac_sub_cache_file="$ac_dots$cache_file" ;;
18278 esac
18279 case "$ac_given_INSTALL" in
18280 [/$]*) INSTALL="$ac_given_INSTALL" ;;
18281 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
18282 esac
18283
18284 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
18285 # The eval makes quoting arguments work.
18286 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
18287 then :
18288 else
18289 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }
18290 fi
18291 fi
18292
18293 cd $ac_popdir
18294 done
18295 fi
18296
18297